Pull request #503 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fb4ef531f7f89b04d3574cd50796b36f2b0daafe+0e104270bcdba6d57d1eb654a33ea3a0d313d58c (1050ff37c837f2228a8637a0272df187756cdb7c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, 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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5322 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [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-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-503 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # 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-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # 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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 Commit message: "feature(environment): Allow uppercase environment overrides" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:48:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:48:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:48:13 ========================================================= 17:48:13 EdgeX Global Pipelines Version Info 17:48:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:48:15 ------------------- 17:48:15 stable info: 17:48:15 ------------------- 17:48:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:48:15 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 17:48:15 Message: update stable to v1.0.73 17:48:15 ------------------- 17:48:15 experimental info: 17:48:15 ------------------- 17:48:15 Commited By: **** collab-it+edgex@linuxfoundation.org 17:48:15 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 17:48:15 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:48:17 17:48:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:48:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:48:18 latest: Pulling from edgex-devops/git-semver 17:48:18 9123ac7c32f7: Pulling fs layer 17:48:18 b8cc5d1170e3: Pulling fs layer 17:48:18 2924cbbf6a41: Pulling fs layer 17:48:18 93b08a4f1073: Pulling fs layer 17:48:18 93b08a4f1073: Waiting 17:48:18 b8cc5d1170e3: Verifying Checksum 17:48:18 b8cc5d1170e3: Download complete 17:48:18 9123ac7c32f7: Download complete 17:48:18 93b08a4f1073: Verifying Checksum 17:48:18 93b08a4f1073: Download complete 17:48:18 2924cbbf6a41: Verifying Checksum 17:48:18 2924cbbf6a41: Download complete 17:48:18 9123ac7c32f7: Pull complete 17:48:18 b8cc5d1170e3: Pull complete 17:48:19 2924cbbf6a41: Pull complete 17:48:19 93b08a4f1073: Pull complete 17:48:19 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 17:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:48:20 prd-centos7-docker-4c-2g-5322 does not seem to be running inside a container 17:48:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-503 -v /w/workspace/dgexfoundry_device-sdk-go_PR-503:/w/workspace/dgexfoundry_device-sdk-go_PR-503:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:48:20 $ docker top 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:21 [ssh-agent] Looking for ssh-agent implementation... 17:48:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:21 $ docker exec 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent 17:48:21 SSH_AUTH_SOCK=/tmp/ssh-ymYvzwLdTVaE/agent.16 17:48:21 SSH_AGENT_PID=23 17:48:21 Running ssh-add (command line suppressed) 17:48:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_1387726436282162581.key (/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_1387726436282162581.key) 17:48:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:22 + git describe --exact-match --tags HEAD 17:48:22 fatal: No names found, cannot describe anything. [Pipeline] } 17:48:22 $ docker exec --env ******** --env ******** 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent -k 17:48:22 unset SSH_AUTH_SOCK; 17:48:22 unset SSH_AGENT_PID; 17:48:22 echo Agent pid 23 killed; 17:48:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:48:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:48:22 This usually means this commit has not been tagged. [Pipeline] sshagent 17:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:22 [ssh-agent] Looking for ssh-agent implementation... 17:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:22 $ docker exec 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent 17:48:23 SSH_AUTH_SOCK=/tmp/ssh-UHTxarDtxJ8a/agent.58 17:48:23 SSH_AGENT_PID=65 17:48:23 Running ssh-add (command line suppressed) 17:48:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_2534491172936145583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_2534491172936145583.key) 17:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:23 + git semver init 17:48:23 # -> Open(): unable to determine branch for HEAD 17:48:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-503/.git 17:48:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-503 17:48:23 # $SEMVER_REMOTE_NAME = origin 17:48:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:48:23 # $SEMVER_USER_NAME = edgex-jenkins 17:48:23 # $SEMVER_BRANCH = PR-503 17:48:23 # $SEMVER_TEMP = /tmp/semver-079239405 17:48:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:48:24 # '/tmp/semver-079239405' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-503/.semver' 17:48:24 # -> Force: false 17:48:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-503/.semver [Pipeline] } 17:48:24 $ docker exec --env ******** --env ******** 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent -k 17:48:24 unset SSH_AUTH_SOCK; 17:48:24 unset SSH_AGENT_PID; 17:48:24 echo Agent pid 65 killed; 17:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:48:24 + git semver [Pipeline] } 17:48:25 $ docker stop --time=1 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f 17:48:26 $ docker rm -f 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:48:27 Stashed 52 file(s) [Pipeline] echo 17:48:27 [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 17:48:42 Still waiting to schedule task 17:48:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:48:42 Still waiting to schedule task 17:48:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:50:13 Running on prd-centos7-docker-4c-2g-5324 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [Pipeline] { [Pipeline] ws 17:50:13 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:50:15 using credential edgex-jenkins-ssh 17:50:15 Cloning the remote Git repository 17:50:15 Cloning with configured refspecs honoured and without tags 17:50:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:50:15 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:50:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:50:15 > git --version # timeout=10 17:50:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:50:16 Fetching without tags 17:50:17 Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:50:17 Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:50:17 Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) 17:50:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:50:16 > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # timeout=10 17:50:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:50:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:50:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:50:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:50:16 > git config core.sparsecheckout # timeout=10 17:50:16 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 17:50:17 > git remote # timeout=10 17:50:17 > git config --get remote.origin.url # timeout=10 17:50:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:17 > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 17:50:17 > git rev-parse HEAD^{commit} # timeout=10 17:50:17 > git config core.sparsecheckout # timeout=10 17:50:17 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 17:50:20 Commit message: "feature(environment): Allow uppercase environment overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:50:21 ========================================================= 17:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:50:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:50:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 17:50:22 Sending build context to Docker daemon 3.008MB 17:50:22 Step 1/8 : ARG BASE=golang:1.13-alpine 17:50:22 Step 2/8 : FROM ${BASE} 17:50:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:50:22 e6b0cf9c0882: Pulling fs layer 17:50:22 2848faf0eed1: Pulling fs layer 17:50:22 0f37312ad70f: Pulling fs layer 17:50:22 5788d62ee057: Pulling fs layer 17:50:22 0e6b1d234666: Pulling fs layer 17:50:22 bf5d7aec512f: Pulling fs layer 17:50:22 34c802a77dc8: Pulling fs layer 17:50:22 9eb99e56ec68: Pulling fs layer 17:50:22 27c7a5d97fbd: Pulling fs layer 17:50:22 5c102a31e300: Pulling fs layer 17:50:22 dcfb455df0a1: Pulling fs layer 17:50:22 34c802a77dc8: Waiting 17:50:22 9eb99e56ec68: Waiting 17:50:22 27c7a5d97fbd: Waiting 17:50:22 5c102a31e300: Waiting 17:50:22 dcfb455df0a1: Waiting 17:50:22 0e6b1d234666: Waiting 17:50:22 bf5d7aec512f: Waiting 17:50:22 5788d62ee057: Waiting 17:50:22 0f37312ad70f: Verifying Checksum 17:50:22 0f37312ad70f: Download complete 17:50:22 2848faf0eed1: Download complete 17:50:22 0e6b1d234666: Verifying Checksum 17:50:22 0e6b1d234666: Download complete 17:50:22 bf5d7aec512f: Verifying Checksum 17:50:22 bf5d7aec512f: Download complete 17:50:22 e6b0cf9c0882: Verifying Checksum 17:50:22 e6b0cf9c0882: Download complete 17:50:22 e6b0cf9c0882: Pull complete 17:50:23 2848faf0eed1: Pull complete 17:50:23 0f37312ad70f: Pull complete 17:50:23 34c802a77dc8: Verifying Checksum 17:50:23 34c802a77dc8: Download complete 17:50:23 27c7a5d97fbd: Verifying Checksum 17:50:23 27c7a5d97fbd: Download complete 17:50:24 5c102a31e300: Verifying Checksum 17:50:24 5c102a31e300: Download complete 17:50:24 dcfb455df0a1: Verifying Checksum 17:50:24 dcfb455df0a1: Download complete 17:50:24 9eb99e56ec68: Verifying Checksum 17:50:24 9eb99e56ec68: Download complete 17:50:24 5788d62ee057: Verifying Checksum 17:50:24 5788d62ee057: Download complete 17:50:31 5788d62ee057: Pull complete 17:50:31 0e6b1d234666: Pull complete 17:50:31 bf5d7aec512f: Pull complete 17:50:34 34c802a77dc8: Pull complete 17:50:37 9eb99e56ec68: Pull complete 17:50:38 27c7a5d97fbd: Pull complete 17:50:38 5c102a31e300: Pull complete 17:50:38 dcfb455df0a1: Pull complete 17:50:38 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 17:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:50:38 ---> 7c70fe431013 17:50:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:50:38 ---> Running in 60aa1c1480aa 17:50:39 Removing intermediate container 60aa1c1480aa 17:50:39 ---> 9710b106562a 17:50:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:39 ---> Running in 2454143f80a9 17:50:40 Removing intermediate container 2454143f80a9 17:50:40 ---> f851fb7f8357 17:50:40 Step 5/8 : RUN apk add --no-cache make git 17:50:40 ---> Running in a3d64f2294d2 17:50:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:50:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:50:42 OK: 143 MiB in 39 packages 17:50:42 Removing intermediate container a3d64f2294d2 17:50:42 ---> 5ec2ea4433eb 17:50:42 Step 6/8 : WORKDIR /device-sdk-go 17:50:43 ---> Running in 2ebcc7552caa 17:50:43 Removing intermediate container 2ebcc7552caa 17:50:43 ---> 6d76bc847973 17:50:43 Step 7/8 : COPY . . 17:50:43 ---> 3a5023d6c6c2 17:50:43 Step 8/8 : RUN go mod download 17:50:43 ---> Running in 13a9d8f81ae8 17:50:45 go: finding github.com/BurntSushi/toml v0.3.1 17:50:45 go: finding github.com/OneOfOne/xxhash v1.2.6 17:50:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:50:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:50:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:50:45 go: finding github.com/bgentry/speakeasy v0.1.0 17:50:45 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:50:45 go: finding github.com/davecgh/go-spew v1.1.1 17:50:45 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 17:50:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:50:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:50:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:50:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:50:45 go: finding github.com/fatih/color v1.7.0 17:50:45 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:50:45 go: finding github.com/go-kit/kit v0.8.0 17:50:45 go: finding github.com/go-logfmt/logfmt v0.4.0 17:50:45 go: finding github.com/go-stack/stack v1.8.0 17:50:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:50:45 go: finding github.com/google/uuid v1.1.0 17:50:45 go: finding github.com/gorilla/mux v1.7.1 17:50:45 go: finding github.com/hashicorp/consul/api v1.1.0 17:50:45 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:50:45 go: finding github.com/hashicorp/errwrap v1.0.0 17:50:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:50:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:50:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:50:45 go: finding github.com/hashicorp/go-multierror v1.0.0 17:50:45 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:50:45 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:50:45 go: finding github.com/hashicorp/go-syslog v1.0.0 17:50:45 go: finding github.com/hashicorp/go-uuid v1.0.1 17:50:45 go: finding github.com/hashicorp/go.net v0.0.1 17:50:45 go: finding github.com/hashicorp/golang-lru v0.5.0 17:50:45 go: finding github.com/hashicorp/logutils v1.0.0 17:50:45 go: finding github.com/hashicorp/mdns v1.0.0 17:50:45 go: finding github.com/hashicorp/memberlist v0.1.3 17:50:45 go: finding github.com/hashicorp/serf v0.8.2 17:50:45 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:50:45 go: finding github.com/mattn/go-colorable v0.0.9 17:50:45 go: finding github.com/mattn/go-isatty v0.0.3 17:50:45 go: finding github.com/miekg/dns v1.0.14 17:50:45 go: finding github.com/mitchellh/cli v1.0.0 17:50:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:50:45 go: finding github.com/mitchellh/copystructure v1.0.0 17:50:45 go: finding github.com/mitchellh/go-homedir v1.0.0 17:50:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:50:45 go: finding github.com/mitchellh/gox v0.4.0 17:50:45 go: finding github.com/mitchellh/iochan v1.0.0 17:50:45 go: finding github.com/mitchellh/mapstructure v1.1.2 17:50:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:50:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:50:45 go: finding github.com/pelletier/go-toml v1.2.0 17:50:45 go: finding github.com/pkg/errors v0.8.1 17:50:45 go: finding github.com/pmezard/go-difflib v1.0.0 17:50:45 go: finding github.com/posener/complete v1.1.1 17:50:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:50:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:50:45 go: finding github.com/stretchr/objx v0.1.0 17:50:45 go: finding github.com/stretchr/testify v1.5.1 17:50:45 go: finding github.com/ugorji/go v1.1.4 17:50:45 go: finding github.com/x448/float16 v0.8.4 17:50:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:50:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:50:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:50:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:50:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:50:45 go: finding gopkg.in/yaml.v2 v2.2.8 17:50:49 Removing intermediate container 13a9d8f81ae8 17:50:49 ---> 0cb8fd16bfa0 17:50:49 Successfully built 0cb8fd16bfa0 17:50:49 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 17:50:50 + docker inspect -f . ci-base-image-x86_64 17:50:50 . [Pipeline] withDockerContainer 17:50:50 prd-centos7-docker-4c-2g-5324 does not seem to be running inside a container 17:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:51 $ docker top 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:51 + go version 17:50:51 go version go1.13.5 linux/amd64 [Pipeline] sh 17:50:51 + make test 17:50:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:50:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:51:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:51:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:51:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:51:02 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 21.9% of statements 17:51:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.076s coverage: 95.8% of statements 17:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.077s coverage: 11.4% of statements 17:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.053s coverage: 36.9% of statements 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.468s coverage: 65.2% of statements 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 17:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 17:51:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.098s coverage: 68.9% of statements 17:51:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:51:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:51:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:51:36 gofmt -l . 17:51:36 [ "`gofmt -l .`" = "" ] 17:51:36 ./bin/test-attribution-txt.sh 17:51:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:51:37 Stashed 1 file(s) [Pipeline] } 17:51:37 $ docker stop --time=1 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 17:51:39 $ docker rm -f 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:51:40 + ls -al . 17:51:40 total 176 17:51:40 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 17:51 . 17:51:40 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 17:50 .. 17:51:40 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 17:50 api 17:51:40 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 17:50 bin 17:51:40 -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 17:51 coverage.out 17:51:40 -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 17:50 Dockerfile.build 17:51:40 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 17:50 .dockerignore 17:51:40 drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 17:50 example 17:51:40 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 17:50 .git 17:51:40 drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 17:50 .github 17:51:40 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 17:50 .gitignore 17:51:40 -rw-r--r--. 1 jenkins jenkins 446 Apr 21 17:51 go.mod 17:51:40 -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 17:51 go.sum 17:51:40 drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 17:50 internal 17:51:40 -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 17:50 Jenkinsfile 17:51:40 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 17:50 LICENSE 17:51:40 -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 17:50 Makefile 17:51:40 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 17:50 pkg 17:51:40 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 17:50 README.md 17:51:40 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 17:50 .semver 17:51:40 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 17:50 snap 17:51:40 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 17:48 VERSION 17:51:40 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 17:50 version.go [Pipeline] isUnix [Pipeline] sh 17:51:40 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe --label arch=amd64 --label version=0.0.0 . 17:51:40 Sending build context to Docker daemon 3.136MB 17:51:40 Step 1/21 : ARG BASE=golang:1.13-alpine 17:51:40 Step 2/21 : FROM ${BASE} AS builder 17:51:40 ---> 0cb8fd16bfa0 17:51:40 Step 3/21 : ARG MAKE='make build' 17:51:40 ---> Running in 9d2fdc65c9e9 17:51:40 Removing intermediate container 9d2fdc65c9e9 17:51:40 ---> cd16c52e746d 17:51:40 Step 4/21 : WORKDIR /device-sdk-go 17:51:40 ---> Running in ddd1e8cb3941 17:51:41 Removing intermediate container ddd1e8cb3941 17:51:41 ---> 4e9ffb4c209a 17:51:41 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:51:41 ---> Running in a9ad1fe86790 17:51:41 Removing intermediate container a9ad1fe86790 17:51:41 ---> 9b3deca31948 17:51:41 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:51:41 ---> Running in d3e7bd35dc0b 17:51:42 Removing intermediate container d3e7bd35dc0b 17:51:42 ---> 101754e6c36b 17:51:42 Step 7/21 : RUN apk add --update --no-cache make git 17:51:42 ---> Running in bdd6d449bf32 17:51:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:51:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:51:44 OK: 143 MiB in 39 packages 17:51:45 Removing intermediate container bdd6d449bf32 17:51:45 ---> f6d82cb11bb3 17:51:45 Step 8/21 : COPY . . 17:51:45 ---> 9732339d508e 17:51:45 Step 9/21 : RUN ${MAKE} 17:51:45 ---> Running in 38a4340a9c60 17:51:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:51:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:51:54 Removing intermediate container 38a4340a9c60 17:51:54 ---> a28f2a47a81e 17:51:54 Step 10/21 : FROM scratch 17:51:54 ---> 17:51:54 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:51:54 ---> Running in ec4a48d9d42a 17:51:54 Removing intermediate container ec4a48d9d42a 17:51:54 ---> 16b0efcba5cc 17:51:54 Step 12/21 : ENV APP_PORT=49990 17:51:54 ---> Running in 1274c61a6b69 17:51:54 Removing intermediate container 1274c61a6b69 17:51:54 ---> c4083925324a 17:51:54 Step 13/21 : EXPOSE $APP_PORT 17:51:54 ---> Running in ade8f6f7f2bf 17:51:54 Removing intermediate container ade8f6f7f2bf 17:51:54 ---> 65521ba0d99c 17:51:54 Step 14/21 : WORKDIR / 17:51:54 ---> Running in 66d8d770b1b9 17:51:54 Removing intermediate container 66d8d770b1b9 17:51:54 ---> 38a9621e0f9e 17:51:54 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:51:55 ---> 6e1078eca6d3 17:51:55 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:51:55 ---> f8003ec777a6 17:51:55 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:51:55 ---> 4f543d8dcce5 17:51:55 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:51:55 ---> Running in 76ed54d92a9b 17:51:55 Removing intermediate container 76ed54d92a9b 17:51:55 ---> 98b99e196085 17:51:55 Step 19/21 : LABEL arch=amd64 17:51:55 ---> Running in eb79443694a2 17:51:55 Removing intermediate container eb79443694a2 17:51:55 ---> 13892cbc179c 17:51:55 Step 20/21 : LABEL git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:51:55 ---> Running in e5729e9af23e 17:51:56 Removing intermediate container e5729e9af23e 17:51:56 ---> 107057136a34 17:51:56 Step 21/21 : LABEL version=0.0.0 17:51:56 ---> Running in f97338b53f14 17:51:56 Removing intermediate container f97338b53f14 17:51:56 ---> eb4e1846de10 17:51:56 [Warning] One or more build-args [ARCH] were not consumed 17:51:56 Successfully built eb4e1846de10 17:51:56 Successfully tagged docker-device-sdk-simple: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] } 17:52:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5325 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [Pipeline] { [Pipeline] ws 17:52:17 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:52:23 using credential edgex-jenkins-ssh 17:52:23 Cloning the remote Git repository 17:52:23 Cloning with configured refspecs honoured and without tags 17:52:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:52:23 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:52:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:52:23 > git --version # timeout=10 17:52:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:52:24 Fetching without tags 17:52:25 Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:52:25 Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:52:25 Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) 17:52:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:52:24 > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # timeout=10 17:52:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:52:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:52:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:52:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:52:25 > git config core.sparsecheckout # timeout=10 17:52:25 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 17:52:25 > git remote # timeout=10 17:52:25 > git config --get remote.origin.url # timeout=10 17:52:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:25 > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 17:52:25 > git rev-parse HEAD^{commit} # timeout=10 17:52:25 > git config core.sparsecheckout # timeout=10 17:52:25 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 17:52:30 Commit message: "feature(environment): Allow uppercase environment overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:52:31 ========================================================= 17:52:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:52:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:52:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 17:52:33 Sending build context to Docker daemon 3.008MB 17:52:33 Step 1/8 : ARG BASE=golang:1.13-alpine 17:52:33 Step 2/8 : FROM ${BASE} 17:52:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:33 cde5963f3b93: Pulling fs layer 17:52:33 2a23fa8c16f7: Pulling fs layer 17:52:33 777b28850792: Pulling fs layer 17:52:33 8a11ddd9e578: Pulling fs layer 17:52:33 4cf88f913ddb: Pulling fs layer 17:52:33 1df406cf5192: Pulling fs layer 17:52:33 cd6300453558: Pulling fs layer 17:52:33 b9c365052c96: Pulling fs layer 17:52:33 a2d8cc88f415: Pulling fs layer 17:52:33 ea1d1ca13537: Pulling fs layer 17:52:33 3750a50a1c5e: Pulling fs layer 17:52:33 b9c365052c96: Waiting 17:52:33 8a11ddd9e578: Waiting 17:52:33 a2d8cc88f415: Waiting 17:52:33 4cf88f913ddb: Waiting 17:52:33 ea1d1ca13537: Waiting 17:52:33 1df406cf5192: Waiting 17:52:33 3750a50a1c5e: Waiting 17:52:33 cd6300453558: Waiting 17:52:33 777b28850792: Verifying Checksum 17:52:33 777b28850792: Download complete 17:52:33 2a23fa8c16f7: Verifying Checksum 17:52:33 2a23fa8c16f7: Download complete 17:52:33 4cf88f913ddb: Verifying Checksum 17:52:33 4cf88f913ddb: Download complete 17:52:33 1df406cf5192: Verifying Checksum 17:52:33 1df406cf5192: Download complete 17:52:33 cde5963f3b93: Download complete 17:52:34 cde5963f3b93: Pull complete 17:52:35 2a23fa8c16f7: Pull complete 17:52:35 777b28850792: Pull complete 17:52:37 cd6300453558: Verifying Checksum 17:52:37 cd6300453558: Download complete 17:52:38 a2d8cc88f415: Verifying Checksum 17:52:38 a2d8cc88f415: Download complete 17:52:40 ea1d1ca13537: Verifying Checksum 17:52:40 ea1d1ca13537: Download complete 17:52:40 3750a50a1c5e: Verifying Checksum 17:52:40 3750a50a1c5e: Download complete 17:52:43 b9c365052c96: Verifying Checksum 17:52:43 b9c365052c96: Download complete 17:52:44 8a11ddd9e578: Verifying Checksum 17:52:44 8a11ddd9e578: Download complete 17:52:56 8a11ddd9e578: Pull complete 17:52:56 4cf88f913ddb: Pull complete 17:52:56 1df406cf5192: Pull complete 17:53:02 cd6300453558: Pull complete 17:53:06 b9c365052c96: Pull complete 17:53:06 a2d8cc88f415: Pull complete 17:53:09 ea1d1ca13537: Pull complete 17:53:09 3750a50a1c5e: Pull complete 17:53:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 17:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:53:09 ---> 78745c68409d 17:53:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:53:13 ---> Running in da5a025c71e7 17:53:13 Removing intermediate container da5a025c71e7 17:53:13 ---> e98a4e9f6c5e 17:53:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:13 ---> Running in 86fe8a661e1c 17:53:15 Removing intermediate container 86fe8a661e1c 17:53:15 ---> e1fa033d7f94 17:53:15 Step 5/8 : RUN apk add --no-cache make git 17:53:15 ---> Running in f5e3220db5d8 17:53:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:53:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:53:18 OK: 125 MiB in 39 packages 17:53:19 Removing intermediate container f5e3220db5d8 17:53:19 ---> 3a36852f8307 17:53:19 Step 6/8 : WORKDIR /device-sdk-go 17:53:19 ---> Running in 4ef9a2659271 17:53:19 Removing intermediate container 4ef9a2659271 17:53:19 ---> 7d171be538e3 17:53:19 Step 7/8 : COPY . . 17:53:21 ---> acab421719e4 17:53:21 Step 8/8 : RUN go mod download 17:53:21 ---> Running in a050b9262ece 17:53:22 go: finding github.com/BurntSushi/toml v0.3.1 17:53:22 go: finding github.com/OneOfOne/xxhash v1.2.6 17:53:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:53:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:53:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:53:22 go: finding github.com/bgentry/speakeasy v0.1.0 17:53:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:53:22 go: finding github.com/davecgh/go-spew v1.1.1 17:53:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 17:53:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:53:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:53:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:53:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:53:22 go: finding github.com/fatih/color v1.7.0 17:53:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:53:22 go: finding github.com/go-kit/kit v0.8.0 17:53:22 go: finding github.com/go-logfmt/logfmt v0.4.0 17:53:22 go: finding github.com/go-stack/stack v1.8.0 17:53:22 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:53:22 go: finding github.com/google/uuid v1.1.0 17:53:22 go: finding github.com/gorilla/mux v1.7.1 17:53:22 go: finding github.com/hashicorp/consul/api v1.1.0 17:53:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:53:22 go: finding github.com/hashicorp/errwrap v1.0.0 17:53:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:53:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:53:22 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:53:22 go: finding github.com/hashicorp/go-multierror v1.0.0 17:53:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:53:22 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:53:22 go: finding github.com/hashicorp/go-syslog v1.0.0 17:53:22 go: finding github.com/hashicorp/go-uuid v1.0.1 17:53:22 go: finding github.com/hashicorp/go.net v0.0.1 17:53:22 go: finding github.com/hashicorp/golang-lru v0.5.0 17:53:22 go: finding github.com/hashicorp/logutils v1.0.0 17:53:23 go: finding github.com/hashicorp/mdns v1.0.0 17:53:23 go: finding github.com/hashicorp/memberlist v0.1.3 17:53:23 go: finding github.com/hashicorp/serf v0.8.2 17:53:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:53:23 go: finding github.com/mattn/go-colorable v0.0.9 17:53:23 go: finding github.com/mattn/go-isatty v0.0.3 17:53:23 go: finding github.com/miekg/dns v1.0.14 17:53:23 go: finding github.com/mitchellh/cli v1.0.0 17:53:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:53:23 go: finding github.com/mitchellh/copystructure v1.0.0 17:53:23 go: finding github.com/mitchellh/go-homedir v1.0.0 17:53:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:53:23 go: finding github.com/mitchellh/gox v0.4.0 17:53:23 go: finding github.com/mitchellh/iochan v1.0.0 17:53:23 go: finding github.com/mitchellh/mapstructure v1.1.2 17:53:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:53:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:53:23 go: finding github.com/pelletier/go-toml v1.2.0 17:53:23 go: finding github.com/pkg/errors v0.8.1 17:53:23 go: finding github.com/pmezard/go-difflib v1.0.0 17:53:23 go: finding github.com/posener/complete v1.1.1 17:53:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:53:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:53:23 go: finding github.com/stretchr/objx v0.1.0 17:53:23 go: finding github.com/stretchr/testify v1.5.1 17:53:23 go: finding github.com/ugorji/go v1.1.4 17:53:23 go: finding github.com/x448/float16 v0.8.4 17:53:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:53:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:53:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:53:23 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:53:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:53:23 go: finding gopkg.in/yaml.v2 v2.2.8 17:53:31 Removing intermediate container a050b9262ece 17:53:31 ---> 4571d17db338 17:53:31 Successfully built 4571d17db338 17:53:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:53:32 + docker inspect -f . ci-base-image-arm64 17:53:32 . [Pipeline] withDockerContainer 17:53:33 prd-ubuntu18.04-docker-arm64-4c-16g-5325 does not seem to be running inside a container 17:53:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:34 $ docker top d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:35 + go version 17:53:35 go version go1.13.5 linux/arm64 [Pipeline] sh 17:53:36 + make test 17:53:36 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:53:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:54:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:54:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:54:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:54:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 21.9% of statements 17:54:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements 17:54:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.4% of statements 17:54:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:54:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 36.9% of statements 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 17:54:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.560s coverage: 65.2% of statements 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:54:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 17:54:40 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 17:54:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 68.9% of statements 17:54:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 17:54:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:54:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:54:45 gofmt -l . 17:54:45 [ "`gofmt -l .`" = "" ] 17:54:45 ./bin/test-attribution-txt.sh 17:54:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:54:46 Warning: overwriting stash ‘coverage-report’ 17:54:47 Stashed 1 file(s) [Pipeline] } 17:54:47 $ docker stop --time=1 d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c 17:54:49 $ docker rm -f d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:50 + ls -al . 17:54:50 total 216 17:54:50 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 17:54 . 17:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 .. 17:54:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 17:52 .dockerignore 17:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 17:52 .git 17:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:52 .github 17:54:50 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 17:52 .gitignore 17:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:52 .semver 17:54:50 -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 17:52 Dockerfile.build 17:54:50 -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 17:52 Jenkinsfile 17:54:50 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 17:52 LICENSE 17:54:50 -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 17:52 Makefile 17:54:50 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 17:52 README.md 17:54:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 17:48 VERSION 17:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:52 api 17:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:52 bin 17:54:50 -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 17:54 coverage.out 17:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 example 17:54:50 -rw-r--r-- 1 jenkins jenkins 446 Apr 21 17:54 go.mod 17:54:50 -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 17:54 go.sum 17:54:50 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 17:52 internal 17:54:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 17:52 pkg 17:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 snap 17:54:50 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 17:52 version.go [Pipeline] isUnix [Pipeline] sh 17:54:51 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe --label arch=arm64 --label version=0.0.0 . 17:54:51 Sending build context to Docker daemon 3.136MB 17:54:51 Step 1/21 : ARG BASE=golang:1.13-alpine 17:54:51 Step 2/21 : FROM ${BASE} AS builder 17:54:51 ---> 4571d17db338 17:54:51 Step 3/21 : ARG MAKE='make build' 17:54:51 ---> Running in d7ed0c1a3f2e 17:54:52 Removing intermediate container d7ed0c1a3f2e 17:54:52 ---> b5f8b96844a1 17:54:52 Step 4/21 : WORKDIR /device-sdk-go 17:54:52 ---> Running in 0b78e6209be4 17:54:52 Removing intermediate container 0b78e6209be4 17:54:52 ---> f40192759b1a 17:54:52 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:54:52 ---> Running in ec05c5878a01 17:54:53 Removing intermediate container ec05c5878a01 17:54:53 ---> ae8b8567d1b0 17:54:53 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:53 ---> Running in 27d6c2e2249d 17:54:55 Removing intermediate container 27d6c2e2249d 17:54:55 ---> 629d37c3c814 17:54:55 Step 7/21 : RUN apk add --update --no-cache make git 17:54:55 ---> Running in 57b8680a6eaa 17:54:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:54:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:54:57 OK: 125 MiB in 39 packages 17:54:58 Removing intermediate container 57b8680a6eaa 17:54:58 ---> bb180d0d560b 17:54:58 Step 8/21 : COPY . . 17:54:59 ---> 73fc992f22ad 17:54:59 Step 9/21 : RUN ${MAKE} 17:54:59 ---> Running in 48a49067e4ad 17:55:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:55:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 17:55:25 Removing intermediate container 48a49067e4ad 17:55:25 ---> 5aa04bbb0bbd 17:55:25 Step 10/21 : FROM scratch 17:55:25 ---> 17:55:25 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:55:25 ---> Running in ded85bc1cec4 17:55:25 Removing intermediate container ded85bc1cec4 17:55:25 ---> e163c37a8810 17:55:25 Step 12/21 : ENV APP_PORT=49990 17:55:25 ---> Running in 7843302d08e6 17:55:25 Removing intermediate container 7843302d08e6 17:55:25 ---> 666a9084aca9 17:55:25 Step 13/21 : EXPOSE $APP_PORT 17:55:25 ---> Running in 7a63032f2866 17:55:26 Removing intermediate container 7a63032f2866 17:55:26 ---> 88101ed28f20 17:55:26 Step 14/21 : WORKDIR / 17:55:26 ---> Running in e5ee233d501c 17:55:26 Removing intermediate container e5ee233d501c 17:55:26 ---> ffd917134540 17:55:26 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 17:55:27 ---> 39e81f0f2683 17:55:27 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 17:55:28 ---> 904633630f12 17:55:28 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 17:55:28 ---> f78025e2599f 17:55:28 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:55:28 ---> Running in c5dd2e715ab1 17:55:29 Removing intermediate container c5dd2e715ab1 17:55:29 ---> 138682e94f85 17:55:29 Step 19/21 : LABEL arch=arm64 17:55:29 ---> Running in 16a5f307a869 17:55:29 Removing intermediate container 16a5f307a869 17:55:29 ---> 28950108b869 17:55:29 Step 20/21 : LABEL git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe 17:55:29 ---> Running in ddfe1398c283 17:55:30 Removing intermediate container ddfe1398c283 17:55:30 ---> e95dba93cb43 17:55:30 Step 21/21 : LABEL version=0.0.0 17:55:30 ---> Running in a0b8f45ae049 17:55:30 Removing intermediate container a0b8f45ae049 17:55:30 ---> 4c2c24067405 17:55:30 [Warning] One or more build-args [ARCH] were not consumed 17:55:30 Successfully built 4c2c24067405 17:55:30 Successfully tagged docker-device-sdk-simple-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] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 17:55:31 provisioning config files... 17:55:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config5677628551857415166tmp [Pipeline] { [Pipeline] sh 17:55:32 + curl -s https://codecov.io/bash 17:55:32 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config5677628551857415166tmp 17:55:32 17:55:32 _____ _ 17:55:32 / ____| | | 17:55:32 | | ___ __| | ___ ___ _____ __ 17:55:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:55:32 | |___| (_) | (_| | __/ (_| (_) \ V / 17:55:32 \_____\___/ \__,_|\___|\___\___/ \_/ 17:55:32 Bash-tbd 17:55:32 17:55:32 17:55:32 ==> Jenkins CI detected. 17:55:32 project root: . 17:55:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:55:32 ==> Running gcov in . (disable via -X gcov) 17:55:32 ==> Python coveragepy not found 17:55:32 ==> Searching for coverage reports in: 17:55:32 + . 17:55:32 -> Found 1 reports 17:55:32 ==> Detecting git/mercurial file structure 17:55:32 ==> Reading reports 17:55:32 + ./coverage.out bytes=110966 17:55:32 ==> Appending adjustments 17:55:32 http://docs.codecov.io/docs/fixing-reports 17:55:32 + Found adjustments 17:55:32 ==> Gzipping contents 17:55:32 ==> Uploading reports 17:55:32 url: https://codecov.io 17:55:32 query: branch=PR-503&commit=fb4ef531f7f89b04d3574cd50796b36f2b0daafe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=503&job= 17:55:32 -> Pinging Codecov 17:55:32 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-503&commit=fb4ef531f7f89b04d3574cd50796b36f2b0daafe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=503&job= 17:55:33 -> Uploading 17:55:33 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fb4ef531f7f89b04d3574cd50796b36f2b0daafe [Pipeline] } 17:55:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:55:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:55:35 ---> package-listing.sh 17:55:35 ++ facter osfamily 17:55:35 ++ tr '[:upper:]' '[:lower:]' 17:55:35 + OS_FAMILY=redhat 17:55:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-503 17:55:35 + START_PACKAGES=/tmp/packages_start.txt 17:55:35 + END_PACKAGES=/tmp/packages_end.txt 17:55:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:55:35 + PACKAGES=/tmp/packages_start.txt 17:55:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-503 ']' 17:55:35 + PACKAGES=/tmp/packages_end.txt 17:55:35 + case "${OS_FAMILY}" in 17:55:35 + rpm -qa 17:55:35 + sort 17:55:39 + '[' -f /tmp/packages_start.txt ']' 17:55:39 + '[' -f /tmp/packages_end.txt ']' 17:55:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:55:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-503 ']' 17:55:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-503/archives/ 17:55:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-503/archives/ [Pipeline] isUnix [Pipeline] sh 17:55:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:55:40 17:55:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:55:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:55:40 alpine: Pulling from edgex-lftools-log-publisher 17:55:40 c9b1b535fdd9: Pulling fs layer 17:55:40 2cc5ad85d9ab: Pulling fs layer 17:55:40 756a868c4378: Pulling fs layer 17:55:40 444b2fc9a129: Pulling fs layer 17:55:40 ea15f1150254: Pulling fs layer 17:55:40 41b27a9f41bf: Pulling fs layer 17:55:40 28c525ee5125: Pulling fs layer 17:55:40 094b1ea09ed8: Pulling fs layer 17:55:40 138eaada9080: Pulling fs layer 17:55:40 0622d0fa9048: Pulling fs layer 17:55:40 ea15f1150254: Waiting 17:55:40 41b27a9f41bf: Waiting 17:55:40 138eaada9080: Waiting 17:55:40 28c525ee5125: Waiting 17:55:40 0622d0fa9048: Waiting 17:55:40 094b1ea09ed8: Waiting 17:55:40 444b2fc9a129: Waiting 17:55:40 2cc5ad85d9ab: Download complete 17:55:40 444b2fc9a129: Verifying Checksum 17:55:40 444b2fc9a129: Download complete 17:55:40 c9b1b535fdd9: Verifying Checksum 17:55:40 c9b1b535fdd9: Download complete 17:55:40 ea15f1150254: Download complete 17:55:40 28c525ee5125: Verifying Checksum 17:55:40 28c525ee5125: Download complete 17:55:40 756a868c4378: Verifying Checksum 17:55:40 756a868c4378: Download complete 17:55:40 c9b1b535fdd9: Pull complete 17:55:40 138eaada9080: Verifying Checksum 17:55:40 138eaada9080: Download complete 17:55:41 0622d0fa9048: Verifying Checksum 17:55:41 0622d0fa9048: Download complete 17:55:41 094b1ea09ed8: Verifying Checksum 17:55:41 094b1ea09ed8: Download complete 17:55:41 2cc5ad85d9ab: Pull complete 17:55:41 41b27a9f41bf: Verifying Checksum 17:55:41 41b27a9f41bf: Download complete 17:55:43 756a868c4378: Pull complete 17:55:43 444b2fc9a129: Pull complete 17:55:43 ea15f1150254: Pull complete 17:55:46 41b27a9f41bf: Pull complete 17:55:46 28c525ee5125: Pull complete 17:55:49 094b1ea09ed8: Pull complete 17:55:49 138eaada9080: Pull complete 17:55:49 0622d0fa9048: Pull complete 17:55:49 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:55:49 prd-centos7-docker-4c-2g-5322 does not seem to be running inside a container 17:55:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-503 -v /w/workspace/dgexfoundry_device-sdk-go_PR-503:/w/workspace/dgexfoundry_device-sdk-go_PR-503:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:55:50 $ docker top dabf8928069d34bc38c4afdd59c5bface2a76de98656d91f870305ddd57811e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:50 provisioning config files... 17:55:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config6827728083446601994tmp [Pipeline] { [Pipeline] echo 17:55:50 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:55:51 ---> create-netrc.sh [Pipeline] echo 17:55:51 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:55:51 ---> logs-deploy.sh 17:55:51 + ARCHIVE_ARTIFACTS= 17:55:51 + LOGS_SERVER=https://logs.edgexfoundry.org 17:55:51 + '[' https://logs.edgexfoundry.org == None ']' 17:55:51 + NEXUS_URL=https://nexus.edgexfoundry.org 17:55:51 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 17:55:51 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-503/2/ 17:55:51 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 /w/workspace/dgexfoundry_device-sdk-go_PR-503 17:55:52 Archives upload complete. 17:55:52 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-503/2/