Pull request #40 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from bc3ce705db6333ca6b2343c166c1f26c14dd2a4e+43efee3cfdd526bf845b5582b1730bb1b93e3b78 (c8dda10c787fc29902d3d09f0f84ff2c04135832) 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 ‘prd-centos7-docker-4c-2g-138’ is offline; ‘prd-centos7-docker-4c-2g-139’ is offline; ‘prd-centos7-docker-4c-2g-144’ is offline; ‘prd-centos7-docker-4c-2g-149’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-143’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-137’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-142’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-151 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-40 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 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/40/head:refs/remotes/origin/PR-40 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit bc3ce705db6333ca6b2343c166c1f26c14dd2a4e Merge succeeded, producing bc3ce705db6333ca6b2343c166c1f26c14dd2a4e Checking out Revision bc3ce705db6333ca6b2343c166c1f26c14dd2a4e (PR-40) > git config core.sparsecheckout # timeout=10 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:51:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:51:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:51:56 ========================================================= 08:51:56 EdgeX Global Pipelines Version Info 08:51:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 08:51:59 ------------------- 08:51:59 stable info: 08:51:59 ------------------- 08:51:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:51:59 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:51:59 Message: update stable to v1.0.122 08:52:00 ------------------- 08:52:00 experimental info: 08:52:00 ------------------- 08:52:00 Commited By: **** collab-it+edgex@linuxfoundation.org 08:52:00 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:52:00 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:52:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:52:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:52:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:52:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:52:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc3ce705db6333ca6b2343c166c1f26c14dd2a4e [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc3ce70 [Pipeline] echo 08:52:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:04 + git log --format=format:%s -1 bc3ce705db6333ca6b2343c166c1f26c14dd2a4e [Pipeline] echo 08:52:05 GIT_COMMIT: bc3ce705db6333ca6b2343c166c1f26c14dd2a4e, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:52:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:06 08:52:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:52:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:07 latest: Pulling from edgex-devops/git-semver 08:52:07 31603596830f: Pulling fs layer 08:52:07 2a8b12db71e7: Pulling fs layer 08:52:07 6ca5941a6612: Pulling fs layer 08:52:07 ecc8261a40a4: Pulling fs layer 08:52:07 ecc8261a40a4: Waiting 08:52:07 2a8b12db71e7: Download complete 08:52:07 31603596830f: Verifying Checksum 08:52:07 31603596830f: Download complete 08:52:08 31603596830f: Pull complete 08:52:08 ecc8261a40a4: Verifying Checksum 08:52:08 ecc8261a40a4: Download complete 08:52:08 6ca5941a6612: Verifying Checksum 08:52:08 6ca5941a6612: Download complete 08:52:08 2a8b12db71e7: Pull complete 08:52:09 6ca5941a6612: Pull complete 08:52:10 ecc8261a40a4: Pull complete 08:52:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:52:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:52:10 prd-centos7-docker-4c-2g-151 does not seem to be running inside a container 08:52:10 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-40 -v /w/workspace/dgexfoundry_device-rest-go_PR-40:/w/workspace/dgexfoundry_device-rest-go_PR-40:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:52:13 $ docker top 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:13 [ssh-agent] Looking for ssh-agent implementation... 08:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:14 $ docker exec 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 ssh-agent 08:52:14 SSH_AUTH_SOCK=/tmp/ssh-wvpx4bpL4yS2/agent.11 08:52:14 SSH_AGENT_PID=16 08:52:14 Running ssh-add (command line suppressed) 08:52:15 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7955902252148965614.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7955902252148965614.key) 08:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:15 + git describe --exact-match --tags HEAD 08:52:15 fatal: No names found, cannot describe anything. [Pipeline] } 08:52:15 $ docker exec --env ******** --env ******** 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 ssh-agent -k 08:52:16 unset SSH_AUTH_SOCK; 08:52:16 unset SSH_AGENT_PID; 08:52:16 echo Agent pid 16 killed; 08:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:52:16 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:52:16 This usually means this commit has not been tagged. [Pipeline] sshagent 08:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:52:16 [ssh-agent] Looking for ssh-agent implementation... 08:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:52:16 $ docker exec 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 ssh-agent 08:52:17 SSH_AUTH_SOCK=/tmp/ssh-iO31h1vXSRlg/agent.45 08:52:17 SSH_AGENT_PID=50 08:52:17 Running ssh-add (command line suppressed) 08:52:17 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_8739870029399968539.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_8739870029399968539.key) 08:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:18 + git semver init 08:52:18 # -> Open(): unable to determine branch for HEAD 08:52:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.git 08:52:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-40 08:52:18 # $SEMVER_REMOTE_NAME = origin 08:52:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:52:18 # $SEMVER_USER_NAME = edgex-jenkins 08:52:18 # $SEMVER_BRANCH = PR-40 08:52:18 # $SEMVER_TEMP = /tmp/semver-569764342 08:52:18 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:52:20 # '/tmp/semver-569764342' -> '/w/workspace/dgexfoundry_device-rest-go_PR-40/.semver' 08:52:20 # -> Force: false 08:52:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.semver [Pipeline] } 08:52:20 $ docker exec --env ******** --env ******** 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 ssh-agent -k 08:52:20 unset SSH_AUTH_SOCK; 08:52:20 unset SSH_AGENT_PID; 08:52:20 echo Agent pid 50 killed; 08:52:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:52:21 + git semver [Pipeline] } 08:52:21 $ docker stop --time=1 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 08:52:23 $ docker rm -f 7aa14d2e0da6a610ae0fb191abec2f4cfdbd7f2c9eba59c9eb81a54115d55026 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:52:26 Stashed 21 file(s) [Pipeline] echo 08:52:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:52:26 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 08:52:41 Still waiting to schedule task 08:52:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:52:41 Still waiting to schedule task 08:52:41 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:54:26 Running on prd-centos7-docker-4c-2g-164 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 08:54:26 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 08:54:35 using credential edgex-jenkins-ssh 08:54:35 Cloning the remote Git repository 08:54:35 Cloning with configured refspecs honoured and without tags 08:54:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:54:35 > git init /w/workspace/device-rest-go/2 # timeout=10 08:54:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:54:35 > git --version # timeout=10 08:54:35 > git --version # 'git version 2.16.5' 08:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:37 Fetching without tags 08:54:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:54:37 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 08:54:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:54:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:37 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:54:37 Merge succeeded, producing bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:54:37 Checking out Revision bc3ce705db6333ca6b2343c166c1f26c14dd2a4e (PR-40) 08:54:37 > git config core.sparsecheckout # timeout=10 08:54:37 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 08:54:37 > git remote # timeout=10 08:54:37 > git config --get remote.origin.url # timeout=10 08:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:37 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 08:54:37 > git rev-parse HEAD^{commit} # timeout=10 08:54:37 > git config core.sparsecheckout # timeout=10 08:54:37 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 08:54:41 Commit message: "build: Upgrade to Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:54:43 ========================================================= 08:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:54:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:54:44 + 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 . 08:54:44 Sending build context to Docker daemon 8.048MB 08:54:44 Step 1/10 : ARG BASE=golang:1.15-alpine 08:54:44 Step 2/10 : FROM ${BASE} 08:54:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:54:44 df20fa9351a1: Pulling fs layer 08:54:44 ed8968b2872e: Pulling fs layer 08:54:44 a92cc7c5fd73: Pulling fs layer 08:54:44 e871e8e8d7a9: Pulling fs layer 08:54:44 e73272ec9a57: Pulling fs layer 08:54:44 1e910a182e73: Pulling fs layer 08:54:44 4e634b169226: Pulling fs layer 08:54:44 e73272ec9a57: Waiting 08:54:44 1e910a182e73: Waiting 08:54:44 4e634b169226: Waiting 08:54:44 e871e8e8d7a9: Waiting 08:54:44 a92cc7c5fd73: Verifying Checksum 08:54:44 a92cc7c5fd73: Download complete 08:54:44 ed8968b2872e: Download complete 08:54:44 e73272ec9a57: Download complete 08:54:44 1e910a182e73: Download complete 08:54:45 df20fa9351a1: Verifying Checksum 08:54:45 df20fa9351a1: Download complete 08:54:45 df20fa9351a1: Pull complete 08:54:46 ed8968b2872e: Pull complete 08:54:46 a92cc7c5fd73: Pull complete 08:54:49 4e634b169226: Verifying Checksum 08:54:49 4e634b169226: Download complete 08:54:49 e871e8e8d7a9: Verifying Checksum 08:54:49 e871e8e8d7a9: Download complete 08:54:57 e871e8e8d7a9: Pull complete 08:54:57 e73272ec9a57: Pull complete 08:54:57 1e910a182e73: Pull complete 08:55:04 4e634b169226: Pull complete 08:55:04 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:55:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:55:04 ---> f7629b54cfaa 08:55:04 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:55:04 ---> Running in 8ca8bd082b1d 08:55:04 Removing intermediate container 8ca8bd082b1d 08:55:04 ---> 53cacf39e53c 08:55:04 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:55:04 ---> Running in f71aaa4f9fe7 08:55:04 Removing intermediate container f71aaa4f9fe7 08:55:04 ---> 566bd8750398 08:55:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:55:04 ---> Running in 8870e7fe3c44 08:55:05 Removing intermediate container 8870e7fe3c44 08:55:05 ---> c3a494aecf3b 08:55:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:05 ---> Running in 25542f58fbb6 08:55:07 Removing intermediate container 25542f58fbb6 08:55:07 ---> e0b11932f274 08:55:07 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:55:07 ---> Running in 0dd8675d70b8 08:55:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:55:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:55:08 OK: 166 MiB in 39 packages 08:55:09 Removing intermediate container 0dd8675d70b8 08:55:09 ---> 0379be92738d 08:55:09 Step 8/10 : WORKDIR /device-rest-go 08:55:09 ---> Running in d2fa82b429a4 08:55:09 Removing intermediate container d2fa82b429a4 08:55:09 ---> a9b8b77d30a6 08:55:09 Step 9/10 : COPY . . 08:55:10 ---> 328e960d4eb9 08:55:10 Step 10/10 : RUN go mod download 08:55:10 ---> Running in 2f96e2e5fc1e 08:55:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-166 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 08:55:19 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 08:55:22 Removing intermediate container 2f96e2e5fc1e 08:55:22 ---> 631c0c50cb46 08:55:22 Successfully built 631c0c50cb46 08:55:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:55:23 + docker inspect -f . ci-base-image-x86_64 08:55:23 . [Pipeline] withDockerContainer 08:55:23 prd-centos7-docker-4c-2g-164 does not seem to be running inside a container 08:55:24 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:24 using credential edgex-jenkins-ssh 08:55:24 Cloning the remote Git repository 08:55:24 Cloning with configured refspecs honoured and without tags 08:55:25 $ docker top 3eab02acae6a52a20df10fc796f2f7e0a35850a51fce033a65c68d8e6ca31f9f -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:55:25 > git init /w/workspace/device-rest-go/2 # timeout=10 08:55:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:55:25 > git --version # timeout=10 08:55:25 > git --version # 'git version 2.17.1' 08:55:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:26 + go version 08:55:26 go version go1.15.2 linux/amd64 [Pipeline] } 08:55:26 $ docker stop --time=1 3eab02acae6a52a20df10fc796f2f7e0a35850a51fce033a65c68d8e6ca31f9f 08:55:26 Fetching without tags 08:55:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:55:26 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 08:55:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:55:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:55:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:55:27 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:55:27 Merge succeeded, producing bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:55:27 Checking out Revision bc3ce705db6333ca6b2343c166c1f26c14dd2a4e (PR-40) 08:55:27 $ docker rm -f 3eab02acae6a52a20df10fc796f2f7e0a35850a51fce033a65c68d8e6ca31f9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:27 > git config core.sparsecheckout # timeout=10 08:55:27 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 08:55:27 > git remote # timeout=10 08:55:27 > git config --get remote.origin.url # timeout=10 08:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:27 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 08:55:27 > git rev-parse HEAD^{commit} # timeout=10 08:55:27 > git config core.sparsecheckout # timeout=10 08:55:27 > git checkout -f bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 08:55:28 + docker inspect -f . ci-base-image-x86_64 08:55:28 . [Pipeline] withDockerContainer 08:55:28 prd-centos7-docker-4c-2g-164 does not seem to be running inside a container 08:55:28 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:29 $ docker top 4ced7bbd9b22bf43c96fa3d0a64f890ea661f69822f379075a01ddf7e76a2b7c -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:30 + make test 08:55:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:55:31 ? github.com/edgexfoundry/device-rest-go [no test files] 08:55:32 Commit message: "build: Upgrade to Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:55:34 ========================================================= 08:55:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:55:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:55:35 + 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 . 08:55:36 Sending build context to Docker daemon 8.048MB 08:55:36 Step 1/10 : ARG BASE=golang:1.15-alpine 08:55:36 Step 2/10 : FROM ${BASE} 08:55:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:55:36 b538f80385f9: Pulling fs layer 08:55:36 74f711af9a0d: Pulling fs layer 08:55:36 99f96fe45779: Pulling fs layer 08:55:36 8529a6b9a6be: Pulling fs layer 08:55:36 45590311c82a: Pulling fs layer 08:55:36 69ca0ff8b7b3: Pulling fs layer 08:55:36 209524e5b208: Pulling fs layer 08:55:36 45590311c82a: Waiting 08:55:36 8529a6b9a6be: Waiting 08:55:36 209524e5b208: Waiting 08:55:36 69ca0ff8b7b3: Waiting 08:55:36 99f96fe45779: Verifying Checksum 08:55:36 99f96fe45779: Download complete 08:55:37 74f711af9a0d: Download complete 08:55:37 45590311c82a: Verifying Checksum 08:55:37 45590311c82a: Download complete 08:55:37 69ca0ff8b7b3: Download complete 08:55:37 b538f80385f9: Verifying Checksum 08:55:37 b538f80385f9: Download complete 08:55:37 b538f80385f9: Pull complete 08:55:38 74f711af9a0d: Pull complete 08:55:38 99f96fe45779: Pull complete 08:55:40 209524e5b208: Verifying Checksum 08:55:40 209524e5b208: Download complete 08:55:41 8529a6b9a6be: Verifying Checksum 08:55:41 8529a6b9a6be: Download complete 08:55:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:55:46 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements 08:55:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:55:49 gofmt -l . 08:55:49 [ "`gofmt -l .`" = "" ] 08:55:49 ./bin/test-go-mod-tidy.sh 08:55:49 ./bin/test-attribution-txt.sh [Pipeline] stash 08:55:50 Stashed 1 file(s) [Pipeline] } 08:55:50 $ docker stop --time=1 4ced7bbd9b22bf43c96fa3d0a64f890ea661f69822f379075a01ddf7e76a2b7c 08:55:51 8529a6b9a6be: Pull complete 08:55:51 45590311c82a: Pull complete 08:55:51 69ca0ff8b7b3: Pull complete 08:55:53 $ docker rm -f 4ced7bbd9b22bf43c96fa3d0a64f890ea661f69822f379075a01ddf7e76a2b7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:55 + ls -al . 08:55:55 total 96 08:55:55 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 08:55 . 08:55:55 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:54 .. 08:55:55 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 08:54 Attribution.txt 08:55:55 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 08:54 bin 08:55:55 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:54 cmd 08:55:55 -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 08:55 coverage.out 08:55:55 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 08:54 Dockerfile 08:55:55 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 08:54 Dockerfile.build 08:55:55 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 08:54 .dockerignore 08:55:55 drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 08:55 driver 08:55:55 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:54 .git 08:55:55 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:54 .github 08:55:55 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 08:54 .gitignore 08:55:55 -rw-r--r--. 1 jenkins jenkins 266 Sep 17 08:55 go.mod 08:55:55 -rw-r--r--. 1 jenkins jenkins 12533 Sep 17 08:55 go.sum 08:55:55 -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 08:54 Jenkinsfile 08:55:55 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:54 LICENSE 08:55:55 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 08:54 Makefile 08:55:55 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 08:54 README.md 08:55:55 drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 08:54 .semver 08:55:55 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:54 snap 08:55:55 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:52 VERSION 08:55:55 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 08:54 version.go [Pipeline] isUnix [Pipeline] sh 08:55:55 + 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=bc3ce705db6333ca6b2343c166c1f26c14dd2a4e --label arch=amd64 --label version=0.0.0 . 08:55:55 Sending build context to Docker daemon 8.059MB 08:55:55 Step 1/25 : ARG BASE=golang:1.15-alpine 08:55:55 Step 2/25 : FROM ${BASE} AS builder 08:55:55 ---> 631c0c50cb46 08:55:55 Step 3/25 : ARG MAKE='make build' 08:55:56 ---> Running in 3edd13a1e1e1 08:55:56 209524e5b208: Pull complete 08:55:56 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:55:56 ---> 5bddaf1c2fca 08:55:56 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:55:56 Removing intermediate container 3edd13a1e1e1 08:55:56 ---> 5d559e6826d9 08:55:56 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:55:56 ---> Running in a4a2c22aa5c6 08:55:56 Removing intermediate container a4a2c22aa5c6 08:55:56 ---> 1a07937d8f95 08:55:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:55:56 ---> Running in 7f6842361fa8 08:55:56 Removing intermediate container 7f6842361fa8 08:55:56 ---> 938303fff47a 08:55:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:56 ---> Running in 7f54c910a759 08:55:58 Removing intermediate container 7f54c910a759 08:55:58 ---> 628f1b03c47a 08:55:58 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:55:58 ---> Running in 2480e3c8fb07 08:55:58 ---> Running in 8b5e1b86e9ba 08:55:59 Removing intermediate container 8b5e1b86e9ba 08:55:59 ---> fe96e8616165 08:55:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:55:59 ---> Running in ebced7347220 08:55:59 Removing intermediate container ebced7347220 08:55:59 ---> f8efe967b26d 08:55:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:55:59 ---> Running in 7f7249fec2da 08:55:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:56:00 Removing intermediate container 7f7249fec2da 08:56:00 ---> 302bccb0698e 08:56:00 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:00 ---> Running in 956e7e85593a 08:56:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:56:01 OK: 166 MiB in 39 packages 08:56:02 Removing intermediate container 2480e3c8fb07 08:56:02 ---> 060efa8e8b7a 08:56:02 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 08:56:02 ---> Running in 7a2e658172fa 08:56:02 Removing intermediate container 7a2e658172fa 08:56:02 ---> f323f27c9055 08:56:02 Step 9/25 : COPY go.mod . 08:56:02 ---> dabdca43c8a5 08:56:02 Step 10/25 : COPY Makefile . 08:56:02 ---> eebc4eccca83 08:56:02 Step 11/25 : RUN make update 08:56:02 ---> Running in a8884d8faa2f 08:56:02 Removing intermediate container 956e7e85593a 08:56:02 ---> ecd6c97061d5 08:56:02 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:03 CGO_ENABLED=0 GO111MODULE=on go mod download 08:56:03 ---> Running in e2d53e02c733 08:56:03 Removing intermediate container a8884d8faa2f 08:56:03 ---> df91f9cd6b7d 08:56:03 Step 12/25 : COPY . . 08:56:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:56:04 ---> 77b0a2b4a25e 08:56:04 Step 13/25 : RUN $MAKE 08:56:04 ---> Running in 74d77c0a7589 08:56:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:56:05 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 08:56:06 OK: 142 MiB in 39 packages 08:56:07 Removing intermediate container e2d53e02c733 08:56:07 ---> 111db36e85d3 08:56:07 Step 8/10 : WORKDIR /device-rest-go 08:56:07 ---> Running in fb5d5ec331c9 08:56:08 Removing intermediate container fb5d5ec331c9 08:56:08 ---> fc56b5d84cdd 08:56:08 Step 9/10 : COPY . . 08:56:09 ---> 6b7990dcb8c3 08:56:09 Step 10/10 : RUN go mod download 08:56:09 ---> Running in 23b59cbf322e 08:56:21 Removing intermediate container 74d77c0a7589 08:56:21 ---> 92bb563fd48e 08:56:21 Step 14/25 : FROM alpine:latest 08:56:21 latest: Pulling from library/alpine 08:56:21 df20fa9351a1: Already exists 08:56:21 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:56:21 Status: Downloaded newer image for alpine:latest 08:56:21 ---> a24bb4013296 08:56:21 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:56:21 ---> Running in 20b44ba08ebe 08:56:21 Removing intermediate container 20b44ba08ebe 08:56:21 ---> cdbeccf8391b 08:56:21 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 08:56:21 ---> Running in 1ff23039e394 08:56:21 Removing intermediate container 1ff23039e394 08:56:21 ---> 5aa417d6394d 08:56:21 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 08:56:22 ---> 98f83250a5dc 08:56:22 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 08:56:22 ---> 8fe094d3c661 08:56:22 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 08:56:23 ---> 9a5f9c8af1c0 08:56:23 Step 20/25 : EXPOSE 49986 08:56:23 ---> Running in 2c6dd60b826a 08:56:23 Removing intermediate container 2c6dd60b826a 08:56:23 ---> 65b5a81878a1 08:56:23 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 08:56:23 ---> Running in 419c000f195d 08:56:24 Removing intermediate container 419c000f195d 08:56:24 ---> 6c446ff39ccc 08:56:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:56:24 ---> Running in ac71ebaad710 08:56:24 Removing intermediate container ac71ebaad710 08:56:24 ---> cd7097b93f84 08:56:24 Step 23/25 : LABEL arch=amd64 08:56:24 ---> Running in 8c5a54891def 08:56:24 Removing intermediate container 8c5a54891def 08:56:24 ---> ce3cb7b59fd7 08:56:24 Step 24/25 : LABEL git_sha=bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:56:24 ---> Running in 4ca77e6bca87 08:56:24 Removing intermediate container 4ca77e6bca87 08:56:24 ---> b5af871d3710 08:56:24 Step 25/25 : LABEL version=0.0.0 08:56:24 ---> Running in caa2d86bcc1e 08:56:24 Removing intermediate container 23b59cbf322e 08:56:24 ---> cff57739a261 08:56:24 Successfully built cff57739a261 08:56:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:56:25 Removing intermediate container caa2d86bcc1e 08:56:25 ---> 15928522d82c 08:56:25 [Warning] One or more build-args [ARCH] were not consumed 08:56:25 Successfully built 15928522d82c 08:56:25 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } 08:56:25 + docker inspect -f . ci-base-image-arm64 08:56:25 . [Pipeline] // stage [Pipeline] withDockerContainer 08:56:25 prd-ubuntu18.04-docker-arm64-4c-16g-166 does not seem to be running inside a container 08:56:25 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:56:27 $ docker top 88c4b0e1eaf5b76765647858f7c4052aada060a5357b8178226b657e4530bef1 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] sh 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] } 08:56:29 + go version 08:56:29 go version go1.15.2 linux/arm64 [Pipeline] } 08:56:29 $ docker stop --time=1 88c4b0e1eaf5b76765647858f7c4052aada060a5357b8178226b657e4530bef1 08:56:31 $ docker rm -f 88c4b0e1eaf5b76765647858f7c4052aada060a5357b8178226b657e4530bef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:56:32 + docker inspect -f . ci-base-image-arm64 08:56:32 . [Pipeline] withDockerContainer 08:56:32 prd-ubuntu18.04-docker-arm64-4c-16g-166 does not seem to be running inside a container 08:56:32 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:56:34 $ docker top afc48017929bfae34c003d552992e7dce0ac7d823493c7b475625db79132307d -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:36 + make test 08:56:36 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:56:37 ? github.com/edgexfoundry/device-rest-go [no test files] 08:57:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:57:10 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.3% of statements 08:57:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:57:17 gofmt -l . 08:57:17 [ "`gofmt -l .`" = "" ] 08:57:17 ./bin/test-go-mod-tidy.sh 08:57:17 ./bin/test-attribution-txt.sh [Pipeline] stash 08:57:18 Warning: overwriting stash ‘coverage-report’ 08:57:18 Stashed 1 file(s) [Pipeline] } 08:57:18 $ docker stop --time=1 afc48017929bfae34c003d552992e7dce0ac7d823493c7b475625db79132307d 08:57:21 $ docker rm -f afc48017929bfae34c003d552992e7dce0ac7d823493c7b475625db79132307d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:57:22 + ls -al . 08:57:22 total 128 08:57:22 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 08:57 . 08:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 .. 08:57:22 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 08:55 .dockerignore 08:57:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:55 .git 08:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 .github 08:57:22 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 08:55 .gitignore 08:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 .semver 08:57:22 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 08:55 Attribution.txt 08:57:22 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 08:55 Dockerfile 08:57:22 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 08:55 Dockerfile.build 08:57:22 -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 08:55 Jenkinsfile 08:57:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:55 LICENSE 08:57:22 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 08:55 Makefile 08:57:22 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 08:55 README.md 08:57:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:52 VERSION 08:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:55 bin 08:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:55 cmd 08:57:22 -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 08:57 coverage.out 08:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:57 driver 08:57:22 -rw-r--r-- 1 jenkins jenkins 266 Sep 17 08:57 go.mod 08:57:22 -rw-r--r-- 1 jenkins jenkins 12533 Sep 17 08:57 go.sum 08:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:55 snap 08:57:22 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 08:55 version.go [Pipeline] isUnix [Pipeline] sh 08:57:23 + 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=bc3ce705db6333ca6b2343c166c1f26c14dd2a4e --label arch=arm64 --label version=0.0.0 . 08:57:23 Sending build context to Docker daemon 8.059MB 08:57:23 Step 1/25 : ARG BASE=golang:1.15-alpine 08:57:23 Step 2/25 : FROM ${BASE} AS builder 08:57:23 ---> cff57739a261 08:57:23 Step 3/25 : ARG MAKE='make build' 08:57:23 ---> Running in ec9ec1b04248 08:57:24 Removing intermediate container ec9ec1b04248 08:57:24 ---> 92715f4ddee8 08:57:24 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:57:24 ---> Running in d6ac85fcac63 08:57:24 Removing intermediate container d6ac85fcac63 08:57:24 ---> 62ec5fd5d4e2 08:57:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:57:24 ---> Running in a7f1d8f876c0 08:57:25 Removing intermediate container a7f1d8f876c0 08:57:25 ---> 46d2d744df55 08:57:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:57:25 ---> Running in e77d9ee2228d 08:57:28 Removing intermediate container e77d9ee2228d 08:57:28 ---> f93ffc132b27 08:57:28 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:28 ---> Running in a274f402a080 08:57:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:57:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:57:31 OK: 142 MiB in 39 packages 08:57:32 Removing intermediate container a274f402a080 08:57:32 ---> d170a10cbbcf 08:57:32 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 08:57:32 ---> Running in 1834e2fcdedb 08:57:32 Removing intermediate container 1834e2fcdedb 08:57:32 ---> ad2abd727ffb 08:57:32 Step 9/25 : COPY go.mod . 08:57:33 ---> c1a9361f2ebf 08:57:33 Step 10/25 : COPY Makefile . 08:57:34 ---> af2d3810ae5d 08:57:34 Step 11/25 : RUN make update 08:57:34 ---> Running in aa30a941547a 08:57:35 CGO_ENABLED=0 GO111MODULE=on go mod download 08:57:36 Removing intermediate container aa30a941547a 08:57:36 ---> 4e53ed69751a 08:57:36 Step 12/25 : COPY . . 08:57:37 ---> 4f8ae18f718d 08:57:37 Step 13/25 : RUN $MAKE 08:57:37 ---> Running in 600225cc98b6 08:57:39 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 08:58:06 Removing intermediate container 600225cc98b6 08:58:06 ---> 17236834b8e8 08:58:06 Step 14/25 : FROM alpine:latest 08:58:06 latest: Pulling from library/alpine 08:58:06 b538f80385f9: Already exists 08:58:06 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:58:06 Status: Downloaded newer image for alpine:latest 08:58:06 ---> 62ee0e9f8440 08:58:06 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:58:06 ---> Running in b45ea95891a1 08:58:06 Removing intermediate container b45ea95891a1 08:58:06 ---> c24fdd982df5 08:58:06 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 08:58:06 ---> Running in cd6de6a08221 08:58:06 Removing intermediate container cd6de6a08221 08:58:06 ---> adb11cfe97a0 08:58:06 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 08:58:06 ---> 703aaeed2751 08:58:06 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 08:58:07 ---> 9784c04fe1d1 08:58:07 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 08:58:08 ---> 779ac2d65a2f 08:58:08 Step 20/25 : EXPOSE 49986 08:58:08 ---> Running in fc408617f0bc 08:58:09 Removing intermediate container fc408617f0bc 08:58:09 ---> c5442a62ccf0 08:58:09 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 08:58:09 ---> Running in 872bce54a5f2 08:58:10 Removing intermediate container 872bce54a5f2 08:58:10 ---> 68f0ac24b71c 08:58:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:58:10 ---> Running in d41f6e85a44b 08:58:10 Removing intermediate container d41f6e85a44b 08:58:10 ---> 1ac11fc22e65 08:58:10 Step 23/25 : LABEL arch=arm64 08:58:10 ---> Running in 423206e870e0 08:58:11 Removing intermediate container 423206e870e0 08:58:11 ---> ee3b7090693d 08:58:11 Step 24/25 : LABEL git_sha=bc3ce705db6333ca6b2343c166c1f26c14dd2a4e 08:58:11 ---> Running in 2188fd89c3f8 08:58:11 Removing intermediate container 2188fd89c3f8 08:58:11 ---> 29cd57e0f727 08:58:11 Step 25/25 : LABEL version=0.0.0 08:58:11 ---> Running in df5e2b9c8a64 08:58:12 Removing intermediate container df5e2b9c8a64 08:58:12 ---> 2d83c7b893c0 08:58:12 [Warning] One or more build-args [ARCH] were not consumed 08:58:12 Successfully built 2d83c7b893c0 08:58:12 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 08:58:14 provisioning config files... 08:58:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config7179928618365898759tmp [Pipeline] { [Pipeline] sh 08:58:14 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config7179928618365898759tmp 08:58:14 + curl -s https://codecov.io/bash [Pipeline] } 08:58:15 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 08:58:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:58:19 ---> package-listing.sh 08:58:19 ++ facter osfamily 08:58:19 ++ tr '[:upper:]' '[:lower:]' 08:58:19 + OS_FAMILY=redhat 08:58:19 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-40 08:58:19 + START_PACKAGES=/tmp/packages_start.txt 08:58:19 + END_PACKAGES=/tmp/packages_end.txt 08:58:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:58:19 + PACKAGES=/tmp/packages_start.txt 08:58:19 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 08:58:19 + PACKAGES=/tmp/packages_end.txt 08:58:19 + case "${OS_FAMILY}" in 08:58:19 + rpm -qa 08:58:19 + sort 08:58:25 + '[' -f /tmp/packages_start.txt ']' 08:58:25 + '[' -f /tmp/packages_end.txt ']' 08:58:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:58:25 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 08:58:25 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ 08:58:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ [Pipeline] isUnix [Pipeline] sh 08:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:58:25 08:58:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:58:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:58:26 alpine: Pulling from edgex-lftools-log-publisher 08:58:26 df20fa9351a1: Pulling fs layer 08:58:26 36b3adc4ff6f: Pulling fs layer 08:58:26 8ad3a11d3b57: Pulling fs layer 08:58:26 46f8f816bc3b: Pulling fs layer 08:58:26 0dadc02b9964: Pulling fs layer 08:58:26 ce6a7cf60c04: Pulling fs layer 08:58:26 7a184a31f384: Pulling fs layer 08:58:26 0879bd2ef858: Pulling fs layer 08:58:26 0dadc02b9964: Waiting 08:58:26 ce6a7cf60c04: Waiting 08:58:26 7a184a31f384: Waiting 08:58:26 0879bd2ef858: Waiting 08:58:26 46f8f816bc3b: Waiting 08:58:26 36b3adc4ff6f: Verifying Checksum 08:58:26 36b3adc4ff6f: Download complete 08:58:26 46f8f816bc3b: Verifying Checksum 08:58:26 46f8f816bc3b: Download complete 08:58:26 df20fa9351a1: Verifying Checksum 08:58:26 ce6a7cf60c04: Verifying Checksum 08:58:26 ce6a7cf60c04: Download complete 08:58:26 7a184a31f384: Verifying Checksum 08:58:26 7a184a31f384: Download complete 08:58:26 0dadc02b9964: Verifying Checksum 08:58:26 0dadc02b9964: Download complete 08:58:27 8ad3a11d3b57: Verifying Checksum 08:58:27 8ad3a11d3b57: Download complete 08:58:27 df20fa9351a1: Pull complete 08:58:27 36b3adc4ff6f: Pull complete 08:58:28 8ad3a11d3b57: Pull complete 08:58:28 0879bd2ef858: Verifying Checksum 08:58:28 0879bd2ef858: Download complete 08:58:28 46f8f816bc3b: Pull complete 08:58:29 0dadc02b9964: Pull complete 08:58:29 ce6a7cf60c04: Pull complete 08:58:29 7a184a31f384: Pull complete 08:58:35 0879bd2ef858: Pull complete 08:58:35 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:58:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:58:35 prd-centos7-docker-4c-2g-151 does not seem to be running inside a container 08:58:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-40 -v /w/workspace/dgexfoundry_device-rest-go_PR-40:/w/workspace/dgexfoundry_device-rest-go_PR-40:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:58:40 $ docker top d941784b8755eecedf2eb857eaaab1c6fac546764257467cc06857e2bdb9268c -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:41 + mkdir -p /var/log/sa [Pipeline] sh 08:58:42 + ls /var/log/sa-host 08:58:42 + sadf -c /var/log/sa-host/sa05 08:58:42 file_magic: OK 08:58:42 HZ: Using current value: 100 08:58:42 file_header: OK 08:58:42 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 08:58:42 Statistics: 08:58:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:58:42 File successfully converted to sysstat format version 12.2.1 08:58:42 + sadf -c /var/log/sa-host/sa17 08:58:42 file_magic: OK 08:58:42 HZ: Using current value: 100 08:58:42 file_header: OK 08:58:42 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 08:58:42 Statistics: 08:58:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:58:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:58:42 provisioning config files... 08:58:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config882145552977197042tmp [Pipeline] { [Pipeline] echo 08:58:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:58:42 ---> create-netrc.sh [Pipeline] echo 08:58:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:58:42 ---> logs-deploy.sh 08:58:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-40/2 08:58:42 INFO: archiving workspace using pattern(s): 08:58:45 Archives upload complete. 08:58:45 INFO: archiving logs to Nexus 08:58:47 ---> uname -a: 08:58:47 Linux d941784b8755 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 08:58:47 08:58:47 08:58:47 ---> lscpu: 08:58:47 Architecture: x86_64 08:58:47 CPU op-mode(s): 32-bit, 64-bit 08:58:47 Byte Order: Little Endian 08:58:47 Address sizes: 40 bits physical, 48 bits virtual 08:58:47 CPU(s): 4 08:58:47 On-line CPU(s) list: 0-3 08:58:47 Thread(s) per core: 1 08:58:47 Core(s) per socket: 1 08:58:47 Socket(s): 4 08:58:47 NUMA node(s): 1 08:58:47 Vendor ID: GenuineIntel 08:58:47 CPU family: 6 08:58:47 Model: 44 08:58:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:58:47 Stepping: 1 08:58:47 CPU MHz: 2933.438 08:58:47 BogoMIPS: 5866.87 08:58:47 Virtualization: VT-x 08:58:47 Hypervisor vendor: KVM 08:58:47 Virtualization type: full 08:58:47 L1d cache: 128 KiB 08:58:47 L1i cache: 128 KiB 08:58:47 L2 cache: 16 MiB 08:58:47 L3 cache: 64 MiB 08:58:47 NUMA node0 CPU(s): 0-3 08:58:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:58:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:58:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:58:47 Vulnerability Meltdown: Mitigation; PTI 08:58:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:58:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:58:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:58:47 Vulnerability Tsx async abort: Not affected 08:58:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:58:47 08:58:47 08:58:47 ---> nproc: 08:58:47 4 08:58:47 08:58:47 08:58:47 ---> df -h: 08:58:47 Filesystem Size Used Available Use% Mounted on 08:58:47 overlay 50.0G 7.0G 43.0G 14% / 08:58:47 tmpfs 64.0M 0 64.0M 0% /dev 08:58:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:58:47 shm 64.0M 0 64.0M 0% /dev/shm 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40 08:58:47 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp 08:58:47 08:58:47 08:58:47 ---> free -m: 08:58:47 total used free shared buff/cache available 08:58:47 Mem: 1837 675 139 0 1022 1054 08:58:47 Swap: 1023 0 1023 08:58:47 08:58:47 08:58:47 ---> ip addr: 08:58:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:58:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:58:47 inet 127.0.0.1/8 scope host lo 08:58:47 valid_lft forever preferred_lft forever 08:58:47 6: eth0@if7: mtu 1458 qdisc noqueue state UP 08:58:47 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 08:58:47 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 08:58:47 valid_lft forever preferred_lft forever 08:58:47 08:58:47 08:58:47 ---> sar -b -r -n DEV: 08:58:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 08:58:47 08:58:47 08:50:06 LINUX RESTART (4 CPU) 08:58:47 08:58:47 08:51:04 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:58:47 08:52:02 76.41 47.37 29.05 0.00 3626.67 3337.83 0.00 08:58:47 08:53:01 28.40 10.91 17.49 0.00 4516.69 2504.90 0.00 08:58:47 08:54:01 0.40 0.00 0.40 0.00 0.00 6.70 0.00 08:58:47 08:55:01 0.23 0.00 0.23 0.00 0.00 2.96 0.00 08:58:47 08:56:01 0.42 0.00 0.42 0.00 0.00 6.04 0.00 08:58:47 08:57:01 0.25 0.00 0.25 0.00 0.00 3.99 0.00 08:58:47 08:58:01 0.27 0.02 0.25 0.00 0.13 2.83 0.00 08:58:47 Average: 14.73 8.05 6.69 0.00 1138.20 816.38 0.00 08:58:47 08:58:47 08:51:04 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:58:47 08:52:02 104776 0 553020 29.39 2620 1221140 1111880 37.95 423208 1195660 5500 08:58:47 08:53:01 152372 0 601880 31.99 2620 1124684 1161052 39.62 481876 1088428 24 08:58:47 08:54:01 162112 0 592132 31.47 2620 1124692 1074044 36.66 476264 1085768 8 08:58:47 08:55:01 159972 0 594272 31.58 2620 1124692 1074312 36.66 479136 1085256 16 08:58:47 08:56:01 159704 0 594532 31.60 2620 1124700 1074384 36.67 480608 1084188 20 08:58:47 08:57:01 161344 0 592888 31.51 2620 1124704 1074140 36.66 479156 1084184 16 08:58:47 08:58:01 161696 0 592532 31.49 2620 1124708 1074140 36.66 479128 1084184 12 08:58:47 Average: 151711 0 588751 31.29 2620 1138474 1091993 37.27 471339 1101095 799 08:58:47 08:58:47 08:51:04 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:58:47 08:52:02 eth0 214.65 153.65 866.05 57.43 0.00 0.00 0.00 0.00 08:58:47 08:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:53:01 eth0 108.02 91.02 482.26 175.85 0.00 0.00 0.00 0.00 08:58:47 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:53:01 docker0 17.54 18.94 2.15 132.95 0.00 0.00 0.00 0.00 08:58:47 08:54:01 eth0 3.21 0.37 0.52 0.20 0.00 0.00 0.00 0.00 08:58:47 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:55:01 eth0 3.01 1.01 1.19 0.78 0.00 0.00 0.00 0.00 08:58:47 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:56:01 eth0 0.97 0.58 0.54 0.36 0.00 0.00 0.00 0.00 08:58:47 08:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:57:01 eth0 0.47 0.25 0.15 0.11 0.00 0.00 0.00 0.00 08:58:47 08:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:58:01 eth0 1.80 0.33 0.40 0.17 0.00 0.00 0.00 0.00 08:58:47 08:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 08:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 Average: eth0 46.12 34.35 187.59 33.06 0.00 0.00 0.00 0.00 08:58:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:58:47 Average: docker0 2.49 2.69 0.30 18.86 0.00 0.00 0.00 0.00 08:58:47 08:58:47 08:58:47 ---> sar -P ALL: 08:58:47 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/17/20 _x86_64_ (4 CPU) 08:58:47 08:58:47 08:50:06 LINUX RESTART (4 CPU) 08:58:47 08:58:47 08:51:04 CPU %user %nice %system %iowait %steal %idle 08:58:47 08:52:02 all 16.41 0.00 8.64 3.68 35.31 35.97 08:58:47 08:52:02 0 14.52 0.00 9.13 4.16 36.96 35.22 08:58:47 08:52:02 1 14.76 0.00 7.81 4.17 34.41 38.86 08:58:47 08:52:02 2 15.67 0.00 8.56 3.31 35.01 37.46 08:58:47 08:52:02 3 20.92 0.00 9.10 3.02 34.87 32.09 08:58:47 08:53:01 all 2.80 0.00 1.84 0.54 8.12 86.71 08:58:47 08:53:01 0 2.76 0.00 2.20 0.16 9.01 85.86 08:58:47 08:53:01 1 2.60 0.00 1.66 1.38 7.96 86.39 08:58:47 08:53:01 2 2.77 0.00 1.72 0.18 8.14 87.19 08:58:47 08:53:01 3 3.05 0.00 1.76 0.43 7.35 87.42 08:58:47 08:54:01 all 0.17 0.00 0.07 0.00 0.55 99.21 08:58:47 08:54:01 0 0.30 0.00 0.10 0.00 1.16 98.44 08:58:47 08:54:01 1 0.05 0.00 0.05 0.00 0.48 99.42 08:58:47 08:54:01 2 0.23 0.00 0.07 0.00 0.38 99.32 08:58:47 08:54:01 3 0.10 0.00 0.07 0.00 0.18 99.65 08:58:47 08:55:01 all 0.10 0.00 0.03 0.00 1.05 98.83 08:58:47 08:55:01 0 0.22 0.00 0.03 0.00 1.06 98.69 08:58:47 08:55:01 1 0.08 0.00 0.03 0.00 1.27 98.62 08:58:47 08:55:01 2 0.03 0.00 0.02 0.00 1.24 98.71 08:58:47 08:55:01 3 0.05 0.00 0.05 0.00 0.61 99.29 08:58:47 08:56:01 all 0.09 0.00 0.05 0.00 0.31 99.55 08:58:47 08:56:01 0 0.27 0.00 0.05 0.00 0.28 99.40 08:58:47 08:56:01 1 0.02 0.00 0.02 0.00 0.43 99.53 08:58:47 08:56:01 2 0.05 0.00 0.03 0.00 0.38 99.53 08:58:47 08:56:01 3 0.02 0.00 0.10 0.00 0.13 99.75 08:58:47 08:57:01 all 0.11 0.00 0.03 0.00 0.56 99.30 08:58:47 08:57:01 0 0.02 0.00 0.05 0.00 0.43 99.50 08:58:47 08:57:01 1 0.05 0.00 0.05 0.00 0.71 99.19 08:58:47 08:57:01 2 0.36 0.00 0.00 0.00 0.56 99.07 08:58:47 08:57:01 3 0.02 0.00 0.02 0.00 0.53 99.44 08:58:47 08:58:01 all 0.11 0.00 0.03 0.00 0.17 99.69 08:58:47 08:58:01 0 0.03 0.00 0.05 0.00 0.38 99.53 08:58:47 08:58:01 1 0.03 0.00 0.02 0.00 0.07 99.88 08:58:47 08:58:01 2 0.35 0.00 0.03 0.00 0.18 99.43 08:58:47 08:58:01 3 0.02 0.00 0.02 0.00 0.07 99.90 08:58:47 Average: all 2.86 0.00 1.55 0.61 6.66 88.33 08:58:47 Average: 0 2.62 0.00 1.68 0.63 7.14 87.93 08:58:47 Average: 1 2.60 0.00 1.42 0.82 6.68 88.48 08:58:47 Average: 2 2.82 0.00 1.51 0.51 6.65 88.51 08:58:47 Average: 3 3.40 0.00 1.56 0.49 6.17 88.39 08:58:47 08:58:47 08:58:47