Pull request #268 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d+30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 (061dc3a54f1576611bc228a312ef75d01bd1ee11) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-268/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # 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.9-base, dockerFilePath:scripts/Dockerfile.alpine-3.9, 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.9 DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-3.9-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2949 in /w/workspace/edgexfoundry_device-sdk-c_PR-268 [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 Fetching without tags > git init /w/workspace/edgexfoundry_device-sdk-c_PR-268 # 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/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/268/head:refs/remotes/origin/PR-268 # 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/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 into PR head commit 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d Merge succeeded, producing 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d Checking out Revision 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 Commit message: "feat: Serialiaze events for transmission to core-data with configurable queue length" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:46 ========================================================= 20:54:46 EdgeX Global Pipelines Version Info 20:54:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:54:49 ------------------- 20:54:49 stable info: 20:54:49 ------------------- 20:54:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:49 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:54:49 Message: update stable to v1.0.89 20:54:50 ------------------- 20:54:50 experimental info: 20:54:50 ------------------- 20:54:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:50 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:54:50 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 20:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:52 20:54:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:54:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:53 latest: Pulling from edgex-devops/git-semver 20:54:53 9123ac7c32f7: Pulling fs layer 20:54:53 b8cc5d1170e3: Pulling fs layer 20:54:53 2924cbbf6a41: Pulling fs layer 20:54:53 93b08a4f1073: Pulling fs layer 20:54:53 93b08a4f1073: Waiting 20:54:53 b8cc5d1170e3: Verifying Checksum 20:54:53 b8cc5d1170e3: Download complete 20:54:53 9123ac7c32f7: Verifying Checksum 20:54:53 9123ac7c32f7: Download complete 20:54:53 93b08a4f1073: Verifying Checksum 20:54:53 93b08a4f1073: Download complete 20:54:53 2924cbbf6a41: Verifying Checksum 20:54:53 2924cbbf6a41: Download complete 20:54:54 9123ac7c32f7: Pull complete 20:54:54 b8cc5d1170e3: Pull complete 20:54:55 2924cbbf6a41: Pull complete 20:54:55 93b08a4f1073: Pull complete 20:54:55 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:54:55 prd-centos7-docker-4c-2g-2949 does not seem to be running inside a container 20:54:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-268 -v /w/workspace/edgexfoundry_device-sdk-c_PR-268:/w/workspace/edgexfoundry_device-sdk-c_PR-268:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:54:58 $ docker top 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:58 [ssh-agent] Looking for ssh-agent implementation... 20:54:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:58 $ docker exec 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc ssh-agent 20:54:59 SSH_AUTH_SOCK=/tmp/ssh-SZNGDuycgcq6/agent.12 20:54:59 SSH_AGENT_PID=18 20:54:59 Running ssh-add (command line suppressed) 20:54:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp/private_key_992382662273323306.key (/w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp/private_key_992382662273323306.key) 20:54:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:59 + git describe --exact-match --tags HEAD 20:54:59 fatal: No names found, cannot describe anything. [Pipeline] } 20:55:00 $ docker exec --env ******** --env ******** 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc ssh-agent -k 20:55:00 unset SSH_AUTH_SOCK; 20:55:00 unset SSH_AGENT_PID; 20:55:00 echo Agent pid 18 killed; 20:55:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:55:00 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:55:00 This usually means this commit has not been tagged. [Pipeline] sshagent 20:55:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:00 [ssh-agent] Looking for ssh-agent implementation... 20:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:01 $ docker exec 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc ssh-agent 20:55:01 SSH_AUTH_SOCK=/tmp/ssh-Gy0V51se00GY/agent.47 20:55:01 SSH_AGENT_PID=52 20:55:01 Running ssh-add (command line suppressed) 20:55:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp/private_key_5519773568486434669.key (/w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp/private_key_5519773568486434669.key) 20:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:02 + git semver init 20:55:02 # -> Open(): unable to determine branch for HEAD 20:55:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-268/.git 20:55:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-268 20:55:02 # $SEMVER_REMOTE_NAME = origin 20:55:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:55:02 # $SEMVER_USER_NAME = edgex-jenkins 20:55:02 # $SEMVER_BRANCH = PR-268 20:55:02 # $SEMVER_TEMP = /tmp/semver-329149384 20:55:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 20:55:03 # '/tmp/semver-329149384' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-268/.semver' 20:55:03 # -> Force: false 20:55:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-268/.semver [Pipeline] } 20:55:04 $ docker exec --env ******** --env ******** 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc ssh-agent -k 20:55:04 unset SSH_AUTH_SOCK; 20:55:04 unset SSH_AGENT_PID; 20:55:04 echo Agent pid 52 killed; 20:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:04 + git semver [Pipeline] } 20:55:04 $ docker stop --time=1 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc 20:55:06 $ docker rm -f 58d0548264db042248e87d7c6b5e351e794634175f417eaff0c59b897b112ecc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:55:07 Stashed 48 file(s) [Pipeline] echo 20:55:07 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:55:23 Still waiting to schedule task 20:55:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2949’ 20:55:23 Still waiting to schedule task 20:55:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 20:57:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2950 in /w/workspace/edgexfoundry_device-sdk-c_PR-268 [Pipeline] { [Pipeline] ws 20:57:04 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 20:57:08 using credential edgex-jenkins-ssh 20:57:08 Cloning the remote Git repository 20:57:08 Cloning with configured refspecs honoured and without tags 20:57:09 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 20:57:09 > git init /w/workspace/device-sdk-c/1 # timeout=10 20:57:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:57:09 > git --version # timeout=10 20:57:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:57:10 > git config --add remote.origin.fetch +refs/pull/268/head:refs/remotes/origin/PR-268 # timeout=10 20:57:10 Fetching without tags 20:57:10 Merging remotes/origin/master commit 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 into PR head commit 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d 20:57:11 Merge succeeded, producing 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d 20:57:11 Checking out Revision 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d (PR-268) 20:57:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:57:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:57:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:10 > git config core.sparsecheckout # timeout=10 20:57:10 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 20:57:11 > git remote # timeout=10 20:57:11 > git config --get remote.origin.url # timeout=10 20:57:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:11 > git merge 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 # timeout=10 20:57:11 > git rev-parse HEAD^{commit} # timeout=10 20:57:11 > git config core.sparsecheckout # timeout=10 20:57:11 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 20:57:15 Commit message: "feat: Serialiaze events for transmission to core-data with configurable queue length" 20:57:15 > git --version # timeout=10 20:57:15 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:57:17 ========================================================= 20:57:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 20:57:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:57:18 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 20:57:19 Sending build context to Docker daemon 3.238MB 20:57:19 Step 1/21 : ARG BASE=alpine:3.9 20:57:19 Step 2/21 : FROM ${BASE} as builder 20:57:19 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 20:57:19 0362ad1dd800: Pulling fs layer 20:57:19 f2cdb1532d8b: Pulling fs layer 20:57:19 37ed683be191: Pulling fs layer 20:57:19 f2cdb1532d8b: Download complete 20:57:19 0362ad1dd800: Download complete 20:57:20 0362ad1dd800: Pull complete 20:57:20 f2cdb1532d8b: Pull complete 20:57:22 37ed683be191: Verifying Checksum 20:57:22 37ed683be191: Download complete 20:57:32 37ed683be191: Pull complete 20:57:32 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 20:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 20:57:32 ---> b23d30803547 20:57:32 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 20:57:33 ---> Running in 90b7298f1317 20:57:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 20:57:40 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz: temporary error (try again later) 20:57:40 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 20:57:44 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz: temporary error (try again later) 20:57:44 ERROR: unsatisfiable constraints: 20:57:44  ncurses-dev (missing): 20:57:44 required by: world[ncurses-dev] 20:57:44 util-linux-dev (missing): 20:57:44 required by: world[util-linux-dev] 20:57:44 wget (missing): 20:57:44 required by: world[wget] 20:57:45 The command '/bin/sh -c apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev' returned a non-zero code: 3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:57:47 Failed in branch arm64 20:58:00 Running on prd-centos7-docker-4c-2g-2951 in /w/workspace/edgexfoundry_device-sdk-c_PR-268 [Pipeline] { [Pipeline] ws 20:58:00 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 20:58:02 using credential edgex-jenkins-ssh 20:58:02 Cloning the remote Git repository 20:58:02 Cloning with configured refspecs honoured and without tags 20:58:02 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 20:58:02 > git init /w/workspace/device-sdk-c/1 # timeout=10 20:58:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:58:02 > git --version # timeout=10 20:58:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:03 Fetching without tags 20:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:58:03 > git config --add remote.origin.fetch +refs/pull/268/head:refs/remotes/origin/PR-268 # timeout=10 20:58:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 20:58:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 20:58:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:58:04 Merging remotes/origin/master commit 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 into PR head commit 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d 20:58:04 Merge succeeded, producing 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d 20:58:04 Checking out Revision 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d (PR-268) 20:58:04 > git config core.sparsecheckout # timeout=10 20:58:04 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 20:58:04 > git remote # timeout=10 20:58:04 > git config --get remote.origin.url # timeout=10 20:58:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:04 > git merge 30b1a7a38ff7fa727602da3b16feb5ed014ed1c2 # timeout=10 20:58:04 > git rev-parse HEAD^{commit} # timeout=10 20:58:04 > git config core.sparsecheckout # timeout=10 20:58:04 > git checkout -f 51dde0c3b667fe9f6e3e2ad2dcbacb313bda724d # timeout=10 20:58:08 Commit message: "feat: Serialiaze events for transmission to core-data with configurable queue length" 20:58:08 > git --version # timeout=10 20:58:08 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:58:09 ========================================================= 20:58:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 20:58:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:58:09 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-3.9-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 20:58:10 Sending build context to Docker daemon 3.238MB 20:58:10 Step 1/21 : ARG BASE=alpine:3.9 20:58:10 Step 2/21 : FROM ${BASE} as builder 20:58:10 latest: Pulling from edgex-devops/edgex-gcc-base 20:58:10 e7c96db7181b: Pulling fs layer 20:58:10 4c13bbce0fe7: Pulling fs layer 20:58:10 6059c847ac2f: Pulling fs layer 20:58:10 4c13bbce0fe7: Verifying Checksum 20:58:10 4c13bbce0fe7: Download complete 20:58:10 e7c96db7181b: Verifying Checksum 20:58:10 e7c96db7181b: Download complete 20:58:10 e7c96db7181b: Pull complete 20:58:11 4c13bbce0fe7: Pull complete 20:58:11 6059c847ac2f: Verifying Checksum 20:58:11 6059c847ac2f: Download complete 20:58:15 6059c847ac2f: Pull complete 20:58:15 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 20:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 20:58:15 ---> 5eabd8fd8ba2 20:58:15 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 20:58:17 ---> Running in 7c84a400c10c 20:58:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 20:58:22 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 20:58:22 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz: temporary error (try again later) 20:58:28 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz: temporary error (try again later) 20:58:28 ERROR: unsatisfiable constraints: 20:58:28  ncurses-dev (missing): 20:58:28 required by: world[ncurses-dev] 20:58:28 util-linux-dev (missing): 20:58:28 required by: world[util-linux-dev] 20:58:28 wget (missing): 20:58:28 required by: world[wget] 20:58:28 The command '/bin/sh -c apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev' returned a non-zero code: 3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:29 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:58:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:58:31 ---> package-listing.sh 20:58:31 ++ facter osfamily 20:58:31 ++ tr '[:upper:]' '[:lower:]' 20:58:31 + OS_FAMILY=redhat 20:58:31 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-268 20:58:31 + START_PACKAGES=/tmp/packages_start.txt 20:58:31 + END_PACKAGES=/tmp/packages_end.txt 20:58:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:58:31 + PACKAGES=/tmp/packages_start.txt 20:58:31 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-268 ']' 20:58:31 + PACKAGES=/tmp/packages_end.txt 20:58:31 + case "${OS_FAMILY}" in 20:58:31 + sort 20:58:31 + rpm -qa 20:58:36 + '[' -f /tmp/packages_start.txt ']' 20:58:36 + '[' -f /tmp/packages_end.txt ']' 20:58:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:58:36 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-268 ']' 20:58:36 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-268/archives/ 20:58:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-268/archives/ [Pipeline] isUnix [Pipeline] sh 20:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:36 20:58:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:58:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:37 alpine: Pulling from edgex-lftools-log-publisher 20:58:37 c9b1b535fdd9: Pulling fs layer 20:58:37 2cc5ad85d9ab: Pulling fs layer 20:58:37 756a868c4378: Pulling fs layer 20:58:37 444b2fc9a129: Pulling fs layer 20:58:37 ea15f1150254: Pulling fs layer 20:58:37 41b27a9f41bf: Pulling fs layer 20:58:37 28c525ee5125: Pulling fs layer 20:58:37 094b1ea09ed8: Pulling fs layer 20:58:37 138eaada9080: Pulling fs layer 20:58:37 0622d0fa9048: Pulling fs layer 20:58:37 41b27a9f41bf: Waiting 20:58:37 28c525ee5125: Waiting 20:58:37 094b1ea09ed8: Waiting 20:58:37 138eaada9080: Waiting 20:58:37 0622d0fa9048: Waiting 20:58:37 444b2fc9a129: Waiting 20:58:37 ea15f1150254: Waiting 20:58:37 2cc5ad85d9ab: Verifying Checksum 20:58:37 2cc5ad85d9ab: Download complete 20:58:37 444b2fc9a129: Verifying Checksum 20:58:37 444b2fc9a129: Download complete 20:58:37 c9b1b535fdd9: Verifying Checksum 20:58:37 c9b1b535fdd9: Download complete 20:58:37 ea15f1150254: Download complete 20:58:37 28c525ee5125: Verifying Checksum 20:58:37 28c525ee5125: Download complete 20:58:37 c9b1b535fdd9: Pull complete 20:58:38 756a868c4378: Verifying Checksum 20:58:38 756a868c4378: Download complete 20:58:38 2cc5ad85d9ab: Pull complete 20:58:39 094b1ea09ed8: Verifying Checksum 20:58:39 094b1ea09ed8: Download complete 20:58:40 0622d0fa9048: Verifying Checksum 20:58:40 0622d0fa9048: Download complete 20:58:40 138eaada9080: Verifying Checksum 20:58:40 138eaada9080: Download complete 20:58:41 756a868c4378: Pull complete 20:58:41 41b27a9f41bf: Verifying Checksum 20:58:41 41b27a9f41bf: Download complete 20:58:41 444b2fc9a129: Pull complete 20:58:42 ea15f1150254: Pull complete 20:58:47 41b27a9f41bf: Pull complete 20:58:47 28c525ee5125: Pull complete 20:58:51 094b1ea09ed8: Pull complete 20:58:52 138eaada9080: Pull complete 20:58:52 0622d0fa9048: Pull complete 20:58:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:58:52 prd-centos7-docker-4c-2g-2949 does not seem to be running inside a container 20:58:52 $ 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_PR-268 -v /w/workspace/edgexfoundry_device-sdk-c_PR-268:/w/workspace/edgexfoundry_device-sdk-c_PR-268:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:58:56 $ docker top 48205ec73ad6e7f7418abb7ccdfd9f5761dd8248538d08828f83d8646c170f7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:57 provisioning config files... 20:58:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-268@tmp/config5163647622057716484tmp [Pipeline] { [Pipeline] echo 20:58:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:58:58 ---> create-netrc.sh [Pipeline] echo 20:58:58 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:58:58 ---> logs-deploy.sh 20:58:58 + ARCHIVE_ARTIFACTS= 20:58:58 + LOGS_SERVER=https://logs.edgexfoundry.org 20:58:58 + '[' https://logs.edgexfoundry.org == None ']' 20:58:58 + NEXUS_URL=https://nexus.edgexfoundry.org 20:58:58 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-268/1 20:58:58 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-268/1/ 20:58:58 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-268/1 /w/workspace/edgexfoundry_device-sdk-c_PR-268 20:59:00 Archives upload complete. 20:59:00 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-268/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-c/job/PR-268/1/