Pull request #42 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at ec5ba659fde701601f352c67d2492fac5a523e90 rather than ff42865a43909e95628183f8b986e31a776488bc Obtained Jenkinsfile from ec5ba659fde701601f352c67d2492fac5a523e90 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-340 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) > git config core.sparsecheckout # timeout=10 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 Commit message: "build: upgrade device-sdk-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:23:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:23:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:23:43 ========================================================= 01:23:43 EdgeX Global Pipelines Version Info 01:23:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e6fbd73b63f30e1d2e1d55320fa47fe090caadc6 # timeout=10 01:23:44 ------------------- 01:23:44 stable info: 01:23:44 ------------------- 01:23:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:23:44 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 01:23:44 Message: update stable to v1.0.122 01:23:45 ------------------- 01:23:45 experimental info: 01:23:45 ------------------- 01:23:45 Commited By: **** collab-it+edgex@linuxfoundation.org 01:23:45 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 01:23:45 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:23:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:23:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:23:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:23:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff42865a43909e95628183f8b986e31a776488bc [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff42865 [Pipeline] echo 01:23:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:49 + git log --format=format:%s -1 ff42865a43909e95628183f8b986e31a776488bc [Pipeline] echo 01:23:49 GIT_COMMIT: ff42865a43909e95628183f8b986e31a776488bc, Commit Message: build: upgrade device-sdk-go [Pipeline] echo 01:23:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:50 01:23:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:23:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:51 latest: Pulling from edgex-devops/git-semver 01:23:51 31603596830f: Pulling fs layer 01:23:51 2a8b12db71e7: Pulling fs layer 01:23:51 6ca5941a6612: Pulling fs layer 01:23:51 ecc8261a40a4: Pulling fs layer 01:23:51 ecc8261a40a4: Waiting 01:23:51 2a8b12db71e7: Verifying Checksum 01:23:51 2a8b12db71e7: Download complete 01:23:51 31603596830f: Download complete 01:23:51 ecc8261a40a4: Verifying Checksum 01:23:51 ecc8261a40a4: Download complete 01:23:51 6ca5941a6612: Verifying Checksum 01:23:51 6ca5941a6612: Download complete 01:23:51 31603596830f: Pull complete 01:23:51 2a8b12db71e7: Pull complete 01:23:52 6ca5941a6612: Pull complete 01:23:52 ecc8261a40a4: Pull complete 01:23:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:23:52 prd-centos7-docker-4c-2g-340 does not seem to be running inside a container 01:23:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:23:55 $ docker top 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:23:55 [ssh-agent] Looking for ssh-agent implementation... 01:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:23:55 $ docker exec 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent 01:23:55 SSH_AUTH_SOCK=/tmp/ssh-BiRyAl3fmz90/agent.11 01:23:55 SSH_AGENT_PID=17 01:23:55 Running ssh-add (command line suppressed) 01:23:55 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_2061362510464165341.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_2061362510464165341.key) 01:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:23:56 + git describe --exact-match --tags HEAD 01:23:56 fatal: No names found, cannot describe anything. [Pipeline] } 01:23:56 $ docker exec --env ******** --env ******** 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent -k 01:23:56 unset SSH_AUTH_SOCK; 01:23:56 unset SSH_AGENT_PID; 01:23:56 echo Agent pid 17 killed; 01:23:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:23:56 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:23:56 This usually means this commit has not been tagged. [Pipeline] sshagent 01:23:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:23:56 [ssh-agent] Looking for ssh-agent implementation... 01:23:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:23:56 $ docker exec 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent 01:23:56 SSH_AUTH_SOCK=/tmp/ssh-HTKPECbIGdaY/agent.47 01:23:56 SSH_AGENT_PID=52 01:23:56 Running ssh-add (command line suppressed) 01:23:57 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6779919957078491900.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6779919957078491900.key) 01:23:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:23:57 + git semver init 01:23:57 # -> Open(): unable to determine branch for HEAD 01:23:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git 01:23:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 01:23:57 # $SEMVER_REMOTE_NAME = origin 01:23:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:23:57 # $SEMVER_USER_NAME = edgex-jenkins 01:23:57 # $SEMVER_BRANCH = PR-42 01:23:57 # $SEMVER_TEMP = /tmp/semver-160106855 01:23:57 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:23:58 # '/tmp/semver-160106855' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' 01:23:58 # -> Force: false 01:23:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } 01:23:58 $ docker exec --env ******** --env ******** 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 ssh-agent -k 01:23:58 unset SSH_AUTH_SOCK; 01:23:58 unset SSH_AGENT_PID; 01:23:58 echo Agent pid 52 killed; 01:23:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:23:59 + git semver [Pipeline] } 01:23:59 $ docker stop --time=1 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 01:24:00 $ docker rm -f 3a10d25185fcd4863c844ef15880a4959ef738606c2f0019864fdb40ecea87b0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:24:02 Stashed 22 file(s) [Pipeline] echo 01:24:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:24:02 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 01:24:17 Still waiting to schedule task 01:24:17 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-340’ 01:24:17 Still waiting to schedule task 01:24:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:26:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 01:26:11 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:26:12 Running on prd-centos7-docker-4c-2g-342 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 01:26:12 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:26:14 using credential edgex-jenkins-ssh 01:26:14 Cloning the remote Git repository 01:26:14 Cloning with configured refspecs honoured and without tags 01:26:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:26:14 > git init /w/workspace/device-rest-go/3 # timeout=10 01:26:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:14 > git --version # timeout=10 01:26:14 > git --version # 'git version 2.16.5' 01:26:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:15 using credential edgex-jenkins-ssh 01:26:15 Cloning the remote Git repository 01:26:15 Cloning with configured refspecs honoured and without tags 01:26:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:26:16 > git init /w/workspace/device-rest-go/3 # timeout=10 01:26:16 Fetching without tags 01:26:16 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc 01:26:16 Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc 01:26:16 Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) 01:26:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:16 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 01:26:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:16 > git config core.sparsecheckout # timeout=10 01:26:16 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 01:26:16 > git remote # timeout=10 01:26:16 > git config --get remote.origin.url # timeout=10 01:26:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:16 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 01:26:16 > git rev-parse HEAD^{commit} # timeout=10 01:26:16 > git config core.sparsecheckout # timeout=10 01:26:16 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 01:26:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:16 > git --version # timeout=10 01:26:16 > git --version # 'git version 2.17.1' 01:26:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:18 Fetching without tags 01:26:18 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit ff42865a43909e95628183f8b986e31a776488bc 01:26:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:17 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 01:26:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:18 > git config core.sparsecheckout # timeout=10 01:26:18 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 01:26:18 Merge succeeded, producing ff42865a43909e95628183f8b986e31a776488bc 01:26:18 Checking out Revision ff42865a43909e95628183f8b986e31a776488bc (PR-42) 01:26:18 > git remote # timeout=10 01:26:18 > git config --get remote.origin.url # timeout=10 01:26:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:18 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 01:26:18 > git rev-parse HEAD^{commit} # timeout=10 01:26:18 > git config core.sparsecheckout # timeout=10 01:26:18 > git checkout -f ff42865a43909e95628183f8b986e31a776488bc # timeout=10 01:26:20 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:26:21 ========================================================= 01:26:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:26:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:26:22 + 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 . 01:26:22 Sending build context to Docker daemon 8.054MB 01:26:22 Step 1/10 : ARG BASE=golang:1.15-alpine 01:26:22 Step 2/10 : FROM ${BASE} 01:26:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:22 df20fa9351a1: Pulling fs layer 01:26:22 ed8968b2872e: Pulling fs layer 01:26:22 a92cc7c5fd73: Pulling fs layer 01:26:22 e871e8e8d7a9: Pulling fs layer 01:26:22 e73272ec9a57: Pulling fs layer 01:26:22 1e910a182e73: Pulling fs layer 01:26:22 4e634b169226: Pulling fs layer 01:26:22 e73272ec9a57: Waiting 01:26:22 1e910a182e73: Waiting 01:26:22 4e634b169226: Waiting 01:26:22 e871e8e8d7a9: Waiting 01:26:22 a92cc7c5fd73: Verifying Checksum 01:26:22 a92cc7c5fd73: Download complete 01:26:22 ed8968b2872e: Verifying Checksum 01:26:22 ed8968b2872e: Download complete 01:26:22 e73272ec9a57: Verifying Checksum 01:26:22 e73272ec9a57: Download complete 01:26:22 1e910a182e73: Verifying Checksum 01:26:22 1e910a182e73: Download complete 01:26:22 df20fa9351a1: Verifying Checksum 01:26:22 df20fa9351a1: Download complete 01:26:23 df20fa9351a1: Pull complete 01:26:23 Commit message: "build: upgrade device-sdk-go" 01:26:23 ed8968b2872e: Pull complete 01:26:23 a92cc7c5fd73: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:26:25 ========================================================= 01:26:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:26:25 ========================================================= 01:26:25 4e634b169226: Verifying Checksum 01:26:25 4e634b169226: Download complete [Pipeline] isUnix [Pipeline] sh 01:26:25 e871e8e8d7a9: Verifying Checksum 01:26:25 e871e8e8d7a9: Download complete 01:26:26 + 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 . 01:26:27 Sending build context to Docker daemon 8.054MB 01:26:27 Step 1/10 : ARG BASE=golang:1.15-alpine 01:26:27 Step 2/10 : FROM ${BASE} 01:26:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:26:27 b538f80385f9: Pulling fs layer 01:26:27 74f711af9a0d: Pulling fs layer 01:26:27 99f96fe45779: Pulling fs layer 01:26:27 8529a6b9a6be: Pulling fs layer 01:26:27 45590311c82a: Pulling fs layer 01:26:27 69ca0ff8b7b3: Pulling fs layer 01:26:27 209524e5b208: Pulling fs layer 01:26:27 8529a6b9a6be: Waiting 01:26:27 45590311c82a: Waiting 01:26:27 69ca0ff8b7b3: Waiting 01:26:27 209524e5b208: Waiting 01:26:27 99f96fe45779: Download complete 01:26:27 74f711af9a0d: Verifying Checksum 01:26:27 74f711af9a0d: Download complete 01:26:27 45590311c82a: Verifying Checksum 01:26:27 45590311c82a: Download complete 01:26:27 69ca0ff8b7b3: Verifying Checksum 01:26:27 69ca0ff8b7b3: Download complete 01:26:27 b538f80385f9: Verifying Checksum 01:26:27 b538f80385f9: Download complete 01:26:28 b538f80385f9: Pull complete 01:26:28 74f711af9a0d: Pull complete 01:26:29 99f96fe45779: Pull complete 01:26:29 209524e5b208: Verifying Checksum 01:26:29 209524e5b208: Download complete 01:26:30 e871e8e8d7a9: Pull complete 01:26:30 e73272ec9a57: Pull complete 01:26:30 1e910a182e73: Pull complete 01:26:31 8529a6b9a6be: Verifying Checksum 01:26:31 8529a6b9a6be: Download complete 01:26:37 4e634b169226: Pull complete 01:26:37 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:26:37 ---> f7629b54cfaa 01:26:37 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:26:37 ---> Running in b7b007bf258a 01:26:37 Removing intermediate container b7b007bf258a 01:26:37 ---> 55db0df020eb 01:26:37 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:26:37 ---> Running in 9205d698fee6 01:26:37 Removing intermediate container 9205d698fee6 01:26:37 ---> bba7413bd4fc 01:26:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:26:37 ---> Running in b14bb103aefe 01:26:38 Removing intermediate container b14bb103aefe 01:26:38 ---> 11b12a56916f 01:26:38 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:38 ---> Running in 13d4d79a789c 01:26:39 Removing intermediate container 13d4d79a789c 01:26:39 ---> 809f80bf92c0 01:26:39 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:39 ---> Running in 0a0024285a3f 01:26:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:26:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:26:41 8529a6b9a6be: Pull complete 01:26:41 45590311c82a: Pull complete 01:26:41 69ca0ff8b7b3: Pull complete 01:26:41 OK: 166 MiB in 39 packages 01:26:41 Removing intermediate container 0a0024285a3f 01:26:41 ---> acac69c81914 01:26:41 Step 8/10 : WORKDIR /device-rest-go 01:26:41 ---> Running in 17cc8ba2d722 01:26:41 Removing intermediate container 17cc8ba2d722 01:26:41 ---> 40fed6af0464 01:26:41 Step 9/10 : COPY . . 01:26:42 ---> 2f8ee4d40808 01:26:42 Step 10/10 : RUN go mod download 01:26:42 ---> Running in e1e7a0af8ee4 01:26:45 209524e5b208: Pull complete 01:26:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:26:45 ---> 5bddaf1c2fca 01:26:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:26:48 ---> Running in 305d3e200e89 01:26:48 Removing intermediate container 305d3e200e89 01:26:48 ---> b0fb1e5fbb10 01:26:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:26:48 ---> Running in bfa0998232a2 01:26:49 Removing intermediate container bfa0998232a2 01:26:49 ---> 4620858826d9 01:26:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:26:49 ---> Running in f8af6ca7719a 01:26:49 Removing intermediate container f8af6ca7719a 01:26:49 ---> 9d82641cc746 01:26:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:49 ---> Running in a03be2d5fedf 01:26:52 Removing intermediate container a03be2d5fedf 01:26:52 ---> 633a9309c9fc 01:26:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:52 ---> Running in fdf4013d8e21 01:26:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:26:54 Removing intermediate container e1e7a0af8ee4 01:26:54 ---> ec11e2f0e16c 01:26:54 Successfully built ec11e2f0e16c 01:26:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:26:55 + docker inspect -f . ci-base-image-x86_64 01:26:55 . [Pipeline] withDockerContainer 01:26:55 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 01:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:55 OK: 142 MiB in 39 packages 01:26:56 Removing intermediate container fdf4013d8e21 01:26:56 ---> 47ebf31e2041 01:26:56 Step 8/10 : WORKDIR /device-rest-go 01:26:56 ---> Running in 0f11862d61cb 01:26:56 $ docker top 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:56 + go version 01:26:56 go version go1.15.2 linux/amd64 [Pipeline] } 01:26:56 $ docker stop --time=1 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be 01:26:56 Removing intermediate container 0f11862d61cb 01:26:56 ---> 43a901552f04 01:26:56 Step 9/10 : COPY . . 01:26:57 ---> 54c55c5bb1d4 01:26:57 Step 10/10 : RUN go mod download 01:26:57 ---> Running in 1e49f4dc636c 01:26:58 $ docker rm -f 4cd9b2d55b41a234b27fbd0abd567acca242f7b46d3e656f364c7bda4e8bd4be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:26:59 + docker inspect -f . ci-base-image-x86_64 01:26:59 . [Pipeline] withDockerContainer 01:26:59 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 01:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:59 $ docker top 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:00 + make test 01:27:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:27:01 ? github.com/edgexfoundry/device-rest-go [no test files] 01:27:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:27:11 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.3% of statements 01:27:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:27:12 gofmt -l . 01:27:12 [ "`gofmt -l .`" = "" ] 01:27:12 ./bin/test-go-mod-tidy.sh 01:27:12 ./bin/test-attribution-txt.sh [Pipeline] stash 01:27:12 Stashed 1 file(s) [Pipeline] } 01:27:12 $ docker stop --time=1 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc 01:27:13 Removing intermediate container 1e49f4dc636c 01:27:13 ---> c067211a0d23 01:27:13 Successfully built c067211a0d23 01:27:13 Successfully tagged ci-base-image-arm64:latest 01:27:14 $ docker rm -f 254fcfbb3a1d364477722903f3bb16cad48e04361e30822a2ea28fe977c006bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { 01:27:15 + docker inspect -f . ci-base-image-arm64 01:27:15 . [Pipeline] sh [Pipeline] withDockerContainer 01:27:18 + sudo chown -R jenkins:jenkins . 01:27:18 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 01:27:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:27:20 $ docker top 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 01:27:20 + ls -al . 01:27:20 total 96 01:27:20 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 01:27 . 01:27:20 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 01:26 .. 01:27:20 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 01:26 Attribution.txt 01:27:20 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 01:26 bin 01:27:20 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 01:26 cmd 01:27:20 -rw-r--r--. 1 jenkins jenkins 9369 Sep 18 01:27 coverage.out 01:27:20 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 01:26 Dockerfile 01:27:20 -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 01:26 Dockerfile.build 01:27:20 -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 01:26 .dockerignore 01:27:20 drwxrwxr-x. 2 jenkins jenkins 93 Sep 18 01:27 driver 01:27:20 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 01:26 .git 01:27:20 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 01:26 .github 01:27:20 -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 01:26 .gitignore 01:27:20 -rw-r--r--. 1 jenkins jenkins 273 Sep 18 01:27 go.mod 01:27:20 -rw-r--r--. 1 jenkins jenkins 12547 Sep 18 01:27 go.sum 01:27:20 -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 01:26 Jenkinsfile 01:27:20 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 01:26 LICENSE 01:27:20 -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 01:26 Makefile 01:27:20 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 18 01:26 README.md 01:27:20 drwxrwxr-x. 3 jenkins jenkins 45 Sep 18 01:26 .semver 01:27:20 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 01:26 snap 01:27:20 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 01:24 VERSION 01:27:20 -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 01:26 version.go [Pipeline] isUnix [Pipeline] sh 01:27:21 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ff42865a43909e95628183f8b986e31a776488bc --label arch=amd64 --label version=0.0.0 . 01:27:21 Sending build context to Docker daemon 8.066MB 01:27:21 Step 1/25 : ARG BASE=golang:1.15-alpine 01:27:21 Step 2/25 : FROM ${BASE} AS builder 01:27:21 ---> ec11e2f0e16c 01:27:21 Step 3/25 : ARG MAKE='make build' 01:27:21 ---> Running in 859540567ecd 01:27:21 Removing intermediate container 859540567ecd 01:27:21 ---> c38696daa591 01:27:21 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 01:27:21 + go version 01:27:21 go version go1.15.2 linux/arm64 [Pipeline] } 01:27:21 $ docker stop --time=1 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a 01:27:21 ---> Running in 47621f3bb834 01:27:21 Removing intermediate container 47621f3bb834 01:27:21 ---> 96a99ea4619b 01:27:21 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:27:22 ---> Running in e3e5257ea91c 01:27:22 Removing intermediate container e3e5257ea91c 01:27:22 ---> ae239a7baffa 01:27:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:22 ---> Running in 20508e0d7bb5 01:27:23 Removing intermediate container 20508e0d7bb5 01:27:23 ---> 3bb7af17fbb4 01:27:23 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:23 ---> Running in a457b6bb683c 01:27:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:27:23 $ docker rm -f 04edfec6cb6552b526f4f2b2a35cfe8dbf35ad4ca859ace287e1f4ec101b5b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 01:27:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:24 OK: 166 MiB in 39 packages 01:27:24 + docker inspect -f . ci-base-image-arm64 01:27:24 . [Pipeline] withDockerContainer 01:27:25 Removing intermediate container a457b6bb683c 01:27:25 ---> 8c3fe52576fb 01:27:25 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:27:25 ---> Running in 5de4865593cc 01:27:25 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 01:27:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:27:25 Removing intermediate container 5de4865593cc 01:27:25 ---> 804804dd5660 01:27:25 Step 9/25 : COPY go.mod . 01:27:25 ---> 4cc383a0da52 01:27:25 Step 10/25 : COPY Makefile . 01:27:25 ---> 8d673cef17e7 01:27:25 Step 11/25 : RUN make update 01:27:25 ---> Running in 8e9edafc9e98 01:27:26 CGO_ENABLED=0 GO111MODULE=on go mod download 01:27:26 Removing intermediate container 8e9edafc9e98 01:27:26 ---> f026731f4207 01:27:26 Step 12/25 : COPY . . 01:27:26 $ docker top 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a -eo pid,comm 01:27:27 ---> 052a2dd94290 01:27:27 Step 13/25 : RUN $MAKE 01:27:27 ---> Running in 21d3e3526643 [Pipeline] { [Pipeline] sh 01:27:27 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 01:27:28 + make test 01:27:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:27:29 ? github.com/edgexfoundry/device-rest-go [no test files] 01:27:37 Removing intermediate container 21d3e3526643 01:27:37 ---> 5f9d21afb719 01:27:37 Step 14/25 : FROM alpine:latest 01:27:37 latest: Pulling from library/alpine 01:27:37 df20fa9351a1: Already exists 01:27:37 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:27:37 Status: Downloaded newer image for alpine:latest 01:27:37 ---> a24bb4013296 01:27:37 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:27:37 ---> Running in 8bc2eea6121d 01:27:37 Removing intermediate container 8bc2eea6121d 01:27:37 ---> 40a23ea2aeb6 01:27:37 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 01:27:37 ---> Running in a0e9c43e03c4 01:27:37 Removing intermediate container a0e9c43e03c4 01:27:37 ---> 8e24b8ff4947 01:27:37 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:27:37 ---> fd146b015992 01:27:37 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:27:37 ---> 34bfbf1d5538 01:27:37 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:27:38 ---> 40dc99ef4f20 01:27:38 Step 20/25 : EXPOSE 49986 01:27:38 ---> Running in 0029cdab21a9 01:27:38 Removing intermediate container 0029cdab21a9 01:27:38 ---> b0abd601e2e9 01:27:38 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 01:27:38 ---> Running in a046721b6ecb 01:27:38 Removing intermediate container a046721b6ecb 01:27:38 ---> 74d599e868a9 01:27:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:27:38 ---> Running in 7116117f1976 01:27:39 Removing intermediate container 7116117f1976 01:27:39 ---> 6bd0522c6b37 01:27:39 Step 23/25 : LABEL arch=amd64 01:27:39 ---> Running in 821df33752dd 01:27:39 Removing intermediate container 821df33752dd 01:27:39 ---> a78b7406c863 01:27:39 Step 24/25 : LABEL git_sha=ff42865a43909e95628183f8b986e31a776488bc 01:27:39 ---> Running in be6aafa21827 01:27:39 Removing intermediate container be6aafa21827 01:27:39 ---> ed9fabfb6986 01:27:39 Step 25/25 : LABEL version=0.0.0 01:27:39 ---> Running in 9d4247a3e158 01:27:39 Removing intermediate container 9d4247a3e158 01:27:39 ---> acc53f85f699 01:27:39 [Warning] One or more build-args [ARCH] were not consumed 01:27:39 Successfully built acc53f85f699 01:27:39 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] } 01:28:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:28:01 ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.3% of statements 01:28:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:28:07 gofmt -l . 01:28:07 [ "`gofmt -l .`" = "" ] 01:28:07 ./bin/test-go-mod-tidy.sh 01:28:07 ./bin/test-attribution-txt.sh [Pipeline] stash 01:28:07 Warning: overwriting stash ‘coverage-report’ 01:28:08 Stashed 1 file(s) [Pipeline] } 01:28:08 $ docker stop --time=1 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a 01:28:10 $ docker rm -f 331a182b99d8b71d68112da547b3cb92e1fac76c2758d381679f81b8b9c4963a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:12 + ls -al . 01:28:12 total 128 01:28:12 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 01:28 . 01:28:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 01:26 .. 01:28:12 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 01:26 .dockerignore 01:28:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 01:26 .git 01:28:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:26 .github 01:28:12 -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 01:26 .gitignore 01:28:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:26 .semver 01:28:12 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 01:26 Attribution.txt 01:28:12 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 01:26 Dockerfile 01:28:12 -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 01:26 Dockerfile.build 01:28:12 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 01:26 Jenkinsfile 01:28:12 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 01:26 LICENSE 01:28:12 -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 01:26 Makefile 01:28:12 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 18 01:26 README.md 01:28:12 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 01:24 VERSION 01:28:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:26 bin 01:28:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:26 cmd 01:28:12 -rw-r--r-- 1 jenkins jenkins 9369 Sep 18 01:27 coverage.out 01:28:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:27 driver 01:28:12 -rw-r--r-- 1 jenkins jenkins 273 Sep 18 01:28 go.mod 01:28:12 -rw-r--r-- 1 jenkins jenkins 12547 Sep 18 01:28 go.sum 01:28:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 01:26 snap 01:28:12 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 01:26 version.go [Pipeline] isUnix [Pipeline] sh 01:28:12 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ff42865a43909e95628183f8b986e31a776488bc --label arch=arm64 --label version=0.0.0 . 01:28:12 Sending build context to Docker daemon 8.066MB 01:28:12 Step 1/25 : ARG BASE=golang:1.15-alpine 01:28:12 Step 2/25 : FROM ${BASE} AS builder 01:28:12 ---> c067211a0d23 01:28:12 Step 3/25 : ARG MAKE='make build' 01:28:13 ---> Running in 419b3128aaed 01:28:13 Removing intermediate container 419b3128aaed 01:28:13 ---> 8b1de18b5f4d 01:28:13 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 01:28:13 ---> Running in 6e642673390b 01:28:14 Removing intermediate container 6e642673390b 01:28:14 ---> 7a613302c832 01:28:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:28:14 ---> Running in ea93e397e3e3 01:28:15 Removing intermediate container ea93e397e3e3 01:28:15 ---> b26cdb1d0c44 01:28:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:15 ---> Running in 1440f2c2d2a7 01:28:17 Removing intermediate container 1440f2c2d2a7 01:28:17 ---> 2a57c71ddd54 01:28:17 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:17 ---> Running in 4867eab1bb50 01:28:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:28:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:28:20 OK: 142 MiB in 39 packages 01:28:21 Removing intermediate container 4867eab1bb50 01:28:21 ---> c2082106f359 01:28:21 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:28:21 ---> Running in bf768fa0f485 01:28:21 Removing intermediate container bf768fa0f485 01:28:21 ---> 4071d9f881c4 01:28:21 Step 9/25 : COPY go.mod . 01:28:22 ---> a1d98a00f91d 01:28:22 Step 10/25 : COPY Makefile . 01:28:23 ---> 9b581334ab9a 01:28:23 Step 11/25 : RUN make update 01:28:23 ---> Running in ba469bd39456 01:28:24 CGO_ENABLED=0 GO111MODULE=on go mod download 01:28:25 Removing intermediate container ba469bd39456 01:28:25 ---> 5a54ee1be9cd 01:28:25 Step 12/25 : COPY . . 01:28:27 ---> 775d0cad41f2 01:28:27 Step 13/25 : RUN $MAKE 01:28:27 ---> Running in b335e079a10d 01:28:28 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 01:28:55 Removing intermediate container b335e079a10d 01:28:55 ---> ee426976e305 01:28:55 Step 14/25 : FROM alpine:latest 01:28:55 latest: Pulling from library/alpine 01:28:55 b538f80385f9: Already exists 01:28:55 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:28:55 Status: Downloaded newer image for alpine:latest 01:28:55 ---> 62ee0e9f8440 01:28:55 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:28:55 ---> Running in f8479ebfd547 01:28:55 Removing intermediate container f8479ebfd547 01:28:55 ---> cc7fa3a93497 01:28:55 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 01:28:55 ---> Running in f4009ee0216f 01:28:55 Removing intermediate container f4009ee0216f 01:28:55 ---> 482bb9b70096 01:28:55 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:28:56 ---> 231473a98e57 01:28:56 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:28:57 ---> 57b720582a49 01:28:57 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:28:58 ---> f99f17b345f7 01:28:58 Step 20/25 : EXPOSE 49986 01:28:58 ---> Running in 4e9758fcf4aa 01:28:58 Removing intermediate container 4e9758fcf4aa 01:28:58 ---> 46a783bf26f8 01:28:58 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 01:28:58 ---> Running in d083d4f3f7db 01:28:59 Removing intermediate container d083d4f3f7db 01:28:59 ---> 408b1b641d94 01:28:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:28:59 ---> Running in e65dfd8970c3 01:28:59 Removing intermediate container e65dfd8970c3 01:28:59 ---> ac9c3bbeab00 01:28:59 Step 23/25 : LABEL arch=arm64 01:29:00 ---> Running in ca256e56c237 01:29:00 Removing intermediate container ca256e56c237 01:29:00 ---> 43fecd724a26 01:29:00 Step 24/25 : LABEL git_sha=ff42865a43909e95628183f8b986e31a776488bc 01:29:00 ---> Running in f908eb39c79e 01:29:00 Removing intermediate container f908eb39c79e 01:29:00 ---> 73bd47097e83 01:29:00 Step 25/25 : LABEL version=0.0.0 01:29:01 ---> Running in a6bae86cda4a 01:29:01 Removing intermediate container a6bae86cda4a 01:29:01 ---> dae1e6a7d89a 01:29:01 [Warning] One or more build-args [ARCH] were not consumed 01:29:01 Successfully built dae1e6a7d89a 01:29:01 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 01:29:04 provisioning config files... 01:29:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1105020744234088589tmp [Pipeline] { [Pipeline] sh 01:29:05 + curl -s https://codecov.io/bash 01:29:05 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config1105020744234088589tmp [Pipeline] } 01:29:05 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 01:29:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:29:08 ---> package-listing.sh 01:29:08 ++ facter osfamily 01:29:08 ++ tr '[:upper:]' '[:lower:]' 01:29:08 + OS_FAMILY=redhat 01:29:08 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 01:29:08 + START_PACKAGES=/tmp/packages_start.txt 01:29:08 + END_PACKAGES=/tmp/packages_end.txt 01:29:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:29:08 + PACKAGES=/tmp/packages_start.txt 01:29:08 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 01:29:08 + PACKAGES=/tmp/packages_end.txt 01:29:08 + case "${OS_FAMILY}" in 01:29:08 + rpm -qa 01:29:08 + sort 01:29:12 + '[' -f /tmp/packages_start.txt ']' 01:29:12 + '[' -f /tmp/packages_end.txt ']' 01:29:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:29:12 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 01:29:12 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ 01:29:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh 01:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:13 01:29:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:29:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:14 alpine: Pulling from edgex-lftools-log-publisher 01:29:14 df20fa9351a1: Pulling fs layer 01:29:14 36b3adc4ff6f: Pulling fs layer 01:29:14 8ad3a11d3b57: Pulling fs layer 01:29:14 46f8f816bc3b: Pulling fs layer 01:29:14 0dadc02b9964: Pulling fs layer 01:29:14 ce6a7cf60c04: Pulling fs layer 01:29:14 7a184a31f384: Pulling fs layer 01:29:14 0879bd2ef858: Pulling fs layer 01:29:14 ce6a7cf60c04: Waiting 01:29:14 7a184a31f384: Waiting 01:29:14 46f8f816bc3b: Waiting 01:29:14 0879bd2ef858: Waiting 01:29:14 0dadc02b9964: Waiting 01:29:14 36b3adc4ff6f: Verifying Checksum 01:29:14 36b3adc4ff6f: Download complete 01:29:14 46f8f816bc3b: Verifying Checksum 01:29:14 46f8f816bc3b: Download complete 01:29:14 df20fa9351a1: Verifying Checksum 01:29:14 df20fa9351a1: Download complete 01:29:14 ce6a7cf60c04: Verifying Checksum 01:29:14 ce6a7cf60c04: Download complete 01:29:14 7a184a31f384: Download complete 01:29:14 0dadc02b9964: Verifying Checksum 01:29:14 0dadc02b9964: Download complete 01:29:14 8ad3a11d3b57: Verifying Checksum 01:29:14 8ad3a11d3b57: Download complete 01:29:14 df20fa9351a1: Pull complete 01:29:15 36b3adc4ff6f: Pull complete 01:29:15 0879bd2ef858: Verifying Checksum 01:29:15 0879bd2ef858: Download complete 01:29:15 8ad3a11d3b57: Pull complete 01:29:15 46f8f816bc3b: Pull complete 01:29:16 0dadc02b9964: Pull complete 01:29:16 ce6a7cf60c04: Pull complete 01:29:16 7a184a31f384: Pull complete 01:29:19 0879bd2ef858: Pull complete 01:29:19 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 01:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:29:19 prd-centos7-docker-4c-2g-340 does not seem to be running inside a container 01:29:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:29:25 $ docker top ff65b5ea4d3cf54fbf42397aa25013b3f5db1f3b62efe6499c778591d7cfdfcd -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:26 + mkdir -p /var/log/sa [Pipeline] sh 01:29:26 + ls /var/log/sa-host 01:29:26 + sadf -c /var/log/sa-host/sa05 01:29:26 file_magic: OK 01:29:26 HZ: Using current value: 100 01:29:26 file_header: OK 01:29:26 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 01:29:26 Statistics: 01:29:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:29:26 File successfully converted to sysstat format version 12.2.1 01:29:26 + sadf -c /var/log/sa-host/sa18 01:29:26 file_magic: OK 01:29:26 HZ: Using current value: 100 01:29:26 file_header: OK 01:29:26 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 01:29:26 Statistics: 01:29:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:29:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:26 provisioning config files... 01:29:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config2619168842504128042tmp [Pipeline] { [Pipeline] echo 01:29:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:29:27 ---> create-netrc.sh [Pipeline] echo 01:29:27 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:29:27 ---> logs-deploy.sh 01:29:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/3 01:29:27 INFO: archiving workspace using pattern(s): 01:29:29 Archives upload complete. 01:29:29 INFO: archiving logs to Nexus 01:29:30 ---> uname -a: 01:29:30 Linux ff65b5ea4d3c 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 01:29:30 01:29:30 01:29:30 ---> lscpu: 01:29:30 Architecture: x86_64 01:29:30 CPU op-mode(s): 32-bit, 64-bit 01:29:30 Byte Order: Little Endian 01:29:30 Address sizes: 40 bits physical, 48 bits virtual 01:29:30 CPU(s): 4 01:29:30 On-line CPU(s) list: 0-3 01:29:30 Thread(s) per core: 1 01:29:30 Core(s) per socket: 1 01:29:30 Socket(s): 4 01:29:30 NUMA node(s): 1 01:29:30 Vendor ID: GenuineIntel 01:29:30 CPU family: 6 01:29:30 Model: 44 01:29:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:29:30 Stepping: 1 01:29:30 CPU MHz: 2933.436 01:29:30 BogoMIPS: 5866.87 01:29:30 Virtualization: VT-x 01:29:30 Hypervisor vendor: KVM 01:29:30 Virtualization type: full 01:29:30 L1d cache: 128 KiB 01:29:30 L1i cache: 128 KiB 01:29:30 L2 cache: 16 MiB 01:29:30 L3 cache: 64 MiB 01:29:30 NUMA node0 CPU(s): 0-3 01:29:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:29:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:29:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:29:30 Vulnerability Meltdown: Mitigation; PTI 01:29:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:29:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:29:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:29:30 Vulnerability Tsx async abort: Not affected 01:29:30 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 01:29:30 01:29:30 01:29:30 ---> nproc: 01:29:30 4 01:29:30 01:29:30 01:29:30 ---> df -h: 01:29:30 Filesystem Size Used Available Use% Mounted on 01:29:30 overlay 50.0G 7.0G 43.0G 14% / 01:29:30 tmpfs 64.0M 0 64.0M 0% /dev 01:29:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:29:30 shm 64.0M 0 64.0M 0% /dev/shm 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-42 01:29:30 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp 01:29:30 01:29:30 01:29:30 ---> free -m: 01:29:30 total used free shared buff/cache available 01:29:30 Mem: 1837 669 126 0 1041 1061 01:29:30 Swap: 1023 0 1023 01:29:30 01:29:30 01:29:30 ---> ip addr: 01:29:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:29:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:29:30 inet 127.0.0.1/8 scope host lo 01:29:30 valid_lft forever preferred_lft forever 01:29:30 6: eth0@if7: mtu 1458 qdisc noqueue state UP 01:29:30 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 01:29:30 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 01:29:30 valid_lft forever preferred_lft forever 01:29:30 01:29:30 01:29:30 ---> sar -b -r -n DEV: 01:29:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/18/20 _x86_64_ (4 CPU) 01:29:30 01:29:30 01:22:51 LINUX RESTART (4 CPU) 01:29:30 01:29:30 01:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:29:30 01:25:01 3.76 0.00 3.76 0.00 0.00 118.41 0.00 01:29:30 01:26:01 0.42 0.00 0.42 0.00 0.00 5.96 0.00 01:29:30 01:27:01 0.22 0.00 0.22 0.00 0.00 2.20 0.00 01:29:30 01:28:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 01:29:30 01:29:01 0.32 0.00 0.32 0.00 0.00 4.43 0.00 01:29:30 Average: 1.00 0.00 1.00 0.00 0.00 26.96 0.00 01:29:30 01:29:30 01:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:29:30 01:25:01 155956 0 588836 31.30 2620 1134144 1100384 37.55 425844 1140408 20 01:29:30 01:26:01 158856 0 585932 31.14 2620 1134148 1075712 36.71 426852 1136804 8 01:29:30 01:27:01 158052 0 586728 31.18 2620 1134156 1075892 36.72 428064 1136808 8 01:29:30 01:28:01 157344 0 587436 31.22 2620 1134156 1075832 36.72 435716 1130060 8 01:29:30 01:29:01 153956 0 590820 31.40 2620 1134160 1075952 36.72 444892 1124340 8 01:29:30 Average: 156833 0 587950 31.25 2620 1134153 1080754 36.88 432274 1133684 10 01:29:30 01:29:30 01:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:29:30 01:25:01 eth0 42.52 23.68 8.37 131.46 0.00 0.00 0.00 0.00 01:29:30 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:26:01 eth0 1.08 0.08 0.11 0.01 0.00 0.00 0.00 0.00 01:29:30 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:27:01 eth0 1.47 0.30 0.37 0.20 0.00 0.00 0.00 0.00 01:29:30 01:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:28:01 eth0 1.47 0.57 0.59 0.40 0.00 0.00 0.00 0.00 01:29:30 01:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:29:01 eth0 1.38 0.43 0.42 0.27 0.00 0.00 0.00 0.00 01:29:30 01:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 Average: eth0 9.59 5.01 1.97 26.47 0.00 0.00 0.00 0.00 01:29:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:30 01:29:30 01:29:30 ---> sar -P ALL: 01:29:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/18/20 _x86_64_ (4 CPU) 01:29:30 01:29:30 01:22:51 LINUX RESTART (4 CPU) 01:29:30 01:29:30 01:24:01 CPU %user %nice %system %iowait %steal %idle 01:29:30 01:25:01 all 1.24 0.00 0.11 0.00 0.00 98.64 01:29:30 01:25:01 0 1.42 0.00 0.07 0.00 0.00 98.52 01:29:30 01:25:01 1 1.13 0.00 0.12 0.00 0.00 98.75 01:29:30 01:25:01 2 0.92 0.00 0.25 0.00 0.02 98.82 01:29:30 01:25:01 3 1.49 0.00 0.02 0.00 0.00 98.50 01:29:30 01:26:01 all 0.16 0.00 0.03 0.00 0.00 99.81 01:29:30 01:26:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:29:30 01:26:01 1 0.50 0.00 0.05 0.00 0.00 99.45 01:29:30 01:26:01 2 0.08 0.00 0.03 0.00 0.00 99.88 01:29:30 01:26:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:29:30 01:27:01 all 0.14 0.00 0.04 0.00 0.01 99.81 01:29:30 01:27:01 0 0.03 0.00 0.03 0.00 0.00 99.93 01:29:30 01:27:01 1 0.45 0.00 0.03 0.00 0.00 99.52 01:29:30 01:27:01 2 0.05 0.00 0.07 0.00 0.02 99.87 01:29:30 01:27:01 3 0.03 0.00 0.03 0.00 0.02 99.92 01:29:30 01:28:01 all 0.16 0.00 0.04 0.00 0.00 99.79 01:29:30 01:28:01 0 0.03 0.00 0.03 0.00 0.00 99.93 01:29:30 01:28:01 1 0.53 0.00 0.03 0.00 0.02 99.42 01:29:30 01:28:01 2 0.07 0.00 0.03 0.00 0.00 99.90 01:29:30 01:28:01 3 0.02 0.00 0.07 0.00 0.00 99.92 01:29:30 01:29:01 all 0.16 0.00 0.05 0.00 0.00 99.78 01:29:30 01:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:29:30 01:29:01 1 0.50 0.00 0.02 0.00 0.00 99.48 01:29:30 01:29:01 2 0.10 0.00 0.05 0.00 0.02 99.83 01:29:30 01:29:01 3 0.03 0.00 0.12 0.00 0.00 99.85 01:29:30 Average: all 0.37 0.00 0.06 0.00 0.00 99.57 01:29:30 Average: 0 0.30 0.00 0.03 0.00 0.00 99.66 01:29:30 Average: 1 0.62 0.00 0.05 0.00 0.00 99.32 01:29:30 Average: 2 0.24 0.00 0.09 0.00 0.01 99.66 01:29:30 Average: 3 0.32 0.00 0.05 0.00 0.00 99.62 01:29:30 01:29:30 01:29:30