Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0776142c6d3161b910df185b7a9c1c513e53f5f6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > 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 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-3.11-base, dockerFilePath:scripts/Dockerfile.alpine-3.11, 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-3.11 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.11-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-4883 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 0776142c6d3161b910df185b7a9c1c513e53f5f6 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 Commit message: "Merge pull request #275 from iain-anderson/restv2-branch-2" > git rev-list --no-walk b4873c23cc909bb34276112007e0d4a5fd45beca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:18:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:18:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:18:25 ========================================================= 13:18:25 EdgeX Global Pipelines Version Info 13:18:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:18:27 ------------------- 13:18:27 stable info: 13:18:27 ------------------- 13:18:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:18:27 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:18:27 Message: update stable to v1.0.89 13:18:29 ------------------- 13:18:29 experimental info: 13:18:29 ------------------- 13:18:29 Commited By: **** collab-it+edgex@linuxfoundation.org 13:18:29 Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e 13:18:29 Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:18:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:30 13:18:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:18:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:31 latest: Pulling from edgex-devops/git-semver 13:18:31 9123ac7c32f7: Pulling fs layer 13:18:31 b8cc5d1170e3: Pulling fs layer 13:18:31 2924cbbf6a41: Pulling fs layer 13:18:31 93b08a4f1073: Pulling fs layer 13:18:31 93b08a4f1073: Waiting 13:18:31 b8cc5d1170e3: Verifying Checksum 13:18:31 b8cc5d1170e3: Download complete 13:18:31 9123ac7c32f7: Download complete 13:18:31 93b08a4f1073: Verifying Checksum 13:18:31 93b08a4f1073: Download complete 13:18:31 2924cbbf6a41: Verifying Checksum 13:18:31 2924cbbf6a41: Download complete 13:18:31 9123ac7c32f7: Pull complete 13:18:31 b8cc5d1170e3: Pull complete 13:18:33 2924cbbf6a41: Pull complete 13:18:33 93b08a4f1073: Pull complete 13:18:33 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:18:34 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:18:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:18:36 $ docker top b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:18:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:36 [ssh-agent] Looking for ssh-agent implementation... 13:18:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:37 $ docker exec b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c ssh-agent 13:18:37 SSH_AUTH_SOCK=/tmp/ssh-r4SK0vfk5NYm/agent.12 13:18:37 SSH_AGENT_PID=18 13:18:37 Running ssh-add (command line suppressed) 13:18:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2237557458639281467.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_2237557458639281467.key) 13:18:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:38 + git describe --exact-match --tags HEAD 13:18:38 fatal: No names found, cannot describe anything. [Pipeline] } 13:18:38 $ docker exec --env ******** --env ******** b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c ssh-agent -k 13:18:38 unset SSH_AUTH_SOCK; 13:18:38 unset SSH_AGENT_PID; 13:18:38 echo Agent pid 18 killed; 13:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:18:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:18:38 This usually means this commit has not been tagged. [Pipeline] sshagent 13:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:38 [ssh-agent] Looking for ssh-agent implementation... 13:18:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:38 $ docker exec b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c ssh-agent 13:18:39 SSH_AUTH_SOCK=/tmp/ssh-VXHfGiQNkZU2/agent.48 13:18:39 SSH_AGENT_PID=54 13:18:39 Running ssh-add (command line suppressed) 13:18:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1621486270678542872.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1621486270678542872.key) 13:18:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:40 + git semver init 13:18:40 # -> Open(): unable to determine branch for HEAD 13:18:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 13:18:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 13:18:40 # $SEMVER_REMOTE_NAME = origin 13:18:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:18:40 # $SEMVER_USER_NAME = edgex-jenkins 13:18:40 # $SEMVER_BRANCH = master 13:18:40 # $SEMVER_TEMP = /tmp/semver-517087544 13:18:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:18:40 # '/tmp/semver-517087544' -> '/w/workspace/edgexfoundry_device-sdk-c_master/.semver' 13:18:40 # -> Force: false 13:18:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 13:18:40 $ docker exec --env ******** --env ******** b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c ssh-agent -k 13:18:41 unset SSH_AUTH_SOCK; 13:18:41 unset SSH_AGENT_PID; 13:18:41 echo Agent pid 54 killed; 13:18:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:18:41 + git semver [Pipeline] } 13:18:41 $ docker stop --time=1 b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c 13:18:43 $ docker rm -f b710fc937a0c7b9b0b879222a2c11554cec853598b133c1dfcc55c76d6b9e49c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:18:44 Stashed 49 file(s) [Pipeline] echo 13:18:44 [edgeXSemver] initialized semver on version 1.2.2-dev.7 [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 13:18:59 Still waiting to schedule task 13:18:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4883’ 13:18:59 Still waiting to schedule task 13:18:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:20:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4884 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 13:20:39 Running in /w/workspace/device-sdk-c/31 [Pipeline] { [Pipeline] checkout 13:20:44 using credential edgex-jenkins-ssh 13:20:44 Cloning the remote Git repository 13:20:44 Cloning with configured refspecs honoured and without tags 13:20:44 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:20:44 > git init /w/workspace/device-sdk-c/31 # timeout=10 13:20:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:20:44 > git --version # timeout=10 13:20:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:20:45 Fetching without tags 13:20:46 Checking out Revision 0776142c6d3161b910df185b7a9c1c513e53f5f6 (master) 13:20:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:20:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:20:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:20:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:20:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:20:46 > git config core.sparsecheckout # timeout=10 13:20:46 > git checkout -f 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 13:20:51 Commit message: "Merge pull request #275 from iain-anderson/restv2-branch-2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:20:52 ========================================================= 13:20:52 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:20:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:20:53 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 13:20:54 Sending build context to Docker daemon 3.304MB 13:20:54 Step 1/21 : ARG BASE=alpine:3.11 13:20:54 Step 2/21 : FROM ${BASE} as builder 13:20:54 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:20:54 0362ad1dd800: Pulling fs layer 13:20:54 f2cdb1532d8b: Pulling fs layer 13:20:54 37ed683be191: Pulling fs layer 13:20:54 f2cdb1532d8b: Verifying Checksum 13:20:54 f2cdb1532d8b: Download complete 13:20:54 0362ad1dd800: Verifying Checksum 13:20:54 0362ad1dd800: Download complete 13:20:55 0362ad1dd800: Pull complete 13:20:56 f2cdb1532d8b: Pull complete 13:20:57 37ed683be191: Verifying Checksum 13:20:57 37ed683be191: Download complete 13:21:07 37ed683be191: Pull complete 13:21:07 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 13:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:21:07 ---> b23d30803547 13:21:07 Step 3/21 : 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 13:21:08 ---> Running in f78365c5884b 13:21:09 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:21:10 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:21:10 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:21:10 (2/8) Installing libuuid (2.33-r0) 13:21:11 (3/8) Installing libblkid (2.33-r0) 13:21:11 (4/8) Installing libfdisk (2.33-r0) 13:21:11 (5/8) Installing libmount (2.33-r0) 13:21:11 (6/8) Installing libsmartcols (2.33-r0) 13:21:11 (7/8) Installing util-linux-dev (2.33-r0) 13:21:11 (8/8) Installing wget (1.20.3-r0) 13:21:11 Executing busybox-1.29.3-r10.trigger 13:21:11 OK: 285 MiB in 83 packages 13:21:13 Removing intermediate container f78365c5884b 13:21:13 ---> 6cf7b0bc444b 13:21:13 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:21:13 ---> Running in fd44a5bd8ab2 13:21:13 Removing intermediate container fd44a5bd8ab2 13:21:13 ---> 0c82a49d3723 13:21:13 Step 5/21 : 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 13:21:13 ---> Running in e052626fc5ff 13:21:15 Running on prd-centos7-docker-4c-2g-4885 in /w/workspace/edgexfoundry_device-sdk-c_master [Pipeline] { [Pipeline] ws 13:21:15 Running in /w/workspace/device-sdk-c/31 [Pipeline] { [Pipeline] checkout 13:21:15 --2020-06-30 13:21:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:21:15 Resolving github.com... 140.82.112.4 13:21:15 Connecting to github.com|140.82.112.4|:443... connected. 13:21:15 HTTP request sent, awaiting response... 302 Found 13:21:15 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:21:15 --2020-06-30 13:21:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:21:15 Resolving codeload.github.com... 140.82.114.9 13:21:15 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:15 HTTP request sent, awaiting response... 200 OK 13:21:15 Length: unspecified [application/x-gzip] 13:21:15 Saving to: 'STDOUT' 13:21:15  13:21:15 0K .......... .......... .......... .......... .......... 1.52M 13:21:15 50K .......... .......... .......... .......... .......... 2.95M 13:21:15 100K .......... .......... .......... .......... .......... 3.09M 13:21:15 150K .......... .......... .......... .......... .......... 11.5M 13:21:15 200K .......... .......... .......... .......... .......... 7.45M 13:21:15 250K .......... .......... .......... .......... .......... 3.31M 13:21:15 300K .......... .......... .......... .......... .......... 5.17M 13:21:15 350K .......... .......... .......... .......... .......... 5.19M 13:21:15 400K .......... .......... .......... .......... .......... 3.71M 13:21:15 450K .......... .......... .......... .......... .......... 3.97M 13:21:15 500K .......... .......... .......... .......... .......... 6.53M 13:21:15 550K .......... .......... .......... .......... .......... 1.80M 13:21:15 600K .......... .......... .......... .......... .......... 975K 13:21:16 650K .......... .......... .......... .......... .......... 1.68M 13:21:16 700K ..    2.42M=0.3s 13:21:16 13:21:16 2020-06-30 13:21:15 (2.74 MB/s) - written to stdout [719348] 13:21:16 13:21:16 -- The C compiler identification is GNU 8.3.0 13:21:16 -- The CXX compiler identification is GNU 8.3.0 13:21:16 -- Check for working C compiler: /usr/bin/cc 13:21:16 -- Check for working C compiler: /usr/bin/cc -- works 13:21:16 -- Detecting C compiler ABI info 13:21:17 -- Detecting C compiler ABI info - done 13:21:17 -- Detecting C compile features 13:21:17 using credential edgex-jenkins-ssh 13:21:17 Cloning the remote Git repository 13:21:17 Cloning with configured refspecs honoured and without tags 13:21:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:21:16 > git init /w/workspace/device-sdk-c/31 # timeout=10 13:21:18 -- Detecting C compile features - done 13:21:18 -- Check for working CXX compiler: /usr/bin/c++ 13:21:18 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:21:18 -- Detecting CXX compiler ABI info 13:21:18 Fetching without tags 13:21:18 -- Detecting CXX compiler ABI info - done 13:21:18 -- Detecting CXX compile features 13:21:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:21:16 > git --version # timeout=10 13:21:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:21:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:21:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:21:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:21:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:21:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:21:18 Checking out Revision 0776142c6d3161b910df185b7a9c1c513e53f5f6 (master) 13:21:17 > git config core.sparsecheckout # timeout=10 13:21:17 > git checkout -f 0776142c6d3161b910df185b7a9c1c513e53f5f6 # timeout=10 13:21:20 -- Detecting CXX compile features - done 13:21:20 -- Looking for include file endian.h 13:21:20 -- Looking for include file endian.h - found 13:21:20 -- Check if the system is big endian 13:21:20 -- Searching 16 bit integer 13:21:20 -- Looking for sys/types.h 13:21:20 -- Looking for sys/types.h - found 13:21:20 -- Looking for stdint.h 13:21:20 -- Looking for stdint.h - found 13:21:20 -- Looking for stddef.h 13:21:20 -- Looking for stddef.h - found 13:21:20 -- Check size of unsigned short 13:21:21 -- Check size of unsigned short - done 13:21:21 -- Using unsigned short 13:21:21 -- Check if the system is big endian - little endian 13:21:21 -- Check size of size_t 13:21:21 -- Check size of size_t - done 13:21:21 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:21:21 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:21:21 asked CMake to find a package configuration file provided by "cJSON", but 13:21:21 CMake did not find one. 13:21:21 13:21:21 Could not find a package configuration file provided by "cJSON" with any of 13:21:21 the following names: 13:21:21 13:21:21 cJSONConfig.cmake 13:21:21 cjson-config.cmake 13:21:21 13:21:21 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:21:21 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:21:21 provides a separate development package or SDK, be sure it has been 13:21:21 installed. 13:21:21 13:21:21 13:21:21 -- Configuring done 13:21:21 -- Generating done 13:21:21 -- Build files have been written to: /tmp/cbor 13:21:21 Scanning dependencies of target cbor_shared 13:21:21 Commit message: "Merge pull request #275 from iain-anderson/restv2-branch-2" 13:21:22 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:21:22 ========================================================= 13:21:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:21:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:21:22 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:21:23 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.11-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 13:21:23 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:21:23 Sending build context to Docker daemon 3.304MB 13:21:23 Step 1/21 : ARG BASE=alpine:3.11 13:21:23 Step 2/21 : FROM ${BASE} as builder 13:21:23 latest: Pulling from edgex-devops/edgex-gcc-base 13:21:23 e7c96db7181b: Pulling fs layer 13:21:23 4c13bbce0fe7: Pulling fs layer 13:21:23 6059c847ac2f: Pulling fs layer 13:21:23 4c13bbce0fe7: Verifying Checksum 13:21:23 4c13bbce0fe7: Download complete 13:21:23 e7c96db7181b: Verifying Checksum 13:21:23 e7c96db7181b: Download complete 13:21:23 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:21:23 e7c96db7181b: Pull complete 13:21:23 4c13bbce0fe7: Pull complete 13:21:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:21:24 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:21:24 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:21:24 6059c847ac2f: Verifying Checksum 13:21:24 6059c847ac2f: Download complete 13:21:24 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:21:25 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:21:25 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:21:25 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:21:25 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:21:26 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:21:26 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:21:27 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:21:27 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:21:27 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:21:27 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:21:27 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:21:28 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:21:28 [ 40%] Linking C shared library libcbor.so 13:21:28 [ 40%] Built target cbor_shared 13:21:28 Scanning dependencies of target cbor 13:21:28 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:21:28 6059c847ac2f: Pull complete 13:21:28 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 13:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:21:28 ---> 5eabd8fd8ba2 13:21:28 Step 3/21 : 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 13:21:29 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:21:29 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:21:30 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:21:30 ---> Running in e3db14017da7 13:21:30 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:21:31 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:21:31 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:21:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:21:31 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:21:31 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:21:31 (1/8) Installing ncurses-dev (6.1_p20190105-r0) 13:21:31 (2/8) Installing libuuid (2.33-r0) 13:21:31 (3/8) Installing libblkid (2.33-r0) 13:21:31 (4/8) Installing libfdisk (2.33-r0) 13:21:31 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:21:32 (5/8) Installing libmount (2.33-r0) 13:21:32 (6/8) Installing libsmartcols (2.33-r0) 13:21:32 (7/8) Installing util-linux-dev (2.33-r0) 13:21:32 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:21:32 (8/8) Installing wget (1.20.3-r0) 13:21:32 Executing busybox-1.29.3-r10.trigger 13:21:32 OK: 272 MiB in 83 packages 13:21:33 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:21:33 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:21:33 Removing intermediate container e3db14017da7 13:21:33 ---> c9516b856f7c 13:21:33 Step 4/21 : ENV CBOR_VERSION=0.5.0 13:21:33 ---> Running in 3f7bc17ecaf5 13:21:33 Removing intermediate container 3f7bc17ecaf5 13:21:33 ---> a3dd23a4fdde 13:21:33 Step 5/21 : 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 13:21:33 ---> Running in c5bd6c5012e1 13:21:33 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:21:34 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:21:34 --2020-06-30 13:21:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:21:34 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:21:34 Resolving github.com... 140.82.113.4 13:21:34 Connecting to github.com|140.82.113.4|:443... connected. 13:21:34 HTTP request sent, awaiting response... 302 Found 13:21:34 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:21:34 --2020-06-30 13:21:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:21:34 Resolving codeload.github.com... 140.82.114.9 13:21:34 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:34 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:21:34 HTTP request sent, awaiting response... 200 OK 13:21:34 Length: unspecified [application/x-gzip] 13:21:34 Saving to: 'STDOUT' 13:21:34 13:21:34 0K .......... .......... .......... .......... .......... 1.51M 13:21:34 50K .......... .......... .......... .......... .......... 3.59M 13:21:34 100K .......... .......... .......... .......... .......... 14.4M 13:21:34 150K .......... .......... .......... .......... .......... 3.92M 13:21:34 200K .......... .......... .......... .......... .......... 15.6M 13:21:34 250K .......... .......... .......... .......... .......... 13.6M 13:21:34 300K .......... .......... .......... .......... .......... 10.6M 13:21:34 350K .......... .......... .......... .......... .......... 9.42M 13:21:34 400K .......... .......... .......... .......... .......... 6.96M 13:21:34 450K .......... .......... .......... .......... .......... 7.55M 13:21:34 500K .......... .......... .......... .......... .......... 29.4M 13:21:34 550K .......... .......... .......... .......... .......... 7.93M 13:21:34 600K .......... .......... .......... .......... .......... 2.55M 13:21:34 650K .......... .......... .......... .......... .......... 4.37M 13:21:34 700K ..    36.7M=0.1s 13:21:34 13:21:34 2020-06-30 13:21:34 (5.28 MB/s) - written to stdout [719348] 13:21:34 13:21:34 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:21:34 -- The C compiler identification is GNU 8.3.0 13:21:34 -- The CXX compiler identification is GNU 8.3.0 13:21:34 -- Check for working C compiler: /usr/bin/cc 13:21:34 -- Check for working C compiler: /usr/bin/cc -- works 13:21:34 -- Detecting C compiler ABI info 13:21:34 -- Detecting C compiler ABI info - done 13:21:34 -- Detecting C compile features 13:21:35 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:21:35 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:21:35 -- Detecting C compile features - done 13:21:35 -- Check for working CXX compiler: /usr/bin/c++ 13:21:35 -- Check for working CXX compiler: /usr/bin/c++ -- works 13:21:35 -- Detecting CXX compiler ABI info 13:21:35 -- Detecting CXX compiler ABI info - done 13:21:35 -- Detecting CXX compile features 13:21:35 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:21:35 [ 80%] Linking C static library libcbor.a 13:21:35 [ 80%] Built target cbor 13:21:35 Scanning dependencies of target create_items 13:21:35 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:21:35 [ 84%] Linking C executable create_items 13:21:35 [ 84%] Built target create_items 13:21:35 Scanning dependencies of target readfile 13:21:35 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:21:36 -- Detecting CXX compile features - done 13:21:36 -- Looking for include file endian.h 13:21:36 -- Looking for include file endian.h - found 13:21:36 -- Check if the system is big endian 13:21:36 -- Searching 16 bit integer 13:21:36 -- Looking for sys/types.h 13:21:36 -- Looking for sys/types.h - found 13:21:36 -- Looking for stdint.h 13:21:36 -- Looking for stdint.h - found 13:21:36 -- Looking for stddef.h 13:21:36 -- Looking for stddef.h - found 13:21:36 -- Check size of unsigned short 13:21:36 [ 88%] Linking C executable readfile 13:21:36 -- Check size of unsigned short - done 13:21:36 -- Using unsigned short 13:21:36 -- Check if the system is big endian - little endian 13:21:36 -- Check size of size_t 13:21:36 -- Check size of size_t - done 13:21:36 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:21:36 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:21:36 asked CMake to find a package configuration file provided by "cJSON", but 13:21:36 CMake did not find one. 13:21:36 13:21:36 Could not find a package configuration file provided by "cJSON" with any of 13:21:36 the following names: 13:21:36 13:21:36 cJSONConfig.cmake 13:21:36 cjson-config.cmake 13:21:36 13:21:36 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:21:36 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:21:36 provides a separate development package or SDK, be sure it has been 13:21:36 installed. 13:21:36 13:21:36 13:21:36 -- Configuring done 13:21:36 [ 88%] Built target readfile 13:21:36 Scanning dependencies of target streaming_parser 13:21:36 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:21:36 [ 92%] Linking C executable streaming_parser 13:21:36 -- Generating done 13:21:36 -- Build files have been written to: /tmp/cbor 13:21:36 Scanning dependencies of target cbor_shared 13:21:36 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:21:36 [ 92%] Built target streaming_parser 13:21:36 Scanning dependencies of target sort 13:21:36 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:21:36 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:21:36 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:21:36 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:21:37 [ 96%] Linking C executable sort 13:21:37 [ 96%] Built target sort 13:21:37 Scanning dependencies of target hello 13:21:37 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:21:37 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:21:37 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:21:37 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:21:37 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:21:37 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:21:37 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:21:37 [100%] Linking C executable hello 13:21:37 [100%] Built target hello 13:21:37 Install the project... 13:21:37 -- Install configuration: "Release" 13:21:37 -- Installing: /usr/local/include/cbor/configuration.h 13:21:37 -- Installing: /usr/local/lib64/libcbor.a 13:21:37 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:21:37 -- Installing: /usr/local/lib64/libcbor.so.0 13:21:37 -- Installing: /usr/local/lib64/libcbor.so 13:21:37 -- Up-to-date: /usr/local/include/cbor 13:21:37 -- Installing: /usr/local/include/cbor/streaming.h 13:21:37 -- Installing: /usr/local/include/cbor/ints.h 13:21:37 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:21:37 -- Installing: /usr/local/include/cbor/bytestrings.h 13:21:37 -- Installing: /usr/local/include/cbor/encoding.h 13:21:37 -- Installing: /usr/local/include/cbor/serialization.h 13:21:37 -- Installing: /usr/local/include/cbor/data.h 13:21:37 -- Installing: /usr/local/include/cbor/common.h 13:21:37 -- Installing: /usr/local/include/cbor/callbacks.h 13:21:37 -- Installing: /usr/local/include/cbor/strings.h 13:21:37 -- Installing: /usr/local/include/cbor/tags.h 13:21:37 -- Installing: /usr/local/include/cbor/internal 13:21:37 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:21:37 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:21:37 -- Installing: /usr/local/include/cbor/internal/stack.h 13:21:37 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:21:37 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:21:37 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:21:37 -- Installing: /usr/local/include/cbor/arrays.h 13:21:37 -- Installing: /usr/local/include/cbor/maps.h 13:21:37 -- Installing: /usr/local/include/cbor.h 13:21:37 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:21:37 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:21:37 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:21:37 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:21:37 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:21:37 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:21:37 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:21:37 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:21:38 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:21:38 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:21:38 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:21:38 [ 40%] Linking C shared library libcbor.so 13:21:38 [ 40%] Built target cbor_shared 13:21:38 Scanning dependencies of target cbor 13:21:38 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:21:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:21:38 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:21:38 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:21:38 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:21:38 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:21:38 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:21:39 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:21:39 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:21:39 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:21:39 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:21:39 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:21:39 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:21:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:21:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:21:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:21:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:21:39 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:21:39 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:21:39 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:21:39 Removing intermediate container e052626fc5ff 13:21:39 ---> f220266bd88c 13:21:39 Step 6/21 : RUN mkdir /tmp/sdk 13:21:39 ---> Running in cdffd0f73904 13:21:40 [ 80%] Linking C static library libcbor.a 13:21:40 [ 80%] Built target cbor 13:21:40 Scanning dependencies of target create_items 13:21:40 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:21:40 [ 84%] Linking C executable create_items 13:21:40 [ 84%] Built target create_items 13:21:40 Scanning dependencies of target readfile 13:21:40 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:21:40 [ 88%] Linking C executable readfile 13:21:40 [ 88%] Built target readfile 13:21:40 Scanning dependencies of target streaming_parser 13:21:40 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:21:40 [ 92%] Linking C executable streaming_parser 13:21:40 [ 92%] Built target streaming_parser 13:21:40 Scanning dependencies of target sort 13:21:40 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:21:40 [ 96%] Linking C executable sort 13:21:40 [ 96%] Built target sort 13:21:40 Scanning dependencies of target hello 13:21:40 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:21:40 [100%] Linking C executable hello 13:21:40 [100%] Built target hello 13:21:40 Install the project... 13:21:40 -- Install configuration: "Release" 13:21:40 -- Installing: /usr/local/include/cbor/configuration.h 13:21:40 -- Installing: /usr/local/lib64/libcbor.a 13:21:40 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:21:40 -- Installing: /usr/local/lib64/libcbor.so.0 13:21:40 -- Installing: /usr/local/lib64/libcbor.so 13:21:40 -- Up-to-date: /usr/local/include/cbor 13:21:40 -- Installing: /usr/local/include/cbor/arrays.h 13:21:40 -- Installing: /usr/local/include/cbor/bytestrings.h 13:21:40 -- Installing: /usr/local/include/cbor/callbacks.h 13:21:40 -- Installing: /usr/local/include/cbor/common.h 13:21:40 -- Installing: /usr/local/include/cbor/data.h 13:21:40 -- Installing: /usr/local/include/cbor/encoding.h 13:21:40 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:21:40 -- Installing: /usr/local/include/cbor/internal 13:21:40 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:21:40 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:21:40 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:21:40 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:21:40 -- Installing: /usr/local/include/cbor/internal/stack.h 13:21:40 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:21:40 -- Installing: /usr/local/include/cbor/ints.h 13:21:40 -- Installing: /usr/local/include/cbor/maps.h 13:21:40 -- Installing: /usr/local/include/cbor/serialization.h 13:21:40 -- Installing: /usr/local/include/cbor/streaming.h 13:21:40 -- Installing: /usr/local/include/cbor/strings.h 13:21:40 -- Installing: /usr/local/include/cbor/tags.h 13:21:40 -- Installing: /usr/local/include/cbor.h 13:21:40 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:21:41 Removing intermediate container cdffd0f73904 13:21:41 ---> abb537df7fd5 13:21:41 Step 7/21 : COPY VERSION /tmp/sdk 13:21:42 ---> 04badcc39caf 13:21:42 Step 8/21 : COPY src /tmp/sdk/src 13:21:43 Removing intermediate container c5bd6c5012e1 13:21:43 ---> 26e140251ac2 13:21:43 Step 6/21 : RUN mkdir /tmp/sdk 13:21:43 ---> Running in 1cf63748bfba 13:21:43 ---> 1408b525d26b 13:21:43 Step 9/21 : COPY include /tmp/sdk/include 13:21:43 Removing intermediate container 1cf63748bfba 13:21:43 ---> 3fd7c2b23385 13:21:43 Step 7/21 : COPY VERSION /tmp/sdk 13:21:44 ---> 5913fc2ebee0 13:21:44 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:21:44 ---> 426373725bd7 13:21:44 Step 8/21 : COPY src /tmp/sdk/src 13:21:44 ---> f0bdeeb769df 13:21:44 Step 9/21 : COPY include /tmp/sdk/include 13:21:44 ---> ad9be1b8e17a 13:21:44 Step 11/21 : COPY LICENSE /tmp/sdk 13:21:44 ---> 05f2a45d20b4 13:21:44 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:21:45 ---> 938f43cb8462 13:21:45 Step 11/21 : COPY LICENSE /tmp/sdk 13:21:45 ---> 650d216b9472 13:21:45 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:21:45 ---> 6edd50015c7d 13:21:45 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:21:45 ---> a2c57e35c760 13:21:45 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:21:45 ---> Running in e1b5c95b3c8d 13:21:45 + CPPCHECK=false 13:21:45 + DOCGEN=false 13:21:45 + TOMLVER=SDK-0.2 13:21:45 + CUTILVER=1.0.4 13:21:45 + '[' 0 -gt 0 ] 13:21:45 + readlink -f ./scripts/build.sh 13:21:45 + dirname /tmp/sdk/scripts/build.sh 13:21:45 + dirname /tmp/sdk/scripts 13:21:45 + ROOT=/tmp/sdk 13:21:45 + cd /tmp/sdk 13:21:45 + '[' '!' -d deps ] 13:21:45 + mkdir deps 13:21:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:21:45 + tar -C deps -z -x -f - 13:21:45 --2020-06-30 13:21:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:21:45 Resolving github.com... 140.82.113.4 13:21:45 Connecting to github.com|140.82.113.4|:443... connected. 13:21:46 HTTP request sent, awaiting response... 302 Found 13:21:46 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:21:46 --2020-06-30 13:21:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:21:46 Resolving codeload.github.com... 140.82.114.9 13:21:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:46 HTTP request sent, awaiting response... 200 OK 13:21:46 Length: unspecified [application/x-gzip] 13:21:46 Saving to: 'STDOUT' 13:21:46  13:21:46 0K .......... ...... 1.03M=0.02s 13:21:46 13:21:46 2020-06-30 13:21:46 (1.03 MB/s) - written to stdout [16451] 13:21:46 13:21:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:21:46 + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:21:46 tar -C deps -z -x -f - 13:21:46 --2020-06-30 13:21:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:21:46 ---> 1068b627e4ff 13:21:46 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:21:46 ---> Running in d671a01a27e9 13:21:46 Resolving github.com... 140.82.113.4 13:21:46 Connecting to github.com|140.82.113.4|:443... connected. 13:21:46 HTTP request sent, awaiting response... 302 Found 13:21:46 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:21:46 --2020-06-30 13:21:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:21:46 Resolving codeload.github.com... 140.82.114.9 13:21:46 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:46 HTTP request sent, awaiting response... 200 OK 13:21:46 Length: unspecified [application/x-gzip] 13:21:46 Saving to: 'STDOUT' 13:21:46  13:21:46 0K .......... .......... .......... .......... .......... 1.61M 13:21:46 50K .......... .......... .......... .......... .......... 3.22M 13:21:46 100K .......... .......... .......... .......... .......... 54.6M 13:21:46 150K ........  8.88M=0.05s 13:21:46 13:21:46 2020-06-30 13:21:46 (3.28 MB/s) - written to stdout [162267] 13:21:46 13:21:46 + mkdir -p src/c/iot 13:21:46 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 13:21:46 + mkdir -p include/iot 13:21:46 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 13:21:46 + mkdir -p include/iot/os 13:21:46 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 13:21:46 + mkdir -p /tmp/sdk/build/release 13:21:46 + cd /tmp/sdk/build/release 13:21:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:21:47 -- The C compiler identification is GNU 8.3.0 13:21:47 -- Check for working C compiler: /usr/bin/cc 13:21:47 -- Check for working C compiler: /usr/bin/cc -- works 13:21:47 -- Detecting C compiler ABI info 13:21:47 -- Detecting C compiler ABI info - done 13:21:47 -- Detecting C compile features 13:21:47 -- Detecting C compile features - done 13:21:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:21:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:21:47 -- Found LIBYAML: /usr/lib/libyaml.so 13:21:47 -- Found LIBUUID: /usr/lib/libuuid.so 13:21:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:21:47 -- C SDK 1.2.2-dev.7 for Linux 13:21:47 -- Performing Test CSDK_HAVE_ATOMIC 13:21:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:21:47 -- Found Curses: /usr/lib/libcurses.so 13:21:47 -- Configuring done 13:21:47 -- Generating done 13:21:47 -- Build files have been written to: /tmp/sdk/build/release 13:21:47 + make 13:21:47 + tee release.log 13:21:47 Scanning dependencies of target csdk 13:21:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:21:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:21:47 + CPPCHECK=false 13:21:47 + DOCGEN=false 13:21:47 + TOMLVER=SDK-0.2 13:21:47 + CUTILVER=1.0.4 13:21:47 + '[' 0 -gt 0 ] 13:21:47 + readlink -f ./scripts/build.sh 13:21:47 + dirname /tmp/sdk/scripts/build.sh 13:21:47 + dirname /tmp/sdk/scripts 13:21:47 + ROOT=/tmp/sdk 13:21:47 + cd /tmp/sdk 13:21:47 + '[' '!' -d deps ] 13:21:47 + mkdir deps 13:21:47 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:21:47 + tar -C deps -z -x -f - 13:21:47 --2020-06-30 13:21:47-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:21:47 Resolving github.com... 140.82.113.4 13:21:47 Connecting to github.com|140.82.113.4|:443... connected. 13:21:47 HTTP request sent, awaiting response... 302 Found 13:21:47 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:21:47 --2020-06-30 13:21:47-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:21:47 Resolving codeload.github.com... 140.82.114.9 13:21:47 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:21:47 HTTP request sent, awaiting response... 200 OK 13:21:47 Length: unspecified [application/x-gzip] 13:21:47 Saving to: 'STDOUT' 13:21:47  13:21:47 0K .......... ......  998K=0.02s 13:21:47 13:21:47 2020-06-30 13:21:47 (998 KB/s) - written to stdout [16451] 13:21:47 13:21:47 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:21:47 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:21:47 + tar -C deps -z -x -f - 13:21:47 --2020-06-30 13:21:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.0.4.tar.gz 13:21:47 Resolving github.com... 140.82.113.4 13:21:47 Connecting to github.com|140.82.113.4|:443... connected. 13:21:47 HTTP request sent, awaiting response... 302 Found 13:21:47 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 [following] 13:21:47 --2020-06-30 13:21:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.0.4 13:21:47 Resolving codeload.github.com... 140.82.114.9 13:21:47 Connecting to codeload.github.com|140.82.114.9|:443... connected. 13:21:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:21:48 HTTP request sent, awaiting response... 200 OK 13:21:48 Length: unspecified [application/x-gzip] 13:21:48 Saving to: 'STDOUT' 13:21:48 13:21:48 0K .......... .......... .......... .......... .......... 1.32M 13:21:48 50K .......... .......... .......... .......... .......... 4.58M 13:21:48 100K .......... .......... .......... .......... .......... 3.85M 13:21:48 150K ........   16.5M=0.06s 13:21:48 13:21:48 2020-06-30 13:21:48 (2.55 MB/s) - written to stdout [162267] 13:21:48 13:21:48 + mkdir -p src/c/iot 13:21:48 + cp deps/iotech-c-utils-1.0.4/src/c/base64.c deps/iotech-c-utils-1.0.4/src/c/component.c deps/iotech-c-utils-1.0.4/src/c/container.c deps/iotech-c-utils-1.0.4/src/c/data.c deps/iotech-c-utils-1.0.4/src/c/hash.c deps/iotech-c-utils-1.0.4/src/c/iot.c deps/iotech-c-utils-1.0.4/src/c/json.c deps/iotech-c-utils-1.0.4/src/c/logger.c deps/iotech-c-utils-1.0.4/src/c/os.c deps/iotech-c-utils-1.0.4/src/c/scheduler.c deps/iotech-c-utils-1.0.4/src/c/thread.c deps/iotech-c-utils-1.0.4/src/c/threadpool.c deps/iotech-c-utils-1.0.4/src/c/time.c src/c/iot 13:21:48 + mkdir -p include/iot 13:21:48 + cp deps/iotech-c-utils-1.0.4/include/iot/base64.h deps/iotech-c-utils-1.0.4/include/iot/component.h deps/iotech-c-utils-1.0.4/include/iot/container.h deps/iotech-c-utils-1.0.4/include/iot/data.h deps/iotech-c-utils-1.0.4/include/iot/hash.h deps/iotech-c-utils-1.0.4/include/iot/iot.h deps/iotech-c-utils-1.0.4/include/iot/json.h deps/iotech-c-utils-1.0.4/include/iot/logger.h deps/iotech-c-utils-1.0.4/include/iot/os.h deps/iotech-c-utils-1.0.4/include/iot/scheduler.h deps/iotech-c-utils-1.0.4/include/iot/thread.h deps/iotech-c-utils-1.0.4/include/iot/threadpool.h deps/iotech-c-utils-1.0.4/include/iot/time.h deps/iotech-c-utils-1.0.4/include/iot/typecode.h include/iot 13:21:48 + mkdir -p include/iot/os 13:21:48 + cp deps/iotech-c-utils-1.0.4/include/iot/os/linux.h deps/iotech-c-utils-1.0.4/include/iot/os/zephyr.h include/iot/os 13:21:48 + mkdir -p /tmp/sdk/build/release 13:21:48 + cd /tmp/sdk/build/release 13:21:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:21:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:21:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:21:48 -- The C compiler identification is GNU 8.3.0 13:21:48 -- Check for working C compiler: /usr/bin/cc 13:21:48 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:21:48 -- Check for working C compiler: /usr/bin/cc -- works 13:21:48 -- Detecting C compiler ABI info 13:21:49 -- Detecting C compiler ABI info - done 13:21:49 -- Detecting C compile features 13:21:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:21:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:21:49 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:21:49 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:21:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:21:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:21:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:21:50 -- Detecting C compile features - done 13:21:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:21:50 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:21:50 -- Found LIBYAML: /usr/lib/libyaml.so 13:21:50 -- Found LIBUUID: /usr/lib/libuuid.so 13:21:50 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:21:50 -- C SDK 1.2.2-dev.7 for Linux 13:21:50 -- Performing Test CSDK_HAVE_ATOMIC 13:21:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:21:50 -- Found Curses: /usr/lib/libcurses.so 13:21:50 -- Configuring done 13:21:50 -- Generating done 13:21:50 -- Build files have been written to: /tmp/sdk/build/release 13:21:50 + make 13:21:50 + tee release.log 13:21:50 Scanning dependencies of target csdk 13:21:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:21:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:21:50 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:21:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:21:50 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:21:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:21:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:21:51 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:21:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:21:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:21:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:21:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:21:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:21:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:21:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:21:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:21:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:21:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:21:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:21:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:21:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:21:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:21:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:21:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:21:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:21:54 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:21:54 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:21:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:21:55 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:21:55 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:21:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:21:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:21:56 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:21:56 [ 74%] Linking C shared library libcsdk.so 13:21:56 [ 74%] Built target csdk 13:21:56 Scanning dependencies of target template 13:21:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:21:56 [ 78%] Linking C executable template 13:21:56 [ 78%] Built target template 13:21:56 Scanning dependencies of target device-counter 13:21:56 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:21:56 [ 81%] Linking C executable device-counter 13:21:56 [ 81%] Built target device-counter 13:21:56 Scanning dependencies of target device-random 13:21:56 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:21:57 [ 85%] Linking C executable device-random 13:21:57 [ 85%] Built target device-random 13:21:57 Scanning dependencies of target device-gyro 13:21:57 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:21:57 [ 89%] Linking C executable device-gyro 13:21:57 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:21:57 [ 89%] Built target device-gyro 13:21:57 Scanning dependencies of target template-discovery 13:21:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:21:57 [ 92%] Linking C executable template-discovery 13:21:57 [ 92%] Built target template-discovery 13:21:57 Scanning dependencies of target device-terminal 13:21:57 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:21:57 [ 96%] Linking C executable device-terminal 13:21:57 [ 96%] Built target device-terminal 13:21:57 Scanning dependencies of target templatev1 13:21:57 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:21:57 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:21:57 [100%] Linking C executable templatev1 13:21:57 [100%] Built target templatev1 13:21:57 + + make packagetee 13:21:57 -a release.log 13:21:57 [ 74%] Built target csdk 13:21:57 [ 78%] Built target template 13:21:58 [ 81%] Built target device-counter 13:21:58 [ 85%] Built target device-random 13:21:58 [ 89%] Built target device-gyro 13:21:58 [ 92%] Built target template-discovery 13:21:58 [ 96%] Built target device-terminal 13:21:58 [100%] Built target templatev1 13:21:58 Run CPack packaging tool... 13:21:58 CPack: Create package using TGZ 13:21:58 CPack: Install projects 13:21:58 CPack: - Run preinstall target for: Csdk 13:21:58 CPack: - Install project: Csdk 13:21:58 CPack: Create package 13:21:58 CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.7.tar.gz generated. 13:21:58 + '[' false '=' true ] 13:21:58 + '[' false '=' true ] 13:21:58 + mkdir -p /tmp/sdk/build/debug 13:21:58 + cd /tmp/sdk/build/debug 13:21:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:21:58 -- The C compiler identification is GNU 8.3.0 13:21:58 -- Check for working C compiler: /usr/bin/cc 13:21:58 -- Check for working C compiler: /usr/bin/cc -- works 13:21:58 -- Detecting C compiler ABI info 13:21:58 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:21:58 -- Detecting C compiler ABI info - done 13:21:58 -- Detecting C compile features 13:21:58 -- Detecting C compile features - done 13:21:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:21:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:21:58 -- Found LIBYAML: /usr/lib/libyaml.so 13:21:58 -- Found LIBUUID: /usr/lib/libuuid.so 13:21:58 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:21:58 -- C SDK 1.2.2-dev.7 for Linux 13:21:58 -- Performing Test CSDK_HAVE_ATOMIC 13:21:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:21:58 -- Found Curses: /usr/lib/libcurses.so 13:21:58 -- Configuring done 13:21:58 -- Generating done 13:21:58 -- Build files have been written to: /tmp/sdk/build/debug 13:21:58 + make+ 13:21:58 tee debug.log 13:21:58 Scanning dependencies of target csdk 13:21:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:21:58 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:21:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:21:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:21:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:21:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:21:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:21:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:21:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:21:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:21:59 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:21:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:21:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:21:59 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:21:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:21:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:21:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:22:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:22:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:22:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:22:00 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:22:00 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:22:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:22:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:22:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:22:00 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:22:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:22:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:22:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:22:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:22:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:22:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:22:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:22:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:22:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:22:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:22:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:22:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:22:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:22:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:22:02 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:22:02 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:22:02 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:22:02 [ 74%] Linking C shared library libcsdk.so 13:22:02 [ 74%] Built target csdk 13:22:02 Scanning dependencies of target template 13:22:02 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:22:02 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:22:03 [ 78%] Linking C executable template 13:22:03 [ 78%] Built target template 13:22:03 Scanning dependencies of target device-counter 13:22:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:22:03 [ 81%] Linking C executable device-counter 13:22:03 [ 81%] Built target device-counter 13:22:03 Scanning dependencies of target device-random 13:22:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:22:03 [ 85%] Linking C executable device-random 13:22:03 [ 85%] Built target device-random 13:22:03 Scanning dependencies of target device-gyro 13:22:03 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:22:03 [ 89%] Linking C executable device-gyro 13:22:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:22:03 [ 89%] Built target device-gyro 13:22:03 Scanning dependencies of target template-discovery 13:22:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:22:03 [ 92%] Linking C executable template-discovery 13:22:03 [ 92%] Built target template-discovery 13:22:03 Scanning dependencies of target device-terminal 13:22:03 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:22:03 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:22:03 [ 96%] Linking C executable device-terminal 13:22:03 [ 96%] Built target device-terminal 13:22:03 Scanning dependencies of target templatev1 13:22:03 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:22:03 [100%] Linking C executable templatev1 13:22:03 [100%] Built target templatev1 13:22:03 make: Entering directory '/tmp/sdk/build/release' 13:22:04 make[1]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 Scanning dependencies of target csdk 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:04 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:22:04 [ 3%] Linking C shared library libcsdk.so 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 74%] Built target csdk 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 76%] Linking C executable template 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 78%] Built target template 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 80%] Linking C executable device-counter 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 81%] Built target device-counter 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 83%] Linking C executable device-random 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 85%] Built target device-random 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 87%] Linking C executable device-gyro 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 89%] Built target device-gyro 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 90%] Linking C executable template-discovery 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 92%] Built target template-discovery 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 94%] Linking C executable device-terminal 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 [ 96%] Built target device-terminal 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:04 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:04 [ 98%] Linking C executable templatev1 13:22:05 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:05 [100%] Built target templatev1 13:22:05 make[1]: Leaving directory '/tmp/sdk/build/release' 13:22:05 Install the project... 13:22:05 -- Install configuration: "Release" 13:22:05 -- Installing: /usr/local/lib/libcsdk.so 13:22:05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:22:05 -- Up-to-date: /usr/local/include 13:22:05 -- Installing: /usr/local/include/devsdk 13:22:05 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:22:05 -- Installing: /usr/local/include/devsdk/devsdk.h 13:22:05 -- Installing: /usr/local/include/edgex 13:22:05 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:22:05 -- Installing: /usr/local/include/edgex/devices.h 13:22:05 -- Installing: /usr/local/include/edgex/devsdk.h 13:22:05 -- Installing: /usr/local/include/edgex/edgex-base.h 13:22:05 -- Installing: /usr/local/include/edgex/edgex-logging.h 13:22:05 -- Installing: /usr/local/include/edgex/edgex.h 13:22:05 -- Installing: /usr/local/include/edgex/error.h 13:22:05 -- Installing: /usr/local/include/edgex/eventgen.h 13:22:05 -- Installing: /usr/local/include/edgex/os.h 13:22:05 -- Installing: /usr/local/include/edgex/profiles.h 13:22:05 -- Installing: /usr/local/include/edgex/registry.h 13:22:05 -- Installing: /usr/local/include/edgex/rest-server.h 13:22:05 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:22:05 -- Installing: /usr/local/include/iot 13:22:05 -- Installing: /usr/local/include/iot/base64.h 13:22:05 -- Installing: /usr/local/include/iot/component.h 13:22:05 -- Installing: /usr/local/include/iot/container.h 13:22:05 -- Installing: /usr/local/include/iot/data.h 13:22:05 -- Installing: /usr/local/include/iot/hash.h 13:22:05 -- Installing: /usr/local/include/iot/iot.h 13:22:05 -- Installing: /usr/local/include/iot/json.h 13:22:05 -- Installing: /usr/local/include/iot/logger.h 13:22:05 -- Installing: /usr/local/include/iot/os.h 13:22:05 -- Installing: /usr/local/include/iot/scheduler.h 13:22:05 -- Installing: /usr/local/include/iot/thread.h 13:22:05 -- Installing: /usr/local/include/iot/threadpool.h 13:22:05 -- Installing: /usr/local/include/iot/time.h 13:22:05 -- Installing: /usr/local/include/iot/typecode.h 13:22:05 -- Installing: /usr/local/include/iot/os 13:22:05 -- Installing: /usr/local/include/iot/os/linux.h 13:22:05 -- Installing: /usr/local/include/iot/os/zephyr.h 13:22:05 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:22:05 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:22:05 make: Leaving directory '/tmp/sdk/build/release' 13:22:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:22:06 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:22:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:22:07 Removing intermediate container e1b5c95b3c8d 13:22:07 ---> 765ceb8b6e25 13:22:07 Step 14/21 : FROM ${BASE} 13:22:07 ---> 5eabd8fd8ba2 13:22:07 Step 15/21 : MAINTAINER IOTech 13:22:07 ---> Running in fbd59b042d1c 13:22:07 Removing intermediate container fbd59b042d1c 13:22:07 ---> b54cb02ca8a1 13:22:07 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:22:07 ---> Running in c4cdbe2fa0b5 13:22:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:22:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:22:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:22:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:22:08 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:22:08 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:22:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:22:09 (1/3) Installing curl (7.64.0-r3) 13:22:09 (2/3) Installing libuuid (2.33-r0) 13:22:09 (3/3) Installing wget (1.20.3-r0) 13:22:09 Executing busybox-1.29.3-r10.trigger 13:22:09 OK: 268 MiB in 78 packages 13:22:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:22:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:22:09 Removing intermediate container c4cdbe2fa0b5 13:22:09 ---> c541a5228a65 13:22:09 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:22:10 ---> 7d1fe27e5fe2 13:22:10 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:22:10 ---> aaf8db6169be 13:22:10 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:22:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:22:10 ---> 869555b4a89a 13:22:10 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:22:10 ---> 2f220a96dbc0 13:22:10 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:22:10 ---> fc6f8be670dc 13:22:10 Successfully built fc6f8be670dc 13:22:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:22:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:22:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:22:11 + docker inspect -f . ci-base-image-x86_64 13:22:11 . [Pipeline] withDockerContainer 13:22:11 prd-centos7-docker-4c-2g-4885 does not seem to be running inside a container 13:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/31 -v /w/workspace/device-sdk-c/31:/w/workspace/device-sdk-c/31:rw,z -v /w/workspace/device-sdk-c/31@tmp:/w/workspace/device-sdk-c/31@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 ******** ci-base-image-x86_64 cat 13:22:12 $ docker top 52f999e07f4cebf30ea7d69ca44b3f4992edf9f0251d0a5ec647b31f5ceadda1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:12 + make test 13:22:12 echo "make test" 13:22:12 make test [Pipeline] } 13:22:12 $ docker stop --time=1 52f999e07f4cebf30ea7d69ca44b3f4992edf9f0251d0a5ec647b31f5ceadda1 13:22:13 $ docker rm -f 52f999e07f4cebf30ea7d69ca44b3f4992edf9f0251d0a5ec647b31f5ceadda1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:22:15 + ls -al . 13:22:15 total 160 13:22:15 drwxrwxr-x. 9 jenkins jenkins 275 Jun 30 13:21 . 13:22:15 drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 13:21 .. 13:22:15 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 30 13:21 Attribution.txt 13:22:15 -rw-rw-r--. 1 jenkins jenkins 5323 Jun 30 13:21 CHANGES 13:22:15 drwxrwxr-x. 2 jenkins jenkins 144 Jun 30 13:21 docs 13:22:15 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 30 13:21 Doxyfile 13:22:15 drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 13:21 .git 13:22:15 drwxrwxr-x. 2 jenkins jenkins 38 Jun 30 13:21 .github 13:22:15 -rw-rw-r--. 1 jenkins jenkins 176 Jun 30 13:21 .gitignore 13:22:15 drwxrwxr-x. 4 jenkins jenkins 33 Jun 30 13:21 include 13:22:15 -rw-rw-r--. 1 jenkins jenkins 794 Jun 30 13:21 Jenkinsfile 13:22:15 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 30 13:21 LICENSE 13:22:15 -rw-rw-r--. 1 jenkins jenkins 449 Jun 30 13:21 Makefile 13:22:15 -rw-rw-r--. 1 jenkins jenkins 1849 Jun 30 13:21 README.md 13:22:15 -rw-rw-r--. 1 jenkins jenkins 5229 Jun 30 13:21 README.v2.md 13:22:15 drwxrwxr-x. 2 jenkins jenkins 108 Jun 30 13:21 scripts 13:22:15 drwxrwxr-x. 3 jenkins jenkins 44 Jun 30 13:21 .semver 13:22:15 drwxrwxr-x. 4 jenkins jenkins 50 Jun 30 13:21 src 13:22:15 -rw-rw-r--. 1 jenkins jenkins 11 Jun 30 13:18 VERSION [Pipeline] isUnix [Pipeline] sh 13:22:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:22:16 + docker build -t docker-device-sdk-c -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0776142c6d3161b910df185b7a9c1c513e53f5f6 --label arch=amd64 --label version=1.2.2-dev.7 . 13:22:16 Sending build context to Docker daemon 3.304MB 13:22:16 Step 1/15 : ARG BASE=alpine:3.11 13:22:16 Step 2/15 : FROM ${BASE} 13:22:16 ---> fc6f8be670dc 13:22:16 Step 3/15 : MAINTAINER IOTech 13:22:16 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:22:16 ---> Running in 1fa84e3dfa14 13:22:16 Removing intermediate container 1fa84e3dfa14 13:22:16 ---> 5805ddd572ec 13:22:16 Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build 13:22:16 ---> Running in 2694a76ce7d6 13:22:17 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:22:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 13:22:17 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 13:22:18 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:22:18 (2/6) Installing libblkid (2.33-r0) 13:22:18 (3/6) Installing libfdisk (2.33-r0) 13:22:18 (4/6) Installing libmount (2.33-r0) 13:22:18 (5/6) Installing libsmartcols (2.33-r0) 13:22:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:18 (6/6) Installing util-linux-dev (2.33-r0) 13:22:18 Executing busybox-1.29.3-r10.trigger 13:22:18 OK: 272 MiB in 84 packages 13:22:19 Removing intermediate container 2694a76ce7d6 13:22:19 ---> c79620be1b2b 13:22:19 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:22:19 ---> d0d74e660938 13:22:19 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:22:19 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:22:20 ---> d92ca2bad95b 13:22:20 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:22:20 ---> 6230d6cee4e7 13:22:20 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:22:20 ---> 18941984fa5d 13:22:20 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:22:20 ---> d981393143f6 13:22:20 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:22:20 ---> 2f1024485547 13:22:20 Step 11/15 : WORKDIR /edgex-c-sdk 13:22:20 ---> Running in bdfc819c209b 13:22:21 Removing intermediate container bdfc819c209b 13:22:21 ---> 8f1c35f0b75d 13:22:21 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:22:21 ---> Running in 314a3003b125 13:22:21 Removing intermediate container 314a3003b125 13:22:21 ---> bcbb5f90ec07 13:22:21 Step 13/15 : LABEL arch=amd64 13:22:21 ---> Running in afbbd77af066 13:22:21 Removing intermediate container afbbd77af066 13:22:21 ---> 6dcee014a4ba 13:22:21 Step 14/15 : LABEL git_sha=0776142c6d3161b910df185b7a9c1c513e53f5f6 13:22:21 ---> Running in 7bd32810be77 13:22:21 Removing intermediate container 7bd32810be77 13:22:21 ---> 2cd9733e8a7f 13:22:21 Step 15/15 : LABEL version=1.2.2-dev.7 13:22:21 ---> Running in fb8c4fa5b423 13:22:21 Removing intermediate container fb8c4fa5b423 13:22:21 ---> c7cab896d88f 13:22:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:22:21 Successfully built c7cab896d88f 13:22:21 Successfully tagged docker-device-sdk-c:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:22:23 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:22:23 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:22:25 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:22:25 [ 74%] Linking C shared library libcsdk.so 13:22:25 [ 74%] Built target csdk 13:22:25 Scanning dependencies of target template 13:22:25 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:22:26 [ 78%] Linking C executable template 13:22:26 [ 78%] Built target template 13:22:26 Scanning dependencies of target device-counter 13:22:26 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:22:27 [ 81%] Linking C executable device-counter 13:22:27 [ 81%] Built target device-counter 13:22:27 Scanning dependencies of target device-random 13:22:27 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:22:27 [ 85%] Linking C executable device-random 13:22:27 [ 85%] Built target device-random 13:22:27 Scanning dependencies of target device-gyro 13:22:27 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:22:28 [ 89%] Linking C executable device-gyro 13:22:28 [ 89%] Built target device-gyro 13:22:28 Scanning dependencies of target template-discovery 13:22:28 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:22:29 [ 92%] Linking C executable template-discovery 13:22:29 [ 92%] Built target template-discovery 13:22:29 Scanning dependencies of target device-terminal 13:22:29 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:22:30 [ 96%] Linking C executable device-terminal 13:22:30 [ 96%] Built target device-terminal 13:22:30 Scanning dependencies of target templatev1 13:22:30 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:22:31 [100%] Linking C executable templatev1 13:22:31 [100%] Built target templatev1 13:22:31 + make package 13:22:31 + tee -a release.log 13:22:31 [ 74%] Built target csdk 13:22:31 [ 78%] Built target template 13:22:31 [ 81%] Built target device-counter 13:22:31 [ 85%] Built target device-random 13:22:31 [ 89%] Built target device-gyro 13:22:31 [ 92%] Built target template-discovery 13:22:31 [ 96%] Built target device-terminal 13:22:31 [100%] Built target templatev1 13:22:31 Run CPack packaging tool... 13:22:31 CPack: Create package using TGZ 13:22:31 CPack: Install projects 13:22:31 CPack: - Run preinstall target for: Csdk 13:22:32 CPack: - Install project: Csdk 13:22:32 CPack: Create package 13:22:32 CPack: - package: /tmp/sdk/build/release/csdk-1.2.2-dev.7.tar.gz generated. 13:22:32 + '[' false '=' true ] 13:22:32 + '[' false '=' true ] 13:22:32 + mkdir -p /tmp/sdk/build/debug 13:22:32 + cd /tmp/sdk/build/debug 13:22:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCSDK_BUILD_DEBUG=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:22:33 -- The C compiler identification is GNU 8.3.0 13:22:33 -- Check for working C compiler: /usr/bin/cc 13:22:33 -- Check for working C compiler: /usr/bin/cc -- works 13:22:33 -- Detecting C compiler ABI info 13:22:33 -- Detecting C compiler ABI info - done 13:22:33 -- Detecting C compile features 13:22:34 -- Detecting C compile features - done 13:22:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:22:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 13:22:34 -- Found LIBYAML: /usr/lib/libyaml.so 13:22:34 -- Found LIBUUID: /usr/lib/libuuid.so 13:22:34 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:22:34 -- C SDK 1.2.2-dev.7 for Linux 13:22:34 -- Performing Test CSDK_HAVE_ATOMIC 13:22:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:22:34 -- Found Curses: /usr/lib/libcurses.so 13:22:34 -- Configuring done 13:22:34 -- Generating done 13:22:34 -- Build files have been written to: /tmp/sdk/build/debug 13:22:34 + make 13:22:34 + tee debug.log 13:22:34 Scanning dependencies of target csdk 13:22:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:22:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback.c.o 13:22:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:22:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:22:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:22:36 [ 10%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:22:37 [ 12%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:22:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:22:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:22:38 [ 18%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:22:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:22:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:22:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:22:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:22:40 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:22:40 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:22:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:22:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:22:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:22:41 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:22:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:22:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:22:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:22:42 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:22:42 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:22:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:22:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:22:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:22:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:22:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:22:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:22:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:22:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:22:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:22:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:22:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:22:47 [ 69%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:22:47 [ 70%] Building C object c/CMakeFiles/csdk.dir/v1compat.c.o 13:22:48 [ 72%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:22:48 [ 74%] Linking C shared library libcsdk.so 13:22:48 [ 74%] Built target csdk 13:22:48 Scanning dependencies of target template 13:22:49 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:22:49 [ 78%] Linking C executable template 13:22:49 [ 78%] Built target template 13:22:49 Scanning dependencies of target device-counter 13:22:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:22:49 [ 81%] Linking C executable device-counter 13:22:49 [ 81%] Built target device-counter 13:22:49 Scanning dependencies of target device-random 13:22:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:22:50 [ 85%] Linking C executable device-random 13:22:50 [ 85%] Built target device-random 13:22:50 Scanning dependencies of target device-gyro 13:22:50 [ 87%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:22:50 [ 89%] Linking C executable device-gyro 13:22:50 [ 89%] Built target device-gyro 13:22:50 Scanning dependencies of target template-discovery 13:22:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:22:51 [ 92%] Linking C executable template-discovery 13:22:51 [ 92%] Built target template-discovery 13:22:51 Scanning dependencies of target device-terminal 13:22:51 [ 94%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:22:51 [ 96%] Linking C executable device-terminal 13:22:51 [ 96%] Built target device-terminal 13:22:51 Scanning dependencies of target templatev1 13:22:51 [ 98%] Building C object c/examples/v1/CMakeFiles/templatev1.dir/template.c.o 13:22:52 [100%] Linking C executable templatev1 13:22:52 [100%] Built target templatev1 13:22:52 make: Entering directory '/tmp/sdk/build/release' 13:22:52 make[1]: Entering directory '/tmp/sdk/build/release' 13:22:52 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:52 Scanning dependencies of target csdk 13:22:52 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:52 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:54 [ 3%] Linking C shared library libcsdk.so 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 74%] Built target csdk 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 [ 76%] Linking C executable template 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 78%] Built target template 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 [ 80%] Linking C executable device-counter 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 [ 81%] Built target device-counter 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 [ 83%] Linking C executable device-random 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 [ 85%] Built target device-random 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 [ 87%] Linking C executable device-gyro 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 [ 89%] Built target device-gyro 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 [ 90%] Linking C executable template-discovery 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 [ 92%] Built target template-discovery 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:55 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:55 [ 94%] Linking C executable device-terminal 13:22:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:56 [ 96%] Built target device-terminal 13:22:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:56 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:56 [ 98%] Linking C executable templatev1 13:22:56 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:56 [100%] Built target templatev1 13:22:56 make[1]: Leaving directory '/tmp/sdk/build/release' 13:22:56 Install the project... 13:22:56 -- Install configuration: "Release" 13:22:56 -- Installing: /usr/local/lib/libcsdk.so 13:22:56 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:22:56 -- Up-to-date: /usr/local/include 13:22:56 -- Installing: /usr/local/include/edgex 13:22:56 -- Installing: /usr/local/include/edgex/device-mgmt.h 13:22:56 -- Installing: /usr/local/include/edgex/eventgen.h 13:22:56 -- Installing: /usr/local/include/edgex/error.h 13:22:56 -- Installing: /usr/local/include/edgex/rest-server.h 13:22:56 -- Installing: /usr/local/include/edgex/edgex-base.h 13:22:56 -- Installing: /usr/local/include/edgex/devsdk.h 13:22:56 -- Installing: /usr/local/include/edgex/edgex.h 13:22:56 -- Installing: /usr/local/include/edgex/registry.h 13:22:56 -- Installing: /usr/local/include/edgex/edgex-logging.h 13:22:56 -- Installing: /usr/local/include/edgex/devices.h 13:22:56 -- Installing: /usr/local/include/edgex/os.h 13:22:56 -- Installing: /usr/local/include/edgex/profiles.h 13:22:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:22:56 -- Installing: /usr/local/include/devsdk 13:22:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:22:56 -- Installing: /usr/local/include/devsdk/devsdk.h 13:22:56 -- Installing: /usr/local/include/iot 13:22:56 -- Installing: /usr/local/include/iot/json.h 13:22:56 -- Installing: /usr/local/include/iot/container.h 13:22:56 -- Installing: /usr/local/include/iot/component.h 13:22:56 -- Installing: /usr/local/include/iot/typecode.h 13:22:56 -- Installing: /usr/local/include/iot/iot.h 13:22:56 -- Installing: /usr/local/include/iot/time.h 13:22:56 -- Installing: /usr/local/include/iot/hash.h 13:22:56 -- Installing: /usr/local/include/iot/logger.h 13:22:56 -- Installing: /usr/local/include/iot/os 13:22:56 -- Installing: /usr/local/include/iot/os/zephyr.h 13:22:56 -- Installing: /usr/local/include/iot/os/linux.h 13:22:56 -- Installing: /usr/local/include/iot/scheduler.h 13:22:56 -- Installing: /usr/local/include/iot/data.h 13:22:56 -- Installing: /usr/local/include/iot/thread.h 13:22:56 -- Installing: /usr/local/include/iot/os.h 13:22:56 -- Installing: /usr/local/include/iot/base64.h 13:22:56 -- Installing: /usr/local/include/iot/threadpool.h 13:22:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:22:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:22:56 make: Leaving directory '/tmp/sdk/build/release' 13:22:58 Removing intermediate container d671a01a27e9 13:22:58 ---> 81b7e8e4e8e0 13:22:58 Step 14/21 : FROM ${BASE} 13:22:58 ---> b23d30803547 13:22:58 Step 15/21 : MAINTAINER IOTech 13:22:58 ---> Running in 4961b1837b89 13:22:58 Removing intermediate container 4961b1837b89 13:22:58 ---> 375108bf79d9 13:22:58 Step 16/21 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid 13:22:59 ---> Running in e70baba7bb61 13:23:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:23:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:23:01 (1/3) Installing curl (7.64.0-r3) 13:23:01 (2/3) Installing libuuid (2.33-r0) 13:23:01 (3/3) Installing wget (1.20.3-r0) 13:23:02 Executing busybox-1.29.3-r10.trigger 13:23:02 OK: 281 MiB in 78 packages 13:23:03 Removing intermediate container e70baba7bb61 13:23:03 ---> 755a3d7cf171 13:23:03 Step 17/21 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:23:04 ---> 7c7f3612a3d1 13:23:04 Step 18/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:23:04 ---> 96d81a9a9ed0 13:23:04 Step 19/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:23:05 ---> fa5b3b7c601a 13:23:05 Step 20/21 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:23:06 ---> 2a40e33e094e 13:23:06 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:23:07 ---> 3ce685d23ce1 13:23:07 Successfully built 3ce685d23ce1 13:23:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:23:07 + docker inspect -f . ci-base-image-arm64 13:23:07 . [Pipeline] withDockerContainer 13:23:08 prd-ubuntu18.04-docker-arm64-4c-16g-4884 does not seem to be running inside a container 13:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/31 -v /w/workspace/device-sdk-c/31:/w/workspace/device-sdk-c/31:rw,z -v /w/workspace/device-sdk-c/31@tmp:/w/workspace/device-sdk-c/31@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 ******** ci-base-image-arm64 cat 13:23:09 $ docker top 948e9fc36a1067d91c0bcdc8ab35395924dc49505f2c098b0eb5042bc9bb3a94 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:11 + make test 13:23:11 echo "make test" 13:23:11 make test [Pipeline] } 13:23:11 $ docker stop --time=1 948e9fc36a1067d91c0bcdc8ab35395924dc49505f2c098b0eb5042bc9bb3a94 13:23:13 $ docker rm -f 948e9fc36a1067d91c0bcdc8ab35395924dc49505f2c098b0eb5042bc9bb3a94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:14 + ls -al . 13:23:14 total 196 13:23:14 drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 13:20 . 13:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:20 .. 13:23:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:20 .git 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:20 .github 13:23:14 -rw-rw-r-- 1 jenkins jenkins 176 Jun 30 13:20 .gitignore 13:23:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:20 .semver 13:23:14 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 30 13:20 Attribution.txt 13:23:14 -rw-rw-r-- 1 jenkins jenkins 5323 Jun 30 13:20 CHANGES 13:23:14 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 30 13:20 Doxyfile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 794 Jun 30 13:20 Jenkinsfile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 30 13:20 LICENSE 13:23:14 -rw-rw-r-- 1 jenkins jenkins 449 Jun 30 13:20 Makefile 13:23:14 -rw-rw-r-- 1 jenkins jenkins 1849 Jun 30 13:20 README.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 5229 Jun 30 13:20 README.v2.md 13:23:14 -rw-rw-r-- 1 jenkins jenkins 11 Jun 30 13:18 VERSION 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:20 docs 13:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:20 include 13:23:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:20 scripts 13:23:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:20 src [Pipeline] isUnix [Pipeline] sh 13:23:14 + docker build -t docker-device-sdk-c-arm64 -f scripts/Dockerfile.alpine-3.11 --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0776142c6d3161b910df185b7a9c1c513e53f5f6 --label arch=arm64 --label version=1.2.2-dev.7 . 13:23:15 Sending build context to Docker daemon 3.304MB 13:23:15 Step 1/15 : ARG BASE=alpine:3.11 13:23:15 Step 2/15 : FROM ${BASE} 13:23:15 ---> 3ce685d23ce1 13:23:15 Step 3/15 : MAINTAINER IOTech 13:23:15 ---> Running in 029a5c6b1ca8 13:23:15 Removing intermediate container 029a5c6b1ca8 13:23:15 ---> 5b8bc77661b8 13:23:15 Step 4/15 : 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 && mkdir -p /edgex-c-sdk/build 13:23:15 ---> Running in 990077ddac0f 13:23:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 13:23:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 13:23:18 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 13:23:18 (2/6) Installing libblkid (2.33-r0) 13:23:18 (3/6) Installing libfdisk (2.33-r0) 13:23:18 (4/6) Installing libmount (2.33-r0) 13:23:19 (5/6) Installing libsmartcols (2.33-r0) 13:23:19 (6/6) Installing util-linux-dev (2.33-r0) 13:23:19 Executing busybox-1.29.3-r10.trigger 13:23:19 OK: 286 MiB in 84 packages 13:23:20 Removing intermediate container 990077ddac0f 13:23:20 ---> e4ff5ff6af23 13:23:20 Step 5/15 : COPY VERSION /edgex-c-sdk/ 13:23:21 ---> f9f20ba06f2b 13:23:21 Step 6/15 : COPY src /edgex-c-sdk/src/ 13:23:22 ---> f233eaf8e62d 13:23:22 Step 7/15 : COPY include /edgex-c-sdk/include/ 13:23:22 ---> 61528ac6b134 13:23:22 Step 8/15 : COPY scripts /edgex-c-sdk/scripts 13:23:23 ---> 82246b3e5799 13:23:23 Step 9/15 : COPY LICENSE /edgex-c-sdk/ 13:23:24 ---> b6a4b7d5f965 13:23:24 Step 10/15 : COPY Attribution.txt /edgex-c-sdk/ 13:23:25 ---> 24bd5df22f8f 13:23:25 Step 11/15 : WORKDIR /edgex-c-sdk 13:23:25 ---> Running in e14220f0c706 13:23:25 Removing intermediate container e14220f0c706 13:23:25 ---> f44b09516260 13:23:25 Step 12/15 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:23:25 ---> Running in 305208c55c47 13:23:26 Removing intermediate container 305208c55c47 13:23:26 ---> ef97c6e61c2e 13:23:26 Step 13/15 : LABEL arch=arm64 13:23:26 ---> Running in 842cf2c4817a 13:23:26 Removing intermediate container 842cf2c4817a 13:23:26 ---> 810b86b7d452 13:23:26 Step 14/15 : LABEL git_sha=0776142c6d3161b910df185b7a9c1c513e53f5f6 13:23:26 ---> Running in 234114015c47 13:23:27 Removing intermediate container 234114015c47 13:23:27 ---> fee555e01de3 13:23:27 Step 15/15 : LABEL version=1.2.2-dev.7 13:23:27 ---> Running in 4ddb0c53cc7a 13:23:28 Removing intermediate container 4ddb0c53cc7a 13:23:28 ---> 18e79f0e53ad 13:23:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:23:28 Successfully built 18e79f0e53ad 13:23:28 Successfully tagged docker-device-sdk-c-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] stage [Pipeline] { (Snap) Stage "Snap" 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] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 13:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:23:29 . [Pipeline] withDockerContainer 13:23:29 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:23:29 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:23:30 $ docker top 11f1b6f6b824f58054f37be0ffc53db9c019644fec81714b673a833568c9f92c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:23:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:23:30 [ssh-agent] Looking for ssh-agent implementation... 13:23:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:23:30 $ docker exec 11f1b6f6b824f58054f37be0ffc53db9c019644fec81714b673a833568c9f92c ssh-agent 13:23:30 SSH_AUTH_SOCK=/tmp/ssh-WnCLS0oMWVpC/agent.12 13:23:30 SSH_AGENT_PID=17 13:23:30 Running ssh-add (command line suppressed) 13:23:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6145188799242199730.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_6145188799242199730.key) 13:23:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:23:31 + git semver tag 13:23:31 # -> Open(): unable to determine branch for HEAD 13:23:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 13:23:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 13:23:31 # $SEMVER_REMOTE_NAME = origin 13:23:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:23:31 # $SEMVER_USER_NAME = edgex-jenkins 13:23:31 # $SEMVER_BRANCH = master 13:23:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 13:23:31 # 0776142c6d3161b910df185b7a9c1c513e53f5f6 HEAD 13:23:31 # -> Force: false 13:23:31 # ad1cf437e80f1d3817b319bbee7f018df19e1959 refs/tags/v1.2.2-dev.7 [Pipeline] } 13:23:31 $ docker exec --env ******** --env ******** 11f1b6f6b824f58054f37be0ffc53db9c019644fec81714b673a833568c9f92c ssh-agent -k 13:23:31 unset SSH_AUTH_SOCK; 13:23:31 unset SSH_AGENT_PID; 13:23:31 echo Agent pid 17 killed; 13:23:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:23:32 + git semver [Pipeline] } 13:23:32 $ docker stop --time=1 11f1b6f6b824f58054f37be0ffc53db9c019644fec81714b673a833568c9f92c 13:23:33 $ docker rm -f 11f1b6f6b824f58054f37be0ffc53db9c019644fec81714b673a833568c9f92c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:23:33 13:23:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:23:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:23:34 0.23.1-centos7: Pulling from edgex-lftools 13:23:34 ab5ef0e58194: Pulling fs layer 13:23:34 9712f1f96733: Pulling fs layer 13:23:34 63f879dbbcfc: Pulling fs layer 13:23:34 0d9ebad4ef96: Pulling fs layer 13:23:34 e9a5061849ea: Pulling fs layer 13:23:34 d747dcd14b5f: Pulling fs layer 13:23:34 2de7ff778b66: Pulling fs layer 13:23:34 e9a5061849ea: Waiting 13:23:34 d747dcd14b5f: Waiting 13:23:34 2de7ff778b66: Waiting 13:23:34 0d9ebad4ef96: Waiting 13:23:34 9712f1f96733: Verifying Checksum 13:23:34 9712f1f96733: Download complete 13:23:34 63f879dbbcfc: Verifying Checksum 13:23:34 63f879dbbcfc: Download complete 13:23:35 0d9ebad4ef96: Verifying Checksum 13:23:35 0d9ebad4ef96: Download complete 13:23:35 e9a5061849ea: Verifying Checksum 13:23:35 e9a5061849ea: Download complete 13:23:35 d747dcd14b5f: Verifying Checksum 13:23:35 d747dcd14b5f: Download complete 13:23:35 ab5ef0e58194: Verifying Checksum 13:23:35 ab5ef0e58194: Download complete 13:23:35 2de7ff778b66: Verifying Checksum 13:23:35 2de7ff778b66: Download complete 13:23:42 ab5ef0e58194: Pull complete 13:23:42 9712f1f96733: Pull complete 13:23:44 63f879dbbcfc: Pull complete 13:23:52 0d9ebad4ef96: Pull complete 13:23:53 e9a5061849ea: Pull complete 13:23:53 d747dcd14b5f: Pull complete 13:23:56 2de7ff778b66: Pull complete 13:23:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:23:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:23:57 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:24:00 $ docker top dee20fa806f1e1bcf6acca6cd6fee413dd4bee950c323fb47909573669c3ba14 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:24:00 provisioning config files... 13:24:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config512895640796998418tmp 13:24:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config6911411140029735165tmp 13:24:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config5106466701707294173tmp [Pipeline] { [Pipeline] echo 13:24:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:24:01 ---> sigul-configuration.sh 13:24:01 gpg: directory `/root/.gnupg' created 13:24:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:24:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:24:01 gpg: keyring `/root/.gnupg/secring.gpg' created 13:24:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:24:01 gpg: CAST5 encrypted data 13:24:01 gpg: encrypted with 1 passphrase 13:24:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:24:01 + mkdir /home/jenkins 13:24:01 + mkdir /home/jenkins/sigul [Pipeline] sh 13:24:02 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 13:24:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:24:02 ---> sigul-install.sh 13:24:09 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 13:24:09 + git tag --list 13:24:09 v1.2.2-dev.7 [Pipeline] sh 13:24:10 + lftools sign git-tag v1.2.2-dev.7 13:24:11 Signing Git tag with Sigul... 13:24:11 Signing v1.2.2-dev.7 [Pipeline] echo 13:24:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:24:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:24:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:24:13 $ docker stop --time=1 dee20fa806f1e1bcf6acca6cd6fee413dd4bee950c323fb47909573669c3ba14 13:24:15 $ docker rm -f dee20fa806f1e1bcf6acca6cd6fee413dd4bee950c323fb47909573669c3ba14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 13:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:24:15 . [Pipeline] withDockerContainer 13:24:15 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:24:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:24:16 $ docker top 8ded98c0f510449775585ac5aaeb13cf30cf816f1066af6f9d4845292dbfb28e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:24:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:17 [ssh-agent] Looking for ssh-agent implementation... 13:24:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:17 $ docker exec 8ded98c0f510449775585ac5aaeb13cf30cf816f1066af6f9d4845292dbfb28e ssh-agent 13:24:17 SSH_AUTH_SOCK=/tmp/ssh-4FL0PM63tYmy/agent.12 13:24:17 SSH_AGENT_PID=18 13:24:17 Running ssh-add (command line suppressed) 13:24:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1737515431280049365.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1737515431280049365.key) 13:24:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:18 + git semver bump pre 13:24:18 # -> Open(): unable to determine branch for HEAD 13:24:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 13:24:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 13:24:18 # $SEMVER_REMOTE_NAME = origin 13:24:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:24:18 # $SEMVER_USER_NAME = edgex-jenkins 13:24:18 # $SEMVER_BRANCH = master 13:24:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver 13:24:18 1.2.2-dev.8 [Pipeline] } 13:24:18 $ docker exec --env ******** --env ******** 8ded98c0f510449775585ac5aaeb13cf30cf816f1066af6f9d4845292dbfb28e ssh-agent -k 13:24:18 unset SSH_AUTH_SOCK; 13:24:18 unset SSH_AGENT_PID; 13:24:18 echo Agent pid 18 killed; 13:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:24:18 + git semver [Pipeline] } 13:24:18 $ docker stop --time=1 8ded98c0f510449775585ac5aaeb13cf30cf816f1066af6f9d4845292dbfb28e 13:24:20 $ docker rm -f 8ded98c0f510449775585ac5aaeb13cf30cf816f1066af6f9d4845292dbfb28e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 13:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:24:20 . [Pipeline] withDockerContainer 13:24:20 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:24:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:24:21 $ docker top 89088f8c294a81bb542766f9d19ce71818950321b4a3ca383acdb7c0221cd47d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:24:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:24:21 [ssh-agent] Looking for ssh-agent implementation... 13:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:24:21 $ docker exec 89088f8c294a81bb542766f9d19ce71818950321b4a3ca383acdb7c0221cd47d ssh-agent 13:24:22 SSH_AUTH_SOCK=/tmp/ssh-jMjLjzqX7FDM/agent.11 13:24:22 SSH_AGENT_PID=16 13:24:22 Running ssh-add (command line suppressed) 13:24:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1391356048455954977.key (/w/workspace/edgexfoundry_device-sdk-c_master@tmp/private_key_1391356048455954977.key) 13:24:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:24:22 + git semver push 13:24:22 # -> Open(): unable to determine branch for HEAD 13:24:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.git 13:24:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_master 13:24:22 # $SEMVER_REMOTE_NAME = origin 13:24:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:24:22 # $SEMVER_USER_NAME = edgex-jenkins 13:24:22 # $SEMVER_BRANCH = master 13:24:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_master/.semver [Pipeline] } 13:24:29 $ docker exec --env ******** --env ******** 89088f8c294a81bb542766f9d19ce71818950321b4a3ca383acdb7c0221cd47d ssh-agent -k 13:24:29 unset SSH_AUTH_SOCK; 13:24:29 unset SSH_AGENT_PID; 13:24:29 echo Agent pid 16 killed; 13:24:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:24:29 + git semver [Pipeline] } 13:24:29 $ docker stop --time=1 89088f8c294a81bb542766f9d19ce71818950321b4a3ca383acdb7c0221cd47d 13:24:31 $ docker rm -f 89088f8c294a81bb542766f9d19ce71818950321b4a3ca383acdb7c0221cd47d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:24:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:32 ---> package-listing.sh 13:24:32 ++ facter osfamily 13:24:32 ++ tr '[:upper:]' '[:lower:]' 13:24:32 + OS_FAMILY=redhat 13:24:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_master 13:24:32 + START_PACKAGES=/tmp/packages_start.txt 13:24:32 + END_PACKAGES=/tmp/packages_end.txt 13:24:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:32 + PACKAGES=/tmp/packages_start.txt 13:24:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 13:24:32 + PACKAGES=/tmp/packages_end.txt 13:24:32 + case "${OS_FAMILY}" in 13:24:32 + rpm -qa 13:24:32 + sort 13:24:37 + '[' -f /tmp/packages_start.txt ']' 13:24:37 + '[' -f /tmp/packages_end.txt ']' 13:24:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:37 + '[' /w/workspace/edgexfoundry_device-sdk-c_master ']' 13:24:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_master/archives/ 13:24:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_master/archives/ [Pipeline] isUnix [Pipeline] sh 13:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:38 13:24:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:38 alpine: Pulling from edgex-lftools-log-publisher 13:24:38 c9b1b535fdd9: Pulling fs layer 13:24:38 2cc5ad85d9ab: Pulling fs layer 13:24:38 756a868c4378: Pulling fs layer 13:24:38 444b2fc9a129: Pulling fs layer 13:24:38 ea15f1150254: Pulling fs layer 13:24:38 41b27a9f41bf: Pulling fs layer 13:24:38 28c525ee5125: Pulling fs layer 13:24:38 094b1ea09ed8: Pulling fs layer 13:24:38 138eaada9080: Pulling fs layer 13:24:38 0622d0fa9048: Pulling fs layer 13:24:38 41b27a9f41bf: Waiting 13:24:38 28c525ee5125: Waiting 13:24:38 094b1ea09ed8: Waiting 13:24:38 138eaada9080: Waiting 13:24:38 0622d0fa9048: Waiting 13:24:38 444b2fc9a129: Waiting 13:24:38 ea15f1150254: Waiting 13:24:38 2cc5ad85d9ab: Download complete 13:24:38 444b2fc9a129: Verifying Checksum 13:24:38 444b2fc9a129: Download complete 13:24:38 c9b1b535fdd9: Verifying Checksum 13:24:38 c9b1b535fdd9: Download complete 13:24:39 ea15f1150254: Verifying Checksum 13:24:39 ea15f1150254: Download complete 13:24:39 28c525ee5125: Verifying Checksum 13:24:39 28c525ee5125: Download complete 13:24:39 c9b1b535fdd9: Pull complete 13:24:39 756a868c4378: Verifying Checksum 13:24:39 756a868c4378: Download complete 13:24:39 138eaada9080: Download complete 13:24:39 0622d0fa9048: Verifying Checksum 13:24:39 0622d0fa9048: Download complete 13:24:39 2cc5ad85d9ab: Pull complete 13:24:39 094b1ea09ed8: Verifying Checksum 13:24:39 094b1ea09ed8: Download complete 13:24:40 41b27a9f41bf: Verifying Checksum 13:24:40 41b27a9f41bf: Download complete 13:24:42 756a868c4378: Pull complete 13:24:42 444b2fc9a129: Pull complete 13:24:42 ea15f1150254: Pull complete 13:24:47 41b27a9f41bf: Pull complete 13:24:47 28c525ee5125: Pull complete 13:24:51 094b1ea09ed8: Pull complete 13:24:51 138eaada9080: Pull complete 13:24:51 0622d0fa9048: Pull complete 13:24:51 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:24:51 prd-centos7-docker-4c-2g-4883 does not seem to be running inside a container 13:24:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-sdk-c_master -v /w/workspace/edgexfoundry_device-sdk-c_master:/w/workspace/edgexfoundry_device-sdk-c_master:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_master@tmp:/w/workspace/edgexfoundry_device-sdk-c_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:24:54 $ docker top 38659f068b708639e2a4c323b97e2ffbb32b1836ebfe12893c9f24a491109b76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:54 provisioning config files... 13:24:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_master@tmp/config3736829539410038244tmp [Pipeline] { [Pipeline] echo 13:24:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:55 ---> create-netrc.sh [Pipeline] echo 13:24:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:55 ---> logs-deploy.sh 13:24:55 + ARCHIVE_ARTIFACTS= 13:24:55 + LOGS_SERVER=https://logs.edgexfoundry.org 13:24:55 + '[' https://logs.edgexfoundry.org == None ']' 13:24:55 + NEXUS_URL=https://nexus.edgexfoundry.org 13:24:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/31 13:24:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/31/ 13:24:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/31 /w/workspace/edgexfoundry_device-sdk-c_master 13:24:57 Archives upload complete. 13:24:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/master/31 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/master/31/ 13:24:58 ---> uname -a: 13:24:58 Linux 38659f068b70 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 13:24:58 13:24:58