Pull request #39 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a96498e3a5486d5706f145af628414c1fa7f774e+ec5ba659fde701601f352c67d2492fac5a523e90 (25cd59ffc92126c1ad54451734d3f7ab21c92379) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-242’ is offline; ‘prd-centos7-docker-4c-2g-244’ is offline; ‘prd-centos7-docker-4c-2g-245’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-243’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-246 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [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-39 # 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/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit a96498e3a5486d5706f145af628414c1fa7f774e Merge succeeded, producing a96498e3a5486d5706f145af628414c1fa7f774e Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (PR-39) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # 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/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # 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 a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 Commit message: "doc: correct build instructions (#36)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:43:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:43:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:43:49 ========================================================= 17:43:49 EdgeX Global Pipelines Version Info 17:43:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 17:43:51 ------------------- 17:43:51 stable info: 17:43:51 ------------------- 17:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:43:51 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 17:43:51 Message: update stable to v1.0.122 17:43:52 ------------------- 17:43:52 experimental info: 17:43:52 ------------------- 17:43:52 Commited By: **** collab-it+edgex@linuxfoundation.org 17:43:52 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 17:43:52 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 17:43:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:43:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:43:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 17:43:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:43:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo 17:43:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo 17:43:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo 17:43:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a96498e3a5486d5706f145af628414c1fa7f774e [Pipeline] echo 17:43:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a96498e [Pipeline] echo 17:43:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:56 + git log --format=format:%s -1 a96498e3a5486d5706f145af628414c1fa7f774e [Pipeline] echo 17:43:56 GIT_COMMIT: a96498e3a5486d5706f145af628414c1fa7f774e, Commit Message: doc: correct build instructions (#36) [Pipeline] echo 17:43:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:57 17:43:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:43:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:57 latest: Pulling from edgex-devops/git-semver 17:43:57 31603596830f: Pulling fs layer 17:43:57 2a8b12db71e7: Pulling fs layer 17:43:57 6ca5941a6612: Pulling fs layer 17:43:57 ecc8261a40a4: Pulling fs layer 17:43:57 2a8b12db71e7: Verifying Checksum 17:43:57 2a8b12db71e7: Download complete 17:43:57 31603596830f: Verifying Checksum 17:43:57 31603596830f: Download complete 17:43:57 6ca5941a6612: Verifying Checksum 17:43:57 6ca5941a6612: Download complete 17:43:57 ecc8261a40a4: Verifying Checksum 17:43:57 ecc8261a40a4: Download complete 17:43:58 31603596830f: Pull complete 17:43:58 2a8b12db71e7: Pull complete 17:43:58 6ca5941a6612: Pull complete 17:43:59 ecc8261a40a4: Pull complete 17:43:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:43:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:43:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:43:59 prd-centos7-docker-4c-2g-246 does not seem to be running inside a container 17:43:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-39 -v /w/workspace/dgexfoundry_device-rest-go_PR-39:/w/workspace/dgexfoundry_device-rest-go_PR-39:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-39@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 17:44:01 $ docker top fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:01 [ssh-agent] Looking for ssh-agent implementation... 17:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:01 $ docker exec fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 ssh-agent 17:44:02 SSH_AUTH_SOCK=/tmp/ssh-uIlkzblgfcMR/agent.12 17:44:02 SSH_AGENT_PID=17 17:44:02 Running ssh-add (command line suppressed) 17:44:02 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_5392670608786786006.key (/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_5392670608786786006.key) 17:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:02 + git describe --exact-match --tags HEAD 17:44:02 fatal: No names found, cannot describe anything. [Pipeline] } 17:44:02 $ docker exec --env ******** --env ******** fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 ssh-agent -k 17:44:02 unset SSH_AUTH_SOCK; 17:44:02 unset SSH_AGENT_PID; 17:44:02 echo Agent pid 17 killed; 17:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:44:02 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:44:02 This usually means this commit has not been tagged. [Pipeline] sshagent 17:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:02 [ssh-agent] Looking for ssh-agent implementation... 17:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:03 $ docker exec fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 ssh-agent 17:44:03 SSH_AUTH_SOCK=/tmp/ssh-GtVsUiIWAGju/agent.45 17:44:03 SSH_AGENT_PID=50 17:44:03 Running ssh-add (command line suppressed) 17:44:03 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_4583906422022487508.key (/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_4583906422022487508.key) 17:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:03 + git semver init 17:44:03 # -> Open(): unable to determine branch for HEAD 17:44:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.git 17:44:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-39 17:44:03 # $SEMVER_REMOTE_NAME = origin 17:44:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:44:03 # $SEMVER_USER_NAME = edgex-jenkins 17:44:03 # $SEMVER_BRANCH = PR-39 17:44:03 # $SEMVER_TEMP = /tmp/semver-530528856 17:44:03 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:44:04 # '/tmp/semver-530528856' -> '/w/workspace/dgexfoundry_device-rest-go_PR-39/.semver' 17:44:04 # -> Force: false 17:44:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.semver [Pipeline] } 17:44:04 $ docker exec --env ******** --env ******** fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 ssh-agent -k 17:44:04 unset SSH_AUTH_SOCK; 17:44:04 unset SSH_AGENT_PID; 17:44:04 echo Agent pid 50 killed; 17:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:05 + git semver [Pipeline] } 17:44:05 $ docker stop --time=1 fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 17:44:06 $ docker rm -f fe538a266c354591f439b6ded7b38e2282512360c9dcb833cb3087246b4a0159 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:44:08 Stashed 22 file(s) [Pipeline] echo 17:44:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 17:44:08 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 17:44:23 Still waiting to schedule task 17:44:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-246’ 17:44:23 Still waiting to schedule task 17:44:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:46:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-247 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws 17:46:13 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 17:46:18 Running on prd-centos7-docker-4c-2g-248 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws 17:46:18 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 17:46:20 using credential edgex-jenkins-ssh 17:46:20 Cloning the remote Git repository 17:46:20 Cloning with configured refspecs honoured and without tags 17:46:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:46:20 > git init /w/workspace/device-rest-go/2 # timeout=10 17:46:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:46:20 > git --version # timeout=10 17:46:20 > git --version # 'git version 2.17.1' 17:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:22 using credential edgex-jenkins-ssh 17:46:22 Cloning the remote Git repository 17:46:22 Cloning with configured refspecs honoured and without tags 17:46:23 Fetching without tags 17:46:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:46:22 > git init /w/workspace/device-rest-go/2 # timeout=10 17:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:46:22 > git --version # timeout=10 17:46:22 > git --version # 'git version 2.16.5' 17:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:23 Fetching without tags 17:46:24 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit a96498e3a5486d5706f145af628414c1fa7f774e 17:46:24 Merging remotes/origin/master commit ec5ba659fde701601f352c67d2492fac5a523e90 into PR head commit a96498e3a5486d5706f145af628414c1fa7f774e 17:46:24 Merge succeeded, producing a96498e3a5486d5706f145af628414c1fa7f774e 17:46:24 Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (PR-39) 17:46:24 Merge succeeded, producing a96498e3a5486d5706f145af628414c1fa7f774e 17:46:24 Checking out Revision a96498e3a5486d5706f145af628414c1fa7f774e (PR-39) 17:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:46:23 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 17:46:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:46:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:24 > git config core.sparsecheckout # timeout=10 17:46:24 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 17:46:24 > git remote # timeout=10 17:46:24 > git config --get remote.origin.url # timeout=10 17:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:24 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 17:46:24 > git rev-parse HEAD^{commit} # timeout=10 17:46:24 > git config core.sparsecheckout # timeout=10 17:46:24 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 17:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:46:23 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 17:46:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:46:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:46:24 > git config core.sparsecheckout # timeout=10 17:46:24 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 17:46:24 > git remote # timeout=10 17:46:24 > git config --get remote.origin.url # timeout=10 17:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:24 > git merge ec5ba659fde701601f352c67d2492fac5a523e90 # timeout=10 17:46:24 > git rev-parse HEAD^{commit} # timeout=10 17:46:24 > git config core.sparsecheckout # timeout=10 17:46:24 > git checkout -f a96498e3a5486d5706f145af628414c1fa7f774e # timeout=10 17:46:28 Commit message: "doc: correct build instructions (#36)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 17:46:29 Commit message: "doc: correct build instructions (#36)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:46:29 ========================================================= 17:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:46:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:46:30 + 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 . 17:46:30 Sending build context to Docker daemon 8.054MB 17:46:30 Step 1/10 : ARG BASE=golang:1.15-alpine 17:46:30 Step 2/10 : FROM ${BASE} 17:46:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:46:31 df20fa9351a1: Pulling fs layer 17:46:31 ed8968b2872e: Pulling fs layer 17:46:31 a92cc7c5fd73: Pulling fs layer 17:46:31 e871e8e8d7a9: Pulling fs layer 17:46:31 e73272ec9a57: Pulling fs layer 17:46:31 1e910a182e73: Pulling fs layer 17:46:31 4e634b169226: Pulling fs layer 17:46:31 e73272ec9a57: Waiting 17:46:31 1e910a182e73: Waiting 17:46:31 e871e8e8d7a9: Waiting 17:46:31 4e634b169226: Waiting 17:46:31 a92cc7c5fd73: Download complete 17:46:31 ed8968b2872e: Download complete 17:46:31 e73272ec9a57: Verifying Checksum 17:46:31 e73272ec9a57: Download complete 17:46:31 1e910a182e73: Verifying Checksum 17:46:31 1e910a182e73: Download complete 17:46:31 df20fa9351a1: Verifying Checksum 17:46:31 df20fa9351a1: Download complete [Pipeline] echo 17:46:31 ========================================================= 17:46:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:46:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:46:31 df20fa9351a1: Pull complete 17:46:31 ed8968b2872e: Pull complete 17:46:31 a92cc7c5fd73: Pull complete 17:46:32 + 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 . 17:46:33 Sending build context to Docker daemon 8.054MB 17:46:33 Step 1/10 : ARG BASE=golang:1.15-alpine 17:46:33 Step 2/10 : FROM ${BASE} 17:46:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:46:33 b538f80385f9: Pulling fs layer 17:46:33 74f711af9a0d: Pulling fs layer 17:46:33 99f96fe45779: Pulling fs layer 17:46:33 8529a6b9a6be: Pulling fs layer 17:46:33 45590311c82a: Pulling fs layer 17:46:33 69ca0ff8b7b3: Pulling fs layer 17:46:33 209524e5b208: Pulling fs layer 17:46:33 8529a6b9a6be: Waiting 17:46:33 45590311c82a: Waiting 17:46:33 69ca0ff8b7b3: Waiting 17:46:33 209524e5b208: Waiting 17:46:33 99f96fe45779: Verifying Checksum 17:46:33 99f96fe45779: Download complete 17:46:33 74f711af9a0d: Download complete 17:46:33 45590311c82a: Download complete 17:46:33 69ca0ff8b7b3: Verifying Checksum 17:46:33 69ca0ff8b7b3: Download complete 17:46:33 4e634b169226: Verifying Checksum 17:46:33 4e634b169226: Download complete 17:46:34 b538f80385f9: Pull complete 17:46:35 74f711af9a0d: Pull complete 17:46:35 99f96fe45779: Pull complete 17:46:36 e871e8e8d7a9: Verifying Checksum 17:46:36 e871e8e8d7a9: Download complete 17:46:36 209524e5b208: Verifying Checksum 17:46:36 209524e5b208: Download complete 17:46:37 8529a6b9a6be: Verifying Checksum 17:46:37 8529a6b9a6be: Download complete 17:46:40 e871e8e8d7a9: Pull complete 17:46:40 e73272ec9a57: Pull complete 17:46:40 1e910a182e73: Pull complete 17:46:48 8529a6b9a6be: Pull complete 17:46:48 45590311c82a: Pull complete 17:46:48 69ca0ff8b7b3: Pull complete 17:46:49 4e634b169226: Pull complete 17:46:49 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 17:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:46:49 ---> f7629b54cfaa 17:46:49 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:46:49 ---> Running in 70e5aac157c2 17:46:49 Removing intermediate container 70e5aac157c2 17:46:49 ---> 38f4c4408aba 17:46:49 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:46:49 ---> Running in fc3fc7f42bf1 17:46:49 Removing intermediate container fc3fc7f42bf1 17:46:49 ---> 1b4211d33c41 17:46:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:46:49 ---> Running in 7f3242a360ef 17:46:49 Removing intermediate container 7f3242a360ef 17:46:49 ---> b882bb3cc416 17:46:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:49 ---> Running in 6cc99174f3d1 17:46:50 Removing intermediate container 6cc99174f3d1 17:46:50 ---> 376ea384a3f9 17:46:50 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:51 ---> Running in 105c46b88665 17:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:46:52 209524e5b208: Pull complete 17:46:52 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 17:46:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:46:52 ---> 5bddaf1c2fca 17:46:52 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:46:53 OK: 166 MiB in 39 packages 17:46:53 Removing intermediate container 105c46b88665 17:46:53 ---> 676465a0d686 17:46:53 Step 8/10 : WORKDIR /device-rest-go 17:46:53 ---> Running in b612d60759f7 17:46:53 Removing intermediate container b612d60759f7 17:46:53 ---> 615d45523ac8 17:46:53 Step 9/10 : COPY . . 17:46:54 ---> 687807cb58bf 17:46:54 Step 10/10 : RUN go mod download 17:46:54 ---> Running in 10bd3d88adab 17:46:55 ---> Running in 24220f40319d 17:46:55 Removing intermediate container 24220f40319d 17:46:55 ---> 2b6de06a77ef 17:46:55 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:46:55 ---> Running in 501a98ae7f23 17:46:56 Removing intermediate container 501a98ae7f23 17:46:56 ---> 1e9a259e7195 17:46:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:46:56 ---> Running in b29c21620c81 17:46:56 Removing intermediate container b29c21620c81 17:46:56 ---> d0e5e6ab1687 17:46:56 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:56 ---> Running in c2701387a4d3 17:46:59 Removing intermediate container c2701387a4d3 17:46:59 ---> a284da8466f8 17:46:59 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:59 ---> Running in 7fd0c166fc06 17:47:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:47:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:47:02 OK: 142 MiB in 39 packages 17:47:03 Removing intermediate container 7fd0c166fc06 17:47:03 ---> 0eb6d4d013c9 17:47:03 Step 8/10 : WORKDIR /device-rest-go 17:47:03 ---> Running in 85fafbd2fe2d 17:47:04 Removing intermediate container 85fafbd2fe2d 17:47:04 ---> 725f8ba05bf5 17:47:04 Step 9/10 : COPY . . 17:47:05 ---> c9c3763845cf 17:47:05 Step 10/10 : RUN go mod download 17:47:05 ---> Running in bbdd0e3b7b31 17:47:06 Removing intermediate container 10bd3d88adab 17:47:06 ---> cdcc4dd1ddd8 17:47:06 Successfully built cdcc4dd1ddd8 17:47:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:47:07 + docker inspect -f . ci-base-image-x86_64 17:47:07 . [Pipeline] withDockerContainer 17:47:07 prd-centos7-docker-4c-2g-248 does not seem to be running inside a container 17:47:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:47:08 $ docker top e1e92537c8dbfb2be4a00a33ae8928e88ae8db3404dbfe07e7f4186610a2b989 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:09 + go version 17:47:09 go version go1.15.2 linux/amd64 [Pipeline] } 17:47:09 $ docker stop --time=1 e1e92537c8dbfb2be4a00a33ae8928e88ae8db3404dbfe07e7f4186610a2b989 17:47:10 $ docker rm -f e1e92537c8dbfb2be4a00a33ae8928e88ae8db3404dbfe07e7f4186610a2b989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:47:11 + docker inspect -f . ci-base-image-x86_64 17:47:11 . [Pipeline] withDockerContainer 17:47:11 prd-centos7-docker-4c-2g-248 does not seem to be running inside a container 17:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:47:12 $ docker top ec306a3c500841dc56ea573e2f03e7f29aba869746b04c6ac640a1a28fe0cea3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:13 + make test 17:47:13 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:47:14 ? github.com/edgexfoundry/device-rest-go [no test files] 17:47:21 Removing intermediate container bbdd0e3b7b31 17:47:21 ---> 9755714f849f 17:47:21 Successfully built 9755714f849f 17:47:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:47:21 + docker inspect -f . ci-base-image-arm64 17:47:21 . [Pipeline] withDockerContainer 17:47:21 prd-ubuntu18.04-docker-arm64-4c-16g-247 does not seem to be running inside a container 17:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:47:23 $ docker top 77920f1dfa2283416a6d72bb1e4ab3402d4c9f64c160c6be7f6ba9d202af636b -eo pid,comm 17:47:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:47:24 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements 17:47:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] sh 17:47:25 + go version 17:47:25 go version go1.15.2 linux/arm64 [Pipeline] } 17:47:25 $ docker stop --time=1 77920f1dfa2283416a6d72bb1e4ab3402d4c9f64c160c6be7f6ba9d202af636b 17:47:25 gofmt -l . 17:47:25 [ "`gofmt -l .`" = "" ] 17:47:25 ./bin/test-go-mod-tidy.sh 17:47:25 ./bin/test-attribution-txt.sh 17:47:27 $ docker rm -f 77920f1dfa2283416a6d72bb1e4ab3402d4c9f64c160c6be7f6ba9d202af636b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:47:28 Stashed 1 file(s) [Pipeline] } 17:47:28 $ docker stop --time=1 ec306a3c500841dc56ea573e2f03e7f29aba869746b04c6ac640a1a28fe0cea3 17:47:28 + docker inspect -f . ci-base-image-arm64 17:47:28 . 17:47:30 $ docker rm -f ec306a3c500841dc56ea573e2f03e7f29aba869746b04c6ac640a1a28fe0cea3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 17:47:30 prd-ubuntu18.04-docker-arm64-4c-16g-247 does not seem to be running inside a container 17:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:47:32 $ docker top 79f1f7298875f5e60b0207352670317ec9e4b3539cf76ce94b80e62997b93f0b -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:47:34 + make test 17:47:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh 17:47:35 ? github.com/edgexfoundry/device-rest-go [no test files] 17:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:47:36 + ls -al . 17:47:36 total 96 17:47:36 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 17:47 . 17:47:36 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 17:46 .. 17:47:36 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 17 17:46 Attribution.txt 17:47:36 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 17:46 bin 17:47:36 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 17:46 cmd 17:47:36 -rw-r--r--. 1 jenkins jenkins 9369 Sep 17 17:47 coverage.out 17:47:36 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 17 17:46 Dockerfile 17:47:36 -rw-rw-r--. 1 jenkins jenkins 989 Sep 17 17:46 Dockerfile.build 17:47:36 -rw-rw-r--. 1 jenkins jenkins 151 Sep 17 17:46 .dockerignore 17:47:36 drwxrwxr-x. 2 jenkins jenkins 93 Sep 17 17:47 driver 17:47:36 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 17:46 .git 17:47:36 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 17:46 .github 17:47:36 -rw-rw-r--. 1 jenkins jenkins 339 Sep 17 17:46 .gitignore 17:47:36 -rw-r--r--. 1 jenkins jenkins 266 Sep 17 17:47 go.mod 17:47:36 -rw-r--r--. 1 jenkins jenkins 12533 Sep 17 17:47 go.sum 17:47:36 -rw-rw-r--. 1 jenkins jenkins 680 Sep 17 17:46 Jenkinsfile 17:47:36 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 17:46 LICENSE 17:47:36 -rw-rw-r--. 1 jenkins jenkins 951 Sep 17 17:46 Makefile 17:47:36 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 17 17:46 README.md 17:47:36 drwxrwxr-x. 3 jenkins jenkins 45 Sep 17 17:46 .semver 17:47:36 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 17:46 snap 17:47:36 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 17:44 VERSION 17:47:36 -rw-rw-r--. 1 jenkins jenkins 713 Sep 17 17:46 version.go [Pipeline] isUnix [Pipeline] sh 17:47:36 + 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=a96498e3a5486d5706f145af628414c1fa7f774e --label arch=amd64 --label version=0.0.0 . 17:47:36 Sending build context to Docker daemon 8.066MB 17:47:36 Step 1/25 : ARG BASE=golang:1.15-alpine 17:47:36 Step 2/25 : FROM ${BASE} AS builder 17:47:36 ---> cdcc4dd1ddd8 17:47:36 Step 3/25 : ARG MAKE='make build' 17:47:36 ---> Running in c68db7ed66d2 17:47:36 Removing intermediate container c68db7ed66d2 17:47:36 ---> a1b58721bb78 17:47:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:47:36 ---> Running in fd1986327fab 17:47:37 Removing intermediate container fd1986327fab 17:47:37 ---> ea2a00dbb161 17:47:37 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:47:37 ---> Running in 61a4a450a422 17:47:37 Removing intermediate container 61a4a450a422 17:47:37 ---> b8b56d33daba 17:47:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:47:37 ---> Running in 2ed25fc82a14 17:47:38 Removing intermediate container 2ed25fc82a14 17:47:38 ---> 8cb7e969de67 17:47:38 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:38 ---> Running in 21517a38be21 17:47:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:47:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:47:40 OK: 166 MiB in 39 packages 17:47:40 Removing intermediate container 21517a38be21 17:47:40 ---> e990788dacdb 17:47:40 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:47:40 ---> Running in 0162250cffb0 17:47:40 Removing intermediate container 0162250cffb0 17:47:40 ---> 1f85bcee0534 17:47:40 Step 9/25 : COPY go.mod . 17:47:41 ---> a411406478f6 17:47:41 Step 10/25 : COPY Makefile . 17:47:41 ---> 9a9c25754318 17:47:41 Step 11/25 : RUN make update 17:47:41 ---> Running in 9f4b28e13e0d 17:47:41 CGO_ENABLED=0 GO111MODULE=on go mod download 17:47:42 Removing intermediate container 9f4b28e13e0d 17:47:42 ---> 9b62edca7a86 17:47:42 Step 12/25 : COPY . . 17:47:42 ---> 6295422a11a0 17:47:42 Step 13/25 : RUN $MAKE 17:47:42 ---> Running in b08ecf763314 17:47:43 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 17:47:53 Removing intermediate container b08ecf763314 17:47:53 ---> a1a40e4e8737 17:47:53 Step 14/25 : FROM alpine:latest 17:47:53 latest: Pulling from library/alpine 17:47:53 df20fa9351a1: Already exists 17:47:53 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:47:53 Status: Downloaded newer image for alpine:latest 17:47:53 ---> a24bb4013296 17:47:53 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:47:53 ---> Running in 4a13f9ef99b9 17:47:53 Removing intermediate container 4a13f9ef99b9 17:47:53 ---> 9bd05121b025 17:47:53 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:47:53 ---> Running in a3e581d7bde9 17:47:53 Removing intermediate container a3e581d7bde9 17:47:53 ---> e00f253f2b9f 17:47:53 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:47:53 ---> 4e51a7cb468f 17:47:53 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:47:53 ---> bd1417ceaf45 17:47:53 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:47:54 ---> a392295a2cc2 17:47:54 Step 20/25 : EXPOSE 49986 17:47:54 ---> Running in cfde6778b904 17:47:54 Removing intermediate container cfde6778b904 17:47:54 ---> 8c8ba06ef120 17:47:54 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:47:54 ---> Running in 6937573a97a8 17:47:54 Removing intermediate container 6937573a97a8 17:47:54 ---> 40489766ad43 17:47:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:47:54 ---> Running in efceaf81de79 17:47:54 Removing intermediate container efceaf81de79 17:47:54 ---> 5194871f2082 17:47:54 Step 23/25 : LABEL arch=amd64 17:47:54 ---> Running in 9ebb9d3d5b30 17:47:55 Removing intermediate container 9ebb9d3d5b30 17:47:55 ---> d245148e56c4 17:47:55 Step 24/25 : LABEL git_sha=a96498e3a5486d5706f145af628414c1fa7f774e 17:47:55 ---> Running in 89bcbeda38f2 17:47:55 Removing intermediate container 89bcbeda38f2 17:47:55 ---> 1d49b06832ce 17:47:55 Step 25/25 : LABEL version=0.0.0 17:47:55 ---> Running in befd36401786 17:47:55 Removing intermediate container befd36401786 17:47:55 ---> 02312c4f85ba 17:47:55 [Warning] One or more build-args [ARCH] were not consumed 17:47:55 Successfully built 02312c4f85ba 17:47:55 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] } 17:48:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:48:08 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements 17:48:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:48:12 gofmt -l . 17:48:12 [ "`gofmt -l .`" = "" ] 17:48:12 ./bin/test-go-mod-tidy.sh 17:48:12 ./bin/test-attribution-txt.sh [Pipeline] stash 17:48:13 Warning: overwriting stash ‘coverage-report’ 17:48:13 Stashed 1 file(s) [Pipeline] } 17:48:13 $ docker stop --time=1 79f1f7298875f5e60b0207352670317ec9e4b3539cf76ce94b80e62997b93f0b 17:48:16 $ docker rm -f 79f1f7298875f5e60b0207352670317ec9e4b3539cf76ce94b80e62997b93f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:48:17 + ls -al . 17:48:17 total 128 17:48:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 17:48 . 17:48:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:46 .. 17:48:17 -rw-rw-r-- 1 jenkins jenkins 151 Sep 17 17:46 .dockerignore 17:48:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 17:46 .git 17:48:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:46 .github 17:48:17 -rw-rw-r-- 1 jenkins jenkins 339 Sep 17 17:46 .gitignore 17:48:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:46 .semver 17:48:17 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 17 17:46 Attribution.txt 17:48:17 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 17 17:46 Dockerfile 17:48:17 -rw-rw-r-- 1 jenkins jenkins 989 Sep 17 17:46 Dockerfile.build 17:48:17 -rw-rw-r-- 1 jenkins jenkins 680 Sep 17 17:46 Jenkinsfile 17:48:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 17:46 LICENSE 17:48:17 -rw-rw-r-- 1 jenkins jenkins 951 Sep 17 17:46 Makefile 17:48:17 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 17 17:46 README.md 17:48:17 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 17:44 VERSION 17:48:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:46 bin 17:48:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 17:46 cmd 17:48:17 -rw-r--r-- 1 jenkins jenkins 9369 Sep 17 17:48 coverage.out 17:48:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 17:48 driver 17:48:17 -rw-r--r-- 1 jenkins jenkins 266 Sep 17 17:48 go.mod 17:48:17 -rw-r--r-- 1 jenkins jenkins 12533 Sep 17 17:48 go.sum 17:48:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 17:46 snap 17:48:17 -rw-rw-r-- 1 jenkins jenkins 713 Sep 17 17:46 version.go [Pipeline] isUnix [Pipeline] sh 17:48:18 + 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=a96498e3a5486d5706f145af628414c1fa7f774e --label arch=arm64 --label version=0.0.0 . 17:48:18 Sending build context to Docker daemon 8.066MB 17:48:18 Step 1/25 : ARG BASE=golang:1.15-alpine 17:48:18 Step 2/25 : FROM ${BASE} AS builder 17:48:18 ---> 9755714f849f 17:48:18 Step 3/25 : ARG MAKE='make build' 17:48:19 ---> Running in f907d21cbb42 17:48:19 Removing intermediate container f907d21cbb42 17:48:19 ---> f24bd5879051 17:48:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:48:19 ---> Running in 31d03a2662ea 17:48:19 Removing intermediate container 31d03a2662ea 17:48:19 ---> 9d9c31c679f4 17:48:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:48:20 ---> Running in 118d4c108696 17:48:20 Removing intermediate container 118d4c108696 17:48:20 ---> 3163004fe7fc 17:48:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:20 ---> Running in 79a2755ee0d1 17:48:23 Removing intermediate container 79a2755ee0d1 17:48:23 ---> 4928272e8dea 17:48:23 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:48:23 ---> Running in 80dfb49ded76 17:48:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:48:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:48:26 OK: 142 MiB in 39 packages 17:48:27 Removing intermediate container 80dfb49ded76 17:48:27 ---> d08b88f7701c 17:48:27 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:48:27 ---> Running in 0511d1ea01ab 17:48:27 Removing intermediate container 0511d1ea01ab 17:48:27 ---> c3a127af3160 17:48:27 Step 9/25 : COPY go.mod . 17:48:28 ---> 326b6899459e 17:48:28 Step 10/25 : COPY Makefile . 17:48:29 ---> 4061ad764248 17:48:29 Step 11/25 : RUN make update 17:48:29 ---> Running in 3f90a855f62d 17:48:30 CGO_ENABLED=0 GO111MODULE=on go mod download 17:48:32 Removing intermediate container 3f90a855f62d 17:48:32 ---> 4d7907750a61 17:48:32 Step 12/25 : COPY . . 17:48:33 ---> 94facd4a2509 17:48:33 Step 13/25 : RUN $MAKE 17:48:33 ---> Running in f5bf65f020a9 17:48:34 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 17:49:01 Removing intermediate container f5bf65f020a9 17:49:01 ---> 3106468e4891 17:49:01 Step 14/25 : FROM alpine:latest 17:49:01 latest: Pulling from library/alpine 17:49:01 b538f80385f9: Already exists 17:49:01 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:49:01 Status: Downloaded newer image for alpine:latest 17:49:01 ---> 62ee0e9f8440 17:49:01 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:49:01 ---> Running in 92a372d9e2f2 17:49:01 Removing intermediate container 92a372d9e2f2 17:49:01 ---> f9fd6731332f 17:49:01 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:49:01 ---> Running in 186600f5aa65 17:49:01 Removing intermediate container 186600f5aa65 17:49:01 ---> 949a38e94a65 17:49:01 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:49:01 ---> d08db3f49b7c 17:49:01 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:49:01 ---> e6f89b9b0786 17:49:01 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:49:03 ---> 7c96a61ba261 17:49:03 Step 20/25 : EXPOSE 49986 17:49:03 ---> Running in 96ff44389ba3 17:49:03 Removing intermediate container 96ff44389ba3 17:49:03 ---> db272f308caf 17:49:03 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:49:04 ---> Running in 029a485afdf3 17:49:04 Removing intermediate container 029a485afdf3 17:49:04 ---> 5e23bcc1bbb9 17:49:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:49:04 ---> Running in ace56fa56703 17:49:05 Removing intermediate container ace56fa56703 17:49:05 ---> acbb36135b9f 17:49:05 Step 23/25 : LABEL arch=arm64 17:49:05 ---> Running in b7ed38f338d9 17:49:05 Removing intermediate container b7ed38f338d9 17:49:05 ---> 2a481a3d03a5 17:49:05 Step 24/25 : LABEL git_sha=a96498e3a5486d5706f145af628414c1fa7f774e 17:49:05 ---> Running in 3722325f85c7 17:49:06 Removing intermediate container 3722325f85c7 17:49:06 ---> f725717a89c8 17:49:06 Step 25/25 : LABEL version=0.0.0 17:49:06 ---> Running in aa1e8c355d37 17:49:06 Removing intermediate container aa1e8c355d37 17:49:06 ---> 2def388c747a 17:49:06 [Warning] One or more build-args [ARCH] were not consumed 17:49:06 Successfully built 2def388c747a 17:49:06 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 17:49:09 provisioning config files... 17:49:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config2914549145607888527tmp [Pipeline] { [Pipeline] sh 17:49:09 + curl -s https://codecov.io/bash 17:49:09 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config2914549145607888527tmp [Pipeline] } 17:49:09 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 17:49:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:13 ---> package-listing.sh 17:49:13 ++ facter osfamily 17:49:13 ++ tr '[:upper:]' '[:lower:]' 17:49:13 + OS_FAMILY=redhat 17:49:13 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-39 17:49:13 + START_PACKAGES=/tmp/packages_start.txt 17:49:13 + END_PACKAGES=/tmp/packages_end.txt 17:49:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:13 + PACKAGES=/tmp/packages_start.txt 17:49:13 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' 17:49:13 + PACKAGES=/tmp/packages_end.txt 17:49:13 + case "${OS_FAMILY}" in 17:49:13 + rpm -qa 17:49:13 + sort 17:49:17 + '[' -f /tmp/packages_start.txt ']' 17:49:17 + '[' -f /tmp/packages_end.txt ']' 17:49:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:17 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' 17:49:17 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-39/archives/ 17:49:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-39/archives/ [Pipeline] isUnix [Pipeline] sh 17:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:49:17 17:49:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:49:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:49:18 alpine: Pulling from edgex-lftools-log-publisher 17:49:18 df20fa9351a1: Pulling fs layer 17:49:18 36b3adc4ff6f: Pulling fs layer 17:49:18 8ad3a11d3b57: Pulling fs layer 17:49:18 46f8f816bc3b: Pulling fs layer 17:49:18 0dadc02b9964: Pulling fs layer 17:49:18 ce6a7cf60c04: Pulling fs layer 17:49:18 7a184a31f384: Pulling fs layer 17:49:18 0879bd2ef858: Pulling fs layer 17:49:18 46f8f816bc3b: Waiting 17:49:18 0dadc02b9964: Waiting 17:49:18 0879bd2ef858: Waiting 17:49:18 ce6a7cf60c04: Waiting 17:49:18 7a184a31f384: Waiting 17:49:18 36b3adc4ff6f: Verifying Checksum 17:49:18 36b3adc4ff6f: Download complete 17:49:18 46f8f816bc3b: Verifying Checksum 17:49:18 46f8f816bc3b: Download complete 17:49:18 df20fa9351a1: Verifying Checksum 17:49:18 df20fa9351a1: Download complete 17:49:18 ce6a7cf60c04: Verifying Checksum 17:49:18 ce6a7cf60c04: Download complete 17:49:18 7a184a31f384: Verifying Checksum 17:49:18 7a184a31f384: Download complete 17:49:18 0dadc02b9964: Verifying Checksum 17:49:18 0dadc02b9964: Download complete 17:49:18 df20fa9351a1: Pull complete 17:49:18 8ad3a11d3b57: Verifying Checksum 17:49:18 8ad3a11d3b57: Download complete 17:49:18 36b3adc4ff6f: Pull complete 17:49:18 0879bd2ef858: Verifying Checksum 17:49:18 0879bd2ef858: Download complete 17:49:19 8ad3a11d3b57: Pull complete 17:49:19 46f8f816bc3b: Pull complete 17:49:19 0dadc02b9964: Pull complete 17:49:19 ce6a7cf60c04: Pull complete 17:49:20 7a184a31f384: Pull complete 17:49:22 0879bd2ef858: Pull complete 17:49:22 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 17:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:49:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:49:22 prd-centos7-docker-4c-2g-246 does not seem to be running inside a container 17:49:22 $ 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-39 -v /w/workspace/dgexfoundry_device-rest-go_PR-39:/w/workspace/dgexfoundry_device-rest-go_PR-39:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-39@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 17:49:27 $ docker top f26882ccb702160c599d7a0a9402eb301800a755bd69786d6d57890472e3a1c1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:28 + mkdir -p /var/log/sa [Pipeline] sh 17:49:28 + ls /var/log/sa-host 17:49:28 + sadf -c /var/log/sa-host/sa05 17:49:28 file_magic: OK 17:49:28 HZ: Using current value: 100 17:49:28 file_header: OK 17:49:28 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 17:49:28 Statistics: 17:49:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:49:28 File successfully converted to sysstat format version 12.2.1 17:49:28 + sadf -c /var/log/sa-host/sa17 17:49:28 file_magic: OK 17:49:28 HZ: Using current value: 100 17:49:28 file_header: OK 17:49:28 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 17:49:28 Statistics: 17:49:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:49:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:28 provisioning config files... 17:49:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config9060005265725152679tmp [Pipeline] { [Pipeline] echo 17:49:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:49:28 ---> create-netrc.sh [Pipeline] echo 17:49:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:49:29 ---> logs-deploy.sh 17:49:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-39/2 17:49:29 INFO: archiving workspace using pattern(s): 17:49:31 Archives upload complete. 17:49:31 INFO: archiving logs to Nexus 17:49:31 ---> uname -a: 17:49:31 Linux f26882ccb702 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 17:49:31 17:49:31