Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9+2566be076a2097d201854259318eb76047854271 (75629c6a9ab0acb241da4849a760f4120151d9ed) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Running on prd-centos7-docker-4c-2g-987 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-35 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 Merge succeeded, producing 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 Checking out Revision 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 (PR-35) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 # timeout=10 Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-01T03:06:18.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-01T03:06:18.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T03:06:18.921Z] ========================================================= [2020-09-01T03:06:18.921Z] EdgeX Global Pipelines Version Info [2020-09-01T03:06:18.921Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T03:06:20.296Z] ------------------- [2020-09-01T03:06:20.297Z] stable info: [2020-09-01T03:06:20.297Z] ------------------- [2020-09-01T03:06:20.297Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T03:06:20.297Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T03:06:20.297Z] Message: update stable to v1.0.115 [2020-09-01T03:06:21.238Z] ------------------- [2020-09-01T03:06:21.238Z] experimental info: [2020-09-01T03:06:21.238Z] ------------------- [2020-09-01T03:06:21.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T03:06:21.238Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T03:06:21.238Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T03:06:21.554Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-01T03:06:21.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-01T03:06:21.708Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T03:06:21.782Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T03:06:21.855Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T03:06:21.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T03:06:22.025Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T03:06:22.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T03:06:22.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-01T03:06:22.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T03:06:22.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T03:06:22.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-01T03:06:22.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T03:06:22.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T03:06:22.672Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T03:06:22.744Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T03:06:22.819Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T03:06:22.895Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T03:06:22.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T03:06:23.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-01T03:06:23.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T03:06:23.216Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T03:06:23.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo [2020-09-01T03:06:23.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo [2020-09-01T03:06:23.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo [2020-09-01T03:06:23.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [Pipeline] echo [2020-09-01T03:06:23.610Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2df9a29 [Pipeline] echo [2020-09-01T03:06:23.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T03:06:24.240Z] + git log --format=format:%s -1 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [Pipeline] echo [2020-09-01T03:06:24.295Z] GIT_COMMIT: 2df9a29c9f5efd18ebbfa751b82f31279bd1ad04, Commit Message: Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD [Pipeline] echo [2020-09-01T03:06:24.337Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:06:24.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T03:06:24.950Z] [2020-09-01T03:06:24.950Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:06:25.293Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T03:06:25.293Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T03:06:25.293Z] 31603596830f: Pulling fs layer [2020-09-01T03:06:25.293Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T03:06:25.293Z] 6ca5941a6612: Pulling fs layer [2020-09-01T03:06:25.293Z] ecc8261a40a4: Pulling fs layer [2020-09-01T03:06:25.293Z] ecc8261a40a4: Waiting [2020-09-01T03:06:25.294Z] 2a8b12db71e7: Verifying Checksum [2020-09-01T03:06:25.294Z] 2a8b12db71e7: Download complete [2020-09-01T03:06:25.294Z] 31603596830f: Verifying Checksum [2020-09-01T03:06:25.294Z] 31603596830f: Download complete [2020-09-01T03:06:25.557Z] 6ca5941a6612: Verifying Checksum [2020-09-01T03:06:25.557Z] 6ca5941a6612: Download complete [2020-09-01T03:06:25.557Z] ecc8261a40a4: Verifying Checksum [2020-09-01T03:06:25.557Z] ecc8261a40a4: Download complete [2020-09-01T03:06:25.821Z] 31603596830f: Pull complete [2020-09-01T03:06:25.821Z] 2a8b12db71e7: Pull complete [2020-09-01T03:06:26.398Z] 6ca5941a6612: Pull complete [2020-09-01T03:06:26.658Z] ecc8261a40a4: Pull complete [2020-09-01T03:06:26.659Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T03:06:26.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T03:06:26.659Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T03:06:26.749Z] prd-centos7-docker-4c-2g-987 does not seem to be running inside a container [2020-09-01T03:06:26.801Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-01T03:06:28.656Z] $ docker top bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T03:06:28.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T03:06:28.903Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T03:06:29.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T03:06:29.105Z] $ docker exec bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent [2020-09-01T03:06:29.255Z] SSH_AUTH_SOCK=/tmp/ssh-jlZr0yBm1ptJ/agent.12 [2020-09-01T03:06:29.255Z] SSH_AGENT_PID=17 [2020-09-01T03:06:29.265Z] Running ssh-add (command line suppressed) [2020-09-01T03:06:29.374Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_8285334907521224412.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_8285334907521224412.key) [2020-09-01T03:06:29.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T03:06:29.740Z] + git describe --exact-match --tags HEAD [2020-09-01T03:06:29.740Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T03:06:29.763Z] $ docker exec --env ******** --env ******** bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent -k [2020-09-01T03:06:29.871Z] unset SSH_AUTH_SOCK; [2020-09-01T03:06:29.872Z] unset SSH_AGENT_PID; [2020-09-01T03:06:29.872Z] echo Agent pid 17 killed; [2020-09-01T03:06:29.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T03:06:29.988Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T03:06:29.988Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T03:06:30.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T03:06:30.095Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T03:06:30.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T03:06:30.257Z] $ docker exec bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent [2020-09-01T03:06:30.408Z] SSH_AUTH_SOCK=/tmp/ssh-LZc9T68g8TD9/agent.47 [2020-09-01T03:06:30.408Z] SSH_AGENT_PID=52 [2020-09-01T03:06:30.419Z] Running ssh-add (command line suppressed) [2020-09-01T03:06:30.528Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2386934675505920683.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2386934675505920683.key) [2020-09-01T03:06:30.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T03:06:30.902Z] + git semver init [2020-09-01T03:06:30.902Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T03:06:30.902Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.git [2020-09-01T03:06:30.902Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-09-01T03:06:30.902Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T03:06:30.902Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T03:06:30.902Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T03:06:30.902Z] # $SEMVER_BRANCH = PR-35 [2020-09-01T03:06:30.902Z] # $SEMVER_TEMP = /tmp/semver-066889221 [2020-09-01T03:06:30.902Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-01T03:06:32.283Z] # '/tmp/semver-066889221' -> '/w/workspace/dgexfoundry_device-rest-go_PR-35/.semver' [2020-09-01T03:06:32.283Z] # -> Force: false [2020-09-01T03:06:32.283Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.semver [Pipeline] } [2020-09-01T03:06:32.295Z] $ docker exec --env ******** --env ******** bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c ssh-agent -k [2020-09-01T03:06:32.401Z] unset SSH_AUTH_SOCK; [2020-09-01T03:06:32.402Z] unset SSH_AGENT_PID; [2020-09-01T03:06:32.402Z] echo Agent pid 52 killed; [2020-09-01T03:06:32.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T03:06:32.872Z] + git semver [Pipeline] } [2020-09-01T03:06:32.887Z] $ docker stop --time=1 bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c [2020-09-01T03:06:34.263Z] $ docker rm -f bb4f0a28bc82f31d958a5638d969b6528f71f4cf9cc1a822a71d7d11d9e58e1c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T03:06:35.474Z] Stashed 20 file(s) [Pipeline] echo [2020-09-01T03:06:35.476Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T03:06:35.553Z] 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-01T03:06:50.909Z] Still waiting to schedule task [2020-09-01T03:06:50.909Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T03:06:50.911Z] Still waiting to schedule task [2020-09-01T03:06:50.911Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-01T03:08:40.597Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-997 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws [2020-09-01T03:08:40.685Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-09-01T03:08:46.110Z] using credential edgex-jenkins-ssh [2020-09-01T03:08:46.180Z] Cloning the remote Git repository [2020-09-01T03:08:46.181Z] Cloning with configured refspecs honoured and without tags [2020-09-01T03:08:46.259Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:08:46.368Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-09-01T03:08:46.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:08:46.449Z] > git --version # timeout=10 [2020-09-01T03:08:46.465Z] > git --version # 'git version 2.17.1' [2020-09-01T03:08:46.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:08:46.573Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:08:48.180Z] Fetching without tags [2020-09-01T03:08:48.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-01T03:08:48.113Z] > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 [2020-09-01T03:08:48.137Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:08:48.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-01T03:08:48.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:08:48.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:08:48.216Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:08:48.682Z] Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-09-01T03:08:48.910Z] Merge succeeded, producing d7c99bb6259628d3f4f2fc88730c096c0ed0a459 [2020-09-01T03:08:48.910Z] Checking out Revision d7c99bb6259628d3f4f2fc88730c096c0ed0a459 (PR-35) [2020-09-01T03:08:48.725Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T03:08:48.743Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-09-01T03:08:48.828Z] > git remote # timeout=10 [2020-09-01T03:08:48.845Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T03:08:48.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:08:48.865Z] > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 [2020-09-01T03:08:48.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T03:08:48.926Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T03:08:48.940Z] > git checkout -f d7c99bb6259628d3f4f2fc88730c096c0ed0a459 # timeout=10 [2020-09-01T03:08:53.352Z] Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" [2020-09-01T03:08:53.367Z] > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T03:08:55.701Z] ========================================================= [2020-09-01T03:08:55.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T03:08:55.701Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:08:56.691Z] + 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-01T03:08:57.691Z] Sending build context to Docker daemon 8.044MB [2020-09-01T03:08:57.691Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-01T03:08:57.691Z] Step 2/10 : FROM ${BASE} [2020-09-01T03:08:57.971Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T03:08:57.971Z] b538f80385f9: Pulling fs layer [2020-09-01T03:08:57.971Z] 74f711af9a0d: Pulling fs layer [2020-09-01T03:08:57.971Z] 99f96fe45779: Pulling fs layer [2020-09-01T03:08:57.971Z] fd7a069fd194: Pulling fs layer [2020-09-01T03:08:57.971Z] 66aa3694b03b: Pulling fs layer [2020-09-01T03:08:57.971Z] 170f70906a0f: Pulling fs layer [2020-09-01T03:08:57.971Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T03:08:57.971Z] e772456be8f7: Pulling fs layer [2020-09-01T03:08:57.971Z] c890913d741a: Pulling fs layer [2020-09-01T03:08:57.971Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T03:08:57.971Z] 09adf4765672: Pulling fs layer [2020-09-01T03:08:57.971Z] fd7a069fd194: Waiting [2020-09-01T03:08:57.971Z] 66aa3694b03b: Waiting [2020-09-01T03:08:57.971Z] 170f70906a0f: Waiting [2020-09-01T03:08:57.971Z] ad7c5574e4b9: Waiting [2020-09-01T03:08:57.971Z] e772456be8f7: Waiting [2020-09-01T03:08:57.971Z] c890913d741a: Waiting [2020-09-01T03:08:57.971Z] 2480fcc9aa5a: Waiting [2020-09-01T03:08:57.971Z] 99f96fe45779: Download complete [2020-09-01T03:08:57.971Z] 74f711af9a0d: Download complete [2020-09-01T03:08:57.971Z] 66aa3694b03b: Verifying Checksum [2020-09-01T03:08:57.971Z] 66aa3694b03b: Download complete [2020-09-01T03:08:57.971Z] 170f70906a0f: Download complete [2020-09-01T03:08:57.971Z] b538f80385f9: Download complete [2020-09-01T03:08:58.971Z] b538f80385f9: Pull complete [2020-09-01T03:08:59.248Z] 74f711af9a0d: Pull complete [2020-09-01T03:08:59.845Z] 99f96fe45779: Pull complete [2020-09-01T03:09:00.826Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T03:09:00.826Z] ad7c5574e4b9: Download complete [2020-09-01T03:09:00.826Z] c890913d741a: Verifying Checksum [2020-09-01T03:09:00.826Z] c890913d741a: Download complete [2020-09-01T03:09:02.819Z] 2480fcc9aa5a: Verifying Checksum [2020-09-01T03:09:02.819Z] 2480fcc9aa5a: Download complete [2020-09-01T03:09:02.819Z] 09adf4765672: Download complete [2020-09-01T03:09:02.819Z] e772456be8f7: Verifying Checksum [2020-09-01T03:09:02.819Z] e772456be8f7: Download complete [2020-09-01T03:09:03.796Z] fd7a069fd194: Verifying Checksum [2020-09-01T03:09:03.796Z] fd7a069fd194: Download complete [2020-09-01T03:09:16.242Z] fd7a069fd194: Pull complete [2020-09-01T03:09:16.242Z] 66aa3694b03b: Pull complete [2020-09-01T03:09:16.242Z] 170f70906a0f: Pull complete [2020-09-01T03:09:19.642Z] ad7c5574e4b9: Pull complete [2020-09-01T03:09:23.970Z] e772456be8f7: Pull complete [2020-09-01T03:09:24.568Z] c890913d741a: Pull complete [2020-09-01T03:09:26.548Z] 2480fcc9aa5a: Pull complete [2020-09-01T03:09:27.153Z] 09adf4765672: Pull complete [2020-09-01T03:09:27.153Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T03:09:27.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T03:09:27.154Z] ---> 2248a725d1cf [2020-09-01T03:09:27.154Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-01T03:09:31.448Z] ---> Running in 88abea27f781 [2020-09-01T03:09:31.722Z] Removing intermediate container 88abea27f781 [2020-09-01T03:09:31.722Z] ---> 8c351935f786 [2020-09-01T03:09:31.722Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-01T03:09:31.722Z] ---> Running in 59ef3df1151e [2020-09-01T03:09:32.317Z] Removing intermediate container 59ef3df1151e [2020-09-01T03:09:32.317Z] ---> d725644a05aa [2020-09-01T03:09:32.318Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-01T03:09:32.318Z] ---> Running in d7958254cc91 [2020-09-01T03:09:32.911Z] Removing intermediate container d7958254cc91 [2020-09-01T03:09:32.911Z] ---> f2b8ea4cd762 [2020-09-01T03:09:32.911Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T03:09:32.911Z] ---> Running in a8478a376d9e [2020-09-01T03:09:35.542Z] Removing intermediate container a8478a376d9e [2020-09-01T03:09:35.542Z] ---> b6eb84bbdcbd [2020-09-01T03:09:35.542Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-01T03:09:35.542Z] ---> Running in d402f2219f4b [2020-09-01T03:09:37.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T03:09:38.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T03:09:39.417Z] OK: 142 MiB in 39 packages [2020-09-01T03:09:40.845Z] Removing intermediate container d402f2219f4b [2020-09-01T03:09:40.845Z] ---> ba53e78011ad [2020-09-01T03:09:40.845Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-01T03:09:40.845Z] ---> Running in 1328ee31c3dc [2020-09-01T03:09:41.126Z] Removing intermediate container 1328ee31c3dc [2020-09-01T03:09:41.126Z] ---> 52b7a30617e1 [2020-09-01T03:09:41.126Z] Step 9/10 : COPY . . [2020-09-01T03:09:42.562Z] ---> a72875f6549e [2020-09-01T03:09:42.562Z] Step 10/10 : RUN go mod download [2020-09-01T03:09:42.562Z] ---> Running in f0f6c838e320 [2020-09-01T03:09:45.944Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T03:09:45.944Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T03:09:45.944Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T03:09:45.944Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T03:09:45.944Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T03:09:45.944Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T03:09:46.215Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T03:09:46.215Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T03:09:46.215Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T03:09:46.215Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T03:09:46.215Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T03:09:46.215Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T03:09:46.487Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T03:09:46.487Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T03:09:46.487Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T03:09:46.487Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T03:09:46.487Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T03:09:46.487Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T03:09:46.758Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T03:09:46.758Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T03:09:46.758Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T03:09:46.758Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T03:09:46.758Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T03:09:46.758Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T03:09:46.758Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T03:09:47.028Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T03:09:47.301Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T03:09:47.573Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T03:09:47.573Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T03:09:47.573Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T03:09:47.573Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T03:09:47.573Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T03:09:47.573Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T03:09:47.573Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T03:09:47.844Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T03:09:47.844Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T03:09:48.117Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T03:09:48.117Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T03:09:48.117Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T03:09:48.117Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T03:09:48.117Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T03:09:48.117Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T03:09:48.117Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-01T03:09:48.394Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T03:09:48.394Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T03:09:48.394Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T03:09:48.394Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T03:09:48.394Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T03:09:48.394Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T03:09:48.666Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T03:09:48.666Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T03:09:48.666Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T03:09:48.666Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T03:09:58.843Z] Removing intermediate container f0f6c838e320 [2020-09-01T03:09:58.843Z] ---> c6ece0b2d74f [2020-09-01T03:09:58.843Z] Successfully built c6ece0b2d74f [2020-09-01T03:09:58.843Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:09:59.597Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T03:09:59.597Z] . [Pipeline] withDockerContainer [2020-09-01T03:09:59.840Z] prd-ubuntu18.04-docker-arm64-4c-16g-997 does not seem to be running inside a container [2020-09-01T03:09:59.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-01T03:10:01.804Z] $ docker top 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T03:10:03.209Z] + go version [2020-09-01T03:10:03.209Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T03:10:04.256Z] + make test [2020-09-01T03:10:04.256Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T03:10:05.243Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-01T03:10:37.621Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-01T03:10:37.621Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-09-01T03:10:37.621Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T03:10:40.268Z] gofmt -l . [2020-09-01T03:10:40.268Z] [ "`gofmt -l .`" = "" ] [2020-09-01T03:10:40.268Z] ./bin/test-go-mod-tidy.sh [2020-09-01T03:10:40.541Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-01T03:10:41.901Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T03:10:41.913Z] $ docker stop --time=1 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 [2020-09-01T03:10:44.148Z] $ docker rm -f 035c29ef06a6b24f2babaf53e9928fda88105e69563a94c5032d7eccc069e551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T03:10:47.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T03:10:47.384Z] + ls -al . [2020-09-01T03:10:47.384Z] total 128 [2020-09-01T03:10:47.384Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 03:10 . [2020-09-01T03:10:47.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:08 .. [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 1 03:08 .dockerignore [2020-09-01T03:10:47.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 03:08 .git [2020-09-01T03:10:47.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:08 .github [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 1 03:08 .gitignore [2020-09-01T03:10:47.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:08 .semver [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 1 03:08 Attribution.txt [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 1 03:08 Dockerfile [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 1 03:08 Dockerfile.build [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 03:08 Jenkinsfile [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 03:08 LICENSE [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 1 03:08 Makefile [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 1 03:08 README.md [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 03:06 VERSION [2020-09-01T03:10:47.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:08 bin [2020-09-01T03:10:47.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 03:08 cmd [2020-09-01T03:10:47.384Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 1 03:10 coverage.out [2020-09-01T03:10:47.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 03:10 driver [2020-09-01T03:10:47.384Z] -rw-r--r-- 1 jenkins jenkins 266 Sep 1 03:10 go.mod [2020-09-01T03:10:47.384Z] -rw-r--r-- 1 jenkins jenkins 12533 Sep 1 03:10 go.sum [2020-09-01T03:10:47.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 03:08 snap [2020-09-01T03:10:47.384Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 1 03:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:10:47.719Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 --label arch=arm64 --label version=0.0.0 . [2020-09-01T03:10:47.994Z] Sending build context to Docker daemon 8.056MB [2020-09-01T03:10:48.267Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-01T03:10:48.267Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-01T03:10:48.267Z] ---> c6ece0b2d74f [2020-09-01T03:10:48.267Z] Step 3/25 : ARG MAKE='make build' [2020-09-01T03:10:48.539Z] ---> Running in 7772ff0d34f7 [2020-09-01T03:10:49.133Z] Removing intermediate container 7772ff0d34f7 [2020-09-01T03:10:49.133Z] ---> b88ed7525a41 [2020-09-01T03:10:49.133Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-01T03:10:49.133Z] ---> Running in 9bb783b0c39b [2020-09-01T03:10:49.725Z] Removing intermediate container 9bb783b0c39b [2020-09-01T03:10:49.726Z] ---> 6403530bb0f2 [2020-09-01T03:10:49.726Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-01T03:10:49.998Z] ---> Running in 81b6b877012b [2020-09-01T03:10:50.596Z] Removing intermediate container 81b6b877012b [2020-09-01T03:10:50.596Z] ---> cf52d73beb12 [2020-09-01T03:10:50.596Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T03:10:50.596Z] ---> Running in d5a66b0f8f6d [2020-09-01T03:10:53.214Z] Removing intermediate container d5a66b0f8f6d [2020-09-01T03:10:53.214Z] ---> 6ad37cd05300 [2020-09-01T03:10:53.214Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-01T03:10:53.495Z] ---> Running in f44e9a52d491 [2020-09-01T03:10:54.926Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T03:10:55.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T03:10:56.491Z] OK: 142 MiB in 39 packages [2020-09-01T03:10:57.925Z] Removing intermediate container f44e9a52d491 [2020-09-01T03:10:57.925Z] ---> 86e0d022b99d [2020-09-01T03:10:57.925Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-01T03:10:57.925Z] ---> Running in 64c13e48c907 [2020-09-01T03:10:58.900Z] Removing intermediate container 64c13e48c907 [2020-09-01T03:10:58.901Z] ---> 29bf9b9eaa9d [2020-09-01T03:10:58.901Z] Step 9/25 : COPY go.mod . [2020-09-01T03:10:59.496Z] ---> 21075838c6a7 [2020-09-01T03:10:59.496Z] Step 10/25 : COPY Makefile . [2020-09-01T03:11:00.092Z] ---> f4b1ea29a7f7 [2020-09-01T03:11:00.092Z] Step 11/25 : RUN make update [2020-09-01T03:11:00.367Z] ---> Running in b584cbafb563 [2020-09-01T03:11:01.805Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-01T03:11:03.236Z] Removing intermediate container b584cbafb563 [2020-09-01T03:11:03.236Z] ---> d6b7e70705a0 [2020-09-01T03:11:03.236Z] Step 12/25 : COPY . . [2020-09-01T03:11:04.213Z] ---> 444297d89116 [2020-09-01T03:11:04.213Z] Step 13/25 : RUN $MAKE [2020-09-01T03:11:04.805Z] ---> Running in 0501d631dc72 [2020-09-01T03:11:06.239Z] 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-01T03:11:15.768Z] Running on prd-centos7-docker-4c-2g-998 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws [2020-09-01T03:11:15.815Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-09-01T03:11:18.162Z] using credential edgex-jenkins-ssh [2020-09-01T03:11:18.230Z] Cloning the remote Git repository [2020-09-01T03:11:18.230Z] Cloning with configured refspecs honoured and without tags [2020-09-01T03:11:18.260Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:11:19.261Z] Fetching without tags [2020-09-01T03:11:18.325Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-09-01T03:11:18.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:11:18.370Z] > git --version # timeout=10 [2020-09-01T03:11:18.378Z] > git --version # 'git version 2.16.5' [2020-09-01T03:11:18.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:11:18.400Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:11:19.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-01T03:11:19.239Z] > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 [2020-09-01T03:11:19.248Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:11:19.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-01T03:11:19.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-01T03:11:19.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:11:19.273Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T03:11:19.641Z] Merging remotes/origin/master commit 2566be076a2097d201854259318eb76047854271 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-09-01T03:11:19.725Z] Merge succeeded, producing 1828b49f214c8702c148eb99a818d0834366717a [2020-09-01T03:11:19.725Z] Checking out Revision 1828b49f214c8702c148eb99a818d0834366717a (PR-35) [2020-09-01T03:11:19.652Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T03:11:19.657Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-09-01T03:11:19.685Z] > git remote # timeout=10 [2020-09-01T03:11:19.694Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T03:11:19.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T03:11:19.702Z] > git merge 2566be076a2097d201854259318eb76047854271 # timeout=10 [2020-09-01T03:11:19.722Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T03:11:19.731Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T03:11:19.739Z] > git checkout -f 1828b49f214c8702c148eb99a818d0834366717a # timeout=10 [2020-09-01T03:11:23.283Z] Commit message: "Merge commit '2566be076a2097d201854259318eb76047854271' into HEAD" [2020-09-01T03:11:23.290Z] > git rev-list --no-walk 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T03:11:24.433Z] ========================================================= [2020-09-01T03:11:24.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T03:11:24.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:11:25.097Z] + 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-01T03:11:25.359Z] Sending build context to Docker daemon 8.044MB [2020-09-01T03:11:25.359Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-01T03:11:25.359Z] Step 2/10 : FROM ${BASE} [2020-09-01T03:11:25.622Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T03:11:25.622Z] df20fa9351a1: Pulling fs layer [2020-09-01T03:11:25.622Z] ed8968b2872e: Pulling fs layer [2020-09-01T03:11:25.622Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T03:11:25.622Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T03:11:25.622Z] 1e091d79d1de: Pulling fs layer [2020-09-01T03:11:25.622Z] 481702a1767f: Pulling fs layer [2020-09-01T03:11:25.622Z] f64a6f60c768: Pulling fs layer [2020-09-01T03:11:25.622Z] e78d2573fc39: Pulling fs layer [2020-09-01T03:11:25.622Z] e876d2f968b6: Pulling fs layer [2020-09-01T03:11:25.622Z] ce8a83651883: Pulling fs layer [2020-09-01T03:11:25.622Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T03:11:25.622Z] 2dd03ba5bac4: Waiting [2020-09-01T03:11:25.622Z] 1e091d79d1de: Waiting [2020-09-01T03:11:25.622Z] e78d2573fc39: Waiting [2020-09-01T03:11:25.622Z] 481702a1767f: Waiting [2020-09-01T03:11:25.622Z] f64a6f60c768: Waiting [2020-09-01T03:11:25.623Z] 07967f4d0e4b: Waiting [2020-09-01T03:11:25.623Z] ce8a83651883: Waiting [2020-09-01T03:11:25.623Z] e876d2f968b6: Waiting [2020-09-01T03:11:25.623Z] a92cc7c5fd73: Verifying Checksum [2020-09-01T03:11:25.623Z] a92cc7c5fd73: Download complete [2020-09-01T03:11:25.623Z] ed8968b2872e: Download complete [2020-09-01T03:11:25.623Z] 1e091d79d1de: Verifying Checksum [2020-09-01T03:11:25.623Z] 1e091d79d1de: Download complete [2020-09-01T03:11:25.623Z] 481702a1767f: Verifying Checksum [2020-09-01T03:11:25.623Z] 481702a1767f: Download complete [2020-09-01T03:11:25.623Z] df20fa9351a1: Verifying Checksum [2020-09-01T03:11:25.623Z] df20fa9351a1: Download complete [2020-09-01T03:11:26.209Z] df20fa9351a1: Pull complete [2020-09-01T03:11:26.484Z] f64a6f60c768: Verifying Checksum [2020-09-01T03:11:26.484Z] f64a6f60c768: Download complete [2020-09-01T03:11:26.750Z] e876d2f968b6: Verifying Checksum [2020-09-01T03:11:26.750Z] e876d2f968b6: Download complete [2020-09-01T03:11:27.346Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T03:11:27.346Z] 2dd03ba5bac4: Download complete [2020-09-01T03:11:27.346Z] ed8968b2872e: Pull complete [2020-09-01T03:11:27.346Z] ce8a83651883: Verifying Checksum [2020-09-01T03:11:27.346Z] ce8a83651883: Download complete [2020-09-01T03:11:27.346Z] e78d2573fc39: Verifying Checksum [2020-09-01T03:11:27.346Z] e78d2573fc39: Download complete [2020-09-01T03:11:27.346Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T03:11:27.346Z] 07967f4d0e4b: Download complete [2020-09-01T03:11:27.346Z] a92cc7c5fd73: Pull complete [2020-09-01T03:11:33.044Z] Removing intermediate container 0501d631dc72 [2020-09-01T03:11:33.044Z] ---> 1be637ca2e12 [2020-09-01T03:11:33.044Z] Step 14/25 : FROM alpine:latest [2020-09-01T03:11:33.044Z] latest: Pulling from library/alpine [2020-09-01T03:11:33.044Z] b538f80385f9: Already exists [2020-09-01T03:11:33.044Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-01T03:11:33.044Z] Status: Downloaded newer image for alpine:latest [2020-09-01T03:11:33.044Z] ---> 62ee0e9f8440 [2020-09-01T03:11:33.044Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-01T03:11:33.323Z] ---> Running in 18e76454164e [2020-09-01T03:11:33.926Z] Removing intermediate container 18e76454164e [2020-09-01T03:11:33.926Z] ---> 1d4f84f7c98a [2020-09-01T03:11:33.926Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-01T03:11:33.989Z] 2dd03ba5bac4: Pull complete [2020-09-01T03:11:33.989Z] 1e091d79d1de: Pull complete [2020-09-01T03:11:33.989Z] 481702a1767f: Pull complete [2020-09-01T03:11:34.198Z] ---> Running in bd1675efd330 [2020-09-01T03:11:34.792Z] Removing intermediate container bd1675efd330 [2020-09-01T03:11:34.792Z] ---> acfac8bc04ca [2020-09-01T03:11:34.792Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-01T03:11:35.382Z] ---> 1620e9b0c499 [2020-09-01T03:11:35.382Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-01T03:11:36.355Z] ---> f21a71754214 [2020-09-01T03:11:36.355Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-01T03:11:37.787Z] ---> 17e9b7fe1c68 [2020-09-01T03:11:37.787Z] Step 20/25 : EXPOSE 49986 [2020-09-01T03:11:38.059Z] ---> Running in 63dc25f60bb5 [2020-09-01T03:11:38.235Z] f64a6f60c768: Pull complete [2020-09-01T03:11:38.653Z] Removing intermediate container 63dc25f60bb5 [2020-09-01T03:11:38.653Z] ---> 437274062311 [2020-09-01T03:11:38.653Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-01T03:11:38.929Z] ---> Running in cca3f3e7e217 [2020-09-01T03:11:39.520Z] Removing intermediate container cca3f3e7e217 [2020-09-01T03:11:39.520Z] ---> 9de5d413a6f7 [2020-09-01T03:11:39.520Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-01T03:11:39.792Z] ---> Running in b8a373ab398d [2020-09-01T03:11:40.062Z] Removing intermediate container b8a373ab398d [2020-09-01T03:11:40.062Z] ---> 52bcbdbe82c4 [2020-09-01T03:11:40.062Z] Step 23/25 : LABEL arch=arm64 [2020-09-01T03:11:40.339Z] ---> Running in 8def38e21981 [2020-09-01T03:11:40.943Z] Removing intermediate container 8def38e21981 [2020-09-01T03:11:40.943Z] ---> e40aac179da9 [2020-09-01T03:11:40.943Z] Step 24/25 : LABEL git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [2020-09-01T03:11:41.219Z] ---> Running in 957627683f11 [2020-09-01T03:11:41.578Z] e78d2573fc39: Pull complete [2020-09-01T03:11:41.578Z] e876d2f968b6: Pull complete [2020-09-01T03:11:41.816Z] Removing intermediate container 957627683f11 [2020-09-01T03:11:41.816Z] ---> eb502b2a1802 [2020-09-01T03:11:41.816Z] Step 25/25 : LABEL version=0.0.0 [2020-09-01T03:11:42.090Z] ---> Running in ab3149fbcad6 [2020-09-01T03:11:42.548Z] ce8a83651883: Pull complete [2020-09-01T03:11:42.548Z] 07967f4d0e4b: Pull complete [2020-09-01T03:11:42.548Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T03:11:42.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T03:11:42.548Z] ---> 5d7c900382c6 [2020-09-01T03:11:42.548Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-01T03:11:42.686Z] Removing intermediate container ab3149fbcad6 [2020-09-01T03:11:42.686Z] ---> 5b0819a4d759 [2020-09-01T03:11:42.686Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T03:11:42.686Z] Successfully built 5b0819a4d759 [2020-09-01T03:11:42.686Z] 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] } [2020-09-01T03:11:43.946Z] ---> Running in 3468e4baa43d [2020-09-01T03:11:43.946Z] Removing intermediate container 3468e4baa43d [2020-09-01T03:11:43.946Z] ---> 99070506969b [2020-09-01T03:11:43.946Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-01T03:11:43.946Z] ---> Running in 40970c57fc73 [2020-09-01T03:11:44.208Z] Removing intermediate container 40970c57fc73 [2020-09-01T03:11:44.208Z] ---> 70a65c0be724 [2020-09-01T03:11:44.208Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-01T03:11:44.208Z] ---> Running in e78c70771717 [2020-09-01T03:11:44.470Z] Removing intermediate container e78c70771717 [2020-09-01T03:11:44.470Z] ---> eea4ace45791 [2020-09-01T03:11:44.470Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T03:11:44.470Z] ---> Running in 747a7c636733 [2020-09-01T03:11:46.399Z] Removing intermediate container 747a7c636733 [2020-09-01T03:11:46.399Z] ---> cfa3dc80393a [2020-09-01T03:11:46.399Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-01T03:11:46.399Z] ---> Running in 71f12ed11bd3 [2020-09-01T03:11:46.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T03:11:47.550Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T03:11:48.124Z] OK: 166 MiB in 39 packages [2020-09-01T03:11:48.699Z] Removing intermediate container 71f12ed11bd3 [2020-09-01T03:11:48.699Z] ---> 04f6e473f6db [2020-09-01T03:11:48.699Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-01T03:11:48.699Z] ---> Running in 947e2955b2fa [2020-09-01T03:11:48.699Z] Removing intermediate container 947e2955b2fa [2020-09-01T03:11:48.699Z] ---> e220f896cc1c [2020-09-01T03:11:48.699Z] Step 9/10 : COPY . . [2020-09-01T03:11:49.272Z] ---> 48a34a16845d [2020-09-01T03:11:49.272Z] Step 10/10 : RUN go mod download [2020-09-01T03:11:49.272Z] ---> Running in ce347a9d17d1 [2020-09-01T03:11:51.828Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T03:11:51.828Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T03:11:51.828Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T03:11:51.828Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T03:11:51.828Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T03:11:51.828Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T03:11:52.089Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T03:11:52.089Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T03:11:52.089Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T03:11:52.089Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T03:11:52.089Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T03:11:52.089Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T03:11:52.089Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T03:11:52.350Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T03:11:52.350Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T03:11:52.350Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T03:11:52.350Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T03:11:52.350Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T03:11:52.350Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T03:11:52.350Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T03:11:52.616Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T03:11:52.616Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T03:11:52.616Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T03:11:52.616Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T03:11:52.616Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T03:11:52.616Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T03:11:52.616Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T03:11:52.878Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T03:11:53.140Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T03:11:53.140Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T03:11:53.140Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T03:11:53.140Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T03:11:53.140Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T03:11:53.140Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T03:11:53.140Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T03:11:53.401Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T03:11:53.401Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T03:11:53.401Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T03:11:53.401Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T03:11:53.401Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T03:11:53.401Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T03:11:53.401Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T03:11:53.661Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T03:11:53.661Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T03:11:53.661Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T03:11:53.661Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T03:11:53.661Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T03:11:53.661Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T03:11:53.922Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T03:11:53.922Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T03:11:53.922Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T03:11:53.922Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T03:11:53.922Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T03:11:53.922Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-01T03:11:53.922Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T03:11:54.183Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T03:11:54.183Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T03:11:54.183Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T03:11:54.183Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T03:11:54.183Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T03:11:54.183Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T03:11:54.183Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T03:11:54.446Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T03:11:54.447Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T03:12:02.613Z] Removing intermediate container ce347a9d17d1 [2020-09-01T03:12:02.613Z] ---> 9b9c8a47baf6 [2020-09-01T03:12:02.613Z] Successfully built 9b9c8a47baf6 [2020-09-01T03:12:02.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:12:03.288Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T03:12:03.288Z] . [Pipeline] withDockerContainer [2020-09-01T03:12:03.394Z] prd-centos7-docker-4c-2g-998 does not seem to be running inside a container [2020-09-01T03:12:03.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-01T03:12:04.459Z] $ docker top af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T03:12:04.965Z] + go version [2020-09-01T03:12:04.966Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T03:12:05.268Z] + make test [2020-09-01T03:12:05.268Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T03:12:06.234Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-01T03:12:16.356Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-01T03:12:16.356Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements [2020-09-01T03:12:16.356Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T03:12:17.754Z] gofmt -l . [2020-09-01T03:12:17.754Z] [ "`gofmt -l .`" = "" ] [2020-09-01T03:12:17.754Z] ./bin/test-go-mod-tidy.sh [2020-09-01T03:12:18.327Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-01T03:12:18.600Z] Warning: overwriting stash ‘coverage-report’ [2020-09-01T03:12:18.886Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T03:12:18.896Z] $ docker stop --time=1 af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d [2020-09-01T03:12:21.119Z] $ docker rm -f af0f9f0127cc365b68ec8a9591674d88b2412610e931be8a091e1d5a9e88e43d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T03:12:21.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T03:12:22.246Z] + ls -al . [2020-09-01T03:12:22.246Z] total 96 [2020-09-01T03:12:22.246Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 1 03:12 . [2020-09-01T03:12:22.246Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 03:11 .. [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 1 03:11 Attribution.txt [2020-09-01T03:12:22.246Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 03:11 bin [2020-09-01T03:12:22.246Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 03:11 cmd [2020-09-01T03:12:22.246Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 1 03:12 coverage.out [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 1 03:11 Dockerfile [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 1 03:11 Dockerfile.build [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 1 03:11 .dockerignore [2020-09-01T03:12:22.246Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 1 03:12 driver [2020-09-01T03:12:22.246Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 03:11 .git [2020-09-01T03:12:22.246Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 03:11 .github [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 1 03:11 .gitignore [2020-09-01T03:12:22.246Z] -rw-r--r--. 1 jenkins jenkins 266 Sep 1 03:12 go.mod [2020-09-01T03:12:22.246Z] -rw-r--r--. 1 jenkins jenkins 12533 Sep 1 03:12 go.sum [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 03:11 Jenkinsfile [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 03:11 LICENSE [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 1 03:11 Makefile [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 1 03:11 README.md [2020-09-01T03:12:22.246Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 1 03:11 .semver [2020-09-01T03:12:22.246Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 03:11 snap [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 03:06 VERSION [2020-09-01T03:12:22.246Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 1 03:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:12:22.544Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 --label arch=amd64 --label version=0.0.0 . [2020-09-01T03:12:22.805Z] Sending build context to Docker daemon 8.056MB [2020-09-01T03:12:22.805Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-01T03:12:22.805Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-01T03:12:22.805Z] ---> 9b9c8a47baf6 [2020-09-01T03:12:22.805Z] Step 3/25 : ARG MAKE='make build' [2020-09-01T03:12:22.805Z] ---> Running in aefc37014d5c [2020-09-01T03:12:23.066Z] Removing intermediate container aefc37014d5c [2020-09-01T03:12:23.066Z] ---> 9567162aa3b0 [2020-09-01T03:12:23.066Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-01T03:12:23.066Z] ---> Running in 19921ce7e38d [2020-09-01T03:12:23.328Z] Removing intermediate container 19921ce7e38d [2020-09-01T03:12:23.328Z] ---> 8a8798b20d04 [2020-09-01T03:12:23.328Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-01T03:12:23.328Z] ---> Running in 191ef3f73b04 [2020-09-01T03:12:23.328Z] Removing intermediate container 191ef3f73b04 [2020-09-01T03:12:23.328Z] ---> 1c4230efc4eb [2020-09-01T03:12:23.328Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T03:12:23.590Z] ---> Running in 5277b41a99ec [2020-09-01T03:12:24.537Z] Removing intermediate container 5277b41a99ec [2020-09-01T03:12:24.537Z] ---> cc8dde758a3c [2020-09-01T03:12:24.537Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-01T03:12:24.537Z] ---> Running in 6fb51ebae568 [2020-09-01T03:12:25.110Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T03:12:25.684Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T03:12:26.257Z] OK: 166 MiB in 39 packages [2020-09-01T03:12:26.832Z] Removing intermediate container 6fb51ebae568 [2020-09-01T03:12:26.832Z] ---> 5d434e329b09 [2020-09-01T03:12:26.832Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-01T03:12:26.832Z] ---> Running in 4eacb8cd965a [2020-09-01T03:12:27.093Z] Removing intermediate container 4eacb8cd965a [2020-09-01T03:12:27.093Z] ---> 6d955de7bf1c [2020-09-01T03:12:27.093Z] Step 9/25 : COPY go.mod . [2020-09-01T03:12:27.355Z] ---> f1d04d67ce90 [2020-09-01T03:12:27.355Z] Step 10/25 : COPY Makefile . [2020-09-01T03:12:27.355Z] ---> 8da6dd1a764b [2020-09-01T03:12:27.355Z] Step 11/25 : RUN make update [2020-09-01T03:12:27.616Z] ---> Running in 8c5528601ed9 [2020-09-01T03:12:27.879Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-01T03:12:28.454Z] Removing intermediate container 8c5528601ed9 [2020-09-01T03:12:28.454Z] ---> 0c3c1f947570 [2020-09-01T03:12:28.454Z] Step 12/25 : COPY . . [2020-09-01T03:12:29.031Z] ---> d57794ea2b5c [2020-09-01T03:12:29.031Z] Step 13/25 : RUN $MAKE [2020-09-01T03:12:29.031Z] ---> Running in 6946c32a9b3f [2020-09-01T03:12:29.295Z] 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-01T03:12:39.381Z] Removing intermediate container 6946c32a9b3f [2020-09-01T03:12:39.381Z] ---> 653aaa37f30c [2020-09-01T03:12:39.381Z] Step 14/25 : FROM alpine:latest [2020-09-01T03:12:39.646Z] latest: Pulling from library/alpine [2020-09-01T03:12:39.646Z] df20fa9351a1: Already exists [2020-09-01T03:12:39.907Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-01T03:12:39.907Z] Status: Downloaded newer image for alpine:latest [2020-09-01T03:12:39.907Z] ---> a24bb4013296 [2020-09-01T03:12:39.907Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-01T03:12:39.907Z] ---> Running in cb5ce7a49c88 [2020-09-01T03:12:40.171Z] Removing intermediate container cb5ce7a49c88 [2020-09-01T03:12:40.171Z] ---> 1400492b3e99 [2020-09-01T03:12:40.171Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-01T03:12:40.171Z] ---> Running in b3254d171876 [2020-09-01T03:12:40.432Z] Removing intermediate container b3254d171876 [2020-09-01T03:12:40.432Z] ---> ce48995fb723 [2020-09-01T03:12:40.432Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-01T03:12:40.694Z] ---> bca60955bec7 [2020-09-01T03:12:40.694Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-01T03:12:40.955Z] ---> 60185efb8745 [2020-09-01T03:12:40.955Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-01T03:12:41.539Z] ---> e7f430e70af2 [2020-09-01T03:12:41.539Z] Step 20/25 : EXPOSE 49986 [2020-09-01T03:12:41.539Z] ---> Running in 47b583e4c951 [2020-09-01T03:12:41.539Z] Removing intermediate container 47b583e4c951 [2020-09-01T03:12:41.539Z] ---> 0ec889833779 [2020-09-01T03:12:41.539Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-01T03:12:41.800Z] ---> Running in 390cce50b704 [2020-09-01T03:12:41.800Z] Removing intermediate container 390cce50b704 [2020-09-01T03:12:41.800Z] ---> c36d8722f375 [2020-09-01T03:12:41.800Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-01T03:12:42.062Z] ---> Running in e2e64dd5571b [2020-09-01T03:12:42.062Z] Removing intermediate container e2e64dd5571b [2020-09-01T03:12:42.062Z] ---> 5adb0332a42f [2020-09-01T03:12:42.062Z] Step 23/25 : LABEL arch=amd64 [2020-09-01T03:12:42.062Z] ---> Running in 2b8187d5f9f6 [2020-09-01T03:12:42.324Z] Removing intermediate container 2b8187d5f9f6 [2020-09-01T03:12:42.324Z] ---> 198c1b089527 [2020-09-01T03:12:42.324Z] Step 24/25 : LABEL git_sha=2df9a29c9f5efd18ebbfa751b82f31279bd1ad04 [2020-09-01T03:12:42.324Z] ---> Running in 918b733dd000 [2020-09-01T03:12:42.585Z] Removing intermediate container 918b733dd000 [2020-09-01T03:12:42.585Z] ---> d46ec395630f [2020-09-01T03:12:42.585Z] Step 25/25 : LABEL version=0.0.0 [2020-09-01T03:12:42.585Z] ---> Running in a2eb7bc1a322 [2020-09-01T03:12:42.845Z] Removing intermediate container a2eb7bc1a322 [2020-09-01T03:12:42.845Z] ---> f91e2d479624 [2020-09-01T03:12:42.845Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T03:12:42.845Z] Successfully built f91e2d479624 [2020-09-01T03:12:42.845Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-01T03:12:44.435Z] provisioning config files... [2020-09-01T03:12:44.446Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config3074588252705991570tmp [Pipeline] { [Pipeline] sh [2020-09-01T03:12:44.807Z] + curl -s https://codecov.io/bash [2020-09-01T03:12:44.807Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config3074588252705991570tmp [Pipeline] } [2020-09-01T03:12:45.389Z] 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-01T03:12:47.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T03:12:47.882Z] ---> package-listing.sh [2020-09-01T03:12:47.882Z] ++ facter osfamily [2020-09-01T03:12:47.882Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T03:12:47.882Z] + OS_FAMILY=redhat [2020-09-01T03:12:47.882Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-09-01T03:12:47.882Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T03:12:47.882Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T03:12:47.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T03:12:47.882Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T03:12:47.882Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' [2020-09-01T03:12:47.882Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T03:12:47.882Z] + case "${OS_FAMILY}" in [2020-09-01T03:12:47.882Z] + rpm -qa [2020-09-01T03:12:47.882Z] + sort [2020-09-01T03:12:52.108Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T03:12:52.108Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T03:12:52.108Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T03:12:52.108Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' [2020-09-01T03:12:52.108Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [2020-09-01T03:12:52.108Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:12:52.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T03:12:52.979Z] [2020-09-01T03:12:52.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T03:12:53.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T03:12:53.319Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T03:12:53.319Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T03:12:53.319Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T03:12:53.319Z] 756a868c4378: Pulling fs layer [2020-09-01T03:12:53.319Z] 444b2fc9a129: Pulling fs layer [2020-09-01T03:12:53.319Z] ea15f1150254: Pulling fs layer [2020-09-01T03:12:53.319Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T03:12:53.319Z] 28c525ee5125: Pulling fs layer [2020-09-01T03:12:53.319Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T03:12:53.319Z] 138eaada9080: Pulling fs layer [2020-09-01T03:12:53.319Z] 0622d0fa9048: Pulling fs layer [2020-09-01T03:12:53.319Z] ea15f1150254: Waiting [2020-09-01T03:12:53.319Z] 094b1ea09ed8: Waiting [2020-09-01T03:12:53.319Z] 138eaada9080: Waiting [2020-09-01T03:12:53.319Z] 41b27a9f41bf: Waiting [2020-09-01T03:12:53.319Z] 28c525ee5125: Waiting [2020-09-01T03:12:53.319Z] 0622d0fa9048: Waiting [2020-09-01T03:12:53.319Z] 444b2fc9a129: Waiting [2020-09-01T03:12:53.319Z] 2cc5ad85d9ab: Verifying Checksum [2020-09-01T03:12:53.319Z] 2cc5ad85d9ab: Download complete [2020-09-01T03:12:53.319Z] 444b2fc9a129: Verifying Checksum [2020-09-01T03:12:53.319Z] 444b2fc9a129: Download complete [2020-09-01T03:12:53.319Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T03:12:53.319Z] c9b1b535fdd9: Download complete [2020-09-01T03:12:53.319Z] ea15f1150254: Verifying Checksum [2020-09-01T03:12:53.319Z] ea15f1150254: Download complete [2020-09-01T03:12:53.587Z] 28c525ee5125: Verifying Checksum [2020-09-01T03:12:53.587Z] 28c525ee5125: Download complete [2020-09-01T03:12:53.861Z] 756a868c4378: Verifying Checksum [2020-09-01T03:12:53.861Z] 756a868c4378: Download complete [2020-09-01T03:12:53.861Z] c9b1b535fdd9: Pull complete [2020-09-01T03:12:54.130Z] 138eaada9080: Verifying Checksum [2020-09-01T03:12:54.130Z] 138eaada9080: Download complete [2020-09-01T03:12:54.130Z] 0622d0fa9048: Verifying Checksum [2020-09-01T03:12:54.130Z] 0622d0fa9048: Download complete [2020-09-01T03:12:54.130Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T03:12:54.130Z] 094b1ea09ed8: Download complete [2020-09-01T03:12:54.392Z] 2cc5ad85d9ab: Pull complete [2020-09-01T03:12:54.392Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T03:12:54.392Z] 41b27a9f41bf: Download complete [2020-09-01T03:12:55.784Z] 756a868c4378: Pull complete [2020-09-01T03:12:55.785Z] 444b2fc9a129: Pull complete [2020-09-01T03:12:56.046Z] ea15f1150254: Pull complete [2020-09-01T03:13:00.257Z] 41b27a9f41bf: Pull complete [2020-09-01T03:13:00.257Z] 28c525ee5125: Pull complete [2020-09-01T03:13:01.658Z] 094b1ea09ed8: Pull complete [2020-09-01T03:13:01.919Z] 138eaada9080: Pull complete [2020-09-01T03:13:02.180Z] 0622d0fa9048: Pull complete [2020-09-01T03:13:02.180Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T03:13:02.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T03:13:02.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T03:13:02.350Z] prd-centos7-docker-4c-2g-987 does not seem to be running inside a container [2020-09-01T03:13:02.397Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-01T03:13:05.478Z] $ docker top ea79eb7f8126709c5bb227f1592e0ed5a4d2cf452f20133fd3b43751f559d7c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T03:13:05.721Z] provisioning config files... [2020-09-01T03:13:05.734Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config1149719480309789780tmp [Pipeline] { [Pipeline] echo [2020-09-01T03:13:05.800Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T03:13:06.087Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T03:13:06.097Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T03:13:06.388Z] ---> logs-deploy.sh [2020-09-01T03:13:06.388Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/2 [2020-09-01T03:13:06.388Z] INFO: archiving workspace using pattern(s): [2020-09-01T03:13:07.775Z] Archives upload complete. [2020-09-01T03:13:07.775Z] INFO: archiving logs to Nexus [2020-09-01T03:13:08.344Z] ---> uname -a: [2020-09-01T03:13:08.344Z] Linux ea79eb7f8126 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] ---> lscpu: [2020-09-01T03:13:08.344Z] Architecture: x86_64 [2020-09-01T03:13:08.344Z] CPU op-mode(s): 32-bit, 64-bit [2020-09-01T03:13:08.344Z] Byte Order: Little Endian [2020-09-01T03:13:08.344Z] Address sizes: 40 bits physical, 48 bits virtual [2020-09-01T03:13:08.344Z] CPU(s): 4 [2020-09-01T03:13:08.344Z] On-line CPU(s) list: 0-3 [2020-09-01T03:13:08.344Z] Thread(s) per core: 1 [2020-09-01T03:13:08.344Z] Core(s) per socket: 1 [2020-09-01T03:13:08.344Z] Socket(s): 4 [2020-09-01T03:13:08.344Z] NUMA node(s): 1 [2020-09-01T03:13:08.344Z] Vendor ID: GenuineIntel [2020-09-01T03:13:08.344Z] CPU family: 6 [2020-09-01T03:13:08.344Z] Model: 44 [2020-09-01T03:13:08.344Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-09-01T03:13:08.344Z] Stepping: 1 [2020-09-01T03:13:08.344Z] CPU MHz: 2933.396 [2020-09-01T03:13:08.344Z] BogoMIPS: 5866.79 [2020-09-01T03:13:08.344Z] Virtualization: VT-x [2020-09-01T03:13:08.344Z] Hypervisor vendor: KVM [2020-09-01T03:13:08.344Z] Virtualization type: full [2020-09-01T03:13:08.344Z] L1d cache: 128 KiB [2020-09-01T03:13:08.344Z] L1i cache: 128 KiB [2020-09-01T03:13:08.344Z] L2 cache: 16 MiB [2020-09-01T03:13:08.344Z] L3 cache: 64 MiB [2020-09-01T03:13:08.344Z] NUMA node0 CPU(s): 0-3 [2020-09-01T03:13:08.344Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-09-01T03:13:08.344Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-09-01T03:13:08.344Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-09-01T03:13:08.344Z] Vulnerability Meltdown: Mitigation; PTI [2020-09-01T03:13:08.344Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-09-01T03:13:08.344Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-09-01T03:13:08.344Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-09-01T03:13:08.344Z] Vulnerability Tsx async abort: Not affected [2020-09-01T03:13:08.344Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] ---> nproc: [2020-09-01T03:13:08.344Z] 4 [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] ---> df -h: [2020-09-01T03:13:08.344Z] Filesystem Size Used Available Use% Mounted on [2020-09-01T03:13:08.344Z] overlay 50.0G 6.9G 43.1G 14% / [2020-09-01T03:13:08.344Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-09-01T03:13:08.344Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-09-01T03:13:08.344Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp [2020-09-01T03:13:08.344Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z] ---> free -m: [2020-09-01T03:13:08.344Z] total used free shared buff/cache available [2020-09-01T03:13:08.344Z] Mem: 1837 762 105 0 969 983 [2020-09-01T03:13:08.344Z] Swap: 1023 1 1022 [2020-09-01T03:13:08.344Z] [2020-09-01T03:13:08.344Z]