Pull request #37 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of venkata-subbareddyK for edgexfoundry/device-rest-go Loading trusted files from base branch master at ecc710d5197e59ae7f4883e76f8aa49dbd120517 rather than 46301ebcf33bc1215e642c59d29d242eedac304d Obtained Jenkinsfile from ecc710d5197e59ae7f4883e76f8aa49dbd120517 Running in Durability level: MAX_SURVIVABILITY 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-37/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f17c8f7ddcfcae814424951d38f1611fe0b2aacf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f17c8f7ddcfcae814424951d38f1611fe0b2aacf # timeout=10 Commit message: "Merge pull request #232 from ernestojeda/update-snap-agent-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-841 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [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-37 # 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/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/37/head:refs/remotes/origin/PR-37 # timeout=10 Fetching without tags Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) > 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/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # 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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:47:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:47:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:47:48 ========================================================= 19:47:48 EdgeX Global Pipelines Version Info 19:47:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:47:50 ------------------- 19:47:50 stable info: 19:47:50 ------------------- 19:47:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:47:50 Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf 19:47:50 Message: update stable to v1.0.114 19:47:50 ------------------- 19:47:50 experimental info: 19:47:50 ------------------- 19:47:50 Commited By: **** collab-it+edgex@linuxfoundation.org 19:47:50 Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf 19:47:50 Message: update experimental to v1.0.114 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:47:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:47:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:47:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:47:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:47:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:47:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-37 [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-37 [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-37 [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46301ebcf33bc1215e642c59d29d242eedac304d [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46301eb [Pipeline] echo 19:47:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:55 + git log --format=format:%s -1 46301ebcf33bc1215e642c59d29d242eedac304d [Pipeline] echo 19:47:55 GIT_COMMIT: 46301ebcf33bc1215e642c59d29d242eedac304d, Commit Message: refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34 [Pipeline] echo 19:47:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:47:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:47:56 19:47:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:47:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:47:56 latest: Pulling from edgex-devops/git-semver 19:47:56 31603596830f: Pulling fs layer 19:47:56 2a8b12db71e7: Pulling fs layer 19:47:56 6ca5941a6612: Pulling fs layer 19:47:56 ecc8261a40a4: Pulling fs layer 19:47:56 ecc8261a40a4: Waiting 19:47:56 2a8b12db71e7: Verifying Checksum 19:47:56 2a8b12db71e7: Download complete 19:47:57 31603596830f: Verifying Checksum 19:47:57 31603596830f: Download complete 19:47:57 ecc8261a40a4: Verifying Checksum 19:47:57 ecc8261a40a4: Download complete 19:47:57 6ca5941a6612: Verifying Checksum 19:47:57 6ca5941a6612: Download complete 19:47:57 31603596830f: Pull complete 19:47:57 2a8b12db71e7: Pull complete 19:47:59 6ca5941a6612: Pull complete 19:47:59 ecc8261a40a4: Pull complete 19:47:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:47:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:48:00 prd-centos7-docker-4c-2g-841 does not seem to be running inside a container 19:48:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-37 -v /w/workspace/dgexfoundry_device-rest-go_PR-37:/w/workspace/dgexfoundry_device-rest-go_PR-37:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-37@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:48:02 $ docker top 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:48:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:03 [ssh-agent] Looking for ssh-agent implementation... 19:48:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:03 $ docker exec 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent 19:48:03 SSH_AUTH_SOCK=/tmp/ssh-3xRf2T6aO9Oh/agent.12 19:48:03 SSH_AGENT_PID=18 19:48:03 Running ssh-add (command line suppressed) 19:48:03 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_840989745839518952.key (/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_840989745839518952.key) 19:48:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:04 + git describe --exact-match --tags HEAD 19:48:04 fatal: No names found, cannot describe anything. [Pipeline] } 19:48:04 $ docker exec --env ******** --env ******** 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent -k 19:48:04 unset SSH_AUTH_SOCK; 19:48:04 unset SSH_AGENT_PID; 19:48:04 echo Agent pid 18 killed; 19:48:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:48:04 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:48:04 This usually means this commit has not been tagged. [Pipeline] sshagent 19:48:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:04 [ssh-agent] Looking for ssh-agent implementation... 19:48:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:05 $ docker exec 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent 19:48:05 SSH_AUTH_SOCK=/tmp/ssh-qyZm2qfW6b54/agent.46 19:48:05 SSH_AGENT_PID=52 19:48:05 Running ssh-add (command line suppressed) 19:48:05 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_5885254366675723230.key (/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_5885254366675723230.key) 19:48:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:06 + git semver init 19:48:06 # -> Open(): unable to determine branch for HEAD 19:48:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-37/.git 19:48:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-37 19:48:06 # $SEMVER_REMOTE_NAME = origin 19:48:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:48:06 # $SEMVER_USER_NAME = edgex-jenkins 19:48:06 # $SEMVER_BRANCH = PR-37 19:48:06 # $SEMVER_TEMP = /tmp/semver-018725963 19:48:06 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:48:07 # '/tmp/semver-018725963' -> '/w/workspace/dgexfoundry_device-rest-go_PR-37/.semver' 19:48:07 # -> Force: false 19:48:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-37/.semver [Pipeline] } 19:48:07 $ docker exec --env ******** --env ******** 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent -k 19:48:07 unset SSH_AUTH_SOCK; 19:48:07 unset SSH_AGENT_PID; 19:48:07 echo Agent pid 52 killed; 19:48:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:48:08 + git semver [Pipeline] } 19:48:08 $ docker stop --time=1 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 19:48:10 $ docker rm -f 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:48:12 Stashed 19 file(s) [Pipeline] echo 19:48:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 19:48:12 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 19:48:27 Still waiting to schedule task 19:48:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:48:27 Still waiting to schedule task 19:48:27 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:50:19 Running on prd-centos7-docker-4c-2g-844 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [Pipeline] { [Pipeline] ws 19:50:19 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:50:22 using credential edgex-jenkins-ssh 19:50:22 Cloning the remote Git repository 19:50:22 Cloning with configured refspecs honoured and without tags 19:50:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:50:22 > git init /w/workspace/device-rest-go/1 # timeout=10 19:50:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:50:22 > git --version # timeout=10 19:50:22 > git --version # 'git version 2.16.5' 19:50:22 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:50:23 Fetching without tags 19:50:24 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d 19:50:24 Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d 19:50:24 Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) 19:50:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:50:23 > git config --add remote.origin.fetch +refs/pull/37/head:refs/remotes/origin/PR-37 # timeout=10 19:50:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:50:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:50:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:50:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:50:24 > git config core.sparsecheckout # timeout=10 19:50:24 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 19:50:24 > git remote # timeout=10 19:50:24 > git config --get remote.origin.url # timeout=10 19:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:24 > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 19:50:24 > git rev-parse HEAD^{commit} # timeout=10 19:50:24 > git config core.sparsecheckout # timeout=10 19:50:24 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 19:50:27 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" 19:50:27 > git --version # timeout=10 19:50:27 > git --version # 'git version 2.16.5' 19:50:27 fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:50:28 ========================================================= 19:50:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:50:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:50:29 + 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 . 19:50:29 Sending build context to Docker daemon 8.04MB 19:50:29 Step 1/10 : ARG BASE=golang:1.13-alpine 19:50:29 Step 2/10 : FROM ${BASE} 19:50:30 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:50:30 df20fa9351a1: Pulling fs layer 19:50:30 ed8968b2872e: Pulling fs layer 19:50:30 a92cc7c5fd73: Pulling fs layer 19:50:30 2dd03ba5bac4: Pulling fs layer 19:50:30 1e091d79d1de: Pulling fs layer 19:50:30 481702a1767f: Pulling fs layer 19:50:30 f64a6f60c768: Pulling fs layer 19:50:30 e78d2573fc39: Pulling fs layer 19:50:30 e876d2f968b6: Pulling fs layer 19:50:30 ce8a83651883: Pulling fs layer 19:50:30 07967f4d0e4b: Pulling fs layer 19:50:30 1e091d79d1de: Waiting 19:50:30 481702a1767f: Waiting 19:50:30 2dd03ba5bac4: Waiting 19:50:30 f64a6f60c768: Waiting 19:50:30 e78d2573fc39: Waiting 19:50:30 e876d2f968b6: Waiting 19:50:30 ce8a83651883: Waiting 19:50:30 07967f4d0e4b: Waiting 19:50:30 a92cc7c5fd73: Verifying Checksum 19:50:30 a92cc7c5fd73: Download complete 19:50:30 ed8968b2872e: Download complete 19:50:30 1e091d79d1de: Verifying Checksum 19:50:30 1e091d79d1de: Download complete 19:50:30 481702a1767f: Verifying Checksum 19:50:30 481702a1767f: Download complete 19:50:30 df20fa9351a1: Verifying Checksum 19:50:30 df20fa9351a1: Download complete 19:50:30 df20fa9351a1: Pull complete 19:50:31 f64a6f60c768: Verifying Checksum 19:50:31 f64a6f60c768: Download complete 19:50:31 e876d2f968b6: Verifying Checksum 19:50:31 e876d2f968b6: Download complete 19:50:31 2dd03ba5bac4: Verifying Checksum 19:50:31 2dd03ba5bac4: Download complete 19:50:31 e78d2573fc39: Verifying Checksum 19:50:31 e78d2573fc39: Download complete 19:50:31 07967f4d0e4b: Verifying Checksum 19:50:31 07967f4d0e4b: Download complete 19:50:31 ce8a83651883: Download complete 19:50:32 ed8968b2872e: Pull complete 19:50:32 a92cc7c5fd73: Pull complete 19:50:37 2dd03ba5bac4: Pull complete 19:50:37 1e091d79d1de: Pull complete 19:50:38 481702a1767f: Pull complete 19:50:44 f64a6f60c768: Pull complete 19:50:47 e78d2573fc39: Pull complete 19:50:47 e876d2f968b6: Pull complete 19:50:48 ce8a83651883: Pull complete 19:50:48 07967f4d0e4b: Pull complete 19:50:48 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 19:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:50:48 ---> 5d7c900382c6 19:50:48 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:50:50 ---> Running in edd74f9e042a 19:50:50 Removing intermediate container edd74f9e042a 19:50:50 ---> 5d6d139fc2f0 19:50:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:50:50 ---> Running in e97f70219fa9 19:50:50 Removing intermediate container e97f70219fa9 19:50:50 ---> 2c2a0e52849e 19:50:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:50:51 ---> Running in 68f92096be37 19:50:51 Removing intermediate container 68f92096be37 19:50:51 ---> bb1061cffc9e 19:50:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:50:51 ---> Running in abe341cdd4ac 19:50:52 Removing intermediate container abe341cdd4ac 19:50:52 ---> 6130487bd345 19:50:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:50:52 ---> Running in c7aaba53bedd 19:50:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:50:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:50:54 OK: 166 MiB in 39 packages 19:50:54 Removing intermediate container c7aaba53bedd 19:50:54 ---> de34c7789552 19:50:54 Step 8/10 : WORKDIR /device-rest-go 19:50:54 ---> Running in 7324e9605c8f 19:50:54 Removing intermediate container 7324e9605c8f 19:50:54 ---> bf58aa6868b9 19:50:54 Step 9/10 : COPY . . 19:50:55 ---> aa204aa15b88 19:50:55 Step 10/10 : RUN go mod download 19:50:55 ---> Running in e2ef42260721 19:50:57 go: finding github.com/BurntSushi/toml v0.3.1 19:50:57 go: finding github.com/OneOfOne/xxhash v1.2.6 19:50:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:50:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:50:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:50:57 go: finding github.com/bgentry/speakeasy v0.1.0 19:50:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:50:57 go: finding github.com/davecgh/go-spew v1.1.1 19:50:57 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:50:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:50:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:50:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:50:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:50:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:50:57 go: finding github.com/fatih/color v1.7.0 19:50:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:50:58 go: finding github.com/go-kit/kit v0.8.0 19:50:58 go: finding github.com/go-logfmt/logfmt v0.4.0 19:50:58 go: finding github.com/go-stack/stack v1.8.0 19:50:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:50:58 go: finding github.com/google/uuid v1.1.0 19:50:58 go: finding github.com/gorilla/mux v1.7.1 19:50:58 go: finding github.com/hashicorp/consul/api v1.1.0 19:50:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:50:58 go: finding github.com/hashicorp/errwrap v1.0.0 19:50:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:50:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:50:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:50:58 go: finding github.com/hashicorp/go-multierror v1.0.0 19:50:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:50:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:50:58 go: finding github.com/hashicorp/go-syslog v1.0.0 19:50:58 go: finding github.com/hashicorp/go-uuid v1.0.1 19:50:58 go: finding github.com/hashicorp/go.net v0.0.1 19:50:58 go: finding github.com/hashicorp/golang-lru v0.5.0 19:50:58 go: finding github.com/hashicorp/logutils v1.0.0 19:50:58 go: finding github.com/hashicorp/mdns v1.0.0 19:50:58 go: finding github.com/hashicorp/memberlist v0.1.3 19:50:58 go: finding github.com/hashicorp/serf v0.8.2 19:50:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:50:58 go: finding github.com/mattn/go-colorable v0.0.9 19:50:58 go: finding github.com/mattn/go-isatty v0.0.3 19:50:58 go: finding github.com/miekg/dns v1.0.14 19:50:58 go: finding github.com/mitchellh/cli v1.0.0 19:50:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:50:59 go: finding github.com/mitchellh/copystructure v1.0.0 19:50:59 go: finding github.com/mitchellh/go-homedir v1.0.0 19:50:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:50:59 go: finding github.com/mitchellh/gox v0.4.0 19:50:59 go: finding github.com/mitchellh/iochan v1.0.0 19:50:59 go: finding github.com/mitchellh/mapstructure v1.1.2 19:50:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:50:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:50:59 go: finding github.com/pelletier/go-toml v1.2.0 19:50:59 go: finding github.com/pkg/errors v0.8.1 19:50:59 go: finding github.com/pmezard/go-difflib v1.0.0 19:50:59 go: finding github.com/posener/complete v1.1.1 19:50:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:50:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:50:59 go: finding github.com/spf13/cast v1.3.0 19:50:59 go: finding github.com/stretchr/objx v0.1.0 19:50:59 go: finding github.com/stretchr/testify v1.5.1 19:50:59 go: finding github.com/ugorji/go v1.1.4 19:50:59 go: finding github.com/x448/float16 v0.8.4 19:50:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:50:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:51:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:51:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:51:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:51:00 go: finding gopkg.in/yaml.v2 v2.2.8 19:51:08 Removing intermediate container e2ef42260721 19:51:08 ---> 4a50a1cc4552 19:51:08 Successfully built 4a50a1cc4552 19:51:08 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 19:51:09 + docker inspect -f . ci-base-image-x86_64 19:51:09 . [Pipeline] withDockerContainer 19:51:09 prd-centos7-docker-4c-2g-844 does not seem to be running inside a container 19:51:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:51:10 $ docker top 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:10 + go version 19:51:10 go version go1.13.13 linux/amd64 [Pipeline] sh 19:51:11 + make test 19:51:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:51:12 ? github.com/edgexfoundry/device-rest-go [no test files] 19:51:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:51:22 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 19:51:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:51:23 gofmt -l . 19:51:23 [ "`gofmt -l .`" = "" ] 19:51:23 ./bin/test-go-mod-tidy.sh 19:51:23 ./bin/test-attribution-txt.sh [Pipeline] stash 19:51:24 Stashed 1 file(s) [Pipeline] } 19:51:24 $ docker stop --time=1 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 19:51:26 $ docker rm -f 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:51:28 + ls -al . 19:51:28 total 96 19:51:28 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 31 19:51 . 19:51:28 drwxrwxr-x. 4 jenkins jenkins 28 Aug 31 19:50 .. 19:51:28 -rw-rw-r--. 1 jenkins jenkins 4802 Aug 31 19:50 Attribution.txt 19:51:28 drwxrwxr-x. 2 jenkins jenkins 64 Aug 31 19:50 bin 19:51:28 drwxrwxr-x. 3 jenkins jenkins 32 Aug 31 19:50 cmd 19:51:28 -rw-r--r--. 1 jenkins jenkins 9369 Aug 31 19:51 coverage.out 19:51:28 -rw-rw-r--. 1 jenkins jenkins 1519 Aug 31 19:50 Dockerfile 19:51:28 -rw-rw-r--. 1 jenkins jenkins 989 Aug 31 19:50 Dockerfile.build 19:51:28 -rw-rw-r--. 1 jenkins jenkins 151 Aug 31 19:50 .dockerignore 19:51:28 drwxrwxr-x. 2 jenkins jenkins 93 Aug 31 19:51 driver 19:51:28 drwxrwxr-x. 8 jenkins jenkins 179 Aug 31 19:50 .git 19:51:28 drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 19:50 .github 19:51:28 -rw-rw-r--. 1 jenkins jenkins 339 Aug 31 19:50 .gitignore 19:51:28 -rw-r--r--. 1 jenkins jenkins 266 Aug 31 19:51 go.mod 19:51:28 -rw-r--r--. 1 jenkins jenkins 12533 Aug 31 19:51 go.sum 19:51:28 -rw-rw-r--. 1 jenkins jenkins 702 Aug 31 19:50 Jenkinsfile 19:51:28 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 31 19:50 LICENSE 19:51:28 -rw-rw-r--. 1 jenkins jenkins 951 Aug 31 19:50 Makefile 19:51:28 -rw-rw-r--. 1 jenkins jenkins 5716 Aug 31 19:50 README.md 19:51:28 drwxrwxr-x. 3 jenkins jenkins 45 Aug 31 19:50 .semver 19:51:28 drwxrwxr-x. 4 jenkins jenkins 54 Aug 31 19:50 snap 19:51:28 -rw-rw-r--. 1 jenkins jenkins 5 Aug 31 19:48 VERSION 19:51:28 -rw-rw-r--. 1 jenkins jenkins 713 Aug 31 19:50 version.go [Pipeline] isUnix [Pipeline] sh 19:51:28 + 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=46301ebcf33bc1215e642c59d29d242eedac304d --label arch=amd64 --label version=0.0.0 . 19:51:28 Sending build context to Docker daemon 8.052MB 19:51:28 Step 1/25 : ARG BASE=golang:1.13-alpine 19:51:28 Step 2/25 : FROM ${BASE} AS builder 19:51:28 ---> 4a50a1cc4552 19:51:28 Step 3/25 : ARG MAKE='make build' 19:51:29 ---> Running in a74b0c9a11fb 19:51:29 Removing intermediate container a74b0c9a11fb 19:51:29 ---> d913b767c6af 19:51:29 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:51:29 ---> Running in eb3a96b4609e 19:51:29 Removing intermediate container eb3a96b4609e 19:51:29 ---> 8633de7b6763 19:51:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:51:29 ---> Running in 998abd6129e4 19:51:29 Removing intermediate container 998abd6129e4 19:51:29 ---> b20aa555fa1d 19:51:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:29 ---> Running in c260fb529669 19:51:30 Removing intermediate container c260fb529669 19:51:30 ---> 65113ed829dc 19:51:30 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:30 ---> Running in df4ecee1d6a5 19:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:51:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:51:32 OK: 166 MiB in 39 packages 19:51:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-845 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [Pipeline] { [Pipeline] ws 19:51:32 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:51:32 Removing intermediate container df4ecee1d6a5 19:51:32 ---> de861541a8c8 19:51:32 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:51:32 ---> Running in 8cd86c942907 19:51:32 Removing intermediate container 8cd86c942907 19:51:32 ---> ad0a289bc223 19:51:32 Step 9/25 : COPY go.mod . 19:51:33 ---> be8ae7af5171 19:51:33 Step 10/25 : COPY Makefile . 19:51:33 ---> 35d6b9661fd6 19:51:33 Step 11/25 : RUN make update 19:51:33 ---> Running in fc29cbe22a1a 19:51:33 CGO_ENABLED=0 GO111MODULE=on go mod download 19:51:34 Removing intermediate container fc29cbe22a1a 19:51:34 ---> f3942594d09f 19:51:34 Step 12/25 : COPY . . 19:51:34 ---> 225946bde0fa 19:51:34 Step 13/25 : RUN $MAKE 19:51:34 ---> Running in 228831a29054 19:51:35 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 19:51:37 using credential edgex-jenkins-ssh 19:51:37 Cloning the remote Git repository 19:51:37 Cloning with configured refspecs honoured and without tags 19:51:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:51:37 > git init /w/workspace/device-rest-go/1 # timeout=10 19:51:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:51:37 > git --version # timeout=10 19:51:37 > git --version # 'git version 2.17.1' 19:51:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:51:39 Fetching without tags 19:51:39 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d 19:51:39 Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d 19:51:39 Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) 19:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:51:38 > git config --add remote.origin.fetch +refs/pull/37/head:refs/remotes/origin/PR-37 # timeout=10 19:51:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:51:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:51:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:51:39 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:51:39 > git config core.sparsecheckout # timeout=10 19:51:39 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 19:51:39 > git remote # timeout=10 19:51:39 > git config --get remote.origin.url # timeout=10 19:51:39 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:39 > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 19:51:39 > git rev-parse HEAD^{commit} # timeout=10 19:51:39 > git config core.sparsecheckout # timeout=10 19:51:39 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 19:51:43 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" 19:51:44 > git --version # timeout=10 19:51:44 > git --version # 'git version 2.17.1' 19:51:44 fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:51:46 ========================================================= 19:51:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:51:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:51:47 Removing intermediate container 228831a29054 19:51:47 ---> 21639a4389d4 19:51:47 Step 14/25 : FROM alpine:latest 19:51:47 latest: Pulling from library/alpine 19:51:47 df20fa9351a1: Already exists 19:51:47 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:51:47 Status: Downloaded newer image for alpine:latest 19:51:47 ---> a24bb4013296 19:51:47 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:51:47 ---> Running in e158abe7112c 19:51:47 Removing intermediate container e158abe7112c 19:51:47 ---> 5c0381419a13 19:51:47 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:51:47 ---> Running in bbc421b2e7e6 19:51:47 Removing intermediate container bbc421b2e7e6 19:51:47 ---> 02cb2d1c8b2a 19:51:47 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:51:47 ---> badedab9340c 19:51:47 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:51:47 ---> 51d920bba39b 19:51:47 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:51:47 ---> 0c76e1db3268 19:51:47 Step 20/25 : EXPOSE 49986 19:51:47 ---> Running in d9445e1e2db4 19:51:47 + 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 . 19:51:47 Removing intermediate container d9445e1e2db4 19:51:47 ---> a4575010060c 19:51:47 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:51:47 ---> Running in be9743cfafec 19:51:47 Removing intermediate container be9743cfafec 19:51:47 ---> 58886eaad1d9 19:51:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:51:47 ---> Running in 570fd2c746b6 19:51:47 Removing intermediate container 570fd2c746b6 19:51:47 ---> 550ede79abc7 19:51:47 Step 23/25 : LABEL arch=amd64 19:51:48 ---> Running in a265a752e1de 19:51:48 Removing intermediate container a265a752e1de 19:51:48 ---> cf448a8c578e 19:51:48 Step 24/25 : LABEL git_sha=46301ebcf33bc1215e642c59d29d242eedac304d 19:51:48 Sending build context to Docker daemon 8.04MB 19:51:48 Step 1/10 : ARG BASE=golang:1.13-alpine 19:51:48 Step 2/10 : FROM ${BASE} 19:51:48 ---> Running in dfa904281f45 19:51:48 Removing intermediate container dfa904281f45 19:51:48 ---> a5910f0dc61a 19:51:48 Step 25/25 : LABEL version=0.0.0 19:51:48 ---> Running in 47da860e7df8 19:51:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:51:48 b538f80385f9: Pulling fs layer 19:51:48 74f711af9a0d: Pulling fs layer 19:51:48 99f96fe45779: Pulling fs layer 19:51:48 fd7a069fd194: Pulling fs layer 19:51:48 66aa3694b03b: Pulling fs layer 19:51:48 170f70906a0f: Pulling fs layer 19:51:48 ad7c5574e4b9: Pulling fs layer 19:51:48 e772456be8f7: Pulling fs layer 19:51:48 c890913d741a: Pulling fs layer 19:51:48 2480fcc9aa5a: Pulling fs layer 19:51:48 09adf4765672: Pulling fs layer 19:51:48 fd7a069fd194: Waiting 19:51:48 66aa3694b03b: Waiting 19:51:48 170f70906a0f: Waiting 19:51:48 ad7c5574e4b9: Waiting 19:51:48 e772456be8f7: Waiting 19:51:48 c890913d741a: Waiting 19:51:48 2480fcc9aa5a: Waiting 19:51:48 09adf4765672: Waiting 19:51:48 99f96fe45779: Verifying Checksum 19:51:48 99f96fe45779: Download complete 19:51:48 74f711af9a0d: Verifying Checksum 19:51:48 66aa3694b03b: Verifying Checksum 19:51:48 66aa3694b03b: Download complete 19:51:48 170f70906a0f: Download complete 19:51:48 b538f80385f9: Verifying Checksum 19:51:48 b538f80385f9: Download complete 19:51:48 Removing intermediate container 47da860e7df8 19:51:48 ---> 23ce586f8a52 19:51:48 [Warning] One or more build-args [ARCH] were not consumed 19:51:48 Successfully built 23ce586f8a52 19:51:48 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script 19:51:49 b538f80385f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 19:51:49 74f711af9a0d: Pull complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:51:50 99f96fe45779: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:51:52 ad7c5574e4b9: Download complete 19:51:52 c890913d741a: Verifying Checksum 19:51:52 c890913d741a: Download complete 19:51:54 e772456be8f7: Verifying Checksum 19:51:54 e772456be8f7: Download complete 19:51:54 2480fcc9aa5a: Verifying Checksum 19:51:54 2480fcc9aa5a: Download complete 19:51:54 09adf4765672: Verifying Checksum 19:51:54 09adf4765672: Download complete 19:51:54 fd7a069fd194: Download complete 19:52:06 fd7a069fd194: Pull complete 19:52:06 66aa3694b03b: Pull complete 19:52:06 170f70906a0f: Pull complete 19:52:10 ad7c5574e4b9: Pull complete 19:52:14 e772456be8f7: Pull complete 19:52:14 c890913d741a: Pull complete 19:52:17 2480fcc9aa5a: Pull complete 19:52:17 09adf4765672: Pull complete 19:52:17 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 19:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:52:17 ---> 2248a725d1cf 19:52:17 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:52:21 ---> Running in 4cee8afd7196 19:52:22 Removing intermediate container 4cee8afd7196 19:52:22 ---> 4328c4feaa3a 19:52:22 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:52:22 ---> Running in 6b72fac156ca 19:52:22 Removing intermediate container 6b72fac156ca 19:52:22 ---> ef65910a6b6e 19:52:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:52:22 ---> Running in d92c9a41d88e 19:52:23 Removing intermediate container d92c9a41d88e 19:52:23 ---> 090d9504387d 19:52:23 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:52:23 ---> Running in 03c57b631f40 19:52:26 Removing intermediate container 03c57b631f40 19:52:26 ---> 032760f83ec9 19:52:26 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:52:26 ---> Running in 730765e9ad1b 19:52:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:52:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:52:28 OK: 142 MiB in 39 packages 19:52:30 Removing intermediate container 730765e9ad1b 19:52:30 ---> 260cbb63ce07 19:52:30 Step 8/10 : WORKDIR /device-rest-go 19:52:30 ---> Running in 20bd08bd581b 19:52:30 Removing intermediate container 20bd08bd581b 19:52:30 ---> 00606108e74b 19:52:30 Step 9/10 : COPY . . 19:52:32 ---> f522d733e8ae 19:52:32 Step 10/10 : RUN go mod download 19:52:32 ---> Running in 77f97e8b6b1b 19:52:35 go: finding github.com/BurntSushi/toml v0.3.1 19:52:35 go: finding github.com/OneOfOne/xxhash v1.2.6 19:52:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:52:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:52:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:52:35 go: finding github.com/bgentry/speakeasy v0.1.0 19:52:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:52:35 go: finding github.com/davecgh/go-spew v1.1.1 19:52:35 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 19:52:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 19:52:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:52:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:52:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:52:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:52:35 go: finding github.com/fatih/color v1.7.0 19:52:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:52:35 go: finding github.com/go-kit/kit v0.8.0 19:52:35 go: finding github.com/go-logfmt/logfmt v0.4.0 19:52:36 go: finding github.com/go-stack/stack v1.8.0 19:52:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:52:36 go: finding github.com/google/uuid v1.1.0 19:52:36 go: finding github.com/gorilla/mux v1.7.1 19:52:36 go: finding github.com/hashicorp/consul/api v1.1.0 19:52:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:52:36 go: finding github.com/hashicorp/errwrap v1.0.0 19:52:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:52:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:52:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:52:36 go: finding github.com/hashicorp/go-multierror v1.0.0 19:52:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:52:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:52:36 go: finding github.com/hashicorp/go-syslog v1.0.0 19:52:36 go: finding github.com/hashicorp/go-uuid v1.0.1 19:52:36 go: finding github.com/hashicorp/go.net v0.0.1 19:52:36 go: finding github.com/hashicorp/golang-lru v0.5.0 19:52:36 go: finding github.com/hashicorp/logutils v1.0.0 19:52:36 go: finding github.com/hashicorp/mdns v1.0.0 19:52:36 go: finding github.com/hashicorp/memberlist v0.1.3 19:52:36 go: finding github.com/hashicorp/serf v0.8.2 19:52:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:52:36 go: finding github.com/mattn/go-colorable v0.0.9 19:52:36 go: finding github.com/mattn/go-isatty v0.0.3 19:52:36 go: finding github.com/miekg/dns v1.0.14 19:52:36 go: finding github.com/mitchellh/cli v1.0.0 19:52:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:52:37 go: finding github.com/mitchellh/copystructure v1.0.0 19:52:37 go: finding github.com/mitchellh/go-homedir v1.0.0 19:52:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:52:37 go: finding github.com/mitchellh/gox v0.4.0 19:52:37 go: finding github.com/mitchellh/iochan v1.0.0 19:52:37 go: finding github.com/mitchellh/mapstructure v1.1.2 19:52:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:52:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:52:37 go: finding github.com/pelletier/go-toml v1.2.0 19:52:37 go: finding github.com/pkg/errors v0.8.1 19:52:37 go: finding github.com/pmezard/go-difflib v1.0.0 19:52:37 go: finding github.com/posener/complete v1.1.1 19:52:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:52:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:52:37 go: finding github.com/spf13/cast v1.3.0 19:52:37 go: finding github.com/stretchr/objx v0.1.0 19:52:37 go: finding github.com/stretchr/testify v1.5.1 19:52:37 go: finding github.com/ugorji/go v1.1.4 19:52:37 go: finding github.com/x448/float16 v0.8.4 19:52:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:52:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:52:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:52:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:52:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:52:37 go: finding gopkg.in/yaml.v2 v2.2.8 19:52:48 Removing intermediate container 77f97e8b6b1b 19:52:48 ---> 04182a975783 19:52:48 Successfully built 04182a975783 19:52:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:52:49 + docker inspect -f . ci-base-image-arm64 19:52:49 . [Pipeline] withDockerContainer 19:52:49 prd-ubuntu18.04-docker-arm64-4c-16g-845 does not seem to be running inside a container 19:52:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 19:52:51 $ docker top b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:52 + go version 19:52:52 go version go1.13.13 linux/arm64 [Pipeline] sh 19:52:53 + make test 19:52:53 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:52:54 ? github.com/edgexfoundry/device-rest-go [no test files] 19:53:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:53:23 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements 19:53:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:53:29 gofmt -l . 19:53:29 [ "`gofmt -l .`" = "" ] 19:53:29 ./bin/test-go-mod-tidy.sh 19:53:29 ./bin/test-attribution-txt.sh [Pipeline] stash 19:53:30 Warning: overwriting stash ‘coverage-report’ 19:53:31 Stashed 1 file(s) [Pipeline] } 19:53:31 $ docker stop --time=1 b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 19:53:33 $ docker rm -f b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:53:35 + ls -al . 19:53:35 total 128 19:53:35 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 19:53 . 19:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:51 .. 19:53:35 -rw-rw-r-- 1 jenkins jenkins 151 Aug 31 19:51 .dockerignore 19:53:35 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:51 .git 19:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:51 .github 19:53:35 -rw-rw-r-- 1 jenkins jenkins 339 Aug 31 19:51 .gitignore 19:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:51 .semver 19:53:35 -rw-rw-r-- 1 jenkins jenkins 4802 Aug 31 19:51 Attribution.txt 19:53:35 -rw-rw-r-- 1 jenkins jenkins 1519 Aug 31 19:51 Dockerfile 19:53:35 -rw-rw-r-- 1 jenkins jenkins 989 Aug 31 19:51 Dockerfile.build 19:53:35 -rw-rw-r-- 1 jenkins jenkins 702 Aug 31 19:51 Jenkinsfile 19:53:35 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 19:51 LICENSE 19:53:35 -rw-rw-r-- 1 jenkins jenkins 951 Aug 31 19:51 Makefile 19:53:35 -rw-rw-r-- 1 jenkins jenkins 5716 Aug 31 19:51 README.md 19:53:35 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 19:48 VERSION 19:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:51 bin 19:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:51 cmd 19:53:35 -rw-r--r-- 1 jenkins jenkins 9369 Aug 31 19:53 coverage.out 19:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:53 driver 19:53:35 -rw-r--r-- 1 jenkins jenkins 266 Aug 31 19:53 go.mod 19:53:35 -rw-r--r-- 1 jenkins jenkins 12533 Aug 31 19:53 go.sum 19:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:51 snap 19:53:35 -rw-rw-r-- 1 jenkins jenkins 713 Aug 31 19:51 version.go [Pipeline] isUnix [Pipeline] sh 19:53:35 + 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=46301ebcf33bc1215e642c59d29d242eedac304d --label arch=arm64 --label version=0.0.0 . 19:53:36 Sending build context to Docker daemon 8.052MB 19:53:36 Step 1/25 : ARG BASE=golang:1.13-alpine 19:53:36 Step 2/25 : FROM ${BASE} AS builder 19:53:36 ---> 04182a975783 19:53:36 Step 3/25 : ARG MAKE='make build' 19:53:36 ---> Running in 59559ebc94d9 19:53:36 Removing intermediate container 59559ebc94d9 19:53:36 ---> 0a37e0699f9c 19:53:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:53:37 ---> Running in 3f6646dcd57d 19:53:37 Removing intermediate container 3f6646dcd57d 19:53:37 ---> 8f52c3c6511b 19:53:37 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:53:37 ---> Running in 72f67eeb43af 19:53:38 Removing intermediate container 72f67eeb43af 19:53:38 ---> dce5f86a185e 19:53:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:53:38 ---> Running in 7f47e6f1b935 19:53:40 Removing intermediate container 7f47e6f1b935 19:53:40 ---> fcc8bc0bb19c 19:53:40 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:53:40 ---> Running in 58771ba34735 19:53:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:53:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:53:43 OK: 142 MiB in 39 packages 19:53:44 Removing intermediate container 58771ba34735 19:53:44 ---> 1e1db5b973c0 19:53:44 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:53:44 ---> Running in 8bc378e80a0d 19:53:45 Removing intermediate container 8bc378e80a0d 19:53:45 ---> ef76a2284e6a 19:53:45 Step 9/25 : COPY go.mod . 19:53:45 ---> db863278f222 19:53:45 Step 10/25 : COPY Makefile . 19:53:46 ---> 9095f17bae7a 19:53:46 Step 11/25 : RUN make update 19:53:46 ---> Running in b480f93c1018 19:53:48 CGO_ENABLED=0 GO111MODULE=on go mod download 19:53:49 Removing intermediate container b480f93c1018 19:53:49 ---> 1a94efbb55d5 19:53:49 Step 12/25 : COPY . . 19:53:50 ---> 75483e01451f 19:53:50 Step 13/25 : RUN $MAKE 19:53:50 ---> Running in 87e564af2db0 19:53:52 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 19:54:18 Removing intermediate container 87e564af2db0 19:54:18 ---> a53df7483048 19:54:18 Step 14/25 : FROM alpine:latest 19:54:18 latest: Pulling from library/alpine 19:54:18 b538f80385f9: Already exists 19:54:18 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:54:18 Status: Downloaded newer image for alpine:latest 19:54:18 ---> 62ee0e9f8440 19:54:18 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:54:18 ---> Running in 6ec798018e98 19:54:18 Removing intermediate container 6ec798018e98 19:54:18 ---> 900e53be451c 19:54:18 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:54:19 ---> Running in 503304d22d5c 19:54:19 Removing intermediate container 503304d22d5c 19:54:19 ---> 1c1ebbb7c62d 19:54:19 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:54:20 ---> 2464d6386983 19:54:20 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:54:21 ---> da7e22a85961 19:54:21 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:54:22 ---> 016fe0956000 19:54:22 Step 20/25 : EXPOSE 49986 19:54:22 ---> Running in 3d07eb3e75b7 19:54:22 Removing intermediate container 3d07eb3e75b7 19:54:22 ---> b656630f472a 19:54:22 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:54:23 ---> Running in eb18164c58b5 19:54:23 Removing intermediate container eb18164c58b5 19:54:23 ---> c340e6cd8c64 19:54:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:54:23 ---> Running in b6f00f0eb8ff 19:54:24 Removing intermediate container b6f00f0eb8ff 19:54:24 ---> ba59df4813c9 19:54:24 Step 23/25 : LABEL arch=arm64 19:54:24 ---> Running in f934c357aedb 19:54:24 Removing intermediate container f934c357aedb 19:54:24 ---> b04a9da554c8 19:54:24 Step 24/25 : LABEL git_sha=46301ebcf33bc1215e642c59d29d242eedac304d 19:54:24 ---> Running in b0bbb954828b 19:54:25 Removing intermediate container b0bbb954828b 19:54:25 ---> 1d775ee6ae4f 19:54:25 Step 25/25 : LABEL version=0.0.0 19:54:25 ---> Running in 6239b7ed4fbc 19:54:25 Removing intermediate container 6239b7ed4fbc 19:54:25 ---> 41b2f8849438 19:54:25 [Warning] One or more build-args [ARCH] were not consumed 19:54:25 Successfully built 41b2f8849438 19:54:25 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 19:54:28 provisioning config files... 19:54:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config7114849808676462449tmp [Pipeline] { [Pipeline] sh 19:54:28 + curl -s https://codecov.io/bash 19:54:28 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config7114849808676462449tmp [Pipeline] } 19:54:28 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 19:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:54:32 ---> package-listing.sh 19:54:32 ++ facter osfamily 19:54:32 ++ tr '[:upper:]' '[:lower:]' 19:54:32 + OS_FAMILY=redhat 19:54:32 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-37 19:54:32 + START_PACKAGES=/tmp/packages_start.txt 19:54:32 + END_PACKAGES=/tmp/packages_end.txt 19:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:54:32 + PACKAGES=/tmp/packages_start.txt 19:54:32 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-37 ']' 19:54:32 + PACKAGES=/tmp/packages_end.txt 19:54:32 + case "${OS_FAMILY}" in 19:54:32 + rpm -qa 19:54:32 + sort 19:54:37 + '[' -f /tmp/packages_start.txt ']' 19:54:37 + '[' -f /tmp/packages_end.txt ']' 19:54:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:54:37 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-37 ']' 19:54:37 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-37/archives/ 19:54:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-37/archives/ [Pipeline] isUnix [Pipeline] sh 19:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:54:37 19:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:54:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:54:38 alpine: Pulling from edgex-lftools-log-publisher 19:54:38 c9b1b535fdd9: Pulling fs layer 19:54:38 2cc5ad85d9ab: Pulling fs layer 19:54:38 756a868c4378: Pulling fs layer 19:54:38 444b2fc9a129: Pulling fs layer 19:54:38 ea15f1150254: Pulling fs layer 19:54:38 41b27a9f41bf: Pulling fs layer 19:54:38 28c525ee5125: Pulling fs layer 19:54:38 094b1ea09ed8: Pulling fs layer 19:54:38 ea15f1150254: Waiting 19:54:38 41b27a9f41bf: Waiting 19:54:38 28c525ee5125: Waiting 19:54:38 444b2fc9a129: Waiting 19:54:38 094b1ea09ed8: Waiting 19:54:38 138eaada9080: Pulling fs layer 19:54:38 0622d0fa9048: Pulling fs layer 19:54:38 138eaada9080: Waiting 19:54:38 0622d0fa9048: Waiting 19:54:38 2cc5ad85d9ab: Download complete 19:54:38 444b2fc9a129: Verifying Checksum 19:54:38 444b2fc9a129: Download complete 19:54:38 c9b1b535fdd9: Verifying Checksum 19:54:38 c9b1b535fdd9: Download complete 19:54:38 ea15f1150254: Download complete 19:54:38 28c525ee5125: Verifying Checksum 19:54:38 28c525ee5125: Download complete 19:54:39 c9b1b535fdd9: Pull complete 19:54:39 2cc5ad85d9ab: Pull complete 19:54:39 756a868c4378: Verifying Checksum 19:54:39 756a868c4378: Download complete 19:54:39 138eaada9080: Verifying Checksum 19:54:39 138eaada9080: Download complete 19:54:40 0622d0fa9048: Verifying Checksum 19:54:40 0622d0fa9048: Download complete 19:54:40 094b1ea09ed8: Verifying Checksum 19:54:40 094b1ea09ed8: Download complete 19:54:41 41b27a9f41bf: Verifying Checksum 19:54:41 41b27a9f41bf: Download complete 19:54:42 756a868c4378: Pull complete 19:54:42 444b2fc9a129: Pull complete 19:54:43 ea15f1150254: Pull complete 19:54:48 41b27a9f41bf: Pull complete 19:54:48 28c525ee5125: Pull complete 19:54:51 094b1ea09ed8: Pull complete 19:54:52 138eaada9080: Pull complete 19:54:52 0622d0fa9048: Pull complete 19:54:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:54:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:54:52 prd-centos7-docker-4c-2g-841 does not seem to be running inside a container 19:54:52 $ 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-37 -v /w/workspace/dgexfoundry_device-rest-go_PR-37:/w/workspace/dgexfoundry_device-rest-go_PR-37:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-37@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:10003/edgex-lftools-log-publisher:alpine cat 19:54:55 $ docker top c2680d57838b4855999ba0e34063eb88772c889217ae041338a89315fea3a908 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:56 provisioning config files... 19:54:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config4281648980618327236tmp [Pipeline] { [Pipeline] echo 19:54:56 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:54:56 ---> create-netrc.sh [Pipeline] echo 19:54:56 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:54:57 ---> logs-deploy.sh 19:54:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-37/1 19:54:57 INFO: archiving workspace using pattern(s): 19:54:59 Archives upload complete. 19:54:59 INFO: archiving logs to Nexus 19:55:00 ---> uname -a: 19:55:00 Linux c2680d57838b 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 19:55:00 19:55:00 19:55:00 ---> lscpu: 19:55:00 Architecture: x86_64 19:55:00 CPU op-mode(s): 32-bit, 64-bit 19:55:00 Byte Order: Little Endian 19:55:00 Address sizes: 40 bits physical, 48 bits virtual 19:55:00 CPU(s): 4 19:55:00 On-line CPU(s) list: 0-3 19:55:00 Thread(s) per core: 1 19:55:00 Core(s) per socket: 1 19:55:00 Socket(s): 4 19:55:00 NUMA node(s): 1 19:55:00 Vendor ID: GenuineIntel 19:55:00 CPU family: 6 19:55:00 Model: 44 19:55:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:55:00 Stepping: 1 19:55:00 CPU MHz: 2933.438 19:55:00 BogoMIPS: 5866.87 19:55:00 Virtualization: VT-x 19:55:00 Hypervisor vendor: KVM 19:55:00 Virtualization type: full 19:55:00 L1d cache: 128 KiB 19:55:00 L1i cache: 128 KiB 19:55:00 L2 cache: 16 MiB 19:55:00 L3 cache: 64 MiB 19:55:00 NUMA node0 CPU(s): 0-3 19:55:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:55:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:55:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:55:00 Vulnerability Meltdown: Mitigation; PTI 19:55:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:55:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:55:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:55:00 Vulnerability Tsx async abort: Not affected 19:55:00 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 19:55:00 19:55:00 19:55:00 ---> nproc: 19:55:00 4 19:55:00 19:55:00 19:55:00 ---> df -h: 19:55:00 Filesystem Size Used Available Use% Mounted on 19:55:00 overlay 50.0G 7.2G 42.7G 14% / 19:55:00 tmpfs 64.0M 0 64.0M 0% /dev 19:55:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:55:00 shm 64.0M 0 64.0M 0% /dev/shm 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/resolv.conf 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hostname 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hosts 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /var/log/sa 19:55:00 /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/dgexfoundry_device-rest-go_PR-37 19:55:00 19:55:00 19:55:00 ---> free -m: 19:55:00 total used free shared buff/cache available 19:55:00 Mem: 1837 675 107 0 1054 1056 19:55:00 Swap: 1023 1 1022 19:55:00 19:55:00