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 [2020-09-17T16:04:27.026Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T16:04:27.343Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T16:04:27.449Z] ========================================================= [2020-09-17T16:04:27.449Z] EdgeX Global Pipelines Version Info [2020-09-17T16:04:27.449Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T16:04:28.898Z] ------------------- [2020-09-17T16:04:28.898Z] stable info: [2020-09-17T16:04:28.898Z] ------------------- [2020-09-17T16:04:28.898Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T16:04:28.898Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T16:04:28.898Z] Message: update stable to v1.0.122 [2020-09-17T16:04:29.843Z] ------------------- [2020-09-17T16:04:29.843Z] experimental info: [2020-09-17T16:04:29.843Z] ------------------- [2020-09-17T16:04:29.843Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T16:04:29.843Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T16:04:29.843Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T16:04:30.502Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-17T16:04:30.718Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-17T16:04:30.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T16:04:30.916Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T16:04:31.017Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T16:04:31.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-17T16:04:31.212Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T16:04:31.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-17T16:04:31.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T16:04:31.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T16:04:31.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T16:04:31.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-17T16:04:31.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T16:04:31.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T16:04:32.075Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T16:04:32.189Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T16:04:32.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T16:04:32.384Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T16:04:32.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T16:04:32.574Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T16:04:32.675Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T16:04:32.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T16:04:32.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2020-09-17T16:04:33.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2020-09-17T16:04:33.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2020-09-17T16:04:33.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [Pipeline] echo [2020-09-17T16:04:33.301Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6fbd73 [Pipeline] echo [2020-09-17T16:04:33.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T16:04:33.980Z] + git log --format=format:%s -1 e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [Pipeline] echo [2020-09-17T16:04:34.038Z] GIT_COMMIT: e6fbd73b63f30e1d2e1d55320fa47fe090caadc6, Commit Message: build: upgrade device-sdk-go with dependabot [Pipeline] echo [2020-09-17T16:04:34.082Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:04:34.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T16:04:35.163Z] [2020-09-17T16:04:35.163Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:04:35.554Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T16:04:35.554Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T16:04:35.554Z] 31603596830f: Pulling fs layer [2020-09-17T16:04:35.554Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T16:04:35.554Z] 6ca5941a6612: Pulling fs layer [2020-09-17T16:04:35.554Z] ecc8261a40a4: Pulling fs layer [2020-09-17T16:04:35.554Z] ecc8261a40a4: Waiting [2020-09-17T16:04:35.554Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T16:04:35.554Z] 2a8b12db71e7: Download complete [2020-09-17T16:04:35.821Z] 31603596830f: Verifying Checksum [2020-09-17T16:04:35.821Z] 31603596830f: Download complete [2020-09-17T16:04:35.821Z] ecc8261a40a4: Verifying Checksum [2020-09-17T16:04:35.821Z] ecc8261a40a4: Download complete [2020-09-17T16:04:36.084Z] 6ca5941a6612: Verifying Checksum [2020-09-17T16:04:36.084Z] 6ca5941a6612: Download complete [2020-09-17T16:04:36.084Z] 31603596830f: Pull complete [2020-09-17T16:04:36.084Z] 2a8b12db71e7: Pull complete [2020-09-17T16:04:37.034Z] 6ca5941a6612: Pull complete [2020-09-17T16:04:37.034Z] ecc8261a40a4: Pull complete [2020-09-17T16:04:37.034Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T16:04:37.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T16:04:37.034Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T16:04:37.131Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2020-09-17T16:04:37.176Z] $ 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 [2020-09-17T16:04:39.371Z] $ docker top 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T16:04:39.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T16:04:39.684Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T16:04:39.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T16:04:39.875Z] $ docker exec 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent [2020-09-17T16:04:40.022Z] SSH_AUTH_SOCK=/tmp/ssh-ywzXM8Hojd01/agent.13 [2020-09-17T16:04:40.023Z] SSH_AGENT_PID=18 [2020-09-17T16:04:40.036Z] Running ssh-add (command line suppressed) [2020-09-17T16:04:40.150Z] 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) [2020-09-17T16:04:40.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T16:04:40.524Z] + git describe --exact-match --tags HEAD [2020-09-17T16:04:40.524Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T16:04:40.548Z] $ docker exec --env ******** --env ******** 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent -k [2020-09-17T16:04:40.657Z] unset SSH_AUTH_SOCK; [2020-09-17T16:04:40.657Z] unset SSH_AGENT_PID; [2020-09-17T16:04:40.657Z] echo Agent pid 18 killed; [2020-09-17T16:04:40.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T16:04:40.786Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T16:04:40.786Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T16:04:40.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T16:04:40.949Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T16:04:41.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T16:04:41.113Z] $ docker exec 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent [2020-09-17T16:04:41.255Z] SSH_AUTH_SOCK=/tmp/ssh-PbNzYzPX2c49/agent.47 [2020-09-17T16:04:41.255Z] SSH_AGENT_PID=52 [2020-09-17T16:04:41.261Z] Running ssh-add (command line suppressed) [2020-09-17T16:04:41.373Z] 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) [2020-09-17T16:04:41.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T16:04:41.753Z] + git semver init [2020-09-17T16:04:41.753Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T16:04:41.753Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git [2020-09-17T16:04:41.753Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-17T16:04:41.753Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T16:04:41.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T16:04:41.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T16:04:41.753Z] # $SEMVER_BRANCH = PR-42 [2020-09-17T16:04:41.753Z] # $SEMVER_TEMP = /tmp/semver-489890004 [2020-09-17T16:04:41.753Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-17T16:04:44.309Z] # '/tmp/semver-489890004' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' [2020-09-17T16:04:44.309Z] # -> Force: false [2020-09-17T16:04:44.309Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } [2020-09-17T16:04:44.327Z] $ docker exec --env ******** --env ******** 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 ssh-agent -k [2020-09-17T16:04:44.438Z] unset SSH_AUTH_SOCK; [2020-09-17T16:04:44.439Z] unset SSH_AGENT_PID; [2020-09-17T16:04:44.439Z] echo Agent pid 52 killed; [2020-09-17T16:04:44.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T16:04:44.956Z] + git semver [Pipeline] } [2020-09-17T16:04:44.979Z] $ docker stop --time=1 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 [2020-09-17T16:04:46.377Z] $ docker rm -f 4727ebd4134e6b718bcfeb58ac4c6a0c59325e704f67ae3bfcd2194783fdfc61 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T16:04:47.804Z] Stashed 21 file(s) [Pipeline] echo [2020-09-17T16:04:47.806Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T16:04:47.914Z] 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 [2020-09-17T16:05:03.503Z] Still waiting to schedule task [2020-09-17T16:05:03.504Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-233’ [2020-09-17T16:05:03.506Z] Still waiting to schedule task [2020-09-17T16:05:03.506Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-17T16:06:53.960Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-235 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-17T16:06:54.055Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-09-17T16:06:58.927Z] using credential edgex-jenkins-ssh [2020-09-17T16:06:58.990Z] Cloning the remote Git repository [2020-09-17T16:06:58.991Z] Cloning with configured refspecs honoured and without tags [2020-09-17T16:06:59.079Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:06:59.194Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-09-17T16:06:59.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:06:59.253Z] > git --version # timeout=10 [2020-09-17T16:06:59.269Z] > git --version # 'git version 2.17.1' [2020-09-17T16:06:59.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:06:59.343Z] > 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 [2020-09-17T16:07:00.891Z] Fetching without tags [2020-09-17T16:07:01.422Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:07:00.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T16:07:00.796Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-17T16:07:00.816Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T16:07:00.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T16:07:00.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:07:00.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:07:00.922Z] > 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 [2020-09-17T16:07:01.445Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T16:07:01.461Z] > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 [2020-09-17T16:07:01.538Z] > git remote # timeout=10 [2020-09-17T16:07:01.553Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T16:07:01.601Z] Merge succeeded, producing e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:07:01.601Z] Checking out Revision e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 (PR-42) [2020-09-17T16:07:01.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:07:01.573Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-17T16:07:01.592Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T16:07:01.614Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T16:07:01.627Z] > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 [2020-09-17T16:07:05.703Z] 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 [2020-09-17T16:07:07.635Z] ========================================================= [2020-09-17T16:07:07.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-17T16:07:07.635Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:07:08.639Z] + 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 . [2020-09-17T16:07:09.629Z] Sending build context to Docker daemon 8.049MB [2020-09-17T16:07:09.629Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-17T16:07:09.629Z] Step 2/10 : FROM ${BASE} [2020-09-17T16:07:09.907Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T16:07:09.907Z] b538f80385f9: Pulling fs layer [2020-09-17T16:07:09.907Z] 74f711af9a0d: Pulling fs layer [2020-09-17T16:07:09.907Z] 99f96fe45779: Pulling fs layer [2020-09-17T16:07:09.907Z] fd7a069fd194: Pulling fs layer [2020-09-17T16:07:09.907Z] 66aa3694b03b: Pulling fs layer [2020-09-17T16:07:09.907Z] 170f70906a0f: Pulling fs layer [2020-09-17T16:07:09.907Z] ad7c5574e4b9: Pulling fs layer [2020-09-17T16:07:09.907Z] e772456be8f7: Pulling fs layer [2020-09-17T16:07:09.907Z] c890913d741a: Pulling fs layer [2020-09-17T16:07:09.907Z] 2480fcc9aa5a: Pulling fs layer [2020-09-17T16:07:09.907Z] 09adf4765672: Pulling fs layer [2020-09-17T16:07:09.907Z] fd7a069fd194: Waiting [2020-09-17T16:07:09.907Z] ad7c5574e4b9: Waiting [2020-09-17T16:07:09.907Z] e772456be8f7: Waiting [2020-09-17T16:07:09.907Z] c890913d741a: Waiting [2020-09-17T16:07:09.907Z] 2480fcc9aa5a: Waiting [2020-09-17T16:07:09.907Z] 66aa3694b03b: Waiting [2020-09-17T16:07:09.907Z] 09adf4765672: Waiting [2020-09-17T16:07:09.907Z] 170f70906a0f: Waiting [2020-09-17T16:07:09.907Z] 99f96fe45779: Download complete [2020-09-17T16:07:09.907Z] 74f711af9a0d: Verifying Checksum [2020-09-17T16:07:09.907Z] 74f711af9a0d: Download complete [2020-09-17T16:07:09.907Z] 170f70906a0f: Verifying Checksum [2020-09-17T16:07:09.907Z] 170f70906a0f: Download complete [2020-09-17T16:07:09.907Z] b538f80385f9: Verifying Checksum [2020-09-17T16:07:09.907Z] b538f80385f9: Download complete [2020-09-17T16:07:10.888Z] b538f80385f9: Pull complete [2020-09-17T16:07:11.161Z] 74f711af9a0d: Pull complete [2020-09-17T16:07:11.762Z] 99f96fe45779: Pull complete [2020-09-17T16:07:14.443Z] ad7c5574e4b9: Verifying Checksum [2020-09-17T16:07:14.443Z] ad7c5574e4b9: Download complete [2020-09-17T16:07:14.443Z] c890913d741a: Verifying Checksum [2020-09-17T16:07:14.443Z] c890913d741a: Download complete [2020-09-17T16:07:16.443Z] 2480fcc9aa5a: Verifying Checksum [2020-09-17T16:07:16.443Z] 2480fcc9aa5a: Download complete [2020-09-17T16:07:16.443Z] 09adf4765672: Verifying Checksum [2020-09-17T16:07:16.443Z] 09adf4765672: Download complete [2020-09-17T16:07:17.044Z] e772456be8f7: Verifying Checksum [2020-09-17T16:07:17.044Z] e772456be8f7: Download complete [2020-09-17T16:07:17.044Z] fd7a069fd194: Verifying Checksum [2020-09-17T16:07:17.044Z] fd7a069fd194: Download complete [2020-09-17T16:07:29.472Z] fd7a069fd194: Pull complete [2020-09-17T16:07:29.472Z] 66aa3694b03b: Pull complete [2020-09-17T16:07:29.472Z] 170f70906a0f: Pull complete [2020-09-17T16:07:32.897Z] ad7c5574e4b9: Pull complete [2020-09-17T16:07:37.228Z] e772456be8f7: Pull complete [2020-09-17T16:07:37.503Z] c890913d741a: Pull complete [2020-09-17T16:07:39.485Z] 2480fcc9aa5a: Pull complete [2020-09-17T16:07:40.476Z] 09adf4765672: Pull complete [2020-09-17T16:07:40.476Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-17T16:07:40.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-17T16:07:40.476Z] ---> 2248a725d1cf [2020-09-17T16:07:40.476Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T16:07:42.573Z] Running on prd-centos7-docker-4c-2g-236 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-17T16:07:42.629Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-09-17T16:07:44.794Z] ---> Running in 82a4407b15a3 [2020-09-17T16:07:45.082Z] Removing intermediate container 82a4407b15a3 [2020-09-17T16:07:45.082Z] ---> ea9f2b65008a [2020-09-17T16:07:45.082Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T16:07:45.359Z] ---> Running in 0962aeacc754 [2020-09-17T16:07:45.397Z] using credential edgex-jenkins-ssh [2020-09-17T16:07:45.468Z] Cloning the remote Git repository [2020-09-17T16:07:45.468Z] Cloning with configured refspecs honoured and without tags [2020-09-17T16:07:45.632Z] Removing intermediate container 0962aeacc754 [2020-09-17T16:07:45.632Z] ---> 3de75cd2d583 [2020-09-17T16:07:45.632Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T16:07:45.905Z] ---> Running in d759cad97a4b [2020-09-17T16:07:46.180Z] Removing intermediate container d759cad97a4b [2020-09-17T16:07:46.180Z] ---> 6aa4383df559 [2020-09-17T16:07:46.180Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T16:07:45.494Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:07:45.571Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-09-17T16:07:45.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:07:45.893Z] > git --version # timeout=10 [2020-09-17T16:07:45.902Z] > git --version # 'git version 2.16.5' [2020-09-17T16:07:45.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:07:45.932Z] > 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 [2020-09-17T16:07:46.458Z] ---> Running in de6ff0fc980f [2020-09-17T16:07:47.375Z] Fetching without tags [2020-09-17T16:07:47.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T16:07:47.332Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-17T16:07:47.346Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T16:07:47.363Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T16:07:47.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T16:07:47.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:07:47.388Z] > 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 [2020-09-17T16:07:47.780Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:07:47.855Z] Merge succeeded, producing e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:07:47.856Z] Checking out Revision e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 (PR-42) [2020-09-17T16:07:47.791Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T16:07:47.795Z] > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 [2020-09-17T16:07:47.826Z] > git remote # timeout=10 [2020-09-17T16:07:47.831Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T16:07:47.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T16:07:47.840Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-17T16:07:47.852Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T16:07:47.861Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T16:07:47.865Z] > git checkout -f e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 [2020-09-17T16:07:49.128Z] Removing intermediate container de6ff0fc980f [2020-09-17T16:07:49.128Z] ---> 7083d62e55f2 [2020-09-17T16:07:49.128Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T16:07:49.128Z] ---> Running in 56a85558c566 [2020-09-17T16:07:50.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T16:07:51.494Z] Commit message: "build: upgrade device-sdk-go with dependabot" [2020-09-17T16:07:51.546Z] 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 [2020-09-17T16:07:52.520Z] OK: 142 MiB in 39 packages [Pipeline] echo [2020-09-17T16:07:52.988Z] ========================================================= [2020-09-17T16:07:52.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-17T16:07:52.988Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:07:53.503Z] Removing intermediate container 56a85558c566 [2020-09-17T16:07:53.503Z] ---> 3fef0beabb6f [2020-09-17T16:07:53.503Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T16:07:53.503Z] ---> Running in 94ee4a82decd [2020-09-17T16:07:53.543Z] + 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 . [2020-09-17T16:07:53.808Z] Sending build context to Docker daemon 8.049MB [2020-09-17T16:07:53.808Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-17T16:07:53.808Z] Step 2/10 : FROM ${BASE} [2020-09-17T16:07:54.072Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T16:07:54.072Z] df20fa9351a1: Pulling fs layer [2020-09-17T16:07:54.072Z] ed8968b2872e: Pulling fs layer [2020-09-17T16:07:54.072Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T16:07:54.072Z] 2dd03ba5bac4: Pulling fs layer [2020-09-17T16:07:54.072Z] 1e091d79d1de: Pulling fs layer [2020-09-17T16:07:54.072Z] 481702a1767f: Pulling fs layer [2020-09-17T16:07:54.072Z] f64a6f60c768: Pulling fs layer [2020-09-17T16:07:54.072Z] e78d2573fc39: Pulling fs layer [2020-09-17T16:07:54.072Z] e876d2f968b6: Pulling fs layer [2020-09-17T16:07:54.072Z] ce8a83651883: Pulling fs layer [2020-09-17T16:07:54.072Z] 07967f4d0e4b: Pulling fs layer [2020-09-17T16:07:54.072Z] e876d2f968b6: Waiting [2020-09-17T16:07:54.072Z] ce8a83651883: Waiting [2020-09-17T16:07:54.072Z] 07967f4d0e4b: Waiting [2020-09-17T16:07:54.072Z] 1e091d79d1de: Waiting [2020-09-17T16:07:54.072Z] 481702a1767f: Waiting [2020-09-17T16:07:54.072Z] f64a6f60c768: Waiting [2020-09-17T16:07:54.072Z] 2dd03ba5bac4: Waiting [2020-09-17T16:07:54.072Z] e78d2573fc39: Waiting [2020-09-17T16:07:54.072Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T16:07:54.072Z] a92cc7c5fd73: Download complete [2020-09-17T16:07:54.072Z] ed8968b2872e: Download complete [2020-09-17T16:07:54.072Z] 1e091d79d1de: Verifying Checksum [2020-09-17T16:07:54.072Z] 1e091d79d1de: Download complete [2020-09-17T16:07:54.072Z] 481702a1767f: Verifying Checksum [2020-09-17T16:07:54.072Z] 481702a1767f: Download complete [2020-09-17T16:07:54.072Z] df20fa9351a1: Verifying Checksum [2020-09-17T16:07:54.072Z] df20fa9351a1: Download complete [2020-09-17T16:07:54.100Z] Removing intermediate container 94ee4a82decd [2020-09-17T16:07:54.100Z] ---> 473c3fb2fd7c [2020-09-17T16:07:54.100Z] Step 9/10 : COPY . . [2020-09-17T16:07:54.340Z] df20fa9351a1: Pull complete [2020-09-17T16:07:54.603Z] ed8968b2872e: Pull complete [2020-09-17T16:07:54.865Z] a92cc7c5fd73: Pull complete [2020-09-17T16:07:55.081Z] ---> d94c49e4969e [2020-09-17T16:07:55.081Z] Step 10/10 : RUN go mod download [2020-09-17T16:07:55.367Z] ---> Running in 7943cc168f65 [2020-09-17T16:07:58.803Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-17T16:07:58.803Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-17T16:07:58.803Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-17T16:07:58.803Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-17T16:07:58.803Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-17T16:07:58.803Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-17T16:07:58.803Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-17T16:07:58.803Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-17T16:07:58.803Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.4-dev.12 [2020-09-17T16:07:58.803Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-17T16:07:58.803Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-17T16:07:59.085Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-17T16:07:59.085Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-17T16:07:59.085Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-17T16:07:59.085Z] go: finding github.com/fatih/color v1.7.0 [2020-09-17T16:07:59.085Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-17T16:07:59.085Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-17T16:07:59.085Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-17T16:07:59.085Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-17T16:07:59.085Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-17T16:07:59.098Z] f64a6f60c768: Verifying Checksum [2020-09-17T16:07:59.098Z] f64a6f60c768: Download complete [2020-09-17T16:07:59.098Z] e876d2f968b6: Verifying Checksum [2020-09-17T16:07:59.098Z] e876d2f968b6: Download complete [2020-09-17T16:07:59.357Z] go: finding github.com/google/uuid v1.1.0 [2020-09-17T16:07:59.357Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-17T16:07:59.357Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-17T16:07:59.362Z] e78d2573fc39: Verifying Checksum [2020-09-17T16:07:59.362Z] e78d2573fc39: Download complete [2020-09-17T16:07:59.625Z] 07967f4d0e4b: Verifying Checksum [2020-09-17T16:07:59.625Z] 07967f4d0e4b: Download complete [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-17T16:07:59.639Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-17T16:07:59.639Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-17T16:07:59.639Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-17T16:07:59.892Z] 2dd03ba5bac4: Download complete [2020-09-17T16:07:59.892Z] ce8a83651883: Download complete [2020-09-17T16:07:59.916Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-17T16:07:59.917Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-17T16:07:59.917Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-17T16:08:00.189Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-17T16:08:00.189Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-17T16:08:00.189Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-17T16:08:00.189Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-17T16:08:00.189Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-17T16:08:00.189Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-17T16:08:00.189Z] go: finding github.com/posener/complete v1.1.1 [2020-09-17T16:08:00.189Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-17T16:08:00.189Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-17T16:08:00.462Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-17T16:08:00.462Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-17T16:08:00.462Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-17T16:08:00.462Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-17T16:08:00.462Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-17T16:08:00.462Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-17T16:08:00.462Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-17T16:08:00.462Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-17T16:08:00.740Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-17T16:08:00.740Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-17T16:08:00.740Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-17T16:08:06.513Z] 2dd03ba5bac4: Pull complete [2020-09-17T16:08:06.513Z] 1e091d79d1de: Pull complete [2020-09-17T16:08:06.513Z] 481702a1767f: Pull complete [2020-09-17T16:08:10.752Z] f64a6f60c768: Pull complete [2020-09-17T16:08:10.942Z] Removing intermediate container 7943cc168f65 [2020-09-17T16:08:10.942Z] ---> fa4b6842e3c6 [2020-09-17T16:08:10.942Z] Successfully built fa4b6842e3c6 [2020-09-17T16:08:10.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:08:11.360Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T16:08:11.360Z] . [Pipeline] withDockerContainer [2020-09-17T16:08:11.643Z] prd-ubuntu18.04-docker-arm64-4c-16g-235 does not seem to be running inside a container [2020-09-17T16:08:11.736Z] $ 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 [2020-09-17T16:08:13.708Z] $ docker top ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 -eo pid,comm [2020-09-17T16:08:14.089Z] e78d2573fc39: Pull complete [2020-09-17T16:08:14.089Z] e876d2f968b6: Pull complete [Pipeline] { [Pipeline] sh [2020-09-17T16:08:15.055Z] ce8a83651883: Pull complete [2020-09-17T16:08:15.201Z] + go version [2020-09-17T16:08:15.201Z] go version go1.13.13 linux/arm64 [Pipeline] } [2020-09-17T16:08:15.228Z] $ docker stop --time=1 ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 [2020-09-17T16:08:15.320Z] 07967f4d0e4b: Pull complete [2020-09-17T16:08:15.320Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-17T16:08:15.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-17T16:08:15.320Z] ---> 5d7c900382c6 [2020-09-17T16:08:15.320Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T16:08:17.247Z] $ docker rm -f ad4c9b569797bb6223d6263bc061be625241fea27ad04b22c6357fba6d7a4a54 [2020-09-17T16:08:17.245Z] ---> Running in eaa7c4eeae8b [2020-09-17T16:08:17.245Z] Removing intermediate container eaa7c4eeae8b [2020-09-17T16:08:17.245Z] ---> 3a399b703955 [2020-09-17T16:08:17.245Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T16:08:17.245Z] ---> Running in d05fbe22ea6b [2020-09-17T16:08:17.510Z] Removing intermediate container d05fbe22ea6b [2020-09-17T16:08:17.510Z] ---> db5822543aad [2020-09-17T16:08:17.510Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T16:08:17.510Z] ---> Running in b92e11c8a86f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-17T16:08:17.773Z] Removing intermediate container b92e11c8a86f [2020-09-17T16:08:17.773Z] ---> 753918674984 [2020-09-17T16:08:17.773Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T16:08:17.773Z] ---> Running in d0ae5d724a24 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:08:18.302Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T16:08:18.302Z] . [Pipeline] withDockerContainer [2020-09-17T16:08:18.575Z] prd-ubuntu18.04-docker-arm64-4c-16g-235 does not seem to be running inside a container [2020-09-17T16:08:18.662Z] $ 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 [2020-09-17T16:08:19.167Z] Removing intermediate container d0ae5d724a24 [2020-09-17T16:08:19.167Z] ---> 7f4f0a79346f [2020-09-17T16:08:19.167Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T16:08:19.167Z] ---> Running in d08745e8adab [2020-09-17T16:08:19.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T16:08:20.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T16:08:20.561Z] $ docker top 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T16:08:21.715Z] OK: 166 MiB in 39 packages [2020-09-17T16:08:21.976Z] + make test [2020-09-17T16:08:21.977Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-17T16:08:21.986Z] Removing intermediate container d08745e8adab [2020-09-17T16:08:21.986Z] ---> a3ea85a1821d [2020-09-17T16:08:21.986Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T16:08:21.986Z] ---> Running in 7e4ad1e39c76 [2020-09-17T16:08:21.986Z] Removing intermediate container 7e4ad1e39c76 [2020-09-17T16:08:21.986Z] ---> 19fc2c0d507a [2020-09-17T16:08:21.986Z] Step 9/10 : COPY . . [2020-09-17T16:08:22.569Z] ---> a06d10db7724 [2020-09-17T16:08:22.569Z] Step 10/10 : RUN go mod download [2020-09-17T16:08:22.569Z] ---> Running in a8149cdb8052 [2020-09-17T16:08:22.966Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-17T16:08:24.491Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-17T16:08:24.491Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-17T16:08:24.491Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-17T16:08:24.491Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-17T16:08:24.491Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-17T16:08:24.491Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-17T16:08:24.754Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-17T16:08:24.754Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.4-dev.12 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-17T16:08:24.754Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-17T16:08:24.754Z] go: finding github.com/fatih/color v1.7.0 [2020-09-17T16:08:24.754Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-17T16:08:24.754Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-17T16:08:24.754Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-17T16:08:25.017Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-17T16:08:25.017Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-17T16:08:25.017Z] go: finding github.com/google/uuid v1.1.0 [2020-09-17T16:08:25.017Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-17T16:08:25.017Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-17T16:08:25.280Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-17T16:08:25.280Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-17T16:08:25.280Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-17T16:08:25.547Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-17T16:08:25.547Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-17T16:08:25.547Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-17T16:08:25.547Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-17T16:08:25.547Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-17T16:08:25.810Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-17T16:08:25.810Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-17T16:08:25.810Z] go: finding github.com/posener/complete v1.1.1 [2020-09-17T16:08:25.810Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-17T16:08:25.810Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-17T16:08:25.810Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-17T16:08:25.810Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-17T16:08:25.810Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-17T16:08:25.810Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-17T16:08:25.810Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-17T16:08:25.810Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-17T16:08:25.810Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-17T16:08:26.076Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-17T16:08:26.076Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-17T16:08:26.076Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-17T16:08:26.076Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-17T16:08:34.288Z] Removing intermediate container a8149cdb8052 [2020-09-17T16:08:34.288Z] ---> a2d1afd7db80 [2020-09-17T16:08:34.288Z] Successfully built a2d1afd7db80 [2020-09-17T16:08:34.288Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:08:34.644Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T16:08:34.644Z] . [Pipeline] withDockerContainer [2020-09-17T16:08:34.769Z] prd-centos7-docker-4c-2g-236 does not seem to be running inside a container [2020-09-17T16:08:34.843Z] $ 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 [2020-09-17T16:08:35.888Z] $ docker top 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T16:08:36.398Z] + go version [2020-09-17T16:08:36.398Z] go version go1.13.13 linux/amd64 [Pipeline] } [2020-09-17T16:08:36.416Z] $ docker stop --time=1 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 [2020-09-17T16:08:37.754Z] $ docker rm -f 527f1e0cc7228e7d713d35603695e54cb5d0685aeb8239e907335eb8e9045c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:08:38.649Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T16:08:38.649Z] . [Pipeline] withDockerContainer [2020-09-17T16:08:38.746Z] prd-centos7-docker-4c-2g-236 does not seem to be running inside a container [2020-09-17T16:08:38.795Z] $ 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 [2020-09-17T16:08:39.408Z] $ docker top 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T16:08:39.955Z] + make test [2020-09-17T16:08:39.955Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-17T16:08:40.920Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-17T16:08:51.072Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-17T16:08:51.072Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-09-17T16:08:51.072Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T16:08:53.024Z] gofmt -l . [2020-09-17T16:08:53.024Z] [ "`gofmt -l .`" = "" ] [2020-09-17T16:08:53.024Z] ./bin/test-go-mod-tidy.sh [2020-09-17T16:08:53.287Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-17T16:08:53.860Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T16:08:53.868Z] $ docker stop --time=1 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 [2020-09-17T16:08:55.343Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-17T16:08:55.344Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements [2020-09-17T16:08:55.344Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T16:08:56.067Z] $ docker rm -f 58b572ba36e0a8fa329652cd5cef27b8e14e768f30b8c6dff316eb8c70a5c4f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T16:08:59.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T16:08:59.611Z] + ls -al . [2020-09-17T16:08:59.611Z] total 96 [2020-09-17T16:08:59.611Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 16:08 . [2020-09-17T16:08:59.611Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 16:07 .. [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 16:07 Attribution.txt [2020-09-17T16:08:59.611Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 16:07 bin [2020-09-17T16:08:59.611Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 16:07 cmd [2020-09-17T16:08:59.611Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 16:08 coverage.out [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 16:07 Dockerfile [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 16:07 Dockerfile.build [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 16:07 .dockerignore [2020-09-17T16:08:59.611Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 16:08 driver [2020-09-17T16:08:59.611Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 16:07 .git [2020-09-17T16:08:59.611Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 17 16:07 .github [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 16:07 .gitignore [2020-09-17T16:08:59.611Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 17 16:08 go.mod [2020-09-17T16:08:59.611Z] -rw-r--r--. 1 jenkins jenkins 12547 Sep 17 16:08 go.sum [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 702 Sep 17 16:07 Jenkinsfile [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 16:07 LICENSE [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 16:07 Makefile [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 16:07 README.md [2020-09-17T16:08:59.611Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 16:07 .semver [2020-09-17T16:08:59.611Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 16:07 snap [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 16:04 VERSION [2020-09-17T16:08:59.611Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 16:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:08:59.671Z] gofmt -l . [2020-09-17T16:08:59.671Z] [ "`gofmt -l .`" = "" ] [2020-09-17T16:08:59.671Z] ./bin/test-go-mod-tidy.sh [2020-09-17T16:08:59.671Z] ./bin/test-attribution-txt.sh [2020-09-17T16:08:59.916Z] + 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 . [2020-09-17T16:09:00.180Z] Sending build context to Docker daemon 8.06MB [2020-09-17T16:09:00.180Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-17T16:09:00.180Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T16:09:00.180Z] ---> a2d1afd7db80 [2020-09-17T16:09:00.180Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T16:09:00.180Z] ---> Running in 5171cbadf03e [Pipeline] stash [2020-09-17T16:09:00.351Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T16:09:00.443Z] Removing intermediate container 5171cbadf03e [2020-09-17T16:09:00.443Z] ---> 1ae7c4a4e50f [2020-09-17T16:09:00.443Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T16:09:00.443Z] ---> Running in f37a8d1e1abe [2020-09-17T16:09:00.443Z] Removing intermediate container f37a8d1e1abe [2020-09-17T16:09:00.443Z] ---> 94aedce876c2 [2020-09-17T16:09:00.443Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T16:09:00.706Z] ---> Running in 94a5775a8607 [2020-09-17T16:09:00.706Z] Removing intermediate container 94a5775a8607 [2020-09-17T16:09:00.706Z] ---> 48ad1b324112 [2020-09-17T16:09:00.706Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T16:09:00.706Z] ---> Running in 0399afb63396 [2020-09-17T16:09:01.047Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T16:09:01.059Z] $ docker stop --time=1 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d [2020-09-17T16:09:01.665Z] Removing intermediate container 0399afb63396 [2020-09-17T16:09:01.665Z] ---> 4da36cbe7096 [2020-09-17T16:09:01.665Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T16:09:01.941Z] ---> Running in 9f641eab4913 [2020-09-17T16:09:02.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T16:09:03.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T16:09:03.369Z] $ docker rm -f 913a4b34963d11e002430dbf5ef20adf410ff4b7e19d615b534506943813406d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-17T16:09:04.100Z] OK: 166 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T16:09:04.361Z] Removing intermediate container 9f641eab4913 [2020-09-17T16:09:04.361Z] ---> 6488baad7d4f [2020-09-17T16:09:04.361Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T16:09:04.623Z] ---> Running in ff3a90c675d1 [2020-09-17T16:09:04.623Z] Removing intermediate container ff3a90c675d1 [2020-09-17T16:09:04.623Z] ---> fadafe55614a [2020-09-17T16:09:04.623Z] Step 9/25 : COPY go.mod . [2020-09-17T16:09:04.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T16:09:04.884Z] ---> 80cd3fed28bc [2020-09-17T16:09:04.884Z] Step 10/25 : COPY Makefile . [2020-09-17T16:09:05.000Z] + ls -al . [2020-09-17T16:09:05.000Z] total 128 [2020-09-17T16:09:05.000Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 16:08 . [2020-09-17T16:09:05.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 16:06 .. [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 16:07 .dockerignore [2020-09-17T16:09:05.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 16:07 .git [2020-09-17T16:09:05.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:07 .github [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 16:07 .gitignore [2020-09-17T16:09:05.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 16:07 .semver [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 16:07 Attribution.txt [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 16:07 Dockerfile [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 16:07 Dockerfile.build [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 702 Sep 17 16:07 Jenkinsfile [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 16:07 LICENSE [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 16:07 Makefile [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 16:07 README.md [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 16:04 VERSION [2020-09-17T16:09:05.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:07 bin [2020-09-17T16:09:05.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 16:07 cmd [2020-09-17T16:09:05.000Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 16:08 coverage.out [2020-09-17T16:09:05.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 16:08 driver [2020-09-17T16:09:05.000Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 17 16:08 go.mod [2020-09-17T16:09:05.000Z] -rw-r--r-- 1 jenkins jenkins 12547 Sep 17 16:08 go.sum [2020-09-17T16:09:05.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 16:07 snap [2020-09-17T16:09:05.000Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 16:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:09:05.151Z] ---> 8cd3f16e2cc9 [2020-09-17T16:09:05.152Z] Step 11/25 : RUN make update [2020-09-17T16:09:05.152Z] ---> Running in 98f3638249d0 [2020-09-17T16:09:05.342Z] + 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 . [2020-09-17T16:09:05.622Z] Sending build context to Docker daemon 8.06MB [2020-09-17T16:09:05.734Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T16:09:05.898Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-17T16:09:05.898Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T16:09:05.898Z] ---> fa4b6842e3c6 [2020-09-17T16:09:05.898Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T16:09:05.898Z] ---> Running in 724d209bd61d [2020-09-17T16:09:05.997Z] Removing intermediate container 98f3638249d0 [2020-09-17T16:09:05.997Z] ---> dcd6ff98d2e7 [2020-09-17T16:09:05.997Z] Step 12/25 : COPY . . [2020-09-17T16:09:06.497Z] Removing intermediate container 724d209bd61d [2020-09-17T16:09:06.497Z] ---> a56f5b0c71b2 [2020-09-17T16:09:06.497Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T16:09:06.497Z] ---> Running in 93c686b5e500 [2020-09-17T16:09:06.572Z] ---> 3ce7a6843ee3 [2020-09-17T16:09:06.572Z] Step 13/25 : RUN $MAKE [2020-09-17T16:09:06.572Z] ---> Running in 341b67c0bc67 [2020-09-17T16:09:07.094Z] Removing intermediate container 93c686b5e500 [2020-09-17T16:09:07.094Z] ---> 268adaec6d74 [2020-09-17T16:09:07.094Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T16:09:07.094Z] ---> Running in 0bc05834927a [2020-09-17T16:09:07.149Z] 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 [2020-09-17T16:09:07.689Z] Removing intermediate container 0bc05834927a [2020-09-17T16:09:07.690Z] ---> 6fa724b1ec55 [2020-09-17T16:09:07.690Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T16:09:07.690Z] ---> Running in 91965a9a9666 [2020-09-17T16:09:10.323Z] Removing intermediate container 91965a9a9666 [2020-09-17T16:09:10.323Z] ---> cbace401e6f5 [2020-09-17T16:09:10.323Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T16:09:10.323Z] ---> Running in 59d8f1154809 [2020-09-17T16:09:11.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T16:09:12.735Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T16:09:14.167Z] OK: 142 MiB in 39 packages [2020-09-17T16:09:15.144Z] Removing intermediate container 59d8f1154809 [2020-09-17T16:09:15.144Z] ---> f13fdf527c0f [2020-09-17T16:09:15.144Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T16:09:15.144Z] ---> Running in bdb87e7d4be2 [2020-09-17T16:09:15.744Z] Removing intermediate container bdb87e7d4be2 [2020-09-17T16:09:15.744Z] ---> 802d4d86663e [2020-09-17T16:09:15.744Z] Step 9/25 : COPY go.mod . [2020-09-17T16:09:16.724Z] ---> 9f30dec03cc4 [2020-09-17T16:09:16.725Z] Step 10/25 : COPY Makefile . [2020-09-17T16:09:17.284Z] Removing intermediate container 341b67c0bc67 [2020-09-17T16:09:17.284Z] ---> 6be8049eacd1 [2020-09-17T16:09:17.284Z] Step 14/25 : FROM alpine:latest [2020-09-17T16:09:17.320Z] ---> c6611a0b2fef [2020-09-17T16:09:17.320Z] Step 11/25 : RUN make update [2020-09-17T16:09:17.320Z] ---> Running in dfce3d99ddc9 [2020-09-17T16:09:17.547Z] latest: Pulling from library/alpine [2020-09-17T16:09:17.809Z] df20fa9351a1: Already exists [2020-09-17T16:09:17.809Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T16:09:17.809Z] Status: Downloaded newer image for alpine:latest [2020-09-17T16:09:17.809Z] ---> a24bb4013296 [2020-09-17T16:09:17.809Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T16:09:17.809Z] ---> Running in 692cae23e747 [2020-09-17T16:09:18.090Z] Removing intermediate container 692cae23e747 [2020-09-17T16:09:18.090Z] ---> a3559d5e9f9a [2020-09-17T16:09:18.090Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T16:09:18.090Z] ---> Running in 929f0b7030bb [2020-09-17T16:09:18.351Z] Removing intermediate container 929f0b7030bb [2020-09-17T16:09:18.352Z] ---> bf5cfe963a1c [2020-09-17T16:09:18.352Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T16:09:18.613Z] ---> ac1ab900d677 [2020-09-17T16:09:18.613Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T16:09:18.613Z] ---> a062bb1a035b [2020-09-17T16:09:18.613Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T16:09:18.754Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T16:09:19.186Z] ---> 119edfd20dbe [2020-09-17T16:09:19.186Z] Step 20/25 : EXPOSE 49986 [2020-09-17T16:09:19.453Z] ---> Running in e5aff15d799d [2020-09-17T16:09:19.453Z] Removing intermediate container e5aff15d799d [2020-09-17T16:09:19.453Z] ---> 9f19fa4178fd [2020-09-17T16:09:19.453Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T16:09:19.453Z] ---> Running in cc28da234a01 [2020-09-17T16:09:19.716Z] Removing intermediate container cc28da234a01 [2020-09-17T16:09:19.716Z] ---> f53aa3d968a1 [2020-09-17T16:09:19.716Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T16:09:19.716Z] ---> Running in 453b54896708 [2020-09-17T16:09:19.978Z] Removing intermediate container 453b54896708 [2020-09-17T16:09:19.978Z] ---> 9b4d7d8521c0 [2020-09-17T16:09:19.978Z] Step 23/25 : LABEL arch=amd64 [2020-09-17T16:09:19.978Z] ---> Running in a97da3c0007c [2020-09-17T16:09:19.978Z] Removing intermediate container a97da3c0007c [2020-09-17T16:09:19.978Z] ---> aad5a201ce01 [2020-09-17T16:09:19.978Z] Step 24/25 : LABEL git_sha=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:09:20.188Z] Removing intermediate container dfce3d99ddc9 [2020-09-17T16:09:20.188Z] ---> bfafad92de7f [2020-09-17T16:09:20.188Z] Step 12/25 : COPY . . [2020-09-17T16:09:20.241Z] ---> Running in 7bd04866590a [2020-09-17T16:09:20.241Z] Removing intermediate container 7bd04866590a [2020-09-17T16:09:20.241Z] ---> 731143dff7bc [2020-09-17T16:09:20.241Z] Step 25/25 : LABEL version=0.0.0 [2020-09-17T16:09:20.502Z] ---> Running in 7c46abab86e0 [2020-09-17T16:09:20.502Z] Removing intermediate container 7c46abab86e0 [2020-09-17T16:09:20.502Z] ---> 53d078dfe8a3 [2020-09-17T16:09:20.502Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T16:09:20.502Z] Successfully built 53d078dfe8a3 [2020-09-17T16:09:20.502Z] 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 [2020-09-17T16:09:21.168Z] ---> bd9af4a5b6e8 [2020-09-17T16:09:21.168Z] Step 13/25 : RUN $MAKE [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-09-17T16:09:21.440Z] ---> Running in 68328d506a3e [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-17T16:09:22.876Z] 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 [2020-09-17T16:09:49.690Z] Removing intermediate container 68328d506a3e [2020-09-17T16:09:49.690Z] ---> 9bbd507677bd [2020-09-17T16:09:49.690Z] Step 14/25 : FROM alpine:latest [2020-09-17T16:09:49.690Z] latest: Pulling from library/alpine [2020-09-17T16:09:49.690Z] b538f80385f9: Already exists [2020-09-17T16:09:49.690Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T16:09:49.690Z] Status: Downloaded newer image for alpine:latest [2020-09-17T16:09:49.690Z] ---> 62ee0e9f8440 [2020-09-17T16:09:49.690Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T16:09:49.690Z] ---> Running in 4fa9530c5e64 [2020-09-17T16:09:49.962Z] Removing intermediate container 4fa9530c5e64 [2020-09-17T16:09:49.962Z] ---> f9a25d2603a5 [2020-09-17T16:09:49.962Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T16:09:49.962Z] ---> Running in 5d0c0e944815 [2020-09-17T16:09:50.557Z] Removing intermediate container 5d0c0e944815 [2020-09-17T16:09:50.557Z] ---> d0ef86dedc00 [2020-09-17T16:09:50.557Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T16:09:51.152Z] ---> ff8e1088632e [2020-09-17T16:09:51.152Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T16:09:52.141Z] ---> 7814feee82ef [2020-09-17T16:09:52.141Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T16:09:53.115Z] ---> 0dde2f008a4c [2020-09-17T16:09:53.115Z] Step 20/25 : EXPOSE 49986 [2020-09-17T16:09:53.386Z] ---> Running in 0ee645f63def [2020-09-17T16:09:53.661Z] Removing intermediate container 0ee645f63def [2020-09-17T16:09:53.661Z] ---> 2e51426f4a45 [2020-09-17T16:09:53.661Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T16:09:53.943Z] ---> Running in a471ec49b0b2 [2020-09-17T16:09:54.537Z] Removing intermediate container a471ec49b0b2 [2020-09-17T16:09:54.537Z] ---> ad48b604018b [2020-09-17T16:09:54.537Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T16:09:54.537Z] ---> Running in 0af3aba8b22a [2020-09-17T16:09:55.131Z] Removing intermediate container 0af3aba8b22a [2020-09-17T16:09:55.131Z] ---> f680200b0a12 [2020-09-17T16:09:55.131Z] Step 23/25 : LABEL arch=arm64 [2020-09-17T16:09:55.131Z] ---> Running in de802959009f [2020-09-17T16:09:55.724Z] Removing intermediate container de802959009f [2020-09-17T16:09:55.725Z] ---> fd9ba5f08c56 [2020-09-17T16:09:55.725Z] Step 24/25 : LABEL git_sha=e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 [2020-09-17T16:09:55.725Z] ---> Running in 31fe2dffcdcf [2020-09-17T16:09:56.318Z] Removing intermediate container 31fe2dffcdcf [2020-09-17T16:09:56.318Z] ---> 2b4f039100c7 [2020-09-17T16:09:56.318Z] Step 25/25 : LABEL version=0.0.0 [2020-09-17T16:09:56.318Z] ---> Running in 046fb70e1e67 [2020-09-17T16:09:56.911Z] Removing intermediate container 046fb70e1e67 [2020-09-17T16:09:56.911Z] ---> 2008f17775a4 [2020-09-17T16:09:56.911Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T16:09:56.911Z] Successfully built 2008f17775a4 [2020-09-17T16:09:56.911Z] 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 [2020-09-17T16:09:58.907Z] provisioning config files... [2020-09-17T16:09:58.924Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config8585842608118119984tmp [Pipeline] { [Pipeline] sh [2020-09-17T16:09:59.306Z] + curl -s https://codecov.io/bash [2020-09-17T16:09:59.306Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config8585842608118119984tmp [Pipeline] } [2020-09-17T16:09:59.578Z] 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 [2020-09-17T16:10:02.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T16:10:03.028Z] ---> package-listing.sh [2020-09-17T16:10:03.028Z] ++ facter osfamily [2020-09-17T16:10:03.028Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T16:10:03.028Z] + OS_FAMILY=redhat [2020-09-17T16:10:03.028Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-17T16:10:03.028Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T16:10:03.028Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T16:10:03.028Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T16:10:03.028Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T16:10:03.028Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-17T16:10:03.028Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T16:10:03.028Z] + case "${OS_FAMILY}" in [2020-09-17T16:10:03.028Z] + rpm -qa [2020-09-17T16:10:03.028Z] + sort [2020-09-17T16:10:07.249Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T16:10:07.249Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T16:10:07.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T16:10:07.249Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-17T16:10:07.249Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [2020-09-17T16:10:07.249Z] + 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 [2020-09-17T16:10:07.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T16:10:07.742Z] [2020-09-17T16:10:07.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T16:10:08.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T16:10:08.090Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T16:10:08.090Z] df20fa9351a1: Pulling fs layer [2020-09-17T16:10:08.090Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T16:10:08.090Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T16:10:08.090Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T16:10:08.090Z] 0dadc02b9964: Pulling fs layer [2020-09-17T16:10:08.090Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T16:10:08.090Z] 7a184a31f384: Pulling fs layer [2020-09-17T16:10:08.090Z] 0879bd2ef858: Pulling fs layer [2020-09-17T16:10:08.090Z] 0dadc02b9964: Waiting [2020-09-17T16:10:08.090Z] ce6a7cf60c04: Waiting [2020-09-17T16:10:08.090Z] 7a184a31f384: Waiting [2020-09-17T16:10:08.090Z] 46f8f816bc3b: Waiting [2020-09-17T16:10:08.090Z] 0879bd2ef858: Waiting [2020-09-17T16:10:08.090Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T16:10:08.090Z] 36b3adc4ff6f: Download complete [2020-09-17T16:10:08.090Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T16:10:08.090Z] 46f8f816bc3b: Download complete [2020-09-17T16:10:08.352Z] df20fa9351a1: Verifying Checksum [2020-09-17T16:10:08.352Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T16:10:08.352Z] ce6a7cf60c04: Download complete [2020-09-17T16:10:08.352Z] 0dadc02b9964: Verifying Checksum [2020-09-17T16:10:08.352Z] 0dadc02b9964: Download complete [2020-09-17T16:10:08.352Z] 7a184a31f384: Verifying Checksum [2020-09-17T16:10:08.352Z] 7a184a31f384: Download complete [2020-09-17T16:10:08.616Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T16:10:08.616Z] 8ad3a11d3b57: Download complete [2020-09-17T16:10:08.616Z] df20fa9351a1: Pull complete [2020-09-17T16:10:08.616Z] 36b3adc4ff6f: Pull complete [2020-09-17T16:10:08.884Z] 0879bd2ef858: Verifying Checksum [2020-09-17T16:10:09.459Z] 8ad3a11d3b57: Pull complete [2020-09-17T16:10:09.459Z] 46f8f816bc3b: Pull complete [2020-09-17T16:10:09.721Z] 0dadc02b9964: Pull complete [2020-09-17T16:10:10.298Z] ce6a7cf60c04: Pull complete [2020-09-17T16:10:10.298Z] 7a184a31f384: Pull complete [2020-09-17T16:10:12.227Z] 0879bd2ef858: Pull complete [2020-09-17T16:10:12.227Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T16:10:12.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T16:10:12.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T16:10:12.352Z] prd-centos7-docker-4c-2g-233 does not seem to be running inside a container [2020-09-17T16:10:12.398Z] $ 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 [2020-09-17T16:10:17.350Z] $ docker top a1f5000467e994d9e0f7a3286923e16a99ff4684f4c6fafa3425cfc2cc6f94be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T16:10:17.847Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T16:10:18.144Z] + ls /var/log/sa-host [2020-09-17T16:10:18.144Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T16:10:18.144Z] file_magic: OK [2020-09-17T16:10:18.144Z] HZ: Using current value: 100 [2020-09-17T16:10:18.144Z] file_header: OK [2020-09-17T16:10:18.144Z] 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 [2020-09-17T16:10:18.144Z] Statistics: [2020-09-17T16:10:18.144Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T16:10:18.144Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T16:10:18.144Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T16:10:18.144Z] file_magic: OK [2020-09-17T16:10:18.144Z] HZ: Using current value: 100 [2020-09-17T16:10:18.144Z] file_header: OK [2020-09-17T16:10:18.144Z] 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 [2020-09-17T16:10:18.144Z] Statistics: [2020-09-17T16:10:18.144Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T16:10:18.144Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T16:10:18.209Z] provisioning config files... [2020-09-17T16:10:18.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1508080339595900604tmp [Pipeline] { [Pipeline] echo [2020-09-17T16:10:18.316Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T16:10:18.615Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T16:10:18.626Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T16:10:18.919Z] ---> logs-deploy.sh [2020-09-17T16:10:18.920Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/2 [2020-09-17T16:10:18.920Z] INFO: archiving workspace using pattern(s): [2020-09-17T16:10:20.311Z] Archives upload complete. [2020-09-17T16:10:20.312Z] INFO: archiving logs to Nexus