Pull request #40 opened 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 e08bc59f59d91427918530c3ab0a7541d73dd497+43efee3cfdd526bf845b5582b1730bb1b93e3b78 (65bfe240517b7d25e1f8fc550d3f85722a14e00d) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-40/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-139 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 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e08bc59f59d91427918530c3ab0a7541d73dd497 Merge succeeded, producing e08bc59f59d91427918530c3ab0a7541d73dd497 Checking out Revision e08bc59f59d91427918530c3ab0a7541d73dd497 (PR-40) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f e08bc59f59d91427918530c3ab0a7541d73dd497 # 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 e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:41:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:41:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:41:59 ========================================================= 08:41:59 EdgeX Global Pipelines Version Info 08:41:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:42:01 ------------------- 08:42:01 stable info: 08:42:01 ------------------- 08:42:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:42:01 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:42:01 Message: update stable to v1.0.122 08:42:02 ------------------- 08:42:02 experimental info: 08:42:02 ------------------- 08:42:02 Commited By: **** collab-it+edgex@linuxfoundation.org 08:42:02 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:42:02 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:42:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:42:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:42:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:42:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:42:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo 08:42:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e08bc59f59d91427918530c3ab0a7541d73dd497 [Pipeline] echo 08:42:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e08bc59 [Pipeline] echo 08:42:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:08 + git log --format=format:%s -1 e08bc59f59d91427918530c3ab0a7541d73dd497 [Pipeline] echo 08:42:08 GIT_COMMIT: e08bc59f59d91427918530c3ab0a7541d73dd497, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:42:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:09 08:42:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:42:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:09 latest: Pulling from edgex-devops/git-semver 08:42:09 31603596830f: Pulling fs layer 08:42:09 2a8b12db71e7: Pulling fs layer 08:42:09 6ca5941a6612: Pulling fs layer 08:42:09 ecc8261a40a4: Pulling fs layer 08:42:09 ecc8261a40a4: Waiting 08:42:09 2a8b12db71e7: Verifying Checksum 08:42:09 2a8b12db71e7: Download complete 08:42:10 31603596830f: Download complete 08:42:10 ecc8261a40a4: Verifying Checksum 08:42:10 ecc8261a40a4: Download complete 08:42:10 6ca5941a6612: Verifying Checksum 08:42:10 6ca5941a6612: Download complete 08:42:10 31603596830f: Pull complete 08:42:11 2a8b12db71e7: Pull complete 08:42:12 6ca5941a6612: Pull complete 08:42:12 ecc8261a40a4: Pull complete 08:42:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:42:12 prd-centos7-docker-4c-2g-139 does not seem to be running inside a container 08:42:12 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:42:14 $ docker top de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:42:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:42:15 [ssh-agent] Looking for ssh-agent implementation... 08:42:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:15 $ docker exec de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 ssh-agent 08:42:15 SSH_AUTH_SOCK=/tmp/ssh-GoVY3sEdvI3Z/agent.12 08:42:15 SSH_AGENT_PID=17 08:42:15 Running ssh-add (command line suppressed) 08:42:15 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_6513406291419088510.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_6513406291419088510.key) 08:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:42:16 + git describe --exact-match --tags HEAD 08:42:16 fatal: No names found, cannot describe anything. [Pipeline] } 08:42:16 $ docker exec --env ******** --env ******** de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 ssh-agent -k 08:42:16 unset SSH_AUTH_SOCK; 08:42:16 unset SSH_AGENT_PID; 08:42:16 echo Agent pid 17 killed; 08:42:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:42:16 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:42:16 This usually means this commit has not been tagged. [Pipeline] sshagent 08:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:42:16 [ssh-agent] Looking for ssh-agent implementation... 08:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:17 $ docker exec de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 ssh-agent 08:42:17 SSH_AUTH_SOCK=/tmp/ssh-khAyzdWKjCCm/agent.47 08:42:17 SSH_AGENT_PID=53 08:42:17 Running ssh-add (command line suppressed) 08:42:17 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_186933908292547888.key (/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/private_key_186933908292547888.key) 08:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:42:18 + git semver init 08:42:18 # -> Open(): unable to determine branch for HEAD 08:42:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.git 08:42:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-40 08:42:18 # $SEMVER_REMOTE_NAME = origin 08:42:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:42:18 # $SEMVER_USER_NAME = edgex-jenkins 08:42:18 # $SEMVER_BRANCH = PR-40 08:42:18 # $SEMVER_TEMP = /tmp/semver-384098644 08:42:18 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:42:21 # '/tmp/semver-384098644' -> '/w/workspace/dgexfoundry_device-rest-go_PR-40/.semver' 08:42:21 # -> Force: false 08:42:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-40/.semver [Pipeline] } 08:42:21 $ docker exec --env ******** --env ******** de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 ssh-agent -k 08:42:21 unset SSH_AUTH_SOCK; 08:42:21 unset SSH_AGENT_PID; 08:42:21 echo Agent pid 53 killed; 08:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:42:22 + git semver [Pipeline] } 08:42:22 $ docker stop --time=1 de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 08:42:24 $ docker rm -f de345ff2b85a46bce80bd87a13377c48e5a85fbb9881a664a8fc718ec46397c6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:42:26 Stashed 21 file(s) [Pipeline] echo 08:42:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:42: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:42:42 Still waiting to schedule task 08:42:42 ‘prd-centos7-docker-4c-2g-125’ is offline; ‘prd-centos7-docker-4c-2g-128’ is offline; ‘prd-centos7-docker-4c-2g-135’ is offline; ‘prd-centos7-docker-4c-2g-140’ is offline; ‘prd-ubuntu18.04-docker-arm64-16c-16g-131’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-126’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-132’ doesn’t have label ‘centos7-docker-4c-2g’ 08:42:42 Still waiting to schedule task 08:42:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:46:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-142 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 08:46:14 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 08:46:19 using credential edgex-jenkins-ssh 08:46:20 Cloning the remote Git repository 08:46:20 Cloning with configured refspecs honoured and without tags 08:46:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:46:20 > git init /w/workspace/device-rest-go/1 # timeout=10 08:46:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:46:20 > git --version # timeout=10 08:46:20 > git --version # 'git version 2.17.1' 08:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:20 > 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:46:22 Fetching without tags 08:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:46:22 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 08:46:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:22 > 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:46:22 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e08bc59f59d91427918530c3ab0a7541d73dd497 08:46:22 Merge succeeded, producing e08bc59f59d91427918530c3ab0a7541d73dd497 08:46:22 Checking out Revision e08bc59f59d91427918530c3ab0a7541d73dd497 (PR-40) 08:46:22 > git config core.sparsecheckout # timeout=10 08:46:22 > git checkout -f e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 08:46:22 > git remote # timeout=10 08:46:22 > git config --get remote.origin.url # timeout=10 08:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:22 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 08:46:22 > git rev-parse HEAD^{commit} # timeout=10 08:46:22 > git config core.sparsecheckout # timeout=10 08:46:23 > git checkout -f e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 08:46:26 Running on prd-centos7-docker-4c-2g-144 in /w/workspace/dgexfoundry_device-rest-go_PR-40 [Pipeline] { [Pipeline] ws 08:46:26 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 08:46:27 Commit message: "build: Upgrade to Go1.15" 08:46:27 > git --version # timeout=10 08:46:27 > git --version # 'git version 2.17.1' 08:46:27 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 08:46:29 using credential edgex-jenkins-ssh 08:46:29 Cloning the remote Git repository 08:46:29 Cloning with configured refspecs honoured and without tags [Pipeline] echo 08:46:29 ========================================================= 08:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:46:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:46:29 > git init /w/workspace/device-rest-go/1 # timeout=10 08:46:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:46:29 > git --version # timeout=10 08:46:29 > git --version # 'git version 2.16.5' 08:46:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:30 > 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:46:30 Fetching without tags 08:46:31 + 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:46:31 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit e08bc59f59d91427918530c3ab0a7541d73dd497 08:46:31 Merge succeeded, producing e08bc59f59d91427918530c3ab0a7541d73dd497 08:46:31 Checking out Revision e08bc59f59d91427918530c3ab0a7541d73dd497 (PR-40) 08:46:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:46:30 > git config --add remote.origin.fetch +refs/pull/40/head:refs/remotes/origin/PR-40 # timeout=10 08:46:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:46:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:30 > 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:46:31 > git config core.sparsecheckout # timeout=10 08:46:31 > git checkout -f e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 08:46:31 > git remote # timeout=10 08:46:31 > git config --get remote.origin.url # timeout=10 08:46:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:31 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 08:46:31 > git rev-parse HEAD^{commit} # timeout=10 08:46:31 > git config core.sparsecheckout # timeout=10 08:46:31 > git checkout -f e08bc59f59d91427918530c3ab0a7541d73dd497 # timeout=10 08:46:32 Sending build context to Docker daemon 8.048MB 08:46:32 Step 1/10 : ARG BASE=golang:1.15-alpine 08:46:32 Step 2/10 : FROM ${BASE} 08:46:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:32 b538f80385f9: Pulling fs layer 08:46:32 74f711af9a0d: Pulling fs layer 08:46:32 99f96fe45779: Pulling fs layer 08:46:32 8529a6b9a6be: Pulling fs layer 08:46:32 45590311c82a: Pulling fs layer 08:46:32 69ca0ff8b7b3: Pulling fs layer 08:46:32 209524e5b208: Pulling fs layer 08:46:32 45590311c82a: Waiting 08:46:32 69ca0ff8b7b3: Waiting 08:46:32 209524e5b208: Waiting 08:46:32 8529a6b9a6be: Waiting 08:46:32 99f96fe45779: Verifying Checksum 08:46:32 99f96fe45779: Download complete 08:46:32 74f711af9a0d: Verifying Checksum 08:46:32 74f711af9a0d: Download complete 08:46:32 45590311c82a: Verifying Checksum 08:46:32 45590311c82a: Download complete 08:46:32 69ca0ff8b7b3: Verifying Checksum 08:46:32 69ca0ff8b7b3: Download complete 08:46:32 b538f80385f9: Verifying Checksum 08:46:32 b538f80385f9: Download complete 08:46:33 b538f80385f9: Pull complete 08:46:34 74f711af9a0d: Pull complete 08:46:34 99f96fe45779: Pull complete 08:46:35 Commit message: "build: Upgrade to Go1.15" 08:46:35 > git --version # timeout=10 08:46:35 > git --version # 'git version 2.16.5' 08:46:35 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:46:37 ========================================================= 08:46:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:46:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:38 + 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:46:38 Sending build context to Docker daemon 8.048MB 08:46:38 Step 1/10 : ARG BASE=golang:1.15-alpine 08:46:38 Step 2/10 : FROM ${BASE} 08:46:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:46:38 df20fa9351a1: Pulling fs layer 08:46:38 ed8968b2872e: Pulling fs layer 08:46:38 a92cc7c5fd73: Pulling fs layer 08:46:38 e871e8e8d7a9: Pulling fs layer 08:46:38 e73272ec9a57: Pulling fs layer 08:46:38 1e910a182e73: Pulling fs layer 08:46:38 4e634b169226: Pulling fs layer 08:46:38 e73272ec9a57: Waiting 08:46:38 1e910a182e73: Waiting 08:46:38 4e634b169226: Waiting 08:46:38 e871e8e8d7a9: Waiting 08:46:38 a92cc7c5fd73: Download complete 08:46:38 ed8968b2872e: Verifying Checksum 08:46:38 ed8968b2872e: Download complete 08:46:39 e73272ec9a57: Download complete 08:46:39 1e910a182e73: Verifying Checksum 08:46:39 1e910a182e73: Download complete 08:46:39 df20fa9351a1: Verifying Checksum 08:46:39 df20fa9351a1: Download complete 08:46:40 df20fa9351a1: Pull complete 08:46:40 ed8968b2872e: Pull complete 08:46:40 a92cc7c5fd73: Pull complete 08:46:40 209524e5b208: Verifying Checksum 08:46:40 209524e5b208: Download complete 08:46:42 8529a6b9a6be: Verifying Checksum 08:46:42 8529a6b9a6be: Download complete 08:46:43 4e634b169226: Verifying Checksum 08:46:43 4e634b169226: Download complete 08:46:45 e871e8e8d7a9: Verifying Checksum 08:46:45 e871e8e8d7a9: Download complete 08:46:49 e871e8e8d7a9: Pull complete 08:46:50 e73272ec9a57: Pull complete 08:46:50 1e910a182e73: Pull complete 08:46:52 8529a6b9a6be: Pull complete 08:46:52 45590311c82a: Pull complete 08:46:52 69ca0ff8b7b3: Pull complete 08:46:57 209524e5b208: Pull complete 08:46:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:46:57 ---> 5bddaf1c2fca 08:46:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:46:58 4e634b169226: Pull complete 08:46:58 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:46:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:46:58 ---> f7629b54cfaa 08:46:58 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:46:58 ---> Running in 97b4cb22712c 08:46:58 Removing intermediate container 97b4cb22712c 08:46:58 ---> ce4786514022 08:46:58 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:46:58 ---> Running in 450b556c9732 08:46:58 Removing intermediate container 450b556c9732 08:46:58 ---> 57749ef4f3ae 08:46:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:46:58 ---> Running in 3a7a345b58a3 08:46:59 Removing intermediate container 3a7a345b58a3 08:46:59 ---> 9d44517a97af 08:46:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:59 ---> Running in 15ee8ef032f5 08:46:59 ---> Running in 9d8f7308b1e8 08:46:59 Removing intermediate container 9d8f7308b1e8 08:46:59 ---> 1a68c3569e2b 08:46:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:47:00 ---> Running in 7fa5ca3f3384 08:47:00 Removing intermediate container 7fa5ca3f3384 08:47:00 ---> ebd497106a4d 08:47:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:47:00 Removing intermediate container 15ee8ef032f5 08:47:00 ---> 7b6da2a89547 08:47:00 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:00 ---> Running in 0dbba4897056 08:47:00 ---> Running in 42a4ac48f195 08:47:01 Removing intermediate container 42a4ac48f195 08:47:01 ---> 664cd64b9766 08:47:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:01 ---> Running in d2d9e9e92602 08:47:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:47:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:47:02 OK: 166 MiB in 39 packages 08:47:03 Removing intermediate container 0dbba4897056 08:47:03 ---> 611332d2c048 08:47:03 Step 8/10 : WORKDIR /device-rest-go 08:47:03 ---> Running in 126bac64c760 08:47:03 Removing intermediate container 126bac64c760 08:47:03 ---> 18af206122c0 08:47:03 Step 9/10 : COPY . . 08:47:03 Removing intermediate container d2d9e9e92602 08:47:03 ---> b0b5aaeeedd5 08:47:03 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:04 ---> Running in 0511f1c36617 08:47:04 ---> be62635d783f 08:47:04 Step 10/10 : RUN go mod download 08:47:04 ---> Running in c5820c25be20 08:47:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:47:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:47:07 OK: 142 MiB in 39 packages 08:47:08 Removing intermediate container 0511f1c36617 08:47:08 ---> 2ba884d1d29a 08:47:08 Step 8/10 : WORKDIR /device-rest-go 08:47:08 ---> Running in 01f2dbc08372 08:47:09 Removing intermediate container 01f2dbc08372 08:47:09 ---> fb19762337a7 08:47:09 Step 9/10 : COPY . . 08:47:10 ---> 4af2036a609b 08:47:10 Step 10/10 : RUN go mod download 08:47:10 ---> Running in 26306628f6d1 08:47:16 Removing intermediate container c5820c25be20 08:47:16 ---> efbf89cd3ec1 08:47:16 Successfully built efbf89cd3ec1 08:47:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:47:17 + docker inspect -f . ci-base-image-x86_64 08:47:17 . [Pipeline] withDockerContainer 08:47:17 prd-centos7-docker-4c-2g-144 does not seem to be running inside a container 08:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:18 $ docker top d022a3d8d28181119c99abbeecf2f838900a589df6e58865f42b22f077e1241f -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:18 + go version 08:47:18 go version go1.15.2 linux/amd64 [Pipeline] } 08:47:18 $ docker stop --time=1 d022a3d8d28181119c99abbeecf2f838900a589df6e58865f42b22f077e1241f 08:47:20 $ docker rm -f d022a3d8d28181119c99abbeecf2f838900a589df6e58865f42b22f077e1241f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:21 + docker inspect -f . ci-base-image-x86_64 08:47:21 . [Pipeline] withDockerContainer 08:47:21 prd-centos7-docker-4c-2g-144 does not seem to be running inside a container 08:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:22 $ docker top bc598512ddb6c3562cc6306aed26c4186193ba975c89ad338e833d68b2790ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:22 + make test 08:47:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:47:23 ? github.com/edgexfoundry/device-rest-go [no test files] 08:47:25 Removing intermediate container 26306628f6d1 08:47:25 ---> bc729388c382 08:47:25 Successfully built bc729388c382 08:47:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:47:26 + docker inspect -f . ci-base-image-arm64 08:47:26 . [Pipeline] withDockerContainer 08:47:26 prd-ubuntu18.04-docker-arm64-4c-16g-142 does not seem to be running inside a container 08:47:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 08:47:28 $ docker top 482aee3965677517c2c425b83587d7b44eec7929772e159407a6c7aafa4cbe80 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:29 + go version 08:47:29 go version go1.15.2 linux/arm64 [Pipeline] } 08:47:29 $ docker stop --time=1 482aee3965677517c2c425b83587d7b44eec7929772e159407a6c7aafa4cbe80 08:47:31 $ docker rm -f 482aee3965677517c2c425b83587d7b44eec7929772e159407a6c7aafa4cbe80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:33 + docker inspect -f . ci-base-image-arm64 08:47:33 . [Pipeline] withDockerContainer 08:47:33 prd-ubuntu18.04-docker-arm64-4c-16g-142 does not seem to be running inside a container 08:47:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:47:33 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements 08:47:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 08:47:34 gofmt -l . 08:47:34 [ "`gofmt -l .`" = "" ] 08:47:34 ./bin/test-go-mod-tidy.sh 08:47:34 ./bin/test-attribution-txt.sh 08:47:35 $ docker top 07512a1ad96eeebd916927ab873b06ff2e0e9443fa43763ed81bdba432d6ea2d -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 08:47:36 Stashed 1 file(s) [Pipeline] } 08:47:36 $ docker stop --time=1 bc598512ddb6c3562cc6306aed26c4186193ba975c89ad338e833d68b2790ed3 08:47:37 + make test 08:47:37 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:47:38 ? github.com/edgexfoundry/device-rest-go [no test files] 08:47:38 $ docker rm -f bc598512ddb6c3562cc6306aed26c4186193ba975c89ad338e833d68b2790ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:42 + ls -al . 08:47:42 total 96 08:47:42 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 08:47 . 08:47:42 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:46 .. 08:47:42 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 08:46 Attribution.txt 08:47:42 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 08:46 bin 08:47:42 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:46 cmd 08:47:42 -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 08:47 coverage.out 08:47:42 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 08:46 Dockerfile 08:47:42 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 08:46 Dockerfile.build 08:47:42 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 08:46 .dockerignore 08:47:42 drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 08:47 driver 08:47:42 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:46 .git 08:47:42 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:46 .github 08:47:42 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 08:46 .gitignore 08:47:42 -rw-r--r--. 1 jenkins jenkins 266 Sep 17 08:47 go.mod 08:47:42 -rw-r--r--. 1 jenkins jenkins 12533 Sep 17 08:47 go.sum 08:47:42 -rw-rw-r--. 1 jenkins jenkins 679 Sep 17 08:46 Jenkinsfile 08:47:42 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:46 LICENSE 08:47:42 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 08:46 Makefile 08:47:42 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 17 08:46 README.md 08:47:42 drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 08:46 .semver 08:47:42 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:46 snap 08:47:42 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:42 VERSION 08:47:42 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:47:42 + 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=e08bc59f59d91427918530c3ab0a7541d73dd497 --label arch=amd64 --label version=0.0.0 . 08:47:42 Sending build context to Docker daemon 8.059MB 08:47:42 Step 1/25 : ARG BASE=golang:1.15-alpine 08:47:42 Step 2/25 : FROM ${BASE} AS builder 08:47:42 ---> efbf89cd3ec1 08:47:42 Step 3/25 : ARG MAKE='make build' 08:47:43 ---> Running in ee66c13854c3 08:47:43 Removing intermediate container ee66c13854c3 08:47:43 ---> a9d9b2a00fec 08:47:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:47:43 ---> Running in fb6678008bc2 08:47:43 Removing intermediate container fb6678008bc2 08:47:43 ---> 843159c7a9fc 08:47:43 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:47:43 ---> Running in 9798f359ce5f 08:47:43 Removing intermediate container 9798f359ce5f 08:47:43 ---> 1dea9b119f9e 08:47:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:43 ---> Running in 0ff097558d45 08:47:44 Removing intermediate container 0ff097558d45 08:47:44 ---> bf1f577e05a4 08:47:44 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:44 ---> Running in 518f1c0d1a78 08:47:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:47:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:47:46 OK: 166 MiB in 39 packages 08:47:47 Removing intermediate container 518f1c0d1a78 08:47:47 ---> 7b378493a74a 08:47:47 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 08:47:47 ---> Running in 79d226f59acc 08:47:47 Removing intermediate container 79d226f59acc 08:47:47 ---> 5c3ea7de858b 08:47:47 Step 9/25 : COPY go.mod . 08:47:47 ---> 938dcec7419d 08:47:47 Step 10/25 : COPY Makefile . 08:47:47 ---> 0d41ea5272e4 08:47:47 Step 11/25 : RUN make update 08:47:48 ---> Running in 4a4f975bb719 08:47:48 CGO_ENABLED=0 GO111MODULE=on go mod download 08:47:48 Removing intermediate container 4a4f975bb719 08:47:48 ---> 19f291cbd293 08:47:48 Step 12/25 : COPY . . 08:47:49 ---> 1a422b50f666 08:47:49 Step 13/25 : RUN $MAKE 08:47:49 ---> Running in f547957a1711 08:47:49 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:47:59 Removing intermediate container f547957a1711 08:47:59 ---> cee48b9ecb89 08:47:59 Step 14/25 : FROM alpine:latest 08:47:59 latest: Pulling from library/alpine 08:47:59 df20fa9351a1: Already exists 08:47:59 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:47:59 Status: Downloaded newer image for alpine:latest 08:47:59 ---> a24bb4013296 08:47:59 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:47:59 ---> Running in 6d3f97f92f2d 08:47:59 Removing intermediate container 6d3f97f92f2d 08:47:59 ---> 1e39420fb03d 08:47:59 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 08:47:59 ---> Running in 4be692d3400f 08:47:59 Removing intermediate container 4be692d3400f 08:47:59 ---> cbe07c62d1c2 08:47:59 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 08:47:59 ---> 3ec4550b216f 08:47:59 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 08:48:00 ---> 6c8689f36270 08:48:00 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 08:48:00 ---> f377ed5ad6bf 08:48:00 Step 20/25 : EXPOSE 49986 08:48:00 ---> Running in 57dadc39fb05 08:48:00 Removing intermediate container 57dadc39fb05 08:48:00 ---> 7bc2b29cb572 08:48:00 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 08:48:01 ---> Running in 3aaa99612f51 08:48:01 Removing intermediate container 3aaa99612f51 08:48:01 ---> 413b1116b102 08:48:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:48:01 ---> Running in 0ed9f48c5061 08:48:01 Removing intermediate container 0ed9f48c5061 08:48:01 ---> 0a9a973c3e42 08:48:01 Step 23/25 : LABEL arch=amd64 08:48:01 ---> Running in 2bddcf6afc25 08:48:01 Removing intermediate container 2bddcf6afc25 08:48:01 ---> 1e312d882156 08:48:01 Step 24/25 : LABEL git_sha=e08bc59f59d91427918530c3ab0a7541d73dd497 08:48:01 ---> Running in ef70d3756355 08:48:01 Removing intermediate container ef70d3756355 08:48:01 ---> 63c12ec2f42a 08:48:01 Step 25/25 : LABEL version=0.0.0 08:48:01 ---> Running in 1c841a3a2177 08:48:02 Removing intermediate container 1c841a3a2177 08:48:02 ---> 1e6f47227d82 08:48:02 [Warning] One or more build-args [ARCH] were not consumed 08:48:02 Successfully built 1e6f47227d82 08:48:02 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] } 08:48:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:48:10 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements 08:48:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:48:13 gofmt -l . 08:48:13 [ "`gofmt -l .`" = "" ] 08:48:13 ./bin/test-go-mod-tidy.sh 08:48:13 ./bin/test-attribution-txt.sh [Pipeline] stash 08:48:14 Warning: overwriting stash ‘coverage-report’ 08:48:15 Stashed 1 file(s) [Pipeline] } 08:48:15 $ docker stop --time=1 07512a1ad96eeebd916927ab873b06ff2e0e9443fa43763ed81bdba432d6ea2d 08:48:17 $ docker rm -f 07512a1ad96eeebd916927ab873b06ff2e0e9443fa43763ed81bdba432d6ea2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:48:19 + ls -al . 08:48:19 total 128 08:48:19 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 08:48 . 08:48:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:46 .. 08:48:19 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 08:46 .dockerignore 08:48:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:46 .git 08:48:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:46 .github 08:48:19 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 08:46 .gitignore 08:48:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:46 .semver 08:48:19 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 08:46 Attribution.txt 08:48:19 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 08:46 Dockerfile 08:48:19 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 08:46 Dockerfile.build 08:48:19 -rw-rw-r-- 1 jenkins jenkins 679 Sep 17 08:46 Jenkinsfile 08:48:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:46 LICENSE 08:48:19 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 08:46 Makefile 08:48:19 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 17 08:46 README.md 08:48:19 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:42 VERSION 08:48:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:46 bin 08:48:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:46 cmd 08:48:19 -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 08:48 coverage.out 08:48:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:48 driver 08:48:19 -rw-r--r-- 1 jenkins jenkins 266 Sep 17 08:48 go.mod 08:48:19 -rw-r--r-- 1 jenkins jenkins 12533 Sep 17 08:48 go.sum 08:48:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:46 snap 08:48:19 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:48:20 + 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=e08bc59f59d91427918530c3ab0a7541d73dd497 --label arch=arm64 --label version=0.0.0 . 08:48:20 Sending build context to Docker daemon 8.059MB 08:48:20 Step 1/25 : ARG BASE=golang:1.15-alpine 08:48:20 Step 2/25 : FROM ${BASE} AS builder 08:48:20 ---> bc729388c382 08:48:20 Step 3/25 : ARG MAKE='make build' 08:48:20 ---> Running in 21dde5ab08db 08:48:21 Removing intermediate container 21dde5ab08db 08:48:21 ---> 2ece95785ae3 08:48:21 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:48:21 ---> Running in 46ca753a7bee 08:48:21 Removing intermediate container 46ca753a7bee 08:48:21 ---> 8158b1bee901 08:48:21 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:48:21 ---> Running in 50e668de9bfe 08:48:22 Removing intermediate container 50e668de9bfe 08:48:22 ---> 77be230967e4 08:48:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:22 ---> Running in 0f1cf615c70b 08:48:25 Removing intermediate container 0f1cf615c70b 08:48:25 ---> 02e18b433351 08:48:25 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:48:25 ---> Running in 4cb318bc1bf0 08:48:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:48:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:48:28 OK: 142 MiB in 39 packages 08:48:29 Removing intermediate container 4cb318bc1bf0 08:48:29 ---> 35fe9a9bb92f 08:48:29 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 08:48:29 ---> Running in 174d1bf75848 08:48:29 Removing intermediate container 174d1bf75848 08:48:29 ---> 2c4eb220a148 08:48:29 Step 9/25 : COPY go.mod . 08:48:30 ---> 69a1448e5665 08:48:30 Step 10/25 : COPY Makefile . 08:48:30 ---> 4f9489314938 08:48:30 Step 11/25 : RUN make update 08:48:31 ---> Running in 2e52f72ec184 08:48:32 CGO_ENABLED=0 GO111MODULE=on go mod download 08:48:33 Removing intermediate container 2e52f72ec184 08:48:33 ---> 5ec3d47e73c7 08:48:33 Step 12/25 : COPY . . 08:48:35 ---> a858f15536ba 08:48:35 Step 13/25 : RUN $MAKE 08:48:35 ---> Running in b9b7cecada1f 08:48:36 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:49:03 Removing intermediate container b9b7cecada1f 08:49:03 ---> beb1a63d4521 08:49:03 Step 14/25 : FROM alpine:latest 08:49:03 latest: Pulling from library/alpine 08:49:03 b538f80385f9: Already exists 08:49:03 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:49:03 Status: Downloaded newer image for alpine:latest 08:49:03 ---> 62ee0e9f8440 08:49:03 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:49:03 ---> Running in 8c1c892cb228 08:49:03 Removing intermediate container 8c1c892cb228 08:49:03 ---> 723cbaf29b1a 08:49:03 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 08:49:03 ---> Running in fc344b8734d5 08:49:03 Removing intermediate container fc344b8734d5 08:49:03 ---> 184aaafdd5b6 08:49:03 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 08:49:03 ---> 1c5170b5abc5 08:49:03 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 08:49:04 ---> c5a1a55e1f17 08:49:04 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 08:49:05 ---> 4d7332ea6bb0 08:49:05 Step 20/25 : EXPOSE 49986 08:49:05 ---> Running in d9e70f569250 08:49:06 Removing intermediate container d9e70f569250 08:49:06 ---> 5827e3b3213d 08:49:06 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 08:49:06 ---> Running in df10016061fb 08:49:06 Removing intermediate container df10016061fb 08:49:06 ---> bd34839e4841 08:49:06 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:49:06 ---> Running in d27b4ad69efb 08:49:07 Removing intermediate container d27b4ad69efb 08:49:07 ---> d23a6f29298a 08:49:07 Step 23/25 : LABEL arch=arm64 08:49:07 ---> Running in a0dde5ecf0f1 08:49:07 Removing intermediate container a0dde5ecf0f1 08:49:07 ---> e3f2a7fe1ea9 08:49:07 Step 24/25 : LABEL git_sha=e08bc59f59d91427918530c3ab0a7541d73dd497 08:49:07 ---> Running in 6be95a98f85d 08:49:08 Removing intermediate container 6be95a98f85d 08:49:08 ---> 7c836a9926b5 08:49:08 Step 25/25 : LABEL version=0.0.0 08:49:08 ---> Running in a4bb985f8351 08:49:09 Removing intermediate container a4bb985f8351 08:49:09 ---> 1983ec02c97d 08:49:09 [Warning] One or more build-args [ARCH] were not consumed 08:49:09 Successfully built 1983ec02c97d 08:49:09 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:49:11 provisioning config files... 08:49:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config7162010372149408620tmp [Pipeline] { [Pipeline] sh 08:49:12 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config7162010372149408620tmp 08:49:12 + curl -s https://codecov.io/bash [Pipeline] } 08:49:13 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:49:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:49:17 ---> package-listing.sh 08:49:17 ++ facter osfamily 08:49:17 ++ tr '[:upper:]' '[:lower:]' 08:49:18 + OS_FAMILY=redhat 08:49:18 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-40 08:49:18 + START_PACKAGES=/tmp/packages_start.txt 08:49:18 + END_PACKAGES=/tmp/packages_end.txt 08:49:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:49:18 + PACKAGES=/tmp/packages_start.txt 08:49:18 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 08:49:18 + PACKAGES=/tmp/packages_end.txt 08:49:18 + case "${OS_FAMILY}" in 08:49:18 + sort 08:49:18 + rpm -qa 08:49:23 + '[' -f /tmp/packages_start.txt ']' 08:49:23 + '[' -f /tmp/packages_end.txt ']' 08:49:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:23 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-40 ']' 08:49:23 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-40/archives/ 08:49:23 + 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:49:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:49:24 08:49:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:49:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:49:24 alpine: Pulling from edgex-lftools-log-publisher 08:49:24 df20fa9351a1: Pulling fs layer 08:49:24 36b3adc4ff6f: Pulling fs layer 08:49:24 8ad3a11d3b57: Pulling fs layer 08:49:24 46f8f816bc3b: Pulling fs layer 08:49:24 0dadc02b9964: Pulling fs layer 08:49:24 ce6a7cf60c04: Pulling fs layer 08:49:24 7a184a31f384: Pulling fs layer 08:49:24 0879bd2ef858: Pulling fs layer 08:49:24 ce6a7cf60c04: Waiting 08:49:24 7a184a31f384: Waiting 08:49:24 46f8f816bc3b: Waiting 08:49:24 0dadc02b9964: Waiting 08:49:24 0879bd2ef858: Waiting 08:49:24 36b3adc4ff6f: Download complete 08:49:24 46f8f816bc3b: Verifying Checksum 08:49:24 46f8f816bc3b: Download complete 08:49:24 df20fa9351a1: Verifying Checksum 08:49:24 0dadc02b9964: Verifying Checksum 08:49:24 0dadc02b9964: Download complete 08:49:24 ce6a7cf60c04: Verifying Checksum 08:49:24 ce6a7cf60c04: Download complete 08:49:24 7a184a31f384: Verifying Checksum 08:49:24 7a184a31f384: Download complete 08:49:25 df20fa9351a1: Pull complete 08:49:25 36b3adc4ff6f: Pull complete 08:49:25 8ad3a11d3b57: Verifying Checksum 08:49:25 8ad3a11d3b57: Download complete 08:49:26 0879bd2ef858: Verifying Checksum 08:49:26 0879bd2ef858: Download complete 08:49:26 8ad3a11d3b57: Pull complete 08:49:27 46f8f816bc3b: Pull complete 08:49:28 0dadc02b9964: Pull complete 08:49:28 ce6a7cf60c04: Pull complete 08:49:28 7a184a31f384: Pull complete 08:49:35 0879bd2ef858: Pull complete 08:49:35 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:49:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:49:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:49:36 prd-centos7-docker-4c-2g-139 does not seem to be running inside a container 08:49:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:49:41 $ docker top 925bee7913b75959f63296d8ed8234e259ed8a9f1dc866a012f62486caedfab4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:43 + mkdir -p /var/log/sa [Pipeline] sh 08:49:44 + ls /var/log/sa-host 08:49:44 + sadf -c /var/log/sa-host/sa05 08:49:44 file_magic: OK 08:49:44 HZ: Using current value: 100 08:49:44 file_header: OK 08:49:44 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:49:44 Statistics: 08:49:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:49:44 File successfully converted to sysstat format version 12.2.1 08:49:44 + sadf -c /var/log/sa-host/sa17 08:49:44 file_magic: OK 08:49:44 HZ: Using current value: 100 08:49:44 file_header: OK 08:49:44 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:49:44 Statistics: 08:49:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:49:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:44 provisioning config files... 08:49:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-40@tmp/config445824300283218086tmp [Pipeline] { [Pipeline] echo 08:49:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:49:45 ---> create-netrc.sh [Pipeline] echo 08:49:45 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:49:46 ---> logs-deploy.sh 08:49:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-40/1 08:49:46 INFO: archiving workspace using pattern(s): 08:49:50 Archives upload complete. 08:49:50 INFO: archiving logs to Nexus 08:49:53 ---> uname -a: 08:49:53 Linux 925bee7913b7 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 08:49:53 08:49:53 08:49:53 ---> lscpu: 08:49:53 Architecture: x86_64 08:49:53 CPU op-mode(s): 32-bit, 64-bit 08:49:53 Byte Order: Little Endian 08:49:53 Address sizes: 40 bits physical, 48 bits virtual 08:49:53 CPU(s): 4 08:49:53 On-line CPU(s) list: 0-3 08:49:53 Thread(s) per core: 1 08:49:53 Core(s) per socket: 1 08:49:53 Socket(s): 4 08:49:53 NUMA node(s): 1 08:49:53 Vendor ID: GenuineIntel 08:49:53 CPU family: 6 08:49:53 Model: 44 08:49:53 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:49:53 Stepping: 1 08:49:53 CPU MHz: 2933.438 08:49:53 BogoMIPS: 5866.87 08:49:53 Virtualization: VT-x 08:49:53 Hypervisor vendor: KVM 08:49:53 Virtualization type: full 08:49:53 L1d cache: 128 KiB 08:49:53 L1i cache: 128 KiB 08:49:53 L2 cache: 16 MiB 08:49:53 L3 cache: 64 MiB 08:49:53 NUMA node0 CPU(s): 0-3 08:49:53 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:49:53 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:49:53 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:49:53 Vulnerability Meltdown: Mitigation; PTI 08:49:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:49:53 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:49:53 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:49:53 Vulnerability Tsx async abort: Not affected 08:49:53 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:49:53 08:49:53 08:49:53 ---> nproc: 08:49:53 4 08:49:53 08:49:53 08:49:53 ---> df -h: 08:49:53 Filesystem Size Used Available Use% Mounted on 08:49:53 overlay 50.0G 7.0G 43.0G 14% / 08:49:53 tmpfs 64.0M 0 64.0M 0% /dev 08:49:53 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:49:53 shm 64.0M 0 64.0M 0% /dev/shm 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40 08:49:53 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-40@tmp 08:49:53 08:49:53 08:49:53 ---> free -m: 08:49:53 total used free shared buff/cache available 08:49:53 Mem: 1837 658 119 0 1059 1071 08:49:53 Swap: 1023 0 1023 08:49:53 08:49:53 08:49:53 ---> ip addr: 08:49:53 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:49:53 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:49:53 inet 127.0.0.1/8 scope host lo 08:49:53 valid_lft forever preferred_lft forever 08:49:53 6: eth0@if7: mtu 1458 qdisc noqueue state UP 08:49:53 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 08:49:53 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 08:49:53 valid_lft forever preferred_lft forever 08:49:53 08:49:53 08:49:53 ---> sar -b -r -n DEV: 08:49:53 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:49:53 08:49:53 08:40:57 LINUX RESTART (4 CPU) 08:49:53 08:49:53 08:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:49:53 08:43:01 26.66 9.64 17.02 0.00 4272.13 2517.86 0.00 08:49:53 08:44:01 0.38 0.00 0.38 0.00 0.00 7.26 0.00 08:49:53 08:45:01 0.33 0.00 0.33 0.00 0.00 4.71 0.00 08:49:53 08:46:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 08:49:53 08:47:01 0.30 0.00 0.30 0.00 0.00 4.56 0.00 08:49:53 08:48:02 0.30 0.02 0.28 0.00 0.13 3.80 0.00 08:49:53 08:49:01 0.29 0.00 0.29 0.00 0.00 2.90 0.00 08:49:53 Average: 4.08 1.38 2.70 0.00 612.00 364.43 0.00 08:49:53 08:49:53 08:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:49:53 08:43:01 170164 0 537576 28.57 2620 1171196 1151444 39.30 420144 1130256 24 08:49:53 08:44:01 179472 0 528264 28.08 2620 1171200 1075588 36.71 414668 1127644 16 08:49:53 08:45:01 178284 0 529444 28.14 2620 1171208 1075952 36.72 416336 1127648 8 08:49:53 08:46:01 177264 0 530464 28.19 2620 1171208 1075652 36.71 424212 1120392 16 08:49:53 08:47:01 176808 0 530916 28.22 2620 1171212 1075888 36.72 425440 1120372 16 08:49:53 08:48:02 174748 0 532964 28.33 2620 1171224 1075948 36.72 442732 1105372 16 08:49:53 08:49:01 175256 0 532456 28.30 2620 1171224 1075916 36.72 435788 1111884 20 08:49:53 Average: 175999 0 531726 28.26 2620 1171210 1086627 37.08 425617 1120510 17 08:49:53 08:49:53 08:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:49:53 08:43:01 eth0 134.56 125.76 477.78 172.36 0.00 0.00 0.00 0.00 08:49:53 08:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:43:01 docker0 54.10 37.88 4.06 132.34 0.00 0.00 0.00 0.00 08:49:53 08:44:01 eth0 0.60 0.08 0.06 0.04 0.00 0.00 0.00 0.00 08:49:53 08:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:45:01 eth0 0.53 0.23 0.27 0.19 0.00 0.00 0.00 0.00 08:49:53 08:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:46:01 eth0 1.55 0.08 0.14 0.01 0.00 0.00 0.00 0.00 08:49:53 08:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:47:01 eth0 2.53 0.88 0.98 0.65 0.00 0.00 0.00 0.00 08:49:53 08:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:48:02 eth0 1.90 0.65 0.69 0.40 0.00 0.00 0.00 0.00 08:49:53 08:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:48:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:49:01 eth0 1.24 0.25 0.35 0.21 0.00 0.00 0.00 0.00 08:49:53 08:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 08:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 Average: eth0 20.47 18.33 68.80 24.90 0.00 0.00 0.00 0.00 08:49:53 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:49:53 Average: docker0 7.75 5.43 0.58 18.96 0.00 0.00 0.00 0.00 08:49:53 08:49:53 08:49:53 ---> sar -P ALL: 08:49:53 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:49:53 08:49:53 08:40:57 LINUX RESTART (4 CPU) 08:49:53 08:49:53 08:42:01 CPU %user %nice %system %iowait %steal %idle 08:49:53 08:43:01 all 3.10 0.00 1.59 0.42 3.36 91.53 08:49:53 08:43:01 0 2.25 0.00 1.68 0.22 3.98 91.87 08:49:53 08:43:01 1 3.22 0.00 1.67 1.15 3.21 90.75 08:49:53 08:43:01 2 3.10 0.00 1.63 0.19 3.07 92.01 08:49:53 08:43:01 3 3.83 0.00 1.39 0.12 3.16 91.50 08:49:53 08:44:01 all 0.11 0.00 0.09 0.00 0.52 99.28 08:49:53 08:44:01 0 0.02 0.00 0.08 0.00 0.50 99.40 08:49:53 08:44:01 1 0.13 0.00 0.10 0.00 0.37 99.40 08:49:53 08:44:01 2 0.23 0.00 0.10 0.00 0.58 99.09 08:49:53 08:44:01 3 0.05 0.00 0.08 0.00 0.65 99.22 08:49:53 08:45:01 all 0.15 0.00 0.02 0.00 0.12 99.72 08:49:53 08:45:01 0 0.05 0.00 0.02 0.00 0.05 99.88 08:49:53 08:45:01 1 0.03 0.00 0.02 0.00 0.08 99.87 08:49:53 08:45:01 2 0.03 0.00 0.02 0.00 0.05 99.90 08:49:53 08:45:01 3 0.47 0.00 0.02 0.00 0.30 99.22 08:49:53 08:46:01 all 0.09 0.00 0.05 0.00 0.18 99.68 08:49:53 08:46:01 0 0.00 0.00 0.02 0.00 0.17 99.82 08:49:53 08:46:01 1 0.07 0.00 0.07 0.00 0.27 99.60 08:49:53 08:46:01 2 0.05 0.00 0.03 0.00 0.13 99.78 08:49:53 08:46:01 3 0.23 0.00 0.08 0.00 0.15 99.53 08:49:53 08:47:01 all 0.10 0.00 0.08 0.00 0.10 99.73 08:49:53 08:47:01 0 0.05 0.00 0.03 0.00 0.08 99.83 08:49:53 08:47:01 1 0.07 0.00 0.07 0.00 0.12 99.75 08:49:53 08:47:01 2 0.12 0.00 0.03 0.00 0.13 99.72 08:49:53 08:47:01 3 0.15 0.00 0.18 0.00 0.05 99.62 08:49:53 08:48:02 all 0.11 0.00 0.05 0.00 0.20 99.63 08:49:53 08:48:02 0 0.02 0.00 0.02 0.00 0.18 99.78 08:49:53 08:48:02 1 0.15 0.00 0.03 0.00 0.43 99.39 08:49:53 08:48:02 2 0.05 0.00 0.05 0.00 0.12 99.78 08:49:53 08:48:02 3 0.23 0.00 0.12 0.00 0.07 99.58 08:49:53 08:49:01 all 0.12 0.00 0.03 0.00 0.35 99.51 08:49:53 08:49:01 0 0.03 0.00 0.03 0.00 0.52 99.41 08:49:53 08:49:01 1 0.37 0.00 0.02 0.00 0.37 99.24 08:49:53 08:49:01 2 0.05 0.00 0.03 0.00 0.37 99.54 08:49:53 08:49:01 3 0.03 0.00 0.02 0.00 0.12 99.83 08:49:53 Average: all 0.54 0.00 0.27 0.06 0.69 98.44 08:49:53 Average: 0 0.35 0.00 0.27 0.03 0.78 98.57 08:49:53 Average: 1 0.58 0.00 0.28 0.16 0.69 98.29 08:49:53 Average: 2 0.52 0.00 0.27 0.03 0.63 98.56 08:49:53 Average: 3 0.71 0.00 0.27 0.02 0.64 98.36 08:49:53 08:49:53 08:49:53