Pull request #42 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at 43efee3cfdd526bf845b5582b1730bb1b93e3b78 rather than e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 Obtained Jenkinsfile from 43efee3cfdd526bf845b5582b1730bb1b93e3b78 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-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 Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-233 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [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-42 # 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/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 Merge succeeded, producing e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 Checking out Revision e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 (PR-42) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # 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/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # 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 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 Commit message: "build: upgrade device-sdk-go with dependabot" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 504eeaa9fa42ebd894cf0c8b476642fccbd1ed5a # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:04:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:04:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:04:27 ========================================================= 16:04:27 EdgeX Global Pipelines Version Info 16:04:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:04:28 ------------------- 16:04:28 stable info: 16:04:28 ------------------- 16:04:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:04:28 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 16:04:28 Message: update stable to v1.0.122 16:04:29 ------------------- 16:04:29 experimental info: 16:04:29 ------------------- 16:04:29 Commited By: **** collab-it+edgex@linuxfoundation.org 16:04:29 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 16:04:29 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:04:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:04:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:04:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:04:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:04:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:04:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 16:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 16:04:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 16:04:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [Pipeline] echo 16:04:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6fbd73 [Pipeline] echo 16:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:33 + git log --format=format:%s -1 e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [Pipeline] echo 16:04:34 GIT_COMMIT: e6fbd73b63f30e1d2e1d55320fa47fe090caadc6, Commit Message: build: upgrade device-sdk-go with dependabot [Pipeline] echo 16:04:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:35 16:04:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:04:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:35 latest: Pulling from edgex-devops/git-semver 16:04:35 31603596830f: Pulling fs layer 16:04:35 2a8b12db71e7: Pulling fs layer 16:04:35 6ca5941a6612: Pulling fs layer 16:04:35 ecc8261a40a4: Pulling fs layer 16:04:35 ecc8261a40a4: Waiting 16:04:35 2a8b12db71e7: Verifying Checksum 16:04:35 2a8b12db71e7: Download complete 16:04:35 31603596830f: Verifying Checksum 16:04:35 31603596830f: Download complete 16:04:35 ecc8261a40a4: Verifying Checksum 16:04:35 ecc8261a40a4: Download complete 16:04:36 6ca5941a6612: Verifying Checksum 16:04:36 6ca5941a6612: Download complete 16:04:36 31603596830f: Pull complete 16:04:36 2a8b12db71e7: Pull complete 16:04:37 6ca5941a6612: Pull complete 16:04:37 ecc8261a40a4: Pull complete 16:04:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:04:37 prd-centos7-docker-4c-2g-233 does not seem to be running inside a container 16:04:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:04:39 $ docker top 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:04:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:39 [ssh-agent] Looking for ssh-agent implementation... 16:04:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:39 $ docker exec 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent 16:04:40 SSH_AUTH_SOCK=/tmp/ssh-ywzXM8Hojd01/agent.13 16:04:40 SSH_AGENT_PID=18 16:04:40 Running ssh-add (command line suppressed) 16:04:40 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_1040163396937485255.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_1040163396937485255.key) 16:04:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:40 + git describe --exact-match --tags HEAD 16:04:40 fatal: No names found, cannot describe anything. [Pipeline] } 16:04:40 $ docker exec --env ******** --env ******** 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent -k 16:04:40 unset SSH_AUTH_SOCK; 16:04:40 unset SSH_AGENT_PID; 16:04:40 echo Agent pid 18 killed; 16:04:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:04:40 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:04:40 This usually means this commit has not been tagged. [Pipeline] sshagent 16:04:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:40 [ssh-agent] Looking for ssh-agent implementation... 16:04:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:41 $ docker exec 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent 16:04:41 SSH_AUTH_SOCK=/tmp/ssh-PbNzYzPX2c49/agent.47 16:04:41 SSH_AGENT_PID=52 16:04:41 Running ssh-add (command line suppressed) 16:04:41 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_8854596071981215100.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_8854596071981215100.key) 16:04:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:41 + git semver init 16:04:41 # -> Open(): unable to determine branch for HEAD 16:04:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git 16:04:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 16:04:41 # $SEMVER_REMOTE_NAME = origin 16:04:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:04:41 # $SEMVER_USER_NAME = edgex-jenkins 16:04:41 # $SEMVER_BRANCH = PR-42 16:04:41 # $SEMVER_TEMP = /tmp/semver-489890004 16:04:41 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:04:44 # '/tmp/semver-489890004' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' 16:04:44 # -> Force: false 16:04:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } 16:04:44 $ docker exec --env ******** --env ******** 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent -k 16:04:44 unset SSH_AUTH_SOCK; 16:04:44 unset SSH_AGENT_PID; 16:04:44 echo Agent pid 52 killed; 16:04:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:04:44 + git semver [Pipeline] } 16:04:44 $ docker stop --time=1 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 16:04:46 $ docker rm -f 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:04:47 Stashed 21 file(s) [Pipeline] echo 16:04:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 16:04:47 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 16:05:03 Still waiting to schedule task 16:05:03 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-233’ 16:05:03 Still waiting to schedule task 16:05:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:06:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-235 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 16:06:54 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:06:58 using credential edgex-jenkins-ssh 16:06:58 Cloning the remote Git repository 16:06:58 Cloning with configured refspecs honoured and without tags 16:06:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:06:59 > git init /w/workspace/device-rest-go/2 # timeout=10 16:06:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:06:59 > git --version # timeout=10 16:06:59 > git --version # 'git version 2.17.1' 16:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:06:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:00 Fetching without tags 16:07:01 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:07:00 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 16:07:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:01 > git config core.sparsecheckout # timeout=10 16:07:01 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 16:07:01 > git remote # timeout=10 16:07:01 > git config --get remote.origin.url # timeout=10 16:07:01 Merge succeeded, producing e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:07:01 Checking out Revision e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 (PR-42) 16:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:01 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 16:07:01 > git rev-parse HEAD^{commit} # timeout=10 16:07:01 > git config core.sparsecheckout # timeout=10 16:07:01 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 16:07:05 Commit message: "build: upgrade device-sdk-go with dependabot" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:07:07 ========================================================= 16:07:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:07:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:07:08 + 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 . 16:07:09 Sending build context to Docker daemon 8.049MB 16:07:09 Step 1/10 : ARG BASE=golang:1.13-alpine 16:07:09 Step 2/10 : FROM ${BASE} 16:07:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:07:09 b538f80385f9: Pulling fs layer 16:07:09 74f711af9a0d: Pulling fs layer 16:07:09 99f96fe45779: Pulling fs layer 16:07:09 fd7a069fd194: Pulling fs layer 16:07:09 66aa3694b03b: Pulling fs layer 16:07:09 170f70906a0f: Pulling fs layer 16:07:09 ad7c5574e4b9: Pulling fs layer 16:07:09 e772456be8f7: Pulling fs layer 16:07:09 c890913d741a: Pulling fs layer 16:07:09 2480fcc9aa5a: Pulling fs layer 16:07:09 09adf4765672: Pulling fs layer 16:07:09 fd7a069fd194: Waiting 16:07:09 ad7c5574e4b9: Waiting 16:07:09 e772456be8f7: Waiting 16:07:09 c890913d741a: Waiting 16:07:09 2480fcc9aa5a: Waiting 16:07:09 66aa3694b03b: Waiting 16:07:09 09adf4765672: Waiting 16:07:09 170f70906a0f: Waiting 16:07:09 99f96fe45779: Download complete 16:07:09 74f711af9a0d: Verifying Checksum 16:07:09 74f711af9a0d: Download complete 16:07:09 170f70906a0f: Verifying Checksum 16:07:09 170f70906a0f: Download complete 16:07:09 b538f80385f9: Verifying Checksum 16:07:09 b538f80385f9: Download complete 16:07:10 b538f80385f9: Pull complete 16:07:11 74f711af9a0d: Pull complete 16:07:11 99f96fe45779: Pull complete 16:07:14 ad7c5574e4b9: Verifying Checksum 16:07:14 ad7c5574e4b9: Download complete 16:07:14 c890913d741a: Verifying Checksum 16:07:14 c890913d741a: Download complete 16:07:16 2480fcc9aa5a: Verifying Checksum 16:07:16 2480fcc9aa5a: Download complete 16:07:16 09adf4765672: Verifying Checksum 16:07:16 09adf4765672: Download complete 16:07:17 e772456be8f7: Verifying Checksum 16:07:17 e772456be8f7: Download complete 16:07:17 fd7a069fd194: Verifying Checksum 16:07:17 fd7a069fd194: Download complete 16:07:29 fd7a069fd194: Pull complete 16:07:29 66aa3694b03b: Pull complete 16:07:29 170f70906a0f: Pull complete 16:07:32 ad7c5574e4b9: Pull complete 16:07:37 e772456be8f7: Pull complete 16:07:37 c890913d741a: Pull complete 16:07:39 2480fcc9aa5a: Pull complete 16:07:40 09adf4765672: Pull complete 16:07:40 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 16:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:07:40 ---> 2248a725d1cf 16:07:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:07:42 Running on prd-centos7-docker-4c-2g-236 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 16:07:42 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:07:44 ---> Running in 82a4407b15a3 16:07:45 Removing intermediate container 82a4407b15a3 16:07:45 ---> ea9f2b65008a 16:07:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:07:45 ---> Running in 0962aeacc754 16:07:45 using credential edgex-jenkins-ssh 16:07:45 Cloning the remote Git repository 16:07:45 Cloning with configured refspecs honoured and without tags 16:07:45 Removing intermediate container 0962aeacc754 16:07:45 ---> 3de75cd2d583 16:07:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:07:45 ---> Running in d759cad97a4b 16:07:46 Removing intermediate container d759cad97a4b 16:07:46 ---> 6aa4383df559 16:07:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:07:45 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:07:45 > git init /w/workspace/device-rest-go/2 # timeout=10 16:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:07:45 > git --version # timeout=10 16:07:45 > git --version # 'git version 2.16.5' 16:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:46 ---> Running in de6ff0fc980f 16:07:47 Fetching without tags 16:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:07:47 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 16:07:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:07:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:07:47 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:07:47 Merge succeeded, producing e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:07:47 Checking out Revision e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 (PR-42) 16:07:47 > git config core.sparsecheckout # timeout=10 16:07:47 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 16:07:47 > git remote # timeout=10 16:07:47 > git config --get remote.origin.url # timeout=10 16:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:47 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 16:07:47 > git rev-parse HEAD^{commit} # timeout=10 16:07:47 > git config core.sparsecheckout # timeout=10 16:07:47 > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 16:07:49 Removing intermediate container de6ff0fc980f 16:07:49 ---> 7083d62e55f2 16:07:49 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:07:49 ---> Running in 56a85558c566 16:07:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:07:51 Commit message: "build: upgrade device-sdk-go with dependabot" 16:07:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 16:07:52 OK: 142 MiB in 39 packages [Pipeline] echo 16:07:52 ========================================================= 16:07:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:07:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:07:53 Removing intermediate container 56a85558c566 16:07:53 ---> 3fef0beabb6f 16:07:53 Step 8/10 : WORKDIR /device-rest-go 16:07:53 ---> Running in 94ee4a82decd 16:07:53 + 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 . 16:07:53 Sending build context to Docker daemon 8.049MB 16:07:53 Step 1/10 : ARG BASE=golang:1.13-alpine 16:07:53 Step 2/10 : FROM ${BASE} 16:07:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:07:54 df20fa9351a1: Pulling fs layer 16:07:54 ed8968b2872e: Pulling fs layer 16:07:54 a92cc7c5fd73: Pulling fs layer 16:07:54 2dd03ba5bac4: Pulling fs layer 16:07:54 1e091d79d1de: Pulling fs layer 16:07:54 481702a1767f: Pulling fs layer 16:07:54 f64a6f60c768: Pulling fs layer 16:07:54 e78d2573fc39: Pulling fs layer 16:07:54 e876d2f968b6: Pulling fs layer 16:07:54 ce8a83651883: Pulling fs layer 16:07:54 07967f4d0e4b: Pulling fs layer 16:07:54 e876d2f968b6: Waiting 16:07:54 ce8a83651883: Waiting 16:07:54 07967f4d0e4b: Waiting 16:07:54 1e091d79d1de: Waiting 16:07:54 481702a1767f: Waiting 16:07:54 f64a6f60c768: Waiting 16:07:54 2dd03ba5bac4: Waiting 16:07:54 e78d2573fc39: Waiting 16:07:54 a92cc7c5fd73: Verifying Checksum 16:07:54 a92cc7c5fd73: Download complete 16:07:54 ed8968b2872e: Download complete 16:07:54 1e091d79d1de: Verifying Checksum 16:07:54 1e091d79d1de: Download complete 16:07:54 481702a1767f: Verifying Checksum 16:07:54 481702a1767f: Download complete 16:07:54 df20fa9351a1: Verifying Checksum 16:07:54 df20fa9351a1: Download complete 16:07:54 Removing intermediate container 94ee4a82decd 16:07:54 ---> 473c3fb2fd7c 16:07:54 Step 9/10 : COPY . . 16:07:54 df20fa9351a1: Pull complete 16:07:54 ed8968b2872e: Pull complete 16:07:54 a92cc7c5fd73: Pull complete 16:07:55 ---> d94c49e4969e 16:07:55 Step 10/10 : RUN go mod download 16:07:55 ---> Running in 7943cc168f65 16:07:58 go: finding github.com/BurntSushi/toml v0.3.1 16:07:58 go: finding github.com/OneOfOne/xxhash v1.2.6 16:07:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:07:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:07:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:07:58 go: finding github.com/bgentry/speakeasy v0.1.0 16:07:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:07:58 go: finding github.com/davecgh/go-spew v1.1.1 16:07:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.4-dev.12 16:07:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 16:07:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:07:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:07:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:07:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:07:59 go: finding github.com/fatih/color v1.7.0 16:07:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:07:59 go: finding github.com/go-kit/kit v0.8.0 16:07:59 go: finding github.com/go-logfmt/logfmt v0.4.0 16:07:59 go: finding github.com/go-stack/stack v1.8.0 16:07:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:07:59 f64a6f60c768: Verifying Checksum 16:07:59 f64a6f60c768: Download complete 16:07:59 e876d2f968b6: Verifying Checksum 16:07:59 e876d2f968b6: Download complete 16:07:59 go: finding github.com/google/uuid v1.1.0 16:07:59 go: finding github.com/gorilla/mux v1.7.1 16:07:59 go: finding github.com/hashicorp/consul/api v1.1.0 16:07:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:07:59 go: finding github.com/hashicorp/errwrap v1.0.0 16:07:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:07:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:07:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:07:59 go: finding github.com/hashicorp/go-multierror v1.0.0 16:07:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:07:59 e78d2573fc39: Verifying Checksum 16:07:59 e78d2573fc39: Download complete 16:07:59 07967f4d0e4b: Verifying Checksum 16:07:59 07967f4d0e4b: Download complete 16:07:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:07:59 go: finding github.com/hashicorp/go-syslog v1.0.0 16:07:59 go: finding github.com/hashicorp/go-uuid v1.0.1 16:07:59 go: finding github.com/hashicorp/go.net v0.0.1 16:07:59 go: finding github.com/hashicorp/golang-lru v0.5.0 16:07:59 go: finding github.com/hashicorp/logutils v1.0.0 16:07:59 go: finding github.com/hashicorp/mdns v1.0.0 16:07:59 go: finding github.com/hashicorp/memberlist v0.1.3 16:07:59 go: finding github.com/hashicorp/serf v0.8.2 16:07:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:07:59 go: finding github.com/mattn/go-colorable v0.0.9 16:07:59 2dd03ba5bac4: Download complete 16:07:59 ce8a83651883: Download complete 16:07:59 go: finding github.com/mattn/go-isatty v0.0.3 16:07:59 go: finding github.com/miekg/dns v1.0.14 16:07:59 go: finding github.com/mitchellh/cli v1.0.0 16:07:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:07:59 go: finding github.com/mitchellh/copystructure v1.0.0 16:07:59 go: finding github.com/mitchellh/go-homedir v1.0.0 16:07:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:07:59 go: finding github.com/mitchellh/gox v0.4.0 16:07:59 go: finding github.com/mitchellh/iochan v1.0.0 16:08:00 go: finding github.com/mitchellh/mapstructure v1.1.2 16:08:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:08:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:08:00 go: finding github.com/pelletier/go-toml v1.2.0 16:08:00 go: finding github.com/pkg/errors v0.8.1 16:08:00 go: finding github.com/pmezard/go-difflib v1.0.0 16:08:00 go: finding github.com/posener/complete v1.1.1 16:08:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:08:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:08:00 go: finding github.com/spf13/cast v1.3.0 16:08:00 go: finding github.com/stretchr/objx v0.1.0 16:08:00 go: finding github.com/stretchr/testify v1.5.1 16:08:00 go: finding github.com/ugorji/go v1.1.4 16:08:00 go: finding github.com/x448/float16 v0.8.4 16:08:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:08:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:08:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:08:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:08:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:08:00 go: finding gopkg.in/yaml.v2 v2.2.8 16:08:06 2dd03ba5bac4: Pull complete 16:08:06 1e091d79d1de: Pull complete 16:08:06 481702a1767f: Pull complete 16:08:10 f64a6f60c768: Pull complete 16:08:10 Removing intermediate container 7943cc168f65 16:08:10 ---> fa4b6842e3c6 16:08:10 Successfully built fa4b6842e3c6 16:08:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:08:11 + docker inspect -f . ci-base-image-arm64 16:08:11 . [Pipeline] withDockerContainer 16:08:11 prd-ubuntu18.04-docker-arm64-4c-16g-235 does not seem to be running inside a container 16:08:11 $ 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 ******** ci-base-image-arm64 cat 16:08:13 $ docker top ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 -eo pid,comm 16:08:14 e78d2573fc39: Pull complete 16:08:14 e876d2f968b6: Pull complete [Pipeline] { [Pipeline] sh 16:08:15 ce8a83651883: Pull complete 16:08:15 + go version 16:08:15 go version go1.13.13 linux/arm64 [Pipeline] } 16:08:15 $ docker stop --time=1 ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 16:08:15 07967f4d0e4b: Pull complete 16:08:15 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 16:08:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:08:15 ---> 5d7c900382c6 16:08:15 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:08:17 $ docker rm -f ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 16:08:17 ---> Running in eaa7c4eeae8b 16:08:17 Removing intermediate container eaa7c4eeae8b 16:08:17 ---> 3a399b703955 16:08:17 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:08:17 ---> Running in d05fbe22ea6b 16:08:17 Removing intermediate container d05fbe22ea6b 16:08:17 ---> db5822543aad 16:08:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:08:17 ---> Running in b92e11c8a86f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 16:08:17 Removing intermediate container b92e11c8a86f 16:08:17 ---> 753918674984 16:08:17 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:08:17 ---> Running in d0ae5d724a24 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:18 + docker inspect -f . ci-base-image-arm64 16:08:18 . [Pipeline] withDockerContainer 16:08:18 prd-ubuntu18.04-docker-arm64-4c-16g-235 does not seem to be running inside a container 16:08:18 $ 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 ******** ci-base-image-arm64 cat 16:08:19 Removing intermediate container d0ae5d724a24 16:08:19 ---> 7f4f0a79346f 16:08:19 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:08:19 ---> Running in d08745e8adab 16:08:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:08:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:08:20 $ docker top 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:21 OK: 166 MiB in 39 packages 16:08:21 + make test 16:08:21 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:08:21 Removing intermediate container d08745e8adab 16:08:21 ---> a3ea85a1821d 16:08:21 Step 8/10 : WORKDIR /device-rest-go 16:08:21 ---> Running in 7e4ad1e39c76 16:08:21 Removing intermediate container 7e4ad1e39c76 16:08:21 ---> 19fc2c0d507a 16:08:21 Step 9/10 : COPY . . 16:08:22 ---> a06d10db7724 16:08:22 Step 10/10 : RUN go mod download 16:08:22 ---> Running in a8149cdb8052 16:08:22 ? github.com/edgexfoundry/device-rest-go [no test files] 16:08:24 go: finding github.com/BurntSushi/toml v0.3.1 16:08:24 go: finding github.com/OneOfOne/xxhash v1.2.6 16:08:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:08:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:08:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:08:24 go: finding github.com/bgentry/speakeasy v0.1.0 16:08:24 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:08:24 go: finding github.com/davecgh/go-spew v1.1.1 16:08:24 go: finding github.com/edgexfoundry/device-sdk-go v1.2.4-dev.12 16:08:24 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 16:08:24 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:08:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:08:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:08:24 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:08:24 go: finding github.com/fatih/color v1.7.0 16:08:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:08:24 go: finding github.com/go-kit/kit v0.8.0 16:08:24 go: finding github.com/go-logfmt/logfmt v0.4.0 16:08:25 go: finding github.com/go-stack/stack v1.8.0 16:08:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:08:25 go: finding github.com/google/uuid v1.1.0 16:08:25 go: finding github.com/gorilla/mux v1.7.1 16:08:25 go: finding github.com/hashicorp/consul/api v1.1.0 16:08:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:08:25 go: finding github.com/hashicorp/errwrap v1.0.0 16:08:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:08:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:08:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:08:25 go: finding github.com/hashicorp/go-multierror v1.0.0 16:08:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:08:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:08:25 go: finding github.com/hashicorp/go-syslog v1.0.0 16:08:25 go: finding github.com/hashicorp/go-uuid v1.0.1 16:08:25 go: finding github.com/hashicorp/go.net v0.0.1 16:08:25 go: finding github.com/hashicorp/golang-lru v0.5.0 16:08:25 go: finding github.com/hashicorp/logutils v1.0.0 16:08:25 go: finding github.com/hashicorp/mdns v1.0.0 16:08:25 go: finding github.com/hashicorp/memberlist v0.1.3 16:08:25 go: finding github.com/hashicorp/serf v0.8.2 16:08:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:08:25 go: finding github.com/mattn/go-colorable v0.0.9 16:08:25 go: finding github.com/mattn/go-isatty v0.0.3 16:08:25 go: finding github.com/miekg/dns v1.0.14 16:08:25 go: finding github.com/mitchellh/cli v1.0.0 16:08:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:08:25 go: finding github.com/mitchellh/copystructure v1.0.0 16:08:25 go: finding github.com/mitchellh/go-homedir v1.0.0 16:08:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:08:25 go: finding github.com/mitchellh/gox v0.4.0 16:08:25 go: finding github.com/mitchellh/iochan v1.0.0 16:08:25 go: finding github.com/mitchellh/mapstructure v1.1.2 16:08:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:08:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:08:25 go: finding github.com/pelletier/go-toml v1.2.0 16:08:25 go: finding github.com/pkg/errors v0.8.1 16:08:25 go: finding github.com/pmezard/go-difflib v1.0.0 16:08:25 go: finding github.com/posener/complete v1.1.1 16:08:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:08:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:08:25 go: finding github.com/spf13/cast v1.3.0 16:08:25 go: finding github.com/stretchr/objx v0.1.0 16:08:25 go: finding github.com/stretchr/testify v1.5.1 16:08:25 go: finding github.com/ugorji/go v1.1.4 16:08:25 go: finding github.com/x448/float16 v0.8.4 16:08:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:08:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:08:26 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:08:26 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:08:26 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:08:26 go: finding gopkg.in/yaml.v2 v2.2.8 16:08:34 Removing intermediate container a8149cdb8052 16:08:34 ---> a2d1afd7db80 16:08:34 Successfully built a2d1afd7db80 16:08:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:08:34 + docker inspect -f . ci-base-image-x86_64 16:08:34 . [Pipeline] withDockerContainer 16:08:34 prd-centos7-docker-4c-2g-236 does not seem to be running inside a container 16:08:34 $ 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 ******** ci-base-image-x86_64 cat 16:08:35 $ docker top 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:36 + go version 16:08:36 go version go1.13.13 linux/amd64 [Pipeline] } 16:08:36 $ docker stop --time=1 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 16:08:37 $ docker rm -f 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:38 + docker inspect -f . ci-base-image-x86_64 16:08:38 . [Pipeline] withDockerContainer 16:08:38 prd-centos7-docker-4c-2g-236 does not seem to be running inside a container 16:08:38 $ 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 ******** ci-base-image-x86_64 cat 16:08:39 $ docker top 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:39 + make test 16:08:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:08:40 ? github.com/edgexfoundry/device-rest-go [no test files] 16:08:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:08:51 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 16:08:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:08:53 gofmt -l . 16:08:53 [ "`gofmt -l .`" = "" ] 16:08:53 ./bin/test-go-mod-tidy.sh 16:08:53 ./bin/test-attribution-txt.sh [Pipeline] stash 16:08:53 Stashed 1 file(s) [Pipeline] } 16:08:53 $ docker stop --time=1 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 16:08:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:08:55 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 16:08:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:08:56 $ docker rm -f 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:08:59 + ls -al . 16:08:59 total 96 16:08:59 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 16:08 . 16:08:59 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 16:07 .. 16:08:59 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 16:07 Attribution.txt 16:08:59 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 16:07 bin 16:08:59 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 16:07 cmd 16:08:59 -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 16:08 coverage.out 16:08:59 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 16:07 Dockerfile 16:08:59 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 16:07 Dockerfile.build 16:08:59 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 16:07 .dockerignore 16:08:59 drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 16:08 driver 16:08:59 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 16:07 .git 16:08:59 drwxrwxr-x. 2 jenkins jenkins 60 Sep 17 16:07 .github 16:08:59 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 16:07 .gitignore 16:08:59 -rw-r--r--. 1 jenkins jenkins 273 Sep 17 16:08 go.mod 16:08:59 -rw-r--r--. 1 jenkins jenkins 12547 Sep 17 16:08 go.sum 16:08:59 -rw-rw-r--. 1 jenkins jenkins 702 Sep 17 16:07 Jenkinsfile 16:08:59 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 16:07 LICENSE 16:08:59 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 16:07 Makefile 16:08:59 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 16:07 README.md 16:08:59 drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 16:07 .semver 16:08:59 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 16:07 snap 16:08:59 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 16:04 VERSION 16:08:59 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 16:07 version.go [Pipeline] isUnix [Pipeline] sh 16:08:59 gofmt -l . 16:08:59 [ "`gofmt -l .`" = "" ] 16:08:59 ./bin/test-go-mod-tidy.sh 16:08:59 ./bin/test-attribution-txt.sh 16:08:59 + 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=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 --label arch=amd64 --label version=0.0.0 . 16:09:00 Sending build context to Docker daemon 8.06MB 16:09:00 Step 1/25 : ARG BASE=golang:1.13-alpine 16:09:00 Step 2/25 : FROM ${BASE} AS builder 16:09:00 ---> a2d1afd7db80 16:09:00 Step 3/25 : ARG MAKE='make build' 16:09:00 ---> Running in 5171cbadf03e [Pipeline] stash 16:09:00 Warning: overwriting stash ‘coverage-report’ 16:09:00 Removing intermediate container 5171cbadf03e 16:09:00 ---> 1ae7c4a4e50f 16:09:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:09:00 ---> Running in f37a8d1e1abe 16:09:00 Removing intermediate container f37a8d1e1abe 16:09:00 ---> 94aedce876c2 16:09:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:09:00 ---> Running in 94a5775a8607 16:09:00 Removing intermediate container 94a5775a8607 16:09:00 ---> 48ad1b324112 16:09:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:00 ---> Running in 0399afb63396 16:09:01 Stashed 1 file(s) [Pipeline] } 16:09:01 $ docker stop --time=1 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d 16:09:01 Removing intermediate container 0399afb63396 16:09:01 ---> 4da36cbe7096 16:09:01 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:01 ---> Running in 9f641eab4913 16:09:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:09:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:09:03 $ docker rm -f 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 16:09:04 OK: 166 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:04 Removing intermediate container 9f641eab4913 16:09:04 ---> 6488baad7d4f 16:09:04 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:09:04 ---> Running in ff3a90c675d1 16:09:04 Removing intermediate container ff3a90c675d1 16:09:04 ---> fadafe55614a 16:09:04 Step 9/25 : COPY go.mod . 16:09:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:09:04 ---> 80cd3fed28bc 16:09:04 Step 10/25 : COPY Makefile . 16:09:05 + ls -al . 16:09:05 total 128 16:09:05 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 16:08 . 16:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 16:06 .. 16:09:05 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 16:07 .dockerignore 16:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 16:07 .git 16:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:07 .github 16:09:05 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 16:07 .gitignore 16:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 16:07 .semver 16:09:05 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 16:07 Attribution.txt 16:09:05 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 16:07 Dockerfile 16:09:05 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 16:07 Dockerfile.build 16:09:05 -rw-rw-r-- 1 jenkins jenkins 702 Sep 17 16:07 Jenkinsfile 16:09:05 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 16:07 LICENSE 16:09:05 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 16:07 Makefile 16:09:05 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 16:07 README.md 16:09:05 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 16:04 VERSION 16:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:07 bin 16:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 16:07 cmd 16:09:05 -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 16:08 coverage.out 16:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:08 driver 16:09:05 -rw-r--r-- 1 jenkins jenkins 273 Sep 17 16:08 go.mod 16:09:05 -rw-r--r-- 1 jenkins jenkins 12547 Sep 17 16:08 go.sum 16:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 16:07 snap 16:09:05 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 16:07 version.go [Pipeline] isUnix [Pipeline] sh 16:09:05 ---> 8cd3f16e2cc9 16:09:05 Step 11/25 : RUN make update 16:09:05 ---> Running in 98f3638249d0 16:09:05 + 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=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 --label arch=arm64 --label version=0.0.0 . 16:09:05 Sending build context to Docker daemon 8.06MB 16:09:05 CGO_ENABLED=0 GO111MODULE=on go mod download 16:09:05 Step 1/25 : ARG BASE=golang:1.13-alpine 16:09:05 Step 2/25 : FROM ${BASE} AS builder 16:09:05 ---> fa4b6842e3c6 16:09:05 Step 3/25 : ARG MAKE='make build' 16:09:05 ---> Running in 724d209bd61d 16:09:05 Removing intermediate container 98f3638249d0 16:09:05 ---> dcd6ff98d2e7 16:09:05 Step 12/25 : COPY . . 16:09:06 Removing intermediate container 724d209bd61d 16:09:06 ---> a56f5b0c71b2 16:09:06 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:09:06 ---> Running in 93c686b5e500 16:09:06 ---> 3ce7a6843ee3 16:09:06 Step 13/25 : RUN $MAKE 16:09:06 ---> Running in 341b67c0bc67 16:09:07 Removing intermediate container 93c686b5e500 16:09:07 ---> 268adaec6d74 16:09:07 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:09:07 ---> Running in 0bc05834927a 16:09:07 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 16:09:07 Removing intermediate container 0bc05834927a 16:09:07 ---> 6fa724b1ec55 16:09:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:07 ---> Running in 91965a9a9666 16:09:10 Removing intermediate container 91965a9a9666 16:09:10 ---> cbace401e6f5 16:09:10 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:10 ---> Running in 59d8f1154809 16:09:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:09:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:09:14 OK: 142 MiB in 39 packages 16:09:15 Removing intermediate container 59d8f1154809 16:09:15 ---> f13fdf527c0f 16:09:15 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:09:15 ---> Running in bdb87e7d4be2 16:09:15 Removing intermediate container bdb87e7d4be2 16:09:15 ---> 802d4d86663e 16:09:15 Step 9/25 : COPY go.mod . 16:09:16 ---> 9f30dec03cc4 16:09:16 Step 10/25 : COPY Makefile . 16:09:17 Removing intermediate container 341b67c0bc67 16:09:17 ---> 6be8049eacd1 16:09:17 Step 14/25 : FROM alpine:latest 16:09:17 ---> c6611a0b2fef 16:09:17 Step 11/25 : RUN make update 16:09:17 ---> Running in dfce3d99ddc9 16:09:17 latest: Pulling from library/alpine 16:09:17 df20fa9351a1: Already exists 16:09:17 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 16:09:17 Status: Downloaded newer image for alpine:latest 16:09:17 ---> a24bb4013296 16:09:17 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:09:17 ---> Running in 692cae23e747 16:09:18 Removing intermediate container 692cae23e747 16:09:18 ---> a3559d5e9f9a 16:09:18 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:09:18 ---> Running in 929f0b7030bb 16:09:18 Removing intermediate container 929f0b7030bb 16:09:18 ---> bf5cfe963a1c 16:09:18 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:09:18 ---> ac1ab900d677 16:09:18 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:09:18 ---> a062bb1a035b 16:09:18 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:09:18 CGO_ENABLED=0 GO111MODULE=on go mod download 16:09:19 ---> 119edfd20dbe 16:09:19 Step 20/25 : EXPOSE 49986 16:09:19 ---> Running in e5aff15d799d 16:09:19 Removing intermediate container e5aff15d799d 16:09:19 ---> 9f19fa4178fd 16:09:19 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:09:19 ---> Running in cc28da234a01 16:09:19 Removing intermediate container cc28da234a01 16:09:19 ---> f53aa3d968a1 16:09:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:09:19 ---> Running in 453b54896708 16:09:19 Removing intermediate container 453b54896708 16:09:19 ---> 9b4d7d8521c0 16:09:19 Step 23/25 : LABEL arch=amd64 16:09:19 ---> Running in a97da3c0007c 16:09:19 Removing intermediate container a97da3c0007c 16:09:19 ---> aad5a201ce01 16:09:19 Step 24/25 : LABEL git_sha=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:09:20 Removing intermediate container dfce3d99ddc9 16:09:20 ---> bfafad92de7f 16:09:20 Step 12/25 : COPY . . 16:09:20 ---> Running in 7bd04866590a 16:09:20 Removing intermediate container 7bd04866590a 16:09:20 ---> 731143dff7bc 16:09:20 Step 25/25 : LABEL version=0.0.0 16:09:20 ---> Running in 7c46abab86e0 16:09:20 Removing intermediate container 7c46abab86e0 16:09:20 ---> 53d078dfe8a3 16:09:20 [Warning] One or more build-args [ARCH] were not consumed 16:09:20 Successfully built 53d078dfe8a3 16:09:20 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 16:09:21 ---> bd9af4a5b6e8 16:09:21 Step 13/25 : RUN $MAKE [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 16:09:21 ---> Running in 68328d506a3e [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:09:22 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 16:09:49 Removing intermediate container 68328d506a3e 16:09:49 ---> 9bbd507677bd 16:09:49 Step 14/25 : FROM alpine:latest 16:09:49 latest: Pulling from library/alpine 16:09:49 b538f80385f9: Already exists 16:09:49 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 16:09:49 Status: Downloaded newer image for alpine:latest 16:09:49 ---> 62ee0e9f8440 16:09:49 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:09:49 ---> Running in 4fa9530c5e64 16:09:49 Removing intermediate container 4fa9530c5e64 16:09:49 ---> f9a25d2603a5 16:09:49 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:09:49 ---> Running in 5d0c0e944815 16:09:50 Removing intermediate container 5d0c0e944815 16:09:50 ---> d0ef86dedc00 16:09:50 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:09:51 ---> ff8e1088632e 16:09:51 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:09:52 ---> 7814feee82ef 16:09:52 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:09:53 ---> 0dde2f008a4c 16:09:53 Step 20/25 : EXPOSE 49986 16:09:53 ---> Running in 0ee645f63def 16:09:53 Removing intermediate container 0ee645f63def 16:09:53 ---> 2e51426f4a45 16:09:53 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:09:53 ---> Running in a471ec49b0b2 16:09:54 Removing intermediate container a471ec49b0b2 16:09:54 ---> ad48b604018b 16:09:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:09:54 ---> Running in 0af3aba8b22a 16:09:55 Removing intermediate container 0af3aba8b22a 16:09:55 ---> f680200b0a12 16:09:55 Step 23/25 : LABEL arch=arm64 16:09:55 ---> Running in de802959009f 16:09:55 Removing intermediate container de802959009f 16:09:55 ---> fd9ba5f08c56 16:09:55 Step 24/25 : LABEL git_sha=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 16:09:55 ---> Running in 31fe2dffcdcf 16:09:56 Removing intermediate container 31fe2dffcdcf 16:09:56 ---> 2b4f039100c7 16:09:56 Step 25/25 : LABEL version=0.0.0 16:09:56 ---> Running in 046fb70e1e67 16:09:56 Removing intermediate container 046fb70e1e67 16:09:56 ---> 2008f17775a4 16:09:56 [Warning] One or more build-args [ARCH] were not consumed 16:09:56 Successfully built 2008f17775a4 16:09:56 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 16:09:58 provisioning config files... 16:09:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config8585842608118119984tmp [Pipeline] { [Pipeline] sh 16:09:59 + curl -s https://codecov.io/bash 16:09:59 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config8585842608118119984tmp [Pipeline] } 16:09:59 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 16:10:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:10:03 ---> package-listing.sh 16:10:03 ++ facter osfamily 16:10:03 ++ tr '[:upper:]' '[:lower:]' 16:10:03 + OS_FAMILY=redhat 16:10:03 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 16:10:03 + START_PACKAGES=/tmp/packages_start.txt 16:10:03 + END_PACKAGES=/tmp/packages_end.txt 16:10:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:10:03 + PACKAGES=/tmp/packages_start.txt 16:10:03 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 16:10:03 + PACKAGES=/tmp/packages_end.txt 16:10:03 + case "${OS_FAMILY}" in 16:10:03 + rpm -qa 16:10:03 + sort 16:10:07 + '[' -f /tmp/packages_start.txt ']' 16:10:07 + '[' -f /tmp/packages_end.txt ']' 16:10:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:10:07 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 16:10:07 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ 16:10:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh 16:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:07 16:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:08 alpine: Pulling from edgex-lftools-log-publisher 16:10:08 df20fa9351a1: Pulling fs layer 16:10:08 36b3adc4ff6f: Pulling fs layer 16:10:08 8ad3a11d3b57: Pulling fs layer 16:10:08 46f8f816bc3b: Pulling fs layer 16:10:08 0dadc02b9964: Pulling fs layer 16:10:08 ce6a7cf60c04: Pulling fs layer 16:10:08 7a184a31f384: Pulling fs layer 16:10:08 0879bd2ef858: Pulling fs layer 16:10:08 0dadc02b9964: Waiting 16:10:08 ce6a7cf60c04: Waiting 16:10:08 7a184a31f384: Waiting 16:10:08 46f8f816bc3b: Waiting 16:10:08 0879bd2ef858: Waiting 16:10:08 36b3adc4ff6f: Verifying Checksum 16:10:08 36b3adc4ff6f: Download complete 16:10:08 46f8f816bc3b: Verifying Checksum 16:10:08 46f8f816bc3b: Download complete 16:10:08 df20fa9351a1: Verifying Checksum 16:10:08 ce6a7cf60c04: Verifying Checksum 16:10:08 ce6a7cf60c04: Download complete 16:10:08 0dadc02b9964: Verifying Checksum 16:10:08 0dadc02b9964: Download complete 16:10:08 7a184a31f384: Verifying Checksum 16:10:08 7a184a31f384: Download complete 16:10:08 8ad3a11d3b57: Verifying Checksum 16:10:08 8ad3a11d3b57: Download complete 16:10:08 df20fa9351a1: Pull complete 16:10:08 36b3adc4ff6f: Pull complete 16:10:08 0879bd2ef858: Verifying Checksum 16:10:09 8ad3a11d3b57: Pull complete 16:10:09 46f8f816bc3b: Pull complete 16:10:09 0dadc02b9964: Pull complete 16:10:10 ce6a7cf60c04: Pull complete 16:10:10 7a184a31f384: Pull complete 16:10:12 0879bd2ef858: Pull complete 16:10:12 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 16:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:10:12 prd-centos7-docker-4c-2g-233 does not seem to be running inside a container 16:10:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:10:17 $ docker top a1f5000467e994d9e0f7a3286923e16a99ff4684f4c6fafa3425cfc2cc6f94be -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:17 + mkdir -p /var/log/sa [Pipeline] sh 16:10:18 + ls /var/log/sa-host 16:10:18 + sadf -c /var/log/sa-host/sa05 16:10:18 file_magic: OK 16:10:18 HZ: Using current value: 100 16:10:18 file_header: OK 16:10:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:10:18 Statistics: 16:10:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:18 File successfully converted to sysstat format version 12.2.1 16:10:18 + sadf -c /var/log/sa-host/sa17 16:10:18 file_magic: OK 16:10:18 HZ: Using current value: 100 16:10:18 file_header: OK 16:10:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:10:18 Statistics: 16:10:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:18 provisioning config files... 16:10:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1508080339595900604tmp [Pipeline] { [Pipeline] echo 16:10:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:18 ---> create-netrc.sh [Pipeline] echo 16:10:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:10:18 ---> logs-deploy.sh 16:10:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/2 16:10:18 INFO: archiving workspace using pattern(s): 16:10:20 Archives upload complete. 16:10:20 INFO: archiving logs to Nexus