Pull request #40 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a+43efee3cfdd526bf845b5582b1730bb1b93e3b78 (c823a77b57e9d256c4e15f64a39c7c8e838a72ca) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-199 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [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-40 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 Fetching without tags > 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/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # 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/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) > git config core.sparsecheckout # timeout=10 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T09:12:35.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T09:12:35.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T09:12:35.638Z] ========================================================= [2020-09-17T09:12:35.639Z] EdgeX Global Pipelines Version Info [2020-09-17T09:12:35.639Z] ========================================================= > git rev-list --no-walk bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:12:37.145Z] ------------------- [2020-09-17T09:12:37.145Z] stable info: [2020-09-17T09:12:37.145Z] ------------------- [2020-09-17T09:12:37.145Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T09:12:37.145Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T09:12:37.145Z] Message: update stable to v1.0.122 [2020-09-17T09:12:38.093Z] ------------------- [2020-09-17T09:12:38.093Z] experimental info: [2020-09-17T09:12:38.093Z] ------------------- [2020-09-17T09:12:38.093Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T09:12:38.093Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T09:12:38.093Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T09:12:38.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-17T09:12:38.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-17T09:12:38.685Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T09:12:38.775Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T09:12:38.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T09:12:38.963Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T09:12:39.108Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T09:12:39.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T09:12:39.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T09:12:39.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T09:12:39.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T09:12:39.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-17T09:12:39.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T09:12:40.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T09:12:40.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T09:12:40.541Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T09:12:40.787Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T09:12:41.042Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T09:12:41.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T09:12:41.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T09:12:41.387Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T09:12:41.485Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T09:12:41.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo [2020-09-17T09:12:41.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo [2020-09-17T09:12:41.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo [2020-09-17T09:12:41.890Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [Pipeline] echo [2020-09-17T09:12:41.976Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 069cb69 [Pipeline] echo [2020-09-17T09:12:42.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T09:12:42.698Z] + git log --format=format:%s -1 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [Pipeline] echo [2020-09-17T09:12:42.761Z] GIT_COMMIT: 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo [2020-09-17T09:12:42.808Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:43.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:12:43.652Z] [2020-09-17T09:12:43.652Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:12:44.008Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:12:44.008Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T09:12:44.008Z] 31603596830f: Pulling fs layer [2020-09-17T09:12:44.008Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T09:12:44.008Z] 6ca5941a6612: Pulling fs layer [2020-09-17T09:12:44.008Z] ecc8261a40a4: Pulling fs layer [2020-09-17T09:12:44.008Z] ecc8261a40a4: Waiting [2020-09-17T09:12:44.008Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T09:12:44.273Z] 31603596830f: Verifying Checksum [2020-09-17T09:12:44.273Z] 31603596830f: Download complete [2020-09-17T09:12:44.273Z] ecc8261a40a4: Verifying Checksum [2020-09-17T09:12:44.273Z] ecc8261a40a4: Download complete [2020-09-17T09:12:44.273Z] 6ca5941a6612: Verifying Checksum [2020-09-17T09:12:44.273Z] 6ca5941a6612: Download complete [2020-09-17T09:12:44.538Z] 31603596830f: Pull complete [2020-09-17T09:12:44.538Z] 2a8b12db71e7: Pull complete [2020-09-17T09:12:45.496Z] 6ca5941a6612: Pull complete [2020-09-17T09:12:45.758Z] ecc8261a40a4: Pull complete [2020-09-17T09:12:45.758Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T09:12:45.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:12:45.758Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T09:12:45.862Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2020-09-17T09:12:45.914Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-40 -v /w/workspace/dgexfoundry_device-rest-go_PR-40:/w/workspace/dgexfoundry_device-rest-go_PR-40:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T09:12:48.048Z] $ docker top 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:12:48.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:12:48.327Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:12:48.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:12:48.528Z] $ docker exec 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent [2020-09-17T09:12:48.692Z] SSH_AUTH_SOCK=/tmp/ssh-NEy9Ll0xLlvO/agent.11 [2020-09-17T09:12:48.692Z] SSH_AGENT_PID=16 [2020-09-17T09:12:48.703Z] Running ssh-add (command line suppressed) [2020-09-17T09:12:48.825Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7741409365337058393.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7741409365337058393.key) [2020-09-17T09:12:48.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:12:49.209Z] + git describe --exact-match --tags HEAD [2020-09-17T09:12:49.209Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T09:12:49.235Z] $ docker exec --env ******** --env ******** 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent -k [2020-09-17T09:12:49.345Z] unset SSH_AUTH_SOCK; [2020-09-17T09:12:49.346Z] unset SSH_AGENT_PID; [2020-09-17T09:12:49.346Z] echo Agent pid 16 killed; [2020-09-17T09:12:49.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T09:12:49.488Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T09:12:49.488Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T09:12:49.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:12:49.590Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:12:49.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:12:49.757Z] $ docker exec 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent [2020-09-17T09:12:49.922Z] SSH_AUTH_SOCK=/tmp/ssh-dHdr5ouOVJIB/agent.45 [2020-09-17T09:12:49.922Z] SSH_AGENT_PID=50 [2020-09-17T09:12:49.929Z] Running ssh-add (command line suppressed) [2020-09-17T09:12:50.056Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_242840184366587201.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_242840184366587201.key) [2020-09-17T09:12:50.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:12:50.710Z] + git semver init [2020-09-17T09:12:50.710Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:12:50.710Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.git [2020-09-17T09:12:50.710Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-40 [2020-09-17T09:12:50.710Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:12:50.710Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:12:50.710Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:12:50.710Z] # $SEMVER_BRANCH = PR-40 [2020-09-17T09:12:50.710Z] # $SEMVER_TEMP = /tmp/semver-072426139 [2020-09-17T09:12:50.710Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-17T09:12:51.709Z] # '/tmp/semver-072426139' -> '/w/workspace/dgexfoundry_device-rest-go_PR-40/.semver' [2020-09-17T09:12:51.710Z] # -> Force: false [2020-09-17T09:12:51.710Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.semver [Pipeline] } [2020-09-17T09:12:51.725Z] $ docker exec --env ******** --env ******** 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent -k [2020-09-17T09:12:51.847Z] unset SSH_AUTH_SOCK; [2020-09-17T09:12:51.847Z] unset SSH_AGENT_PID; [2020-09-17T09:12:51.848Z] echo Agent pid 50 killed; [2020-09-17T09:12:51.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:12:52.418Z] + git semver [Pipeline] } [2020-09-17T09:12:52.450Z] $ docker stop --time=1 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 [2020-09-17T09:12:53.887Z] $ docker rm -f 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T09:12:55.369Z] Stashed 21 file(s) [Pipeline] echo [2020-09-17T09:12:55.372Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T09:12:55.495Z] 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-17T09:13:11.034Z] Still waiting to schedule task [2020-09-17T09:13:11.034Z] ‘prd-centos7-builder-2c-1g-185’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-133’ is offline; ‘prd-centos7-docker-4c-2g-168’ is offline; ‘prd-centos7-docker-4c-2g-169’ is offline; ‘prd-centos7-docker-4c-2g-174’ is offline; ‘prd-centos7-docker-4c-2g-175’ is offline; ‘prd-centos7-docker-4c-2g-176’ is offline; ‘prd-centos7-docker-4c-2g-177’ is offline; ‘prd-centos7-docker-4c-2g-178’ is offline; ‘prd-centos7-docker-4c-2g-181’ is offline; ‘prd-centos7-docker-4c-2g-182’ is offline; ‘prd-centos7-docker-4c-2g-184’ is offline; ‘prd-centos7-docker-4c-2g-189’ is offline; ‘prd-centos7-docker-4c-2g-190’ is offline; ‘prd-centos7-docker-4c-2g-195’ is offline; ‘prd-centos7-docker-4c-2g-201’ is offline; ‘prd-centos7-docker-8c-8g-192’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-8c-8g-194’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-193’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-145’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-179’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-180’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-186’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-187’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-188’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-17T09:13:11.037Z] Still waiting to schedule task [2020-09-17T09:13:11.038Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-17T09:15:47.927Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-204 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws [2020-09-17T09:15:47.982Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-09-17T09:15:53.395Z] using credential edgex-jenkins-ssh [2020-09-17T09:15:53.473Z] Cloning the remote Git repository [2020-09-17T09:15:53.473Z] Cloning with configured refspecs honoured and without tags [2020-09-17T09:15:53.542Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:15:53.664Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-09-17T09:15:53.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:15:53.742Z] > git --version # timeout=10 [2020-09-17T09:15:53.765Z] > git --version # 'git version 2.17.1' [2020-09-17T09:15:53.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:15:53.854Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:15:55.521Z] Fetching without tags [2020-09-17T09:15:55.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T09:15:55.430Z] > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 [2020-09-17T09:15:55.457Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:15:55.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T09:15:56.015Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:15:56.230Z] Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:15:56.231Z] Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) [2020-09-17T09:15:55.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:15:55.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:15:55.554Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:15:56.042Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:15:56.063Z] > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 [2020-09-17T09:15:56.150Z] > git remote # timeout=10 [2020-09-17T09:15:56.166Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T09:15:56.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:15:56.187Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-17T09:15:56.215Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T09:15:56.247Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:15:56.262Z] > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 [2020-09-17T09:16:00.792Z] Commit message: "build: Upgrade to Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T09:16:03.098Z] ========================================================= [2020-09-17T09:16:03.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T09:16:03.098Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:04.125Z] + 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-17T09:16:05.125Z] Sending build context to Docker daemon 8.048MB [2020-09-17T09:16:05.125Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T09:16:05.125Z] Step 2/10 : FROM ${BASE} [2020-09-17T09:16:05.402Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T09:16:05.402Z] b538f80385f9: Pulling fs layer [2020-09-17T09:16:05.402Z] 74f711af9a0d: Pulling fs layer [2020-09-17T09:16:05.402Z] 99f96fe45779: Pulling fs layer [2020-09-17T09:16:05.402Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T09:16:05.402Z] 45590311c82a: Pulling fs layer [2020-09-17T09:16:05.402Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T09:16:05.402Z] 209524e5b208: Pulling fs layer [2020-09-17T09:16:05.402Z] 45590311c82a: Waiting [2020-09-17T09:16:05.402Z] 69ca0ff8b7b3: Waiting [2020-09-17T09:16:05.402Z] 209524e5b208: Waiting [2020-09-17T09:16:05.402Z] 8529a6b9a6be: Waiting [2020-09-17T09:16:05.402Z] 99f96fe45779: Verifying Checksum [2020-09-17T09:16:05.402Z] 99f96fe45779: Download complete [2020-09-17T09:16:05.402Z] 74f711af9a0d: Verifying Checksum [2020-09-17T09:16:05.402Z] 74f711af9a0d: Download complete [2020-09-17T09:16:05.402Z] 45590311c82a: Verifying Checksum [2020-09-17T09:16:05.402Z] 45590311c82a: Download complete [2020-09-17T09:16:05.402Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T09:16:05.402Z] 69ca0ff8b7b3: Download complete [2020-09-17T09:16:06.006Z] b538f80385f9: Download complete [2020-09-17T09:16:07.002Z] b538f80385f9: Pull complete [2020-09-17T09:16:07.282Z] 74f711af9a0d: Pull complete [2020-09-17T09:16:07.887Z] 99f96fe45779: Pull complete [2020-09-17T09:16:08.498Z] 209524e5b208: Verifying Checksum [2020-09-17T09:16:08.498Z] 209524e5b208: Download complete [2020-09-17T09:16:09.948Z] 8529a6b9a6be: Download complete [2020-09-17T09:16:20.154Z] 8529a6b9a6be: Pull complete [2020-09-17T09:16:20.756Z] 45590311c82a: Pull complete [2020-09-17T09:16:21.034Z] 69ca0ff8b7b3: Pull complete [2020-09-17T09:16:25.373Z] 209524e5b208: Pull complete [2020-09-17T09:16:25.374Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T09:16:25.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T09:16:25.374Z] ---> 5bddaf1c2fca [2020-09-17T09:16:25.374Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:16:28.074Z] ---> Running in dc53aab4026e [2020-09-17T09:16:28.377Z] Removing intermediate container dc53aab4026e [2020-09-17T09:16:28.378Z] ---> 979a3bb9f579 [2020-09-17T09:16:28.378Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:16:28.378Z] ---> Running in 8e75d7f4dfee [2020-09-17T09:16:28.999Z] Removing intermediate container 8e75d7f4dfee [2020-09-17T09:16:28.999Z] ---> a6c6f5316ae8 [2020-09-17T09:16:28.999Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T09:16:28.999Z] ---> Running in 490d3fbc8dd6 [2020-09-17T09:16:29.637Z] Removing intermediate container 490d3fbc8dd6 [2020-09-17T09:16:29.637Z] ---> 29a9b7ea7656 [2020-09-17T09:16:29.637Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:16:29.637Z] ---> Running in e683fa8c08c0 [2020-09-17T09:16:33.142Z] Removing intermediate container e683fa8c08c0 [2020-09-17T09:16:33.142Z] ---> 1d841a4784e1 [2020-09-17T09:16:33.142Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:16:33.142Z] ---> Running in ba6a78b77b21 [2020-09-17T09:16:34.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:16:36.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:16:38.855Z] OK: 142 MiB in 39 packages [2020-09-17T09:16:39.543Z] Removing intermediate container ba6a78b77b21 [2020-09-17T09:16:39.543Z] ---> 228ff59cac3f [2020-09-17T09:16:39.543Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T09:16:39.543Z] ---> Running in 1a51920c1d29 [2020-09-17T09:16:40.234Z] Removing intermediate container 1a51920c1d29 [2020-09-17T09:16:40.234Z] ---> e35f207421d3 [2020-09-17T09:16:40.234Z] Step 9/10 : COPY . . [2020-09-17T09:16:41.362Z] ---> 59446d92d84d [2020-09-17T09:16:41.362Z] Step 10/10 : RUN go mod download [2020-09-17T09:16:41.678Z] ---> Running in b7cf1f8c97dd [2020-09-17T09:16:56.464Z] Running on prd-centos7-docker-4c-2g-209 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws [2020-09-17T09:16:56.544Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-09-17T09:16:56.984Z] Removing intermediate container b7cf1f8c97dd [2020-09-17T09:16:56.984Z] ---> 429332dcb3dc [2020-09-17T09:16:56.984Z] Successfully built 429332dcb3dc [2020-09-17T09:16:56.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:16:57.512Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T09:16:57.512Z] . [Pipeline] withDockerContainer [2020-09-17T09:16:57.792Z] prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container [2020-09-17T09:16:57.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-arm64 cat [2020-09-17T09:16:59.850Z] $ docker top e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 -eo pid,comm [2020-09-17T09:16:59.926Z] using credential edgex-jenkins-ssh [2020-09-17T09:16:59.979Z] Cloning the remote Git repository [2020-09-17T09:16:59.979Z] Cloning with configured refspecs honoured and without tags [Pipeline] { [Pipeline] sh [2020-09-17T09:17:00.005Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:17:00.164Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-09-17T09:17:00.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:17:00.215Z] > git --version # timeout=10 [2020-09-17T09:17:00.222Z] > git --version # 'git version 2.16.5' [2020-09-17T09:17:00.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:17:00.247Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:17:01.117Z] Fetching without tags [2020-09-17T09:17:01.277Z] + go version [2020-09-17T09:17:01.277Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T09:17:01.310Z] $ docker stop --time=1 e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 [2020-09-17T09:17:01.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T09:17:01.095Z] > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 [2020-09-17T09:17:01.101Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:17:01.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-17T09:17:01.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-17T09:17:01.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:17:01.127Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:17:01.856Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:17:01.938Z] Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:17:01.939Z] Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) [2020-09-17T09:17:01.866Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:17:01.869Z] > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 [2020-09-17T09:17:01.909Z] > git remote # timeout=10 [2020-09-17T09:17:01.914Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T09:17:01.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:17:01.922Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-17T09:17:01.933Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T09:17:01.943Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:17:01.948Z] > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 [2020-09-17T09:17:03.330Z] $ docker rm -f e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:17:04.513Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T09:17:04.513Z] . [Pipeline] withDockerContainer [2020-09-17T09:17:04.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container [2020-09-17T09:17:04.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-arm64 cat [2020-09-17T09:17:05.685Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T09:17:06.920Z] $ docker top 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T09:17:08.358Z] ========================================================= [2020-09-17T09:17:08.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T09:17:08.358Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:17:08.452Z] + make test [2020-09-17T09:17:08.452Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-17T09:17:09.019Z] + 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-17T09:17:09.284Z] Sending build context to Docker daemon 8.048MB [2020-09-17T09:17:09.284Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T09:17:09.284Z] Step 2/10 : FROM ${BASE} [2020-09-17T09:17:09.464Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-17T09:17:09.547Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T09:17:09.547Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:17:09.547Z] ed8968b2872e: Pulling fs layer [2020-09-17T09:17:09.547Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T09:17:09.547Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T09:17:09.547Z] e73272ec9a57: Pulling fs layer [2020-09-17T09:17:09.547Z] 1e910a182e73: Pulling fs layer [2020-09-17T09:17:09.547Z] 4e634b169226: Pulling fs layer [2020-09-17T09:17:09.547Z] e871e8e8d7a9: Waiting [2020-09-17T09:17:09.547Z] e73272ec9a57: Waiting [2020-09-17T09:17:09.547Z] 1e910a182e73: Waiting [2020-09-17T09:17:09.547Z] 4e634b169226: Waiting [2020-09-17T09:17:09.547Z] a92cc7c5fd73: Download complete [2020-09-17T09:17:09.547Z] ed8968b2872e: Verifying Checksum [2020-09-17T09:17:09.547Z] ed8968b2872e: Download complete [2020-09-17T09:17:09.547Z] e73272ec9a57: Verifying Checksum [2020-09-17T09:17:09.547Z] e73272ec9a57: Download complete [2020-09-17T09:17:09.547Z] 1e910a182e73: Verifying Checksum [2020-09-17T09:17:09.547Z] 1e910a182e73: Download complete [2020-09-17T09:17:09.547Z] df20fa9351a1: Verifying Checksum [2020-09-17T09:17:09.547Z] df20fa9351a1: Download complete [2020-09-17T09:17:09.814Z] df20fa9351a1: Pull complete [2020-09-17T09:17:10.401Z] ed8968b2872e: Pull complete [2020-09-17T09:17:10.401Z] a92cc7c5fd73: Pull complete [2020-09-17T09:17:12.961Z] 4e634b169226: Verifying Checksum [2020-09-17T09:17:12.961Z] 4e634b169226: Download complete [2020-09-17T09:17:14.361Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T09:17:14.361Z] e871e8e8d7a9: Download complete [2020-09-17T09:17:19.730Z] e871e8e8d7a9: Pull complete [2020-09-17T09:17:19.730Z] e73272ec9a57: Pull complete [2020-09-17T09:17:19.730Z] 1e910a182e73: Pull complete [2020-09-17T09:17:27.907Z] 4e634b169226: Pull complete [2020-09-17T09:17:27.907Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T09:17:27.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T09:17:27.907Z] ---> f7629b54cfaa [2020-09-17T09:17:27.907Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:17:27.907Z] ---> Running in 4680e06d3022 [2020-09-17T09:17:27.907Z] Removing intermediate container 4680e06d3022 [2020-09-17T09:17:27.907Z] ---> 8b8f0f62685f [2020-09-17T09:17:27.907Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:17:27.907Z] ---> Running in 1861a7e870cd [2020-09-17T09:17:27.907Z] Removing intermediate container 1861a7e870cd [2020-09-17T09:17:27.907Z] ---> 9ae4a38bcf8e [2020-09-17T09:17:27.907Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T09:17:27.907Z] ---> Running in 49a3de5f7fd3 [2020-09-17T09:17:27.907Z] Removing intermediate container 49a3de5f7fd3 [2020-09-17T09:17:27.907Z] ---> ad1e0231b4ad [2020-09-17T09:17:27.907Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:17:27.907Z] ---> Running in 79c25dea368e [2020-09-17T09:17:29.340Z] Removing intermediate container 79c25dea368e [2020-09-17T09:17:29.340Z] ---> 197c2721747c [2020-09-17T09:17:29.340Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:17:29.340Z] ---> Running in b87f09b008f8 [2020-09-17T09:17:29.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:17:30.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:17:31.445Z] OK: 166 MiB in 39 packages [2020-09-17T09:17:31.711Z] Removing intermediate container b87f09b008f8 [2020-09-17T09:17:31.711Z] ---> da519fce925c [2020-09-17T09:17:31.711Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-17T09:17:31.711Z] ---> Running in 67ea4933ae0b [2020-09-17T09:17:31.974Z] Removing intermediate container 67ea4933ae0b [2020-09-17T09:17:31.974Z] ---> ca183a1f5ea7 [2020-09-17T09:17:31.974Z] Step 9/10 : COPY . . [2020-09-17T09:17:32.550Z] ---> 1fbe7761ce99 [2020-09-17T09:17:32.550Z] Step 10/10 : RUN go mod download [2020-09-17T09:17:32.550Z] ---> Running in c8f5de83bc4e [2020-09-17T09:17:41.946Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-17T09:17:41.946Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements [2020-09-17T09:17:41.946Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T09:17:44.841Z] Removing intermediate container c8f5de83bc4e [2020-09-17T09:17:44.841Z] ---> c7a4b51e5969 [2020-09-17T09:17:44.841Z] Successfully built c7a4b51e5969 [2020-09-17T09:17:44.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:17:45.194Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T09:17:45.195Z] . [Pipeline] withDockerContainer [2020-09-17T09:17:45.299Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-09-17T09:17:45.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-17T09:17:46.478Z] $ docker top 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:17:47.034Z] + go version [2020-09-17T09:17:47.034Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T09:17:47.051Z] $ docker stop --time=1 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 [2020-09-17T09:17:48.376Z] $ docker rm -f 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-09-17T09:17:48.702Z] gofmt -l . [2020-09-17T09:17:48.702Z] [ "`gofmt -l .`" = "" ] [2020-09-17T09:17:48.702Z] ./bin/test-go-mod-tidy.sh [2020-09-17T09:17:48.702Z] ./bin/test-attribution-txt.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:17:49.452Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T09:17:49.452Z] . [Pipeline] withDockerContainer [2020-09-17T09:17:49.552Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-09-17T09:17:49.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-17T09:17:49.780Z] Stashed 1 file(s) [2020-09-17T09:17:50.131Z] $ docker top 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d -eo pid,comm [Pipeline] { [Pipeline] } [2020-09-17T09:17:50.332Z] $ docker stop --time=1 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 [2020-09-17T09:17:52.602Z] $ docker rm -f 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-17T09:17:53.414Z] + make test [2020-09-17T09:17:53.414Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-17T09:17:53.998Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] sh [2020-09-17T09:17:54.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:17:54.913Z] + ls -al . [2020-09-17T09:17:54.914Z] total 128 [2020-09-17T09:17:54.914Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 09:17 . [2020-09-17T09:17:54.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:15 .. [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 09:15 .dockerignore [2020-09-17T09:17:54.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 09:16 .git [2020-09-17T09:17:54.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:15 .github [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 09:15 .gitignore [2020-09-17T09:17:54.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:16 .semver [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 09:15 Attribution.txt [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 09:15 Dockerfile [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 09:15 Dockerfile.build [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 09:15 Jenkinsfile [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 09:15 LICENSE [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 09:15 Makefile [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 09:15 README.md [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 09:12 VERSION [2020-09-17T09:17:54.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:15 bin [2020-09-17T09:17:54.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:15 cmd [2020-09-17T09:17:54.914Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 09:17 coverage.out [2020-09-17T09:17:54.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:17 driver [2020-09-17T09:17:54.914Z] -rw-r--r-- 1 jenkins jenkins 266 Sep 17 09:17 go.mod [2020-09-17T09:17:54.914Z] -rw-r--r-- 1 jenkins jenkins 12533 Sep 17 09:17 go.sum [2020-09-17T09:17:54.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:15 snap [2020-09-17T09:17:54.914Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 09:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:17:55.251Z] + 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=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a --label arch=arm64 --label version=0.0.0 . [2020-09-17T09:17:55.526Z] Sending build context to Docker daemon 8.059MB [2020-09-17T09:17:55.526Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-17T09:17:55.526Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T09:17:55.526Z] ---> 429332dcb3dc [2020-09-17T09:17:55.526Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T09:17:55.815Z] ---> Running in b7d8e51b3c67 [2020-09-17T09:17:56.416Z] Removing intermediate container b7d8e51b3c67 [2020-09-17T09:17:56.416Z] ---> 964639475c10 [2020-09-17T09:17:56.416Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:17:56.689Z] ---> Running in 669deb8cf9f1 [2020-09-17T09:17:56.972Z] Removing intermediate container 669deb8cf9f1 [2020-09-17T09:17:56.972Z] ---> 94f86fa76071 [2020-09-17T09:17:56.972Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:17:57.247Z] ---> Running in 298c37828fd5 [2020-09-17T09:17:57.521Z] Removing intermediate container 298c37828fd5 [2020-09-17T09:17:57.521Z] ---> 67e841107821 [2020-09-17T09:17:57.521Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:17:57.827Z] ---> Running in 04f622a8e6ae [2020-09-17T09:18:00.485Z] Removing intermediate container 04f622a8e6ae [2020-09-17T09:18:00.485Z] ---> 4a1777f7badf [2020-09-17T09:18:00.485Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:18:00.485Z] ---> Running in 1c73bf96536f [2020-09-17T09:18:01.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:18:02.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:18:03.102Z] OK: 142 MiB in 39 packages [2020-09-17T09:18:04.093Z] Removing intermediate container 1c73bf96536f [2020-09-17T09:18:04.093Z] ---> c5b1a90a4f4b [2020-09-17T09:18:04.093Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T09:18:04.140Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-17T09:18:04.140Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements [2020-09-17T09:18:04.140Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T09:18:04.384Z] ---> Running in 3009f0b30c4d [2020-09-17T09:18:04.694Z] Removing intermediate container 3009f0b30c4d [2020-09-17T09:18:04.694Z] ---> f209658c1e8e [2020-09-17T09:18:04.694Z] Step 9/25 : COPY go.mod . [2020-09-17T09:18:05.319Z] ---> fe91309a4f19 [2020-09-17T09:18:05.319Z] Step 10/25 : COPY Makefile . [2020-09-17T09:18:05.574Z] gofmt -l . [2020-09-17T09:18:05.574Z] [ "`gofmt -l .`" = "" ] [2020-09-17T09:18:05.574Z] ./bin/test-go-mod-tidy.sh [2020-09-17T09:18:05.574Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-17T09:18:05.847Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T09:18:06.124Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T09:18:06.131Z] $ docker stop --time=1 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d [2020-09-17T09:18:06.298Z] ---> 67acd6e2bb1a [2020-09-17T09:18:06.298Z] Step 11/25 : RUN make update [2020-09-17T09:18:06.298Z] ---> Running in f656f4d60283 [2020-09-17T09:18:07.726Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T09:18:08.392Z] $ docker rm -f 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-09-17T09:18:08.735Z] Removing intermediate container f656f4d60283 [2020-09-17T09:18:08.735Z] ---> 7284836e14c6 [2020-09-17T09:18:08.735Z] Step 12/25 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T09:18:09.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:18:09.661Z] + ls -al . [2020-09-17T09:18:09.661Z] total 96 [2020-09-17T09:18:09.661Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 09:18 . [2020-09-17T09:18:09.661Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 09:17 .. [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 09:17 Attribution.txt [2020-09-17T09:18:09.661Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 09:17 bin [2020-09-17T09:18:09.661Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 09:17 cmd [2020-09-17T09:18:09.661Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 09:18 coverage.out [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 09:17 Dockerfile [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 09:17 Dockerfile.build [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 09:17 .dockerignore [2020-09-17T09:18:09.661Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 09:18 driver [2020-09-17T09:18:09.661Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 09:17 .git [2020-09-17T09:18:09.661Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 09:17 .github [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 09:17 .gitignore [2020-09-17T09:18:09.661Z] -rw-r--r--. 1 jenkins jenkins 266 Sep 17 09:18 go.mod [2020-09-17T09:18:09.661Z] -rw-r--r--. 1 jenkins jenkins 12533 Sep 17 09:18 go.sum [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 09:17 Jenkinsfile [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 09:17 LICENSE [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 09:17 Makefile [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 09:17 README.md [2020-09-17T09:18:09.661Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 09:17 .semver [2020-09-17T09:18:09.661Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 09:17 snap [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 09:12 VERSION [2020-09-17T09:18:09.661Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 09:17 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:18:09.744Z] ---> 5cd175d3ce2b [2020-09-17T09:18:09.744Z] Step 13/25 : RUN $MAKE [2020-09-17T09:18:09.977Z] + 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=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a --label arch=amd64 --label version=0.0.0 . [2020-09-17T09:18:10.022Z] ---> Running in f130bc9cb0ff [2020-09-17T09:18:10.563Z] Sending build context to Docker daemon 8.059MB [2020-09-17T09:18:10.563Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-17T09:18:10.563Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-17T09:18:10.563Z] ---> c7a4b51e5969 [2020-09-17T09:18:10.563Z] Step 3/25 : ARG MAKE='make build' [2020-09-17T09:18:10.827Z] ---> Running in 934bc0bb8a0e [2020-09-17T09:18:10.827Z] Removing intermediate container 934bc0bb8a0e [2020-09-17T09:18:10.827Z] ---> fd7398691bdb [2020-09-17T09:18:10.827Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T09:18:10.827Z] ---> Running in 056230d84e5f [2020-09-17T09:18:11.090Z] Removing intermediate container 056230d84e5f [2020-09-17T09:18:11.090Z] ---> 63febc60dda1 [2020-09-17T09:18:11.090Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:18:11.090Z] ---> Running in 34e4f95eeb06 [2020-09-17T09:18:11.357Z] Removing intermediate container 34e4f95eeb06 [2020-09-17T09:18:11.357Z] ---> 1c23bc7bf8b6 [2020-09-17T09:18:11.357Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:18:11.357Z] ---> Running in 5099cb5a50ba [2020-09-17T09:18:11.474Z] 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-17T09:18:12.310Z] Removing intermediate container 5099cb5a50ba [2020-09-17T09:18:12.310Z] ---> 0e8e82679a30 [2020-09-17T09:18:12.310Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:18:12.310Z] ---> Running in b270e6151084 [2020-09-17T09:18:12.573Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:18:13.154Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:18:13.729Z] OK: 166 MiB in 39 packages [2020-09-17T09:18:14.307Z] Removing intermediate container b270e6151084 [2020-09-17T09:18:14.307Z] ---> b08a1675a9b6 [2020-09-17T09:18:14.307Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-17T09:18:14.307Z] ---> Running in 9bec97fc7f39 [2020-09-17T09:18:14.307Z] Removing intermediate container 9bec97fc7f39 [2020-09-17T09:18:14.307Z] ---> f7a5f1c33733 [2020-09-17T09:18:14.307Z] Step 9/25 : COPY go.mod . [2020-09-17T09:18:14.576Z] ---> 2d36ece4c643 [2020-09-17T09:18:14.576Z] Step 10/25 : COPY Makefile . [2020-09-17T09:18:14.838Z] ---> e10bfe714b1e [2020-09-17T09:18:14.838Z] Step 11/25 : RUN make update [2020-09-17T09:18:14.838Z] ---> Running in 6b0f7a109a9e [2020-09-17T09:18:15.409Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T09:18:15.671Z] Removing intermediate container 6b0f7a109a9e [2020-09-17T09:18:15.671Z] ---> 120e8261eca9 [2020-09-17T09:18:15.671Z] Step 12/25 : COPY . . [2020-09-17T09:18:16.247Z] ---> ba9704a8d44b [2020-09-17T09:18:16.247Z] Step 13/25 : RUN $MAKE [2020-09-17T09:18:16.247Z] ---> Running in 33eee0a2217f [2020-09-17T09:18:16.509Z] 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-17T09:18:26.602Z] Removing intermediate container 33eee0a2217f [2020-09-17T09:18:26.602Z] ---> 640b8e9f2ca8 [2020-09-17T09:18:26.602Z] Step 14/25 : FROM alpine:latest [2020-09-17T09:18:26.602Z] latest: Pulling from library/alpine [2020-09-17T09:18:26.602Z] df20fa9351a1: Already exists [2020-09-17T09:18:26.602Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:18:26.602Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:18:26.602Z] ---> a24bb4013296 [2020-09-17T09:18:26.602Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T09:18:26.602Z] ---> Running in 01d268b89fdc [2020-09-17T09:18:26.864Z] Removing intermediate container 01d268b89fdc [2020-09-17T09:18:26.864Z] ---> 276ec56860d8 [2020-09-17T09:18:26.864Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T09:18:26.864Z] ---> Running in 038175ebc7ed [2020-09-17T09:18:27.128Z] Removing intermediate container 038175ebc7ed [2020-09-17T09:18:27.128Z] ---> 5b3808694bea [2020-09-17T09:18:27.128Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T09:18:27.128Z] ---> a11439bc0f08 [2020-09-17T09:18:27.128Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T09:18:27.392Z] ---> 4debfbe350a5 [2020-09-17T09:18:27.392Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T09:18:27.968Z] ---> 46ad5a1dba8f [2020-09-17T09:18:27.968Z] Step 20/25 : EXPOSE 49986 [2020-09-17T09:18:27.968Z] ---> Running in 767a6324370f [2020-09-17T09:18:28.230Z] Removing intermediate container 767a6324370f [2020-09-17T09:18:28.230Z] ---> 74bd3e5e56d2 [2020-09-17T09:18:28.230Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T09:18:28.230Z] ---> Running in 4aee8f03d2fb [2020-09-17T09:18:28.493Z] Removing intermediate container 4aee8f03d2fb [2020-09-17T09:18:28.493Z] ---> 7bb2b23ac172 [2020-09-17T09:18:28.493Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T09:18:28.493Z] ---> Running in 8d5f31f534cd [2020-09-17T09:18:28.754Z] Removing intermediate container 8d5f31f534cd [2020-09-17T09:18:28.754Z] ---> 93a56cda64d8 [2020-09-17T09:18:28.754Z] Step 23/25 : LABEL arch=amd64 [2020-09-17T09:18:28.754Z] ---> Running in 06aa5aa185bb [2020-09-17T09:18:29.017Z] Removing intermediate container 06aa5aa185bb [2020-09-17T09:18:29.017Z] ---> ea620a79922b [2020-09-17T09:18:29.017Z] Step 24/25 : LABEL git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:18:29.017Z] ---> Running in 784ff25845eb [2020-09-17T09:18:29.017Z] Removing intermediate container 784ff25845eb [2020-09-17T09:18:29.017Z] ---> 29365e3704b7 [2020-09-17T09:18:29.017Z] Step 25/25 : LABEL version=0.0.0 [2020-09-17T09:18:29.279Z] ---> Running in a974679d6671 [2020-09-17T09:18:29.279Z] Removing intermediate container a974679d6671 [2020-09-17T09:18:29.279Z] ---> ef78eca6cc4b [2020-09-17T09:18:29.279Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:18:29.279Z] Successfully built ef78eca6cc4b [2020-09-17T09:18:29.279Z] 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] } [2020-09-17T09:18:38.321Z] Removing intermediate container f130bc9cb0ff [2020-09-17T09:18:38.321Z] ---> 82a158bc5066 [2020-09-17T09:18:38.321Z] Step 14/25 : FROM alpine:latest [2020-09-17T09:18:38.321Z] latest: Pulling from library/alpine [2020-09-17T09:18:38.321Z] b538f80385f9: Already exists [2020-09-17T09:18:38.321Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:18:38.321Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:18:38.321Z] ---> 62ee0e9f8440 [2020-09-17T09:18:38.321Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-17T09:18:38.321Z] ---> Running in bd295db100d5 [2020-09-17T09:18:38.321Z] Removing intermediate container bd295db100d5 [2020-09-17T09:18:38.321Z] ---> 1eb037436d11 [2020-09-17T09:18:38.321Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-17T09:18:38.598Z] ---> Running in a332dd4ea150 [2020-09-17T09:18:38.881Z] Removing intermediate container a332dd4ea150 [2020-09-17T09:18:38.881Z] ---> f828ab691be5 [2020-09-17T09:18:38.881Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-17T09:18:39.866Z] ---> a8a01e674470 [2020-09-17T09:18:39.866Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-17T09:18:40.466Z] ---> 06bc6fd38884 [2020-09-17T09:18:40.466Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-17T09:18:41.918Z] ---> f7e386bd27fc [2020-09-17T09:18:41.918Z] Step 20/25 : EXPOSE 49986 [2020-09-17T09:18:42.196Z] ---> Running in 6acfe553e94b [2020-09-17T09:18:42.469Z] Removing intermediate container 6acfe553e94b [2020-09-17T09:18:42.469Z] ---> c5d224bb4fa4 [2020-09-17T09:18:42.469Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-17T09:18:42.749Z] ---> Running in c9a8e6e8ada0 [2020-09-17T09:18:43.346Z] Removing intermediate container c9a8e6e8ada0 [2020-09-17T09:18:43.347Z] ---> 44c32146587c [2020-09-17T09:18:43.347Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T09:18:43.347Z] ---> Running in a9ce13fd2e8b [2020-09-17T09:18:43.943Z] Removing intermediate container a9ce13fd2e8b [2020-09-17T09:18:43.943Z] ---> 6c571ef40628 [2020-09-17T09:18:43.943Z] Step 23/25 : LABEL arch=arm64 [2020-09-17T09:18:43.943Z] ---> Running in 6d43e0b4c44e [2020-09-17T09:18:44.541Z] Removing intermediate container 6d43e0b4c44e [2020-09-17T09:18:44.541Z] ---> aba3bd2e6823 [2020-09-17T09:18:44.541Z] Step 24/25 : LABEL git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [2020-09-17T09:18:44.541Z] ---> Running in 2f789ec0129f [2020-09-17T09:18:45.138Z] Removing intermediate container 2f789ec0129f [2020-09-17T09:18:45.138Z] ---> 639e4d4c2e49 [2020-09-17T09:18:45.138Z] Step 25/25 : LABEL version=0.0.0 [2020-09-17T09:18:45.412Z] ---> Running in cf46835ada4f [2020-09-17T09:18:45.686Z] Removing intermediate container cf46835ada4f [2020-09-17T09:18:45.686Z] ---> a7c076cb06ce [2020-09-17T09:18:45.686Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:18:45.686Z] Successfully built a7c076cb06ce [2020-09-17T09:18:45.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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-17T09:18:47.588Z] provisioning config files... [2020-09-17T09:18:47.601Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config8843926661262369759tmp [Pipeline] { [Pipeline] sh [2020-09-17T09:18:47.981Z] + curl -s https://codecov.io/bash [2020-09-17T09:18:47.981Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config8843926661262369759tmp [Pipeline] } [2020-09-17T09:18:48.255Z] 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-17T09:18:50.447Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:18:51.019Z] ---> package-listing.sh [2020-09-17T09:18:51.020Z] ++ facter osfamily [2020-09-17T09:18:51.020Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T09:18:51.020Z] + OS_FAMILY=redhat [2020-09-17T09:18:51.020Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-40 [2020-09-17T09:18:51.020Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T09:18:51.020Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T09:18:51.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T09:18:51.020Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T09:18:51.020Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' [2020-09-17T09:18:51.020Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T09:18:51.020Z] + case "${OS_FAMILY}" in [2020-09-17T09:18:51.020Z] + rpm -qa [2020-09-17T09:18:51.020Z] + sort [2020-09-17T09:18:55.236Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T09:18:55.236Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T09:18:55.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T09:18:55.236Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' [2020-09-17T09:18:55.236Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ [2020-09-17T09:18:55.236Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:18:55.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:18:55.720Z] [2020-09-17T09:18:55.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:18:56.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:18:56.072Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T09:18:56.072Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:18:56.072Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T09:18:56.072Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T09:18:56.072Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T09:18:56.072Z] 0dadc02b9964: Pulling fs layer [2020-09-17T09:18:56.072Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T09:18:56.072Z] 7a184a31f384: Pulling fs layer [2020-09-17T09:18:56.072Z] 0879bd2ef858: Pulling fs layer [2020-09-17T09:18:56.072Z] 0dadc02b9964: Waiting [2020-09-17T09:18:56.072Z] ce6a7cf60c04: Waiting [2020-09-17T09:18:56.072Z] 7a184a31f384: Waiting [2020-09-17T09:18:56.072Z] 0879bd2ef858: Waiting [2020-09-17T09:18:56.072Z] 46f8f816bc3b: Waiting [2020-09-17T09:18:56.072Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T09:18:56.072Z] 36b3adc4ff6f: Download complete [2020-09-17T09:18:56.073Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T09:18:56.073Z] 46f8f816bc3b: Download complete [2020-09-17T09:18:56.073Z] df20fa9351a1: Download complete [2020-09-17T09:18:56.342Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T09:18:56.342Z] ce6a7cf60c04: Download complete [2020-09-17T09:18:56.342Z] 0dadc02b9964: Verifying Checksum [2020-09-17T09:18:56.342Z] 0dadc02b9964: Download complete [2020-09-17T09:18:56.342Z] 7a184a31f384: Verifying Checksum [2020-09-17T09:18:56.342Z] 7a184a31f384: Download complete [2020-09-17T09:18:56.608Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T09:18:56.608Z] 8ad3a11d3b57: Download complete [2020-09-17T09:18:56.608Z] df20fa9351a1: Pull complete [2020-09-17T09:18:56.608Z] 36b3adc4ff6f: Pull complete [2020-09-17T09:18:56.875Z] 0879bd2ef858: Verifying Checksum [2020-09-17T09:18:56.875Z] 0879bd2ef858: Download complete [2020-09-17T09:18:57.454Z] 8ad3a11d3b57: Pull complete [2020-09-17T09:18:57.454Z] 46f8f816bc3b: Pull complete [2020-09-17T09:18:57.718Z] 0dadc02b9964: Pull complete [2020-09-17T09:18:57.979Z] ce6a7cf60c04: Pull complete [2020-09-17T09:18:57.980Z] 7a184a31f384: Pull complete [2020-09-17T09:19:00.564Z] 0879bd2ef858: Pull complete [2020-09-17T09:19:00.564Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T09:19:00.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:19:00.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T09:19:00.699Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2020-09-17T09:19:00.747Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-40 -v /w/workspace/dgexfoundry_device-rest-go_PR-40:/w/workspace/dgexfoundry_device-rest-go_PR-40:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-40@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T09:19:05.798Z] $ docker top f8de235ce264e68b54bdf2aff24a81e97a6862d676e7e22342a39a5ec7d46c88 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:19:06.392Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T09:19:06.686Z] + ls /var/log/sa-host [2020-09-17T09:19:06.686Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T09:19:06.686Z] file_magic: OK [2020-09-17T09:19:06.686Z] HZ: Using current value: 100 [2020-09-17T09:19:06.686Z] file_header: OK [2020-09-17T09:19:06.686Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T09:19:06.686Z] Statistics: [2020-09-17T09:19:06.686Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:19:06.686Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T09:19:06.686Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T09:19:06.686Z] file_magic: OK [2020-09-17T09:19:06.686Z] HZ: Using current value: 100 [2020-09-17T09:19:06.686Z] file_header: OK [2020-09-17T09:19:06.686Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T09:19:06.686Z] Statistics: [2020-09-17T09:19:06.686Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:19:06.686Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T09:19:06.760Z] provisioning config files... [2020-09-17T09:19:06.774Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config4976962792769551019tmp [Pipeline] { [Pipeline] echo [2020-09-17T09:19:06.856Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:19:07.164Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T09:19:07.177Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:19:07.476Z] ---> logs-deploy.sh [2020-09-17T09:19:07.476Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-40/3 [2020-09-17T09:19:07.476Z] INFO: archiving workspace using pattern(s): [2020-09-17T09:19:08.870Z] Archives upload complete. [2020-09-17T09:19:08.870Z] INFO: archiving logs to Nexus