Pull request #40 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a+43efee3cfdd526bf845b5582b1730bb1b93e3b78 (c823a77b57e9d256c4e15f64a39c7c8e838a72ca) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-199 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-40 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 Fetching without tags > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) > git config core.sparsecheckout # timeout=10 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:12:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:12:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:12:35 ========================================================= 09:12:35 EdgeX Global Pipelines Version Info 09:12:35 ========================================================= > git rev-list --no-walk bc3ce705db6333ca6b2343c166c1f26c14dd2a4e # timeout=10 [Pipeline] libraryResource [Pipeline] sh 09:12:37 ------------------- 09:12:37 stable info: 09:12:37 ------------------- 09:12:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:12:37 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:12:37 Message: update stable to v1.0.122 09:12:38 ------------------- 09:12:38 experimental info: 09:12:38 ------------------- 09:12:38 Commited By: **** collab-it+edgex@linuxfoundation.org 09:12:38 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 09:12:38 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:12:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 09:12:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:12:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:12:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:12:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:12:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [Pipeline] echo 09:12:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 069cb69 [Pipeline] echo 09:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:42 + git log --format=format:%s -1 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a [Pipeline] echo 09:12:42 GIT_COMMIT: 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 09:12:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:12:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:43 09:12:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:12:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:44 latest: Pulling from edgex-devops/git-semver 09:12:44 31603596830f: Pulling fs layer 09:12:44 2a8b12db71e7: Pulling fs layer 09:12:44 6ca5941a6612: Pulling fs layer 09:12:44 ecc8261a40a4: Pulling fs layer 09:12:44 ecc8261a40a4: Waiting 09:12:44 2a8b12db71e7: Verifying Checksum 09:12:44 31603596830f: Verifying Checksum 09:12:44 31603596830f: Download complete 09:12:44 ecc8261a40a4: Verifying Checksum 09:12:44 ecc8261a40a4: Download complete 09:12:44 6ca5941a6612: Verifying Checksum 09:12:44 6ca5941a6612: Download complete 09:12:44 31603596830f: Pull complete 09:12:44 2a8b12db71e7: Pull complete 09:12:45 6ca5941a6612: Pull complete 09:12:45 ecc8261a40a4: Pull complete 09:12:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:12:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:12:45 prd-centos7-docker-4c-2g-199 does not seem to be running inside a container 09:12:45 $ 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 09:12:48 $ docker top 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:48 [ssh-agent] Looking for ssh-agent implementation... 09:12:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:48 $ docker exec 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent 09:12:48 SSH_AUTH_SOCK=/tmp/ssh-NEy9Ll0xLlvO/agent.11 09:12:48 SSH_AGENT_PID=16 09:12:48 Running ssh-add (command line suppressed) 09:12:48 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7741409365337058393.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_7741409365337058393.key) 09:12:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:49 + git describe --exact-match --tags HEAD 09:12:49 fatal: No names found, cannot describe anything. [Pipeline] } 09:12:49 $ docker exec --env ******** --env ******** 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent -k 09:12:49 unset SSH_AUTH_SOCK; 09:12:49 unset SSH_AGENT_PID; 09:12:49 echo Agent pid 16 killed; 09:12:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:12:49 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:12:49 This usually means this commit has not been tagged. [Pipeline] sshagent 09:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:49 [ssh-agent] Looking for ssh-agent implementation... 09:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:49 $ docker exec 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent 09:12:49 SSH_AUTH_SOCK=/tmp/ssh-dHdr5ouOVJIB/agent.45 09:12:49 SSH_AGENT_PID=50 09:12:49 Running ssh-add (command line suppressed) 09:12:50 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_242840184366587201.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_242840184366587201.key) 09:12:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:50 + git semver init 09:12:50 # -> Open(): unable to determine branch for HEAD 09:12:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.git 09:12:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-40 09:12:50 # $SEMVER_REMOTE_NAME = origin 09:12:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:12:50 # $SEMVER_USER_NAME = edgex-jenkins 09:12:50 # $SEMVER_BRANCH = PR-40 09:12:50 # $SEMVER_TEMP = /tmp/semver-072426139 09:12:50 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 09:12:51 # '/tmp/semver-072426139' -> '/w/workspace/dgexfoundry_device-rest-go_PR-40/.semver' 09:12:51 # -> Force: false 09:12:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.semver [Pipeline] } 09:12:51 $ docker exec --env ******** --env ******** 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 ssh-agent -k 09:12:51 unset SSH_AUTH_SOCK; 09:12:51 unset SSH_AGENT_PID; 09:12:51 echo Agent pid 50 killed; 09:12:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:12:52 + git semver [Pipeline] } 09:12:52 $ docker stop --time=1 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 09:12:53 $ docker rm -f 240f19a5382382a815361f991e0a5384981b2959ea7f77fa6af5c6b20f5c9535 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:12:55 Stashed 21 file(s) [Pipeline] echo 09:12:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:12:55 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 09:13:11 Still waiting to schedule task 09:13:11 ‘prd-centos7-builder-2c-1g-185’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-133’ is offline; ‘prd-centos7-docker-4c-2g-168’ is offline; ‘prd-centos7-docker-4c-2g-169’ is offline; ‘prd-centos7-docker-4c-2g-174’ is offline; ‘prd-centos7-docker-4c-2g-175’ is offline; ‘prd-centos7-docker-4c-2g-176’ is offline; ‘prd-centos7-docker-4c-2g-177’ is offline; ‘prd-centos7-docker-4c-2g-178’ is offline; ‘prd-centos7-docker-4c-2g-181’ is offline; ‘prd-centos7-docker-4c-2g-182’ is offline; ‘prd-centos7-docker-4c-2g-184’ is offline; ‘prd-centos7-docker-4c-2g-189’ is offline; ‘prd-centos7-docker-4c-2g-190’ is offline; ‘prd-centos7-docker-4c-2g-195’ is offline; ‘prd-centos7-docker-4c-2g-201’ is offline; ‘prd-centos7-docker-8c-8g-192’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-8c-8g-194’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-193’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-145’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-179’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-180’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-186’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-187’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-188’ doesn’t have label ‘centos7-docker-4c-2g’ 09:13:11 Still waiting to schedule task 09:13:11 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:15:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-204 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 09:15:47 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 09:15:53 using credential edgex-jenkins-ssh 09:15:53 Cloning the remote Git repository 09:15:53 Cloning with configured refspecs honoured and without tags 09:15:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:15:53 > git init /w/workspace/device-rest-go/3 # timeout=10 09:15:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:15:53 > git --version # timeout=10 09:15:53 > git --version # 'git version 2.17.1' 09:15:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:53 > 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 09:15:55 Fetching without tags 09:15:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:15:55 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 09:15:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:15:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:15:56 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:15:56 Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:15:56 Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) 09:15:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:55 > 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 09:15:56 > git config core.sparsecheckout # timeout=10 09:15:56 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 09:15:56 > git remote # timeout=10 09:15:56 > git config --get remote.origin.url # timeout=10 09:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:56 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 09:15:56 > git rev-parse HEAD^{commit} # timeout=10 09:15:56 > git config core.sparsecheckout # timeout=10 09:15:56 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 09:16:00 Commit message: "build: Upgrade to Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:16:03 ========================================================= 09:16:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:16:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:16:04 + 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 . 09:16:05 Sending build context to Docker daemon 8.048MB 09:16:05 Step 1/10 : ARG BASE=golang:1.15-alpine 09:16:05 Step 2/10 : FROM ${BASE} 09:16:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:05 b538f80385f9: Pulling fs layer 09:16:05 74f711af9a0d: Pulling fs layer 09:16:05 99f96fe45779: Pulling fs layer 09:16:05 8529a6b9a6be: Pulling fs layer 09:16:05 45590311c82a: Pulling fs layer 09:16:05 69ca0ff8b7b3: Pulling fs layer 09:16:05 209524e5b208: Pulling fs layer 09:16:05 45590311c82a: Waiting 09:16:05 69ca0ff8b7b3: Waiting 09:16:05 209524e5b208: Waiting 09:16:05 8529a6b9a6be: Waiting 09:16:05 99f96fe45779: Verifying Checksum 09:16:05 99f96fe45779: Download complete 09:16:05 74f711af9a0d: Verifying Checksum 09:16:05 74f711af9a0d: Download complete 09:16:05 45590311c82a: Verifying Checksum 09:16:05 45590311c82a: Download complete 09:16:05 69ca0ff8b7b3: Verifying Checksum 09:16:05 69ca0ff8b7b3: Download complete 09:16:06 b538f80385f9: Download complete 09:16:07 b538f80385f9: Pull complete 09:16:07 74f711af9a0d: Pull complete 09:16:07 99f96fe45779: Pull complete 09:16:08 209524e5b208: Verifying Checksum 09:16:08 209524e5b208: Download complete 09:16:09 8529a6b9a6be: Download complete 09:16:20 8529a6b9a6be: Pull complete 09:16:20 45590311c82a: Pull complete 09:16:21 69ca0ff8b7b3: Pull complete 09:16:25 209524e5b208: Pull complete 09:16:25 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:16:25 ---> 5bddaf1c2fca 09:16:25 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 09:16:28 ---> Running in dc53aab4026e 09:16:28 Removing intermediate container dc53aab4026e 09:16:28 ---> 979a3bb9f579 09:16:28 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:16:28 ---> Running in 8e75d7f4dfee 09:16:28 Removing intermediate container 8e75d7f4dfee 09:16:28 ---> a6c6f5316ae8 09:16:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:16:28 ---> Running in 490d3fbc8dd6 09:16:29 Removing intermediate container 490d3fbc8dd6 09:16:29 ---> 29a9b7ea7656 09:16:29 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:29 ---> Running in e683fa8c08c0 09:16:33 Removing intermediate container e683fa8c08c0 09:16:33 ---> 1d841a4784e1 09:16:33 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:33 ---> Running in ba6a78b77b21 09:16:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:16:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:16:38 OK: 142 MiB in 39 packages 09:16:39 Removing intermediate container ba6a78b77b21 09:16:39 ---> 228ff59cac3f 09:16:39 Step 8/10 : WORKDIR /device-rest-go 09:16:39 ---> Running in 1a51920c1d29 09:16:40 Removing intermediate container 1a51920c1d29 09:16:40 ---> e35f207421d3 09:16:40 Step 9/10 : COPY . . 09:16:41 ---> 59446d92d84d 09:16:41 Step 10/10 : RUN go mod download 09:16:41 ---> Running in b7cf1f8c97dd 09:16:56 Running on prd-centos7-docker-4c-2g-209 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 09:16:56 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 09:16:56 Removing intermediate container b7cf1f8c97dd 09:16:56 ---> 429332dcb3dc 09:16:56 Successfully built 429332dcb3dc 09:16:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:16:57 + docker inspect -f . ci-base-image-arm64 09:16:57 . [Pipeline] withDockerContainer 09:16:57 prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container 09:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:16:59 $ docker top e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 -eo pid,comm 09:16:59 using credential edgex-jenkins-ssh 09:16:59 Cloning the remote Git repository 09:16:59 Cloning with configured refspecs honoured and without tags [Pipeline] { [Pipeline] sh 09:17:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:17:00 > git init /w/workspace/device-rest-go/3 # timeout=10 09:17:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:17:00 > git --version # timeout=10 09:17:00 > git --version # 'git version 2.16.5' 09:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:00 > 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 09:17:01 Fetching without tags 09:17:01 + go version 09:17:01 go version go1.15.2 linux/arm64 [Pipeline] } 09:17:01 $ docker stop --time=1 e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 09:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:17:01 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 09:17:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:01 > 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 09:17:01 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:17:01 Merge succeeded, producing 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:17:01 Checking out Revision 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a (PR-40) 09:17:01 > git config core.sparsecheckout # timeout=10 09:17:01 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 09:17:01 > git remote # timeout=10 09:17:01 > git config --get remote.origin.url # timeout=10 09:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:01 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 09:17:01 > git rev-parse HEAD^{commit} # timeout=10 09:17:01 > git config core.sparsecheckout # timeout=10 09:17:01 > git checkout -f 069cb69ad0bb0a92942ee4b3d1aa87f156c7755a # timeout=10 09:17:03 $ docker rm -f e524604758865ec8bed87f700bd2c85818c65ccc8b38263e3d5e3baf0315e775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:04 + docker inspect -f . ci-base-image-arm64 09:17:04 . [Pipeline] withDockerContainer 09:17:04 prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container 09:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:05 Commit message: "build: Upgrade to Go1.15" 09:17:06 $ docker top 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:17:08 ========================================================= 09:17:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:17:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:17:08 + make test 09:17:08 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:17:09 + 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 . 09:17:09 Sending build context to Docker daemon 8.048MB 09:17:09 Step 1/10 : ARG BASE=golang:1.15-alpine 09:17:09 Step 2/10 : FROM ${BASE} 09:17:09 ? github.com/edgexfoundry/device-rest-go [no test files] 09:17:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:17:09 df20fa9351a1: Pulling fs layer 09:17:09 ed8968b2872e: Pulling fs layer 09:17:09 a92cc7c5fd73: Pulling fs layer 09:17:09 e871e8e8d7a9: Pulling fs layer 09:17:09 e73272ec9a57: Pulling fs layer 09:17:09 1e910a182e73: Pulling fs layer 09:17:09 4e634b169226: Pulling fs layer 09:17:09 e871e8e8d7a9: Waiting 09:17:09 e73272ec9a57: Waiting 09:17:09 1e910a182e73: Waiting 09:17:09 4e634b169226: Waiting 09:17:09 a92cc7c5fd73: Download complete 09:17:09 ed8968b2872e: Verifying Checksum 09:17:09 ed8968b2872e: Download complete 09:17:09 e73272ec9a57: Verifying Checksum 09:17:09 e73272ec9a57: Download complete 09:17:09 1e910a182e73: Verifying Checksum 09:17:09 1e910a182e73: Download complete 09:17:09 df20fa9351a1: Verifying Checksum 09:17:09 df20fa9351a1: Download complete 09:17:09 df20fa9351a1: Pull complete 09:17:10 ed8968b2872e: Pull complete 09:17:10 a92cc7c5fd73: Pull complete 09:17:12 4e634b169226: Verifying Checksum 09:17:12 4e634b169226: Download complete 09:17:14 e871e8e8d7a9: Verifying Checksum 09:17:14 e871e8e8d7a9: Download complete 09:17:19 e871e8e8d7a9: Pull complete 09:17:19 e73272ec9a57: Pull complete 09:17:19 1e910a182e73: Pull complete 09:17:27 4e634b169226: Pull complete 09:17:27 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:17:27 ---> f7629b54cfaa 09:17:27 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 09:17:27 ---> Running in 4680e06d3022 09:17:27 Removing intermediate container 4680e06d3022 09:17:27 ---> 8b8f0f62685f 09:17:27 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:17:27 ---> Running in 1861a7e870cd 09:17:27 Removing intermediate container 1861a7e870cd 09:17:27 ---> 9ae4a38bcf8e 09:17:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:17:27 ---> Running in 49a3de5f7fd3 09:17:27 Removing intermediate container 49a3de5f7fd3 09:17:27 ---> ad1e0231b4ad 09:17:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:27 ---> Running in 79c25dea368e 09:17:29 Removing intermediate container 79c25dea368e 09:17:29 ---> 197c2721747c 09:17:29 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:17:29 ---> Running in b87f09b008f8 09:17:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:17:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:17:31 OK: 166 MiB in 39 packages 09:17:31 Removing intermediate container b87f09b008f8 09:17:31 ---> da519fce925c 09:17:31 Step 8/10 : WORKDIR /device-rest-go 09:17:31 ---> Running in 67ea4933ae0b 09:17:31 Removing intermediate container 67ea4933ae0b 09:17:31 ---> ca183a1f5ea7 09:17:31 Step 9/10 : COPY . . 09:17:32 ---> 1fbe7761ce99 09:17:32 Step 10/10 : RUN go mod download 09:17:32 ---> Running in c8f5de83bc4e 09:17:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:17:41 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements 09:17:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:17:44 Removing intermediate container c8f5de83bc4e 09:17:44 ---> c7a4b51e5969 09:17:44 Successfully built c7a4b51e5969 09:17:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:17:45 + docker inspect -f . ci-base-image-x86_64 09:17:45 . [Pipeline] withDockerContainer 09:17:45 prd-centos7-docker-4c-2g-209 does not seem to be running inside a container 09:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:46 $ docker top 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:47 + go version 09:17:47 go version go1.15.2 linux/amd64 [Pipeline] } 09:17:47 $ docker stop --time=1 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 09:17:48 $ docker rm -f 1fc5fcc15ce74e6d62e7caec08db30f2196edabb8411ee902eed915a5bddd1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 09:17:48 gofmt -l . 09:17:48 [ "`gofmt -l .`" = "" ] 09:17:48 ./bin/test-go-mod-tidy.sh 09:17:48 ./bin/test-attribution-txt.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:49 + docker inspect -f . ci-base-image-x86_64 09:17:49 . [Pipeline] withDockerContainer 09:17:49 prd-centos7-docker-4c-2g-209 does not seem to be running inside a container 09:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:49 Stashed 1 file(s) 09:17:50 $ docker top 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d -eo pid,comm [Pipeline] { [Pipeline] } 09:17:50 $ docker stop --time=1 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 09:17:52 $ docker rm -f 799a2f179cf0247566b48605cafb9b4c5f2cb7e0ef7550b32e30f228127ad390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 09:17:53 + make test 09:17:53 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:17:53 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] sh 09:17:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:17:54 + ls -al . 09:17:54 total 128 09:17:54 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 09:17 . 09:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:15 .. 09:17:54 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 09:15 .dockerignore 09:17:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 09:16 .git 09:17:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:15 .github 09:17:54 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 09:15 .gitignore 09:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:16 .semver 09:17:54 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 09:15 Attribution.txt 09:17:54 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 09:15 Dockerfile 09:17:54 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 09:15 Dockerfile.build 09:17:54 -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 09:15 Jenkinsfile 09:17:54 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 09:15 LICENSE 09:17:54 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 09:15 Makefile 09:17:54 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 09:15 README.md 09:17:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 09:12 VERSION 09:17:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:15 bin 09:17:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:15 cmd 09:17:54 -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 09:17 coverage.out 09:17:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:17 driver 09:17:54 -rw-r--r-- 1 jenkins jenkins 266 Sep 17 09:17 go.mod 09:17:54 -rw-r--r-- 1 jenkins jenkins 12533 Sep 17 09:17 go.sum 09:17:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:15 snap 09:17:54 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 09:15 version.go [Pipeline] isUnix [Pipeline] sh 09:17:55 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a --label arch=arm64 --label version=0.0.0 . 09:17:55 Sending build context to Docker daemon 8.059MB 09:17:55 Step 1/25 : ARG BASE=golang:1.15-alpine 09:17:55 Step 2/25 : FROM ${BASE} AS builder 09:17:55 ---> 429332dcb3dc 09:17:55 Step 3/25 : ARG MAKE='make build' 09:17:55 ---> Running in b7d8e51b3c67 09:17:56 Removing intermediate container b7d8e51b3c67 09:17:56 ---> 964639475c10 09:17:56 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 09:17:56 ---> Running in 669deb8cf9f1 09:17:56 Removing intermediate container 669deb8cf9f1 09:17:56 ---> 94f86fa76071 09:17:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:17:57 ---> Running in 298c37828fd5 09:17:57 Removing intermediate container 298c37828fd5 09:17:57 ---> 67e841107821 09:17:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:57 ---> Running in 04f622a8e6ae 09:18:00 Removing intermediate container 04f622a8e6ae 09:18:00 ---> 4a1777f7badf 09:18:00 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:18:00 ---> Running in 1c73bf96536f 09:18:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:18:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:18:03 OK: 142 MiB in 39 packages 09:18:04 Removing intermediate container 1c73bf96536f 09:18:04 ---> c5b1a90a4f4b 09:18:04 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 09:18:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:18:04 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements 09:18:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:18:04 ---> Running in 3009f0b30c4d 09:18:04 Removing intermediate container 3009f0b30c4d 09:18:04 ---> f209658c1e8e 09:18:04 Step 9/25 : COPY go.mod . 09:18:05 ---> fe91309a4f19 09:18:05 Step 10/25 : COPY Makefile . 09:18:05 gofmt -l . 09:18:05 [ "`gofmt -l .`" = "" ] 09:18:05 ./bin/test-go-mod-tidy.sh 09:18:05 ./bin/test-attribution-txt.sh [Pipeline] stash 09:18:05 Warning: overwriting stash ‘coverage-report’ 09:18:06 Stashed 1 file(s) [Pipeline] } 09:18:06 $ docker stop --time=1 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d 09:18:06 ---> 67acd6e2bb1a 09:18:06 Step 11/25 : RUN make update 09:18:06 ---> Running in f656f4d60283 09:18:07 CGO_ENABLED=0 GO111MODULE=on go mod download 09:18:08 $ docker rm -f 910514e7dff1e20eb5c792efda1aaf0a9b7aa7cb3c93ce67ad38a0e116f3ca7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 09:18:08 Removing intermediate container f656f4d60283 09:18:08 ---> 7284836e14c6 09:18:08 Step 12/25 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:18:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:09 + ls -al . 09:18:09 total 96 09:18:09 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 09:18 . 09:18:09 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 09:17 .. 09:18:09 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 09:17 Attribution.txt 09:18:09 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 09:17 bin 09:18:09 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 09:17 cmd 09:18:09 -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 09:18 coverage.out 09:18:09 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 09:17 Dockerfile 09:18:09 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 09:17 Dockerfile.build 09:18:09 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 09:17 .dockerignore 09:18:09 drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 09:18 driver 09:18:09 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 09:17 .git 09:18:09 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 09:17 .github 09:18:09 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 09:17 .gitignore 09:18:09 -rw-r--r--. 1 jenkins jenkins 266 Sep 17 09:18 go.mod 09:18:09 -rw-r--r--. 1 jenkins jenkins 12533 Sep 17 09:18 go.sum 09:18:09 -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 09:17 Jenkinsfile 09:18:09 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 09:17 LICENSE 09:18:09 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 09:17 Makefile 09:18:09 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 09:17 README.md 09:18:09 drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 09:17 .semver 09:18:09 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 09:17 snap 09:18:09 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 09:12 VERSION 09:18:09 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 09:17 version.go [Pipeline] isUnix [Pipeline] sh 09:18:09 ---> 5cd175d3ce2b 09:18:09 Step 13/25 : RUN $MAKE 09:18:09 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a --label arch=amd64 --label version=0.0.0 . 09:18:10 ---> Running in f130bc9cb0ff 09:18:10 Sending build context to Docker daemon 8.059MB 09:18:10 Step 1/25 : ARG BASE=golang:1.15-alpine 09:18:10 Step 2/25 : FROM ${BASE} AS builder 09:18:10 ---> c7a4b51e5969 09:18:10 Step 3/25 : ARG MAKE='make build' 09:18:10 ---> Running in 934bc0bb8a0e 09:18:10 Removing intermediate container 934bc0bb8a0e 09:18:10 ---> fd7398691bdb 09:18:10 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 09:18:10 ---> Running in 056230d84e5f 09:18:11 Removing intermediate container 056230d84e5f 09:18:11 ---> 63febc60dda1 09:18:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:18:11 ---> Running in 34e4f95eeb06 09:18:11 Removing intermediate container 34e4f95eeb06 09:18:11 ---> 1c23bc7bf8b6 09:18:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:11 ---> Running in 5099cb5a50ba 09:18:11 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 09:18:12 Removing intermediate container 5099cb5a50ba 09:18:12 ---> 0e8e82679a30 09:18:12 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:18:12 ---> Running in b270e6151084 09:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:18:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:18:13 OK: 166 MiB in 39 packages 09:18:14 Removing intermediate container b270e6151084 09:18:14 ---> b08a1675a9b6 09:18:14 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 09:18:14 ---> Running in 9bec97fc7f39 09:18:14 Removing intermediate container 9bec97fc7f39 09:18:14 ---> f7a5f1c33733 09:18:14 Step 9/25 : COPY go.mod . 09:18:14 ---> 2d36ece4c643 09:18:14 Step 10/25 : COPY Makefile . 09:18:14 ---> e10bfe714b1e 09:18:14 Step 11/25 : RUN make update 09:18:14 ---> Running in 6b0f7a109a9e 09:18:15 CGO_ENABLED=0 GO111MODULE=on go mod download 09:18:15 Removing intermediate container 6b0f7a109a9e 09:18:15 ---> 120e8261eca9 09:18:15 Step 12/25 : COPY . . 09:18:16 ---> ba9704a8d44b 09:18:16 Step 13/25 : RUN $MAKE 09:18:16 ---> Running in 33eee0a2217f 09:18:16 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 09:18:26 Removing intermediate container 33eee0a2217f 09:18:26 ---> 640b8e9f2ca8 09:18:26 Step 14/25 : FROM alpine:latest 09:18:26 latest: Pulling from library/alpine 09:18:26 df20fa9351a1: Already exists 09:18:26 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:18:26 Status: Downloaded newer image for alpine:latest 09:18:26 ---> a24bb4013296 09:18:26 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:18:26 ---> Running in 01d268b89fdc 09:18:26 Removing intermediate container 01d268b89fdc 09:18:26 ---> 276ec56860d8 09:18:26 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 09:18:26 ---> Running in 038175ebc7ed 09:18:27 Removing intermediate container 038175ebc7ed 09:18:27 ---> 5b3808694bea 09:18:27 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 09:18:27 ---> a11439bc0f08 09:18:27 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 09:18:27 ---> 4debfbe350a5 09:18:27 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 09:18:27 ---> 46ad5a1dba8f 09:18:27 Step 20/25 : EXPOSE 49986 09:18:27 ---> Running in 767a6324370f 09:18:28 Removing intermediate container 767a6324370f 09:18:28 ---> 74bd3e5e56d2 09:18:28 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 09:18:28 ---> Running in 4aee8f03d2fb 09:18:28 Removing intermediate container 4aee8f03d2fb 09:18:28 ---> 7bb2b23ac172 09:18:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:18:28 ---> Running in 8d5f31f534cd 09:18:28 Removing intermediate container 8d5f31f534cd 09:18:28 ---> 93a56cda64d8 09:18:28 Step 23/25 : LABEL arch=amd64 09:18:28 ---> Running in 06aa5aa185bb 09:18:29 Removing intermediate container 06aa5aa185bb 09:18:29 ---> ea620a79922b 09:18:29 Step 24/25 : LABEL git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:18:29 ---> Running in 784ff25845eb 09:18:29 Removing intermediate container 784ff25845eb 09:18:29 ---> 29365e3704b7 09:18:29 Step 25/25 : LABEL version=0.0.0 09:18:29 ---> Running in a974679d6671 09:18:29 Removing intermediate container a974679d6671 09:18:29 ---> ef78eca6cc4b 09:18:29 [Warning] One or more build-args [ARCH] were not consumed 09:18:29 Successfully built ef78eca6cc4b 09:18:29 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] } 09:18:38 Removing intermediate container f130bc9cb0ff 09:18:38 ---> 82a158bc5066 09:18:38 Step 14/25 : FROM alpine:latest 09:18:38 latest: Pulling from library/alpine 09:18:38 b538f80385f9: Already exists 09:18:38 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:18:38 Status: Downloaded newer image for alpine:latest 09:18:38 ---> 62ee0e9f8440 09:18:38 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:18:38 ---> Running in bd295db100d5 09:18:38 Removing intermediate container bd295db100d5 09:18:38 ---> 1eb037436d11 09:18:38 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 09:18:38 ---> Running in a332dd4ea150 09:18:38 Removing intermediate container a332dd4ea150 09:18:38 ---> f828ab691be5 09:18:38 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 09:18:39 ---> a8a01e674470 09:18:39 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 09:18:40 ---> 06bc6fd38884 09:18:40 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 09:18:41 ---> f7e386bd27fc 09:18:41 Step 20/25 : EXPOSE 49986 09:18:42 ---> Running in 6acfe553e94b 09:18:42 Removing intermediate container 6acfe553e94b 09:18:42 ---> c5d224bb4fa4 09:18:42 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 09:18:42 ---> Running in c9a8e6e8ada0 09:18:43 Removing intermediate container c9a8e6e8ada0 09:18:43 ---> 44c32146587c 09:18:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:18:43 ---> Running in a9ce13fd2e8b 09:18:43 Removing intermediate container a9ce13fd2e8b 09:18:43 ---> 6c571ef40628 09:18:43 Step 23/25 : LABEL arch=arm64 09:18:43 ---> Running in 6d43e0b4c44e 09:18:44 Removing intermediate container 6d43e0b4c44e 09:18:44 ---> aba3bd2e6823 09:18:44 Step 24/25 : LABEL git_sha=069cb69ad0bb0a92942ee4b3d1aa87f156c7755a 09:18:44 ---> Running in 2f789ec0129f 09:18:45 Removing intermediate container 2f789ec0129f 09:18:45 ---> 639e4d4c2e49 09:18:45 Step 25/25 : LABEL version=0.0.0 09:18:45 ---> Running in cf46835ada4f 09:18:45 Removing intermediate container cf46835ada4f 09:18:45 ---> a7c076cb06ce 09:18:45 [Warning] One or more build-args [ARCH] were not consumed 09:18:45 Successfully built a7c076cb06ce 09:18:45 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 09:18:47 provisioning config files... 09:18:47 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config8843926661262369759tmp [Pipeline] { [Pipeline] sh 09:18:47 + curl -s https://codecov.io/bash 09:18:47 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config8843926661262369759tmp [Pipeline] } 09:18:48 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 09:18:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:18:51 ---> package-listing.sh 09:18:51 ++ facter osfamily 09:18:51 ++ tr '[:upper:]' '[:lower:]' 09:18:51 + OS_FAMILY=redhat 09:18:51 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-40 09:18:51 + START_PACKAGES=/tmp/packages_start.txt 09:18:51 + END_PACKAGES=/tmp/packages_end.txt 09:18:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:18:51 + PACKAGES=/tmp/packages_start.txt 09:18:51 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 09:18:51 + PACKAGES=/tmp/packages_end.txt 09:18:51 + case "${OS_FAMILY}" in 09:18:51 + rpm -qa 09:18:51 + sort 09:18:55 + '[' -f /tmp/packages_start.txt ']' 09:18:55 + '[' -f /tmp/packages_end.txt ']' 09:18:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:18:55 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 09:18:55 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ 09:18:55 + 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 09:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:18:55 09:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:18:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:18:56 alpine: Pulling from edgex-lftools-log-publisher 09:18:56 df20fa9351a1: Pulling fs layer 09:18:56 36b3adc4ff6f: Pulling fs layer 09:18:56 8ad3a11d3b57: Pulling fs layer 09:18:56 46f8f816bc3b: Pulling fs layer 09:18:56 0dadc02b9964: Pulling fs layer 09:18:56 ce6a7cf60c04: Pulling fs layer 09:18:56 7a184a31f384: Pulling fs layer 09:18:56 0879bd2ef858: Pulling fs layer 09:18:56 0dadc02b9964: Waiting 09:18:56 ce6a7cf60c04: Waiting 09:18:56 7a184a31f384: Waiting 09:18:56 0879bd2ef858: Waiting 09:18:56 46f8f816bc3b: Waiting 09:18:56 36b3adc4ff6f: Verifying Checksum 09:18:56 36b3adc4ff6f: Download complete 09:18:56 46f8f816bc3b: Verifying Checksum 09:18:56 46f8f816bc3b: Download complete 09:18:56 df20fa9351a1: Download complete 09:18:56 ce6a7cf60c04: Verifying Checksum 09:18:56 ce6a7cf60c04: Download complete 09:18:56 0dadc02b9964: Verifying Checksum 09:18:56 0dadc02b9964: Download complete 09:18:56 7a184a31f384: Verifying Checksum 09:18:56 7a184a31f384: Download complete 09:18:56 8ad3a11d3b57: Verifying Checksum 09:18:56 8ad3a11d3b57: Download complete 09:18:56 df20fa9351a1: Pull complete 09:18:56 36b3adc4ff6f: Pull complete 09:18:56 0879bd2ef858: Verifying Checksum 09:18:56 0879bd2ef858: Download complete 09:18:57 8ad3a11d3b57: Pull complete 09:18:57 46f8f816bc3b: Pull complete 09:18:57 0dadc02b9964: Pull complete 09:18:57 ce6a7cf60c04: Pull complete 09:18:57 7a184a31f384: Pull complete 09:19:00 0879bd2ef858: Pull complete 09:19:00 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:19:00 prd-centos7-docker-4c-2g-199 does not seem to be running inside a container 09:19:00 $ 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 09:19:05 $ docker top f8de235ce264e68b54bdf2aff24a81e97a6862d676e7e22342a39a5ec7d46c88 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:06 + mkdir -p /var/log/sa [Pipeline] sh 09:19:06 + ls /var/log/sa-host 09:19:06 + sadf -c /var/log/sa-host/sa05 09:19:06 file_magic: OK 09:19:06 HZ: Using current value: 100 09:19:06 file_header: OK 09:19:06 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 09:19:06 Statistics: 09:19:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:06 File successfully converted to sysstat format version 12.2.1 09:19:06 + sadf -c /var/log/sa-host/sa17 09:19:06 file_magic: OK 09:19:06 HZ: Using current value: 100 09:19:06 file_header: OK 09:19:06 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 09:19:06 Statistics: 09:19:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:19:06 provisioning config files... 09:19:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config4976962792769551019tmp [Pipeline] { [Pipeline] echo 09:19:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:19:07 ---> create-netrc.sh [Pipeline] echo 09:19:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:19:07 ---> logs-deploy.sh 09:19:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-40/3 09:19:07 INFO: archiving workspace using pattern(s): 09:19:08 Archives upload complete. 09:19:08 INFO: archiving logs to Nexus 09:19:09 ---> uname -a: 09:19:09 Linux f8de235ce264 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:19:09 09:19:09 09:19:09 ---> lscpu: 09:19:09 Architecture: x86_64 09:19:09 CPU op-mode(s): 32-bit, 64-bit 09:19:09 Byte Order: Little Endian 09:19:09 Address sizes: 40 bits physical, 48 bits virtual 09:19:09 CPU(s): 4 09:19:09 On-line CPU(s) list: 0-3 09:19:09 Thread(s) per core: 1 09:19:09 Core(s) per socket: 1 09:19:09 Socket(s): 4 09:19:09 NUMA node(s): 1 09:19:09 Vendor ID: GenuineIntel 09:19:09 CPU family: 6 09:19:09 Model: 44 09:19:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:19:09 Stepping: 1 09:19:09 CPU MHz: 2933.438 09:19:09 BogoMIPS: 5866.87 09:19:09 Virtualization: VT-x 09:19:09 Hypervisor vendor: KVM 09:19:09 Virtualization type: full 09:19:09 L1d cache: 128 KiB 09:19:09 L1i cache: 128 KiB 09:19:09 L2 cache: 16 MiB 09:19:09 L3 cache: 64 MiB 09:19:09 NUMA node0 CPU(s): 0-3 09:19:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:19:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:19:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:19:09 Vulnerability Meltdown: Mitigation; PTI 09:19:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:19:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:19:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:19:09 Vulnerability Tsx async abort: Not affected 09:19:09 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 09:19:09 09:19:09 09:19:09 ---> nproc: 09:19:09 4 09:19:09 09:19:09 09:19:09 ---> df -h: 09:19:09 Filesystem Size Used Available Use% Mounted on 09:19:09 overlay 50.0G 7.0G 43.0G 14% / 09:19:09 tmpfs 64.0M 0 64.0M 0% /dev 09:19:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:19:09 shm 64.0M 0 64.0M 0% /dev/shm 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40 09:19:09 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp 09:19:09 09:19:09 09:19:09 ---> free -m: 09:19:09 total used free shared buff/cache available 09:19:09 Mem: 1837 666 130 0 1040 1064 09:19:09 Swap: 1023 0 1023 09:19:09 09:19:09 09:19:09 ---> ip addr: 09:19:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:19:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:19:09 inet 127.0.0.1/8 scope host lo 09:19:09 valid_lft forever preferred_lft forever 09:19:09 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:19:09 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:19:09 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:19:09 valid_lft forever preferred_lft forever 09:19:09 09:19:09 09:19:09 ---> sar -b -r -n DEV: 09:19:09 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) 09:19:09 09:19:09 09:11:43 LINUX RESTART (4 CPU) 09:19:09 09:19:09 09:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:19:09 09:14:01 3.23 0.00 3.23 0.00 0.00 102.01 0.00 09:19:09 09:15:01 0.37 0.00 0.37 0.00 0.00 5.28 0.00 09:19:09 09:16:01 0.27 0.00 0.27 0.00 0.00 3.88 0.00 09:19:09 09:17:01 0.25 0.00 0.25 0.00 0.00 3.50 0.00 09:19:09 09:18:01 0.33 0.00 0.33 0.00 0.00 5.20 0.00 09:19:09 09:19:01 67.06 48.46 18.60 0.00 5461.05 3970.24 0.00 09:19:09 Average: 11.92 8.08 3.84 0.00 910.23 681.73 0.00 09:19:09 09:19:09 09:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:19:09 09:14:01 145564 0 585632 31.12 2620 1147740 1107896 37.81 460576 1116004 16 09:19:09 09:15:01 145092 0 586100 31.15 2620 1147744 1093504 37.32 466260 1110876 8 09:19:09 09:16:01 145404 0 585780 31.13 2620 1147752 1093528 37.32 466560 1110876 12 09:19:09 09:17:01 143284 0 587900 31.25 2620 1147752 1093528 37.32 468696 1110548 8 09:19:09 09:18:01 143284 0 587896 31.25 2620 1147756 1093708 37.33 468948 1110548 16 09:19:09 09:19:01 100536 0 665532 35.37 2620 1112868 1290556 44.04 474248 1106020 49404 09:19:09 Average: 137194 0 599807 31.88 2620 1141935 1128787 38.52 467548 1110812 8244 09:19:09 09:19:09 09:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:19:09 09:14:01 eth0 1.68 0.50 0.38 0.23 0.00 0.00 0.00 0.00 09:19:09 09:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:15:01 eth0 1.48 0.30 0.36 0.20 0.00 0.00 0.00 0.00 09:19:09 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:16:01 eth0 2.07 0.60 0.61 0.40 0.00 0.00 0.00 0.00 09:19:09 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:17:01 eth0 3.61 0.57 0.80 0.37 0.00 0.00 0.00 0.00 09:19:09 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:18:01 eth0 3.35 1.07 1.34 0.85 0.00 0.00 0.00 0.00 09:19:09 09:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:19:01 eth0 88.11 74.30 741.43 11.02 0.00 0.00 0.00 0.00 09:19:09 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 Average: eth0 16.72 12.89 124.16 2.18 0.00 0.00 0.00 0.00 09:19:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:19:09 09:19:09 09:19:09 ---> sar -P ALL: 09:19:09 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) 09:19:09 09:19:09 09:11:43 LINUX RESTART (4 CPU) 09:19:09 09:19:09 09:13:01 CPU %user %nice %system %iowait %steal %idle 09:19:09 09:14:01 all 0.18 0.00 0.06 0.00 0.00 99.76 09:19:09 09:14:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:19:09 09:14:01 1 0.07 0.00 0.10 0.00 0.00 99.83 09:19:09 09:14:01 2 0.58 0.00 0.05 0.00 0.00 99.37 09:19:09 09:14:01 3 0.05 0.00 0.05 0.00 0.00 99.90 09:19:09 09:15:01 all 0.15 0.00 0.04 0.00 0.00 99.80 09:19:09 09:15:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:19:09 09:15:01 1 0.02 0.00 0.05 0.00 0.00 99.93 09:19:09 09:15:01 2 0.52 0.00 0.07 0.00 0.00 99.42 09:19:09 09:15:01 3 0.05 0.00 0.02 0.00 0.00 99.93 09:19:09 09:16:01 all 0.18 0.00 0.04 0.00 0.00 99.78 09:19:09 09:16:01 0 0.02 0.00 0.03 0.00 0.00 99.95 09:19:09 09:16:01 1 0.07 0.00 0.07 0.00 0.00 99.87 09:19:09 09:16:01 2 0.55 0.00 0.03 0.00 0.00 99.42 09:19:09 09:16:01 3 0.08 0.00 0.02 0.00 0.00 99.90 09:19:09 09:17:01 all 0.16 0.00 0.04 0.00 0.00 99.80 09:19:09 09:17:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:19:09 09:17:01 1 0.07 0.00 0.08 0.00 0.00 99.85 09:19:09 09:17:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:19:09 09:17:01 3 0.02 0.00 0.03 0.00 0.00 99.95 09:19:09 09:18:01 all 0.18 0.00 0.03 0.00 0.00 99.79 09:19:09 09:18:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:19:09 09:18:01 1 0.05 0.00 0.03 0.00 0.00 99.92 09:19:09 09:18:01 2 0.57 0.00 0.05 0.00 0.00 99.38 09:19:09 09:18:01 3 0.07 0.00 0.03 0.00 0.00 99.90 09:19:09 09:19:01 all 2.92 0.00 1.82 1.00 0.01 94.25 09:19:09 09:19:01 0 2.48 0.00 1.66 0.50 0.00 95.37 09:19:09 09:19:01 1 2.37 0.00 1.81 0.12 0.00 95.70 09:19:09 09:19:01 2 2.97 0.00 1.59 1.02 0.02 94.40 09:19:09 09:19:01 3 3.85 0.00 2.22 2.38 0.02 91.54 09:19:09 Average: all 0.63 0.00 0.34 0.17 0.00 98.87 09:19:09 Average: 0 0.44 0.00 0.30 0.08 0.00 99.18 09:19:09 Average: 1 0.44 0.00 0.36 0.02 0.00 99.19 09:19:09 Average: 2 0.95 0.00 0.30 0.17 0.00 98.57 09:19:09 Average: 3 0.68 0.00 0.39 0.39 0.00 98.52 09:19:09 09:19:09 09:19:09