Branch indexing 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9+2566be076a2097d201854259318eb76047854271 (75629c6a9ab0acb241da4849a760f4120151d9ed) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 --version # 'git version 2.16.6' > 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Running on prd-centos7-docker-4c-2g-987 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-35 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # 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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 Merge succeeded, producing 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 Checking out Revision 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 (PR-35) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 # timeout=10 Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:06:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:06:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:06:18 ========================================================= 03:06:18 EdgeX Global Pipelines Version Info 03:06:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:06:20 ------------------- 03:06:20 stable info: 03:06:20 ------------------- 03:06:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:06:20 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 03:06:20 Message: update stable to v1.0.115 03:06:21 ------------------- 03:06:21 experimental info: 03:06:21 ------------------- 03:06:21 Commited By: **** collab-it+edgex@linuxfoundation.org 03:06:21 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 03:06:21 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:06:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2df9a29 [Pipeline] echo 03:06:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:24 + git log --format=format:%s -1 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [Pipeline] echo 03:06:24 GIT_COMMIT: 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04, Commit Message: Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD [Pipeline] echo 03:06:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:24 03:06:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:06:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:25 latest: Pulling from edgex-devops/git-semver 03:06:25 31603596830f: Pulling fs layer 03:06:25 2a8b12db71e7: Pulling fs layer 03:06:25 6ca5941a6612: Pulling fs layer 03:06:25 ecc8261a40a4: Pulling fs layer 03:06:25 ecc8261a40a4: Waiting 03:06:25 2a8b12db71e7: Verifying Checksum 03:06:25 2a8b12db71e7: Download complete 03:06:25 31603596830f: Verifying Checksum 03:06:25 31603596830f: Download complete 03:06:25 6ca5941a6612: Verifying Checksum 03:06:25 6ca5941a6612: Download complete 03:06:25 ecc8261a40a4: Verifying Checksum 03:06:25 ecc8261a40a4: Download complete 03:06:25 31603596830f: Pull complete 03:06:25 2a8b12db71e7: Pull complete 03:06:26 6ca5941a6612: Pull complete 03:06:26 ecc8261a40a4: Pull complete 03:06:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:06:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:06:26 prd-centos7-docker-4c-2g-987 does not seem to be running inside a container 03:06:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:06:28 $ docker top bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:28 [ssh-agent] Looking for ssh-agent implementation... 03:06:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:29 $ docker exec bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent 03:06:29 SSH_AUTH_SOCK=/tmp/ssh-jlZr0yBm1ptJ/agent.12 03:06:29 SSH_AGENT_PID=17 03:06:29 Running ssh-add (command line suppressed) 03:06:29 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_8285334907521224412.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_8285334907521224412.key) 03:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:06:29 + git describe --exact-match --tags HEAD 03:06:29 fatal: No names found, cannot describe anything. [Pipeline] } 03:06:29 $ docker exec --env ******** --env ******** bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent -k 03:06:29 unset SSH_AUTH_SOCK; 03:06:29 unset SSH_AGENT_PID; 03:06:29 echo Agent pid 17 killed; 03:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:06:29 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:06:29 This usually means this commit has not been tagged. [Pipeline] sshagent 03:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:30 [ssh-agent] Looking for ssh-agent implementation... 03:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:30 $ docker exec bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent 03:06:30 SSH_AUTH_SOCK=/tmp/ssh-LZc9T68g8TD9/agent.47 03:06:30 SSH_AGENT_PID=52 03:06:30 Running ssh-add (command line suppressed) 03:06:30 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2386934675505920683.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2386934675505920683.key) 03:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:06:30 + git semver init 03:06:30 # -> Open(): unable to determine branch for HEAD 03:06:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.git 03:06:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-35 03:06:30 # $SEMVER_REMOTE_NAME = origin 03:06:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:06:30 # $SEMVER_USER_NAME = edgex-jenkins 03:06:30 # $SEMVER_BRANCH = PR-35 03:06:30 # $SEMVER_TEMP = /tmp/semver-066889221 03:06:30 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 03:06:32 # '/tmp/semver-066889221' -> '/w/workspace/dgexfoundry_device-rest-go_PR-35/.semver' 03:06:32 # -> Force: false 03:06:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.semver [Pipeline] } 03:06:32 $ docker exec --env ******** --env ******** bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent -k 03:06:32 unset SSH_AUTH_SOCK; 03:06:32 unset SSH_AGENT_PID; 03:06:32 echo Agent pid 52 killed; 03:06:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:06:32 + git semver [Pipeline] } 03:06:32 $ docker stop --time=1 bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c 03:06:34 $ docker rm -f bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:06:35 Stashed 20 file(s) [Pipeline] echo 03:06:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 03:06:35 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 03:06:50 Still waiting to schedule task 03:06:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:06:50 Still waiting to schedule task 03:06:50 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:08:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-997 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws 03:08:40 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 03:08:46 using credential edgex-jenkins-ssh 03:08:46 Cloning the remote Git repository 03:08:46 Cloning with configured refspecs honoured and without tags 03:08:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:08:46 > git init /w/workspace/device-rest-go/2 # timeout=10 03:08:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:08:46 > git --version # timeout=10 03:08:46 > git --version # 'git version 2.17.1' 03:08:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:08:48 Fetching without tags 03:08:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:08:48 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 03:08:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:08:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:08:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:08:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:08:48 Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 03:08:48 Merge succeeded, producing d7c99bb6259628d3f4f2fc88730c096c0ed0a459 03:08:48 Checking out Revision d7c99bb6259628d3f4f2fc88730c096c0ed0a459 (PR-35) 03:08:48 > git config core.sparsecheckout # timeout=10 03:08:48 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 03:08:48 > git remote # timeout=10 03:08:48 > git config --get remote.origin.url # timeout=10 03:08:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:48 > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 03:08:48 > git rev-parse HEAD^{commit} # timeout=10 03:08:48 > git config core.sparsecheckout # timeout=10 03:08:48 > git checkout -f d7c99bb6259628d3f4f2fc88730c096c0ed0a459 # timeout=10 03:08:53 Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" 03:08:53 > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:08:55 ========================================================= 03:08:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:08:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:08:56 + 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 . 03:08:57 Sending build context to Docker daemon 8.044MB 03:08:57 Step 1/10 : ARG BASE=golang:1.13-alpine 03:08:57 Step 2/10 : FROM ${BASE} 03:08:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:08:57 b538f80385f9: Pulling fs layer 03:08:57 74f711af9a0d: Pulling fs layer 03:08:57 99f96fe45779: Pulling fs layer 03:08:57 fd7a069fd194: Pulling fs layer 03:08:57 66aa3694b03b: Pulling fs layer 03:08:57 170f70906a0f: Pulling fs layer 03:08:57 ad7c5574e4b9: Pulling fs layer 03:08:57 e772456be8f7: Pulling fs layer 03:08:57 c890913d741a: Pulling fs layer 03:08:57 2480fcc9aa5a: Pulling fs layer 03:08:57 09adf4765672: Pulling fs layer 03:08:57 fd7a069fd194: Waiting 03:08:57 66aa3694b03b: Waiting 03:08:57 170f70906a0f: Waiting 03:08:57 ad7c5574e4b9: Waiting 03:08:57 e772456be8f7: Waiting 03:08:57 c890913d741a: Waiting 03:08:57 2480fcc9aa5a: Waiting 03:08:57 99f96fe45779: Download complete 03:08:57 74f711af9a0d: Download complete 03:08:57 66aa3694b03b: Verifying Checksum 03:08:57 66aa3694b03b: Download complete 03:08:57 170f70906a0f: Download complete 03:08:57 b538f80385f9: Download complete 03:08:58 b538f80385f9: Pull complete 03:08:59 74f711af9a0d: Pull complete 03:08:59 99f96fe45779: Pull complete 03:09:00 ad7c5574e4b9: Verifying Checksum 03:09:00 ad7c5574e4b9: Download complete 03:09:00 c890913d741a: Verifying Checksum 03:09:00 c890913d741a: Download complete 03:09:02 2480fcc9aa5a: Verifying Checksum 03:09:02 2480fcc9aa5a: Download complete 03:09:02 09adf4765672: Download complete 03:09:02 e772456be8f7: Verifying Checksum 03:09:02 e772456be8f7: Download complete 03:09:03 fd7a069fd194: Verifying Checksum 03:09:03 fd7a069fd194: Download complete 03:09:16 fd7a069fd194: Pull complete 03:09:16 66aa3694b03b: Pull complete 03:09:16 170f70906a0f: Pull complete 03:09:19 ad7c5574e4b9: Pull complete 03:09:23 e772456be8f7: Pull complete 03:09:24 c890913d741a: Pull complete 03:09:26 2480fcc9aa5a: Pull complete 03:09:27 09adf4765672: Pull complete 03:09:27 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:09:27 ---> 2248a725d1cf 03:09:27 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 03:09:31 ---> Running in 88abea27f781 03:09:31 Removing intermediate container 88abea27f781 03:09:31 ---> 8c351935f786 03:09:31 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:09:31 ---> Running in 59ef3df1151e 03:09:32 Removing intermediate container 59ef3df1151e 03:09:32 ---> d725644a05aa 03:09:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:09:32 ---> Running in d7958254cc91 03:09:32 Removing intermediate container d7958254cc91 03:09:32 ---> f2b8ea4cd762 03:09:32 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:09:32 ---> Running in a8478a376d9e 03:09:35 Removing intermediate container a8478a376d9e 03:09:35 ---> b6eb84bbdcbd 03:09:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:09:35 ---> Running in d402f2219f4b 03:09:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:09:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:09:39 OK: 142 MiB in 39 packages 03:09:40 Removing intermediate container d402f2219f4b 03:09:40 ---> ba53e78011ad 03:09:40 Step 8/10 : WORKDIR /device-rest-go 03:09:40 ---> Running in 1328ee31c3dc 03:09:41 Removing intermediate container 1328ee31c3dc 03:09:41 ---> 52b7a30617e1 03:09:41 Step 9/10 : COPY . . 03:09:42 ---> a72875f6549e 03:09:42 Step 10/10 : RUN go mod download 03:09:42 ---> Running in f0f6c838e320 03:09:45 go: finding github.com/BurntSushi/toml v0.3.1 03:09:45 go: finding github.com/OneOfOne/xxhash v1.2.6 03:09:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:09:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:09:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:09:45 go: finding github.com/bgentry/speakeasy v0.1.0 03:09:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:09:46 go: finding github.com/davecgh/go-spew v1.1.1 03:09:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 03:09:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:09:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:09:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:09:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:09:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:09:46 go: finding github.com/fatih/color v1.7.0 03:09:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:09:46 go: finding github.com/go-kit/kit v0.8.0 03:09:46 go: finding github.com/go-logfmt/logfmt v0.4.0 03:09:46 go: finding github.com/go-stack/stack v1.8.0 03:09:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:09:46 go: finding github.com/google/uuid v1.1.0 03:09:46 go: finding github.com/gorilla/mux v1.7.1 03:09:46 go: finding github.com/hashicorp/consul/api v1.1.0 03:09:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:09:46 go: finding github.com/hashicorp/errwrap v1.0.0 03:09:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:09:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:09:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:09:47 go: finding github.com/hashicorp/go-multierror v1.0.0 03:09:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:09:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:09:47 go: finding github.com/hashicorp/go-syslog v1.0.0 03:09:47 go: finding github.com/hashicorp/go-uuid v1.0.1 03:09:47 go: finding github.com/hashicorp/go.net v0.0.1 03:09:47 go: finding github.com/hashicorp/golang-lru v0.5.0 03:09:47 go: finding github.com/hashicorp/logutils v1.0.0 03:09:47 go: finding github.com/hashicorp/mdns v1.0.0 03:09:47 go: finding github.com/hashicorp/memberlist v0.1.3 03:09:47 go: finding github.com/hashicorp/serf v0.8.2 03:09:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:09:47 go: finding github.com/mattn/go-colorable v0.0.9 03:09:47 go: finding github.com/mattn/go-isatty v0.0.3 03:09:47 go: finding github.com/miekg/dns v1.0.14 03:09:47 go: finding github.com/mitchellh/cli v1.0.0 03:09:47 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:09:47 go: finding github.com/mitchellh/copystructure v1.0.0 03:09:47 go: finding github.com/mitchellh/go-homedir v1.0.0 03:09:47 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:09:47 go: finding github.com/mitchellh/gox v0.4.0 03:09:47 go: finding github.com/mitchellh/iochan v1.0.0 03:09:47 go: finding github.com/mitchellh/mapstructure v1.1.2 03:09:47 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:09:47 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:09:48 go: finding github.com/pelletier/go-toml v1.2.0 03:09:48 go: finding github.com/pkg/errors v0.8.1 03:09:48 go: finding github.com/pmezard/go-difflib v1.0.0 03:09:48 go: finding github.com/posener/complete v1.1.1 03:09:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:09:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:09:48 go: finding github.com/spf13/cast v1.3.0 03:09:48 go: finding github.com/stretchr/objx v0.1.0 03:09:48 go: finding github.com/stretchr/testify v1.5.1 03:09:48 go: finding github.com/ugorji/go v1.1.4 03:09:48 go: finding github.com/x448/float16 v0.8.4 03:09:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:09:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:09:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:09:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:09:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:09:48 go: finding gopkg.in/yaml.v2 v2.2.8 03:09:58 Removing intermediate container f0f6c838e320 03:09:58 ---> c6ece0b2d74f 03:09:58 Successfully built c6ece0b2d74f 03:09:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:09:59 + docker inspect -f . ci-base-image-arm64 03:09:59 . [Pipeline] withDockerContainer 03:09:59 prd-ubuntu18.04-docker-arm64-4c-16g-997 does not seem to be running inside a container 03:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:10:01 $ docker top 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:03 + go version 03:10:03 go version go1.13.13 linux/arm64 [Pipeline] sh 03:10:04 + make test 03:10:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:10:05 ? github.com/edgexfoundry/device-rest-go [no test files] 03:10:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:10:37 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 03:10:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:10:40 gofmt -l . 03:10:40 [ "`gofmt -l .`" = "" ] 03:10:40 ./bin/test-go-mod-tidy.sh 03:10:40 ./bin/test-attribution-txt.sh [Pipeline] stash 03:10:41 Stashed 1 file(s) [Pipeline] } 03:10:41 $ docker stop --time=1 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 03:10:44 $ docker rm -f 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:10:47 + ls -al . 03:10:47 total 128 03:10:47 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 03:10 . 03:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:08 .. 03:10:47 -rw-rw-r-- 1 jenkins jenkins 151 Sep 1 03:08 .dockerignore 03:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 03:08 .git 03:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:08 .github 03:10:47 -rw-rw-r-- 1 jenkins jenkins 339 Sep 1 03:08 .gitignore 03:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:08 .semver 03:10:47 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 1 03:08 Attribution.txt 03:10:47 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 1 03:08 Dockerfile 03:10:47 -rw-rw-r-- 1 jenkins jenkins 989 Sep 1 03:08 Dockerfile.build 03:10:47 -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 03:08 Jenkinsfile 03:10:47 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 03:08 LICENSE 03:10:47 -rw-rw-r-- 1 jenkins jenkins 951 Sep 1 03:08 Makefile 03:10:47 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 1 03:08 README.md 03:10:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 03:06 VERSION 03:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:08 bin 03:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:08 cmd 03:10:47 -rw-r--r-- 1 jenkins jenkins 9369 Sep 1 03:10 coverage.out 03:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:10 driver 03:10:47 -rw-r--r-- 1 jenkins jenkins 266 Sep 1 03:10 go.mod 03:10:47 -rw-r--r-- 1 jenkins jenkins 12533 Sep 1 03:10 go.sum 03:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:08 snap 03:10:47 -rw-rw-r-- 1 jenkins jenkins 713 Sep 1 03:08 version.go [Pipeline] isUnix [Pipeline] sh 03:10:47 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 --label arch=arm64 --label version=0.0.0 . 03:10:47 Sending build context to Docker daemon 8.056MB 03:10:48 Step 1/25 : ARG BASE=golang:1.13-alpine 03:10:48 Step 2/25 : FROM ${BASE} AS builder 03:10:48 ---> c6ece0b2d74f 03:10:48 Step 3/25 : ARG MAKE='make build' 03:10:48 ---> Running in 7772ff0d34f7 03:10:49 Removing intermediate container 7772ff0d34f7 03:10:49 ---> b88ed7525a41 03:10:49 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 03:10:49 ---> Running in 9bb783b0c39b 03:10:49 Removing intermediate container 9bb783b0c39b 03:10:49 ---> 6403530bb0f2 03:10:49 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:10:49 ---> Running in 81b6b877012b 03:10:50 Removing intermediate container 81b6b877012b 03:10:50 ---> cf52d73beb12 03:10:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:50 ---> Running in d5a66b0f8f6d 03:10:53 Removing intermediate container d5a66b0f8f6d 03:10:53 ---> 6ad37cd05300 03:10:53 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:53 ---> Running in f44e9a52d491 03:10:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:10:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:10:56 OK: 142 MiB in 39 packages 03:10:57 Removing intermediate container f44e9a52d491 03:10:57 ---> 86e0d022b99d 03:10:57 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 03:10:57 ---> Running in 64c13e48c907 03:10:58 Removing intermediate container 64c13e48c907 03:10:58 ---> 29bf9b9eaa9d 03:10:58 Step 9/25 : COPY go.mod . 03:10:59 ---> 21075838c6a7 03:10:59 Step 10/25 : COPY Makefile . 03:11:00 ---> f4b1ea29a7f7 03:11:00 Step 11/25 : RUN make update 03:11:00 ---> Running in b584cbafb563 03:11:01 CGO_ENABLED=0 GO111MODULE=on go mod download 03:11:03 Removing intermediate container b584cbafb563 03:11:03 ---> d6b7e70705a0 03:11:03 Step 12/25 : COPY . . 03:11:04 ---> 444297d89116 03:11:04 Step 13/25 : RUN $MAKE 03:11:04 ---> Running in 0501d631dc72 03:11:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 03:11:15 Running on prd-centos7-docker-4c-2g-998 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws 03:11:15 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 03:11:18 using credential edgex-jenkins-ssh 03:11:18 Cloning the remote Git repository 03:11:18 Cloning with configured refspecs honoured and without tags 03:11:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:11:19 Fetching without tags 03:11:18 > git init /w/workspace/device-rest-go/2 # timeout=10 03:11:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:11:18 > git --version # timeout=10 03:11:18 > git --version # 'git version 2.16.5' 03:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:11:19 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 03:11:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:11:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:11:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:11:19 Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 03:11:19 Merge succeeded, producing 1828b49f214c8702c148eb99a818d0834366717a 03:11:19 Checking out Revision 1828b49f214c8702c148eb99a818d0834366717a (PR-35) 03:11:19 > git config core.sparsecheckout # timeout=10 03:11:19 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 03:11:19 > git remote # timeout=10 03:11:19 > git config --get remote.origin.url # timeout=10 03:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:19 > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 03:11:19 > git rev-parse HEAD^{commit} # timeout=10 03:11:19 > git config core.sparsecheckout # timeout=10 03:11:19 > git checkout -f 1828b49f214c8702c148eb99a818d0834366717a # timeout=10 03:11:23 Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" 03:11:23 > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:11:24 ========================================================= 03:11:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:11:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:11:25 + 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 . 03:11:25 Sending build context to Docker daemon 8.044MB 03:11:25 Step 1/10 : ARG BASE=golang:1.13-alpine 03:11:25 Step 2/10 : FROM ${BASE} 03:11:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:11:25 df20fa9351a1: Pulling fs layer 03:11:25 ed8968b2872e: Pulling fs layer 03:11:25 a92cc7c5fd73: Pulling fs layer 03:11:25 2dd03ba5bac4: Pulling fs layer 03:11:25 1e091d79d1de: Pulling fs layer 03:11:25 481702a1767f: Pulling fs layer 03:11:25 f64a6f60c768: Pulling fs layer 03:11:25 e78d2573fc39: Pulling fs layer 03:11:25 e876d2f968b6: Pulling fs layer 03:11:25 ce8a83651883: Pulling fs layer 03:11:25 07967f4d0e4b: Pulling fs layer 03:11:25 2dd03ba5bac4: Waiting 03:11:25 1e091d79d1de: Waiting 03:11:25 e78d2573fc39: Waiting 03:11:25 481702a1767f: Waiting 03:11:25 f64a6f60c768: Waiting 03:11:25 07967f4d0e4b: Waiting 03:11:25 ce8a83651883: Waiting 03:11:25 e876d2f968b6: Waiting 03:11:25 a92cc7c5fd73: Verifying Checksum 03:11:25 a92cc7c5fd73: Download complete 03:11:25 ed8968b2872e: Download complete 03:11:25 1e091d79d1de: Verifying Checksum 03:11:25 1e091d79d1de: Download complete 03:11:25 481702a1767f: Verifying Checksum 03:11:25 481702a1767f: Download complete 03:11:25 df20fa9351a1: Verifying Checksum 03:11:25 df20fa9351a1: Download complete 03:11:26 df20fa9351a1: Pull complete 03:11:26 f64a6f60c768: Verifying Checksum 03:11:26 f64a6f60c768: Download complete 03:11:26 e876d2f968b6: Verifying Checksum 03:11:26 e876d2f968b6: Download complete 03:11:27 2dd03ba5bac4: Verifying Checksum 03:11:27 2dd03ba5bac4: Download complete 03:11:27 ed8968b2872e: Pull complete 03:11:27 ce8a83651883: Verifying Checksum 03:11:27 ce8a83651883: Download complete 03:11:27 e78d2573fc39: Verifying Checksum 03:11:27 e78d2573fc39: Download complete 03:11:27 07967f4d0e4b: Verifying Checksum 03:11:27 07967f4d0e4b: Download complete 03:11:27 a92cc7c5fd73: Pull complete 03:11:33 Removing intermediate container 0501d631dc72 03:11:33 ---> 1be637ca2e12 03:11:33 Step 14/25 : FROM alpine:latest 03:11:33 latest: Pulling from library/alpine 03:11:33 b538f80385f9: Already exists 03:11:33 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 03:11:33 Status: Downloaded newer image for alpine:latest 03:11:33 ---> 62ee0e9f8440 03:11:33 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:11:33 ---> Running in 18e76454164e 03:11:33 Removing intermediate container 18e76454164e 03:11:33 ---> 1d4f84f7c98a 03:11:33 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 03:11:33 2dd03ba5bac4: Pull complete 03:11:33 1e091d79d1de: Pull complete 03:11:33 481702a1767f: Pull complete 03:11:34 ---> Running in bd1675efd330 03:11:34 Removing intermediate container bd1675efd330 03:11:34 ---> acfac8bc04ca 03:11:34 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 03:11:35 ---> 1620e9b0c499 03:11:35 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 03:11:36 ---> f21a71754214 03:11:36 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 03:11:37 ---> 17e9b7fe1c68 03:11:37 Step 20/25 : EXPOSE 49986 03:11:38 ---> Running in 63dc25f60bb5 03:11:38 f64a6f60c768: Pull complete 03:11:38 Removing intermediate container 63dc25f60bb5 03:11:38 ---> 437274062311 03:11:38 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 03:11:38 ---> Running in cca3f3e7e217 03:11:39 Removing intermediate container cca3f3e7e217 03:11:39 ---> 9de5d413a6f7 03:11:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:11:39 ---> Running in b8a373ab398d 03:11:40 Removing intermediate container b8a373ab398d 03:11:40 ---> 52bcbdbe82c4 03:11:40 Step 23/25 : LABEL arch=arm64 03:11:40 ---> Running in 8def38e21981 03:11:40 Removing intermediate container 8def38e21981 03:11:40 ---> e40aac179da9 03:11:40 Step 24/25 : LABEL git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 03:11:41 ---> Running in 957627683f11 03:11:41 e78d2573fc39: Pull complete 03:11:41 e876d2f968b6: Pull complete 03:11:41 Removing intermediate container 957627683f11 03:11:41 ---> eb502b2a1802 03:11:41 Step 25/25 : LABEL version=0.0.0 03:11:42 ---> Running in ab3149fbcad6 03:11:42 ce8a83651883: Pull complete 03:11:42 07967f4d0e4b: Pull complete 03:11:42 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:11:42 ---> 5d7c900382c6 03:11:42 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 03:11:42 Removing intermediate container ab3149fbcad6 03:11:42 ---> 5b0819a4d759 03:11:42 [Warning] One or more build-args [ARCH] were not consumed 03:11:42 Successfully built 5b0819a4d759 03:11:42 Successfully tagged docker-device-rest-go-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] } 03:11:43 ---> Running in 3468e4baa43d 03:11:43 Removing intermediate container 3468e4baa43d 03:11:43 ---> 99070506969b 03:11:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:11:43 ---> Running in 40970c57fc73 03:11:44 Removing intermediate container 40970c57fc73 03:11:44 ---> 70a65c0be724 03:11:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:11:44 ---> Running in e78c70771717 03:11:44 Removing intermediate container e78c70771717 03:11:44 ---> eea4ace45791 03:11:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:44 ---> Running in 747a7c636733 03:11:46 Removing intermediate container 747a7c636733 03:11:46 ---> cfa3dc80393a 03:11:46 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:11:46 ---> Running in 71f12ed11bd3 03:11:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:11:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:11:48 OK: 166 MiB in 39 packages 03:11:48 Removing intermediate container 71f12ed11bd3 03:11:48 ---> 04f6e473f6db 03:11:48 Step 8/10 : WORKDIR /device-rest-go 03:11:48 ---> Running in 947e2955b2fa 03:11:48 Removing intermediate container 947e2955b2fa 03:11:48 ---> e220f896cc1c 03:11:48 Step 9/10 : COPY . . 03:11:49 ---> 48a34a16845d 03:11:49 Step 10/10 : RUN go mod download 03:11:49 ---> Running in ce347a9d17d1 03:11:51 go: finding github.com/BurntSushi/toml v0.3.1 03:11:51 go: finding github.com/OneOfOne/xxhash v1.2.6 03:11:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:11:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:11:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:11:51 go: finding github.com/bgentry/speakeasy v0.1.0 03:11:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:11:52 go: finding github.com/davecgh/go-spew v1.1.1 03:11:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 03:11:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:11:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:11:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:11:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:11:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:11:52 go: finding github.com/fatih/color v1.7.0 03:11:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:11:52 go: finding github.com/go-kit/kit v0.8.0 03:11:52 go: finding github.com/go-logfmt/logfmt v0.4.0 03:11:52 go: finding github.com/go-stack/stack v1.8.0 03:11:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:11:52 go: finding github.com/google/uuid v1.1.0 03:11:52 go: finding github.com/gorilla/mux v1.7.1 03:11:52 go: finding github.com/hashicorp/consul/api v1.1.0 03:11:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:11:52 go: finding github.com/hashicorp/errwrap v1.0.0 03:11:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:11:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:11:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:11:52 go: finding github.com/hashicorp/go-multierror v1.0.0 03:11:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:11:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:11:52 go: finding github.com/hashicorp/go-syslog v1.0.0 03:11:52 go: finding github.com/hashicorp/go-uuid v1.0.1 03:11:52 go: finding github.com/hashicorp/go.net v0.0.1 03:11:53 go: finding github.com/hashicorp/golang-lru v0.5.0 03:11:53 go: finding github.com/hashicorp/logutils v1.0.0 03:11:53 go: finding github.com/hashicorp/mdns v1.0.0 03:11:53 go: finding github.com/hashicorp/memberlist v0.1.3 03:11:53 go: finding github.com/hashicorp/serf v0.8.2 03:11:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:11:53 go: finding github.com/mattn/go-colorable v0.0.9 03:11:53 go: finding github.com/mattn/go-isatty v0.0.3 03:11:53 go: finding github.com/miekg/dns v1.0.14 03:11:53 go: finding github.com/mitchellh/cli v1.0.0 03:11:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:11:53 go: finding github.com/mitchellh/copystructure v1.0.0 03:11:53 go: finding github.com/mitchellh/go-homedir v1.0.0 03:11:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:11:53 go: finding github.com/mitchellh/gox v0.4.0 03:11:53 go: finding github.com/mitchellh/iochan v1.0.0 03:11:53 go: finding github.com/mitchellh/mapstructure v1.1.2 03:11:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:11:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:11:53 go: finding github.com/pelletier/go-toml v1.2.0 03:11:53 go: finding github.com/pkg/errors v0.8.1 03:11:53 go: finding github.com/pmezard/go-difflib v1.0.0 03:11:53 go: finding github.com/posener/complete v1.1.1 03:11:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:11:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:11:53 go: finding github.com/spf13/cast v1.3.0 03:11:53 go: finding github.com/stretchr/objx v0.1.0 03:11:54 go: finding github.com/stretchr/testify v1.5.1 03:11:54 go: finding github.com/ugorji/go v1.1.4 03:11:54 go: finding github.com/x448/float16 v0.8.4 03:11:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:11:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:11:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:11:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:11:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:11:54 go: finding gopkg.in/yaml.v2 v2.2.8 03:12:02 Removing intermediate container ce347a9d17d1 03:12:02 ---> 9b9c8a47baf6 03:12:02 Successfully built 9b9c8a47baf6 03:12:02 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 03:12:03 + docker inspect -f . ci-base-image-x86_64 03:12:03 . [Pipeline] withDockerContainer 03:12:03 prd-centos7-docker-4c-2g-998 does not seem to be running inside a container 03:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:12:04 $ docker top af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:04 + go version 03:12:04 go version go1.13.13 linux/amd64 [Pipeline] sh 03:12:05 + make test 03:12:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:12:06 ? github.com/edgexfoundry/device-rest-go [no test files] 03:12:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:12:16 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements 03:12:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:12:17 gofmt -l . 03:12:17 [ "`gofmt -l .`" = "" ] 03:12:17 ./bin/test-go-mod-tidy.sh 03:12:18 ./bin/test-attribution-txt.sh [Pipeline] stash 03:12:18 Warning: overwriting stash ‘coverage-report’ 03:12:18 Stashed 1 file(s) [Pipeline] } 03:12:18 $ docker stop --time=1 af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d 03:12:21 $ docker rm -f af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:22 + ls -al . 03:12:22 total 96 03:12:22 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 1 03:12 . 03:12:22 drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 03:11 .. 03:12:22 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 1 03:11 Attribution.txt 03:12:22 drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 03:11 bin 03:12:22 drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 03:11 cmd 03:12:22 -rw-r--r--. 1 jenkins jenkins 9369 Sep 1 03:12 coverage.out 03:12:22 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 1 03:11 Dockerfile 03:12:22 -rw-rw-r--. 1 jenkins jenkins 989 Sep 1 03:11 Dockerfile.build 03:12:22 -rw-rw-r--. 1 jenkins jenkins 151 Sep 1 03:11 .dockerignore 03:12:22 drwxrwxr-x. 2 jenkins jenkins 93 Sep 1 03:12 driver 03:12:22 drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 03:11 .git 03:12:22 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 03:11 .github 03:12:22 -rw-rw-r--. 1 jenkins jenkins 339 Sep 1 03:11 .gitignore 03:12:22 -rw-r--r--. 1 jenkins jenkins 266 Sep 1 03:12 go.mod 03:12:22 -rw-r--r--. 1 jenkins jenkins 12533 Sep 1 03:12 go.sum 03:12:22 -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 03:11 Jenkinsfile 03:12:22 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 03:11 LICENSE 03:12:22 -rw-rw-r--. 1 jenkins jenkins 951 Sep 1 03:11 Makefile 03:12:22 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 1 03:11 README.md 03:12:22 drwxrwxr-x. 3 jenkins jenkins 45 Sep 1 03:11 .semver 03:12:22 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 03:11 snap 03:12:22 -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 03:06 VERSION 03:12:22 -rw-rw-r--. 1 jenkins jenkins 713 Sep 1 03:11 version.go [Pipeline] isUnix [Pipeline] sh 03:12:22 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 --label arch=amd64 --label version=0.0.0 . 03:12:22 Sending build context to Docker daemon 8.056MB 03:12:22 Step 1/25 : ARG BASE=golang:1.13-alpine 03:12:22 Step 2/25 : FROM ${BASE} AS builder 03:12:22 ---> 9b9c8a47baf6 03:12:22 Step 3/25 : ARG MAKE='make build' 03:12:22 ---> Running in aefc37014d5c 03:12:23 Removing intermediate container aefc37014d5c 03:12:23 ---> 9567162aa3b0 03:12:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 03:12:23 ---> Running in 19921ce7e38d 03:12:23 Removing intermediate container 19921ce7e38d 03:12:23 ---> 8a8798b20d04 03:12:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:12:23 ---> Running in 191ef3f73b04 03:12:23 Removing intermediate container 191ef3f73b04 03:12:23 ---> 1c4230efc4eb 03:12:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:23 ---> Running in 5277b41a99ec 03:12:24 Removing intermediate container 5277b41a99ec 03:12:24 ---> cc8dde758a3c 03:12:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:24 ---> Running in 6fb51ebae568 03:12:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:12:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:12:26 OK: 166 MiB in 39 packages 03:12:26 Removing intermediate container 6fb51ebae568 03:12:26 ---> 5d434e329b09 03:12:26 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 03:12:26 ---> Running in 4eacb8cd965a 03:12:27 Removing intermediate container 4eacb8cd965a 03:12:27 ---> 6d955de7bf1c 03:12:27 Step 9/25 : COPY go.mod . 03:12:27 ---> f1d04d67ce90 03:12:27 Step 10/25 : COPY Makefile . 03:12:27 ---> 8da6dd1a764b 03:12:27 Step 11/25 : RUN make update 03:12:27 ---> Running in 8c5528601ed9 03:12:27 CGO_ENABLED=0 GO111MODULE=on go mod download 03:12:28 Removing intermediate container 8c5528601ed9 03:12:28 ---> 0c3c1f947570 03:12:28 Step 12/25 : COPY . . 03:12:29 ---> d57794ea2b5c 03:12:29 Step 13/25 : RUN $MAKE 03:12:29 ---> Running in 6946c32a9b3f 03:12:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 03:12:39 Removing intermediate container 6946c32a9b3f 03:12:39 ---> 653aaa37f30c 03:12:39 Step 14/25 : FROM alpine:latest 03:12:39 latest: Pulling from library/alpine 03:12:39 df20fa9351a1: Already exists 03:12:39 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 03:12:39 Status: Downloaded newer image for alpine:latest 03:12:39 ---> a24bb4013296 03:12:39 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:12:39 ---> Running in cb5ce7a49c88 03:12:40 Removing intermediate container cb5ce7a49c88 03:12:40 ---> 1400492b3e99 03:12:40 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 03:12:40 ---> Running in b3254d171876 03:12:40 Removing intermediate container b3254d171876 03:12:40 ---> ce48995fb723 03:12:40 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 03:12:40 ---> bca60955bec7 03:12:40 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 03:12:40 ---> 60185efb8745 03:12:40 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 03:12:41 ---> e7f430e70af2 03:12:41 Step 20/25 : EXPOSE 49986 03:12:41 ---> Running in 47b583e4c951 03:12:41 Removing intermediate container 47b583e4c951 03:12:41 ---> 0ec889833779 03:12:41 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 03:12:41 ---> Running in 390cce50b704 03:12:41 Removing intermediate container 390cce50b704 03:12:41 ---> c36d8722f375 03:12:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:12:42 ---> Running in e2e64dd5571b 03:12:42 Removing intermediate container e2e64dd5571b 03:12:42 ---> 5adb0332a42f 03:12:42 Step 23/25 : LABEL arch=amd64 03:12:42 ---> Running in 2b8187d5f9f6 03:12:42 Removing intermediate container 2b8187d5f9f6 03:12:42 ---> 198c1b089527 03:12:42 Step 24/25 : LABEL git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 03:12:42 ---> Running in 918b733dd000 03:12:42 Removing intermediate container 918b733dd000 03:12:42 ---> d46ec395630f 03:12:42 Step 25/25 : LABEL version=0.0.0 03:12:42 ---> Running in a2eb7bc1a322 03:12:42 Removing intermediate container a2eb7bc1a322 03:12:42 ---> f91e2d479624 03:12:42 [Warning] One or more build-args [ARCH] were not consumed 03:12:42 Successfully built f91e2d479624 03:12:42 Successfully tagged docker-device-rest-go: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 03:12:44 provisioning config files... 03:12:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config3074588252705991570tmp [Pipeline] { [Pipeline] sh 03:12:44 + curl -s https://codecov.io/bash 03:12:44 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config3074588252705991570tmp [Pipeline] } 03:12:45 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 03:12:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:12:47 ---> package-listing.sh 03:12:47 ++ facter osfamily 03:12:47 ++ tr '[:upper:]' '[:lower:]' 03:12:47 + OS_FAMILY=redhat 03:12:47 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-35 03:12:47 + START_PACKAGES=/tmp/packages_start.txt 03:12:47 + END_PACKAGES=/tmp/packages_end.txt 03:12:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:12:47 + PACKAGES=/tmp/packages_start.txt 03:12:47 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' 03:12:47 + PACKAGES=/tmp/packages_end.txt 03:12:47 + case "${OS_FAMILY}" in 03:12:47 + rpm -qa 03:12:47 + sort 03:12:52 + '[' -f /tmp/packages_start.txt ']' 03:12:52 + '[' -f /tmp/packages_end.txt ']' 03:12:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:12:52 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' 03:12:52 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ 03:12:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [Pipeline] isUnix [Pipeline] sh 03:12:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:12:52 03:12:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:12:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:12:53 alpine: Pulling from edgex-lftools-log-publisher 03:12:53 c9b1b535fdd9: Pulling fs layer 03:12:53 2cc5ad85d9ab: Pulling fs layer 03:12:53 756a868c4378: Pulling fs layer 03:12:53 444b2fc9a129: Pulling fs layer 03:12:53 ea15f1150254: Pulling fs layer 03:12:53 41b27a9f41bf: Pulling fs layer 03:12:53 28c525ee5125: Pulling fs layer 03:12:53 094b1ea09ed8: Pulling fs layer 03:12:53 138eaada9080: Pulling fs layer 03:12:53 0622d0fa9048: Pulling fs layer 03:12:53 ea15f1150254: Waiting 03:12:53 094b1ea09ed8: Waiting 03:12:53 138eaada9080: Waiting 03:12:53 41b27a9f41bf: Waiting 03:12:53 28c525ee5125: Waiting 03:12:53 0622d0fa9048: Waiting 03:12:53 444b2fc9a129: Waiting 03:12:53 2cc5ad85d9ab: Verifying Checksum 03:12:53 2cc5ad85d9ab: Download complete 03:12:53 444b2fc9a129: Verifying Checksum 03:12:53 444b2fc9a129: Download complete 03:12:53 c9b1b535fdd9: Verifying Checksum 03:12:53 c9b1b535fdd9: Download complete 03:12:53 ea15f1150254: Verifying Checksum 03:12:53 ea15f1150254: Download complete 03:12:53 28c525ee5125: Verifying Checksum 03:12:53 28c525ee5125: Download complete 03:12:53 756a868c4378: Verifying Checksum 03:12:53 756a868c4378: Download complete 03:12:53 c9b1b535fdd9: Pull complete 03:12:54 138eaada9080: Verifying Checksum 03:12:54 138eaada9080: Download complete 03:12:54 0622d0fa9048: Verifying Checksum 03:12:54 0622d0fa9048: Download complete 03:12:54 094b1ea09ed8: Verifying Checksum 03:12:54 094b1ea09ed8: Download complete 03:12:54 2cc5ad85d9ab: Pull complete 03:12:54 41b27a9f41bf: Verifying Checksum 03:12:54 41b27a9f41bf: Download complete 03:12:55 756a868c4378: Pull complete 03:12:55 444b2fc9a129: Pull complete 03:12:56 ea15f1150254: Pull complete 03:13:00 41b27a9f41bf: Pull complete 03:13:00 28c525ee5125: Pull complete 03:13:01 094b1ea09ed8: Pull complete 03:13:01 138eaada9080: Pull complete 03:13:02 0622d0fa9048: Pull complete 03:13:02 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:13:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:13:02 prd-centos7-docker-4c-2g-987 does not seem to be running inside a container 03:13:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:13:05 $ docker top ea79eb7f8126709c5bb227f1592e0ed5a4d2cf452f20133fd3b43751f559d7c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:05 provisioning config files... 03:13:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config1149719480309789780tmp [Pipeline] { [Pipeline] echo 03:13:05 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:13:06 ---> create-netrc.sh [Pipeline] echo 03:13:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:13:06 ---> logs-deploy.sh 03:13:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/2 03:13:06 INFO: archiving workspace using pattern(s): 03:13:07 Archives upload complete. 03:13:07 INFO: archiving logs to Nexus 03:13:08 ---> uname -a: 03:13:08 Linux ea79eb7f8126 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 03:13:08 03:13:08 03:13:08 ---> lscpu: 03:13:08 Architecture: x86_64 03:13:08 CPU op-mode(s): 32-bit, 64-bit 03:13:08 Byte Order: Little Endian 03:13:08 Address sizes: 40 bits physical, 48 bits virtual 03:13:08 CPU(s): 4 03:13:08 On-line CPU(s) list: 0-3 03:13:08 Thread(s) per core: 1 03:13:08 Core(s) per socket: 1 03:13:08 Socket(s): 4 03:13:08 NUMA node(s): 1 03:13:08 Vendor ID: GenuineIntel 03:13:08 CPU family: 6 03:13:08 Model: 44 03:13:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:13:08 Stepping: 1 03:13:08 CPU MHz: 2933.396 03:13:08 BogoMIPS: 5866.79 03:13:08 Virtualization: VT-x 03:13:08 Hypervisor vendor: KVM 03:13:08 Virtualization type: full 03:13:08 L1d cache: 128 KiB 03:13:08 L1i cache: 128 KiB 03:13:08 L2 cache: 16 MiB 03:13:08 L3 cache: 64 MiB 03:13:08 NUMA node0 CPU(s): 0-3 03:13:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:13:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:13:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:13:08 Vulnerability Meltdown: Mitigation; PTI 03:13:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:13:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:13:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:13:08 Vulnerability Tsx async abort: Not affected 03:13:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 03:13:08 03:13:08 03:13:08 ---> nproc: 03:13:08 4 03:13:08 03:13:08 03:13:08 ---> df -h: 03:13:08 Filesystem Size Used Available Use% Mounted on 03:13:08 overlay 50.0G 6.9G 43.1G 14% / 03:13:08 tmpfs 64.0M 0 64.0M 0% /dev 03:13:08 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:13:08 shm 64.0M 0 64.0M 0% /dev/shm 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-rest-go_PR-35 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp 03:13:08 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa 03:13:08 03:13:08 03:13:08 ---> free -m: 03:13:08 total used free shared buff/cache available 03:13:08 Mem: 1837 762 105 0 969 983 03:13:08 Swap: 1023 1 1022 03:13:08 03:13:08