Pull request #355 updated Connecting to https://api.github.com using edgex-jenkins/****** (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 c75449e85aa6c6239708e25f4301185f1aa5291c rather than 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4358611863899667619.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8979747704219074312.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 144eb70ba3d470a427e699408e811d3f535e987a 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-355/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8160330761211462188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh718457661876889033.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-355/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9041666413437226639.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2225 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [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-355 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5012357020377393386.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 c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh8034450728139008301.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5799450766691392425.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 Commit message: "fix: Update random device profile, configuration and discovery device configuration file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-08T16:27:44.874Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-08T16:27:44.961Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-08T16:27:44.990Z] ========================================================= [2021-07-08T16:27:44.990Z] EdgeX Global Pipelines Version Info [2021-07-08T16:27:44.990Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f2a8f19daa427336881eca624fe30c6e84b1b191 # timeout=10 [2021-07-08T16:27:46.442Z] ------------------- [2021-07-08T16:27:46.443Z] stable info: [2021-07-08T16:27:46.443Z] ------------------- [2021-07-08T16:27:46.443Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-08T16:27:46.443Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-08T16:27:46.443Z] Message: update stable to v1.0.196 [2021-07-08T16:27:47.017Z] ------------------- [2021-07-08T16:27:47.017Z] experimental info: [2021-07-08T16:27:47.017Z] ------------------- [2021-07-08T16:27:47.017Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-08T16:27:47.017Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-08T16:27:47.017Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-08T16:27:47.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-07-08T16:27:47.161Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-07-08T16:27:47.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-08T16:27:47.203Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-08T16:27:47.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-08T16:27:47.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-07-08T16:27:47.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-07-08T16:27:47.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-07-08T16:27:47.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-08T16:27:47.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-07-08T16:27:47.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-08T16:27:47.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-08T16:27:47.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-08T16:27:47.428Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-08T16:27:47.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-08T16:27:47.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-08T16:27:47.493Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-08T16:27:47.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo [2021-07-08T16:27:47.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo [2021-07-08T16:27:47.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo [2021-07-08T16:27:47.578Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [Pipeline] echo [2021-07-08T16:27:47.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ea0bab [Pipeline] echo [2021-07-08T16:27:47.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-08T16:27:47.699Z] provisioning config files... [2021-07-08T16:27:47.717Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config6797589341873600516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:27:48.050Z] ---> docker-login.sh [2021-07-08T16:27:48.050Z] nexus3.edgexfoundry.org:10001 [2021-07-08T16:27:48.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:27:48.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:27:48.574Z] Configure a credential helper to remove this warning. See [2021-07-08T16:27:48.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:27:48.574Z] [2021-07-08T16:27:48.574Z] Login Succeeded [2021-07-08T16:27:48.574Z] nexus3.edgexfoundry.org:10002 [2021-07-08T16:27:48.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:27:48.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:27:48.574Z] Configure a credential helper to remove this warning. See [2021-07-08T16:27:48.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:27:48.574Z] [2021-07-08T16:27:48.574Z] Login Succeeded [2021-07-08T16:27:48.574Z] nexus3.edgexfoundry.org:10003 [2021-07-08T16:27:48.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:27:48.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:27:48.837Z] Configure a credential helper to remove this warning. See [2021-07-08T16:27:48.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:27:48.837Z] [2021-07-08T16:27:48.837Z] Login Succeeded [2021-07-08T16:27:48.837Z] nexus3.edgexfoundry.org:10004 [2021-07-08T16:27:48.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:27:49.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:27:49.100Z] Configure a credential helper to remove this warning. See [2021-07-08T16:27:49.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:27:49.100Z] [2021-07-08T16:27:49.100Z] Login Succeeded [2021-07-08T16:27:49.100Z] docker.io [2021-07-08T16:27:49.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:27:49.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:27:49.363Z] Configure a credential helper to remove this warning. See [2021-07-08T16:27:49.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:27:49.363Z] [2021-07-08T16:27:49.363Z] Login Succeeded [2021-07-08T16:27:49.363Z] ---> docker-login.sh ends [Pipeline] } [2021-07-08T16:27:49.374Z] 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-07-08T16:27:51.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-08T16:27:51.193Z] [2021-07-08T16:27:51.193Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:27:51.509Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-08T16:27:51.509Z] latest: Pulling from edgex-devops/git-semver [2021-07-08T16:27:51.509Z] 31603596830f: Pulling fs layer [2021-07-08T16:27:51.509Z] b6dc333f4379: Pulling fs layer [2021-07-08T16:27:51.509Z] 3d9ef1400e77: Pulling fs layer [2021-07-08T16:27:51.509Z] fd332fbdc1db: Pulling fs layer [2021-07-08T16:27:51.509Z] fd332fbdc1db: Waiting [2021-07-08T16:27:51.509Z] b6dc333f4379: Verifying Checksum [2021-07-08T16:27:51.509Z] b6dc333f4379: Download complete [2021-07-08T16:27:51.771Z] 31603596830f: Verifying Checksum [2021-07-08T16:27:51.771Z] 31603596830f: Download complete [2021-07-08T16:27:51.771Z] 3d9ef1400e77: Verifying Checksum [2021-07-08T16:27:51.771Z] 3d9ef1400e77: Download complete [2021-07-08T16:27:51.771Z] fd332fbdc1db: Verifying Checksum [2021-07-08T16:27:51.771Z] fd332fbdc1db: Download complete [2021-07-08T16:27:52.042Z] 31603596830f: Pull complete [2021-07-08T16:27:52.042Z] b6dc333f4379: Pull complete [2021-07-08T16:27:52.624Z] 3d9ef1400e77: Pull complete [2021-07-08T16:27:52.887Z] fd332fbdc1db: Pull complete [2021-07-08T16:27:52.887Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-08T16:27:52.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-08T16:27:52.887Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-08T16:27:52.985Z] prd-centos7-docker-4c-2g-2225 does not seem to be running inside a container [2021-07-08T16:27:53.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-08T16:27:54.090Z] $ docker top 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-08T16:27:54.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-08T16:27:54.207Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-08T16:27:54.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-08T16:27:54.323Z] $ docker exec 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent [2021-07-08T16:27:54.434Z] SSH_AUTH_SOCK=/tmp/ssh-xk6jNgO2TQhL/agent.13 [2021-07-08T16:27:54.434Z] SSH_AGENT_PID=19 [2021-07-08T16:27:54.443Z] Running ssh-add (command line suppressed) [2021-07-08T16:27:54.539Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3231313542760702774.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3231313542760702774.key) [2021-07-08T16:27:54.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-08T16:27:54.861Z] + git tag --points-at HEAD [Pipeline] } [2021-07-08T16:27:54.885Z] $ docker exec --env ******** --env ******** 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent -k [2021-07-08T16:27:54.978Z] unset SSH_AUTH_SOCK; [2021-07-08T16:27:54.978Z] unset SSH_AGENT_PID; [2021-07-08T16:27:54.978Z] echo Agent pid 19 killed; [2021-07-08T16:27:54.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-08T16:27:55.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-08T16:27:55.032Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-08T16:27:55.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-08T16:27:55.150Z] $ docker exec 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent [2021-07-08T16:27:55.255Z] SSH_AUTH_SOCK=/tmp/ssh-AwghS03zlEfD/agent.52 [2021-07-08T16:27:55.255Z] SSH_AGENT_PID=59 [2021-07-08T16:27:55.261Z] Running ssh-add (command line suppressed) [2021-07-08T16:27:55.361Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_5777380259728448864.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_5777380259728448864.key) [2021-07-08T16:27:55.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-08T16:27:55.679Z] + git semver init [2021-07-08T16:27:55.679Z] # -> Open(): unable to determine branch for HEAD [2021-07-08T16:27:55.679Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git [2021-07-08T16:27:55.679Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 [2021-07-08T16:27:55.679Z] # $SEMVER_REMOTE_NAME = origin [2021-07-08T16:27:55.679Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-08T16:27:55.679Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-08T16:27:55.679Z] # $SEMVER_BRANCH = PR-355 [2021-07-08T16:27:55.679Z] # $SEMVER_TEMP = /tmp/semver-093188445 [2021-07-08T16:27:55.679Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-07-08T16:27:56.254Z] # '/tmp/semver-093188445' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' [2021-07-08T16:27:56.254Z] # -> Force: false [2021-07-08T16:27:56.254Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } [2021-07-08T16:27:56.264Z] $ docker exec --env ******** --env ******** 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent -k [2021-07-08T16:27:56.361Z] unset SSH_AUTH_SOCK; [2021-07-08T16:27:56.362Z] unset SSH_AGENT_PID; [2021-07-08T16:27:56.362Z] echo Agent pid 59 killed; [2021-07-08T16:27:56.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-08T16:27:56.711Z] + git semver [Pipeline] } [2021-07-08T16:27:56.723Z] $ docker stop --time=1 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 [2021-07-08T16:27:57.984Z] $ docker rm -f 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-08T16:27:58.350Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-08T16:27:58.604Z] Stashed 1 file(s) [Pipeline] echo [2021-07-08T16:27:58.608Z] [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-07-08T16:28:13.843Z] Still waiting to schedule task [2021-07-08T16:28:13.844Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2225’ [2021-07-08T16:28:13.847Z] Still waiting to schedule task [2021-07-08T16:28:13.847Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-08T16:30:22.344Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2226 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws [2021-07-08T16:30:22.362Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2021-07-08T16:30:22.603Z] Selected Git installation does not exist. Using Default [2021-07-08T16:30:22.603Z] The recommended git tool is: NONE [2021-07-08T16:30:27.917Z] using credential edgex-jenkins-ssh [2021-07-08T16:30:27.938Z] Cloning the remote Git repository [2021-07-08T16:30:28.051Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:28.191Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2021-07-08T16:30:28.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:28.322Z] > git --version # timeout=10 [2021-07-08T16:30:28.339Z] > git --version # 'git version 2.17.1' [2021-07-08T16:30:28.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:28.413Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-08T16:30:30.220Z] Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:30:29.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-08T16:30:29.561Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-08T16:30:29.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-08T16:30:29.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:29.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:29.638Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-08T16:30:30.242Z] > git config core.sparsecheckout # timeout=10 [2021-07-08T16:30:30.255Z] > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 [2021-07-08T16:30:30.414Z] Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:30:30.414Z] Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) [2021-07-08T16:30:30.352Z] > git remote # timeout=10 [2021-07-08T16:30:30.365Z] > git config --get remote.origin.url # timeout=10 [2021-07-08T16:30:30.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:30.386Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-08T16:30:30.404Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-08T16:30:30.424Z] > git config core.sparsecheckout # timeout=10 [2021-07-08T16:30:30.445Z] > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 [2021-07-08T16:30:34.586Z] Commit message: "fix: Update random device profile, configuration and discovery device configuration file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-08T16:30:36.083Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-08T16:30:36.531Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-08T16:30:36.873Z] + true [2021-07-08T16:30:36.874Z] + sudo service docker restart [2021-07-08T16:30:54.146Z] Running on prd-centos7-docker-4c-2g-2227 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws [2021-07-08T16:30:54.165Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2021-07-08T16:30:54.275Z] Selected Git installation does not exist. Using Default [2021-07-08T16:30:54.275Z] The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-08T16:30:55.214Z] provisioning config files... [2021-07-08T16:30:55.241Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config822155430593032935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:30:55.613Z] ---> docker-login.sh [2021-07-08T16:30:55.613Z] nexus3.edgexfoundry.org:10001 [2021-07-08T16:30:56.460Z] using credential edgex-jenkins-ssh [2021-07-08T16:30:56.478Z] Cloning the remote Git repository [2021-07-08T16:30:56.271Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:56.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:30:56.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:30:56.871Z] Configure a credential helper to remove this warning. See [2021-07-08T16:30:56.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:30:56.871Z] [2021-07-08T16:30:56.871Z] Login Succeeded [2021-07-08T16:30:56.871Z] nexus3.edgexfoundry.org:10002 [2021-07-08T16:30:57.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:30:57.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:30:57.419Z] Configure a credential helper to remove this warning. See [2021-07-08T16:30:57.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:30:57.419Z] [2021-07-08T16:30:57.419Z] Login Succeeded [2021-07-08T16:30:57.419Z] nexus3.edgexfoundry.org:10003 [2021-07-08T16:30:56.358Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2021-07-08T16:30:56.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:56.387Z] > git --version # timeout=10 [2021-07-08T16:30:56.393Z] > git --version # 'git version 2.24.4' [2021-07-08T16:30:56.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:56.422Z] [INFO] Currently running in a labeled security context [2021-07-08T16:30:56.422Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-08T16:30:56.422Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7273433992531590577.key [2021-07-08T16:30:56.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-08T16:30:57.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-08T16:30:57.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-08T16:30:57.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-07-08T16:30:57.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-07-08T16:30:57.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:57.184Z] [INFO] Currently running in a labeled security context [2021-07-08T16:30:57.185Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-08T16:30:57.185Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh485854706611456202.key [2021-07-08T16:30:57.191Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-08T16:30:57.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:30:57.805Z] Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:30:57.899Z] Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:30:57.899Z] Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) [2021-07-08T16:30:57.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:30:57.970Z] Configure a credential helper to remove this warning. See [2021-07-08T16:30:57.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:30:57.970Z] [2021-07-08T16:30:57.970Z] Login Succeeded [2021-07-08T16:30:57.970Z] nexus3.edgexfoundry.org:10004 [2021-07-08T16:30:58.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:30:58.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:30:58.525Z] Configure a credential helper to remove this warning. See [2021-07-08T16:30:58.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:30:58.525Z] [2021-07-08T16:30:58.525Z] Login Succeeded [2021-07-08T16:30:58.525Z] docker.io [2021-07-08T16:30:57.691Z] > git config core.sparsecheckout # timeout=10 [2021-07-08T16:30:57.699Z] > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 [2021-07-08T16:30:57.748Z] > git remote # timeout=10 [2021-07-08T16:30:57.753Z] > git config --get remote.origin.url # timeout=10 [2021-07-08T16:30:57.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-08T16:30:57.761Z] [INFO] Currently running in a labeled security context [2021-07-08T16:30:57.761Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-08T16:30:57.761Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh3981390259256214150.key [2021-07-08T16:30:57.766Z] > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 [2021-07-08T16:30:57.774Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-08T16:30:57.788Z] > git config core.sparsecheckout # timeout=10 [2021-07-08T16:30:57.796Z] > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 [2021-07-08T16:30:59.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:30:59.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:30:59.401Z] Configure a credential helper to remove this warning. See [2021-07-08T16:30:59.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:30:59.401Z] [2021-07-08T16:30:59.401Z] Login Succeeded [2021-07-08T16:30:59.401Z] ---> docker-login.sh ends [Pipeline] } [2021-07-08T16:30:59.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-08T16:30:59.706Z] ========================================================= [2021-07-08T16:30:59.706Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-07-08T16:30:59.706Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:31:00.079Z] + 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-07-08T16:31:00.681Z] Sending build context to Docker daemon 2.598MB [2021-07-08T16:31:00.681Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-08T16:31:00.681Z] Step 2/25 : FROM ${BASE} as builder [2021-07-08T16:31:00.681Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-07-08T16:31:00.681Z] 0362ad1dd800: Pulling fs layer [2021-07-08T16:31:00.681Z] f2cdb1532d8b: Pulling fs layer [2021-07-08T16:31:00.681Z] 37ed683be191: Pulling fs layer [2021-07-08T16:31:00.958Z] f2cdb1532d8b: Download complete [2021-07-08T16:31:00.958Z] 0362ad1dd800: Download complete [2021-07-08T16:31:01.516Z] Commit message: "fix: Update random device profile, configuration and discovery device configuration file" [2021-07-08T16:31:01.570Z] 0362ad1dd800: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-08T16:31:02.182Z] f2cdb1532d8b: Pull complete [2021-07-08T16:31:02.538Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-08T16:31:02.870Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-08T16:31:03.217Z] + sudo service docker restart [2021-07-08T16:31:03.217Z] + true [2021-07-08T16:31:03.217Z] Redirecting to /bin/systemctl restart docker.service [2021-07-08T16:31:03.612Z] 37ed683be191: Verifying Checksum [2021-07-08T16:31:03.612Z] 37ed683be191: Download complete [2021-07-08T16:31:13.784Z] 37ed683be191: Pull complete [2021-07-08T16:31:13.784Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-07-08T16:31:13.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-07-08T16:31:13.784Z] ---> b23d30803547 [2021-07-08T16:31:13.784Z] 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-07-08T16:31:13.784Z] ---> Running in b64621eeed7b [2021-07-08T16:31:14.762Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-08T16:31:15.355Z] support@iotechsys.co 100% |********************************|  451 0:00:00 ETA [2021-07-08T16:31:15.355Z]  [2021-07-08T16:31:16.333Z] Removing intermediate container b64621eeed7b [2021-07-08T16:31:16.333Z] ---> 1eb70e4f99fa [2021-07-08T16:31:16.333Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:31:16.333Z] ---> Running in 55dc9d18fca1 [2021-07-08T16:31:18.318Z] Removing intermediate container 55dc9d18fca1 [2021-07-08T16:31:18.318Z] ---> 7ed67abdfe84 [2021-07-08T16:31:18.318Z] 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-07-08T16:31:18.592Z] ---> Running in ab73e6e74ac7 [2021-07-08T16:31:19.826Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-08T16:31:20.803Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2021-07-08T16:31:21.397Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [Pipeline] configFileProvider [2021-07-08T16:31:21.414Z] provisioning config files... [2021-07-08T16:31:21.426Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config266470223318852614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:31:21.747Z] ---> docker-login.sh [2021-07-08T16:31:21.747Z] nexus3.edgexfoundry.org:10001 [2021-07-08T16:31:21.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:31:21.991Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-08T16:31:22.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:31:22.010Z] Configure a credential helper to remove this warning. See [2021-07-08T16:31:22.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:31:22.010Z] [2021-07-08T16:31:22.010Z] Login Succeeded [2021-07-08T16:31:22.010Z] nexus3.edgexfoundry.org:10002 [2021-07-08T16:31:22.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:31:22.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:31:22.010Z] Configure a credential helper to remove this warning. See [2021-07-08T16:31:22.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:31:22.010Z] [2021-07-08T16:31:22.010Z] Login Succeeded [2021-07-08T16:31:22.010Z] nexus3.edgexfoundry.org:10003 [2021-07-08T16:31:22.266Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-08T16:31:22.266Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-08T16:31:22.266Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-08T16:31:22.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:31:22.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:31:22.271Z] Configure a credential helper to remove this warning. See [2021-07-08T16:31:22.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:31:22.271Z] [2021-07-08T16:31:22.271Z] Login Succeeded [2021-07-08T16:31:22.271Z] nexus3.edgexfoundry.org:10004 [2021-07-08T16:31:22.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:31:22.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:31:22.531Z] Configure a credential helper to remove this warning. See [2021-07-08T16:31:22.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:31:22.531Z] [2021-07-08T16:31:22.531Z] Login Succeeded [2021-07-08T16:31:22.531Z] docker.io [2021-07-08T16:31:22.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-08T16:31:22.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-08T16:31:22.792Z] Configure a credential helper to remove this warning. See [2021-07-08T16:31:22.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-08T16:31:22.792Z] [2021-07-08T16:31:22.792Z] Login Succeeded [2021-07-08T16:31:22.792Z] ---> docker-login.sh ends [Pipeline] } [2021-07-08T16:31:22.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-08T16:31:22.961Z] ========================================================= [2021-07-08T16:31:22.961Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-07-08T16:31:22.961Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:31:23.270Z] + 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-07-08T16:31:23.270Z] Sending build context to Docker daemon 2.599MB [2021-07-08T16:31:23.270Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-07-08T16:31:23.270Z] Step 2/25 : FROM ${BASE} as builder [2021-07-08T16:31:23.270Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-07-08T16:31:23.270Z] e7c96db7181b: Pulling fs layer [2021-07-08T16:31:23.270Z] 4c13bbce0fe7: Pulling fs layer [2021-07-08T16:31:23.270Z] 6059c847ac2f: Pulling fs layer [2021-07-08T16:31:23.531Z] 4c13bbce0fe7: Verifying Checksum [2021-07-08T16:31:23.531Z] 4c13bbce0fe7: Download complete [2021-07-08T16:31:23.531Z] e7c96db7181b: Verifying Checksum [2021-07-08T16:31:23.531Z] e7c96db7181b: Download complete [2021-07-08T16:31:23.692Z] (5/11) Installing libuuid (2.33-r0) [2021-07-08T16:31:23.796Z] e7c96db7181b: Pull complete [2021-07-08T16:31:23.796Z] 4c13bbce0fe7: Pull complete [2021-07-08T16:31:23.962Z] (6/11) Installing libblkid (2.33-r0) [2021-07-08T16:31:24.553Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-08T16:31:24.553Z] (8/11) Installing libmount (2.33-r0) [2021-07-08T16:31:24.757Z] 6059c847ac2f: Verifying Checksum [2021-07-08T16:31:24.758Z] 6059c847ac2f: Download complete [2021-07-08T16:31:24.823Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-08T16:31:25.093Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-08T16:31:26.517Z] (11/11) Installing wget (1.20.3-r0) [2021-07-08T16:31:26.788Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:31:26.788Z] OK: 287 MiB in 86 packages [2021-07-08T16:31:27.350Z] 6059c847ac2f: Pull complete [2021-07-08T16:31:27.350Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-07-08T16:31:27.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-07-08T16:31:27.350Z] ---> 5eabd8fd8ba2 [2021-07-08T16:31:27.350Z] 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-07-08T16:31:28.236Z] Removing intermediate container ab73e6e74ac7 [2021-07-08T16:31:28.236Z] ---> 8a02ce58e352 [2021-07-08T16:31:28.236Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-08T16:31:28.236Z] ---> Running in a28afcbfb299 [2021-07-08T16:31:28.847Z] Removing intermediate container a28afcbfb299 [2021-07-08T16:31:28.847Z] ---> 6724efd9180f [2021-07-08T16:31:28.847Z] 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-07-08T16:31:28.847Z] ---> Running in 3f4f79039d2a [2021-07-08T16:31:29.293Z] ---> Running in d3cab9b5f87d [2021-07-08T16:31:29.293Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-08T16:31:29.868Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-08T16:31:29.868Z] [2021-07-08T16:31:29.868Z] Removing intermediate container d3cab9b5f87d [2021-07-08T16:31:29.868Z] ---> 129c8bdafe88 [2021-07-08T16:31:29.868Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:31:30.133Z] ---> Running in 0cf286a2fa6e [2021-07-08T16:31:30.288Z] --2021-07-08 16:31:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-08T16:31:30.288Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:31:30.288Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:31:30.288Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:31:30.288Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-08T16:31:30.288Z] --2021-07-08 16:31:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-08T16:31:30.288Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:31:30.288Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:31:30.288Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:31:30.288Z] Length: unspecified [application/x-gzip] [2021-07-08T16:31:30.288Z] Saving to: 'STDOUT' [2021-07-08T16:31:30.288Z]  [2021-07-08T16:31:30.399Z] Removing intermediate container 0cf286a2fa6e [2021-07-08T16:31:30.400Z] ---> 5a115484d58c [2021-07-08T16:31:30.400Z] 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-07-08T16:31:30.566Z] 0K .......... .......... .......... .......... .......... 1.16M [2021-07-08T16:31:30.566Z] 50K .......... .......... .......... .......... .......... 2.30M [2021-07-08T16:31:30.566Z] 100K .......... .......... .......... .......... .......... 2.59M [2021-07-08T16:31:30.566Z] 150K .......... .......... .......... .......... .......... 11.5M [2021-07-08T16:31:30.566Z] 200K .......... .......... .......... .......... .......... 10.3M [2021-07-08T16:31:30.566Z] 250K .......... .......... .......... .......... .......... 3.39M [2021-07-08T16:31:30.566Z] 300K .......... .......... .......... .......... .......... 7.54M [2021-07-08T16:31:30.566Z] 350K .......... .......... .......... .......... .......... 6.21M [2021-07-08T16:31:30.566Z] 400K .......... .......... .......... .......... .......... 4.47M [2021-07-08T16:31:30.566Z] 450K .......... .......... .......... .......... .......... 5.30M [2021-07-08T16:31:30.566Z] 500K .......... .......... .......... .......... .......... 7.03M [2021-07-08T16:31:30.566Z] 550K .......... .......... .......... .......... .......... 2.33M [2021-07-08T16:31:30.566Z] 600K .......... .......... .......... .......... .......... 809K [2021-07-08T16:31:30.566Z] 650K .......... .......... .......... .......... .......... 2.26M [2021-07-08T16:31:30.566Z] 700K ..   3.02M=0.3s [2021-07-08T16:31:30.566Z] [2021-07-08T16:31:30.566Z] 2021-07-08 16:31:30 (2.72 MB/s) - written to stdout [719348] [2021-07-08T16:31:30.566Z] [2021-07-08T16:31:30.659Z] ---> Running in eaf7f9ec2174 [2021-07-08T16:31:30.837Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:31:30.924Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-08T16:31:31.111Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-08T16:31:31.111Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:31:31.384Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:31:31.384Z] -- Detecting C compiler ABI info [2021-07-08T16:31:31.497Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-08T16:31:31.658Z] -- Detecting C compiler ABI info - done [2021-07-08T16:31:31.658Z] -- Detecting C compile features [2021-07-08T16:31:31.760Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-08T16:31:32.255Z] -- Detecting C compile features - done [2021-07-08T16:31:32.335Z] (1/11) Installing hiredis (0.14.0-r0) [2021-07-08T16:31:32.335Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-07-08T16:31:32.335Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-08T16:31:32.527Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-08T16:31:32.527Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-08T16:31:32.527Z] -- Detecting CXX compiler ABI info [2021-07-08T16:31:32.595Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-08T16:31:32.800Z] -- Detecting CXX compiler ABI info - done [2021-07-08T16:31:33.075Z] -- Detecting CXX compile features [2021-07-08T16:31:33.981Z] (5/11) Installing libuuid (2.33-r0) [2021-07-08T16:31:33.981Z] (6/11) Installing libblkid (2.33-r0) [2021-07-08T16:31:33.981Z] (7/11) Installing libfdisk (2.33-r0) [2021-07-08T16:31:34.243Z] (8/11) Installing libmount (2.33-r0) [2021-07-08T16:31:34.243Z] (9/11) Installing libsmartcols (2.33-r0) [2021-07-08T16:31:34.504Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-07-08T16:31:34.504Z] (11/11) Installing wget (1.20.3-r0) [2021-07-08T16:31:34.521Z] -- Detecting CXX compile features - done [2021-07-08T16:31:34.521Z] -- Looking for include file endian.h [2021-07-08T16:31:34.768Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:31:34.768Z] OK: 273 MiB in 86 packages [2021-07-08T16:31:34.794Z] -- Looking for include file endian.h - found [2021-07-08T16:31:34.794Z] -- Check if the system is big endian [2021-07-08T16:31:34.794Z] -- Searching 16 bit integer [2021-07-08T16:31:34.794Z] -- Looking for sys/types.h [2021-07-08T16:31:34.794Z] -- Looking for sys/types.h - found [2021-07-08T16:31:34.794Z] -- Looking for stdint.h [2021-07-08T16:31:35.033Z] Removing intermediate container eaf7f9ec2174 [2021-07-08T16:31:35.033Z] ---> 5c848a36996a [2021-07-08T16:31:35.033Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-07-08T16:31:35.067Z] -- Looking for stdint.h - found [2021-07-08T16:31:35.067Z] -- Looking for stddef.h [2021-07-08T16:31:35.294Z] ---> Running in ccab6016178a [2021-07-08T16:31:35.295Z] Removing intermediate container ccab6016178a [2021-07-08T16:31:35.295Z] ---> f2467eecd216 [2021-07-08T16:31:35.295Z] 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-07-08T16:31:35.295Z] ---> Running in c7bdd1a16099 [2021-07-08T16:31:35.342Z] -- Looking for stddef.h - found [2021-07-08T16:31:35.342Z] -- Check size of unsigned short [2021-07-08T16:31:35.557Z] --2021-07-08 16:31:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-07-08T16:31:35.558Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:31:35.558Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:31:35.558Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:31:35.558Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-07-08T16:31:35.558Z] --2021-07-08 16:31:35-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-07-08T16:31:35.558Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:31:35.558Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:31:35.616Z] -- Check size of unsigned short - done [2021-07-08T16:31:35.617Z] -- Using unsigned short [2021-07-08T16:31:35.823Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:31:35.823Z] Length: unspecified [application/x-gzip] [2021-07-08T16:31:35.823Z] Saving to: 'STDOUT' [2021-07-08T16:31:35.823Z]  [2021-07-08T16:31:35.823Z] 0K .......... .......... .......... .......... .......... 1.48M [2021-07-08T16:31:35.823Z] 50K .......... .......... .......... .......... .......... 3.17M [2021-07-08T16:31:35.823Z] 100K .......... .......... .......... .......... .......... 26.7M [2021-07-08T16:31:35.823Z] 150K .......... .......... .......... .......... .......... 3.47M [2021-07-08T16:31:35.823Z] 200K .......... .......... .......... .......... .......... 33.1M [2021-07-08T16:31:35.823Z] 250K .......... .......... .......... .......... .......... 8.97M [2021-07-08T16:31:35.823Z] 300K .......... .......... .......... .......... .......... 5.21M [2021-07-08T16:31:35.823Z] 350K .......... .......... .......... .......... .......... 15.3M [2021-07-08T16:31:35.823Z] 400K .......... .......... .......... .......... .......... 14.7M [2021-07-08T16:31:35.823Z] 450K .......... .......... .......... .......... .......... 11.3M [2021-07-08T16:31:35.823Z] 500K .......... .......... .......... .......... .......... 22.0M [2021-07-08T16:31:35.823Z] 550K .......... .......... .......... .......... .......... 10.6M [2021-07-08T16:31:35.823Z] 600K .......... .......... .......... .......... .......... 4.35M [2021-07-08T16:31:35.823Z] 650K .......... .......... .......... .......... .......... 6.66M [2021-07-08T16:31:35.823Z] 700K .. 62.7M=0.1s [2021-07-08T16:31:35.823Z] [2021-07-08T16:31:35.823Z] 2021-07-08 16:31:35 (5.88 MB/s) - written to stdout [719348] [2021-07-08T16:31:35.823Z] [2021-07-08T16:31:35.823Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:31:35.890Z] -- Check if the system is big endian - little endian [2021-07-08T16:31:35.891Z] -- Check size of size_t [2021-07-08T16:31:36.087Z] -- The CXX compiler identification is GNU 8.3.0 [2021-07-08T16:31:36.087Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:31:36.087Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:31:36.087Z] -- Detecting C compiler ABI info [2021-07-08T16:31:36.087Z] -- Detecting C compiler ABI info - done [2021-07-08T16:31:36.087Z] -- Detecting C compile features [2021-07-08T16:31:36.164Z] -- Check size of size_t - done [2021-07-08T16:31:36.164Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-08T16:31:36.164Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-08T16:31:36.164Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-08T16:31:36.164Z] CMake did not find one. [2021-07-08T16:31:36.164Z] [2021-07-08T16:31:36.164Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-08T16:31:36.164Z] the following names: [2021-07-08T16:31:36.164Z] [2021-07-08T16:31:36.164Z] cJSONConfig.cmake [2021-07-08T16:31:36.164Z] cjson-config.cmake [2021-07-08T16:31:36.164Z] [2021-07-08T16:31:36.164Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-08T16:31:36.164Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-08T16:31:36.164Z] provides a separate development package or SDK, be sure it has been [2021-07-08T16:31:36.164Z] installed. [2021-07-08T16:31:36.164Z] [2021-07-08T16:31:36.164Z] [2021-07-08T16:31:36.164Z] -- Configuring done [2021-07-08T16:31:36.348Z] -- Detecting C compile features - done [2021-07-08T16:31:36.348Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-07-08T16:31:36.348Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-07-08T16:31:36.348Z] -- Detecting CXX compiler ABI info [2021-07-08T16:31:36.348Z] -- Detecting CXX compiler ABI info - done [2021-07-08T16:31:36.348Z] -- Detecting CXX compile features [2021-07-08T16:31:36.438Z] -- Generating done [2021-07-08T16:31:36.438Z] -- Build files have been written to: /tmp/cbor [2021-07-08T16:31:36.438Z] Scanning dependencies of target cbor_shared [2021-07-08T16:31:36.438Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-08T16:31:36.940Z] -- Detecting CXX compile features - done [2021-07-08T16:31:36.940Z] -- Looking for include file endian.h [2021-07-08T16:31:36.940Z] -- Looking for include file endian.h - found [2021-07-08T16:31:36.940Z] -- Check if the system is big endian [2021-07-08T16:31:36.940Z] -- Searching 16 bit integer [2021-07-08T16:31:36.940Z] -- Looking for sys/types.h [2021-07-08T16:31:36.940Z] -- Looking for sys/types.h - found [2021-07-08T16:31:36.940Z] -- Looking for stdint.h [2021-07-08T16:31:36.940Z] -- Looking for stdint.h - found [2021-07-08T16:31:36.940Z] -- Looking for stddef.h [2021-07-08T16:31:36.940Z] -- Looking for stddef.h - found [2021-07-08T16:31:36.940Z] -- Check size of unsigned short [2021-07-08T16:31:37.203Z] -- Check size of unsigned short - done [2021-07-08T16:31:37.203Z] -- Using unsigned short [2021-07-08T16:31:37.203Z] -- Check if the system is big endian - little endian [2021-07-08T16:31:37.203Z] -- Check size of size_t [2021-07-08T16:31:37.203Z] -- Check size of size_t - done [2021-07-08T16:31:37.203Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-07-08T16:31:37.203Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-07-08T16:31:37.203Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-07-08T16:31:37.203Z] CMake did not find one. [2021-07-08T16:31:37.203Z] [2021-07-08T16:31:37.203Z] Could not find a package configuration file provided by "cJSON" with any of [2021-07-08T16:31:37.203Z] the following names: [2021-07-08T16:31:37.203Z] [2021-07-08T16:31:37.203Z] cJSONConfig.cmake [2021-07-08T16:31:37.203Z] cjson-config.cmake [2021-07-08T16:31:37.203Z] [2021-07-08T16:31:37.203Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-07-08T16:31:37.203Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-07-08T16:31:37.203Z] provides a separate development package or SDK, be sure it has been [2021-07-08T16:31:37.203Z] installed. [2021-07-08T16:31:37.203Z] [2021-07-08T16:31:37.203Z] [2021-07-08T16:31:37.203Z] -- Configuring done [2021-07-08T16:31:37.203Z] -- Generating done [2021-07-08T16:31:37.203Z] -- Build files have been written to: /tmp/cbor [2021-07-08T16:31:37.203Z] Scanning dependencies of target cbor_shared [2021-07-08T16:31:37.203Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-07-08T16:31:37.421Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-08T16:31:37.464Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-07-08T16:31:37.464Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-08T16:31:37.725Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-08T16:31:37.725Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-08T16:31:37.725Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-08T16:31:37.725Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-08T16:31:37.991Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-08T16:31:37.992Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-08T16:31:37.992Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-08T16:31:37.992Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-08T16:31:38.014Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-07-08T16:31:38.014Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-07-08T16:31:38.254Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-08T16:31:38.254Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-08T16:31:38.254Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-08T16:31:38.254Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-08T16:31:38.519Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-08T16:31:38.519Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-08T16:31:38.519Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-08T16:31:38.519Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-08T16:31:38.519Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-08T16:31:38.607Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-07-08T16:31:38.787Z] [ 40%] Linking C shared library libcbor.so [2021-07-08T16:31:38.787Z] [ 40%] Built target cbor_shared [2021-07-08T16:31:38.787Z] Scanning dependencies of target cbor [2021-07-08T16:31:38.787Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-08T16:31:38.787Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-08T16:31:38.879Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-07-08T16:31:39.051Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-08T16:31:39.051Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-08T16:31:39.151Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-07-08T16:31:39.313Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-08T16:31:39.313Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-08T16:31:39.313Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-08T16:31:39.313Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-08T16:31:39.313Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-08T16:31:39.423Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-07-08T16:31:39.423Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-07-08T16:31:39.575Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-08T16:31:39.575Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-08T16:31:39.575Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-08T16:31:39.693Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-07-08T16:31:39.836Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-08T16:31:39.836Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-08T16:31:39.836Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-08T16:31:39.836Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-08T16:31:39.836Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-08T16:31:40.099Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-08T16:31:40.099Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-08T16:31:40.099Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-08T16:31:40.099Z] [ 80%] Linking C static library libcbor.a [2021-07-08T16:31:40.099Z] [ 80%] Built target cbor [2021-07-08T16:31:40.099Z] Scanning dependencies of target create_items [2021-07-08T16:31:40.099Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-08T16:31:40.286Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-07-08T16:31:40.359Z] [ 84%] Linking C executable create_items [2021-07-08T16:31:40.359Z] [ 84%] Built target create_items [2021-07-08T16:31:40.359Z] Scanning dependencies of target readfile [2021-07-08T16:31:40.359Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-08T16:31:40.359Z] [ 88%] Linking C executable readfile [2021-07-08T16:31:40.359Z] [ 88%] Built target readfile [2021-07-08T16:31:40.359Z] Scanning dependencies of target streaming_parser [2021-07-08T16:31:40.359Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-08T16:31:40.359Z] [ 92%] Linking C executable streaming_parser [2021-07-08T16:31:40.359Z] [ 92%] Built target streaming_parser [2021-07-08T16:31:40.359Z] Scanning dependencies of target sort [2021-07-08T16:31:40.359Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-08T16:31:40.558Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-07-08T16:31:40.621Z] [ 96%] Linking C executable sort [2021-07-08T16:31:40.621Z] [ 96%] Built target sort [2021-07-08T16:31:40.621Z] Scanning dependencies of target hello [2021-07-08T16:31:40.621Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-08T16:31:40.621Z] [100%] Linking C executable hello [2021-07-08T16:31:40.621Z] [100%] Built target hello [2021-07-08T16:31:40.621Z] Install the project... [2021-07-08T16:31:40.621Z] -- Install configuration: "Release" [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-08T16:31:40.621Z] -- Up-to-date: /usr/local/include/cbor [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/include/cbor.h [2021-07-08T16:31:40.621Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-08T16:31:41.154Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-07-08T16:31:41.200Z] Removing intermediate container c7bdd1a16099 [2021-07-08T16:31:41.200Z] ---> 5f2f92d63613 [2021-07-08T16:31:41.200Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-08T16:31:41.200Z] ---> Running in b2f95b09a0a4 [2021-07-08T16:31:41.425Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-07-08T16:31:41.698Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-07-08T16:31:41.698Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-07-08T16:31:41.777Z] Removing intermediate container b2f95b09a0a4 [2021-07-08T16:31:41.777Z] ---> 0bb27311f462 [2021-07-08T16:31:41.777Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-08T16:31:41.777Z] ---> 9087a1b47c18 [2021-07-08T16:31:41.777Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-08T16:31:41.972Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-07-08T16:31:42.041Z] ---> 6fe940e08124 [2021-07-08T16:31:42.041Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-08T16:31:42.253Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-07-08T16:31:42.306Z] ---> f7198c3dfc39 [2021-07-08T16:31:42.306Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-08T16:31:42.306Z] ---> 960d3801b945 [2021-07-08T16:31:42.306Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-08T16:31:42.524Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-07-08T16:31:42.569Z] ---> 448ef52455bd [2021-07-08T16:31:42.569Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-08T16:31:42.569Z] ---> f38c37e7894a [2021-07-08T16:31:42.569Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-08T16:31:42.809Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-07-08T16:31:42.833Z] ---> Running in f7d2e0421880 [2021-07-08T16:31:43.082Z] [ 40%] Linking C shared library libcbor.so [2021-07-08T16:31:43.082Z] [ 40%] Built target cbor_shared [2021-07-08T16:31:43.082Z] Scanning dependencies of target cbor [2021-07-08T16:31:43.082Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-07-08T16:31:43.096Z] + CPPCHECK=false [2021-07-08T16:31:43.096Z] + DOCGEN=false [2021-07-08T16:31:43.096Z] + TOMLVER=SDK-0.2 [2021-07-08T16:31:43.096Z] + CUTILVER=1.1.4 [2021-07-08T16:31:43.096Z] + '[' 0 -gt 0 ] [2021-07-08T16:31:43.096Z] + readlink -f ./scripts/build.sh [2021-07-08T16:31:43.096Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-08T16:31:43.096Z] + dirname /tmp/sdk/scripts [2021-07-08T16:31:43.096Z] + ROOT=/tmp/sdk [2021-07-08T16:31:43.096Z] + cd /tmp/sdk [2021-07-08T16:31:43.096Z] + '[' '!' -d deps ] [2021-07-08T16:31:43.096Z] + mkdir deps [2021-07-08T16:31:43.096Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-08T16:31:43.096Z] + tar -C deps -z -x -f - [2021-07-08T16:31:43.096Z] --2021-07-08 16:31:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-08T16:31:43.096Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:31:43.096Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:31:43.096Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:31:43.096Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-08T16:31:43.096Z] --2021-07-08 16:31:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-08T16:31:43.096Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:31:43.096Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:31:43.358Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:31:43.358Z] Length: unspecified [application/x-gzip] [2021-07-08T16:31:43.358Z] Saving to: 'STDOUT' [2021-07-08T16:31:43.358Z] [2021-07-08T16:31:43.358Z] 0K .......... ...... 979K=0.02s [2021-07-08T16:31:43.358Z] [2021-07-08T16:31:43.358Z] 2021-07-08 16:31:43 (979 KB/s) - written to stdout [16451] [2021-07-08T16:31:43.358Z] [2021-07-08T16:31:43.358Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-08T16:31:43.358Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-08T16:31:43.358Z] + tar -C deps -z -x -f - [2021-07-08T16:31:43.358Z] --2021-07-08 16:31:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-08T16:31:43.358Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:31:43.358Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:31:43.358Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:31:43.358Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-08T16:31:43.358Z] --2021-07-08 16:31:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-08T16:31:43.358Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:31:43.358Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:31:43.619Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:31:43.619Z] Length: unspecified [application/x-gzip] [2021-07-08T16:31:43.619Z] Saving to: 'STDOUT' [2021-07-08T16:31:43.619Z] [2021-07-08T16:31:43.619Z] 0K .......... .......... .......... .......... .......... 1.42M [2021-07-08T16:31:43.619Z] 50K .......... .......... .......... .......... .......... 2.93M [2021-07-08T16:31:43.619Z] 100K .......... .......... .......... .......... .......... 47.5M [2021-07-08T16:31:43.619Z] 150K .......... .......... ....... 3.91M=0.06s [2021-07-08T16:31:43.619Z] [2021-07-08T16:31:43.619Z] 2021-07-08 16:31:43 (2.94 MB/s) - written to stdout [181796] [2021-07-08T16:31:43.619Z] [2021-07-08T16:31:43.619Z] + mkdir -p src/c/iot [2021-07-08T16:31:43.619Z] + 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-07-08T16:31:43.619Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-08T16:31:43.619Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-08T16:31:43.619Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-08T16:31:43.619Z] + mkdir -p include/iot [2021-07-08T16:31:43.619Z] + 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-07-08T16:31:43.619Z] + mkdir -p include/iot/os [2021-07-08T16:31:43.619Z] + 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-07-08T16:31:43.619Z] + mkdir -p /tmp/sdk/build/release [2021-07-08T16:31:43.619Z] + cd /tmp/sdk/build/release [2021-07-08T16:31:43.619Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-08T16:31:43.880Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:31:43.880Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:31:43.880Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:31:43.880Z] -- Detecting C compiler ABI info [2021-07-08T16:31:43.880Z] -- Detecting C compiler ABI info - done [2021-07-08T16:31:43.880Z] -- Detecting C compile features [2021-07-08T16:31:44.054Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-07-08T16:31:44.144Z] -- Detecting C compile features - done [2021-07-08T16:31:44.144Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-08T16:31:44.144Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-08T16:31:44.144Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-08T16:31:44.144Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-08T16:31:44.144Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-08T16:31:44.144Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-08T16:31:44.144Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-08T16:31:44.144Z] -- C SDK 0.0.0 for Linux [2021-07-08T16:31:44.144Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-08T16:31:44.144Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-08T16:31:44.144Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-08T16:31:44.144Z] -- Configuring done [2021-07-08T16:31:44.144Z] -- Generating done [2021-07-08T16:31:44.144Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-08T16:31:44.144Z] + make all package [2021-07-08T16:31:44.144Z] + tee release.log [2021-07-08T16:31:44.405Z] Scanning dependencies of target csdk [2021-07-08T16:31:44.405Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-08T16:31:44.405Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-08T16:31:44.647Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-07-08T16:31:44.647Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-07-08T16:31:44.667Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-08T16:31:44.928Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-08T16:31:44.928Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-08T16:31:44.928Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-08T16:31:45.192Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-08T16:31:45.192Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-08T16:31:45.192Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-08T16:31:45.453Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-08T16:31:45.715Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-08T16:31:45.715Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-08T16:31:45.978Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-08T16:31:45.978Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-08T16:31:46.075Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-07-08T16:31:46.075Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-07-08T16:31:46.245Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-08T16:31:46.245Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-08T16:31:46.245Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-08T16:31:46.348Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-07-08T16:31:46.348Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-07-08T16:31:46.621Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-07-08T16:31:46.818Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-08T16:31:46.818Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-08T16:31:46.818Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-08T16:31:46.818Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-08T16:31:46.894Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-07-08T16:31:47.085Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-08T16:31:47.085Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-08T16:31:47.491Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-07-08T16:31:47.664Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-08T16:31:47.664Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-08T16:31:47.664Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-08T16:31:47.664Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-08T16:31:47.765Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-07-08T16:31:47.928Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-08T16:31:47.928Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-08T16:31:47.928Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-08T16:31:48.198Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-08T16:31:48.198Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-08T16:31:48.198Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-08T16:31:48.357Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-07-08T16:31:48.459Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-08T16:31:48.628Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-07-08T16:31:48.720Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-08T16:31:48.720Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-08T16:31:48.901Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-07-08T16:31:48.986Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-08T16:31:49.172Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-07-08T16:31:49.445Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-07-08T16:31:49.562Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-08T16:31:49.718Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-07-08T16:31:49.718Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-07-08T16:31:49.824Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-08T16:31:49.824Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-08T16:31:49.824Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-08T16:31:50.089Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-08T16:31:50.310Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-07-08T16:31:50.311Z] [ 80%] Linking C static library libcbor.a [2021-07-08T16:31:50.311Z] [ 80%] Built target cbor [2021-07-08T16:31:50.311Z] Scanning dependencies of target create_items [2021-07-08T16:31:50.311Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-07-08T16:31:50.352Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-08T16:31:50.597Z] [ 84%] Linking C executable create_items [2021-07-08T16:31:50.598Z] [ 84%] Built target create_items [2021-07-08T16:31:50.598Z] Scanning dependencies of target readfile [2021-07-08T16:31:50.598Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-07-08T16:31:50.624Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-08T16:31:50.868Z] [ 88%] Linking C executable readfile [2021-07-08T16:31:50.868Z] [ 88%] Built target readfile [2021-07-08T16:31:50.868Z] Scanning dependencies of target streaming_parser [2021-07-08T16:31:51.139Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-07-08T16:31:51.139Z] [ 92%] Linking C executable streaming_parser [2021-07-08T16:31:51.196Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-08T16:31:51.410Z] [ 92%] Built target streaming_parser [2021-07-08T16:31:51.410Z] Scanning dependencies of target sort [2021-07-08T16:31:51.410Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-07-08T16:31:51.410Z] [ 96%] Linking C executable sort [2021-07-08T16:31:51.461Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-08T16:31:51.461Z] [ 74%] Linking C shared library libcsdk.so [2021-07-08T16:31:51.461Z] [ 74%] Built target csdk [2021-07-08T16:31:51.461Z] Scanning dependencies of target template [2021-07-08T16:31:51.461Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-08T16:31:51.681Z] [ 96%] Built target sort [2021-07-08T16:31:51.681Z] Scanning dependencies of target hello [2021-07-08T16:31:51.681Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-07-08T16:31:51.681Z] [100%] Linking C executable hello [2021-07-08T16:31:51.722Z] [ 77%] Linking C executable template [2021-07-08T16:31:51.722Z] [ 77%] Built target template [2021-07-08T16:31:51.722Z] Scanning dependencies of target device-counter [2021-07-08T16:31:51.722Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-08T16:31:51.722Z] [ 80%] Linking C executable device-counter [2021-07-08T16:31:51.951Z] [100%] Built target hello [2021-07-08T16:31:51.952Z] Install the project... [2021-07-08T16:31:51.952Z] -- Install configuration: "Release" [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/lib64/libcbor.a [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/lib64/libcbor.so [2021-07-08T16:31:51.952Z] -- Up-to-date: /usr/local/include/cbor [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/ints.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/data.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/common.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/strings.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/tags.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor/maps.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/include/cbor.h [2021-07-08T16:31:51.952Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-07-08T16:31:51.985Z] [ 80%] Built target device-counter [2021-07-08T16:31:51.985Z] Scanning dependencies of target device-random [2021-07-08T16:31:51.985Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-08T16:31:51.985Z] [ 84%] Linking C executable device-random [2021-07-08T16:31:51.985Z] [ 84%] Built target device-random [2021-07-08T16:31:51.985Z] Scanning dependencies of target device-gyro [2021-07-08T16:31:51.985Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-08T16:31:51.985Z] [ 87%] Linking C executable device-gyro [2021-07-08T16:31:52.248Z] [ 87%] Built target device-gyro [2021-07-08T16:31:52.248Z] Scanning dependencies of target device-bitfields [2021-07-08T16:31:52.248Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-08T16:31:52.248Z] [ 90%] Linking C executable device-bitfields [2021-07-08T16:31:52.248Z] [ 90%] Built target device-bitfields [2021-07-08T16:31:52.248Z] Scanning dependencies of target template-discovery [2021-07-08T16:31:52.248Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-08T16:31:52.511Z] [ 93%] Linking C executable template-discovery [2021-07-08T16:31:52.511Z] [ 93%] Built target template-discovery [2021-07-08T16:31:52.511Z] Scanning dependencies of target device-file [2021-07-08T16:31:52.511Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-08T16:31:52.511Z] [ 96%] Linking C executable device-file [2021-07-08T16:31:52.775Z] [ 96%] Built target device-file [2021-07-08T16:31:52.775Z] Scanning dependencies of target device-terminal [2021-07-08T16:31:52.775Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-08T16:31:52.775Z] [100%] Linking C executable device-terminal [2021-07-08T16:31:52.775Z] [100%] Built target device-terminal [2021-07-08T16:31:52.775Z] Run CPack packaging tool... [2021-07-08T16:31:52.775Z] CPack: Create package using TGZ [2021-07-08T16:31:52.775Z] CPack: Install projects [2021-07-08T16:31:52.775Z] CPack: - Run preinstall target for: Csdk [2021-07-08T16:31:53.036Z] CPack: - Install project: Csdk [2021-07-08T16:31:53.036Z] CPack: Create package [2021-07-08T16:31:53.036Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-08T16:31:53.036Z] + '[' false '=' true ] [2021-07-08T16:31:53.036Z] + '[' false '=' true ] [2021-07-08T16:31:53.036Z] + mkdir -p /tmp/sdk/build/debug [2021-07-08T16:31:53.036Z] + cd /tmp/sdk/build/debug [2021-07-08T16:31:53.036Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-08T16:31:53.036Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:31:53.036Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:31:53.297Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:31:53.297Z] -- Detecting C compiler ABI info [2021-07-08T16:31:53.297Z] -- Detecting C compiler ABI info - done [2021-07-08T16:31:53.297Z] -- Detecting C compile features [2021-07-08T16:31:53.557Z] -- Detecting C compile features - done [2021-07-08T16:31:53.557Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-08T16:31:53.557Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-08T16:31:53.557Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-08T16:31:53.557Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-08T16:31:53.557Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-08T16:31:53.557Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-08T16:31:53.557Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-08T16:31:53.557Z] -- C SDK 0.0.0 for Linux [2021-07-08T16:31:53.557Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-08T16:31:53.557Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-08T16:31:53.557Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-08T16:31:53.557Z] -- Configuring done [2021-07-08T16:31:53.557Z] -- Generating done [2021-07-08T16:31:53.557Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-08T16:31:53.557Z] + make [2021-07-08T16:31:53.557Z] + tee debug.log [2021-07-08T16:31:53.557Z] Scanning dependencies of target csdk [2021-07-08T16:31:53.557Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-08T16:31:53.819Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-08T16:31:53.819Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-08T16:31:53.819Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-08T16:31:53.921Z] Removing intermediate container 3f4f79039d2a [2021-07-08T16:31:53.921Z] ---> 9dd47f9e7842 [2021-07-08T16:31:53.921Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-07-08T16:31:53.921Z] ---> Running in 12b6dbce6e17 [2021-07-08T16:31:54.081Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-08T16:31:54.081Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-08T16:31:54.081Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-08T16:31:54.082Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-08T16:31:54.082Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-08T16:31:54.342Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-08T16:31:54.342Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-08T16:31:54.342Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-08T16:31:54.604Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-08T16:31:54.604Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-08T16:31:54.604Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-08T16:31:54.604Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-08T16:31:54.604Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-08T16:31:54.865Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-08T16:31:54.865Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-08T16:31:54.865Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-08T16:31:54.865Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-08T16:31:55.133Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-08T16:31:55.133Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-08T16:31:55.396Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-08T16:31:55.396Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-08T16:31:55.396Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-08T16:31:55.396Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-08T16:31:55.396Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-08T16:31:55.396Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-08T16:31:55.657Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-08T16:31:55.657Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-08T16:31:55.657Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-08T16:31:55.657Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-08T16:31:55.657Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-08T16:31:55.920Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-08T16:31:55.920Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-08T16:31:55.920Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-08T16:31:56.184Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-08T16:31:56.184Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-08T16:31:56.184Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-08T16:31:56.450Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-08T16:31:56.450Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-08T16:31:56.534Z] Removing intermediate container 12b6dbce6e17 [2021-07-08T16:31:56.534Z] ---> 25d17d09fd92 [2021-07-08T16:31:56.534Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-07-08T16:31:56.714Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-08T16:31:56.714Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-08T16:31:56.811Z] ---> 43b1c0228ecf [2021-07-08T16:31:56.811Z] Step 10/25 : COPY src /tmp/sdk/src [2021-07-08T16:31:56.975Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-08T16:31:56.975Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-08T16:31:56.975Z] [ 74%] Linking C shared library libcsdk.so [2021-07-08T16:31:56.975Z] [ 74%] Built target csdk [2021-07-08T16:31:56.975Z] Scanning dependencies of target template [2021-07-08T16:31:56.975Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-08T16:31:56.975Z] [ 77%] Linking C executable template [2021-07-08T16:31:57.241Z] [ 77%] Built target template [2021-07-08T16:31:57.241Z] Scanning dependencies of target device-counter [2021-07-08T16:31:57.241Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-08T16:31:57.241Z] [ 80%] Linking C executable device-counter [2021-07-08T16:31:57.241Z] [ 80%] Built target device-counter [2021-07-08T16:31:57.241Z] Scanning dependencies of target device-random [2021-07-08T16:31:57.241Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-08T16:31:57.241Z] [ 84%] Linking C executable device-random [2021-07-08T16:31:57.501Z] [ 84%] Built target device-random [2021-07-08T16:31:57.501Z] Scanning dependencies of target device-gyro [2021-07-08T16:31:57.501Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-08T16:31:57.501Z] [ 87%] Linking C executable device-gyro [2021-07-08T16:31:57.501Z] [ 87%] Built target device-gyro [2021-07-08T16:31:57.501Z] Scanning dependencies of target device-bitfields [2021-07-08T16:31:57.501Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-08T16:31:57.501Z] [ 90%] Linking C executable device-bitfields [2021-07-08T16:31:57.501Z] [ 90%] Built target device-bitfields [2021-07-08T16:31:57.761Z] Scanning dependencies of target template-discovery [2021-07-08T16:31:57.762Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-08T16:31:57.762Z] [ 93%] Linking C executable template-discovery [2021-07-08T16:31:57.762Z] [ 93%] Built target template-discovery [2021-07-08T16:31:57.762Z] Scanning dependencies of target device-file [2021-07-08T16:31:57.762Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-08T16:31:57.762Z] [ 96%] Linking C executable device-file [2021-07-08T16:31:57.762Z] [ 96%] Built target device-file [2021-07-08T16:31:57.762Z] Scanning dependencies of target device-terminal [2021-07-08T16:31:57.791Z] ---> e82e98276b67 [2021-07-08T16:31:57.791Z] Step 11/25 : COPY include /tmp/sdk/include [2021-07-08T16:31:58.023Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-08T16:31:58.023Z] [100%] Linking C executable device-terminal [2021-07-08T16:31:58.023Z] [100%] Built target device-terminal [2021-07-08T16:31:58.023Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 74%] Built target csdk [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 77%] Built target template [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 80%] Built target device-counter [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 84%] Built target device-random [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 87%] Built target device-gyro [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 90%] Built target device-bitfields [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] [ 93%] Built target template-discovery [2021-07-08T16:31:58.023Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.023Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.283Z] [ 96%] Built target device-file [2021-07-08T16:31:58.283Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.283Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.283Z] [100%] Built target device-terminal [2021-07-08T16:31:58.283Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.283Z] Install the project... [2021-07-08T16:31:58.283Z] -- Install configuration: "Release" [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-08T16:31:58.283Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-08T16:31:58.283Z] -- Up-to-date: /usr/local/include [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/devsdk [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/component.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/config.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/container.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/data.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/json.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/os.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/time.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/os [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-08T16:31:58.283Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-08T16:31:58.284Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:31:58.774Z] ---> ae536256c9a4 [2021-07-08T16:31:58.774Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-07-08T16:31:58.853Z] Removing intermediate container f7d2e0421880 [2021-07-08T16:31:58.854Z] ---> 8fb9bd256aa7 [2021-07-08T16:31:58.854Z] Step 16/25 : FROM ${BASE} [2021-07-08T16:31:58.854Z] ---> 5eabd8fd8ba2 [2021-07-08T16:31:58.854Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-08T16:31:58.854Z] ---> Running in 9d6a4d13fe95 [2021-07-08T16:31:58.854Z] Removing intermediate container 9d6a4d13fe95 [2021-07-08T16:31:58.854Z] ---> 9b4e8b4b7112 [2021-07-08T16:31:58.854Z] 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-07-08T16:31:58.854Z] ---> Running in be2a47b62aa7 [2021-07-08T16:31:59.113Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-07-08T16:31:59.371Z] ---> 3add1f8f5854 [2021-07-08T16:31:59.371Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-07-08T16:31:59.684Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-08T16:31:59.684Z] [2021-07-08T16:31:59.684Z] Removing intermediate container be2a47b62aa7 [2021-07-08T16:31:59.684Z] ---> 743688ebad00 [2021-07-08T16:31:59.684Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:31:59.947Z] ---> Running in ce0c45d2422b [2021-07-08T16:31:59.965Z] ---> 9ba413868178 [2021-07-08T16:31:59.965Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-07-08T16:32:00.213Z] Removing intermediate container ce0c45d2422b [2021-07-08T16:32:00.213Z] ---> 35fce3782066 [2021-07-08T16:32:00.213Z] 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-07-08T16:32:00.213Z] ---> Running in b7be44e605bd [2021-07-08T16:32:00.473Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:00.945Z] ---> 88adb2042ac8 [2021-07-08T16:32:00.945Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-07-08T16:32:00.945Z] ---> Running in 215bf5b62bf5 [2021-07-08T16:32:01.512Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:02.232Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:02.377Z] + CPPCHECK=false [2021-07-08T16:32:02.377Z] + DOCGEN=false [2021-07-08T16:32:02.377Z] + TOMLVER=SDK-0.2 [2021-07-08T16:32:02.377Z] + CUTILVER=1.1.4 [2021-07-08T16:32:02.377Z] + '[' 0 -gt 0 ] [2021-07-08T16:32:02.377Z] + readlink -f ./scripts/build.sh [2021-07-08T16:32:02.377Z] + dirname /tmp/sdk/scripts/build.sh [2021-07-08T16:32:02.377Z] + dirname /tmp/sdk/scripts [2021-07-08T16:32:02.377Z] + ROOT=/tmp/sdk [2021-07-08T16:32:02.377Z] + cd /tmp/sdk [2021-07-08T16:32:02.377Z] + '[' '!' -d deps ] [2021-07-08T16:32:02.377Z] + mkdir deps [2021-07-08T16:32:02.377Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-08T16:32:02.377Z] + tar -C deps -z -x -f - [2021-07-08T16:32:02.377Z] --2021-07-08 16:32:01-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-07-08T16:32:02.377Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:32:02.377Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:32:02.377Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:32:02.377Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-07-08T16:32:02.377Z] --2021-07-08 16:32:02-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-07-08T16:32:02.377Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:32:02.377Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:32:02.377Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:32:02.377Z] Length: unspecified [application/x-gzip] [2021-07-08T16:32:02.377Z] Saving to: 'STDOUT' [2021-07-08T16:32:02.377Z]  [2021-07-08T16:32:02.377Z] 0K .......... ......  891K=0.02s [2021-07-08T16:32:02.377Z] [2021-07-08T16:32:02.377Z] 2021-07-08 16:32:02 (891 KB/s) - written to stdout [16451] [2021-07-08T16:32:02.377Z] [2021-07-08T16:32:02.377Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-07-08T16:32:02.377Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-08T16:32:02.377Z] + tar -C deps -z -x -f - [2021-07-08T16:32:02.377Z] --2021-07-08 16:32:02-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-07-08T16:32:02.377Z] Resolving github.com... 140.82.114.4 [2021-07-08T16:32:02.377Z] Connecting to github.com|140.82.114.4|:443... connected. [2021-07-08T16:32:02.377Z] HTTP request sent, awaiting response... 302 Found [2021-07-08T16:32:02.377Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-07-08T16:32:02.377Z] --2021-07-08 16:32:02-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-07-08T16:32:02.377Z] Resolving codeload.github.com... 140.82.114.10 [2021-07-08T16:32:02.377Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-07-08T16:32:02.650Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:32:02.650Z] Length: unspecified [application/x-gzip] [2021-07-08T16:32:02.650Z] Saving to: 'STDOUT' [2021-07-08T16:32:02.650Z]  [2021-07-08T16:32:02.650Z] 0K .......... .......... .......... .......... .......... 1.31M [2021-07-08T16:32:02.650Z] 50K .......... .......... .......... .......... .......... 2.40M [2021-07-08T16:32:02.650Z] 100K .......... .......... .......... .......... .......... 7.65M [2021-07-08T16:32:02.650Z] 150K .......... .......... ....... 1.20M=0.09s [2021-07-08T16:32:02.650Z] [2021-07-08T16:32:02.650Z] 2021-07-08 16:32:02 (2.01 MB/s) - written to stdout [181796] [2021-07-08T16:32:02.650Z] [2021-07-08T16:32:02.650Z] + mkdir -p src/c/iot [2021-07-08T16:32:02.650Z] + 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-07-08T16:32:02.650Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-07-08T16:32:02.650Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-07-08T16:32:02.650Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-07-08T16:32:02.650Z] + mkdir -p include/iot [2021-07-08T16:32:02.650Z] + 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-07-08T16:32:02.650Z] + mkdir -p include/iot/os [2021-07-08T16:32:02.650Z] + 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-07-08T16:32:02.650Z] + mkdir -p /tmp/sdk/build/release [2021-07-08T16:32:02.650Z] + cd /tmp/sdk/build/release [2021-07-08T16:32:02.650Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-07-08T16:32:02.805Z] (1/6) Installing curl (7.64.0-r5) [2021-07-08T16:32:02.805Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-08T16:32:02.805Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-08T16:32:02.805Z] (4/6) Installing libuuid (2.33-r0) [2021-07-08T16:32:02.921Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:32:02.921Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:32:03.067Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-08T16:32:03.193Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:32:03.193Z] -- Detecting C compiler ABI info [2021-07-08T16:32:03.463Z] -- Detecting C compiler ABI info - done [2021-07-08T16:32:03.463Z] -- Detecting C compile features [2021-07-08T16:32:04.440Z] -- Detecting C compile features - done [2021-07-08T16:32:04.440Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-08T16:32:04.440Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-08T16:32:04.440Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-08T16:32:04.440Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-08T16:32:04.440Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-08T16:32:04.440Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-08T16:32:04.440Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-08T16:32:04.440Z] -- C SDK 0.0.0 for Linux [2021-07-08T16:32:04.440Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-08T16:32:04.440Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-08T16:32:04.440Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-08T16:32:04.457Z] (6/6) Installing wget (1.20.3-r0) [2021-07-08T16:32:04.457Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:32:04.457Z] OK: 269 MiB in 81 packages [2021-07-08T16:32:04.716Z] -- Configuring done [2021-07-08T16:32:04.719Z] Removing intermediate container b7be44e605bd [2021-07-08T16:32:04.719Z] ---> 8e20e3dec06c [2021-07-08T16:32:04.719Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-08T16:32:04.996Z] -- Generating done [2021-07-08T16:32:04.996Z] -- Build files have been written to: /tmp/sdk/build/release [2021-07-08T16:32:04.996Z] + + teemake release.log all [2021-07-08T16:32:04.996Z] package [2021-07-08T16:32:04.996Z] Scanning dependencies of target csdk [2021-07-08T16:32:04.996Z] ---> 7e699ffd0b52 [2021-07-08T16:32:04.996Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-08T16:32:05.259Z] ---> d0bc27d12ca6 [2021-07-08T16:32:05.259Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-08T16:32:05.259Z] ---> ce5ea0d4323d [2021-07-08T16:32:05.259Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-08T16:32:05.271Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-08T16:32:05.528Z] ---> d3c9146cb461 [2021-07-08T16:32:05.528Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-08T16:32:05.791Z] ---> 6474f2b3b104 [2021-07-08T16:32:05.791Z] Successfully built 6474f2b3b104 [2021-07-08T16:32:05.791Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-08T16:32:05.863Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:32:06.135Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-08T16:32:06.253Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-08T16:32:06.253Z] . [Pipeline] withDockerContainer [2021-07-08T16:32:06.326Z] prd-centos7-docker-4c-2g-2227 does not seem to be running inside a container [2021-07-08T16:32:06.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** ci-base-image-x86_64 cat [2021-07-08T16:32:06.696Z] $ docker top 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-08T16:32:07.086Z] + make test [2021-07-08T16:32:07.086Z] echo "make test" [2021-07-08T16:32:07.086Z] make test [Pipeline] } [2021-07-08T16:32:07.096Z] $ docker stop --time=1 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb [2021-07-08T16:32:08.106Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-08T16:32:08.254Z] $ docker rm -f 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-08T16:32:08.379Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-07-08T16:32:08.653Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-08T16:32:09.250Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-08T16:32:09.845Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-08T16:32:10.119Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] sh [2021-07-08T16:32:11.120Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-08T16:32:11.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-08T16:32:11.699Z] + ls -al . [2021-07-08T16:32:11.700Z] total 160 [2021-07-08T16:32:11.700Z] drwxrwxr-x. 8 jenkins jenkins 260 Jul 8 16:30 . [2021-07-08T16:32:11.700Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 8 16:30 .. [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jul 8 16:30 Attribution.txt [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 7509 Jul 8 16:30 CHANGES [2021-07-08T16:32:11.700Z] drwxrwxr-x. 2 jenkins jenkins 121 Jul 8 16:30 docs [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jul 8 16:30 Doxyfile [2021-07-08T16:32:11.700Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 8 16:31 .git [2021-07-08T16:32:11.700Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 8 16:30 .github [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 176 Jul 8 16:30 .gitignore [2021-07-08T16:32:11.700Z] drwxrwxr-x. 4 jenkins jenkins 33 Jul 8 16:30 include [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 784 Jul 8 16:30 Jenkinsfile [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jul 8 16:30 LICENSE [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 444 Jul 8 16:30 Makefile [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jul 8 16:30 README.md [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jul 8 16:30 README.v2.md [2021-07-08T16:32:11.700Z] drwxrwxr-x. 2 jenkins jenkins 98 Jul 8 16:30 scripts [2021-07-08T16:32:11.700Z] drwxrwxr-x. 4 jenkins jenkins 50 Jul 8 16:30 src [2021-07-08T16:32:11.700Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 8 16:27 VERSION [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:32:12.003Z] + 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=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 --label arch=amd64 --label version=0.0.0 . [2021-07-08T16:32:12.004Z] Sending build context to Docker daemon 2.599MB [2021-07-08T16:32:12.004Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-08T16:32:12.004Z] Step 2/17 : FROM ${BASE} [2021-07-08T16:32:12.004Z] ---> 6474f2b3b104 [2021-07-08T16:32:12.004Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-08T16:32:12.004Z] ---> Running in 36242c45d77c [2021-07-08T16:32:12.264Z] Removing intermediate container 36242c45d77c [2021-07-08T16:32:12.264Z] ---> 4afb8773f1c8 [2021-07-08T16:32:12.264Z] 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-07-08T16:32:12.264Z] ---> Running in e9de0cfbcd24 [2021-07-08T16:32:12.525Z] --2021-07-08 16:32:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-08T16:32:12.525Z] Resolving iotech.jfrog.io... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-07-08T16:32:12.525Z] Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. [2021-07-08T16:32:12.556Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-08T16:32:12.785Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:32:12.785Z] Length: 451 [application/octet-stream] [2021-07-08T16:32:12.785Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-08T16:32:12.785Z] [2021-07-08T16:32:12.785Z] 0K 100% 50.7M=0s [2021-07-08T16:32:12.785Z] [2021-07-08T16:32:12.785Z] 2021-07-08 16:32:12 (50.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-08T16:32:12.785Z] [2021-07-08T16:32:13.052Z] Removing intermediate container e9de0cfbcd24 [2021-07-08T16:32:13.052Z] ---> f60099b87a4a [2021-07-08T16:32:13.052Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:32:13.052Z] ---> Running in 9e2392e240a3 [2021-07-08T16:32:13.147Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-08T16:32:13.624Z] Removing intermediate container 9e2392e240a3 [2021-07-08T16:32:13.624Z] ---> bc7fe68b8921 [2021-07-08T16:32:13.624Z] 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-07-08T16:32:13.624Z] ---> Running in 802b3779f824 [2021-07-08T16:32:13.624Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:13.740Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-08T16:32:14.353Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-08T16:32:14.564Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:14.624Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-08T16:32:14.824Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-07-08T16:32:14.897Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-08T16:32:15.086Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-08T16:32:15.169Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-08T16:32:15.347Z] (2/6) Installing libblkid (2.33-r0) [2021-07-08T16:32:15.348Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-08T16:32:15.348Z] (4/6) Installing libmount (2.33-r0) [2021-07-08T16:32:15.609Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-08T16:32:15.609Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-08T16:32:15.874Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:32:15.874Z] OK: 273 MiB in 87 packages [2021-07-08T16:32:16.139Z] Removing intermediate container 802b3779f824 [2021-07-08T16:32:16.139Z] ---> 9cf4c6a4ae2e [2021-07-08T16:32:16.139Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-08T16:32:16.403Z] ---> 54f54bc3cee0 [2021-07-08T16:32:16.403Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-08T16:32:16.664Z] ---> 8c466dc5a52f [2021-07-08T16:32:16.664Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-08T16:32:16.925Z] ---> 65438c3bc96c [2021-07-08T16:32:16.926Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-08T16:32:16.926Z] ---> eb43e70c910e [2021-07-08T16:32:16.926Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-08T16:32:17.188Z] ---> 9c09451a4549 [2021-07-08T16:32:17.188Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-08T16:32:17.188Z] ---> c811b83e8355 [2021-07-08T16:32:17.188Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-08T16:32:17.188Z] ---> Running in 46a57f2113d3 [2021-07-08T16:32:17.449Z] Removing intermediate container 46a57f2113d3 [2021-07-08T16:32:17.449Z] ---> 0fe32e5493b1 [2021-07-08T16:32:17.449Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-08T16:32:17.449Z] ---> Running in 821d738b3120 [2021-07-08T16:32:17.449Z] Removing intermediate container 821d738b3120 [2021-07-08T16:32:17.449Z] ---> df34d3db595c [2021-07-08T16:32:17.449Z] Step 15/17 : LABEL arch=amd64 [2021-07-08T16:32:17.449Z] ---> Running in 885539f6bc88 [2021-07-08T16:32:17.711Z] Removing intermediate container 885539f6bc88 [2021-07-08T16:32:17.711Z] ---> eef96d2b75fa [2021-07-08T16:32:17.711Z] Step 16/17 : LABEL git_sha=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:32:17.711Z] ---> Running in 8e284d1fd642 [2021-07-08T16:32:17.711Z] Removing intermediate container 8e284d1fd642 [2021-07-08T16:32:17.711Z] ---> 6b12af77c3c4 [2021-07-08T16:32:17.711Z] Step 17/17 : LABEL version=0.0.0 [2021-07-08T16:32:17.711Z] ---> Running in 7e3cc84b3874 [2021-07-08T16:32:17.711Z] Removing intermediate container 7e3cc84b3874 [2021-07-08T16:32:17.711Z] ---> 113ab7fae022 [2021-07-08T16:32:17.711Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-07-08T16:32:17.711Z] Successfully built 113ab7fae022 [2021-07-08T16:32:17.711Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-08T16:32:17.777Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-08T16:32:18.049Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-08T16:32:18.333Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-08T16:32:18.607Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-08T16:32:18.880Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-08T16:32:19.852Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-08T16:32:22.456Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-08T16:32:22.456Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-08T16:32:22.456Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-08T16:32:23.050Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-08T16:32:23.643Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-08T16:32:23.643Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-08T16:32:24.616Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-08T16:32:24.888Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-08T16:32:25.481Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-08T16:32:25.754Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-08T16:32:27.721Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-08T16:32:27.992Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-08T16:32:28.972Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-08T16:32:28.972Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-08T16:32:33.264Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-08T16:32:33.536Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-08T16:32:33.808Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-08T16:32:34.401Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-08T16:32:34.993Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-08T16:32:36.962Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-08T16:32:38.384Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-08T16:32:41.758Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-08T16:32:42.029Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-08T16:32:42.625Z] [ 74%] Linking C shared library libcsdk.so [2021-07-08T16:32:42.897Z] [ 74%] Built target csdk [2021-07-08T16:32:42.897Z] Scanning dependencies of target template [2021-07-08T16:32:42.897Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-08T16:32:43.488Z] [ 77%] Linking C executable template [2021-07-08T16:32:43.760Z] [ 77%] Built target template [2021-07-08T16:32:43.761Z] Scanning dependencies of target device-counter [2021-07-08T16:32:43.761Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-08T16:32:44.032Z] [ 80%] Linking C executable device-counter [2021-07-08T16:32:44.305Z] [ 80%] Built target device-counter [2021-07-08T16:32:44.305Z] Scanning dependencies of target device-random [2021-07-08T16:32:44.305Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-08T16:32:44.900Z] [ 84%] Linking C executable device-random [2021-07-08T16:32:45.172Z] [ 84%] Built target device-random [2021-07-08T16:32:45.172Z] Scanning dependencies of target device-gyro [2021-07-08T16:32:45.172Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-08T16:32:45.445Z] [ 87%] Linking C executable device-gyro [2021-07-08T16:32:45.717Z] [ 87%] Built target device-gyro [2021-07-08T16:32:45.717Z] Scanning dependencies of target device-bitfields [2021-07-08T16:32:45.717Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-08T16:32:45.989Z] [ 90%] Linking C executable device-bitfields [2021-07-08T16:32:46.262Z] [ 90%] Built target device-bitfields [2021-07-08T16:32:46.262Z] Scanning dependencies of target template-discovery [2021-07-08T16:32:46.535Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-08T16:32:47.129Z] [ 93%] Linking C executable template-discovery [2021-07-08T16:32:47.400Z] [ 93%] Built target template-discovery [2021-07-08T16:32:47.400Z] Scanning dependencies of target device-file [2021-07-08T16:32:47.400Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-08T16:32:47.993Z] [ 96%] Linking C executable device-file [2021-07-08T16:32:47.993Z] [ 96%] Built target device-file [2021-07-08T16:32:47.993Z] Scanning dependencies of target device-terminal [2021-07-08T16:32:48.267Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-08T16:32:48.538Z] [100%] Linking C executable device-terminal [2021-07-08T16:32:48.810Z] [100%] Built target device-terminal [2021-07-08T16:32:48.810Z] Run CPack packaging tool... [2021-07-08T16:32:48.810Z] CPack: Create package using TGZ [2021-07-08T16:32:48.810Z] CPack: Install projects [2021-07-08T16:32:48.810Z] CPack: - Run preinstall target for: Csdk [2021-07-08T16:32:49.403Z] CPack: - Install project: Csdk [2021-07-08T16:32:49.403Z] CPack: Create package [2021-07-08T16:32:49.675Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-07-08T16:32:49.675Z] + '[' false '=' true ] [2021-07-08T16:32:49.675Z] + '[' false '=' true ] [2021-07-08T16:32:49.675Z] + mkdir -p /tmp/sdk/build/debug [2021-07-08T16:32:49.675Z] + cd /tmp/sdk/build/debug [2021-07-08T16:32:49.675Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-07-08T16:32:49.946Z] -- The C compiler identification is GNU 8.3.0 [2021-07-08T16:32:49.946Z] -- Check for working C compiler: /usr/bin/cc [2021-07-08T16:32:50.219Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-07-08T16:32:50.219Z] -- Detecting C compiler ABI info [2021-07-08T16:32:50.491Z] -- Detecting C compiler ABI info - done [2021-07-08T16:32:50.491Z] -- Detecting C compile features [2021-07-08T16:32:51.085Z] -- Detecting C compile features - done [2021-07-08T16:32:51.085Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-07-08T16:32:51.085Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-07-08T16:32:51.085Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-07-08T16:32:51.357Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-07-08T16:32:51.357Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-07-08T16:32:51.357Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-07-08T16:32:51.357Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-07-08T16:32:51.357Z] -- C SDK 0.0.0 for Linux [2021-07-08T16:32:51.357Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-07-08T16:32:51.357Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-07-08T16:32:51.629Z] -- Found Curses: /usr/lib/libcurses.so [2021-07-08T16:32:51.629Z] -- Configuring done [2021-07-08T16:32:51.902Z] -- Generating done [2021-07-08T16:32:51.902Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-07-08T16:32:51.902Z] + make [2021-07-08T16:32:51.902Z] + tee debug.log [2021-07-08T16:32:51.902Z] Scanning dependencies of target csdk [2021-07-08T16:32:52.175Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-07-08T16:32:52.450Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-07-08T16:32:52.725Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-07-08T16:32:53.322Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-07-08T16:32:53.596Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-07-08T16:32:53.867Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-07-08T16:32:54.139Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-07-08T16:32:54.415Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-07-08T16:32:54.415Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-07-08T16:32:55.011Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-07-08T16:32:55.605Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-07-08T16:32:55.605Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-07-08T16:32:56.198Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-07-08T16:32:56.471Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-07-08T16:32:56.471Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-07-08T16:32:56.744Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-07-08T16:32:57.017Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-07-08T16:32:57.612Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-07-08T16:32:57.886Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-07-08T16:32:58.160Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-07-08T16:32:58.160Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-07-08T16:32:58.434Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-07-08T16:32:58.707Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-07-08T16:32:59.685Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-07-08T16:32:59.685Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-07-08T16:32:59.960Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-07-08T16:33:00.233Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-07-08T16:33:00.506Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-07-08T16:33:00.506Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-07-08T16:33:00.781Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-07-08T16:33:01.054Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-07-08T16:33:01.326Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-07-08T16:33:01.603Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-07-08T16:33:01.875Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-07-08T16:33:02.148Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-07-08T16:33:02.424Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-07-08T16:33:02.697Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-07-08T16:33:03.675Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-07-08T16:33:03.950Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-07-08T16:33:04.221Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-07-08T16:33:04.494Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-07-08T16:33:04.768Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-07-08T16:33:05.746Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-07-08T16:33:06.341Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-07-08T16:33:06.938Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-07-08T16:33:07.211Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-07-08T16:33:07.484Z] [ 74%] Linking C shared library libcsdk.so [2021-07-08T16:33:07.757Z] [ 74%] Built target csdk [2021-07-08T16:33:07.757Z] Scanning dependencies of target template [2021-07-08T16:33:07.757Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-07-08T16:33:08.031Z] [ 77%] Linking C executable template [2021-07-08T16:33:08.304Z] [ 77%] Built target template [2021-07-08T16:33:08.304Z] Scanning dependencies of target device-counter [2021-07-08T16:33:08.304Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-07-08T16:33:08.578Z] [ 80%] Linking C executable device-counter [2021-07-08T16:33:08.850Z] [ 80%] Built target device-counter [2021-07-08T16:33:08.850Z] Scanning dependencies of target device-random [2021-07-08T16:33:08.850Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-07-08T16:33:09.123Z] [ 84%] Linking C executable device-random [2021-07-08T16:33:09.396Z] [ 84%] Built target device-random [2021-07-08T16:33:09.396Z] Scanning dependencies of target device-gyro [2021-07-08T16:33:09.396Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-07-08T16:33:09.670Z] [ 87%] Linking C executable device-gyro [2021-07-08T16:33:09.943Z] [ 87%] Built target device-gyro [2021-07-08T16:33:09.943Z] Scanning dependencies of target device-bitfields [2021-07-08T16:33:09.943Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-07-08T16:33:10.217Z] [ 90%] Linking C executable device-bitfields [2021-07-08T16:33:10.217Z] [ 90%] Built target device-bitfields [2021-07-08T16:33:10.217Z] Scanning dependencies of target template-discovery [2021-07-08T16:33:10.490Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-07-08T16:33:10.763Z] [ 93%] Linking C executable template-discovery [2021-07-08T16:33:10.763Z] [ 93%] Built target template-discovery [2021-07-08T16:33:11.036Z] Scanning dependencies of target device-file [2021-07-08T16:33:11.036Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-07-08T16:33:11.309Z] [ 96%] Linking C executable device-file [2021-07-08T16:33:11.309Z] [ 96%] Built target device-file [2021-07-08T16:33:11.309Z] Scanning dependencies of target device-terminal [2021-07-08T16:33:11.582Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-07-08T16:33:11.855Z] [100%] Linking C executable device-terminal [2021-07-08T16:33:12.130Z] [100%] Built target device-terminal [2021-07-08T16:33:12.130Z] make: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] [ 74%] Built target csdk [2021-07-08T16:33:12.130Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] [ 77%] Built target template [2021-07-08T16:33:12.130Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.130Z] [ 80%] Built target device-counter [2021-07-08T16:33:12.130Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [ 84%] Built target device-random [2021-07-08T16:33:12.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [ 87%] Built target device-gyro [2021-07-08T16:33:12.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [ 90%] Built target device-bitfields [2021-07-08T16:33:12.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [ 93%] Built target template-discovery [2021-07-08T16:33:12.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [ 96%] Built target device-file [2021-07-08T16:33:12.402Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] [100%] Built target device-terminal [2021-07-08T16:33:12.402Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:12.402Z] Install the project... [2021-07-08T16:33:12.677Z] -- Install configuration: "Release" [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/lib/libcsdk.so [2021-07-08T16:33:12.677Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-07-08T16:33:12.677Z] -- Up-to-date: /usr/local/include [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/devices.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/devsdk [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/json.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/container.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/component.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/typecode.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/iot.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/time.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/hash.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/logger.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/os [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/data.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/thread.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/os.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/base64.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/defs.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/include/iot/config.h [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-07-08T16:33:12.677Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-07-08T16:33:12.677Z] make: Leaving directory '/tmp/sdk/build/release' [2021-07-08T16:33:14.656Z] Removing intermediate container 215bf5b62bf5 [2021-07-08T16:33:14.656Z] ---> 497f2b9dae6e [2021-07-08T16:33:14.656Z] Step 16/25 : FROM ${BASE} [2021-07-08T16:33:14.656Z] ---> b23d30803547 [2021-07-08T16:33:14.656Z] Step 17/25 : LABEL maintainer="IOTech " [2021-07-08T16:33:14.656Z] ---> Running in f0fe84463d2f [2021-07-08T16:33:15.258Z] Removing intermediate container f0fe84463d2f [2021-07-08T16:33:15.258Z] ---> 2619a47cf8d4 [2021-07-08T16:33:15.258Z] 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-07-08T16:33:15.258Z] ---> Running in 8c6133c6f680 [2021-07-08T16:33:16.692Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-07-08T16:33:16.964Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-07-08T16:33:16.964Z] [2021-07-08T16:33:17.940Z] Removing intermediate container 8c6133c6f680 [2021-07-08T16:33:17.940Z] ---> e8345fa66486 [2021-07-08T16:33:17.940Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:33:18.214Z] ---> Running in 0a74d80b4a24 [2021-07-08T16:33:20.185Z] Removing intermediate container 0a74d80b4a24 [2021-07-08T16:33:20.185Z] ---> 128dcd97f00c [2021-07-08T16:33:20.185Z] 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-07-08T16:33:20.459Z] ---> Running in de64cb86931f [2021-07-08T16:33:21.896Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:22.494Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:23.090Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:23.686Z] (1/6) Installing curl (7.64.0-r5) [2021-07-08T16:33:23.957Z] (2/6) Installing hiredis (0.14.0-r0) [2021-07-08T16:33:23.958Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-07-08T16:33:23.958Z] (4/6) Installing libuuid (2.33-r0) [2021-07-08T16:33:24.230Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-07-08T16:33:25.661Z] (6/6) Installing wget (1.20.3-r0) [2021-07-08T16:33:25.936Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:33:25.936Z] OK: 283 MiB in 81 packages [2021-07-08T16:33:27.375Z] Removing intermediate container de64cb86931f [2021-07-08T16:33:27.375Z] ---> f80bcc2dd03d [2021-07-08T16:33:27.375Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-07-08T16:33:27.973Z] ---> 68caa5fe0daf [2021-07-08T16:33:27.973Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-07-08T16:33:28.585Z] ---> 40b1f0262e91 [2021-07-08T16:33:28.585Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-07-08T16:33:29.573Z] ---> 5343325788cb [2021-07-08T16:33:29.573Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-07-08T16:33:30.174Z] ---> 593cbba99145 [2021-07-08T16:33:30.174Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-07-08T16:33:31.150Z] ---> 5a2016e89d6f [2021-07-08T16:33:31.150Z] Successfully built 5a2016e89d6f [2021-07-08T16:33:31.150Z] 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-07-08T16:33:31.741Z] + docker inspect -f . ci-base-image-arm64 [2021-07-08T16:33:31.741Z] . [Pipeline] withDockerContainer [2021-07-08T16:33:31.978Z] prd-ubuntu18.04-docker-arm64-4c-16g-2226 does not seem to be running inside a container [2021-07-08T16:33:32.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** ci-base-image-arm64 cat [2021-07-08T16:33:33.624Z] $ docker top 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-08T16:33:34.572Z] + make test [2021-07-08T16:33:34.572Z] echo "make test" [2021-07-08T16:33:34.572Z] make test [Pipeline] } [2021-07-08T16:33:34.601Z] $ docker stop --time=1 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc [2021-07-08T16:33:36.479Z] $ docker rm -f 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-08T16:33:37.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-08T16:33:37.603Z] + ls -al . [2021-07-08T16:33:37.603Z] total 192 [2021-07-08T16:33:37.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 16:30 . [2021-07-08T16:33:37.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 .. [2021-07-08T16:33:37.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 16:30 .git [2021-07-08T16:33:37.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 .github [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 8 16:30 .gitignore [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 8 16:30 Attribution.txt [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 7509 Jul 8 16:30 CHANGES [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 8 16:30 Doxyfile [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 8 16:30 Jenkinsfile [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 8 16:30 LICENSE [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 8 16:30 Makefile [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jul 8 16:30 README.md [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jul 8 16:30 README.v2.md [2021-07-08T16:33:37.603Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 16:27 VERSION [2021-07-08T16:33:37.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 docs [2021-07-08T16:33:37.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 include [2021-07-08T16:33:37.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 scripts [2021-07-08T16:33:37.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 src [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:33:37.952Z] + 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=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 --label arch=arm64 --label version=0.0.0 . [2021-07-08T16:33:38.562Z] Sending build context to Docker daemon 2.598MB [2021-07-08T16:33:38.562Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-07-08T16:33:38.562Z] Step 2/17 : FROM ${BASE} [2021-07-08T16:33:38.562Z] ---> 5a2016e89d6f [2021-07-08T16:33:38.562Z] Step 3/17 : LABEL maintainer="IOTech " [2021-07-08T16:33:38.562Z] ---> Running in 6d980f60105b [2021-07-08T16:33:39.156Z] Removing intermediate container 6d980f60105b [2021-07-08T16:33:39.156Z] ---> f365f658ffd1 [2021-07-08T16:33:39.156Z] 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-07-08T16:33:39.435Z] ---> Running in 38caebd4a336 [2021-07-08T16:33:40.417Z] --2021-07-08 16:33:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-07-08T16:33:40.417Z] Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-07-08T16:33:40.688Z] Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. [2021-07-08T16:33:40.964Z] HTTP request sent, awaiting response... 200 OK [2021-07-08T16:33:40.964Z] Length: 451 [application/octet-stream] [2021-07-08T16:33:40.964Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-07-08T16:33:40.964Z]  [2021-07-08T16:33:40.964Z] 0K  100% 16.4M=0s [2021-07-08T16:33:40.964Z] [2021-07-08T16:33:40.964Z] 2021-07-08 16:33:40 (16.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-07-08T16:33:40.964Z] [2021-07-08T16:33:41.948Z] Removing intermediate container 38caebd4a336 [2021-07-08T16:33:41.948Z] ---> 4a22ac9f2255 [2021-07-08T16:33:41.948Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-07-08T16:33:41.948Z] ---> Running in d036a8a17421 [2021-07-08T16:33:44.585Z] Removing intermediate container d036a8a17421 [2021-07-08T16:33:44.585Z] ---> ce15fe64af85 [2021-07-08T16:33:44.585Z] 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-07-08T16:33:44.585Z] ---> Running in 349c9ec5b44a [2021-07-08T16:33:45.572Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:46.555Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:47.148Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-07-08T16:33:47.741Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-07-08T16:33:48.010Z] (2/6) Installing libblkid (2.33-r0) [2021-07-08T16:33:48.010Z] (3/6) Installing libfdisk (2.33-r0) [2021-07-08T16:33:48.010Z] (4/6) Installing libmount (2.33-r0) [2021-07-08T16:33:48.280Z] (5/6) Installing libsmartcols (2.33-r0) [2021-07-08T16:33:48.280Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-07-08T16:33:48.555Z] Executing busybox-1.29.3-r10.trigger [2021-07-08T16:33:48.555Z] OK: 287 MiB in 87 packages [2021-07-08T16:33:49.990Z] Removing intermediate container 349c9ec5b44a [2021-07-08T16:33:49.990Z] ---> 3b1dbfd4b320 [2021-07-08T16:33:49.990Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-07-08T16:33:50.594Z] ---> b2bad4274397 [2021-07-08T16:33:50.594Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-07-08T16:33:52.035Z] ---> 70763d0cd00c [2021-07-08T16:33:52.035Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-07-08T16:33:52.633Z] ---> 17514e74aef0 [2021-07-08T16:33:52.633Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-07-08T16:33:53.229Z] ---> 943d069d76ef [2021-07-08T16:33:53.229Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-07-08T16:33:54.208Z] ---> 1b1f721c51d4 [2021-07-08T16:33:54.208Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-07-08T16:33:54.802Z] ---> aa65de15d754 [2021-07-08T16:33:54.802Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-07-08T16:33:54.802Z] ---> Running in 805e18da08f7 [2021-07-08T16:33:55.399Z] Removing intermediate container 805e18da08f7 [2021-07-08T16:33:55.399Z] ---> cb8b37469be6 [2021-07-08T16:33:55.399Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-07-08T16:33:55.673Z] ---> Running in 1fee5917d15a [2021-07-08T16:33:55.946Z] Removing intermediate container 1fee5917d15a [2021-07-08T16:33:55.946Z] ---> 166e4eceeee3 [2021-07-08T16:33:55.946Z] Step 15/17 : LABEL arch=arm64 [2021-07-08T16:33:56.219Z] ---> Running in 3e243270df1b [2021-07-08T16:33:56.817Z] Removing intermediate container 3e243270df1b [2021-07-08T16:33:56.817Z] ---> 4837659d3dbc [2021-07-08T16:33:56.817Z] Step 16/17 : LABEL git_sha=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [2021-07-08T16:33:56.817Z] ---> Running in 53cac8a3a52a [2021-07-08T16:33:57.415Z] Removing intermediate container 53cac8a3a52a [2021-07-08T16:33:57.415Z] ---> 4743890fd62a [2021-07-08T16:33:57.415Z] Step 17/17 : LABEL version=0.0.0 [2021-07-08T16:33:57.415Z] ---> Running in 8ffe060491e9 [2021-07-08T16:33:58.009Z] Removing intermediate container 8ffe060491e9 [2021-07-08T16:33:58.009Z] ---> 7b13f27b9e1d [2021-07-08T16:33:58.009Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-08T16:33:58.009Z] Successfully built 7b13f27b9e1d [2021-07-08T16:33:58.009Z] 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 [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] libraryResource [Pipeline] sh [2021-07-08T16:33:59.745Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:00.538Z] ---> package-listing.sh [2021-07-08T16:34:00.538Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-08T16:34:00.538Z] ++ facter osfamily [2021-07-08T16:34:00.538Z] + OS_FAMILY=redhat [2021-07-08T16:34:00.538Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 [2021-07-08T16:34:00.538Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-08T16:34:00.538Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-08T16:34:00.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-08T16:34:00.538Z] + PACKAGES=/tmp/packages_start.txt [2021-07-08T16:34:00.538Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' [2021-07-08T16:34:00.538Z] + PACKAGES=/tmp/packages_end.txt [2021-07-08T16:34:00.538Z] + case "${OS_FAMILY}" in [2021-07-08T16:34:00.538Z] + sort [2021-07-08T16:34:00.538Z] + rpm -qa [2021-07-08T16:34:01.482Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-08T16:34:01.482Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-08T16:34:01.482Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-08T16:34:01.482Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' [2021-07-08T16:34:01.482Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [2021-07-08T16:34:01.482Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo [2021-07-08T16:34:01.495Z] 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-08T16:34:01.782Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:34:02.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-08T16:34:02.352Z] [2021-07-08T16:34:02.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-08T16:34:02.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-08T16:34:02.669Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-08T16:34:02.669Z] df20fa9351a1: Pulling fs layer [2021-07-08T16:34:02.669Z] 36b3adc4ff6f: Pulling fs layer [2021-07-08T16:34:02.669Z] 8ad3a11d3b57: Pulling fs layer [2021-07-08T16:34:02.669Z] 46f8f816bc3b: Pulling fs layer [2021-07-08T16:34:02.669Z] 93b61091891f: Pulling fs layer [2021-07-08T16:34:02.669Z] 93b9cdb0e59b: Pulling fs layer [2021-07-08T16:34:02.669Z] 5e14af77c1be: Pulling fs layer [2021-07-08T16:34:02.669Z] 01666e4c0597: Pulling fs layer [2021-07-08T16:34:02.669Z] aa168da1d23b: Pulling fs layer [2021-07-08T16:34:02.669Z] 46f8f816bc3b: Waiting [2021-07-08T16:34:02.669Z] 93b9cdb0e59b: Waiting [2021-07-08T16:34:02.669Z] 93b61091891f: Waiting [2021-07-08T16:34:02.669Z] 5e14af77c1be: Waiting [2021-07-08T16:34:02.669Z] 01666e4c0597: Waiting [2021-07-08T16:34:02.669Z] aa168da1d23b: Waiting [2021-07-08T16:34:02.669Z] 36b3adc4ff6f: Verifying Checksum [2021-07-08T16:34:02.669Z] 36b3adc4ff6f: Download complete [2021-07-08T16:34:02.931Z] 46f8f816bc3b: Verifying Checksum [2021-07-08T16:34:02.931Z] 46f8f816bc3b: Download complete [2021-07-08T16:34:02.931Z] df20fa9351a1: Verifying Checksum [2021-07-08T16:34:02.931Z] df20fa9351a1: Download complete [2021-07-08T16:34:02.931Z] 93b9cdb0e59b: Verifying Checksum [2021-07-08T16:34:02.931Z] 93b9cdb0e59b: Download complete [2021-07-08T16:34:02.931Z] 5e14af77c1be: Verifying Checksum [2021-07-08T16:34:02.931Z] 5e14af77c1be: Download complete [2021-07-08T16:34:02.931Z] 93b61091891f: Verifying Checksum [2021-07-08T16:34:02.931Z] 93b61091891f: Download complete [2021-07-08T16:34:02.931Z] 01666e4c0597: Verifying Checksum [2021-07-08T16:34:02.931Z] 01666e4c0597: Download complete [2021-07-08T16:34:02.931Z] 8ad3a11d3b57: Verifying Checksum [2021-07-08T16:34:02.931Z] 8ad3a11d3b57: Download complete [2021-07-08T16:34:03.198Z] df20fa9351a1: Pull complete [2021-07-08T16:34:03.198Z] 36b3adc4ff6f: Pull complete [2021-07-08T16:34:03.779Z] 8ad3a11d3b57: Pull complete [2021-07-08T16:34:03.779Z] 46f8f816bc3b: Pull complete [2021-07-08T16:34:04.045Z] 93b61091891f: Pull complete [2021-07-08T16:34:04.316Z] 93b9cdb0e59b: Pull complete [2021-07-08T16:34:04.316Z] 5e14af77c1be: Pull complete [2021-07-08T16:34:04.579Z] 01666e4c0597: Pull complete [2021-07-08T16:34:04.847Z] aa168da1d23b: Verifying Checksum [2021-07-08T16:34:04.847Z] aa168da1d23b: Download complete [2021-07-08T16:34:09.102Z] aa168da1d23b: Pull complete [2021-07-08T16:34:09.102Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-08T16:34:09.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-08T16:34:09.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-08T16:34:09.183Z] prd-centos7-docker-4c-2g-2225 does not seem to be running inside a container [2021-07-08T16:34:09.218Z] $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-08T16:34:11.762Z] $ docker top 1339e46ae5f33e4156912ff1de7ec0e84e8272c6e386ffd383f11b0ab518ad09 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-08T16:34:12.164Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-08T16:34:12.464Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-08T16:34:12.761Z] + ls /var/log/sa-host [2021-07-08T16:34:12.761Z] + sadf -c /var/log/sa-host/sa05 [2021-07-08T16:34:12.761Z] file_magic: OK [2021-07-08T16:34:12.761Z] HZ: Using current value: 100 [2021-07-08T16:34:12.761Z] file_header: OK [2021-07-08T16:34:12.761Z] 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-07-08T16:34:12.761Z] Statistics: [2021-07-08T16:34:12.761Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-08T16:34:12.761Z] File successfully converted to sysstat format version 12.2.1 [2021-07-08T16:34:12.761Z] + sadf -c /var/log/sa-host/sa08 [2021-07-08T16:34:12.761Z] file_magic: OK [2021-07-08T16:34:12.761Z] HZ: Using current value: 100 [2021-07-08T16:34:12.761Z] file_header: OK [2021-07-08T16:34:12.761Z] 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-07-08T16:34:12.761Z] Statistics: [2021-07-08T16:34:12.761Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-08T16:34:12.761Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-08T16:34:13.429Z] provisioning config files... [2021-07-08T16:34:13.448Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config4973002800629961138tmp [Pipeline] { [Pipeline] echo [2021-07-08T16:34:13.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:13.768Z] ---> create-netrc.sh [Pipeline] } [2021-07-08T16:34:13.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:14.219Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-08T16:34:14.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:14.530Z] ---> sudo-logs.sh [2021-07-08T16:34:14.531Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-08T16:34:14.559Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:14.867Z] ---> job-cost.sh [2021-07-08T16:34:14.867Z] lf-activate-venv: SKIPPING [2021-07-08T16:34:14.867Z] INFO: No Stack... [2021-07-08T16:34:15.812Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-08T16:34:16.386Z] INFO: Archiving Costs [Pipeline] echo [2021-07-08T16:34:16.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-08T16:34:16.695Z] ---> logs-deploy.sh [2021-07-08T16:34:16.695Z] lf-activate-venv: SKIPPING [2021-07-08T16:34:16.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/8 [2021-07-08T16:34:16.695Z] INFO: archiving workspace using pattern(s): [2021-07-08T16:34:17.646Z] Archives upload complete. [2021-07-08T16:34:17.646Z] INFO: archiving logs to Nexus