Pull request #39 closed Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a96498e3a5486d5706f145af628414c1fa7f774e 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 ‘prd-centos7-docker-4c-2g-395’ Running on prd-centos7-docker-4c-2g-410 in /w/workspace/xfoundry_device-rest-go_issue-36 [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/xfoundry_device-rest-go_issue-36 # 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/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 Fetching without tags Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (issue-36) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/issue-36:refs/remotes/origin/issue-36 # 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/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 Commit message: "doc: correct build instructions (#36)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:24:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:24:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:24:14 ========================================================= 15:24:14 EdgeX Global Pipelines Version Info 15:24:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:24:16 ------------------- 15:24:16 stable info: 15:24:16 ------------------- 15:24:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:16 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 15:24:16 Message: update stable to v1.0.122 15:24:17 ------------------- 15:24:17 experimental info: 15:24:17 ------------------- 15:24:17 Commited By: **** collab-it+edgex@linuxfoundation.org 15:24:17 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 15:24:17 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:24:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:24:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:24:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:24:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:24:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:24:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-36 [Pipeline] echo 15:24:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-36 [Pipeline] echo 15:24:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-36 [Pipeline] echo 15:24:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a96498e3a5486d5706f145af628414c1fa7f774e [Pipeline] echo 15:24:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a96498e [Pipeline] echo 15:24:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:21 + git log --format=format:%s -1 a96498e3a5486d5706f145af628414c1fa7f774e [Pipeline] echo 15:24:21 GIT_COMMIT: a96498e3a5486d5706f145af628414c1fa7f774e, Commit Message: doc: correct build instructions (#36) [Pipeline] echo 15:24:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:24:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:22 15:24:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:24:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:22 latest: Pulling from edgex-devops/git-semver 15:24:22 31603596830f: Pulling fs layer 15:24:22 2a8b12db71e7: Pulling fs layer 15:24:22 6ca5941a6612: Pulling fs layer 15:24:22 ecc8261a40a4: Pulling fs layer 15:24:22 ecc8261a40a4: Waiting 15:24:22 2a8b12db71e7: Verifying Checksum 15:24:22 2a8b12db71e7: Download complete 15:24:22 31603596830f: Verifying Checksum 15:24:22 31603596830f: Download complete 15:24:22 ecc8261a40a4: Verifying Checksum 15:24:22 ecc8261a40a4: Download complete 15:24:22 6ca5941a6612: Verifying Checksum 15:24:22 6ca5941a6612: Download complete 15:24:22 31603596830f: Pull complete 15:24:22 2a8b12db71e7: Pull complete 15:24:23 6ca5941a6612: Pull complete 15:24:23 ecc8261a40a4: Pull complete 15:24:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:24:24 prd-centos7-docker-4c-2g-410 does not seem to be running inside a container 15:24:24 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-rest-go_issue-36 -v /w/workspace/xfoundry_device-rest-go_issue-36:/w/workspace/xfoundry_device-rest-go_issue-36:rw,z -v /w/workspace/xfoundry_device-rest-go_issue-36@tmp:/w/workspace/xfoundry_device-rest-go_issue-36@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:24:26 $ docker top c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:26 [ssh-agent] Looking for ssh-agent implementation... 15:24:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:26 $ docker exec c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 ssh-agent 15:24:26 SSH_AUTH_SOCK=/tmp/ssh-aeaMI98ZMh5B/agent.11 15:24:26 SSH_AGENT_PID=16 15:24:26 Running ssh-add (command line suppressed) 15:24:27 Identity added: /w/workspace/xfoundry_device-rest-go_issue-36@tmp/private_key_7763198823907384512.key (/w/workspace/xfoundry_device-rest-go_issue-36@tmp/private_key_7763198823907384512.key) 15:24:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:27 + git describe --exact-match --tags HEAD 15:24:27 fatal: No names found, cannot describe anything. [Pipeline] } 15:24:27 $ docker exec --env ******** --env ******** c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 ssh-agent -k 15:24:27 unset SSH_AUTH_SOCK; 15:24:27 unset SSH_AGENT_PID; 15:24:27 echo Agent pid 16 killed; 15:24:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:24:27 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:24:27 This usually means this commit has not been tagged. [Pipeline] sshagent 15:24:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:27 [ssh-agent] Looking for ssh-agent implementation... 15:24:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:28 $ docker exec c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 ssh-agent 15:24:28 SSH_AUTH_SOCK=/tmp/ssh-WcvgDC3Khnkw/agent.44 15:24:28 SSH_AGENT_PID=49 15:24:28 Running ssh-add (command line suppressed) 15:24:28 Identity added: /w/workspace/xfoundry_device-rest-go_issue-36@tmp/private_key_139538648085176701.key (/w/workspace/xfoundry_device-rest-go_issue-36@tmp/private_key_139538648085176701.key) 15:24:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:28 + git semver init 15:24:28 # -> Open(): unable to determine branch for HEAD 15:24:28 # $GIT_DIR = /w/workspace/xfoundry_device-rest-go_issue-36/.git 15:24:28 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-rest-go_issue-36 15:24:28 # $SEMVER_REMOTE_NAME = origin 15:24:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:24:28 # $SEMVER_USER_NAME = edgex-jenkins 15:24:28 # $SEMVER_BRANCH = issue-36 15:24:28 # $SEMVER_TEMP = /tmp/semver-456513218 15:24:28 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:24:30 # '/tmp/semver-456513218' -> '/w/workspace/xfoundry_device-rest-go_issue-36/.semver' 15:24:30 # -> Force: false 15:24:30 # $SEMVER_DIR = /w/workspace/xfoundry_device-rest-go_issue-36/.semver [Pipeline] } 15:24:30 $ docker exec --env ******** --env ******** c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 ssh-agent -k 15:24:30 unset SSH_AUTH_SOCK; 15:24:30 unset SSH_AGENT_PID; 15:24:30 echo Agent pid 49 killed; 15:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:30 + git semver [Pipeline] } 15:24:30 $ docker stop --time=1 c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 15:24:32 $ docker rm -f c989b8ee534026b40ec9ff0d79e6af248233ac9fdf0a936e1ac9fbadc19098e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:24:33 Stashed 22 file(s) [Pipeline] echo 15:24:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 15:24:33 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 15:24:49 Still waiting to schedule task 15:24:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:24:49 Still waiting to schedule task 15:24:49 ‘prd-ubuntu18.04-docker-arm64-4c-16g-409’ is offline 15:25:03 Running on prd-centos7-docker-4c-2g-412 in /w/workspace/xfoundry_device-rest-go_issue-36 [Pipeline] { [Pipeline] ws 15:25:03 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:25:06 using credential edgex-jenkins-ssh 15:25:06 Cloning the remote Git repository 15:25:06 Cloning with configured refspecs honoured and without tags 15:25:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:25:06 > git init /w/workspace/device-rest-go/2 # timeout=10 15:25:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:25:06 > git --version # timeout=10 15:25:06 > git --version # 'git version 2.16.5' 15:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:25:08 Fetching without tags 15:25:08 Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (issue-36) 15:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:25:08 > git config --add remote.origin.fetch +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:25:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:25:08 > git config core.sparsecheckout # timeout=10 15:25:08 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 15:25:12 Commit message: "doc: correct build instructions (#36)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:25:13 ========================================================= 15:25:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:25:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:25:13 + 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 . 15:25:14 Sending build context to Docker daemon 8.054MB 15:25:14 Step 1/10 : ARG BASE=golang:1.15-alpine 15:25:14 Step 2/10 : FROM ${BASE} 15:25:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:25:14 df20fa9351a1: Pulling fs layer 15:25:14 ed8968b2872e: Pulling fs layer 15:25:14 a92cc7c5fd73: Pulling fs layer 15:25:14 e871e8e8d7a9: Pulling fs layer 15:25:14 e73272ec9a57: Pulling fs layer 15:25:14 1e910a182e73: Pulling fs layer 15:25:14 4e634b169226: Pulling fs layer 15:25:14 1e910a182e73: Waiting 15:25:14 e73272ec9a57: Waiting 15:25:14 4e634b169226: Waiting 15:25:14 e871e8e8d7a9: Waiting 15:25:14 a92cc7c5fd73: Download complete 15:25:14 ed8968b2872e: Download complete 15:25:14 e73272ec9a57: Verifying Checksum 15:25:14 e73272ec9a57: Download complete 15:25:14 1e910a182e73: Verifying Checksum 15:25:14 1e910a182e73: Download complete 15:25:14 df20fa9351a1: Verifying Checksum 15:25:14 df20fa9351a1: Download complete 15:25:14 df20fa9351a1: Pull complete 15:25:14 ed8968b2872e: Pull complete 15:25:14 a92cc7c5fd73: Pull complete 15:25:16 4e634b169226: Verifying Checksum 15:25:16 4e634b169226: Download complete 15:25:16 e871e8e8d7a9: Verifying Checksum 15:25:16 e871e8e8d7a9: Download complete 15:25:22 e871e8e8d7a9: Pull complete 15:25:22 e73272ec9a57: Pull complete 15:25:22 1e910a182e73: Pull complete 15:25:26 4e634b169226: Pull complete 15:25:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:25:26 ---> f7629b54cfaa 15:25:26 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:25:26 ---> Running in 7994c49b4a5a 15:25:26 Removing intermediate container 7994c49b4a5a 15:25:26 ---> 9f8ba73d4d64 15:25:26 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:25:26 ---> Running in 65ba8d6bd416 15:25:26 Removing intermediate container 65ba8d6bd416 15:25:26 ---> 9c55185002e0 15:25:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:25:26 ---> Running in 5559cf0d4a29 15:25:26 Removing intermediate container 5559cf0d4a29 15:25:26 ---> e2d83ca50963 15:25:26 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:26 ---> Running in 928461fecc3a 15:25:28 Removing intermediate container 928461fecc3a 15:25:28 ---> 3e12b2d4ec02 15:25:28 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:28 ---> Running in 21491241efe9 15:25:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:25:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:25:30 OK: 166 MiB in 39 packages 15:25:30 Removing intermediate container 21491241efe9 15:25:30 ---> 1f244b7692d9 15:25:30 Step 8/10 : WORKDIR /device-rest-go 15:25:30 ---> Running in 097ec24e8596 15:25:30 Removing intermediate container 097ec24e8596 15:25:30 ---> 408dfe0ca6cd 15:25:30 Step 9/10 : COPY . . 15:25:31 ---> c04315df3579 15:25:31 Step 10/10 : RUN go mod download 15:25:31 ---> Running in c72f87711c8c 15:25:43 Removing intermediate container c72f87711c8c 15:25:43 ---> 4c1b719d111b 15:25:43 Successfully built 4c1b719d111b 15:25:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:25:44 + docker inspect -f . ci-base-image-x86_64 15:25:44 . [Pipeline] withDockerContainer 15:25:44 prd-centos7-docker-4c-2g-412 does not seem to be running inside a container 15:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:25:45 $ docker top 014ba70f878862ab178208fc0a8533eae0c68d6e12fd75b1539ac1eee9bc5a43 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:45 + go version 15:25:45 go version go1.15.2 linux/amd64 [Pipeline] } 15:25:45 $ docker stop --time=1 014ba70f878862ab178208fc0a8533eae0c68d6e12fd75b1539ac1eee9bc5a43 15:25:47 $ docker rm -f 014ba70f878862ab178208fc0a8533eae0c68d6e12fd75b1539ac1eee9bc5a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:48 + docker inspect -f . ci-base-image-x86_64 15:25:48 . [Pipeline] withDockerContainer 15:25:48 prd-centos7-docker-4c-2g-412 does not seem to be running inside a container 15:25:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:25:49 $ docker top 78f37be432807d95b5af755c80838b5cade84aa2904bc4b12a5f1d9ef7180384 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:49 + make test 15:25:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:25:50 ? github.com/edgexfoundry/device-rest-go [no test files] 15:26:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:26:00 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 56.3% of statements 15:26:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:26:00 gofmt -l . 15:26:00 [ "`gofmt -l .`" = "" ] 15:26:00 ./bin/test-go-mod-tidy.sh 15:26:01 ./bin/test-attribution-txt.sh [Pipeline] stash 15:26:01 Stashed 1 file(s) [Pipeline] } 15:26:01 $ docker stop --time=1 78f37be432807d95b5af755c80838b5cade84aa2904bc4b12a5f1d9ef7180384 15:26:04 $ docker rm -f 78f37be432807d95b5af755c80838b5cade84aa2904bc4b12a5f1d9ef7180384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:05 + ls -al . 15:26:05 total 96 15:26:05 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 15:26 . 15:26:05 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 15:25 .. 15:26:05 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 15:25 Attribution.txt 15:26:05 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 15:25 bin 15:26:05 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 15:25 cmd 15:26:05 -rw-r--r--. 1 jenkins jenkins 9369 Sep 18 15:25 coverage.out 15:26:05 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 15:25 Dockerfile 15:26:05 -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 15:25 Dockerfile.build 15:26:05 -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 15:25 .dockerignore 15:26:05 drwxrwxr-x. 2 jenkins jenkins 93 Sep 18 15:25 driver 15:26:05 drwxrwxr-x. 8 jenkins jenkins 162 Sep 18 15:25 .git 15:26:05 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 15:25 .github 15:26:05 -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 15:25 .gitignore 15:26:05 -rw-r--r--. 1 jenkins jenkins 266 Sep 18 15:26 go.mod 15:26:05 -rw-r--r--. 1 jenkins jenkins 12533 Sep 18 15:26 go.sum 15:26:05 -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 15:25 Jenkinsfile 15:26:05 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 15:25 LICENSE 15:26:05 -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 15:25 Makefile 15:26:05 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 18 15:25 README.md 15:26:05 drwxrwxr-x. 3 jenkins jenkins 48 Sep 18 15:25 .semver 15:26:05 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 15:25 snap 15:26:05 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 15:24 VERSION 15:26:05 -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 15:25 version.go [Pipeline] isUnix [Pipeline] sh 15:26:06 + 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=a96498e3a5486d5706f145af628414c1fa7f774e --label arch=amd64 --label version=0.0.0 . 15:26:06 Sending build context to Docker daemon 8.066MB 15:26:06 Step 1/25 : ARG BASE=golang:1.15-alpine 15:26:06 Step 2/25 : FROM ${BASE} AS builder 15:26:06 ---> 4c1b719d111b 15:26:06 Step 3/25 : ARG MAKE='make build' 15:26:06 ---> Running in cd2de2c4683c 15:26:06 Removing intermediate container cd2de2c4683c 15:26:06 ---> c0e555650afe 15:26:06 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:26:06 ---> Running in 4ed4ae5919ea 15:26:06 Removing intermediate container 4ed4ae5919ea 15:26:06 ---> 62aeb8f00428 15:26:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:26:07 ---> Running in c04a739919f4 15:26:07 Removing intermediate container c04a739919f4 15:26:07 ---> 09f250f93812 15:26:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:26:07 ---> Running in 76695208cb91 15:26:08 Removing intermediate container 76695208cb91 15:26:08 ---> 19f04e1b32e7 15:26:08 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:08 ---> Running in cb149421cbbd 15:26:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:26:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:26:09 OK: 166 MiB in 39 packages 15:26:10 Removing intermediate container cb149421cbbd 15:26:10 ---> 79ebfe0a7db6 15:26:10 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:26:10 ---> Running in 5880914809f8 15:26:10 Removing intermediate container 5880914809f8 15:26:10 ---> 272003787436 15:26:10 Step 9/25 : COPY go.mod . 15:26:10 ---> ede7f9abee85 15:26:10 Step 10/25 : COPY Makefile . 15:26:10 ---> c34f11a5a5a7 15:26:10 Step 11/25 : RUN make update 15:26:10 ---> Running in d3257d27b4d7 15:26:11 CGO_ENABLED=0 GO111MODULE=on go mod download 15:26:11 Removing intermediate container d3257d27b4d7 15:26:11 ---> a67274e92ef0 15:26:11 Step 12/25 : COPY . . 15:26:12 ---> 34d1ff6c4e8e 15:26:12 Step 13/25 : RUN $MAKE 15:26:12 ---> Running in fa3d814b3e25 15:26:12 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 15:26:22 Removing intermediate container fa3d814b3e25 15:26:22 ---> 3d4bf317709a 15:26:22 Step 14/25 : FROM alpine:latest 15:26:22 latest: Pulling from library/alpine 15:26:22 df20fa9351a1: Already exists 15:26:24 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:26:24 Status: Downloaded newer image for alpine:latest 15:26:24 ---> a24bb4013296 15:26:24 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:26:24 ---> Running in 58a6de8cf7a7 15:26:24 Removing intermediate container 58a6de8cf7a7 15:26:24 ---> 8b592e95a9d3 15:26:24 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 15:26:24 ---> Running in 74ad0fdafd8e 15:26:24 Removing intermediate container 74ad0fdafd8e 15:26:24 ---> ffee64ca6bbf 15:26:24 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:26:25 ---> 20cda07b3c36 15:26:25 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:26:25 ---> 91a23350e6f9 15:26:25 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:26:25 ---> 0b10f6764494 15:26:25 Step 20/25 : EXPOSE 49986 15:26:25 ---> Running in 4dfb847bbcd9 15:26:25 Removing intermediate container 4dfb847bbcd9 15:26:25 ---> c6ceab9fb75b 15:26:25 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 15:26:26 ---> Running in 467088c45d6d 15:26:26 Removing intermediate container 467088c45d6d 15:26:26 ---> 697dcdc19bc2 15:26:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:26:26 ---> Running in 2c438b7308f8 15:26:26 Removing intermediate container 2c438b7308f8 15:26:26 ---> 62bd25c44a9b 15:26:26 Step 23/25 : LABEL arch=amd64 15:26:26 ---> Running in dc4ca84d22d5 15:26:26 Removing intermediate container dc4ca84d22d5 15:26:26 ---> d02690b1d8c6 15:26:26 Step 24/25 : LABEL git_sha=a96498e3a5486d5706f145af628414c1fa7f774e 15:26:26 ---> Running in ac1a6fe8fb5c 15:26:26 Removing intermediate container ac1a6fe8fb5c 15:26:26 ---> af8c7d59f47b 15:26:26 Step 25/25 : LABEL version=0.0.0 15:26:26 ---> Running in 1a7519992090 15:26:27 Removing intermediate container 1a7519992090 15:26:27 ---> 6089d0df077c 15:26:27 [Warning] One or more build-args [ARCH] were not consumed 15:26:27 Successfully built 6089d0df077c 15:26:27 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] } 15:26:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-413 in /w/workspace/xfoundry_device-rest-go_issue-36 [Pipeline] { [Pipeline] ws 15:26:42 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:26:47 using credential edgex-jenkins-ssh 15:26:47 Cloning the remote Git repository 15:26:47 Cloning with configured refspecs honoured and without tags 15:26:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:26:47 > git init /w/workspace/device-rest-go/2 # timeout=10 15:26:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:26:47 > git --version # timeout=10 15:26:47 > git --version # 'git version 2.17.1' 15:26:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:26:51 Fetching without tags 15:26:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:26:50 > git config --add remote.origin.fetch +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:26:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:26:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/issue-36:refs/remotes/origin/issue-36 # timeout=10 15:26:51 Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (issue-36) 15:26:51 > git config core.sparsecheckout # timeout=10 15:26:51 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 15:26:55 Commit message: "doc: correct build instructions (#36)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:26:57 ========================================================= 15:26:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:26:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:26:58 + 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 . 15:26:59 Sending build context to Docker daemon 8.054MB 15:26:59 Step 1/10 : ARG BASE=golang:1.15-alpine 15:26:59 Step 2/10 : FROM ${BASE} 15:27:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:27:00 b538f80385f9: Pulling fs layer 15:27:00 74f711af9a0d: Pulling fs layer 15:27:00 99f96fe45779: Pulling fs layer 15:27:00 8529a6b9a6be: Pulling fs layer 15:27:00 45590311c82a: Pulling fs layer 15:27:00 69ca0ff8b7b3: Pulling fs layer 15:27:00 209524e5b208: Pulling fs layer 15:27:00 69ca0ff8b7b3: Waiting 15:27:00 8529a6b9a6be: Waiting 15:27:00 45590311c82a: Waiting 15:27:00 209524e5b208: Waiting 15:27:00 99f96fe45779: Download complete 15:27:00 74f711af9a0d: Verifying Checksum 15:27:00 45590311c82a: Verifying Checksum 15:27:00 45590311c82a: Download complete 15:27:00 69ca0ff8b7b3: Verifying Checksum 15:27:00 69ca0ff8b7b3: Download complete 15:27:00 b538f80385f9: Verifying Checksum 15:27:00 b538f80385f9: Download complete 15:27:01 b538f80385f9: Pull complete 15:27:01 74f711af9a0d: Pull complete 15:27:02 99f96fe45779: Pull complete 15:27:02 209524e5b208: Verifying Checksum 15:27:02 209524e5b208: Download complete 15:27:03 8529a6b9a6be: Verifying Checksum 15:27:03 8529a6b9a6be: Download complete 15:27:13 8529a6b9a6be: Pull complete 15:27:14 45590311c82a: Pull complete 15:27:14 69ca0ff8b7b3: Pull complete 15:27:19 209524e5b208: Pull complete 15:27:19 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:27:19 ---> 5bddaf1c2fca 15:27:19 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:27:21 ---> Running in fee71ae2f2be 15:27:21 Removing intermediate container fee71ae2f2be 15:27:21 ---> 8558ad41f408 15:27:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:27:21 ---> Running in 905fb53ae4eb 15:27:22 Removing intermediate container 905fb53ae4eb 15:27:22 ---> 2702c1e37c85 15:27:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:27:22 ---> Running in 454a329c7a68 15:27:22 Removing intermediate container 454a329c7a68 15:27:22 ---> 78301d43fa5a 15:27:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:27:22 ---> Running in fe7aeeb351b3 15:27:25 Removing intermediate container fe7aeeb351b3 15:27:25 ---> d562c73d3fb1 15:27:25 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:25 ---> Running in f47700eb05c6 15:27:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:27:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:27:28 OK: 142 MiB in 39 packages 15:27:29 Removing intermediate container f47700eb05c6 15:27:29 ---> 38d54de39256 15:27:29 Step 8/10 : WORKDIR /device-rest-go 15:27:29 ---> Running in 94267498980c 15:27:30 Removing intermediate container 94267498980c 15:27:30 ---> 7fd1c5b59f7d 15:27:30 Step 9/10 : COPY . . 15:27:31 ---> e7af4242e6d1 15:27:31 Step 10/10 : RUN go mod download 15:27:31 ---> Running in 938aaa16742d 15:27:46 Removing intermediate container 938aaa16742d 15:27:46 ---> a4eacbcbcb7d 15:27:46 Successfully built a4eacbcbcb7d 15:27:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:27:46 + docker inspect -f . ci-base-image-arm64 15:27:46 . [Pipeline] withDockerContainer 15:27:47 prd-ubuntu18.04-docker-arm64-4c-16g-413 does not seem to be running inside a container 15:27:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:27:48 $ docker top 9b70e0d43a61f8da3f5b944668a57992f95056cf3c929789b39c7325bc500d08 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:50 + go version 15:27:50 go version go1.15.2 linux/arm64 [Pipeline] } 15:27:50 $ docker stop --time=1 9b70e0d43a61f8da3f5b944668a57992f95056cf3c929789b39c7325bc500d08 15:27:52 $ docker rm -f 9b70e0d43a61f8da3f5b944668a57992f95056cf3c929789b39c7325bc500d08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:27:53 + docker inspect -f . ci-base-image-arm64 15:27:53 . [Pipeline] withDockerContainer 15:27:53 prd-ubuntu18.04-docker-arm64-4c-16g-413 does not seem to be running inside a container 15:27:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:27:55 $ docker top b5b49650a438df1441a6c66f975ac02ffd758ae35f07af10f8038608a7456968 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:56 + make test 15:27:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:27:57 ? github.com/edgexfoundry/device-rest-go [no test files] 15:28:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:28:30 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements 15:28:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:28:34 gofmt -l . 15:28:34 [ "`gofmt -l .`" = "" ] 15:28:34 ./bin/test-go-mod-tidy.sh 15:28:34 ./bin/test-attribution-txt.sh [Pipeline] stash 15:28:35 Warning: overwriting stash ‘coverage-report’ 15:28:35 Stashed 1 file(s) [Pipeline] } 15:28:35 $ docker stop --time=1 b5b49650a438df1441a6c66f975ac02ffd758ae35f07af10f8038608a7456968 15:28:37 $ docker rm -f b5b49650a438df1441a6c66f975ac02ffd758ae35f07af10f8038608a7456968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:28:39 + ls -al . 15:28:39 total 128 15:28:39 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 15:28 . 15:28:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 15:26 .. 15:28:39 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 15:26 .dockerignore 15:28:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 15:26 .git 15:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:26 .github 15:28:39 -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 15:26 .gitignore 15:28:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 15:26 .semver 15:28:39 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 15:26 Attribution.txt 15:28:39 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 15:26 Dockerfile 15:28:39 -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 15:26 Dockerfile.build 15:28:39 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 15:26 Jenkinsfile 15:28:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 15:26 LICENSE 15:28:39 -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 15:26 Makefile 15:28:39 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 18 15:26 README.md 15:28:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 15:24 VERSION 15:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:26 bin 15:28:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 15:26 cmd 15:28:39 -rw-r--r-- 1 jenkins jenkins 9369 Sep 18 15:28 coverage.out 15:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 15:28 driver 15:28:39 -rw-r--r-- 1 jenkins jenkins 266 Sep 18 15:28 go.mod 15:28:39 -rw-r--r-- 1 jenkins jenkins 12533 Sep 18 15:28 go.sum 15:28:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 15:26 snap 15:28:39 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 15:26 version.go [Pipeline] isUnix [Pipeline] sh 15:28:40 + 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=a96498e3a5486d5706f145af628414c1fa7f774e --label arch=arm64 --label version=0.0.0 . 15:28:40 Sending build context to Docker daemon 8.066MB 15:28:40 Step 1/25 : ARG BASE=golang:1.15-alpine 15:28:40 Step 2/25 : FROM ${BASE} AS builder 15:28:40 ---> a4eacbcbcb7d 15:28:40 Step 3/25 : ARG MAKE='make build' 15:28:40 ---> Running in 55c4af3e212d 15:28:41 Removing intermediate container 55c4af3e212d 15:28:41 ---> 8022010a9596 15:28:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:28:41 ---> Running in 8556f3f7dafa 15:28:41 Removing intermediate container 8556f3f7dafa 15:28:41 ---> 074cf2a00ab9 15:28:41 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:28:41 ---> Running in 9eab95f5a9a7 15:28:42 Removing intermediate container 9eab95f5a9a7 15:28:42 ---> 4130d901581c 15:28:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:28:42 ---> Running in 08a086116c01 15:28:45 Removing intermediate container 08a086116c01 15:28:45 ---> a0d541a5565a 15:28:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:45 ---> Running in 283ec110c991 15:28:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:28:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:28:47 OK: 142 MiB in 39 packages 15:28:48 Removing intermediate container 283ec110c991 15:28:48 ---> dc38c7c19320 15:28:48 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:28:49 ---> Running in 89d184eea4cd 15:28:49 Removing intermediate container 89d184eea4cd 15:28:49 ---> 6bccadb0d285 15:28:49 Step 9/25 : COPY go.mod . 15:28:50 ---> 3c4993a4efb0 15:28:50 Step 10/25 : COPY Makefile . 15:28:50 ---> fbf224053501 15:28:50 Step 11/25 : RUN make update 15:28:50 ---> Running in 1654606a7f31 15:28:52 CGO_ENABLED=0 GO111MODULE=on go mod download 15:28:53 Removing intermediate container 1654606a7f31 15:28:53 ---> 9af946874dab 15:28:53 Step 12/25 : COPY . . 15:28:54 ---> ea7c5d6208e0 15:28:54 Step 13/25 : RUN $MAKE 15:28:54 ---> Running in 514cd5df3c66 15:28:56 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 15:29:23 Removing intermediate container 514cd5df3c66 15:29:23 ---> 65cd9adcf30f 15:29:23 Step 14/25 : FROM alpine:latest 15:29:23 latest: Pulling from library/alpine 15:29:23 b538f80385f9: Already exists 15:29:23 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:29:23 Status: Downloaded newer image for alpine:latest 15:29:23 ---> 62ee0e9f8440 15:29:23 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:29:23 ---> Running in 20a1ed80d628 15:29:23 Removing intermediate container 20a1ed80d628 15:29:23 ---> e779e90e5d16 15:29:23 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 15:29:23 ---> Running in 411e2f9025ab 15:29:23 Removing intermediate container 411e2f9025ab 15:29:23 ---> 6443a550ddbc 15:29:23 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:29:23 ---> e0e6151b1149 15:29:23 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:29:24 ---> ae4d67f6a026 15:29:24 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:29:25 ---> 0723fbe4591f 15:29:25 Step 20/25 : EXPOSE 49986 15:29:25 ---> Running in 13548f068efb 15:29:26 Removing intermediate container 13548f068efb 15:29:26 ---> 78d1873caa06 15:29:26 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 15:29:26 ---> Running in d7e46a85e8ef 15:29:26 Removing intermediate container d7e46a85e8ef 15:29:26 ---> 5c8d41bdfbe0 15:29:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:29:26 ---> Running in 37c5a2b27d55 15:29:27 Removing intermediate container 37c5a2b27d55 15:29:27 ---> 39330ac89fda 15:29:27 Step 23/25 : LABEL arch=arm64 15:29:27 ---> Running in 275bae28636e 15:29:27 Removing intermediate container 275bae28636e 15:29:27 ---> 0c1b72951d64 15:29:27 Step 24/25 : LABEL git_sha=a96498e3a5486d5706f145af628414c1fa7f774e 15:29:27 ---> Running in 8f24478d7955 15:29:28 Removing intermediate container 8f24478d7955 15:29:28 ---> 47b70e86d5b4 15:29:28 Step 25/25 : LABEL version=0.0.0 15:29:28 ---> Running in 7ac8a0901640 15:29:29 Removing intermediate container 7ac8a0901640 15:29:29 ---> f3198988e3f9 15:29:29 [Warning] One or more build-args [ARCH] were not consumed 15:29:29 Successfully built f3198988e3f9 15:29:29 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 15:29:31 provisioning config files... 15:29:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/xfoundry_device-rest-go_issue-36@tmp/config2016145534550763373tmp [Pipeline] { [Pipeline] sh 15:29:32 + curl -s https://codecov.io/bash 15:29:32 + bash -s - -t @/w/workspace/xfoundry_device-rest-go_issue-36@tmp/config2016145534550763373tmp [Pipeline] } 15:29:32 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 15:29:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:29:35 ---> package-listing.sh 15:29:35 ++ facter osfamily 15:29:35 ++ tr '[:upper:]' '[:lower:]' 15:29:35 + OS_FAMILY=redhat 15:29:35 + workspace=/w/workspace/xfoundry_device-rest-go_issue-36 15:29:35 + START_PACKAGES=/tmp/packages_start.txt 15:29:35 + END_PACKAGES=/tmp/packages_end.txt 15:29:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:29:35 + PACKAGES=/tmp/packages_start.txt 15:29:35 + '[' /w/workspace/xfoundry_device-rest-go_issue-36 ']' 15:29:35 + PACKAGES=/tmp/packages_end.txt 15:29:35 + case "${OS_FAMILY}" in 15:29:35 + rpm -qa 15:29:35 + sort 15:29:39 + '[' -f /tmp/packages_start.txt ']' 15:29:39 + '[' -f /tmp/packages_end.txt ']' 15:29:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:29:39 + '[' /w/workspace/xfoundry_device-rest-go_issue-36 ']' 15:29:39 + mkdir -p /w/workspace/xfoundry_device-rest-go_issue-36/archives/ 15:29:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-rest-go_issue-36/archives/ [Pipeline] isUnix [Pipeline] sh 15:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:39 15:29:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:29:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:40 alpine: Pulling from edgex-lftools-log-publisher 15:29:40 df20fa9351a1: Pulling fs layer 15:29:40 36b3adc4ff6f: Pulling fs layer 15:29:40 8ad3a11d3b57: Pulling fs layer 15:29:40 46f8f816bc3b: Pulling fs layer 15:29:40 0dadc02b9964: Pulling fs layer 15:29:40 ce6a7cf60c04: Pulling fs layer 15:29:40 7a184a31f384: Pulling fs layer 15:29:40 0879bd2ef858: Pulling fs layer 15:29:40 0dadc02b9964: Waiting 15:29:40 ce6a7cf60c04: Waiting 15:29:40 7a184a31f384: Waiting 15:29:40 0879bd2ef858: Waiting 15:29:40 46f8f816bc3b: Waiting 15:29:40 36b3adc4ff6f: Verifying Checksum 15:29:40 36b3adc4ff6f: Download complete 15:29:40 46f8f816bc3b: Verifying Checksum 15:29:40 46f8f816bc3b: Download complete 15:29:40 df20fa9351a1: Verifying Checksum 15:29:40 ce6a7cf60c04: Verifying Checksum 15:29:40 ce6a7cf60c04: Download complete 15:29:40 7a184a31f384: Verifying Checksum 15:29:40 7a184a31f384: Download complete 15:29:40 0dadc02b9964: Verifying Checksum 15:29:40 0dadc02b9964: Download complete 15:29:40 df20fa9351a1: Pull complete 15:29:40 8ad3a11d3b57: Verifying Checksum 15:29:40 8ad3a11d3b57: Download complete 15:29:40 36b3adc4ff6f: Pull complete 15:29:40 0879bd2ef858: Verifying Checksum 15:29:40 0879bd2ef858: Download complete 15:29:41 8ad3a11d3b57: Pull complete 15:29:41 46f8f816bc3b: Pull complete 15:29:41 0dadc02b9964: Pull complete 15:29:42 ce6a7cf60c04: Pull complete 15:29:42 7a184a31f384: Pull complete 15:29:44 0879bd2ef858: Pull complete 15:29:44 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 15:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:29:44 prd-centos7-docker-4c-2g-410 does not seem to be running inside a container 15:29:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/xfoundry_device-rest-go_issue-36 -v /w/workspace/xfoundry_device-rest-go_issue-36:/w/workspace/xfoundry_device-rest-go_issue-36:rw,z -v /w/workspace/xfoundry_device-rest-go_issue-36@tmp:/w/workspace/xfoundry_device-rest-go_issue-36@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:29:49 $ docker top 7b3a222de87ba8d2cc4cfb670f48cfde3da06da5647a9d9803bc421836b15d00 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:50 + mkdir -p /var/log/sa [Pipeline] sh 15:29:50 + ls /var/log/sa-host 15:29:50 + sadf -c /var/log/sa-host/sa05 15:29:50 file_magic: OK 15:29:50 HZ: Using current value: 100 15:29:50 file_header: OK 15:29:50 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 15:29:50 Statistics: 15:29:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:50 File successfully converted to sysstat format version 12.2.1 15:29:50 + sadf -c /var/log/sa-host/sa18 15:29:50 file_magic: OK 15:29:50 HZ: Using current value: 100 15:29:50 file_header: OK 15:29:50 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 15:29:50 Statistics: 15:29:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:50 provisioning config files... 15:29:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-rest-go_issue-36@tmp/config2289168625689254257tmp [Pipeline] { [Pipeline] echo 15:29:50 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:29:50 ---> create-netrc.sh [Pipeline] echo 15:29:50 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:29:51 ---> logs-deploy.sh 15:29:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/issue-36/2 15:29:51 INFO: archiving workspace using pattern(s): 15:29:52 Archives upload complete. 15:29:52 INFO: archiving logs to Nexus