Pull request #47 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dd996a9ee45193dfd0f0b9799ca2810337d93345+172864091628f91237888ceec3b813680f51db30 (080dacd4489220ab881ebb36bc04cbb25c892c76) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-47/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-47/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-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] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2004’ is offline Running on prd-centos7-docker-4c-2g-2008 in /w/workspace/dgexfoundry_device-rest-go_PR-47 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-47 # 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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit dd996a9ee45193dfd0f0b9799ca2810337d93345 Merge succeeded, producing dd996a9ee45193dfd0f0b9799ca2810337d93345 Checking out Revision dd996a9ee45193dfd0f0b9799ca2810337d93345 (PR-47) > git config core.sparsecheckout # timeout=10 > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # 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 172864091628f91237888ceec3b813680f51db30 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # timeout=10 Commit message: "build(deps): Bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-29T18:34:17.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-29T18:34:18.081Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-29T18:34:18.388Z] ========================================================= [2020-09-29T18:34:18.388Z] EdgeX Global Pipelines Version Info [2020-09-29T18:34:18.388Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:34:19.906Z] ------------------- [2020-09-29T18:34:19.906Z] stable info: [2020-09-29T18:34:19.906Z] ------------------- [2020-09-29T18:34:19.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-29T18:34:19.906Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T18:34:19.906Z] Message: update stable to v1.0.131 [2020-09-29T18:34:20.864Z] ------------------- [2020-09-29T18:34:20.864Z] experimental info: [2020-09-29T18:34:20.864Z] ------------------- [2020-09-29T18:34:20.864Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-29T18:34:20.864Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T18:34:20.864Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-29T18:34:21.366Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-29T18:34:21.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-29T18:34:21.682Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-29T18:34:21.804Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-29T18:34:21.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-29T18:34:22.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-29T18:34:22.248Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-29T18:34:22.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-29T18:34:22.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-29T18:34:22.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-29T18:34:22.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-29T18:34:22.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-29T18:34:23.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-29T18:34:23.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-29T18:34:23.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T18:34:23.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T18:34:23.560Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T18:34:23.719Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T18:34:23.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-29T18:34:23.972Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-29T18:34:24.107Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-29T18:34:24.251Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-29T18:34:24.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-29T18:34:24.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-29T18:34:24.738Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-29T18:34:24.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-47 [Pipeline] echo [2020-09-29T18:34:25.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-47 [Pipeline] echo [2020-09-29T18:34:25.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-47 [Pipeline] echo [2020-09-29T18:34:25.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd996a9ee45193dfd0f0b9799ca2810337d93345 [Pipeline] echo [2020-09-29T18:34:25.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd996a9 [Pipeline] echo [2020-09-29T18:34:25.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T18:34:26.327Z] + git log --format=format:%s -1 dd996a9ee45193dfd0f0b9799ca2810337d93345 [Pipeline] echo [2020-09-29T18:34:26.422Z] GIT_COMMIT: dd996a9ee45193dfd0f0b9799ca2810337d93345, Commit Message: build(deps): Bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-09-29T18:34:26.524Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:34:27.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:34:27.421Z] [2020-09-29T18:34:27.421Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:34:27.818Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:34:27.818Z] latest: Pulling from edgex-devops/git-semver [2020-09-29T18:34:27.818Z] 31603596830f: Pulling fs layer [2020-09-29T18:34:27.818Z] 2a8b12db71e7: Pulling fs layer [2020-09-29T18:34:27.818Z] 6ca5941a6612: Pulling fs layer [2020-09-29T18:34:27.818Z] ecc8261a40a4: Pulling fs layer [2020-09-29T18:34:27.818Z] ecc8261a40a4: Waiting [2020-09-29T18:34:27.818Z] 2a8b12db71e7: Download complete [2020-09-29T18:34:28.083Z] 31603596830f: Verifying Checksum [2020-09-29T18:34:28.083Z] 31603596830f: Download complete [2020-09-29T18:34:28.083Z] ecc8261a40a4: Verifying Checksum [2020-09-29T18:34:28.083Z] ecc8261a40a4: Download complete [2020-09-29T18:34:28.083Z] 6ca5941a6612: Verifying Checksum [2020-09-29T18:34:28.083Z] 6ca5941a6612: Download complete [2020-09-29T18:34:28.349Z] 31603596830f: Pull complete [2020-09-29T18:34:28.349Z] 2a8b12db71e7: Pull complete [2020-09-29T18:34:29.295Z] 6ca5941a6612: Pull complete [2020-09-29T18:34:29.562Z] ecc8261a40a4: Pull complete [2020-09-29T18:34:29.562Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-29T18:34:29.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:34:29.562Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-29T18:34:29.703Z] prd-centos7-docker-4c-2g-2008 does not seem to be running inside a container [2020-09-29T18:34:29.756Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-47 -v /w/workspace/dgexfoundry_device-rest-go_PR-47:/w/workspace/dgexfoundry_device-rest-go_PR-47:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-47@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-47@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-29T18:34:31.697Z] $ docker top c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-29T18:34:32.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T18:34:32.116Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T18:34:32.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T18:34:32.361Z] $ docker exec c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 ssh-agent [2020-09-29T18:34:32.547Z] SSH_AUTH_SOCK=/tmp/ssh-gUiPBpTcVqRZ/agent.12 [2020-09-29T18:34:32.547Z] SSH_AGENT_PID=17 [2020-09-29T18:34:32.560Z] Running ssh-add (command line suppressed) [2020-09-29T18:34:32.697Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/private_key_801746196577703790.key (/w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/private_key_801746196577703790.key) [2020-09-29T18:34:32.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T18:34:33.177Z] + git describe --exact-match --tags HEAD [2020-09-29T18:34:33.177Z] fatal: no tag exactly matches 'dd996a9ee45193dfd0f0b9799ca2810337d93345' [Pipeline] } [2020-09-29T18:34:33.313Z] $ docker exec --env ******** --env ******** c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 ssh-agent -k [2020-09-29T18:34:33.452Z] unset SSH_AUTH_SOCK; [2020-09-29T18:34:33.453Z] unset SSH_AGENT_PID; [2020-09-29T18:34:33.453Z] echo Agent pid 17 killed; [2020-09-29T18:34:33.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-29T18:34:33.670Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-29T18:34:33.670Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-29T18:34:33.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T18:34:33.787Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T18:34:33.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T18:34:33.964Z] $ docker exec c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 ssh-agent [2020-09-29T18:34:34.127Z] SSH_AUTH_SOCK=/tmp/ssh-FasZAJu2Fq79/agent.46 [2020-09-29T18:34:34.127Z] SSH_AGENT_PID=52 [2020-09-29T18:34:34.134Z] Running ssh-add (command line suppressed) [2020-09-29T18:34:34.257Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/private_key_3681804006119301618.key (/w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/private_key_3681804006119301618.key) [2020-09-29T18:34:34.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T18:34:34.715Z] + git semver init [2020-09-29T18:34:34.715Z] # -> Open(): unable to determine branch for HEAD [2020-09-29T18:34:34.715Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-47/.git [2020-09-29T18:34:34.715Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-47 [2020-09-29T18:34:34.715Z] # $SEMVER_REMOTE_NAME = origin [2020-09-29T18:34:34.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-29T18:34:34.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-29T18:34:34.715Z] # $SEMVER_BRANCH = PR-47 [2020-09-29T18:34:34.715Z] # $SEMVER_TEMP = /tmp/semver-801233909 [2020-09-29T18:34:34.715Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-29T18:34:35.684Z] # '/tmp/semver-801233909' -> '/w/workspace/dgexfoundry_device-rest-go_PR-47/.semver' [2020-09-29T18:34:35.684Z] # -> Force: false [2020-09-29T18:34:35.684Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-47/.semver [Pipeline] } [2020-09-29T18:34:35.710Z] $ docker exec --env ******** --env ******** c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 ssh-agent -k [2020-09-29T18:34:35.840Z] unset SSH_AUTH_SOCK; [2020-09-29T18:34:35.841Z] unset SSH_AGENT_PID; [2020-09-29T18:34:35.841Z] echo Agent pid 52 killed; [2020-09-29T18:34:35.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-29T18:34:36.533Z] + git semver [Pipeline] } [2020-09-29T18:34:36.568Z] $ docker stop --time=1 c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 [2020-09-29T18:34:38.000Z] $ docker rm -f c0f7bd27ac0b1bf4e75c3e5bed9db52f83b9daa303ab7edaad6baf7fc14ea787 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-29T18:34:39.558Z] Stashed 24 file(s) [Pipeline] echo [2020-09-29T18:34:39.580Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-29T18:34:39.702Z] 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-29T18:34:55.563Z] Still waiting to schedule task [2020-09-29T18:34:55.563Z] ‘prd-centos7-docker-4c-2g-2010’ is offline [2020-09-29T18:34:55.591Z] Still waiting to schedule task [2020-09-29T18:34:55.591Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2007’ [2020-09-29T18:38:08.144Z] Running on prd-centos7-docker-4c-2g-2017 in /w/workspace/dgexfoundry_device-rest-go_PR-47 [Pipeline] { [Pipeline] ws [2020-09-29T18:38:08.254Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-09-29T18:38:11.046Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2014 in /w/workspace/dgexfoundry_device-rest-go_PR-47 [Pipeline] { [2020-09-29T18:38:11.145Z] using credential edgex-jenkins-ssh [Pipeline] ws [2020-09-29T18:38:11.159Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [2020-09-29T18:38:11.201Z] Cloning the remote Git repository [Pipeline] checkout [2020-09-29T18:38:11.239Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:11.309Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-29T18:38:11.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:11.367Z] > git --version # timeout=10 [2020-09-29T18:38:11.377Z] > git --version # 'git version 2.16.5' [2020-09-29T18:38:11.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:11.408Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:38:13.608Z] Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit dd996a9ee45193dfd0f0b9799ca2810337d93345 [2020-09-29T18:38:13.711Z] Merge succeeded, producing dd996a9ee45193dfd0f0b9799ca2810337d93345 [2020-09-29T18:38:13.711Z] Checking out Revision dd996a9ee45193dfd0f0b9799ca2810337d93345 (PR-47) [2020-09-29T18:38:13.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:38:13.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:38:13.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:38:13.236Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:13.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:13.241Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T18:38:13.623Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:38:13.633Z] > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # timeout=10 [2020-09-29T18:38:13.681Z] > git remote # timeout=10 [2020-09-29T18:38:13.687Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T18:38:13.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:13.696Z] > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 [2020-09-29T18:38:13.706Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T18:38:13.717Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:38:13.722Z] > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # timeout=10 [2020-09-29T18:38:16.507Z] using credential edgex-jenkins-ssh [2020-09-29T18:38:16.564Z] Cloning the remote Git repository [2020-09-29T18:38:16.628Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:16.738Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-29T18:38:16.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:16.838Z] > git --version # timeout=10 [2020-09-29T18:38:16.860Z] > git --version # 'git version 2.17.1' [2020-09-29T18:38:16.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:16.929Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:38:17.545Z] Commit message: "build(deps): Bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [2020-09-29T18:38:17.573Z] > git --version # timeout=10 [2020-09-29T18:38:17.578Z] > git --version # 'git version 2.16.5' [2020-09-29T18:38:17.584Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-29T18:38:18.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:38:18.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:38:18.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:38:18.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:38:18.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:18.614Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T18:38:19.103Z] Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit dd996a9ee45193dfd0f0b9799ca2810337d93345 [Pipeline] echo [2020-09-29T18:38:19.121Z] ========================================================= [2020-09-29T18:38:19.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-29T18:38:19.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:38:19.447Z] Merge succeeded, producing dd996a9ee45193dfd0f0b9799ca2810337d93345 [2020-09-29T18:38:19.448Z] Checking out Revision dd996a9ee45193dfd0f0b9799ca2810337d93345 (PR-47) [2020-09-29T18:38:20.062Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-29T18:38:19.122Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:38:19.183Z] > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # timeout=10 [2020-09-29T18:38:19.332Z] > git remote # timeout=10 [2020-09-29T18:38:19.359Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T18:38:19.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:38:19.392Z] > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 [2020-09-29T18:38:19.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T18:38:19.456Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:38:19.472Z] > git checkout -f dd996a9ee45193dfd0f0b9799ca2810337d93345 # timeout=10 [2020-09-29T18:38:20.338Z] Sending build context to Docker daemon 8.059MB [2020-09-29T18:38:20.338Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-29T18:38:20.338Z] Step 2/10 : FROM ${BASE} [2020-09-29T18:38:20.920Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-29T18:38:20.920Z] df20fa9351a1: Pulling fs layer [2020-09-29T18:38:20.920Z] ed8968b2872e: Pulling fs layer [2020-09-29T18:38:20.920Z] a92cc7c5fd73: Pulling fs layer [2020-09-29T18:38:20.920Z] e871e8e8d7a9: Pulling fs layer [2020-09-29T18:38:20.920Z] e73272ec9a57: Pulling fs layer [2020-09-29T18:38:20.920Z] 1e910a182e73: Pulling fs layer [2020-09-29T18:38:20.920Z] 4e634b169226: Pulling fs layer [2020-09-29T18:38:20.920Z] e871e8e8d7a9: Waiting [2020-09-29T18:38:20.920Z] e73272ec9a57: Waiting [2020-09-29T18:38:20.920Z] 1e910a182e73: Waiting [2020-09-29T18:38:20.920Z] 4e634b169226: Waiting [2020-09-29T18:38:20.920Z] a92cc7c5fd73: Verifying Checksum [2020-09-29T18:38:20.920Z] a92cc7c5fd73: Download complete [2020-09-29T18:38:20.920Z] ed8968b2872e: Verifying Checksum [2020-09-29T18:38:21.867Z] e73272ec9a57: Download complete [2020-09-29T18:38:21.867Z] 1e910a182e73: Verifying Checksum [2020-09-29T18:38:21.867Z] 1e910a182e73: Download complete [2020-09-29T18:38:21.867Z] df20fa9351a1: Verifying Checksum [2020-09-29T18:38:21.867Z] df20fa9351a1: Download complete [2020-09-29T18:38:22.132Z] df20fa9351a1: Pull complete [2020-09-29T18:38:22.398Z] ed8968b2872e: Pull complete [2020-09-29T18:38:22.398Z] a92cc7c5fd73: Pull complete [2020-09-29T18:38:23.833Z] Commit message: "build(deps): Bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [2020-09-29T18:38:23.893Z] > git --version # timeout=10 [2020-09-29T18:38:23.906Z] > git --version # 'git version 2.17.1' [2020-09-29T18:38:23.921Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-29T18:38:26.021Z] ========================================================= [2020-09-29T18:38:26.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-29T18:38:26.021Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:38:26.645Z] 4e634b169226: Verifying Checksum [2020-09-29T18:38:26.645Z] 4e634b169226: Download complete [2020-09-29T18:38:27.155Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-29T18:38:27.595Z] e871e8e8d7a9: Verifying Checksum [2020-09-29T18:38:27.595Z] e871e8e8d7a9: Download complete [2020-09-29T18:38:28.214Z] Sending build context to Docker daemon 8.059MB [2020-09-29T18:38:28.214Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-29T18:38:28.214Z] Step 2/10 : FROM ${BASE} [2020-09-29T18:38:28.490Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-29T18:38:28.490Z] b538f80385f9: Pulling fs layer [2020-09-29T18:38:28.490Z] 74f711af9a0d: Pulling fs layer [2020-09-29T18:38:28.490Z] 99f96fe45779: Pulling fs layer [2020-09-29T18:38:28.490Z] 8529a6b9a6be: Pulling fs layer [2020-09-29T18:38:28.490Z] 45590311c82a: Pulling fs layer [2020-09-29T18:38:28.490Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-29T18:38:28.490Z] 209524e5b208: Pulling fs layer [2020-09-29T18:38:28.490Z] 8529a6b9a6be: Waiting [2020-09-29T18:38:28.490Z] 45590311c82a: Waiting [2020-09-29T18:38:28.490Z] 69ca0ff8b7b3: Waiting [2020-09-29T18:38:28.490Z] 209524e5b208: Waiting [2020-09-29T18:38:28.490Z] 99f96fe45779: Verifying Checksum [2020-09-29T18:38:28.490Z] 99f96fe45779: Download complete [2020-09-29T18:38:28.490Z] 74f711af9a0d: Verifying Checksum [2020-09-29T18:38:28.490Z] 74f711af9a0d: Download complete [2020-09-29T18:38:28.490Z] 45590311c82a: Verifying Checksum [2020-09-29T18:38:28.490Z] 45590311c82a: Download complete [2020-09-29T18:38:28.490Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-29T18:38:28.490Z] 69ca0ff8b7b3: Download complete [2020-09-29T18:38:28.776Z] b538f80385f9: Verifying Checksum [2020-09-29T18:38:28.776Z] b538f80385f9: Download complete [2020-09-29T18:38:29.395Z] b538f80385f9: Pull complete [2020-09-29T18:38:29.998Z] 74f711af9a0d: Pull complete [2020-09-29T18:38:30.603Z] 99f96fe45779: Pull complete [2020-09-29T18:38:30.879Z] 209524e5b208: Verifying Checksum [2020-09-29T18:38:30.879Z] 209524e5b208: Download complete [2020-09-29T18:38:32.311Z] 8529a6b9a6be: Verifying Checksum [2020-09-29T18:38:32.311Z] 8529a6b9a6be: Download complete [2020-09-29T18:38:33.003Z] e871e8e8d7a9: Pull complete [2020-09-29T18:38:33.003Z] e73272ec9a57: Pull complete [2020-09-29T18:38:33.003Z] 1e910a182e73: Pull complete [2020-09-29T18:38:41.197Z] 4e634b169226: Pull complete [2020-09-29T18:38:41.197Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-29T18:38:41.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-29T18:38:41.197Z] ---> f7629b54cfaa [2020-09-29T18:38:41.197Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:38:41.197Z] ---> Running in 2220792e7382 [2020-09-29T18:38:41.197Z] Removing intermediate container 2220792e7382 [2020-09-29T18:38:41.197Z] ---> 0aa10dcae22b [2020-09-29T18:38:41.197Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:38:41.197Z] ---> Running in 4c8e25e581a3 [2020-09-29T18:38:41.466Z] Removing intermediate container 4c8e25e581a3 [2020-09-29T18:38:41.466Z] ---> cfb1b847f17a [2020-09-29T18:38:41.466Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:38:41.466Z] ---> Running in 20ec516ee1fa [2020-09-29T18:38:41.740Z] Removing intermediate container 20ec516ee1fa [2020-09-29T18:38:41.741Z] ---> f6a392f7e3d9 [2020-09-29T18:38:41.741Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:38:41.741Z] ---> Running in 48cc1ecb0293 [2020-09-29T18:38:42.496Z] 8529a6b9a6be: Pull complete [2020-09-29T18:38:42.496Z] 45590311c82a: Pull complete [2020-09-29T18:38:42.770Z] 69ca0ff8b7b3: Pull complete [2020-09-29T18:38:43.152Z] Removing intermediate container 48cc1ecb0293 [2020-09-29T18:38:43.152Z] ---> 152c933fae36 [2020-09-29T18:38:43.152Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:38:43.152Z] ---> Running in b17680ed1d57 [2020-09-29T18:38:43.733Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T18:38:44.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T18:38:47.093Z] 209524e5b208: Pull complete [2020-09-29T18:38:47.093Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-29T18:38:47.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-29T18:38:47.093Z] ---> 5bddaf1c2fca [2020-09-29T18:38:47.093Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:38:47.997Z] OK: 166 MiB in 39 packages [2020-09-29T18:38:47.997Z] Removing intermediate container b17680ed1d57 [2020-09-29T18:38:47.997Z] ---> 397547bf27f4 [2020-09-29T18:38:47.997Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-29T18:38:47.997Z] ---> Running in 95695efb0a8b [2020-09-29T18:38:48.261Z] Removing intermediate container 95695efb0a8b [2020-09-29T18:38:48.261Z] ---> 6572f0a9ab2e [2020-09-29T18:38:48.261Z] Step 9/10 : COPY . . [2020-09-29T18:38:48.842Z] ---> d4816f5365af [2020-09-29T18:38:48.842Z] Step 10/10 : RUN go mod download [2020-09-29T18:38:48.842Z] ---> Running in eb1737248594 [2020-09-29T18:38:49.825Z] ---> Running in 603d5e3b9fcd [2020-09-29T18:38:49.825Z] Removing intermediate container 603d5e3b9fcd [2020-09-29T18:38:49.825Z] ---> c112703fc627 [2020-09-29T18:38:49.825Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:38:49.825Z] ---> Running in 4947f49f4833 [2020-09-29T18:38:50.099Z] Removing intermediate container 4947f49f4833 [2020-09-29T18:38:50.099Z] ---> 9c7bcd0e5fc2 [2020-09-29T18:38:50.099Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:38:50.375Z] ---> Running in 8d8d4aace9c8 [2020-09-29T18:38:50.977Z] Removing intermediate container 8d8d4aace9c8 [2020-09-29T18:38:50.977Z] ---> 4f814f934dc9 [2020-09-29T18:38:50.977Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:38:50.977Z] ---> Running in 23c2429bc017 [2020-09-29T18:38:53.605Z] Removing intermediate container 23c2429bc017 [2020-09-29T18:38:53.605Z] ---> fa2158037d73 [2020-09-29T18:38:53.605Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:38:53.605Z] ---> Running in 0c42fd9dfa9d [2020-09-29T18:38:55.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T18:38:56.480Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T18:38:57.910Z] OK: 142 MiB in 39 packages [2020-09-29T18:38:58.889Z] Removing intermediate container 0c42fd9dfa9d [2020-09-29T18:38:58.889Z] ---> 324d5578c9f6 [2020-09-29T18:38:58.889Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-29T18:38:59.165Z] ---> Running in b1bc66e18a73 [2020-09-29T18:38:59.757Z] Removing intermediate container b1bc66e18a73 [2020-09-29T18:38:59.757Z] ---> c4010b5cbeac [2020-09-29T18:38:59.757Z] Step 9/10 : COPY . . [2020-09-29T18:39:00.743Z] ---> 2ba165cb88d9 [2020-09-29T18:39:00.743Z] Step 10/10 : RUN go mod download [2020-09-29T18:39:00.743Z] ---> Running in efb8f0222fa6 [2020-09-29T18:39:01.227Z] Removing intermediate container eb1737248594 [2020-09-29T18:39:01.228Z] ---> 4664352ebd51 [2020-09-29T18:39:01.228Z] Successfully built 4664352ebd51 [2020-09-29T18:39:01.228Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:39:01.605Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T18:39:01.605Z] . [Pipeline] withDockerContainer [2020-09-29T18:39:01.759Z] prd-centos7-docker-4c-2g-2017 does not seem to be running inside a container [2020-09-29T18:39:01.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-29T18:39:02.511Z] $ docker top ab5071b361d00c9b69d4cf315499ca8549cc9bd90dd79fc642df2c45c9864b37 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:39:03.093Z] + go version [2020-09-29T18:39:03.093Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-29T18:39:03.129Z] $ docker stop --time=1 ab5071b361d00c9b69d4cf315499ca8549cc9bd90dd79fc642df2c45c9864b37 [2020-09-29T18:39:04.488Z] $ docker rm -f ab5071b361d00c9b69d4cf315499ca8549cc9bd90dd79fc642df2c45c9864b37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:39:05.684Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T18:39:05.684Z] . [Pipeline] withDockerContainer [2020-09-29T18:39:05.815Z] prd-centos7-docker-4c-2g-2017 does not seem to be running inside a container [2020-09-29T18:39:05.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-29T18:39:06.599Z] $ docker top 6e270fc80d156f8d62b269cf246afb0f490c5e23286bcb2fed37c5de54fa702f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:39:07.151Z] + make test [2020-09-29T18:39:07.151Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-29T18:39:07.745Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-29T18:39:15.876Z] Removing intermediate container efb8f0222fa6 [2020-09-29T18:39:15.876Z] ---> ca965d78f1ce [2020-09-29T18:39:15.876Z] Successfully built ca965d78f1ce [2020-09-29T18:39:15.876Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:39:16.309Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T18:39:16.309Z] . [Pipeline] withDockerContainer [2020-09-29T18:39:16.644Z] prd-ubuntu18.04-docker-arm64-4c-16g-2014 does not seem to be running inside a container [2020-09-29T18:39:16.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-29T18:39:18.676Z] $ docker top 85d01f4b84055c45a848e8957c080aaac3d3eae82d2270684ea8cda04322640b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:39:20.101Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-29T18:39:20.101Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 56.3% of statements [2020-09-29T18:39:20.101Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T18:39:20.191Z] + go version [2020-09-29T18:39:20.191Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-29T18:39:20.263Z] $ docker stop --time=1 85d01f4b84055c45a848e8957c080aaac3d3eae82d2270684ea8cda04322640b [2020-09-29T18:39:20.378Z] gofmt -l . [2020-09-29T18:39:20.378Z] [ "`gofmt -l .`" = "" ] [2020-09-29T18:39:20.378Z] ./bin/test-go-mod-tidy.sh [2020-09-29T18:39:20.642Z] ./bin/test-attribution-txt.sh [2020-09-29T18:39:22.126Z] $ docker rm -f 85d01f4b84055c45a848e8957c080aaac3d3eae82d2270684ea8cda04322640b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [2020-09-29T18:39:22.764Z] Stashed 1 file(s) [Pipeline] // stage [Pipeline] } [2020-09-29T18:39:23.005Z] $ docker stop --time=1 6e270fc80d156f8d62b269cf246afb0f490c5e23286bcb2fed37c5de54fa702f [2020-09-29T18:39:25.623Z] $ docker rm -f 6e270fc80d156f8d62b269cf246afb0f490c5e23286bcb2fed37c5de54fa702f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:39:27.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T18:39:27.479Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T18:39:27.479Z] . [Pipeline] withDockerContainer [2020-09-29T18:39:27.596Z] + ls -al . [2020-09-29T18:39:27.597Z] total 96 [2020-09-29T18:39:27.597Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 29 18:39 . [2020-09-29T18:39:27.597Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 18:38 .. [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 29 18:38 Attribution.txt [2020-09-29T18:39:27.597Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 18:38 bin [2020-09-29T18:39:27.597Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 18:38 cmd [2020-09-29T18:39:27.597Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 29 18:39 coverage.out [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 29 18:38 Dockerfile [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 29 18:38 Dockerfile.build [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 29 18:38 .dockerignore [2020-09-29T18:39:27.597Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 29 18:39 driver [2020-09-29T18:39:27.597Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 18:38 .git [2020-09-29T18:39:27.597Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 18:38 .github [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 29 18:38 .gitignore [2020-09-29T18:39:27.597Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 29 18:39 go.mod [2020-09-29T18:39:27.597Z] -rw-r--r--. 1 jenkins jenkins 12632 Sep 29 18:39 go.sum [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 29 18:38 Jenkinsfile [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 18:38 LICENSE [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 29 18:38 Makefile [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 5917 Sep 29 18:38 README.md [2020-09-29T18:39:27.597Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 29 18:38 .semver [2020-09-29T18:39:27.597Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 18:38 snap [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 18:34 VERSION [2020-09-29T18:39:27.597Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 29 18:38 version.go [2020-09-29T18:39:27.787Z] prd-ubuntu18.04-docker-arm64-4c-16g-2014 does not seem to be running inside a container [2020-09-29T18:39:27.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-29T18:39:29.774Z] $ docker top ee5db6ad06dc7b6edd9945ab0930a555685ec4e0fb1087cf932a8b485f7f87d5 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:39:30.850Z] + 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=dd996a9ee45193dfd0f0b9799ca2810337d93345 --label arch=amd64 --label version=0.0.0 . [2020-09-29T18:39:31.122Z] Sending build context to Docker daemon 8.071MB [2020-09-29T18:39:31.122Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-29T18:39:31.122Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-29T18:39:31.122Z] ---> 4664352ebd51 [2020-09-29T18:39:31.122Z] Step 3/25 : ARG MAKE='make build' [2020-09-29T18:39:31.122Z] ---> Running in b5d06379436a [2020-09-29T18:39:31.389Z] Removing intermediate container b5d06379436a [2020-09-29T18:39:31.389Z] ---> cc0944612863 [2020-09-29T18:39:31.389Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:39:31.389Z] ---> Running in 897bbba9d47f [2020-09-29T18:39:31.389Z] Removing intermediate container 897bbba9d47f [2020-09-29T18:39:31.389Z] ---> 180e644aeef0 [2020-09-29T18:39:31.389Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:39:31.418Z] + make test [2020-09-29T18:39:31.418Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-29T18:39:31.658Z] ---> Running in 9549d5b84e48 [2020-09-29T18:39:31.658Z] Removing intermediate container 9549d5b84e48 [2020-09-29T18:39:31.658Z] ---> 05096c3adc22 [2020-09-29T18:39:31.658Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:39:31.937Z] ---> Running in 002eaac2bd75 [2020-09-29T18:39:32.434Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-29T18:39:32.893Z] Removing intermediate container 002eaac2bd75 [2020-09-29T18:39:32.893Z] ---> fa38a6ce0975 [2020-09-29T18:39:32.893Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:39:32.893Z] ---> Running in bec166c1ff6d [2020-09-29T18:39:33.160Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T18:39:34.116Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T18:39:34.700Z] OK: 166 MiB in 39 packages [2020-09-29T18:39:35.284Z] Removing intermediate container bec166c1ff6d [2020-09-29T18:39:35.284Z] ---> 8dc8a645cdca [2020-09-29T18:39:35.284Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-29T18:39:35.284Z] ---> Running in 69b61c33da25 [2020-09-29T18:39:35.284Z] Removing intermediate container 69b61c33da25 [2020-09-29T18:39:35.284Z] ---> ae9fe2950faa [2020-09-29T18:39:35.284Z] Step 9/25 : COPY go.mod . [2020-09-29T18:39:35.547Z] ---> 4c09af18ffdf [2020-09-29T18:39:35.548Z] Step 10/25 : COPY Makefile . [2020-09-29T18:39:35.817Z] ---> ffe9dd83276d [2020-09-29T18:39:35.817Z] Step 11/25 : RUN make update [2020-09-29T18:39:35.817Z] ---> Running in b7cf70df3527 [2020-09-29T18:39:36.404Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-29T18:39:36.983Z] Removing intermediate container b7cf70df3527 [2020-09-29T18:39:36.983Z] ---> 73f51cda1833 [2020-09-29T18:39:36.983Z] Step 12/25 : COPY . . [2020-09-29T18:39:37.254Z] ---> 3e3ef4e4c414 [2020-09-29T18:39:37.254Z] Step 13/25 : RUN $MAKE [2020-09-29T18:39:37.254Z] ---> Running in 22cdc182ddcc [2020-09-29T18:39:37.843Z] 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-29T18:39:47.934Z] Removing intermediate container 22cdc182ddcc [2020-09-29T18:39:47.934Z] ---> d0aeb0c05ace [2020-09-29T18:39:47.934Z] Step 14/25 : FROM alpine:latest [2020-09-29T18:39:47.934Z] latest: Pulling from library/alpine [2020-09-29T18:39:47.934Z] df20fa9351a1: Already exists [2020-09-29T18:39:47.934Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T18:39:47.934Z] Status: Downloaded newer image for alpine:latest [2020-09-29T18:39:47.934Z] ---> a24bb4013296 [2020-09-29T18:39:47.934Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:39:47.934Z] ---> Running in f0615e778db2 [2020-09-29T18:39:48.198Z] Removing intermediate container f0615e778db2 [2020-09-29T18:39:48.198Z] ---> bde28b77d6ed [2020-09-29T18:39:48.198Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-29T18:39:48.198Z] ---> Running in ad6df0edef36 [2020-09-29T18:39:48.464Z] Removing intermediate container ad6df0edef36 [2020-09-29T18:39:48.464Z] ---> 6cd025ec956e [2020-09-29T18:39:48.464Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-29T18:39:48.730Z] ---> c2f4fb475acf [2020-09-29T18:39:48.730Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-29T18:39:48.731Z] ---> 8b9c4083a396 [2020-09-29T18:39:48.731Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-29T18:39:49.313Z] ---> 6d2707f219bc [2020-09-29T18:39:49.313Z] Step 20/25 : EXPOSE 49986 [2020-09-29T18:39:49.313Z] ---> Running in b7548806086d [2020-09-29T18:39:49.578Z] Removing intermediate container b7548806086d [2020-09-29T18:39:49.579Z] ---> 0c37a380a6c2 [2020-09-29T18:39:49.579Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-29T18:39:49.579Z] ---> Running in 27f44f6e8e38 [2020-09-29T18:39:49.841Z] Removing intermediate container 27f44f6e8e38 [2020-09-29T18:39:49.841Z] ---> 9cd699ac0545 [2020-09-29T18:39:49.841Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-29T18:39:49.841Z] ---> Running in 10ed75595228 [2020-09-29T18:39:50.104Z] Removing intermediate container 10ed75595228 [2020-09-29T18:39:50.104Z] ---> b3b3667d1ada [2020-09-29T18:39:50.104Z] Step 23/25 : LABEL arch=amd64 [2020-09-29T18:39:50.104Z] ---> Running in c87299c864d8 [2020-09-29T18:39:50.368Z] Removing intermediate container c87299c864d8 [2020-09-29T18:39:50.368Z] ---> 3a6b86127682 [2020-09-29T18:39:50.368Z] Step 24/25 : LABEL git_sha=dd996a9ee45193dfd0f0b9799ca2810337d93345 [2020-09-29T18:39:50.368Z] ---> Running in aa65adc5fafa [2020-09-29T18:39:50.368Z] Removing intermediate container aa65adc5fafa [2020-09-29T18:39:50.368Z] ---> cb6a80678cd8 [2020-09-29T18:39:50.368Z] Step 25/25 : LABEL version=0.0.0 [2020-09-29T18:39:50.631Z] ---> Running in 486e0a0770d3 [2020-09-29T18:39:50.631Z] Removing intermediate container 486e0a0770d3 [2020-09-29T18:39:50.631Z] ---> fc88bd61b61f [2020-09-29T18:39:50.631Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T18:39:50.631Z] Successfully built fc88bd61b61f [2020-09-29T18:39:50.631Z] Successfully tagged docker-device-rest-go:latest [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-29T18:40:04.848Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-29T18:40:04.848Z] ok github.com/edgexfoundry/device-rest-go/driver 0.034s coverage: 56.3% of statements [2020-09-29T18:40:04.848Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T18:40:09.182Z] gofmt -l . [2020-09-29T18:40:09.182Z] [ "`gofmt -l .`" = "" ] [2020-09-29T18:40:09.182Z] ./bin/test-go-mod-tidy.sh [2020-09-29T18:40:09.455Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-29T18:40:10.091Z] Warning: overwriting stash ‘coverage-report’ [2020-09-29T18:40:10.798Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T18:40:10.819Z] $ docker stop --time=1 ee5db6ad06dc7b6edd9945ab0930a555685ec4e0fb1087cf932a8b485f7f87d5 [2020-09-29T18:40:13.146Z] $ docker rm -f ee5db6ad06dc7b6edd9945ab0930a555685ec4e0fb1087cf932a8b485f7f87d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T18:40:14.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T18:40:15.018Z] + ls -al . [2020-09-29T18:40:15.018Z] total 128 [2020-09-29T18:40:15.018Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 18:40 . [2020-09-29T18:40:15.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:38 .. [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 29 18:38 .dockerignore [2020-09-29T18:40:15.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 18:38 .git [2020-09-29T18:40:15.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:38 .github [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 29 18:38 .gitignore [2020-09-29T18:40:15.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:38 .semver [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 29 18:38 Attribution.txt [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 29 18:38 Dockerfile [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 29 18:38 Dockerfile.build [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 29 18:38 Jenkinsfile [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 18:38 LICENSE [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 29 18:38 Makefile [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 5917 Sep 29 18:38 README.md [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 18:34 VERSION [2020-09-29T18:40:15.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:38 bin [2020-09-29T18:40:15.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:38 cmd [2020-09-29T18:40:15.018Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 29 18:40 coverage.out [2020-09-29T18:40:15.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:40 driver [2020-09-29T18:40:15.018Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 29 18:40 go.mod [2020-09-29T18:40:15.018Z] -rw-r--r-- 1 jenkins jenkins 12632 Sep 29 18:40 go.sum [2020-09-29T18:40:15.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:38 snap [2020-09-29T18:40:15.018Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 29 18:38 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:40:15.392Z] + 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=dd996a9ee45193dfd0f0b9799ca2810337d93345 --label arch=arm64 --label version=0.0.0 . [2020-09-29T18:40:15.667Z] Sending build context to Docker daemon 8.071MB [2020-09-29T18:40:15.939Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-29T18:40:15.939Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-29T18:40:15.939Z] ---> ca965d78f1ce [2020-09-29T18:40:15.939Z] Step 3/25 : ARG MAKE='make build' [2020-09-29T18:40:16.213Z] ---> Running in e92ceb6adc8d [2020-09-29T18:40:16.484Z] Removing intermediate container e92ceb6adc8d [2020-09-29T18:40:16.484Z] ---> d01c1196a2ba [2020-09-29T18:40:16.484Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:40:16.759Z] ---> Running in 53bcf058ffac [2020-09-29T18:40:17.036Z] Removing intermediate container 53bcf058ffac [2020-09-29T18:40:17.036Z] ---> e83531427de4 [2020-09-29T18:40:17.036Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:40:17.307Z] ---> Running in 909c4ebdf592 [2020-09-29T18:40:17.580Z] Removing intermediate container 909c4ebdf592 [2020-09-29T18:40:17.580Z] ---> 58a61d512e3a [2020-09-29T18:40:17.580Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:40:17.853Z] ---> Running in 381ac6a84dbb [2020-09-29T18:40:20.472Z] Removing intermediate container 381ac6a84dbb [2020-09-29T18:40:20.472Z] ---> cf802d8889e0 [2020-09-29T18:40:20.472Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:40:20.472Z] ---> Running in fec17d4ee5f3 [2020-09-29T18:40:21.908Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T18:40:22.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T18:40:23.090Z] OK: 142 MiB in 39 packages [2020-09-29T18:40:24.522Z] Removing intermediate container fec17d4ee5f3 [2020-09-29T18:40:24.522Z] ---> 1f1c7c7c8bdb [2020-09-29T18:40:24.522Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-29T18:40:24.522Z] ---> Running in 0a1d75d42683 [2020-09-29T18:40:24.796Z] Removing intermediate container 0a1d75d42683 [2020-09-29T18:40:24.796Z] ---> c6c9330a2c03 [2020-09-29T18:40:24.796Z] Step 9/25 : COPY go.mod . [2020-09-29T18:40:25.395Z] ---> 68fc71e9ab18 [2020-09-29T18:40:25.395Z] Step 10/25 : COPY Makefile . [2020-09-29T18:40:25.998Z] ---> ca924065d040 [2020-09-29T18:40:25.998Z] Step 11/25 : RUN make update [2020-09-29T18:40:26.274Z] ---> Running in c0d8848cc023 [2020-09-29T18:40:27.749Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-29T18:40:28.771Z] Removing intermediate container c0d8848cc023 [2020-09-29T18:40:28.771Z] ---> ece4e532843e [2020-09-29T18:40:28.771Z] Step 12/25 : COPY . . [2020-09-29T18:40:30.259Z] ---> b5094430687e [2020-09-29T18:40:30.259Z] Step 13/25 : RUN $MAKE [2020-09-29T18:40:30.259Z] ---> Running in 29b151bc64ad [2020-09-29T18:40:31.705Z] 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-29T18:40:58.532Z] Removing intermediate container 29b151bc64ad [2020-09-29T18:40:58.532Z] ---> a03a580e873a [2020-09-29T18:40:58.532Z] Step 14/25 : FROM alpine:latest [2020-09-29T18:40:58.532Z] latest: Pulling from library/alpine [2020-09-29T18:40:58.532Z] b538f80385f9: Already exists [2020-09-29T18:40:58.532Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T18:40:58.532Z] Status: Downloaded newer image for alpine:latest [2020-09-29T18:40:58.532Z] ---> 62ee0e9f8440 [2020-09-29T18:40:58.532Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:40:58.532Z] ---> Running in ee7084875a4c [2020-09-29T18:40:58.532Z] Removing intermediate container ee7084875a4c [2020-09-29T18:40:58.532Z] ---> a4cc11fb58bf [2020-09-29T18:40:58.532Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-29T18:40:58.532Z] ---> Running in ea31233d02f5 [2020-09-29T18:40:58.532Z] Removing intermediate container ea31233d02f5 [2020-09-29T18:40:58.532Z] ---> 05ec3ae9a98a [2020-09-29T18:40:58.532Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-29T18:40:58.532Z] ---> 888c8fcab2dc [2020-09-29T18:40:58.532Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-29T18:40:58.532Z] ---> ddf331b98965 [2020-09-29T18:40:58.532Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-29T18:40:59.963Z] ---> 7286dcc10503 [2020-09-29T18:40:59.963Z] Step 20/25 : EXPOSE 49986 [2020-09-29T18:40:59.963Z] ---> Running in bcba2421fb1a [2020-09-29T18:41:00.558Z] Removing intermediate container bcba2421fb1a [2020-09-29T18:41:00.558Z] ---> b78d77e580c9 [2020-09-29T18:41:00.558Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-29T18:41:00.558Z] ---> Running in ad0a994432a7 [2020-09-29T18:41:01.159Z] Removing intermediate container ad0a994432a7 [2020-09-29T18:41:01.159Z] ---> a0d0b5787826 [2020-09-29T18:41:01.159Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-29T18:41:01.159Z] ---> Running in ccc440d38cfa [2020-09-29T18:41:01.756Z] Removing intermediate container ccc440d38cfa [2020-09-29T18:41:01.756Z] ---> b240f1c7fb64 [2020-09-29T18:41:01.756Z] Step 23/25 : LABEL arch=arm64 [2020-09-29T18:41:01.756Z] ---> Running in 8b05db9ccc95 [2020-09-29T18:41:02.353Z] Removing intermediate container 8b05db9ccc95 [2020-09-29T18:41:02.353Z] ---> 8639d1ac9b5d [2020-09-29T18:41:02.353Z] Step 24/25 : LABEL git_sha=dd996a9ee45193dfd0f0b9799ca2810337d93345 [2020-09-29T18:41:02.353Z] ---> Running in d949c88dff40 [2020-09-29T18:41:02.949Z] Removing intermediate container d949c88dff40 [2020-09-29T18:41:02.949Z] ---> c246c12c531b [2020-09-29T18:41:02.949Z] Step 25/25 : LABEL version=0.0.0 [2020-09-29T18:41:02.949Z] ---> Running in 7ea8bea84358 [2020-09-29T18:41:03.547Z] Removing intermediate container 7ea8bea84358 [2020-09-29T18:41:03.547Z] ---> 6ec739d33e4d [2020-09-29T18:41:03.547Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T18:41:03.547Z] Successfully built 6ec739d33e4d [2020-09-29T18:41:03.547Z] 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-29T18:41:06.077Z] provisioning config files... [2020-09-29T18:41:06.094Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/config9024024177149882847tmp [Pipeline] { [Pipeline] sh [2020-09-29T18:41:06.551Z] + set +x [2020-09-29T18:41:06.551Z] + bash -s -- [2020-09-29T18:41:06.551Z] + curl -s https://codecov.io/bash [2020-09-29T18:41:06.815Z] [2020-09-29T18:41:06.815Z] _____ _ [2020-09-29T18:41:06.815Z] / ____| | | [2020-09-29T18:41:06.815Z] | | ___ __| | ___ ___ _____ __ [2020-09-29T18:41:06.815Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-29T18:41:06.815Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-29T18:41:06.815Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-29T18:41:06.815Z] Bash-20200917-4e8f14b [2020-09-29T18:41:06.815Z] [2020-09-29T18:41:06.815Z] [2020-09-29T18:41:06.815Z] ==> Jenkins CI detected. [2020-09-29T18:41:06.815Z] project root: . [2020-09-29T18:41:06.815Z] --> token set from env [2020-09-29T18:41:06.815Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-29T18:41:06.815Z] ==> Running gcov in . (disable via -X gcov) [2020-09-29T18:41:06.815Z] ==> Python coveragepy not found [2020-09-29T18:41:06.815Z] ==> Searching for coverage reports in: [2020-09-29T18:41:06.815Z] + . [2020-09-29T18:41:06.815Z] -> Found 1 reports [2020-09-29T18:41:06.815Z] ==> Detecting git/mercurial file structure [2020-09-29T18:41:06.815Z] ==> Reading reports [2020-09-29T18:41:06.815Z] + ./coverage.out bytes=9369 [2020-09-29T18:41:06.815Z] ==> Appending adjustments [2020-09-29T18:41:06.815Z] https://docs.codecov.io/docs/fixing-reports [2020-09-29T18:41:06.815Z] + Found adjustments [2020-09-29T18:41:06.815Z] ==> Gzipping contents [2020-09-29T18:41:06.815Z] ==> Uploading reports [2020-09-29T18:41:06.815Z] url: https://codecov.io [2020-09-29T18:41:06.815Z] query: branch=PR-47&commit=dd996a9ee45193dfd0f0b9799ca2810337d93345&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=47&job=&cmd_args= [2020-09-29T18:41:06.815Z] -> Pinging Codecov [2020-09-29T18:41:06.815Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-47&commit=dd996a9ee45193dfd0f0b9799ca2810337d93345&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=47&job=&cmd_args= [2020-09-29T18:41:07.414Z] -> Uploading to [2020-09-29T18:41:07.414Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-29/4E5D53B4F1F92C436F7061BF334D961C/dd996a9ee45193dfd0f0b9799ca2810337d93345/8a080c09-9635-400e-954f-6fd149091470.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T184107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5cf124d074097c090f2792fada716df38684746821028758216853937bfbebfb [2020-09-29T18:41:07.414Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-29T18:41:07.414Z] Dload Upload Total Spent Left Speed [2020-09-29T18:41:07.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4352 --:--:-- --:--:-- --:--:-- 4357 [2020-09-29T18:41:07.967Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/dd996a9ee45193dfd0f0b9799ca2810337d93345 [Pipeline] } [2020-09-29T18:41:08.021Z] 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] { (Archive Prep) Stage "Archive Prep" 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-29T18:41:12.937Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:13.550Z] ---> package-listing.sh [2020-09-29T18:41:13.550Z] ++ facter osfamily [2020-09-29T18:41:13.550Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-29T18:41:13.550Z] + OS_FAMILY=redhat [2020-09-29T18:41:13.550Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-47 [2020-09-29T18:41:13.550Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-29T18:41:13.550Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-29T18:41:13.550Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-29T18:41:13.550Z] + PACKAGES=/tmp/packages_start.txt [2020-09-29T18:41:13.550Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-47 ']' [2020-09-29T18:41:13.550Z] + PACKAGES=/tmp/packages_end.txt [2020-09-29T18:41:13.550Z] + case "${OS_FAMILY}" in [2020-09-29T18:41:13.550Z] + rpm -qa [2020-09-29T18:41:13.550Z] + sort [2020-09-29T18:41:18.871Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-29T18:41:18.871Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-29T18:41:18.871Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-29T18:41:18.871Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-47 ']' [2020-09-29T18:41:18.871Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-47/archives/ [2020-09-29T18:41:18.871Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-47/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-29T18:41:19.158Z] provisioning config files... [2020-09-29T18:41:19.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-47@tmp/config7654265928453990120tmp [Pipeline] { [Pipeline] echo [2020-09-29T18:41:19.314Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:19.653Z] ---> create-netrc.sh [Pipeline] } [2020-09-29T18:41:19.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-29T18:41:19.812Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:20.147Z] ---> python-tools-install.sh [2020-09-29T18:41:20.148Z] Generating Requirements File [2020-09-29T18:42:41.736Z] Python 3.6.8 [2020-09-29T18:42:41.736Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-29T18:42:41.736Z] aiohttp==3.6.2 [2020-09-29T18:42:41.736Z] appdirs==1.4.3 [2020-09-29T18:42:41.736Z] argcomplete==1.12.1 [2020-09-29T18:42:41.736Z] aspy.yaml==1.3.0 [2020-09-29T18:42:41.736Z] async-timeout==3.0.1 [2020-09-29T18:42:41.736Z] attrs==19.3.0 [2020-09-29T18:42:41.736Z] Babel==2.8.0 [2020-09-29T18:42:41.736Z] beautifulsoup4==4.8.2 [2020-09-29T18:42:41.736Z] boto3==1.11.6 [2020-09-29T18:42:41.736Z] botocore==1.14.6 [2020-09-29T18:42:41.736Z] bs4==0.0.1 [2020-09-29T18:42:41.736Z] cachetools==4.1.1 [2020-09-29T18:42:41.736Z] certifi==2019.11.28 [2020-09-29T18:42:41.736Z] cffi==1.14.3 [2020-09-29T18:42:41.736Z] cfgv==2.0.1 [2020-09-29T18:42:41.736Z] chardet==3.0.4 [2020-09-29T18:42:41.736Z] click==7.1 [2020-09-29T18:42:41.736Z] cliff==3.4.0 [2020-09-29T18:42:41.736Z] cmd2==1.3.10 [2020-09-29T18:42:41.736Z] colorama==0.4.3 [2020-09-29T18:42:41.736Z] cryptography==3.1.1 [2020-09-29T18:42:41.736Z] debtcollector==2.2.0 [2020-09-29T18:42:41.736Z] decorator==4.4.2 [2020-09-29T18:42:41.736Z] defusedxml==0.6.0 [2020-09-29T18:42:41.736Z] Deprecated==1.2.7 [2020-09-29T18:42:41.736Z] distlib==0.3.1 [2020-09-29T18:42:41.736Z] distro==1.2.0 [2020-09-29T18:42:41.736Z] dnspython==1.16.0 [2020-09-29T18:42:41.736Z] docker==4.2.0 [2020-09-29T18:42:41.736Z] docutils==0.15.2 [2020-09-29T18:42:41.736Z] dogpile.cache==1.0.2 [2020-09-29T18:42:41.736Z] email-validator==1.0.5 [2020-09-29T18:42:41.736Z] filelock==3.0.12 [2020-09-29T18:42:41.736Z] future==0.18.2 [2020-09-29T18:42:41.736Z] google-auth==1.22.0 [2020-09-29T18:42:41.736Z] httplib2==0.17.0 [2020-09-29T18:42:41.736Z] identify==1.4.11 [2020-09-29T18:42:41.736Z] idna==2.9 [2020-09-29T18:42:41.736Z] idna-ssl==1.1.0 [2020-09-29T18:42:41.736Z] importlib-metadata==1.7.0 [2020-09-29T18:42:41.736Z] importlib-resources==1.5.0 [2020-09-29T18:42:41.736Z] iso8601==0.1.13 [2020-09-29T18:42:41.736Z] Jinja2==2.11.1 [2020-09-29T18:42:41.736Z] jmespath==0.10.0 [2020-09-29T18:42:41.736Z] jsonpatch==1.26 [2020-09-29T18:42:41.736Z] jsonpointer==2.0 [2020-09-29T18:42:41.736Z] jsonschema==3.2.0 [2020-09-29T18:42:41.736Z] keystoneauth1==4.2.1 [2020-09-29T18:42:41.736Z] kubernetes==11.0.0 [2020-09-29T18:42:41.736Z] lftools==0.34.2 [2020-09-29T18:42:41.736Z] lxml==4.5.0 [2020-09-29T18:42:41.736Z] MarkupSafe==0.23 [2020-09-29T18:42:41.736Z] msgpack==1.0.0 [2020-09-29T18:42:41.736Z] multi-key-dict==2.0.3 [2020-09-29T18:42:41.736Z] multidict==4.7.6 [2020-09-29T18:42:41.736Z] munch==2.5.0 [2020-09-29T18:42:41.736Z] netaddr==0.8.0 [2020-09-29T18:42:41.736Z] netifaces==0.10.9 [2020-09-29T18:42:41.736Z] niet==1.4.2 [2020-09-29T18:42:41.736Z] nodeenv==1.3.5 [2020-09-29T18:42:41.736Z] oauth2client==4.1.3 [2020-09-29T18:42:41.736Z] oauthlib==3.1.0 [2020-09-29T18:42:41.736Z] openstacksdk==0.50.0 [2020-09-29T18:42:41.736Z] os-client-config==2.1.0 [2020-09-29T18:42:41.736Z] os-service-types==1.7.0 [2020-09-29T18:42:41.736Z] osc-lib==2.2.1 [2020-09-29T18:42:41.736Z] oslo.config==8.3.2 [2020-09-29T18:42:41.736Z] oslo.context==3.1.1 [2020-09-29T18:42:41.736Z] oslo.i18n==5.0.1 [2020-09-29T18:42:41.736Z] oslo.log==4.4.0 [2020-09-29T18:42:41.736Z] oslo.serialization==4.0.1 [2020-09-29T18:42:41.736Z] oslo.utils==4.6.0 [2020-09-29T18:42:41.736Z] packaging==20.4 [2020-09-29T18:42:41.736Z] pbr==5.4.4 [2020-09-29T18:42:41.736Z] pluggy==0.13.1 [2020-09-29T18:42:41.736Z] prettytable==0.7.2 [2020-09-29T18:42:41.736Z] py==1.9.0 [2020-09-29T18:42:41.736Z] pyasn1==0.4.8 [2020-09-29T18:42:41.736Z] pyasn1-modules==0.2.8 [2020-09-29T18:42:41.736Z] pycparser==2.20 [2020-09-29T18:42:41.736Z] pygerrit2==2.0.10 [2020-09-29T18:42:41.736Z] PyGithub==1.46 [2020-09-29T18:42:41.736Z] pyinotify==0.9.6 [2020-09-29T18:42:41.736Z] PyJWT==1.7.1 [2020-09-29T18:42:41.736Z] pyparsing==2.4.7 [2020-09-29T18:42:41.736Z] pyperclip==1.8.0 [2020-09-29T18:42:41.736Z] pyroute2==0.4.13 [2020-09-29T18:42:41.736Z] pyrsistent==0.15.7 [2020-09-29T18:42:41.736Z] PySocks==1.6.8 [2020-09-29T18:42:41.736Z] python-cinderclient==7.2.0 [2020-09-29T18:42:41.736Z] python-dateutil==2.8.1 [2020-09-29T18:42:41.736Z] python-heatclient==2.2.1 [2020-09-29T18:42:41.736Z] python-jenkins==1.7.0 [2020-09-29T18:42:41.736Z] python-keystoneclient==4.1.1 [2020-09-29T18:42:41.736Z] python-magnumclient==3.2.1 [2020-09-29T18:42:41.736Z] python-novaclient==17.2.1 [2020-09-29T18:42:41.736Z] python-openstackclient==5.3.1 [2020-09-29T18:42:41.736Z] python-swiftclient==3.10.1 [2020-09-29T18:42:41.736Z] pytz==2020.1 [2020-09-29T18:42:41.736Z] PyYAML==5.3 [2020-09-29T18:42:41.736Z] requests==2.23.0 [2020-09-29T18:42:41.736Z] requests-oauthlib==1.3.0 [2020-09-29T18:42:41.736Z] requestsexceptions==1.4.0 [2020-09-29T18:42:41.736Z] rfc3986==1.4.0 [2020-09-29T18:42:41.736Z] rpm==4.11.3 [2020-09-29T18:42:41.736Z] rsa==4.0 [2020-09-29T18:42:41.736Z] ruamel.yaml==0.16.10 [2020-09-29T18:42:41.736Z] ruamel.yaml.clib==0.2.0 [2020-09-29T18:42:41.736Z] s3transfer==0.3.3 [2020-09-29T18:42:41.736Z] shade==1.27.2 [2020-09-29T18:42:41.736Z] simplejson==3.17.2 [2020-09-29T18:42:41.736Z] six==1.14.0 [2020-09-29T18:42:41.736Z] soupsieve==2.0 [2020-09-29T18:42:41.736Z] stevedore==3.2.2 [2020-09-29T18:42:41.736Z] tabulate==0.8.6 [2020-09-29T18:42:41.736Z] toml==0.10.0 [2020-09-29T18:42:41.736Z] tox==3.20.0 [2020-09-29T18:42:41.736Z] tqdm==4.43.0 [2020-09-29T18:42:41.736Z] typing-extensions==3.7.4.3 [2020-09-29T18:42:41.736Z] urllib3==1.25.8 [2020-09-29T18:42:41.736Z] virtualenv==20.0.31 [2020-09-29T18:42:41.736Z] wcwidth==0.2.5 [2020-09-29T18:42:41.736Z] websocket-client==0.57.0 [2020-09-29T18:42:41.736Z] wrapt==1.12.1 [2020-09-29T18:42:41.736Z] xdg==3.0.2 [2020-09-29T18:42:41.736Z] xmltodict==0.12.0 [2020-09-29T18:42:41.736Z] yarl==1.6.0 [2020-09-29T18:42:41.736Z] yq==2.11.1 [2020-09-29T18:42:41.736Z] zipp==3.2.0 [2020-09-29T18:42:41.736Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:41.736Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T18:42:41.736Z] Python 2.7.5 [2020-09-29T18:42:41.736Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-29T18:42:41.736Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T18:42:41.736Z] ansible==2.9.7 [2020-09-29T18:42:41.736Z] Babel==0.9.6 [2020-09-29T18:42:41.736Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-29T18:42:41.736Z] beautifulsoup4==4.4.1 [2020-09-29T18:42:41.736Z] bodhi==2.11.0 [2020-09-29T18:42:41.736Z] bodhi-client==2.11.0 [2020-09-29T18:42:41.736Z] CCColUtils==1.4 [2020-09-29T18:42:41.736Z] cffi==1.6.0 [2020-09-29T18:42:41.736Z] chardet==2.2.1 [2020-09-29T18:42:41.736Z] click==6.7 [2020-09-29T18:42:41.736Z] cloud-init==18.5 [2020-09-29T18:42:41.736Z] configobj==4.7.2 [2020-09-29T18:42:41.736Z] cryptography==1.7.2 [2020-09-29T18:42:41.736Z] decorator==3.4.0 [2020-09-29T18:42:41.736Z] distro==1.2.0 [2020-09-29T18:42:41.736Z] enum34==1.0.4 [2020-09-29T18:42:41.736Z] fedpkg==1.38 [2020-09-29T18:42:41.736Z] futures==3.1.1 [2020-09-29T18:42:41.736Z] gitdb==0.6.4 [2020-09-29T18:42:41.736Z] GitPython==1.0.1 [2020-09-29T18:42:41.736Z] html5lib==0.999 [2020-09-29T18:42:41.736Z] httplib2==0.9.2 [2020-09-29T18:42:41.736Z] idna==2.4 [2020-09-29T18:42:41.736Z] iniparse==0.4 [2020-09-29T18:42:41.736Z] ipaddress==1.0.16 [2020-09-29T18:42:41.736Z] IPy==0.75 [2020-09-29T18:42:41.736Z] javapackages==1.0.0 [2020-09-29T18:42:41.736Z] Jinja2==2.7.2 [2020-09-29T18:42:41.736Z] jmespath==0.9.4 [2020-09-29T18:42:41.736Z] jsonpatch==1.2 [2020-09-29T18:42:41.736Z] jsonpointer==1.9 [2020-09-29T18:42:41.736Z] kerberos==1.1 [2020-09-29T18:42:41.736Z] kitchen==1.1.1 [2020-09-29T18:42:41.736Z] langtable==0.0.31 [2020-09-29T18:42:41.736Z] lockfile==0.9.1 [2020-09-29T18:42:41.736Z] lxml==3.2.1 [2020-09-29T18:42:41.736Z] MarkupSafe==0.11 [2020-09-29T18:42:41.736Z] munch==2.0.2 [2020-09-29T18:42:41.736Z] offtrac==0.1.0 [2020-09-29T18:42:41.736Z] openidc-client==0.6.0 [2020-09-29T18:42:41.736Z] packagedb-cli==2.14.1 [2020-09-29T18:42:41.736Z] paramiko==2.1.1 [2020-09-29T18:42:41.736Z] perf==0.1 [2020-09-29T18:42:41.736Z] ply==3.4 [2020-09-29T18:42:41.736Z] policycoreutils-default-encoding==0.1 [2020-09-29T18:42:41.736Z] prettytable==0.7.2 [2020-09-29T18:42:41.736Z] pyasn1==0.1.9 [2020-09-29T18:42:41.736Z] pycparser==2.14 [2020-09-29T18:42:41.736Z] pycurl==7.19.0 [2020-09-29T18:42:41.736Z] pygobject==3.22.0 [2020-09-29T18:42:41.736Z] pygpgme==0.3 [2020-09-29T18:42:41.736Z] pyliblzma==0.5.3 [2020-09-29T18:42:41.736Z] pyOpenSSL==0.13.1 [2020-09-29T18:42:41.736Z] pyparsing==1.5.6 [2020-09-29T18:42:41.736Z] pyserial==2.6 [2020-09-29T18:42:41.736Z] python-augeas==0.5.0 [2020-09-29T18:42:41.736Z] python-bugzilla==2.3.0 [2020-09-29T18:42:41.736Z] python-dateutil==1.5 [2020-09-29T18:42:41.736Z] python-fedora==0.10.0 [2020-09-29T18:42:41.736Z] python-linux-procfs==0.4.9 [2020-09-29T18:42:41.736Z] python-yubico==1.2.3 [2020-09-29T18:42:41.736Z] pyudev==0.15 [2020-09-29T18:42:41.736Z] pyusb==1.0.0b1 [2020-09-29T18:42:41.736Z] pyxattr==0.5.1 [2020-09-29T18:42:41.736Z] PyYAML==3.10 [2020-09-29T18:42:41.736Z] requests==2.6.0 [2020-09-29T18:42:41.736Z] requests-kerberos==0.7.0 [2020-09-29T18:42:41.736Z] rpkg==1.60 [2020-09-29T18:42:41.736Z] schedutils==0.4 [2020-09-29T18:42:41.736Z] seobject==0.1 [2020-09-29T18:42:41.736Z] sepolicy==1.1 [2020-09-29T18:42:41.736Z] six==1.9.0 [2020-09-29T18:42:41.736Z] smmap==0.9.0 [2020-09-29T18:42:41.736Z] urlgrabber==3.10 [2020-09-29T18:42:41.736Z] urllib3==1.10.2 [2020-09-29T18:42:41.736Z] virtualenv==15.1.0 [2020-09-29T18:42:41.736Z] yum-langpacks==0.4.2 [2020-09-29T18:42:41.736Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-29T18:42:42.031Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:42:42.374Z] ---> sudo-logs.sh [2020-09-29T18:42:42.374Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-29T18:42:42.667Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:42:43.008Z] ---> job-cost.sh [2020-09-29T18:42:43.008Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YkYv [2020-09-29T18:42:53.050Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:53.050Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.443Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.443Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.706Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.707Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.707Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:54.971Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:55.236Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:55.236Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:55.500Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:55.500Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:55.500Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:42:58.072Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-29T18:43:30.362Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-29T18:43:30.362Z] [2020-09-29T18:43:30.362Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-29T18:43:30.362Z] [2020-09-29T18:43:30.362Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-29T18:43:30.362Z] lf-activate-venv(): INFO: Adding /tmp/venv-YkYv/bin to PATH [2020-09-29T18:43:30.362Z] INFO: No Stack... [2020-09-29T18:43:30.362Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-29T18:43:30.362Z] INFO: Archiving Costs [Pipeline] echo [2020-09-29T18:43:30.397Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:43:30.756Z] ---> logs-deploy.sh [2020-09-29T18:43:30.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-47/1 [2020-09-29T18:43:30.756Z] INFO: archiving workspace using pattern(s): [2020-09-29T18:43:32.148Z] Archives upload complete. [2020-09-29T18:43:32.413Z] INFO: archiving logs to Nexus