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 6620aafa6b2c4d86d61147559de61a3b76df4ec2 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-375 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 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # 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 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # 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 09:01:32 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk ff42865a43909e95628183f8b986e31a776488bc # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:33 ========================================================= 09:01:33 EdgeX Global Pipelines Version Info 09:01:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:01:34 ------------------- 09:01:34 stable info: 09:01:34 ------------------- 09:01:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:01:34 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:01:34 Message: update stable to v1.0.122 09:01:35 ------------------- 09:01:35 experimental info: 09:01:35 ------------------- 09:01:35 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:35 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 09:01:35 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:01:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [Pipeline] echo 09:01:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6620aaf [Pipeline] echo 09:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:39 + git log --format=format:%s -1 6620aafa6b2c4d86d61147559de61a3b76df4ec2 [Pipeline] echo 09:01:39 GIT_COMMIT: 6620aafa6b2c4d86d61147559de61a3b76df4ec2, Commit Message: build: upgrade device-sdk-go [Pipeline] echo 09:01:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:40 09:01:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:01:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:40 latest: Pulling from edgex-devops/git-semver 09:01:40 31603596830f: Pulling fs layer 09:01:40 2a8b12db71e7: Pulling fs layer 09:01:40 6ca5941a6612: Pulling fs layer 09:01:40 ecc8261a40a4: Pulling fs layer 09:01:40 ecc8261a40a4: Waiting 09:01:40 2a8b12db71e7: Verifying Checksum 09:01:40 2a8b12db71e7: Download complete 09:01:41 31603596830f: Verifying Checksum 09:01:41 31603596830f: Download complete 09:01:41 ecc8261a40a4: Verifying Checksum 09:01:41 ecc8261a40a4: Download complete 09:01:41 6ca5941a6612: Verifying Checksum 09:01:41 6ca5941a6612: Download complete 09:01:41 31603596830f: Pull complete 09:01:41 2a8b12db71e7: Pull complete 09:01:42 6ca5941a6612: Pull complete 09:01:42 ecc8261a40a4: Pull complete 09:01:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:01:42 prd-centos7-docker-4c-2g-375 does not seem to be running inside a container 09:01:42 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:01:44 $ docker top 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:44 [ssh-agent] Looking for ssh-agent implementation... 09:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:45 $ docker exec 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent 09:01:45 SSH_AUTH_SOCK=/tmp/ssh-p1CXmerMP6Bp/agent.11 09:01:45 SSH_AGENT_PID=17 09:01:45 Running ssh-add (command line suppressed) 09:01:45 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6583305089434285020.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6583305089434285020.key) 09:01:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:46 + git describe --exact-match --tags HEAD 09:01:46 fatal: No names found, cannot describe anything. [Pipeline] } 09:01:46 $ docker exec --env ******** --env ******** 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent -k 09:01:46 unset SSH_AUTH_SOCK; 09:01:46 unset SSH_AGENT_PID; 09:01:46 echo Agent pid 17 killed; 09:01:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:01:46 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:01:46 This usually means this commit has not been tagged. [Pipeline] sshagent 09:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:46 [ssh-agent] Looking for ssh-agent implementation... 09:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:46 $ docker exec 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent 09:01:46 SSH_AUTH_SOCK=/tmp/ssh-mxOIbZpGvYeo/agent.46 09:01:46 SSH_AGENT_PID=51 09:01:46 Running ssh-add (command line suppressed) 09:01:47 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3263211302456369589.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3263211302456369589.key) 09:01:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:47 + git semver init 09:01:47 # -> Open(): unable to determine branch for HEAD 09:01:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git 09:01:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 09:01:47 # $SEMVER_REMOTE_NAME = origin 09:01:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:01:47 # $SEMVER_USER_NAME = edgex-jenkins 09:01:47 # $SEMVER_BRANCH = PR-42 09:01:47 # $SEMVER_TEMP = /tmp/semver-538542509 09:01:47 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 09:01:48 # '/tmp/semver-538542509' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' 09:01:48 # -> Force: false 09:01:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } 09:01:48 $ docker exec --env ******** --env ******** 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f ssh-agent -k 09:01:49 unset SSH_AUTH_SOCK; 09:01:49 unset SSH_AGENT_PID; 09:01:49 echo Agent pid 51 killed; 09:01:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:49 + git semver [Pipeline] } 09:01:49 $ docker stop --time=1 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f 09:01:51 $ docker rm -f 968ae6f446305460cfed32bce996ff23f3a5ad8a4b5296272297149f5752105f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:01:53 Stashed 22 file(s) [Pipeline] echo 09:01:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:01:53 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:02:08 Still waiting to schedule task 09:02:08 ‘prd-centos7-docker-4c-2g-371’ is offline; ‘prd-centos7-docker-4c-2g-372’ is offline; ‘prd-centos7-docker-4c-2g-373’ is offline; ‘prd-centos7-docker-4c-2g-376’ is offline 09:02:08 Still waiting to schedule task 09:02:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:05:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-379 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 09:05:38 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 09:05:44 using credential edgex-jenkins-ssh 09:05:44 Cloning the remote Git repository 09:05:44 Cloning with configured refspecs honoured and without tags 09:05:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:05:44 > git init /w/workspace/device-rest-go/5 # timeout=10 09:05:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:05:45 > git --version # timeout=10 09:05:45 > git --version # 'git version 2.17.1' 09:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:45 > 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 09:05:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:05:46 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 09:05:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:46 Fetching without tags 09:05:47 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:05:47 Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:05:47 Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) 09:05:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:05:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:46 > 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 09:05:47 > git config core.sparsecheckout # timeout=10 09:05:47 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 09:05:47 > git remote # timeout=10 09:05:47 > git config --get remote.origin.url # timeout=10 09:05:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:47 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 09:05:47 > git rev-parse HEAD^{commit} # timeout=10 09:05:47 > git config core.sparsecheckout # timeout=10 09:05:47 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 09:05:52 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:05:54 ========================================================= 09:05:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:05:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:55 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:05:56 Sending build context to Docker daemon 8.054MB 09:05:56 Step 1/10 : ARG BASE=golang:1.15-alpine 09:05:56 Step 2/10 : FROM ${BASE} 09:05:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:56 b538f80385f9: Pulling fs layer 09:05:56 74f711af9a0d: Pulling fs layer 09:05:56 99f96fe45779: Pulling fs layer 09:05:56 8529a6b9a6be: Pulling fs layer 09:05:56 45590311c82a: Pulling fs layer 09:05:56 69ca0ff8b7b3: Pulling fs layer 09:05:56 209524e5b208: Pulling fs layer 09:05:56 8529a6b9a6be: Waiting 09:05:56 69ca0ff8b7b3: Waiting 09:05:56 45590311c82a: Waiting 09:05:56 99f96fe45779: Download complete 09:05:56 74f711af9a0d: Verifying Checksum 09:05:56 74f711af9a0d: Download complete 09:05:56 45590311c82a: Verifying Checksum 09:05:56 45590311c82a: Download complete 09:05:56 69ca0ff8b7b3: Verifying Checksum 09:05:56 69ca0ff8b7b3: Download complete 09:05:56 b538f80385f9: Verifying Checksum 09:05:56 b538f80385f9: Download complete 09:05:57 b538f80385f9: Pull complete 09:05:58 74f711af9a0d: Pull complete 09:05:58 99f96fe45779: Pull complete 09:05:59 209524e5b208: Verifying Checksum 09:05:59 209524e5b208: Download complete 09:06:01 8529a6b9a6be: Verifying Checksum 09:06:01 8529a6b9a6be: Download complete 09:06:07 Running on prd-centos7-docker-4c-2g-380 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 09:06:07 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 09:06:10 using credential edgex-jenkins-ssh 09:06:10 Cloning the remote Git repository 09:06:10 Cloning with configured refspecs honoured and without tags 09:06:11 8529a6b9a6be: Pull complete 09:06:11 45590311c82a: Pull complete 09:06:11 69ca0ff8b7b3: Pull complete 09:06:10 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:06:10 > git init /w/workspace/device-rest-go/5 # timeout=10 09:06:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:06:10 > git --version # timeout=10 09:06:10 > git --version # 'git version 2.16.5' 09:06:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:10 > 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 09:06:11 Fetching without tags 09:06:12 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:06:12 Merge succeeded, producing 6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:06:12 Checking out Revision 6620aafa6b2c4d86d61147559de61a3b76df4ec2 (PR-42) 09:06:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:06:11 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 09:06:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:06:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:06:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:06:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:11 > 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 09:06:12 > git config core.sparsecheckout # timeout=10 09:06:12 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 09:06:12 > git remote # timeout=10 09:06:12 > git config --get remote.origin.url # timeout=10 09:06:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:12 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 09:06:12 > git rev-parse HEAD^{commit} # timeout=10 09:06:12 > git config core.sparsecheckout # timeout=10 09:06:12 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 09:06:15 209524e5b208: Pull complete 09:06:15 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:06:15 ---> 5bddaf1c2fca 09:06:15 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 09:06:15 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:06:17 ========================================================= 09:06:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:06:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:06:17 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:06:18 Sending build context to Docker daemon 8.054MB 09:06:18 Step 1/10 : ARG BASE=golang:1.15-alpine 09:06:18 Step 2/10 : FROM ${BASE} 09:06:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:06:18 df20fa9351a1: Pulling fs layer 09:06:18 ed8968b2872e: Pulling fs layer 09:06:18 a92cc7c5fd73: Pulling fs layer 09:06:18 e871e8e8d7a9: Pulling fs layer 09:06:18 e73272ec9a57: Pulling fs layer 09:06:18 1e910a182e73: Pulling fs layer 09:06:18 4e634b169226: Pulling fs layer 09:06:18 e871e8e8d7a9: Waiting 09:06:18 e73272ec9a57: Waiting 09:06:18 1e910a182e73: Waiting 09:06:18 4e634b169226: Waiting 09:06:18 a92cc7c5fd73: Verifying Checksum 09:06:18 a92cc7c5fd73: Download complete 09:06:18 ed8968b2872e: Verifying Checksum 09:06:18 ed8968b2872e: Download complete 09:06:18 e73272ec9a57: Verifying Checksum 09:06:18 e73272ec9a57: Download complete 09:06:18 1e910a182e73: Verifying Checksum 09:06:18 1e910a182e73: Download complete 09:06:18 ---> Running in e41a6155d90e 09:06:18 Removing intermediate container e41a6155d90e 09:06:18 ---> b9b0ba3e97bf 09:06:18 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:06:18 df20fa9351a1: Verifying Checksum 09:06:18 df20fa9351a1: Download complete 09:06:18 df20fa9351a1: Pull complete 09:06:18 ---> Running in bf9a4e35f6e0 09:06:18 ed8968b2872e: Pull complete 09:06:18 a92cc7c5fd73: Pull complete 09:06:18 Removing intermediate container bf9a4e35f6e0 09:06:18 ---> a92439879baf 09:06:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:06:19 ---> Running in 8b57b16d65b4 09:06:19 Removing intermediate container 8b57b16d65b4 09:06:19 ---> 13103fd722dd 09:06:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:19 ---> Running in f8e7133c2e48 09:06:20 4e634b169226: Verifying Checksum 09:06:20 4e634b169226: Download complete 09:06:21 e871e8e8d7a9: Verifying Checksum 09:06:21 e871e8e8d7a9: Download complete 09:06:22 Removing intermediate container f8e7133c2e48 09:06:22 ---> e5b301ced046 09:06:22 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:22 ---> Running in 290973f05ab6 09:06:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:06:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:06:25 e871e8e8d7a9: Pull complete 09:06:25 e73272ec9a57: Pull complete 09:06:25 1e910a182e73: Pull complete 09:06:25 OK: 142 MiB in 39 packages 09:06:26 Removing intermediate container 290973f05ab6 09:06:26 ---> 2318bc8bb2b2 09:06:26 Step 8/10 : WORKDIR /device-rest-go 09:06:26 ---> Running in 0592b21c6c15 09:06:27 Removing intermediate container 0592b21c6c15 09:06:27 ---> 6b5bfe395bfa 09:06:27 Step 9/10 : COPY . . 09:06:28 ---> 998641311a4d 09:06:28 Step 10/10 : RUN go mod download 09:06:28 ---> Running in 9d31a5f28e43 09:06:35 4e634b169226: Pull complete 09:06:35 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:06:35 ---> f7629b54cfaa 09:06:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 09:06:35 ---> Running in 548afe346400 09:06:35 Removing intermediate container 548afe346400 09:06:35 ---> 271a1d96fcd8 09:06:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:06:35 ---> Running in 49949b99e9a8 09:06:35 Removing intermediate container 49949b99e9a8 09:06:35 ---> 60c2c7d08512 09:06:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:06:35 ---> Running in 52950c116095 09:06:35 Removing intermediate container 52950c116095 09:06:35 ---> 453b6d835521 09:06:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:35 ---> Running in 10a26f689392 09:06:35 Removing intermediate container 10a26f689392 09:06:35 ---> 62e5ac2fc452 09:06:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:35 ---> Running in 927c4a4c2e49 09:06:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:06:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:06:37 OK: 166 MiB in 39 packages 09:06:38 Removing intermediate container 927c4a4c2e49 09:06:38 ---> 99547f7fc118 09:06:38 Step 8/10 : WORKDIR /device-rest-go 09:06:38 ---> Running in 4669a0ceea16 09:06:38 Removing intermediate container 4669a0ceea16 09:06:38 ---> 5380ace16aec 09:06:38 Step 9/10 : COPY . . 09:06:38 ---> e4bb954b0b92 09:06:38 Step 10/10 : RUN go mod download 09:06:38 ---> Running in e52606779ca3 09:06:43 Removing intermediate container 9d31a5f28e43 09:06:43 ---> 6e0ecbfae73f 09:06:43 Successfully built 6e0ecbfae73f 09:06:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:06:44 + docker inspect -f . ci-base-image-arm64 09:06:44 . [Pipeline] withDockerContainer 09:06:44 prd-ubuntu18.04-docker-arm64-4c-16g-379 does not seem to be running inside a container 09:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 09:06:46 $ docker top 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:47 + go version 09:06:47 go version go1.15.2 linux/arm64 [Pipeline] } 09:06:47 $ docker stop --time=1 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e 09:06:49 $ docker rm -f 05480515544addf4a3bb6bc7cc94ba4124988b146cea3cc75296cfc53c068a1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:51 + docker inspect -f . ci-base-image-arm64 09:06:51 . [Pipeline] withDockerContainer 09:06:51 Removing intermediate container e52606779ca3 09:06:51 ---> fef969299687 09:06:51 Successfully built fef969299687 09:06:51 Successfully tagged ci-base-image-x86_64:latest 09:06:51 prd-ubuntu18.04-docker-arm64-4c-16g-379 does not seem to be running inside a container 09:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 09:06:53 $ docker top 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:06:54 + docker inspect -f . ci-base-image-x86_64 09:06:54 . [Pipeline] withDockerContainer 09:06:54 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 09:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:06:54 + make test 09:06:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:06:55 $ docker top bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed -eo pid,comm 09:06:55 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] { [Pipeline] sh 09:06:55 + go version 09:06:55 go version go1.15.2 linux/amd64 [Pipeline] } 09:06:55 $ docker stop --time=1 bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed 09:06:57 $ docker rm -f bf844c4ae2bba29be39f7fb9fc21d4a2bf23fa1abcaec24d52eb20ef283f44ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:58 + docker inspect -f . ci-base-image-x86_64 09:06:58 . [Pipeline] withDockerContainer 09:06:58 prd-centos7-docker-4c-2g-380 does not seem to be running inside a container 09:06:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:06:58 $ docker top 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:59 + make test 09:06:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:07:00 ? github.com/edgexfoundry/device-rest-go [no test files] 09:07:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:07:10 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements 09:07:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:07:10 gofmt -l . 09:07:10 [ "`gofmt -l .`" = "" ] 09:07:10 ./bin/test-go-mod-tidy.sh 09:07:10 ./bin/test-attribution-txt.sh [Pipeline] stash 09:07:11 Stashed 1 file(s) [Pipeline] } 09:07:11 $ docker stop --time=1 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 09:07:13 $ docker rm -f 77fae4fb5b1b50d5d195c5c32a7cf76aee6464ed599a30d0de8340229adabc62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:07:15 + ls -al . 09:07:15 total 96 09:07:15 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 18 09:07 . 09:07:15 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 09:06 .. 09:07:15 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 18 09:06 Attribution.txt 09:07:15 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 09:06 bin 09:07:15 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 09:06 cmd 09:07:15 -rw-r--r--. 1 jenkins jenkins 9369 Sep 18 09:07 coverage.out 09:07:15 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 18 09:06 Dockerfile 09:07:15 -rw-rw-r--. 1 jenkins jenkins 989 Sep 18 09:06 Dockerfile.build 09:07:15 -rw-rw-r--. 1 jenkins jenkins 151 Sep 18 09:06 .dockerignore 09:07:15 drwxrwxr-x. 2 jenkins jenkins 93 Sep 18 09:07 driver 09:07:15 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 09:06 .git 09:07:15 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 09:06 .github 09:07:15 -rw-rw-r--. 1 jenkins jenkins 339 Sep 18 09:06 .gitignore 09:07:15 -rw-r--r--. 1 jenkins jenkins 273 Sep 18 09:07 go.mod 09:07:15 -rw-r--r--. 1 jenkins jenkins 12547 Sep 18 09:07 go.sum 09:07:15 -rw-rw-r--. 1 jenkins jenkins 680 Sep 18 09:06 Jenkinsfile 09:07:15 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 09:06 LICENSE 09:07:15 -rw-rw-r--. 1 jenkins jenkins 951 Sep 18 09:06 Makefile 09:07:15 -rw-rw-r--. 1 jenkins jenkins 5716 Sep 18 09:06 README.md 09:07:15 drwxrwxr-x. 3 jenkins jenkins 45 Sep 18 09:06 .semver 09:07:15 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 09:06 snap 09:07:15 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 09:01 VERSION 09:07:15 -rw-rw-r--. 1 jenkins jenkins 713 Sep 18 09:06 version.go [Pipeline] isUnix [Pipeline] sh 09:07:15 + 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=6620aafa6b2c4d86d61147559de61a3b76df4ec2 --label arch=amd64 --label version=0.0.0 . 09:07:15 Sending build context to Docker daemon 8.066MB 09:07:15 Step 1/25 : ARG BASE=golang:1.15-alpine 09:07:15 Step 2/25 : FROM ${BASE} AS builder 09:07:15 ---> fef969299687 09:07:15 Step 3/25 : ARG MAKE='make build' 09:07:16 ---> Running in cd39570bdffe 09:07:16 Removing intermediate container cd39570bdffe 09:07:16 ---> 67729c190e4f 09:07:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 09:07:16 ---> Running in 7db64888f156 09:07:16 Removing intermediate container 7db64888f156 09:07:16 ---> ea7458030be1 09:07:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:07:16 ---> Running in 1d7a0374c9c3 09:07:16 Removing intermediate container 1d7a0374c9c3 09:07:16 ---> 6f018a2c4902 09:07:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:16 ---> Running in af710042f7a9 09:07:17 Removing intermediate container af710042f7a9 09:07:17 ---> f245ea92b191 09:07:17 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:17 ---> Running in f13a8c1f500b 09:07:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:07:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:07:19 OK: 166 MiB in 39 packages 09:07:20 Removing intermediate container f13a8c1f500b 09:07:20 ---> 4530b99e6839 09:07:20 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 09:07:20 ---> Running in 51a2e1d582e0 09:07:20 Removing intermediate container 51a2e1d582e0 09:07:20 ---> 1bd2cda3edcc 09:07:20 Step 9/25 : COPY go.mod . 09:07:20 ---> 244470c9e330 09:07:20 Step 10/25 : COPY Makefile . 09:07:20 ---> 3b845f82bb5b 09:07:20 Step 11/25 : RUN make update 09:07:20 ---> Running in a3eb2978dabd 09:07:21 CGO_ENABLED=0 GO111MODULE=on go mod download 09:07:21 Removing intermediate container a3eb2978dabd 09:07:21 ---> 92fc88e2af75 09:07:21 Step 12/25 : COPY . . 09:07:22 ---> 2376dcef5704 09:07:22 Step 13/25 : RUN $MAKE 09:07:22 ---> Running in ae7736286475 09:07:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 09:07:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:07:27 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 09:07:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:07:32 Removing intermediate container ae7736286475 09:07:32 ---> 435e9e7a135c 09:07:32 Step 14/25 : FROM alpine:latest 09:07:32 latest: Pulling from library/alpine 09:07:32 df20fa9351a1: Already exists 09:07:32 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:07:32 Status: Downloaded newer image for alpine:latest 09:07:32 ---> a24bb4013296 09:07:32 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:07:32 ---> Running in 2c6407e7f5ae 09:07:32 Removing intermediate container 2c6407e7f5ae 09:07:32 ---> 3bbe857d92ac 09:07:32 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 09:07:32 ---> Running in 354f757ae121 09:07:32 Removing intermediate container 354f757ae121 09:07:32 ---> 43ec0042a0c4 09:07:32 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 09:07:32 ---> 775aa315577d 09:07:32 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 09:07:32 ---> cb9fffe1eecd 09:07:32 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 09:07:32 ---> 51d86cba66ad 09:07:32 Step 20/25 : EXPOSE 49986 09:07:32 ---> Running in 68746c0f988c 09:07:32 Removing intermediate container 68746c0f988c 09:07:32 ---> d154c08e01bc 09:07:32 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 09:07:33 ---> Running in c91dd8e9d5c8 09:07:33 Removing intermediate container c91dd8e9d5c8 09:07:33 ---> 436c5a1a2b09 09:07:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:07:33 ---> Running in 71584b4c6747 09:07:33 Removing intermediate container 71584b4c6747 09:07:33 ---> af7ede6740b1 09:07:33 Step 23/25 : LABEL arch=amd64 09:07:33 ---> Running in e7326c9d0a55 09:07:33 Removing intermediate container e7326c9d0a55 09:07:33 ---> 8b65d30f16a9 09:07:33 Step 24/25 : LABEL git_sha=6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:07:33 ---> Running in b7a968a7e36f 09:07:34 Removing intermediate container b7a968a7e36f 09:07:34 ---> 8e3954528205 09:07:34 Step 25/25 : LABEL version=0.0.0 09:07:34 ---> Running in 2d6391b4c165 09:07:34 Removing intermediate container 2d6391b4c165 09:07:34 ---> bbd69ac97ec4 09:07:34 [Warning] One or more build-args [ARCH] were not consumed 09:07:34 Successfully built bbd69ac97ec4 09:07:34 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) 09:07:34 gofmt -l . 09:07:34 [ "`gofmt -l .`" = "" ] 09:07:34 ./bin/test-go-mod-tidy.sh 09:07:34 ./bin/test-attribution-txt.sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stash 09:07:34 Warning: overwriting stash ‘coverage-report’ [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:07:35 Stashed 1 file(s) [Pipeline] } 09:07:35 $ docker stop --time=1 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 09:07:38 $ docker rm -f 4d8feb365f4343fda4730c532ecbe5f7b0818e25c80eadc751f9aeb988cc3723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:07:39 + ls -al . 09:07:39 total 128 09:07:39 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 09:07 . 09:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 09:05 .. 09:07:39 -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 09:05 .dockerignore 09:07:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 09:05 .git 09:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:05 .github 09:07:39 -rw-rw-r-- 1 jenkins jenkins 339 Sep 18 09:05 .gitignore 09:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:05 .semver 09:07:39 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 18 09:05 Attribution.txt 09:07:39 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 18 09:05 Dockerfile 09:07:39 -rw-rw-r-- 1 jenkins jenkins 989 Sep 18 09:05 Dockerfile.build 09:07:39 -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 09:05 Jenkinsfile 09:07:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 09:05 LICENSE 09:07:39 -rw-rw-r-- 1 jenkins jenkins 951 Sep 18 09:05 Makefile 09:07:39 -rw-rw-r-- 1 jenkins jenkins 5716 Sep 18 09:05 README.md 09:07:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 09:01 VERSION 09:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:05 bin 09:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:05 cmd 09:07:39 -rw-r--r-- 1 jenkins jenkins 9369 Sep 18 09:07 coverage.out 09:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:07 driver 09:07:39 -rw-r--r-- 1 jenkins jenkins 273 Sep 18 09:07 go.mod 09:07:39 -rw-r--r-- 1 jenkins jenkins 12547 Sep 18 09:07 go.sum 09:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 09:05 snap 09:07:39 -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:07:40 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6620aafa6b2c4d86d61147559de61a3b76df4ec2 --label arch=arm64 --label version=0.0.0 . 09:07:40 Sending build context to Docker daemon 8.066MB 09:07:40 Step 1/25 : ARG BASE=golang:1.15-alpine 09:07:40 Step 2/25 : FROM ${BASE} AS builder 09:07:40 ---> 6e0ecbfae73f 09:07:40 Step 3/25 : ARG MAKE='make build' 09:07:40 ---> Running in a6fa0812ec18 09:07:41 Removing intermediate container a6fa0812ec18 09:07:41 ---> dcfdf90357c1 09:07:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 09:07:41 ---> Running in ebdf80ef4fef 09:07:41 Removing intermediate container ebdf80ef4fef 09:07:41 ---> b168930776c6 09:07:41 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:07:42 ---> Running in d226ca175ebc 09:07:42 Removing intermediate container d226ca175ebc 09:07:42 ---> 13c2fcb30a5a 09:07:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:42 ---> Running in d35b95654606 09:07:45 Removing intermediate container d35b95654606 09:07:45 ---> d7550d080ec0 09:07:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:45 ---> Running in a8bee37e4d39 09:07:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:07:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:07:48 OK: 142 MiB in 39 packages 09:07:49 Removing intermediate container a8bee37e4d39 09:07:49 ---> b8a82d344122 09:07:49 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 09:07:49 ---> Running in d4d01da2060b 09:07:49 Removing intermediate container d4d01da2060b 09:07:49 ---> eead87fc2b66 09:07:49 Step 9/25 : COPY go.mod . 09:07:50 ---> 0de25fc70d50 09:07:50 Step 10/25 : COPY Makefile . 09:07:50 ---> 1cb4dab6b74e 09:07:50 Step 11/25 : RUN make update 09:07:50 ---> Running in a8b2133fb654 09:07:52 CGO_ENABLED=0 GO111MODULE=on go mod download 09:07:53 Removing intermediate container a8b2133fb654 09:07:53 ---> 499ce83d4eb4 09:07:53 Step 12/25 : COPY . . 09:07:54 ---> 1d39962725c6 09:07:54 Step 13/25 : RUN $MAKE 09:07:54 ---> Running in 4e50c8bfd27a 09:07:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 09:08:23 Removing intermediate container 4e50c8bfd27a 09:08:23 ---> 38240fe42513 09:08:23 Step 14/25 : FROM alpine:latest 09:08:23 latest: Pulling from library/alpine 09:08:23 b538f80385f9: Already exists 09:08:23 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:08:23 Status: Downloaded newer image for alpine:latest 09:08:23 ---> 62ee0e9f8440 09:08:23 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:08:23 ---> Running in b1d3afcd171c 09:08:23 Removing intermediate container b1d3afcd171c 09:08:23 ---> 3c546c9d30b8 09:08:23 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 09:08:23 ---> Running in 22f6727ddbef 09:08:23 Removing intermediate container 22f6727ddbef 09:08:23 ---> 3afa9023d327 09:08:23 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 09:08:24 ---> 7f15b4cdb1bf 09:08:24 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 09:08:24 ---> 66571eeeacca 09:08:24 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 09:08:25 ---> 4bec34e34925 09:08:25 Step 20/25 : EXPOSE 49986 09:08:26 ---> Running in 6e53b59f88a3 09:08:26 Removing intermediate container 6e53b59f88a3 09:08:26 ---> 74726017f451 09:08:26 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 09:08:26 ---> Running in 674304297df3 09:08:26 Removing intermediate container 674304297df3 09:08:26 ---> c23ee7b2adec 09:08:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:08:27 ---> Running in 208b071aaa52 09:08:27 Removing intermediate container 208b071aaa52 09:08:27 ---> 550dc485c552 09:08:27 Step 23/25 : LABEL arch=arm64 09:08:27 ---> Running in 8d776644258a 09:08:27 Removing intermediate container 8d776644258a 09:08:27 ---> 338d9abc2cab 09:08:27 Step 24/25 : LABEL git_sha=6620aafa6b2c4d86d61147559de61a3b76df4ec2 09:08:28 ---> Running in c0702cf80234 09:08:28 Removing intermediate container c0702cf80234 09:08:28 ---> 62012344b6a7 09:08:28 Step 25/25 : LABEL version=0.0.0 09:08:28 ---> Running in a11245b934f5 09:08:29 Removing intermediate container a11245b934f5 09:08:29 ---> 860ed8bcc7ac 09:08:29 [Warning] One or more build-args [ARCH] were not consumed 09:08:29 Successfully built 860ed8bcc7ac 09:08:29 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:08:31 provisioning config files... 09:08:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4173688171492664296tmp [Pipeline] { [Pipeline] sh 09:08:31 + curl -s https://codecov.io/bash 09:08:31 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4173688171492664296tmp [Pipeline] } 09:08:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:08:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:35 ---> package-listing.sh 09:08:35 ++ facter osfamily 09:08:35 ++ tr '[:upper:]' '[:lower:]' 09:08:35 + OS_FAMILY=redhat 09:08:35 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 09:08:35 + START_PACKAGES=/tmp/packages_start.txt 09:08:35 + END_PACKAGES=/tmp/packages_end.txt 09:08:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:35 + PACKAGES=/tmp/packages_start.txt 09:08:35 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 09:08:35 + PACKAGES=/tmp/packages_end.txt 09:08:35 + case "${OS_FAMILY}" in 09:08:35 + rpm -qa 09:08:35 + sort 09:08:39 + '[' -f /tmp/packages_start.txt ']' 09:08:39 + '[' -f /tmp/packages_end.txt ']' 09:08:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:39 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 09:08:39 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ 09:08:39 + 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 09:08:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:40 09:08:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:40 alpine: Pulling from edgex-lftools-log-publisher 09:08:40 df20fa9351a1: Pulling fs layer 09:08:40 36b3adc4ff6f: Pulling fs layer 09:08:40 8ad3a11d3b57: Pulling fs layer 09:08:40 46f8f816bc3b: Pulling fs layer 09:08:40 0dadc02b9964: Pulling fs layer 09:08:40 ce6a7cf60c04: Pulling fs layer 09:08:40 7a184a31f384: Pulling fs layer 09:08:40 0879bd2ef858: Pulling fs layer 09:08:40 0dadc02b9964: Waiting 09:08:40 7a184a31f384: Waiting 09:08:40 46f8f816bc3b: Waiting 09:08:40 0879bd2ef858: Waiting 09:08:40 36b3adc4ff6f: Download complete 09:08:40 46f8f816bc3b: Verifying Checksum 09:08:40 46f8f816bc3b: Download complete 09:08:40 df20fa9351a1: Download complete 09:08:41 ce6a7cf60c04: Verifying Checksum 09:08:41 ce6a7cf60c04: Download complete 09:08:41 7a184a31f384: Verifying Checksum 09:08:41 7a184a31f384: Download complete 09:08:41 0dadc02b9964: Verifying Checksum 09:08:41 0dadc02b9964: Download complete 09:08:41 8ad3a11d3b57: Verifying Checksum 09:08:41 8ad3a11d3b57: Download complete 09:08:41 df20fa9351a1: Pull complete 09:08:41 36b3adc4ff6f: Pull complete 09:08:41 0879bd2ef858: Verifying Checksum 09:08:41 0879bd2ef858: Download complete 09:08:42 8ad3a11d3b57: Pull complete 09:08:42 46f8f816bc3b: Pull complete 09:08:42 0dadc02b9964: Pull complete 09:08:42 ce6a7cf60c04: Pull complete 09:08:42 7a184a31f384: Pull complete 09:08:45 0879bd2ef858: Pull complete 09:08:45 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:08:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:08:45 prd-centos7-docker-4c-2g-375 does not seem to be running inside a container 09:08:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:08:48 $ docker top 4d6c1b8437c6d5f0a5a930a381952b92b4a4f66860216f0b39657b6b27365713 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:48 + mkdir -p /var/log/sa [Pipeline] sh 09:08:49 + ls /var/log/sa-host 09:08:49 + sadf -c /var/log/sa-host/sa05 09:08:49 file_magic: OK 09:08:49 HZ: Using current value: 100 09:08:49 file_header: OK 09:08:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:08:49 Statistics: 09:08:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:49 File successfully converted to sysstat format version 12.2.1 09:08:49 + sadf -c /var/log/sa-host/sa18 09:08:49 file_magic: OK 09:08:49 HZ: Using current value: 100 09:08:49 file_header: OK 09:08:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:08:49 Statistics: 09:08:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:49 provisioning config files... 09:08:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config4407007099998209501tmp [Pipeline] { [Pipeline] echo 09:08:49 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:49 ---> create-netrc.sh [Pipeline] echo 09:08:49 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:49 ---> logs-deploy.sh 09:08:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/5 09:08:49 INFO: archiving workspace using pattern(s): 09:08:51 Archives upload complete. 09:08:51 INFO: archiving logs to Nexus