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 ec5ba659fde701601f352c67d2492fac5a523e90 rather than ff42865a43909e95628183f8b986e31a776488bc Obtained Jenkinsfile from ec5ba659fde701601f352c67d2492fac5a523e90 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 Running on prd-centos7-docker-4c-2g-340 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 > 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 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) > git config core.sparsecheckout # timeout=10 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # 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 ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 Commit message: "build: upgrade device-sdk-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T01:23:42.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T01:23:42.900Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T01:23:43.033Z] ========================================================= [2020-09-18T01:23:43.033Z] EdgeX Global Pipelines Version Info [2020-09-18T01:23:43.033Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 [2020-09-18T01:23:44.516Z] ------------------- [2020-09-18T01:23:44.516Z] stable info: [2020-09-18T01:23:44.516Z] ------------------- [2020-09-18T01:23:44.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T01:23:44.516Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T01:23:44.516Z] Message: update stable to v1.0.122 [2020-09-18T01:23:45.471Z] ------------------- [2020-09-18T01:23:45.471Z] experimental info: [2020-09-18T01:23:45.471Z] ------------------- [2020-09-18T01:23:45.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T01:23:45.471Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T01:23:45.471Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T01:23:45.860Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-18T01:23:45.998Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-18T01:23:46.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T01:23:46.249Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T01:23:46.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T01:23:46.480Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T01:23:46.588Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T01:23:46.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T01:23:46.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-18T01:23:46.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T01:23:47.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T01:23:47.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-18T01:23:47.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T01:23:47.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T01:23:47.400Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T01:23:47.491Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T01:23:47.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T01:23:47.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T01:23:47.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T01:23:47.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T01:23:47.979Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T01:23:48.115Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T01:23:48.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2020-09-18T01:23:48.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2020-09-18T01:23:48.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2020-09-18T01:23:48.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff42865a43909e95628183f8b986e31a776488bc [Pipeline] echo [2020-09-18T01:23:48.649Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff42865 [Pipeline] echo [2020-09-18T01:23:48.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T01:23:49.605Z] + git log --format=format:%s -1 ff42865a43909e95628183f8b986e31a776488bc [Pipeline] echo [2020-09-18T01:23:49.665Z] GIT_COMMIT: ff42865a43909e95628183f8b986e31a776488bc, Commit Message: build: upgrade device-sdk-go [Pipeline] echo [2020-09-18T01:23:49.713Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:23:50.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T01:23:50.901Z] [2020-09-18T01:23:50.901Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:23:51.249Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T01:23:51.249Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T01:23:51.249Z] 31603596830f: Pulling fs layer [2020-09-18T01:23:51.249Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T01:23:51.249Z] 6ca5941a6612: Pulling fs layer [2020-09-18T01:23:51.249Z] ecc8261a40a4: Pulling fs layer [2020-09-18T01:23:51.249Z] ecc8261a40a4: Waiting [2020-09-18T01:23:51.249Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T01:23:51.249Z] 2a8b12db71e7: Download complete [2020-09-18T01:23:51.249Z] 31603596830f: Download complete [2020-09-18T01:23:51.512Z] ecc8261a40a4: Verifying Checksum [2020-09-18T01:23:51.512Z] ecc8261a40a4: Download complete [2020-09-18T01:23:51.512Z] 6ca5941a6612: Verifying Checksum [2020-09-18T01:23:51.512Z] 6ca5941a6612: Download complete [2020-09-18T01:23:51.777Z] 31603596830f: Pull complete [2020-09-18T01:23:51.777Z] 2a8b12db71e7: Pull complete [2020-09-18T01:23:52.727Z] 6ca5941a6612: Pull complete [2020-09-18T01:23:52.727Z] ecc8261a40a4: Pull complete [2020-09-18T01:23:52.727Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T01:23:52.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T01:23:52.727Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T01:23:52.827Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2020-09-18T01:23:52.873Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-18T01:23:55.033Z] $ docker top 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T01:23:55.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T01:23:55.321Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T01:23:55.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T01:23:55.544Z] $ docker exec 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent [2020-09-18T01:23:55.706Z] SSH_AUTH_SOCK=/tmp/ssh-BiRyAl3fmz90/agent.11 [2020-09-18T01:23:55.706Z] SSH_AGENT_PID=17 [2020-09-18T01:23:55.716Z] Running ssh-add (command line suppressed) [2020-09-18T01:23:55.848Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_2061362510464165341.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_2061362510464165341.key) [2020-09-18T01:23:55.893Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T01:23:56.228Z] + git describe --exact-match --tags HEAD [2020-09-18T01:23:56.228Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T01:23:56.253Z] $ docker exec --env ******** --env ******** 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent -k [2020-09-18T01:23:56.372Z] unset SSH_AUTH_SOCK; [2020-09-18T01:23:56.373Z] unset SSH_AGENT_PID; [2020-09-18T01:23:56.373Z] echo Agent pid 17 killed; [2020-09-18T01:23:56.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T01:23:56.501Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T01:23:56.501Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T01:23:56.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T01:23:56.613Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T01:23:56.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T01:23:56.782Z] $ docker exec 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent [2020-09-18T01:23:56.933Z] SSH_AUTH_SOCK=/tmp/ssh-HTKPECbIGdaY/agent.47 [2020-09-18T01:23:56.933Z] SSH_AGENT_PID=52 [2020-09-18T01:23:56.939Z] Running ssh-add (command line suppressed) [2020-09-18T01:23:57.060Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6779919957078491900.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6779919957078491900.key) [2020-09-18T01:23:57.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T01:23:57.437Z] + git semver init [2020-09-18T01:23:57.437Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T01:23:57.437Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git [2020-09-18T01:23:57.437Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-18T01:23:57.437Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T01:23:57.437Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T01:23:57.437Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T01:23:57.437Z] # $SEMVER_BRANCH = PR-42 [2020-09-18T01:23:57.437Z] # $SEMVER_TEMP = /tmp/semver-160106855 [2020-09-18T01:23:57.438Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-18T01:23:58.389Z] # '/tmp/semver-160106855' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' [2020-09-18T01:23:58.389Z] # -> Force: false [2020-09-18T01:23:58.389Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } [2020-09-18T01:23:58.403Z] $ docker exec --env ******** --env ******** 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent -k [2020-09-18T01:23:58.516Z] unset SSH_AUTH_SOCK; [2020-09-18T01:23:58.516Z] unset SSH_AGENT_PID; [2020-09-18T01:23:58.516Z] echo Agent pid 52 killed; [2020-09-18T01:23:58.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T01:23:59.022Z] + git semver [Pipeline] } [2020-09-18T01:23:59.041Z] $ docker stop --time=1 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 [2020-09-18T01:24:00.479Z] $ docker rm -f 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T01:24:02.172Z] Stashed 22 file(s) [Pipeline] echo [2020-09-18T01:24:02.175Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-18T01:24:02.270Z] 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-18T01:24:17.712Z] Still waiting to schedule task [2020-09-18T01:24:17.712Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-340’ [2020-09-18T01:24:17.714Z] Still waiting to schedule task [2020-09-18T01:24:17.714Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-18T01:26:11.055Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-18T01:26:11.119Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-09-18T01:26:12.169Z] Running on prd-centos7-docker-4c-2g-342 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws [2020-09-18T01:26:12.221Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-09-18T01:26:14.682Z] using credential edgex-jenkins-ssh [2020-09-18T01:26:14.736Z] Cloning the remote Git repository [2020-09-18T01:26:14.736Z] Cloning with configured refspecs honoured and without tags [2020-09-18T01:26:14.764Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:14.825Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-09-18T01:26:14.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:14.869Z] > git --version # timeout=10 [2020-09-18T01:26:14.876Z] > git --version # 'git version 2.16.5' [2020-09-18T01:26:14.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:14.904Z] > 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-18T01:26:15.889Z] using credential edgex-jenkins-ssh [2020-09-18T01:26:15.944Z] Cloning the remote Git repository [2020-09-18T01:26:15.944Z] Cloning with configured refspecs honoured and without tags [2020-09-18T01:26:16.013Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:16.163Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-09-18T01:26:16.377Z] Fetching without tags [2020-09-18T01:26:16.748Z] Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:26:16.817Z] Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:26:16.817Z] Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) [2020-09-18T01:26:16.350Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T01:26:16.357Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-18T01:26:16.363Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T01:26:16.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T01:26:16.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:16.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:16.388Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T01:26:16.757Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T01:26:16.762Z] > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [2020-09-18T01:26:16.790Z] > git remote # timeout=10 [2020-09-18T01:26:16.796Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T01:26:16.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:16.804Z] > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-18T01:26:16.813Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T01:26:16.821Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T01:26:16.824Z] > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [2020-09-18T01:26:16.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:16.396Z] > git --version # timeout=10 [2020-09-18T01:26:16.429Z] > git --version # 'git version 2.17.1' [2020-09-18T01:26:16.431Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:16.512Z] > 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-18T01:26:18.062Z] Fetching without tags [2020-09-18T01:26:18.569Z] Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:26:17.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T01:26:17.998Z] > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 [2020-09-18T01:26:18.018Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T01:26:18.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-18T01:26:18.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-18T01:26:18.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:18.090Z] > 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-18T01:26:18.594Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T01:26:18.625Z] > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [2020-09-18T01:26:18.853Z] Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:26:18.853Z] Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) [2020-09-18T01:26:18.714Z] > git remote # timeout=10 [2020-09-18T01:26:18.737Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T01:26:18.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T01:26:18.763Z] > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 [2020-09-18T01:26:18.835Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T01:26:18.865Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T01:26:18.895Z] > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [2020-09-18T01:26:20.393Z] Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T01:26:21.746Z] ========================================================= [2020-09-18T01:26:21.746Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T01:26:21.746Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:26:22.409Z] + 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-18T01:26:22.673Z] Sending build context to Docker daemon 8.054MB [2020-09-18T01:26:22.673Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-18T01:26:22.673Z] Step 2/10 : FROM ${BASE} [2020-09-18T01:26:22.939Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T01:26:22.939Z] df20fa9351a1: Pulling fs layer [2020-09-18T01:26:22.939Z] ed8968b2872e: Pulling fs layer [2020-09-18T01:26:22.939Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T01:26:22.939Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T01:26:22.939Z] e73272ec9a57: Pulling fs layer [2020-09-18T01:26:22.939Z] 1e910a182e73: Pulling fs layer [2020-09-18T01:26:22.939Z] 4e634b169226: Pulling fs layer [2020-09-18T01:26:22.939Z] e73272ec9a57: Waiting [2020-09-18T01:26:22.939Z] 1e910a182e73: Waiting [2020-09-18T01:26:22.939Z] 4e634b169226: Waiting [2020-09-18T01:26:22.939Z] e871e8e8d7a9: Waiting [2020-09-18T01:26:22.939Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T01:26:22.939Z] a92cc7c5fd73: Download complete [2020-09-18T01:26:22.939Z] ed8968b2872e: Verifying Checksum [2020-09-18T01:26:22.939Z] ed8968b2872e: Download complete [2020-09-18T01:26:22.939Z] e73272ec9a57: Verifying Checksum [2020-09-18T01:26:22.939Z] e73272ec9a57: Download complete [2020-09-18T01:26:22.939Z] 1e910a182e73: Verifying Checksum [2020-09-18T01:26:22.939Z] 1e910a182e73: Download complete [2020-09-18T01:26:22.939Z] df20fa9351a1: Verifying Checksum [2020-09-18T01:26:22.939Z] df20fa9351a1: Download complete [2020-09-18T01:26:23.202Z] df20fa9351a1: Pull complete [2020-09-18T01:26:23.274Z] Commit message: "build: upgrade device-sdk-go" [2020-09-18T01:26:23.464Z] ed8968b2872e: Pull complete [2020-09-18T01:26:23.464Z] a92cc7c5fd73: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T01:26:25.364Z] ========================================================= [2020-09-18T01:26:25.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T01:26:25.364Z] ========================================================= [2020-09-18T01:26:25.391Z] 4e634b169226: Verifying Checksum [2020-09-18T01:26:25.391Z] 4e634b169226: Download complete [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:26:25.964Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T01:26:25.964Z] e871e8e8d7a9: Download complete [2020-09-18T01:26:26.321Z] + 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-18T01:26:27.304Z] Sending build context to Docker daemon 8.054MB [2020-09-18T01:26:27.304Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-18T01:26:27.304Z] Step 2/10 : FROM ${BASE} [2020-09-18T01:26:27.578Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T01:26:27.578Z] b538f80385f9: Pulling fs layer [2020-09-18T01:26:27.578Z] 74f711af9a0d: Pulling fs layer [2020-09-18T01:26:27.578Z] 99f96fe45779: Pulling fs layer [2020-09-18T01:26:27.578Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T01:26:27.578Z] 45590311c82a: Pulling fs layer [2020-09-18T01:26:27.578Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T01:26:27.578Z] 209524e5b208: Pulling fs layer [2020-09-18T01:26:27.578Z] 8529a6b9a6be: Waiting [2020-09-18T01:26:27.578Z] 45590311c82a: Waiting [2020-09-18T01:26:27.578Z] 69ca0ff8b7b3: Waiting [2020-09-18T01:26:27.578Z] 209524e5b208: Waiting [2020-09-18T01:26:27.578Z] 99f96fe45779: Download complete [2020-09-18T01:26:27.578Z] 74f711af9a0d: Verifying Checksum [2020-09-18T01:26:27.578Z] 74f711af9a0d: Download complete [2020-09-18T01:26:27.578Z] 45590311c82a: Verifying Checksum [2020-09-18T01:26:27.578Z] 45590311c82a: Download complete [2020-09-18T01:26:27.578Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T01:26:27.578Z] 69ca0ff8b7b3: Download complete [2020-09-18T01:26:27.578Z] b538f80385f9: Verifying Checksum [2020-09-18T01:26:27.578Z] b538f80385f9: Download complete [2020-09-18T01:26:28.179Z] b538f80385f9: Pull complete [2020-09-18T01:26:28.781Z] 74f711af9a0d: Pull complete [2020-09-18T01:26:29.384Z] 99f96fe45779: Pull complete [2020-09-18T01:26:29.659Z] 209524e5b208: Verifying Checksum [2020-09-18T01:26:29.659Z] 209524e5b208: Download complete [2020-09-18T01:26:30.190Z] e871e8e8d7a9: Pull complete [2020-09-18T01:26:30.191Z] e73272ec9a57: Pull complete [2020-09-18T01:26:30.456Z] 1e910a182e73: Pull complete [2020-09-18T01:26:31.110Z] 8529a6b9a6be: Verifying Checksum [2020-09-18T01:26:31.110Z] 8529a6b9a6be: Download complete [2020-09-18T01:26:37.061Z] 4e634b169226: Pull complete [2020-09-18T01:26:37.062Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T01:26:37.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T01:26:37.062Z] ---> f7629b54cfaa [2020-09-18T01:26:37.062Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T01:26:37.324Z] ---> Running in b7b007bf258a [2020-09-18T01:26:37.586Z] Removing intermediate container b7b007bf258a [2020-09-18T01:26:37.586Z] ---> 55db0df020eb [2020-09-18T01:26:37.586Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T01:26:37.586Z] ---> Running in 9205d698fee6 [2020-09-18T01:26:37.847Z] Removing intermediate container 9205d698fee6 [2020-09-18T01:26:37.847Z] ---> bba7413bd4fc [2020-09-18T01:26:37.847Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T01:26:37.847Z] ---> Running in b14bb103aefe [2020-09-18T01:26:38.113Z] Removing intermediate container b14bb103aefe [2020-09-18T01:26:38.113Z] ---> 11b12a56916f [2020-09-18T01:26:38.113Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T01:26:38.113Z] ---> Running in 13d4d79a789c [2020-09-18T01:26:39.504Z] Removing intermediate container 13d4d79a789c [2020-09-18T01:26:39.504Z] ---> 809f80bf92c0 [2020-09-18T01:26:39.504Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T01:26:39.504Z] ---> Running in 0a0024285a3f [2020-09-18T01:26:40.085Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T01:26:41.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T01:26:41.257Z] 8529a6b9a6be: Pull complete [2020-09-18T01:26:41.257Z] 45590311c82a: Pull complete [2020-09-18T01:26:41.257Z] 69ca0ff8b7b3: Pull complete [2020-09-18T01:26:41.291Z] OK: 166 MiB in 39 packages [2020-09-18T01:26:41.868Z] Removing intermediate container 0a0024285a3f [2020-09-18T01:26:41.868Z] ---> acac69c81914 [2020-09-18T01:26:41.868Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-18T01:26:41.868Z] ---> Running in 17cc8ba2d722 [2020-09-18T01:26:41.868Z] Removing intermediate container 17cc8ba2d722 [2020-09-18T01:26:41.868Z] ---> 40fed6af0464 [2020-09-18T01:26:41.868Z] Step 9/10 : COPY . . [2020-09-18T01:26:42.449Z] ---> 2f8ee4d40808 [2020-09-18T01:26:42.449Z] Step 10/10 : RUN go mod download [2020-09-18T01:26:42.449Z] ---> Running in e1e7a0af8ee4 [2020-09-18T01:26:45.591Z] 209524e5b208: Pull complete [2020-09-18T01:26:45.591Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T01:26:45.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T01:26:45.591Z] ---> 5bddaf1c2fca [2020-09-18T01:26:45.591Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T01:26:48.248Z] ---> Running in 305d3e200e89 [2020-09-18T01:26:48.248Z] Removing intermediate container 305d3e200e89 [2020-09-18T01:26:48.248Z] ---> b0fb1e5fbb10 [2020-09-18T01:26:48.248Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T01:26:48.522Z] ---> Running in bfa0998232a2 [2020-09-18T01:26:49.120Z] Removing intermediate container bfa0998232a2 [2020-09-18T01:26:49.120Z] ---> 4620858826d9 [2020-09-18T01:26:49.120Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T01:26:49.120Z] ---> Running in f8af6ca7719a [2020-09-18T01:26:49.395Z] Removing intermediate container f8af6ca7719a [2020-09-18T01:26:49.395Z] ---> 9d82641cc746 [2020-09-18T01:26:49.395Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T01:26:49.676Z] ---> Running in a03be2d5fedf [2020-09-18T01:26:52.310Z] Removing intermediate container a03be2d5fedf [2020-09-18T01:26:52.310Z] ---> 633a9309c9fc [2020-09-18T01:26:52.310Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T01:26:52.310Z] ---> Running in fdf4013d8e21 [2020-09-18T01:26:53.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T01:26:54.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T01:26:54.713Z] Removing intermediate container e1e7a0af8ee4 [2020-09-18T01:26:54.713Z] ---> ec11e2f0e16c [2020-09-18T01:26:54.713Z] Successfully built ec11e2f0e16c [2020-09-18T01:26:54.713Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:26:55.056Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T01:26:55.056Z] . [Pipeline] withDockerContainer [2020-09-18T01:26:55.153Z] prd-centos7-docker-4c-2g-342 does not seem to be running inside a container [2020-09-18T01:26:55.204Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-18T01:26:55.330Z] OK: 142 MiB in 39 packages [2020-09-18T01:26:56.313Z] Removing intermediate container fdf4013d8e21 [2020-09-18T01:26:56.313Z] ---> 47ebf31e2041 [2020-09-18T01:26:56.313Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-18T01:26:56.313Z] ---> Running in 0f11862d61cb [2020-09-18T01:26:56.377Z] $ docker top 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T01:26:56.860Z] + go version [2020-09-18T01:26:56.860Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T01:26:56.875Z] $ docker stop --time=1 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be [2020-09-18T01:26:56.906Z] Removing intermediate container 0f11862d61cb [2020-09-18T01:26:56.906Z] ---> 43a901552f04 [2020-09-18T01:26:56.906Z] Step 9/10 : COPY . . [2020-09-18T01:26:57.895Z] ---> 54c55c5bb1d4 [2020-09-18T01:26:57.895Z] Step 10/10 : RUN go mod download [2020-09-18T01:26:57.895Z] ---> Running in 1e49f4dc636c [2020-09-18T01:26:58.207Z] $ docker rm -f 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:26:59.043Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T01:26:59.043Z] . [Pipeline] withDockerContainer [2020-09-18T01:26:59.132Z] prd-centos7-docker-4c-2g-342 does not seem to be running inside a container [2020-09-18T01:26:59.284Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-18T01:26:59.847Z] $ docker top 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T01:27:00.412Z] + make test [2020-09-18T01:27:00.412Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-18T01:27:01.001Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-18T01:27:11.162Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-18T01:27:11.163Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.3% of statements [2020-09-18T01:27:11.163Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-18T01:27:12.128Z] gofmt -l . [2020-09-18T01:27:12.128Z] [ "`gofmt -l .`" = "" ] [2020-09-18T01:27:12.128Z] ./bin/test-go-mod-tidy.sh [2020-09-18T01:27:12.128Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-18T01:27:12.668Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T01:27:12.676Z] $ docker stop --time=1 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc [2020-09-18T01:27:13.111Z] Removing intermediate container 1e49f4dc636c [2020-09-18T01:27:13.111Z] ---> c067211a0d23 [2020-09-18T01:27:13.111Z] Successfully built c067211a0d23 [2020-09-18T01:27:13.111Z] Successfully tagged ci-base-image-arm64:latest [2020-09-18T01:27:14.919Z] $ docker rm -f 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [2020-09-18T01:27:15.665Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T01:27:15.665Z] . [Pipeline] sh [Pipeline] withDockerContainer [2020-09-18T01:27:18.174Z] + sudo chown -R jenkins:jenkins . [2020-09-18T01:27:18.232Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2020-09-18T01:27:18.327Z] $ 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-arm64 cat [2020-09-18T01:27:20.205Z] $ docker top 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-09-18T01:27:20.952Z] + ls -al . [2020-09-18T01:27:20.952Z] total 96 [2020-09-18T01:27:20.952Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 01:27 . [2020-09-18T01:27:20.952Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 01:26 .. [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 01:26 Attribution.txt [2020-09-18T01:27:20.952Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 01:26 bin [2020-09-18T01:27:20.952Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 01:26 cmd [2020-09-18T01:27:20.952Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 18 01:27 coverage.out [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 01:26 Dockerfile [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 01:26 Dockerfile.build [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 01:26 .dockerignore [2020-09-18T01:27:20.952Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 18 01:27 driver [2020-09-18T01:27:20.952Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 01:26 .git [2020-09-18T01:27:20.952Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 01:26 .github [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 01:26 .gitignore [2020-09-18T01:27:20.952Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 18 01:27 go.mod [2020-09-18T01:27:20.952Z] -rw-r--r--. 1 jenkins jenkins 12547 Sep 18 01:27 go.sum [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 01:26 Jenkinsfile [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 01:26 LICENSE [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 01:26 Makefile [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 5716 Sep 18 01:26 README.md [2020-09-18T01:27:20.952Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 18 01:26 .semver [2020-09-18T01:27:20.952Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 01:26 snap [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 01:24 VERSION [2020-09-18T01:27:20.952Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 01:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:27:21.258Z] + 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=ff42865a43909e95628183f8b986e31a776488bc --label arch=amd64 --label version=0.0.0 . [2020-09-18T01:27:21.259Z] Sending build context to Docker daemon 8.066MB [2020-09-18T01:27:21.259Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-18T01:27:21.259Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-18T01:27:21.259Z] ---> ec11e2f0e16c [2020-09-18T01:27:21.259Z] Step 3/25 : ARG MAKE='make build' [2020-09-18T01:27:21.522Z] ---> Running in 859540567ecd [2020-09-18T01:27:21.522Z] Removing intermediate container 859540567ecd [2020-09-18T01:27:21.522Z] ---> c38696daa591 [2020-09-18T01:27:21.522Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T01:27:21.735Z] + go version [2020-09-18T01:27:21.735Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T01:27:21.759Z] $ docker stop --time=1 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a [2020-09-18T01:27:21.785Z] ---> Running in 47621f3bb834 [2020-09-18T01:27:21.785Z] Removing intermediate container 47621f3bb834 [2020-09-18T01:27:21.785Z] ---> 96a99ea4619b [2020-09-18T01:27:21.785Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T01:27:22.047Z] ---> Running in e3e5257ea91c [2020-09-18T01:27:22.047Z] Removing intermediate container e3e5257ea91c [2020-09-18T01:27:22.047Z] ---> ae239a7baffa [2020-09-18T01:27:22.047Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T01:27:22.047Z] ---> Running in 20508e0d7bb5 [2020-09-18T01:27:23.022Z] Removing intermediate container 20508e0d7bb5 [2020-09-18T01:27:23.022Z] ---> 3bb7af17fbb4 [2020-09-18T01:27:23.022Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T01:27:23.022Z] ---> Running in a457b6bb683c [2020-09-18T01:27:23.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T01:27:23.648Z] $ docker rm -f 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-18T01:27:24.176Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:27:24.440Z] OK: 166 MiB in 39 packages [2020-09-18T01:27:24.750Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T01:27:24.750Z] . [Pipeline] withDockerContainer [2020-09-18T01:27:25.024Z] Removing intermediate container a457b6bb683c [2020-09-18T01:27:25.024Z] ---> 8c3fe52576fb [2020-09-18T01:27:25.024Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-18T01:27:25.024Z] ---> Running in 5de4865593cc [2020-09-18T01:27:25.031Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2020-09-18T01:27:25.115Z] $ 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-arm64 cat [2020-09-18T01:27:25.286Z] Removing intermediate container 5de4865593cc [2020-09-18T01:27:25.286Z] ---> 804804dd5660 [2020-09-18T01:27:25.286Z] Step 9/25 : COPY go.mod . [2020-09-18T01:27:25.547Z] ---> 4cc383a0da52 [2020-09-18T01:27:25.547Z] Step 10/25 : COPY Makefile . [2020-09-18T01:27:25.547Z] ---> 8d673cef17e7 [2020-09-18T01:27:25.547Z] Step 11/25 : RUN make update [2020-09-18T01:27:25.809Z] ---> Running in 8e9edafc9e98 [2020-09-18T01:27:26.070Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-18T01:27:26.646Z] Removing intermediate container 8e9edafc9e98 [2020-09-18T01:27:26.646Z] ---> f026731f4207 [2020-09-18T01:27:26.646Z] Step 12/25 : COPY . . [2020-09-18T01:27:26.972Z] $ docker top 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a -eo pid,comm [2020-09-18T01:27:27.233Z] ---> 052a2dd94290 [2020-09-18T01:27:27.233Z] Step 13/25 : RUN $MAKE [2020-09-18T01:27:27.233Z] ---> Running in 21d3e3526643 [Pipeline] { [Pipeline] sh [2020-09-18T01:27:27.552Z] 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-18T01:27:28.381Z] + make test [2020-09-18T01:27:28.381Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-18T01:27:29.385Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-18T01:27:37.705Z] Removing intermediate container 21d3e3526643 [2020-09-18T01:27:37.705Z] ---> 5f9d21afb719 [2020-09-18T01:27:37.705Z] Step 14/25 : FROM alpine:latest [2020-09-18T01:27:37.705Z] latest: Pulling from library/alpine [2020-09-18T01:27:37.705Z] df20fa9351a1: Already exists [2020-09-18T01:27:37.705Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-18T01:27:37.705Z] Status: Downloaded newer image for alpine:latest [2020-09-18T01:27:37.705Z] ---> a24bb4013296 [2020-09-18T01:27:37.705Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T01:27:37.705Z] ---> Running in 8bc2eea6121d [2020-09-18T01:27:37.705Z] Removing intermediate container 8bc2eea6121d [2020-09-18T01:27:37.705Z] ---> 40a23ea2aeb6 [2020-09-18T01:27:37.705Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-18T01:27:37.705Z] ---> Running in a0e9c43e03c4 [2020-09-18T01:27:37.705Z] Removing intermediate container a0e9c43e03c4 [2020-09-18T01:27:37.705Z] ---> 8e24b8ff4947 [2020-09-18T01:27:37.705Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-18T01:27:37.705Z] ---> fd146b015992 [2020-09-18T01:27:37.705Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-18T01:27:37.705Z] ---> 34bfbf1d5538 [2020-09-18T01:27:37.705Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-18T01:27:38.284Z] ---> 40dc99ef4f20 [2020-09-18T01:27:38.284Z] Step 20/25 : EXPOSE 49986 [2020-09-18T01:27:38.284Z] ---> Running in 0029cdab21a9 [2020-09-18T01:27:38.545Z] Removing intermediate container 0029cdab21a9 [2020-09-18T01:27:38.545Z] ---> b0abd601e2e9 [2020-09-18T01:27:38.545Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-18T01:27:38.545Z] ---> Running in a046721b6ecb [2020-09-18T01:27:38.806Z] Removing intermediate container a046721b6ecb [2020-09-18T01:27:38.806Z] ---> 74d599e868a9 [2020-09-18T01:27:38.806Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-18T01:27:38.806Z] ---> Running in 7116117f1976 [2020-09-18T01:27:39.066Z] Removing intermediate container 7116117f1976 [2020-09-18T01:27:39.066Z] ---> 6bd0522c6b37 [2020-09-18T01:27:39.066Z] Step 23/25 : LABEL arch=amd64 [2020-09-18T01:27:39.066Z] ---> Running in 821df33752dd [2020-09-18T01:27:39.066Z] Removing intermediate container 821df33752dd [2020-09-18T01:27:39.066Z] ---> a78b7406c863 [2020-09-18T01:27:39.066Z] Step 24/25 : LABEL git_sha=ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:27:39.330Z] ---> Running in be6aafa21827 [2020-09-18T01:27:39.330Z] Removing intermediate container be6aafa21827 [2020-09-18T01:27:39.330Z] ---> ed9fabfb6986 [2020-09-18T01:27:39.330Z] Step 25/25 : LABEL version=0.0.0 [2020-09-18T01:27:39.591Z] ---> Running in 9d4247a3e158 [2020-09-18T01:27:39.591Z] Removing intermediate container 9d4247a3e158 [2020-09-18T01:27:39.591Z] ---> acc53f85f699 [2020-09-18T01:27:39.591Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T01:27:39.591Z] Successfully built acc53f85f699 [2020-09-18T01:27:39.591Z] 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-18T01:28:01.793Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-18T01:28:01.793Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements [2020-09-18T01:28:01.793Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-18T01:28:07.218Z] gofmt -l . [2020-09-18T01:28:07.219Z] [ "`gofmt -l .`" = "" ] [2020-09-18T01:28:07.219Z] ./bin/test-go-mod-tidy.sh [2020-09-18T01:28:07.219Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-18T01:28:07.831Z] Warning: overwriting stash ‘coverage-report’ [2020-09-18T01:28:08.453Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T01:28:08.462Z] $ docker stop --time=1 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a [2020-09-18T01:28:10.674Z] $ docker rm -f 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T01:28:11.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T01:28:12.340Z] + ls -al . [2020-09-18T01:28:12.340Z] total 128 [2020-09-18T01:28:12.340Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 01:28 . [2020-09-18T01:28:12.340Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 01:26 .. [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 01:26 .dockerignore [2020-09-18T01:28:12.340Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 01:26 .git [2020-09-18T01:28:12.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:26 .github [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 01:26 .gitignore [2020-09-18T01:28:12.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:26 .semver [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 01:26 Attribution.txt [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 01:26 Dockerfile [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 01:26 Dockerfile.build [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 01:26 Jenkinsfile [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 01:26 LICENSE [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 01:26 Makefile [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 5716 Sep 18 01:26 README.md [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 01:24 VERSION [2020-09-18T01:28:12.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:26 bin [2020-09-18T01:28:12.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:26 cmd [2020-09-18T01:28:12.340Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 18 01:27 coverage.out [2020-09-18T01:28:12.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:27 driver [2020-09-18T01:28:12.340Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 18 01:28 go.mod [2020-09-18T01:28:12.340Z] -rw-r--r-- 1 jenkins jenkins 12547 Sep 18 01:28 go.sum [2020-09-18T01:28:12.340Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 01:26 snap [2020-09-18T01:28:12.340Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 01:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:28:12.684Z] + 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=ff42865a43909e95628183f8b986e31a776488bc --label arch=arm64 --label version=0.0.0 . [2020-09-18T01:28:12.959Z] Sending build context to Docker daemon 8.066MB [2020-09-18T01:28:12.959Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-18T01:28:12.959Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-18T01:28:12.959Z] ---> c067211a0d23 [2020-09-18T01:28:12.959Z] Step 3/25 : ARG MAKE='make build' [2020-09-18T01:28:13.235Z] ---> Running in 419b3128aaed [2020-09-18T01:28:13.838Z] Removing intermediate container 419b3128aaed [2020-09-18T01:28:13.838Z] ---> 8b1de18b5f4d [2020-09-18T01:28:13.838Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-18T01:28:13.838Z] ---> Running in 6e642673390b [2020-09-18T01:28:14.437Z] Removing intermediate container 6e642673390b [2020-09-18T01:28:14.437Z] ---> 7a613302c832 [2020-09-18T01:28:14.437Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-18T01:28:14.437Z] ---> Running in ea93e397e3e3 [2020-09-18T01:28:15.049Z] Removing intermediate container ea93e397e3e3 [2020-09-18T01:28:15.049Z] ---> b26cdb1d0c44 [2020-09-18T01:28:15.049Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T01:28:15.049Z] ---> Running in 1440f2c2d2a7 [2020-09-18T01:28:17.679Z] Removing intermediate container 1440f2c2d2a7 [2020-09-18T01:28:17.679Z] ---> 2a57c71ddd54 [2020-09-18T01:28:17.679Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-18T01:28:17.679Z] ---> Running in 4867eab1bb50 [2020-09-18T01:28:18.663Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T01:28:19.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T01:28:20.226Z] OK: 142 MiB in 39 packages [2020-09-18T01:28:21.218Z] Removing intermediate container 4867eab1bb50 [2020-09-18T01:28:21.218Z] ---> c2082106f359 [2020-09-18T01:28:21.218Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-18T01:28:21.493Z] ---> Running in bf768fa0f485 [2020-09-18T01:28:21.770Z] Removing intermediate container bf768fa0f485 [2020-09-18T01:28:21.770Z] ---> 4071d9f881c4 [2020-09-18T01:28:21.770Z] Step 9/25 : COPY go.mod . [2020-09-18T01:28:22.752Z] ---> a1d98a00f91d [2020-09-18T01:28:22.752Z] Step 10/25 : COPY Makefile . [2020-09-18T01:28:23.362Z] ---> 9b581334ab9a [2020-09-18T01:28:23.362Z] Step 11/25 : RUN make update [2020-09-18T01:28:23.362Z] ---> Running in ba469bd39456 [2020-09-18T01:28:24.806Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-18T01:28:25.788Z] Removing intermediate container ba469bd39456 [2020-09-18T01:28:25.788Z] ---> 5a54ee1be9cd [2020-09-18T01:28:25.788Z] Step 12/25 : COPY . . [2020-09-18T01:28:27.307Z] ---> 775d0cad41f2 [2020-09-18T01:28:27.307Z] Step 13/25 : RUN $MAKE [2020-09-18T01:28:27.307Z] ---> Running in b335e079a10d [2020-09-18T01:28:28.741Z] 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-18T01:28:55.537Z] Removing intermediate container b335e079a10d [2020-09-18T01:28:55.537Z] ---> ee426976e305 [2020-09-18T01:28:55.537Z] Step 14/25 : FROM alpine:latest [2020-09-18T01:28:55.537Z] latest: Pulling from library/alpine [2020-09-18T01:28:55.537Z] b538f80385f9: Already exists [2020-09-18T01:28:55.537Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-18T01:28:55.537Z] Status: Downloaded newer image for alpine:latest [2020-09-18T01:28:55.537Z] ---> 62ee0e9f8440 [2020-09-18T01:28:55.537Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-18T01:28:55.537Z] ---> Running in f8479ebfd547 [2020-09-18T01:28:55.537Z] Removing intermediate container f8479ebfd547 [2020-09-18T01:28:55.537Z] ---> cc7fa3a93497 [2020-09-18T01:28:55.537Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-18T01:28:55.537Z] ---> Running in f4009ee0216f [2020-09-18T01:28:55.537Z] Removing intermediate container f4009ee0216f [2020-09-18T01:28:55.537Z] ---> 482bb9b70096 [2020-09-18T01:28:55.537Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-18T01:28:56.134Z] ---> 231473a98e57 [2020-09-18T01:28:56.134Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-18T01:28:57.117Z] ---> 57b720582a49 [2020-09-18T01:28:57.117Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-18T01:28:58.095Z] ---> f99f17b345f7 [2020-09-18T01:28:58.095Z] Step 20/25 : EXPOSE 49986 [2020-09-18T01:28:58.375Z] ---> Running in 4e9758fcf4aa [2020-09-18T01:28:58.651Z] Removing intermediate container 4e9758fcf4aa [2020-09-18T01:28:58.651Z] ---> 46a783bf26f8 [2020-09-18T01:28:58.651Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-18T01:28:58.924Z] ---> Running in d083d4f3f7db [2020-09-18T01:28:59.196Z] Removing intermediate container d083d4f3f7db [2020-09-18T01:28:59.196Z] ---> 408b1b641d94 [2020-09-18T01:28:59.196Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-18T01:28:59.470Z] ---> Running in e65dfd8970c3 [2020-09-18T01:28:59.748Z] Removing intermediate container e65dfd8970c3 [2020-09-18T01:28:59.748Z] ---> ac9c3bbeab00 [2020-09-18T01:28:59.748Z] Step 23/25 : LABEL arch=arm64 [2020-09-18T01:29:00.022Z] ---> Running in ca256e56c237 [2020-09-18T01:29:00.307Z] Removing intermediate container ca256e56c237 [2020-09-18T01:29:00.307Z] ---> 43fecd724a26 [2020-09-18T01:29:00.307Z] Step 24/25 : LABEL git_sha=ff42865a43909e95628183f8b986e31a776488bc [2020-09-18T01:29:00.579Z] ---> Running in f908eb39c79e [2020-09-18T01:29:00.855Z] Removing intermediate container f908eb39c79e [2020-09-18T01:29:00.855Z] ---> 73bd47097e83 [2020-09-18T01:29:00.855Z] Step 25/25 : LABEL version=0.0.0 [2020-09-18T01:29:01.129Z] ---> Running in a6bae86cda4a [2020-09-18T01:29:01.401Z] Removing intermediate container a6bae86cda4a [2020-09-18T01:29:01.401Z] ---> dae1e6a7d89a [2020-09-18T01:29:01.401Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T01:29:01.401Z] Successfully built dae1e6a7d89a [2020-09-18T01:29:01.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-18T01:29:04.944Z] provisioning config files... [2020-09-18T01:29:04.956Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1105020744234088589tmp [Pipeline] { [Pipeline] sh [2020-09-18T01:29:05.336Z] + curl -s https://codecov.io/bash [2020-09-18T01:29:05.336Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1105020744234088589tmp [Pipeline] } [2020-09-18T01:29:05.610Z] 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-18T01:29:07.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T01:29:08.460Z] ---> package-listing.sh [2020-09-18T01:29:08.460Z] ++ facter osfamily [2020-09-18T01:29:08.460Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T01:29:08.460Z] + OS_FAMILY=redhat [2020-09-18T01:29:08.460Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 [2020-09-18T01:29:08.460Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T01:29:08.460Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T01:29:08.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T01:29:08.460Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T01:29:08.460Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-18T01:29:08.460Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T01:29:08.460Z] + case "${OS_FAMILY}" in [2020-09-18T01:29:08.460Z] + rpm -qa [2020-09-18T01:29:08.460Z] + sort [2020-09-18T01:29:12.695Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T01:29:12.695Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T01:29:12.695Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T01:29:12.695Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' [2020-09-18T01:29:12.695Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [2020-09-18T01:29:12.695Z] + 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-18T01:29:13.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T01:29:13.787Z] [2020-09-18T01:29:13.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T01:29:14.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T01:29:14.176Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T01:29:14.176Z] df20fa9351a1: Pulling fs layer [2020-09-18T01:29:14.176Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T01:29:14.176Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T01:29:14.176Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T01:29:14.176Z] 0dadc02b9964: Pulling fs layer [2020-09-18T01:29:14.176Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T01:29:14.176Z] 7a184a31f384: Pulling fs layer [2020-09-18T01:29:14.176Z] 0879bd2ef858: Pulling fs layer [2020-09-18T01:29:14.176Z] ce6a7cf60c04: Waiting [2020-09-18T01:29:14.176Z] 7a184a31f384: Waiting [2020-09-18T01:29:14.176Z] 46f8f816bc3b: Waiting [2020-09-18T01:29:14.176Z] 0879bd2ef858: Waiting [2020-09-18T01:29:14.176Z] 0dadc02b9964: Waiting [2020-09-18T01:29:14.176Z] 36b3adc4ff6f: Verifying Checksum [2020-09-18T01:29:14.176Z] 36b3adc4ff6f: Download complete [2020-09-18T01:29:14.176Z] 46f8f816bc3b: Verifying Checksum [2020-09-18T01:29:14.176Z] 46f8f816bc3b: Download complete [2020-09-18T01:29:14.456Z] df20fa9351a1: Verifying Checksum [2020-09-18T01:29:14.456Z] df20fa9351a1: Download complete [2020-09-18T01:29:14.456Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T01:29:14.456Z] ce6a7cf60c04: Download complete [2020-09-18T01:29:14.456Z] 7a184a31f384: Download complete [2020-09-18T01:29:14.456Z] 0dadc02b9964: Verifying Checksum [2020-09-18T01:29:14.456Z] 0dadc02b9964: Download complete [2020-09-18T01:29:14.731Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T01:29:14.731Z] 8ad3a11d3b57: Download complete [2020-09-18T01:29:14.731Z] df20fa9351a1: Pull complete [2020-09-18T01:29:15.006Z] 36b3adc4ff6f: Pull complete [2020-09-18T01:29:15.596Z] 0879bd2ef858: Verifying Checksum [2020-09-18T01:29:15.596Z] 0879bd2ef858: Download complete [2020-09-18T01:29:15.863Z] 8ad3a11d3b57: Pull complete [2020-09-18T01:29:15.863Z] 46f8f816bc3b: Pull complete [2020-09-18T01:29:16.126Z] 0dadc02b9964: Pull complete [2020-09-18T01:29:16.390Z] ce6a7cf60c04: Pull complete [2020-09-18T01:29:16.390Z] 7a184a31f384: Pull complete [2020-09-18T01:29:19.767Z] 0879bd2ef858: Pull complete [2020-09-18T01:29:19.767Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T01:29:19.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T01:29:19.767Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T01:29:19.944Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2020-09-18T01:29:20.005Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-18T01:29:25.954Z] $ docker top ff65b5ea4d3cf54fbf42397aa25013b3f5db1f3b62efe6499c778591d7cfdfcd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T01:29:26.483Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T01:29:26.795Z] + ls /var/log/sa-host [2020-09-18T01:29:26.795Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T01:29:26.795Z] file_magic: OK [2020-09-18T01:29:26.795Z] HZ: Using current value: 100 [2020-09-18T01:29:26.795Z] file_header: OK [2020-09-18T01:29:26.795Z] 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-18T01:29:26.795Z] Statistics: [2020-09-18T01:29:26.795Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T01:29:26.795Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T01:29:26.795Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T01:29:26.795Z] file_magic: OK [2020-09-18T01:29:26.795Z] HZ: Using current value: 100 [2020-09-18T01:29:26.795Z] file_header: OK [2020-09-18T01:29:26.795Z] 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-18T01:29:26.795Z] Statistics: [2020-09-18T01:29:26.795Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T01:29:26.795Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T01:29:26.862Z] provisioning config files... [2020-09-18T01:29:26.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config2619168842504128042tmp [Pipeline] { [Pipeline] echo [2020-09-18T01:29:26.958Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T01:29:27.267Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T01:29:27.288Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T01:29:27.600Z] ---> logs-deploy.sh [2020-09-18T01:29:27.600Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/3 [2020-09-18T01:29:27.600Z] INFO: archiving workspace using pattern(s): [2020-09-18T01:29:29.541Z] Archives upload complete. [2020-09-18T01:29:29.541Z] INFO: archiving logs to Nexus