Pull request #42 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at 93ede67d7b538e9acd9cb68b0396d1389d21b332 rather than ba56079dcd965efb9fd8760ac183997e1f44e019 Obtained Jenkinsfile from 93ede67d7b538e9acd9cb68b0396d1389d21b332 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-795 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 Merge succeeded, producing df2cf370c29f261b31d0ac7aac0317f24a945643 Checking out Revision df2cf370c29f261b31d0ac7aac0317f24a945643 (PR-42) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # 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 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df2cf370c29f261b31d0ac7aac0317f24a945643 # timeout=10 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T06:05:59.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T06:05:59.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T06:05:59.829Z] ========================================================= [2020-09-22T06:05:59.829Z] EdgeX Global Pipelines Version Info [2020-09-22T06:05:59.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T06:06:01.763Z] ------------------- [2020-09-22T06:06:01.763Z] stable info: [2020-09-22T06:06:01.763Z] ------------------- [2020-09-22T06:06:01.763Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T06:06:01.763Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T06:06:01.763Z] Message: update stable to v1.0.122 [2020-09-22T06:06:02.345Z] ------------------- [2020-09-22T06:06:02.345Z] experimental info: [2020-09-22T06:06:02.345Z] ------------------- [2020-09-22T06:06:02.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T06:06:02.345Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T06:06:02.345Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T06:06:02.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-22T06:06:02.817Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-22T06:06:02.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T06:06:03.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T06:06:03.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T06:06:03.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T06:06:03.336Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T06:06:03.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T06:06:03.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T06:06:03.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T06:06:03.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T06:06:03.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-22T06:06:03.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T06:06:04.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T06:06:04.120Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T06:06:04.202Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T06:06:04.287Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T06:06:04.377Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T06:06:04.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T06:06:04.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T06:06:04.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T06:06:04.741Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T06:06:04.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2020-09-22T06:06:04.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2020-09-22T06:06:05.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2020-09-22T06:06:05.119Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df2cf370c29f261b31d0ac7aac0317f24a945643 [Pipeline] echo [2020-09-22T06:06:05.204Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df2cf37 [Pipeline] echo [2020-09-22T06:06:05.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T06:06:05.903Z] + git log --format=format:%s -1 df2cf370c29f261b31d0ac7aac0317f24a945643 [Pipeline] echo [2020-09-22T06:06:05.970Z] GIT_COMMIT: df2cf370c29f261b31d0ac7aac0317f24a945643, Commit Message: Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD [Pipeline] echo [2020-09-22T06:06:06.019Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:06:06.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T06:06:06.854Z] [2020-09-22T06:06:06.854Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:06:07.230Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T06:06:07.230Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T06:06:07.230Z] 31603596830f: Pulling fs layer [2020-09-22T06:06:07.230Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T06:06:07.230Z] 6ca5941a6612: Pulling fs layer [2020-09-22T06:06:07.230Z] ecc8261a40a4: Pulling fs layer [2020-09-22T06:06:07.230Z] ecc8261a40a4: Waiting [2020-09-22T06:06:07.230Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T06:06:07.230Z] 2a8b12db71e7: Download complete [2020-09-22T06:06:07.495Z] 31603596830f: Verifying Checksum [2020-09-22T06:06:07.495Z] 31603596830f: Download complete [2020-09-22T06:06:07.495Z] ecc8261a40a4: Verifying Checksum [2020-09-22T06:06:07.495Z] ecc8261a40a4: Download complete [2020-09-22T06:06:07.495Z] 6ca5941a6612: Verifying Checksum [2020-09-22T06:06:07.495Z] 6ca5941a6612: Download complete [2020-09-22T06:06:07.764Z] 31603596830f: Pull complete [2020-09-22T06:06:07.764Z] 2a8b12db71e7: Pull complete [2020-09-22T06:06:08.719Z] 6ca5941a6612: Pull complete [2020-09-22T06:06:08.719Z] ecc8261a40a4: Pull complete [2020-09-22T06:06:08.719Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T06:06:08.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T06:06:08.719Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T06:06:08.831Z] prd-centos7-docker-4c-2g-795 does not seem to be running inside a container [2020-09-22T06:06:08.889Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T06:06:11.487Z] $ docker top ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T06:06:11.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T06:06:11.784Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T06:06:11.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T06:06:11.996Z] $ docker exec ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent [2020-09-22T06:06:12.150Z] SSH_AUTH_SOCK=/tmp/ssh-N9olWh6yC5aY/agent.12 [2020-09-22T06:06:12.150Z] SSH_AGENT_PID=17 [2020-09-22T06:06:12.164Z] Running ssh-add (command line suppressed) [2020-09-22T06:06:12.284Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6476080224680723410.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6476080224680723410.key) [2020-09-22T06:06:12.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T06:06:12.665Z] + git describe --exact-match --tags HEAD [2020-09-22T06:06:12.665Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T06:06:12.689Z] $ docker exec --env ******** --env ******** ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent -k [2020-09-22T06:06:12.801Z] unset SSH_AUTH_SOCK; [2020-09-22T06:06:12.801Z] unset SSH_AGENT_PID; [2020-09-22T06:06:12.801Z] echo Agent pid 17 killed; [2020-09-22T06:06:12.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T06:06:12.939Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T06:06:12.939Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T06:06:13.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T06:06:13.043Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T06:06:13.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T06:06:13.227Z] $ docker exec ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent [2020-09-22T06:06:13.402Z] SSH_AUTH_SOCK=/tmp/ssh-qXgNs6oInGvH/agent.45 [2020-09-22T06:06:13.402Z] SSH_AGENT_PID=50 [2020-09-22T06:06:13.409Z] Running ssh-add (command line suppressed) [2020-09-22T06:06:13.529Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3009713013842939080.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3009713013842939080.key) [2020-09-22T06:06:13.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T06:06:13.943Z] + git semver init [2020-09-22T06:06:13.943Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T06:06:13.943Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git [2020-09-22T06:06:13.943Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-22T06:06:13.943Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T06:06:13.943Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T06:06:13.943Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T06:06:13.943Z] # $SEMVER_BRANCH = PR-42 [2020-09-22T06:06:13.943Z] # $SEMVER_TEMP = /tmp/semver-773751612 [2020-09-22T06:06:13.943Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-22T06:06:14.906Z] # '/tmp/semver-773751612' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' [2020-09-22T06:06:14.906Z] # -> Force: false [2020-09-22T06:06:14.906Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } [2020-09-22T06:06:14.923Z] $ docker exec --env ******** --env ******** ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent -k [2020-09-22T06:06:15.032Z] unset SSH_AUTH_SOCK; [2020-09-22T06:06:15.032Z] unset SSH_AGENT_PID; [2020-09-22T06:06:15.033Z] echo Agent pid 50 killed; [2020-09-22T06:06:15.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T06:06:15.541Z] + git semver [Pipeline] } [2020-09-22T06:06:15.560Z] $ docker stop --time=1 ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 [2020-09-22T06:06:17.009Z] $ docker rm -f ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T06:06:18.528Z] Stashed 23 file(s) [Pipeline] echo [2020-09-22T06:06:18.531Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T06:06:18.686Z] 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-22T06:06:34.176Z] Still waiting to schedule task [2020-09-22T06:06:34.177Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T06:06:34.179Z] Still waiting to schedule task [2020-09-22T06:06:34.179Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-794’ [2020-09-22T06:08:00.521Z] Running on prd-centos7-docker-4c-2g-797 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-22T06:08:00.650Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-09-22T06:08:03.145Z] using credential edgex-jenkins-ssh [2020-09-22T06:08:03.270Z] Cloning the remote Git repository [2020-09-22T06:08:03.270Z] Cloning with configured refspecs honoured and without tags [2020-09-22T06:08:03.298Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:08:03.365Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-09-22T06:08:03.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:08:03.418Z] > git --version # timeout=10 [2020-09-22T06:08:03.426Z] > git --version # 'git version 2.16.5' [2020-09-22T06:08:03.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:08:03.455Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:08:05.144Z] Fetching without tags [2020-09-22T06:08:05.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T06:08:05.123Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-22T06:08:05.128Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:08:05.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T06:08:05.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:08:05.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:08:05.152Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:08:05.508Z] Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 [2020-09-22T06:08:05.591Z] Merge succeeded, producing c31387e1e5b207fc998692c0063374755eb4da2e [2020-09-22T06:08:05.591Z] Checking out Revision c31387e1e5b207fc998692c0063374755eb4da2e (PR-42) [2020-09-22T06:08:05.516Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T06:08:05.521Z] > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # timeout=10 [2020-09-22T06:08:05.550Z] > git remote # timeout=10 [2020-09-22T06:08:05.557Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T06:08:05.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:08:05.566Z] > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 [2020-09-22T06:08:05.585Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T06:08:05.593Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T06:08:05.600Z] > git checkout -f c31387e1e5b207fc998692c0063374755eb4da2e # timeout=10 [2020-09-22T06:08:09.184Z] Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" [2020-09-22T06:08:09.195Z] First time build. Skipping changelog. [2020-09-22T06:08:09.187Z] > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T06:08:10.338Z] ========================================================= [2020-09-22T06:08:10.338Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T06:08:10.338Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:08:11.058Z] + 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-22T06:08:11.325Z] Sending build context to Docker daemon 8.054MB [2020-09-22T06:08:11.326Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-22T06:08:11.326Z] Step 2/10 : FROM ${BASE} [2020-09-22T06:08:11.326Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T06:08:11.326Z] df20fa9351a1: Pulling fs layer [2020-09-22T06:08:11.326Z] ed8968b2872e: Pulling fs layer [2020-09-22T06:08:11.326Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T06:08:11.326Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T06:08:11.326Z] e73272ec9a57: Pulling fs layer [2020-09-22T06:08:11.326Z] 1e910a182e73: Pulling fs layer [2020-09-22T06:08:11.326Z] 4e634b169226: Pulling fs layer [2020-09-22T06:08:11.326Z] e871e8e8d7a9: Waiting [2020-09-22T06:08:11.326Z] e73272ec9a57: Waiting [2020-09-22T06:08:11.326Z] 1e910a182e73: Waiting [2020-09-22T06:08:11.326Z] 4e634b169226: Waiting [2020-09-22T06:08:11.591Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T06:08:11.591Z] a92cc7c5fd73: Download complete [2020-09-22T06:08:11.591Z] ed8968b2872e: Download complete [2020-09-22T06:08:11.591Z] e73272ec9a57: Download complete [2020-09-22T06:08:11.591Z] df20fa9351a1: Verifying Checksum [2020-09-22T06:08:11.591Z] df20fa9351a1: Download complete [2020-09-22T06:08:11.853Z] df20fa9351a1: Pull complete [2020-09-22T06:08:12.114Z] ed8968b2872e: Pull complete [2020-09-22T06:08:12.114Z] a92cc7c5fd73: Pull complete [2020-09-22T06:08:13.503Z] 4e634b169226: Verifying Checksum [2020-09-22T06:08:13.503Z] 4e634b169226: Download complete [2020-09-22T06:08:14.450Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T06:08:14.450Z] e871e8e8d7a9: Download complete [2020-09-22T06:08:19.764Z] e871e8e8d7a9: Pull complete [2020-09-22T06:08:19.764Z] e73272ec9a57: Pull complete [2020-09-22T06:08:19.764Z] 1e910a182e73: Pull complete [2020-09-22T06:08:25.073Z] 4e634b169226: Pull complete [2020-09-22T06:08:25.073Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T06:08:25.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T06:08:25.073Z] ---> f7629b54cfaa [2020-09-22T06:08:25.073Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T06:08:25.073Z] ---> Running in 695aca5803fd [2020-09-22T06:08:25.073Z] Removing intermediate container 695aca5803fd [2020-09-22T06:08:25.073Z] ---> 7f842c51eb3f [2020-09-22T06:08:25.073Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T06:08:25.073Z] ---> Running in e511dc27d013 [2020-09-22T06:08:25.073Z] Removing intermediate container e511dc27d013 [2020-09-22T06:08:25.073Z] ---> 7ee74157a66e [2020-09-22T06:08:25.073Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T06:08:25.073Z] ---> Running in 78e2c8dd6a07 [2020-09-22T06:08:25.073Z] Removing intermediate container 78e2c8dd6a07 [2020-09-22T06:08:25.073Z] ---> 29e585ba0dad [2020-09-22T06:08:25.073Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T06:08:25.073Z] ---> Running in 20397e1f496d [2020-09-22T06:08:26.477Z] Removing intermediate container 20397e1f496d [2020-09-22T06:08:26.477Z] ---> 2615b0674524 [2020-09-22T06:08:26.477Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T06:08:26.477Z] ---> Running in c412555a0c2a [2020-09-22T06:08:27.056Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T06:08:27.633Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T06:08:28.207Z] OK: 166 MiB in 39 packages [2020-09-22T06:08:28.469Z] Removing intermediate container c412555a0c2a [2020-09-22T06:08:28.469Z] ---> 1f93673c7781 [2020-09-22T06:08:28.469Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-22T06:08:28.731Z] ---> Running in 29c41525c97e [2020-09-22T06:08:28.731Z] Removing intermediate container 29c41525c97e [2020-09-22T06:08:28.731Z] ---> 29699153098a [2020-09-22T06:08:28.731Z] Step 9/10 : COPY . . [2020-09-22T06:08:29.312Z] ---> b7dec60dc731 [2020-09-22T06:08:29.312Z] Step 10/10 : RUN go mod download [2020-09-22T06:08:29.312Z] ---> Running in 3a86e33222dd [2020-09-22T06:08:41.638Z] Removing intermediate container 3a86e33222dd [2020-09-22T06:08:41.638Z] ---> 812a987b3e87 [2020-09-22T06:08:41.638Z] Successfully built 812a987b3e87 [2020-09-22T06:08:41.638Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:08:42.025Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T06:08:42.025Z] . [Pipeline] withDockerContainer [2020-09-22T06:08:42.148Z] prd-centos7-docker-4c-2g-797 does not seem to be running inside a container [2020-09-22T06:08:42.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-22T06:08:43.398Z] $ docker top ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T06:08:43.978Z] + go version [2020-09-22T06:08:43.979Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T06:08:44.006Z] $ docker stop --time=1 ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 [2020-09-22T06:08:45.342Z] $ docker rm -f ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:08:46.255Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T06:08:46.255Z] . [Pipeline] withDockerContainer [2020-09-22T06:08:46.371Z] prd-centos7-docker-4c-2g-797 does not seem to be running inside a container [2020-09-22T06:08:46.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-22T06:08:47.044Z] $ docker top 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T06:08:47.639Z] + make test [2020-09-22T06:08:47.639Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-22T06:08:47.995Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-22T06:08:58.271Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-22T06:08:58.271Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements [2020-09-22T06:08:58.271Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-22T06:08:58.853Z] gofmt -l . [2020-09-22T06:08:59.117Z] [ "`gofmt -l .`" = "" ] [2020-09-22T06:08:59.117Z] ./bin/test-go-mod-tidy.sh [2020-09-22T06:08:59.117Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-22T06:08:59.660Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T06:08:59.690Z] $ docker stop --time=1 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 [2020-09-22T06:09:01.781Z] $ docker rm -f 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T06:09:03.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T06:09:03.574Z] + ls -al . [2020-09-22T06:09:03.574Z] total 96 [2020-09-22T06:09:03.574Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 22 06:08 . [2020-09-22T06:09:03.574Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 06:08 .. [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 22 06:08 Attribution.txt [2020-09-22T06:09:03.574Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 06:08 bin [2020-09-22T06:09:03.574Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 06:08 cmd [2020-09-22T06:09:03.574Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 22 06:08 coverage.out [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 22 06:08 Dockerfile [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 22 06:08 Dockerfile.build [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 22 06:08 .dockerignore [2020-09-22T06:09:03.574Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 22 06:08 driver [2020-09-22T06:09:03.574Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 06:08 .git [2020-09-22T06:09:03.574Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 06:08 .github [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 22 06:08 .gitignore [2020-09-22T06:09:03.574Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 22 06:08 go.mod [2020-09-22T06:09:03.574Z] -rw-r--r--. 1 jenkins jenkins 12547 Sep 22 06:08 go.sum [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 22 06:08 Jenkinsfile [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 06:08 LICENSE [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 22 06:08 Makefile [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 5917 Sep 22 06:08 README.md [2020-09-22T06:09:03.574Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 22 06:08 .semver [2020-09-22T06:09:03.574Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 06:08 snap [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 06:06 VERSION [2020-09-22T06:09:03.574Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 22 06:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:09:03.884Z] + 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=df2cf370c29f261b31d0ac7aac0317f24a945643 --label arch=amd64 --label version=0.0.0 . [2020-09-22T06:09:03.884Z] Sending build context to Docker daemon 8.066MB [2020-09-22T06:09:03.884Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-22T06:09:03.884Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-22T06:09:03.884Z] ---> 812a987b3e87 [2020-09-22T06:09:03.884Z] Step 3/25 : ARG MAKE='make build' [2020-09-22T06:09:04.149Z] ---> Running in b42f1d219f78 [2020-09-22T06:09:04.414Z] Removing intermediate container b42f1d219f78 [2020-09-22T06:09:04.414Z] ---> 2913a854da8a [2020-09-22T06:09:04.414Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T06:09:04.414Z] ---> Running in 7a7e929c89ee [2020-09-22T06:09:04.414Z] Removing intermediate container 7a7e929c89ee [2020-09-22T06:09:04.414Z] ---> 36b48b7ef697 [2020-09-22T06:09:04.414Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T06:09:04.702Z] ---> Running in 7c2b3f106666 [2020-09-22T06:09:04.702Z] Removing intermediate container 7c2b3f106666 [2020-09-22T06:09:04.702Z] ---> cc13d95b6e1e [2020-09-22T06:09:04.702Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T06:09:04.702Z] ---> Running in 61a500b8e73c [2020-09-22T06:09:05.661Z] Removing intermediate container 61a500b8e73c [2020-09-22T06:09:05.661Z] ---> b31805e46ca7 [2020-09-22T06:09:05.661Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T06:09:05.661Z] ---> Running in 63086ce7862d [2020-09-22T06:09:06.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T06:09:06.809Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T06:09:07.382Z] OK: 166 MiB in 39 packages [2020-09-22T06:09:07.644Z] Removing intermediate container 63086ce7862d [2020-09-22T06:09:07.644Z] ---> a31556042ee0 [2020-09-22T06:09:07.644Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-22T06:09:07.644Z] ---> Running in d86543838935 [2020-09-22T06:09:07.906Z] Removing intermediate container d86543838935 [2020-09-22T06:09:07.906Z] ---> aaaeec39a282 [2020-09-22T06:09:07.906Z] Step 9/25 : COPY go.mod . [2020-09-22T06:09:08.168Z] ---> c78410954e68 [2020-09-22T06:09:08.168Z] Step 10/25 : COPY Makefile . [2020-09-22T06:09:08.431Z] ---> fdc54487a88f [2020-09-22T06:09:08.431Z] Step 11/25 : RUN make update [2020-09-22T06:09:08.431Z] ---> Running in d476b251dc60 [2020-09-22T06:09:08.697Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-22T06:09:09.275Z] Removing intermediate container d476b251dc60 [2020-09-22T06:09:09.275Z] ---> 87ccb1e82787 [2020-09-22T06:09:09.275Z] Step 12/25 : COPY . . [2020-09-22T06:09:09.859Z] ---> 0087a51d34b2 [2020-09-22T06:09:09.859Z] Step 13/25 : RUN $MAKE [2020-09-22T06:09:09.859Z] ---> Running in c7cd8f2751b8 [2020-09-22T06:09:10.126Z] 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-22T06:09:20.255Z] Removing intermediate container c7cd8f2751b8 [2020-09-22T06:09:20.255Z] ---> d2e34a0e963c [2020-09-22T06:09:20.255Z] Step 14/25 : FROM alpine:latest [2020-09-22T06:09:20.255Z] latest: Pulling from library/alpine [2020-09-22T06:09:20.255Z] df20fa9351a1: Already exists [2020-09-22T06:09:20.255Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T06:09:20.255Z] Status: Downloaded newer image for alpine:latest [2020-09-22T06:09:20.255Z] ---> a24bb4013296 [2020-09-22T06:09:20.255Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T06:09:20.255Z] ---> Running in e6407d67bda1 [2020-09-22T06:09:20.255Z] Removing intermediate container e6407d67bda1 [2020-09-22T06:09:20.255Z] ---> 35ab1065951b [2020-09-22T06:09:20.255Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-22T06:09:20.255Z] ---> Running in 0f4aba33a83a [2020-09-22T06:09:20.255Z] Removing intermediate container 0f4aba33a83a [2020-09-22T06:09:20.255Z] ---> 9d2456fcaa07 [2020-09-22T06:09:20.255Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-22T06:09:20.255Z] ---> cf1f2860c587 [2020-09-22T06:09:20.255Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-22T06:09:20.518Z] ---> b6a398d246a8 [2020-09-22T06:09:20.518Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-22T06:09:21.098Z] ---> c927aea70558 [2020-09-22T06:09:21.098Z] Step 20/25 : EXPOSE 49986 [2020-09-22T06:09:21.098Z] ---> Running in 5d6999774201 [2020-09-22T06:09:21.098Z] Removing intermediate container 5d6999774201 [2020-09-22T06:09:21.098Z] ---> a51941881b14 [2020-09-22T06:09:21.098Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-22T06:09:21.363Z] ---> Running in 85a53542e6cc [2020-09-22T06:09:21.363Z] Removing intermediate container 85a53542e6cc [2020-09-22T06:09:21.363Z] ---> 15da5eb4d30e [2020-09-22T06:09:21.363Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-22T06:09:21.363Z] ---> Running in cfcd97b5a3cb [2020-09-22T06:09:21.625Z] Removing intermediate container cfcd97b5a3cb [2020-09-22T06:09:21.625Z] ---> 663e5d574ea3 [2020-09-22T06:09:21.625Z] Step 23/25 : LABEL arch=amd64 [2020-09-22T06:09:21.625Z] ---> Running in ed99fada0431 [2020-09-22T06:09:21.887Z] Removing intermediate container ed99fada0431 [2020-09-22T06:09:21.887Z] ---> 29f5b012496f [2020-09-22T06:09:21.887Z] Step 24/25 : LABEL git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 [2020-09-22T06:09:21.887Z] ---> Running in f62de74285a5 [2020-09-22T06:09:22.149Z] Removing intermediate container f62de74285a5 [2020-09-22T06:09:22.149Z] ---> 40f058b36189 [2020-09-22T06:09:22.149Z] Step 25/25 : LABEL version=0.0.0 [2020-09-22T06:09:22.149Z] ---> Running in a07af3734ace [2020-09-22T06:09:22.412Z] Removing intermediate container a07af3734ace [2020-09-22T06:09:22.412Z] ---> 249b83b5d4ae [2020-09-22T06:09:22.412Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T06:09:22.412Z] Successfully built 249b83b5d4ae [2020-09-22T06:09:22.412Z] 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-22T06:09:31.995Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-798 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-22T06:09:32.044Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-09-22T06:09:37.675Z] using credential edgex-jenkins-ssh [2020-09-22T06:09:37.750Z] Cloning the remote Git repository [2020-09-22T06:09:37.750Z] Cloning with configured refspecs honoured and without tags [2020-09-22T06:09:37.800Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:09:37.910Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-09-22T06:09:37.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:09:37.975Z] > git --version # timeout=10 [2020-09-22T06:09:37.999Z] > git --version # 'git version 2.17.1' [2020-09-22T06:09:38.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:09:38.092Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:09:39.771Z] Fetching without tags [2020-09-22T06:09:39.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T06:09:39.696Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-22T06:09:39.714Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:09:39.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-22T06:09:40.266Z] Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 [2020-09-22T06:09:40.543Z] Merge succeeded, producing 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa [2020-09-22T06:09:40.544Z] Checking out Revision 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa (PR-42) [2020-09-22T06:09:39.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-22T06:09:39.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:09:39.800Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T06:09:40.282Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T06:09:40.315Z] > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # timeout=10 [2020-09-22T06:09:40.398Z] > git remote # timeout=10 [2020-09-22T06:09:40.429Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T06:09:40.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T06:09:40.461Z] > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 [2020-09-22T06:09:40.521Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T06:09:40.546Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T06:09:40.561Z] > git checkout -f 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa # timeout=10 [2020-09-22T06:09:44.979Z] Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" [2020-09-22T06:09:45.005Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-09-22T06:09:44.984Z] > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T06:09:47.241Z] ========================================================= [2020-09-22T06:09:47.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T06:09:47.241Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:09:48.317Z] + 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-22T06:09:49.304Z] Sending build context to Docker daemon 8.054MB [2020-09-22T06:09:49.304Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-22T06:09:49.304Z] Step 2/10 : FROM ${BASE} [2020-09-22T06:09:49.583Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T06:09:49.583Z] b538f80385f9: Pulling fs layer [2020-09-22T06:09:49.583Z] 74f711af9a0d: Pulling fs layer [2020-09-22T06:09:49.583Z] 99f96fe45779: Pulling fs layer [2020-09-22T06:09:49.583Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T06:09:49.583Z] 45590311c82a: Pulling fs layer [2020-09-22T06:09:49.583Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T06:09:49.583Z] 209524e5b208: Pulling fs layer [2020-09-22T06:09:49.583Z] 8529a6b9a6be: Waiting [2020-09-22T06:09:49.583Z] 45590311c82a: Waiting [2020-09-22T06:09:49.583Z] 69ca0ff8b7b3: Waiting [2020-09-22T06:09:49.583Z] 209524e5b208: Waiting [2020-09-22T06:09:49.583Z] 99f96fe45779: Download complete [2020-09-22T06:09:49.583Z] 74f711af9a0d: Verifying Checksum [2020-09-22T06:09:49.583Z] 74f711af9a0d: Download complete [2020-09-22T06:09:49.583Z] 45590311c82a: Verifying Checksum [2020-09-22T06:09:49.583Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T06:09:49.583Z] 69ca0ff8b7b3: Download complete [2020-09-22T06:09:49.583Z] b538f80385f9: Verifying Checksum [2020-09-22T06:09:49.583Z] b538f80385f9: Download complete [2020-09-22T06:09:50.569Z] b538f80385f9: Pull complete [2020-09-22T06:09:50.844Z] 74f711af9a0d: Pull complete [2020-09-22T06:09:51.448Z] 99f96fe45779: Pull complete [2020-09-22T06:09:52.046Z] 209524e5b208: Verifying Checksum [2020-09-22T06:09:52.046Z] 209524e5b208: Download complete [2020-09-22T06:09:53.035Z] 8529a6b9a6be: Download complete [2020-09-22T06:10:05.460Z] 8529a6b9a6be: Pull complete [2020-09-22T06:10:05.460Z] 45590311c82a: Pull complete [2020-09-22T06:10:05.460Z] 69ca0ff8b7b3: Pull complete [2020-09-22T06:10:08.104Z] 209524e5b208: Pull complete [2020-09-22T06:10:08.105Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T06:10:08.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T06:10:08.105Z] ---> 5bddaf1c2fca [2020-09-22T06:10:08.105Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T06:10:10.722Z] ---> Running in 0e3f333f0f56 [2020-09-22T06:10:10.997Z] Removing intermediate container 0e3f333f0f56 [2020-09-22T06:10:10.998Z] ---> 7961792a4921 [2020-09-22T06:10:10.998Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T06:10:11.269Z] ---> Running in b998fd15980a [2020-09-22T06:10:11.542Z] Removing intermediate container b998fd15980a [2020-09-22T06:10:11.542Z] ---> 64fce383e74c [2020-09-22T06:10:11.542Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T06:10:11.816Z] ---> Running in f2f0c6df91af [2020-09-22T06:10:12.089Z] Removing intermediate container f2f0c6df91af [2020-09-22T06:10:12.089Z] ---> 1a71a3b785f9 [2020-09-22T06:10:12.089Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T06:10:12.373Z] ---> Running in e22db89b168f [2020-09-22T06:10:15.010Z] Removing intermediate container e22db89b168f [2020-09-22T06:10:15.010Z] ---> 905805a6cf9f [2020-09-22T06:10:15.010Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T06:10:15.010Z] ---> Running in 7e96e7739925 [2020-09-22T06:10:16.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T06:10:17.432Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T06:10:18.030Z] OK: 142 MiB in 39 packages [2020-09-22T06:10:19.012Z] Removing intermediate container 7e96e7739925 [2020-09-22T06:10:19.012Z] ---> b3360545ee84 [2020-09-22T06:10:19.012Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-22T06:10:19.284Z] ---> Running in 38a5a70739c3 [2020-09-22T06:10:19.558Z] Removing intermediate container 38a5a70739c3 [2020-09-22T06:10:19.558Z] ---> 5edd3723a3cb [2020-09-22T06:10:19.558Z] Step 9/10 : COPY . . [2020-09-22T06:10:21.012Z] ---> 03b4e604a47c [2020-09-22T06:10:21.012Z] Step 10/10 : RUN go mod download [2020-09-22T06:10:21.012Z] ---> Running in e417688f596f [2020-09-22T06:10:36.101Z] Removing intermediate container e417688f596f [2020-09-22T06:10:36.101Z] ---> 15cad678a969 [2020-09-22T06:10:36.101Z] Successfully built 15cad678a969 [2020-09-22T06:10:36.101Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:10:36.507Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T06:10:36.507Z] . [Pipeline] withDockerContainer [2020-09-22T06:10:36.744Z] prd-ubuntu18.04-docker-arm64-4c-16g-798 does not seem to be running inside a container [2020-09-22T06:10:36.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-22T06:10:38.624Z] $ docker top b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T06:10:40.103Z] + go version [2020-09-22T06:10:40.103Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T06:10:40.132Z] $ docker stop --time=1 b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e [2020-09-22T06:10:42.136Z] $ docker rm -f b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:10:43.249Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T06:10:43.249Z] . [Pipeline] withDockerContainer [2020-09-22T06:10:43.766Z] prd-ubuntu18.04-docker-arm64-4c-16g-798 does not seem to be running inside a container [2020-09-22T06:10:43.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-22T06:10:45.778Z] $ docker top 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T06:10:47.186Z] + make test [2020-09-22T06:10:47.186Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-22T06:10:48.170Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-22T06:11:20.595Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-22T06:11:20.595Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-09-22T06:11:20.595Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-22T06:11:24.921Z] gofmt -l . [2020-09-22T06:11:24.921Z] [ "`gofmt -l .`" = "" ] [2020-09-22T06:11:24.921Z] ./bin/test-go-mod-tidy.sh [2020-09-22T06:11:24.921Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-22T06:11:25.537Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T06:11:26.233Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T06:11:26.248Z] $ docker stop --time=1 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea [2020-09-22T06:11:28.490Z] $ docker rm -f 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T06:11:29.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T06:11:30.020Z] + ls -al . [2020-09-22T06:11:30.020Z] total 128 [2020-09-22T06:11:30.020Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 06:11 . [2020-09-22T06:11:30.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:09 .. [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 06:09 .dockerignore [2020-09-22T06:11:30.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:09 .git [2020-09-22T06:11:30.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:09 .github [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 22 06:09 .gitignore [2020-09-22T06:11:30.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:09 .semver [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 22 06:09 Attribution.txt [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 22 06:09 Dockerfile [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 22 06:09 Dockerfile.build [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 06:09 Jenkinsfile [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 06:09 LICENSE [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 22 06:09 Makefile [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 5917 Sep 22 06:09 README.md [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:06 VERSION [2020-09-22T06:11:30.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:09 bin [2020-09-22T06:11:30.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:09 cmd [2020-09-22T06:11:30.020Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 22 06:11 coverage.out [2020-09-22T06:11:30.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:11 driver [2020-09-22T06:11:30.020Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 22 06:11 go.mod [2020-09-22T06:11:30.020Z] -rw-r--r-- 1 jenkins jenkins 12547 Sep 22 06:11 go.sum [2020-09-22T06:11:30.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:09 snap [2020-09-22T06:11:30.020Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 06:09 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:11:30.389Z] + 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=df2cf370c29f261b31d0ac7aac0317f24a945643 --label arch=arm64 --label version=0.0.0 . [2020-09-22T06:11:30.669Z] Sending build context to Docker daemon 8.066MB [2020-09-22T06:11:30.941Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-22T06:11:30.941Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-22T06:11:30.941Z] ---> 15cad678a969 [2020-09-22T06:11:30.941Z] Step 3/25 : ARG MAKE='make build' [2020-09-22T06:11:31.216Z] ---> Running in c8fef4d8abdf [2020-09-22T06:11:31.495Z] Removing intermediate container c8fef4d8abdf [2020-09-22T06:11:31.495Z] ---> fd5b6033f7c7 [2020-09-22T06:11:31.495Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-22T06:11:31.796Z] ---> Running in 34bb0c36a6e5 [2020-09-22T06:11:32.079Z] Removing intermediate container 34bb0c36a6e5 [2020-09-22T06:11:32.079Z] ---> 358395cd1367 [2020-09-22T06:11:32.079Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-22T06:11:32.355Z] ---> Running in 2a8713160c13 [2020-09-22T06:11:32.966Z] Removing intermediate container 2a8713160c13 [2020-09-22T06:11:32.966Z] ---> 7f9b45a37d2a [2020-09-22T06:11:32.966Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T06:11:32.966Z] ---> Running in 558381f99f4e [2020-09-22T06:11:35.592Z] Removing intermediate container 558381f99f4e [2020-09-22T06:11:35.592Z] ---> 53ee58cc6396 [2020-09-22T06:11:35.592Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-22T06:11:35.592Z] ---> Running in 5d6c9bddb42f [2020-09-22T06:11:37.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T06:11:37.652Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T06:11:38.676Z] OK: 142 MiB in 39 packages [2020-09-22T06:11:39.657Z] Removing intermediate container 5d6c9bddb42f [2020-09-22T06:11:39.657Z] ---> a6bb177abaf4 [2020-09-22T06:11:39.657Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-22T06:11:39.657Z] ---> Running in 3b37a261abd3 [2020-09-22T06:11:40.261Z] Removing intermediate container 3b37a261abd3 [2020-09-22T06:11:40.261Z] ---> 6d7def641197 [2020-09-22T06:11:40.261Z] Step 9/25 : COPY go.mod . [2020-09-22T06:11:40.890Z] ---> 79b18a558282 [2020-09-22T06:11:40.890Z] Step 10/25 : COPY Makefile . [2020-09-22T06:11:41.892Z] ---> a939050cc8c4 [2020-09-22T06:11:41.892Z] Step 11/25 : RUN make update [2020-09-22T06:11:41.892Z] ---> Running in a5aee26ee335 [2020-09-22T06:11:43.353Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-22T06:11:44.832Z] Removing intermediate container a5aee26ee335 [2020-09-22T06:11:44.832Z] ---> e5d46494e4a4 [2020-09-22T06:11:44.832Z] Step 12/25 : COPY . . [2020-09-22T06:11:45.821Z] ---> 176ae98c90a3 [2020-09-22T06:11:45.821Z] Step 13/25 : RUN $MAKE [2020-09-22T06:11:45.821Z] ---> Running in 17f3867efe19 [2020-09-22T06:11:47.255Z] 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-22T06:12:14.088Z] Removing intermediate container 17f3867efe19 [2020-09-22T06:12:14.089Z] ---> dd41f54239b5 [2020-09-22T06:12:14.089Z] Step 14/25 : FROM alpine:latest [2020-09-22T06:12:14.089Z] latest: Pulling from library/alpine [2020-09-22T06:12:14.089Z] b538f80385f9: Already exists [2020-09-22T06:12:14.089Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-22T06:12:14.089Z] Status: Downloaded newer image for alpine:latest [2020-09-22T06:12:14.089Z] ---> 62ee0e9f8440 [2020-09-22T06:12:14.089Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T06:12:14.089Z] ---> Running in de2335a02776 [2020-09-22T06:12:14.089Z] Removing intermediate container de2335a02776 [2020-09-22T06:12:14.089Z] ---> 5e5cbd1ad3fa [2020-09-22T06:12:14.089Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-22T06:12:14.089Z] ---> Running in 38358e8627e3 [2020-09-22T06:12:14.089Z] Removing intermediate container 38358e8627e3 [2020-09-22T06:12:14.089Z] ---> 784c1c2511bb [2020-09-22T06:12:14.089Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-22T06:12:14.363Z] ---> 949243b48c49 [2020-09-22T06:12:14.363Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-22T06:12:14.958Z] ---> 9ebc175cc97d [2020-09-22T06:12:14.958Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-22T06:12:16.390Z] ---> 01d40d0ea739 [2020-09-22T06:12:16.390Z] Step 20/25 : EXPOSE 49986 [2020-09-22T06:12:16.665Z] ---> Running in afeb7b38ca97 [2020-09-22T06:12:16.936Z] Removing intermediate container afeb7b38ca97 [2020-09-22T06:12:16.936Z] ---> 9bd2c360dad6 [2020-09-22T06:12:16.936Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-22T06:12:17.209Z] ---> Running in 45f715382201 [2020-09-22T06:12:17.481Z] Removing intermediate container 45f715382201 [2020-09-22T06:12:17.481Z] ---> 9a8028802619 [2020-09-22T06:12:17.481Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-22T06:12:17.752Z] ---> Running in 27f67d1b4b9d [2020-09-22T06:12:18.027Z] Removing intermediate container 27f67d1b4b9d [2020-09-22T06:12:18.027Z] ---> e3c1e523bae3 [2020-09-22T06:12:18.027Z] Step 23/25 : LABEL arch=arm64 [2020-09-22T06:12:18.300Z] ---> Running in aa4e396055ac [2020-09-22T06:12:18.572Z] Removing intermediate container aa4e396055ac [2020-09-22T06:12:18.572Z] ---> 201e6d5765d4 [2020-09-22T06:12:18.572Z] Step 24/25 : LABEL git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 [2020-09-22T06:12:18.846Z] ---> Running in 7ca60d241c1f [2020-09-22T06:12:19.439Z] Removing intermediate container 7ca60d241c1f [2020-09-22T06:12:19.439Z] ---> 599a30ae1c6c [2020-09-22T06:12:19.439Z] Step 25/25 : LABEL version=0.0.0 [2020-09-22T06:12:19.439Z] ---> Running in 7cf770b6fda7 [2020-09-22T06:12:20.031Z] Removing intermediate container 7cf770b6fda7 [2020-09-22T06:12:20.031Z] ---> 1cc3e6120d85 [2020-09-22T06:12:20.031Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T06:12:20.031Z] Successfully built 1cc3e6120d85 [2020-09-22T06:12:20.031Z] 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-22T06:12:24.467Z] provisioning config files... [2020-09-22T06:12:24.481Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6294850821889780016tmp [Pipeline] { [Pipeline] sh [2020-09-22T06:12:24.876Z] + curl -s https://codecov.io/bash [2020-09-22T06:12:24.876Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6294850821889780016tmp [Pipeline] } [2020-09-22T06:12:25.151Z] 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-22T06:12:27.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T06:12:28.350Z] ---> package-listing.sh [2020-09-22T06:12:28.351Z] ++ facter osfamily [2020-09-22T06:12:28.351Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T06:12:28.351Z] + OS_FAMILY=redhat [2020-09-22T06:12:28.351Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-22T06:12:28.351Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T06:12:28.351Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T06:12:28.351Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T06:12:28.351Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T06:12:28.351Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-22T06:12:28.351Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T06:12:28.351Z] + case "${OS_FAMILY}" in [2020-09-22T06:12:28.351Z] + rpm -qa [2020-09-22T06:12:28.351Z] + sort [2020-09-22T06:12:32.581Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T06:12:32.581Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T06:12:32.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T06:12:32.581Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-22T06:12:32.581Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [2020-09-22T06:12:32.581Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:12:33.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T06:12:33.373Z] [2020-09-22T06:12:33.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T06:12:33.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T06:12:33.736Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T06:12:33.736Z] df20fa9351a1: Pulling fs layer [2020-09-22T06:12:33.736Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T06:12:33.736Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T06:12:33.736Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T06:12:33.736Z] 0dadc02b9964: Pulling fs layer [2020-09-22T06:12:33.736Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T06:12:33.736Z] 7a184a31f384: Pulling fs layer [2020-09-22T06:12:33.736Z] 0879bd2ef858: Pulling fs layer [2020-09-22T06:12:33.736Z] 0dadc02b9964: Waiting [2020-09-22T06:12:33.736Z] ce6a7cf60c04: Waiting [2020-09-22T06:12:33.736Z] 7a184a31f384: Waiting [2020-09-22T06:12:33.736Z] 0879bd2ef858: Waiting [2020-09-22T06:12:33.736Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T06:12:33.736Z] 36b3adc4ff6f: Download complete [2020-09-22T06:12:33.736Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T06:12:33.736Z] 46f8f816bc3b: Download complete [2020-09-22T06:12:33.736Z] df20fa9351a1: Download complete [2020-09-22T06:12:34.003Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T06:12:34.003Z] ce6a7cf60c04: Download complete [2020-09-22T06:12:34.003Z] 7a184a31f384: Verifying Checksum [2020-09-22T06:12:34.003Z] 7a184a31f384: Download complete [2020-09-22T06:12:34.003Z] 0dadc02b9964: Verifying Checksum [2020-09-22T06:12:34.003Z] 0dadc02b9964: Download complete [2020-09-22T06:12:34.003Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T06:12:34.003Z] 8ad3a11d3b57: Download complete [2020-09-22T06:12:34.266Z] df20fa9351a1: Pull complete [2020-09-22T06:12:34.266Z] 36b3adc4ff6f: Pull complete [2020-09-22T06:12:34.532Z] 0879bd2ef858: Verifying Checksum [2020-09-22T06:12:34.532Z] 0879bd2ef858: Download complete [2020-09-22T06:12:34.795Z] 8ad3a11d3b57: Pull complete [2020-09-22T06:12:35.059Z] 46f8f816bc3b: Pull complete [2020-09-22T06:12:35.322Z] 0dadc02b9964: Pull complete [2020-09-22T06:12:35.322Z] ce6a7cf60c04: Pull complete [2020-09-22T06:12:35.584Z] 7a184a31f384: Pull complete [2020-09-22T06:12:37.516Z] 0879bd2ef858: Pull complete [2020-09-22T06:12:37.516Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T06:12:37.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T06:12:37.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T06:12:37.647Z] prd-centos7-docker-4c-2g-795 does not seem to be running inside a container [2020-09-22T06:12:37.692Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T06:12:43.142Z] $ docker top 6fe7eb806fa2f94918d1964fd95c769b05c5745647baf38fbaff129db7f8c345 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T06:12:43.753Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T06:12:44.052Z] + ls /var/log/sa-host [2020-09-22T06:12:44.052Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T06:12:44.052Z] file_magic: OK [2020-09-22T06:12:44.052Z] HZ: Using current value: 100 [2020-09-22T06:12:44.052Z] file_header: OK [2020-09-22T06:12:44.052Z] 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-22T06:12:44.052Z] Statistics: [2020-09-22T06:12:44.052Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T06:12:44.052Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T06:12:44.052Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T06:12:44.052Z] file_magic: OK [2020-09-22T06:12:44.052Z] HZ: Using current value: 100 [2020-09-22T06:12:44.052Z] file_header: OK [2020-09-22T06:12:44.052Z] 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-22T06:12:44.052Z] Statistics: [2020-09-22T06:12:44.052Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T06:12:44.052Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T06:12:44.117Z] provisioning config files... [2020-09-22T06:12:44.134Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6227883347153309410tmp [Pipeline] { [Pipeline] echo [2020-09-22T06:12:44.214Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T06:12:44.511Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T06:12:44.522Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T06:12:44.819Z] ---> logs-deploy.sh [2020-09-22T06:12:44.819Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/7 [2020-09-22T06:12:44.819Z] INFO: archiving workspace using pattern(s): [2020-09-22T06:12:46.207Z] Archives upload complete. [2020-09-22T06:12:46.207Z] INFO: archiving logs to Nexus