Pull request #131 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-virtual-go Obtained Jenkinsfile from 57130b4155dc44439b49f73d34af652ea5ca5664+f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 (7136ff04ca9920802bb5f9cfa588eb3b200c1e71) 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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-340’ Running on prd-centos7-docker-4c-2g-343 in /w/workspace/foundry_device-virtual-go_PR-131 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-131 # timeout=10 Fetching without tags Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 57130b4155dc44439b49f73d34af652ea5ca5664 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/131/head:refs/remotes/origin/PR-131 # 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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 57130b4155dc44439b49f73d34af652ea5ca5664 Checking out Revision 57130b4155dc44439b49f73d34af652ea5ca5664 (PR-131) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 Commit message: "build: upgrade device-sdk-go" First time build. Skipping changelog. > git rev-list --no-walk 0bdbb39be9e937d9eb65e31b1035fd53aea774b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:27:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:27:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:27:24 ========================================================= 01:27:24 EdgeX Global Pipelines Version Info 01:27:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:27:26 ------------------- 01:27:26 stable info: 01:27:26 ------------------- 01:27:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:26 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 01:27:26 Message: update stable to v1.0.122 01:27:27 ------------------- 01:27:27 experimental info: 01:27:27 ------------------- 01:27:27 Commited By: **** collab-it+edgex@linuxfoundation.org 01:27:27 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 01:27:27 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57130b4155dc44439b49f73d34af652ea5ca5664 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57130b4 [Pipeline] echo 01:27:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:30 + git log --format=format:%s -1 57130b4155dc44439b49f73d34af652ea5ca5664 [Pipeline] echo 01:27:30 GIT_COMMIT: 57130b4155dc44439b49f73d34af652ea5ca5664, Commit Message: build: upgrade device-sdk-go [Pipeline] echo 01:27:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:27:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:27:31 01:27:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:27:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:27:32 latest: Pulling from edgex-devops/git-semver 01:27:32 31603596830f: Pulling fs layer 01:27:32 2a8b12db71e7: Pulling fs layer 01:27:32 6ca5941a6612: Pulling fs layer 01:27:32 ecc8261a40a4: Pulling fs layer 01:27:32 ecc8261a40a4: Waiting 01:27:32 2a8b12db71e7: Verifying Checksum 01:27:32 2a8b12db71e7: Download complete 01:27:32 31603596830f: Verifying Checksum 01:27:32 31603596830f: Download complete 01:27:32 ecc8261a40a4: Verifying Checksum 01:27:32 ecc8261a40a4: Download complete 01:27:32 6ca5941a6612: Verifying Checksum 01:27:32 6ca5941a6612: Download complete 01:27:32 31603596830f: Pull complete 01:27:33 2a8b12db71e7: Pull complete 01:27:33 6ca5941a6612: Pull complete 01:27:33 ecc8261a40a4: Pull complete 01:27:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:27:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:27:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:27:34 prd-centos7-docker-4c-2g-343 does not seem to be running inside a container 01:27:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-131 -v /w/workspace/foundry_device-virtual-go_PR-131:/w/workspace/foundry_device-virtual-go_PR-131:rw,z -v /w/workspace/foundry_device-virtual-go_PR-131@tmp:/w/workspace/foundry_device-virtual-go_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:27:36 $ docker top 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:37 [ssh-agent] Looking for ssh-agent implementation... 01:27:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:37 $ docker exec 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 ssh-agent 01:27:37 SSH_AUTH_SOCK=/tmp/ssh-dnjptpepXPiQ/agent.12 01:27:37 SSH_AGENT_PID=17 01:27:37 Running ssh-add (command line suppressed) 01:27:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_7530924690598597560.key (/w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_7530924690598597560.key) 01:27:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:38 + git describe --exact-match --tags HEAD 01:27:38 fatal: No names found, cannot describe anything. [Pipeline] } 01:27:38 $ docker exec --env ******** --env ******** 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 ssh-agent -k 01:27:38 unset SSH_AUTH_SOCK; 01:27:38 unset SSH_AGENT_PID; 01:27:38 echo Agent pid 17 killed; 01:27:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:27:38 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:27:38 This usually means this commit has not been tagged. [Pipeline] sshagent 01:27:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:38 [ssh-agent] Looking for ssh-agent implementation... 01:27:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:38 $ docker exec 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 ssh-agent 01:27:38 SSH_AUTH_SOCK=/tmp/ssh-Cj6JwdkubGgs/agent.45 01:27:38 SSH_AGENT_PID=50 01:27:38 Running ssh-add (command line suppressed) 01:27:39 Identity added: /w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_6011982043056822139.key (/w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_6011982043056822139.key) 01:27:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:39 + git semver init 01:27:39 # -> Open(): unable to determine branch for HEAD 01:27:39 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-131/.git 01:27:39 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-131 01:27:39 # $SEMVER_REMOTE_NAME = origin 01:27:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:27:39 # $SEMVER_USER_NAME = edgex-jenkins 01:27:39 # $SEMVER_BRANCH = PR-131 01:27:39 # $SEMVER_TEMP = /tmp/semver-084607821 01:27:39 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:27:39 # '/tmp/semver-084607821' -> '/w/workspace/foundry_device-virtual-go_PR-131/.semver' 01:27:39 # -> Force: false 01:27:39 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-131/.semver [Pipeline] } 01:27:40 $ docker exec --env ******** --env ******** 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 ssh-agent -k 01:27:40 unset SSH_AUTH_SOCK; 01:27:40 unset SSH_AGENT_PID; 01:27:40 echo Agent pid 50 killed; 01:27:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:40 + git semver [Pipeline] } 01:27:40 $ docker stop --time=1 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 01:27:42 $ docker rm -f 3b3e131da9641b9569ef99a7d8e9e37ab836b54474a67e1a494c8a52b48edaa1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:27:42 Stashed 27 file(s) [Pipeline] echo 01:27:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:27:43 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 01:27:58 Still waiting to schedule task 01:27:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:27:58 Still waiting to schedule task 01:27:58 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-341’ 01:29:35 Running on prd-centos7-docker-4c-2g-348 in /w/workspace/foundry_device-virtual-go_PR-131 [Pipeline] { [Pipeline] ws 01:29:35 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 01:29:39 using credential edgex-jenkins-ssh 01:29:39 Cloning the remote Git repository 01:29:39 Cloning with configured refspecs honoured and without tags 01:29:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:29:39 > git init /w/workspace/device-virtual-go/3 # timeout=10 01:29:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:29:39 > git --version # timeout=10 01:29:39 > git --version # 'git version 2.16.5' 01:29:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:29:41 Fetching without tags 01:29:41 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 57130b4155dc44439b49f73d34af652ea5ca5664 01:29:41 Merge succeeded, producing 57130b4155dc44439b49f73d34af652ea5ca5664 01:29:41 Checking out Revision 57130b4155dc44439b49f73d34af652ea5ca5664 (PR-131) 01:29:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:29:40 > git config --add remote.origin.fetch +refs/pull/131/head:refs/remotes/origin/PR-131 # timeout=10 01:29:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:29:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:29:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:29:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:29:41 > git config core.sparsecheckout # timeout=10 01:29:41 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 01:29:41 > git remote # timeout=10 01:29:41 > git config --get remote.origin.url # timeout=10 01:29:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:41 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 01:29:41 > git rev-parse HEAD^{commit} # timeout=10 01:29:41 > git config core.sparsecheckout # timeout=10 01:29:41 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 01:29:45 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:29:45 ========================================================= 01:29:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:29:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:29:46 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 01:29:47 Sending build context to Docker daemon 549.4kB 01:29:47 Step 1/8 : ARG BASE=golang:1.15-alpine 01:29:47 Step 2/8 : FROM ${BASE} 01:29:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:29:47 df20fa9351a1: Pulling fs layer 01:29:47 ed8968b2872e: Pulling fs layer 01:29:47 a92cc7c5fd73: Pulling fs layer 01:29:47 e871e8e8d7a9: Pulling fs layer 01:29:47 e73272ec9a57: Pulling fs layer 01:29:47 1e910a182e73: Pulling fs layer 01:29:47 4e634b169226: Pulling fs layer 01:29:47 1e910a182e73: Waiting 01:29:47 4e634b169226: Waiting 01:29:47 e73272ec9a57: Waiting 01:29:47 e871e8e8d7a9: Waiting 01:29:47 a92cc7c5fd73: Download complete 01:29:47 ed8968b2872e: Verifying Checksum 01:29:47 ed8968b2872e: Download complete 01:29:47 e73272ec9a57: Verifying Checksum 01:29:47 e73272ec9a57: Download complete 01:29:47 1e910a182e73: Verifying Checksum 01:29:47 1e910a182e73: Download complete 01:29:47 df20fa9351a1: Download complete 01:29:47 df20fa9351a1: Pull complete 01:29:47 ed8968b2872e: Pull complete 01:29:47 a92cc7c5fd73: Pull complete 01:29:49 4e634b169226: Verifying Checksum 01:29:49 4e634b169226: Download complete 01:29:50 e871e8e8d7a9: Verifying Checksum 01:29:50 e871e8e8d7a9: Download complete 01:29:56 e871e8e8d7a9: Pull complete 01:29:56 e73272ec9a57: Pull complete 01:29:56 1e910a182e73: Pull complete 01:30:00 4e634b169226: Pull complete 01:30:00 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:30:00 ---> f7629b54cfaa 01:30:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:30:01 ---> Running in c39e50dfe15b 01:30:01 Removing intermediate container c39e50dfe15b 01:30:01 ---> ba8d0e680d0a 01:30:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:01 ---> Running in 056ecd5bdb4a 01:30:02 Removing intermediate container 056ecd5bdb4a 01:30:02 ---> a61caf7597e6 01:30:02 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:30:02 ---> Running in e8b74ea54205 01:30:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:30:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:30:04 (1/14) Installing libmagic (5.38-r0) 01:30:05 (2/14) Installing file (5.38-r0) 01:30:05 (3/14) Installing libc-dev (0.7.2-r3) 01:30:05 (4/14) Installing g++ (9.3.0-r2) 01:30:13 (5/14) Installing fortify-headers (1.1-r0) 01:30:13 (6/14) Installing patch (2.7.6-r6) 01:30:13 (7/14) Installing build-base (0.5-r2) 01:30:13 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:30:14 (9/14) Installing libedit (20191231.3.1-r0) 01:30:14 (10/14) Installing openssh-client (8.3_p1-r0) 01:30:14 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:30:14 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:30:14 (13/14) Installing openssh-server (8.3_p1-r0) 01:30:15 (14/14) Installing openssh (8.3_p1-r0) 01:30:15 Executing busybox-1.31.1-r16.trigger 01:30:15 OK: 237 MiB in 53 packages 01:30:18 Removing intermediate container e8b74ea54205 01:30:18 ---> 3ce813a4b13e 01:30:18 Step 6/8 : WORKDIR /device-virtual-go 01:30:18 ---> Running in 5650486fa4cf 01:30:18 Removing intermediate container 5650486fa4cf 01:30:18 ---> f82caa456486 01:30:18 Step 7/8 : COPY . . 01:30:19 ---> 981b9cd0f7c7 01:30:19 Step 8/8 : RUN go mod download 01:30:19 ---> Running in a06620df7657 01:30:34 Removing intermediate container a06620df7657 01:30:34 ---> f6f739cd628d 01:30:34 Successfully built f6f739cd628d 01:30:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:30:34 + docker inspect -f . ci-base-image-x86_64 01:30:34 . [Pipeline] withDockerContainer 01:30:34 prd-centos7-docker-4c-2g-348 does not seem to be running inside a container 01:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:30:36 $ docker top a035e5f5d7ce53639e97ff24a899ecf2c6d4e0f91580d55d5dc9ff609edeaec7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:36 + go version 01:30:36 go version go1.15.2 linux/amd64 [Pipeline] } 01:30:36 $ docker stop --time=1 a035e5f5d7ce53639e97ff24a899ecf2c6d4e0f91580d55d5dc9ff609edeaec7 01:30:38 $ docker rm -f a035e5f5d7ce53639e97ff24a899ecf2c6d4e0f91580d55d5dc9ff609edeaec7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:30:38 + docker inspect -f . ci-base-image-x86_64 01:30:38 . [Pipeline] withDockerContainer 01:30:39 prd-centos7-docker-4c-2g-348 does not seem to be running inside a container 01:30:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:30:39 $ docker top 3cd5b9f1917c2c7ef159ba39a1c8db7abeb8a86c601baabe9ebb0307acc2c901 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:40 + make test 01:30:40 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:30:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:30:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:30:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.151s coverage: 56.4% of statements 01:30:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:30:56 gofmt -l . 01:30:56 [ "`gofmt -l .`" = "" ] 01:30:56 ./bin/test-attribution-txt.sh 01:30:57 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:30:58 Stashed 1 file(s) [Pipeline] } 01:30:58 $ docker stop --time=1 3cd5b9f1917c2c7ef159ba39a1c8db7abeb8a86c601baabe9ebb0307acc2c901 01:31:00 $ docker rm -f 3cd5b9f1917c2c7ef159ba39a1c8db7abeb8a86c601baabe9ebb0307acc2c901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:02 + ls -al . 01:31:02 total 108 01:31:02 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 18 01:30 . 01:31:02 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 01:29 .. 01:31:02 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 18 01:29 Attribution.txt 01:31:02 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 01:29 bin 01:31:02 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 01:29 cmd 01:31:02 -rw-r--r--. 1 jenkins jenkins 29142 Sep 18 01:30 coverage.out 01:31:02 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 18 01:29 Dockerfile 01:31:02 -rw-rw-r--. 1 jenkins jenkins 957 Sep 18 01:29 Dockerfile.build 01:31:02 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 01:29 .git 01:31:02 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 01:29 .github 01:31:02 -rw-rw-r--. 1 jenkins jenkins 258 Sep 18 01:29 .gitignore 01:31:02 -rw-r--r--. 1 jenkins jenkins 862 Sep 18 01:30 go.mod 01:31:02 -rw-r--r--. 1 jenkins jenkins 14908 Sep 18 01:30 go.sum 01:31:02 drwxrwxr-x. 3 jenkins jenkins 20 Sep 18 01:29 internal 01:31:02 -rw-rw-r--. 1 jenkins jenkins 660 Sep 18 01:29 Jenkinsfile 01:31:02 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 01:29 LICENSE 01:31:02 -rw-rw-r--. 1 jenkins jenkins 873 Sep 18 01:29 Makefile 01:31:02 -rw-rw-r--. 1 jenkins jenkins 918 Sep 18 01:29 README.md 01:31:02 drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 01:29 .semver 01:31:02 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 01:27 VERSION 01:31:02 -rw-rw-r--. 1 jenkins jenkins 235 Sep 18 01:29 version.go [Pipeline] isUnix [Pipeline] sh 01:31:03 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=57130b4155dc44439b49f73d34af652ea5ca5664 --label arch=amd64 --label version=0.0.0 . 01:31:03 Sending build context to Docker daemon 594.9kB 01:31:03 Step 1/22 : ARG BASE=golang:1.15-alpine 01:31:03 Step 2/22 : FROM ${BASE} AS builder 01:31:03 ---> f6f739cd628d 01:31:03 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:31:03 ---> Running in c4283feec506 01:31:03 Removing intermediate container c4283feec506 01:31:03 ---> 1df85b18a081 01:31:03 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:31:03 ---> Running in 71557cb84151 01:31:03 Removing intermediate container 71557cb84151 01:31:03 ---> b29551888e62 01:31:03 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:31:03 ---> Running in 090b1fc87140 01:31:04 Removing intermediate container 090b1fc87140 01:31:04 ---> 9a4e2e1107ad 01:31:04 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:04 ---> Running in 85afbf3511fb 01:31:05 Removing intermediate container 85afbf3511fb 01:31:05 ---> 6a60fd016d5b 01:31:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:05 ---> Running in b5018a494cd5 01:31:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:31:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:31:06 OK: 237 MiB in 53 packages 01:31:07 Removing intermediate container b5018a494cd5 01:31:07 ---> 0120a4a45cb8 01:31:07 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:31:07 ---> Running in b817e4bbc804 01:31:07 Removing intermediate container b817e4bbc804 01:31:07 ---> aff012e1716b 01:31:07 Step 9/22 : COPY . . 01:31:07 ---> 1b9a842cbf73 01:31:07 Step 10/22 : ARG MAKE='make build' 01:31:07 ---> Running in 997b6374de28 01:31:08 Removing intermediate container 997b6374de28 01:31:08 ---> 8bcd5395ccba 01:31:08 Step 11/22 : RUN $MAKE 01:31:08 ---> Running in 819f403e0a7e 01:31:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:31:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:31:22 Removing intermediate container 819f403e0a7e 01:31:22 ---> 0a6eb9809363 01:31:22 Step 12/22 : FROM alpine 01:31:22 latest: Pulling from library/alpine 01:31:23 df20fa9351a1: Already exists 01:31:23 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:31:23 Status: Downloaded newer image for alpine:latest 01:31:23 ---> a24bb4013296 01:31:23 Step 13/22 : ENV APP_PORT=49990 01:31:23 ---> Running in beae7832e620 01:31:23 Removing intermediate container beae7832e620 01:31:23 ---> a6598d456c8e 01:31:23 Step 14/22 : EXPOSE $APP_PORT 01:31:23 ---> Running in 45d187df2aba 01:31:23 Removing intermediate container 45d187df2aba 01:31:23 ---> f56cf3da48af 01:31:23 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:31:24 ---> 7658631d8e71 01:31:24 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:31:24 ---> c66cc59785db 01:31:24 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:31:25 ---> a4882ec4c78b 01:31:25 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:31:25 ---> Running in 1483ac698e90 01:31:25 Removing intermediate container 1483ac698e90 01:31:25 ---> 26e232f77052 01:31:25 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:31:25 ---> Running in 2094787e4f71 01:31:25 Removing intermediate container 2094787e4f71 01:31:25 ---> baf34f89e7d4 01:31:25 Step 20/22 : LABEL arch=amd64 01:31:25 ---> Running in 6502ffcdf56f 01:31:25 Removing intermediate container 6502ffcdf56f 01:31:25 ---> 50203b6318a3 01:31:25 Step 21/22 : LABEL git_sha=57130b4155dc44439b49f73d34af652ea5ca5664 01:31:25 ---> Running in 1af8efc332e5 01:31:26 Removing intermediate container 1af8efc332e5 01:31:26 ---> ec61998d2999 01:31:26 Step 22/22 : LABEL version=0.0.0 01:31:26 ---> Running in 77f53088eca0 01:31:26 Removing intermediate container 77f53088eca0 01:31:26 ---> 97e1c4d48a1c 01:31:26 [Warning] One or more build-args [ARCH] were not consumed 01:31:26 Successfully built 97e1c4d48a1c 01:31:26 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:31:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-350 in /w/workspace/foundry_device-virtual-go_PR-131 [Pipeline] { [Pipeline] ws 01:31:39 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 01:31:45 using credential edgex-jenkins-ssh 01:31:45 Cloning the remote Git repository 01:31:45 Cloning with configured refspecs honoured and without tags 01:31:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:31:46 > git init /w/workspace/device-virtual-go/3 # timeout=10 01:31:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:31:46 > git --version # timeout=10 01:31:46 > git --version # 'git version 2.17.1' 01:31:46 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:31:46 Fetching without tags 01:31:47 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 57130b4155dc44439b49f73d34af652ea5ca5664 01:31:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:31:46 > git config --add remote.origin.fetch +refs/pull/131/head:refs/remotes/origin/PR-131 # timeout=10 01:31:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:31:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:31:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:31:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:31:47 Merge succeeded, producing 57130b4155dc44439b49f73d34af652ea5ca5664 01:31:47 Checking out Revision 57130b4155dc44439b49f73d34af652ea5ca5664 (PR-131) 01:31:47 > git config core.sparsecheckout # timeout=10 01:31:47 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 01:31:47 > git remote # timeout=10 01:31:47 > git config --get remote.origin.url # timeout=10 01:31:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:47 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 01:31:47 > git rev-parse HEAD^{commit} # timeout=10 01:31:47 > git config core.sparsecheckout # timeout=10 01:31:47 > git checkout -f 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 01:31: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 01:31:53 ========================================================= 01:31:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:31:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:31:54 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 01:31:55 Sending build context to Docker daemon 549.4kB 01:31:55 Step 1/8 : ARG BASE=golang:1.15-alpine 01:31:55 Step 2/8 : FROM ${BASE} 01:31:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:31:55 b538f80385f9: Pulling fs layer 01:31:55 74f711af9a0d: Pulling fs layer 01:31:55 99f96fe45779: Pulling fs layer 01:31:55 8529a6b9a6be: Pulling fs layer 01:31:55 45590311c82a: Pulling fs layer 01:31:55 69ca0ff8b7b3: Pulling fs layer 01:31:55 209524e5b208: Pulling fs layer 01:31:55 45590311c82a: Waiting 01:31:55 69ca0ff8b7b3: Waiting 01:31:55 8529a6b9a6be: Waiting 01:31:55 99f96fe45779: Download complete 01:31:55 74f711af9a0d: Verifying Checksum 01:31:55 74f711af9a0d: Download complete 01:31:55 45590311c82a: Verifying Checksum 01:31:55 45590311c82a: Download complete 01:31:55 69ca0ff8b7b3: Download complete 01:31:55 b538f80385f9: Download complete 01:31:56 b538f80385f9: Pull complete 01:31:56 74f711af9a0d: Pull complete 01:31:57 99f96fe45779: Pull complete 01:31:58 209524e5b208: Verifying Checksum 01:31:58 209524e5b208: Download complete 01:31:59 8529a6b9a6be: Verifying Checksum 01:31:59 8529a6b9a6be: Download complete 01:32:09 8529a6b9a6be: Pull complete 01:32:10 45590311c82a: Pull complete 01:32:10 69ca0ff8b7b3: Pull complete 01:32:14 209524e5b208: Pull complete 01:32:14 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:32:14 ---> 5bddaf1c2fca 01:32:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:32:17 ---> Running in 382b23718f99 01:32:17 Removing intermediate container 382b23718f99 01:32:17 ---> ec08a3c6d263 01:32:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:17 ---> Running in 1ed496a58bc7 01:32:20 Removing intermediate container 1ed496a58bc7 01:32:20 ---> 0b0c73b3c638 01:32:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:32:20 ---> Running in 220a9748f7f2 01:32:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:32:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:32:23 (1/14) Installing libmagic (5.38-r0) 01:32:23 (2/14) Installing file (5.38-r0) 01:32:23 (3/14) Installing libc-dev (0.7.2-r3) 01:32:23 (4/14) Installing g++ (9.3.0-r2) 01:32:27 (5/14) Installing fortify-headers (1.1-r0) 01:32:27 (6/14) Installing patch (2.7.6-r6) 01:32:27 (7/14) Installing build-base (0.5-r2) 01:32:27 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:32:27 (9/14) Installing libedit (20191231.3.1-r0) 01:32:27 (10/14) Installing openssh-client (8.3_p1-r0) 01:32:27 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:32:27 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:32:27 (13/14) Installing openssh-server (8.3_p1-r0) 01:32:28 (14/14) Installing openssh (8.3_p1-r0) 01:32:28 Executing busybox-1.31.1-r16.trigger 01:32:28 OK: 221 MiB in 53 packages 01:32:32 Removing intermediate container 220a9748f7f2 01:32:32 ---> 55bddf4d9639 01:32:32 Step 6/8 : WORKDIR /device-virtual-go 01:32:32 ---> Running in 50c9f6402e21 01:32:33 Removing intermediate container 50c9f6402e21 01:32:33 ---> a8eb81559ea8 01:32:33 Step 7/8 : COPY . . 01:32:34 ---> 0bfc3893150b 01:32:34 Step 8/8 : RUN go mod download 01:32:34 ---> Running in f48f31c40486 01:32:52 Removing intermediate container f48f31c40486 01:32:52 ---> e634295f2dc9 01:32:52 Successfully built e634295f2dc9 01:32:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:32:53 + docker inspect -f . ci-base-image-arm64 01:32:53 . [Pipeline] withDockerContainer 01:32:53 prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container 01:32:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:55 $ docker top d363f45b8d04b47b7c2b7e57366c42039b81861bc00692ac203537c37dfed989 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:56 + go version 01:32:56 go version go1.15.2 linux/arm64 [Pipeline] } 01:32:56 $ docker stop --time=1 d363f45b8d04b47b7c2b7e57366c42039b81861bc00692ac203537c37dfed989 01:32:58 $ docker rm -f d363f45b8d04b47b7c2b7e57366c42039b81861bc00692ac203537c37dfed989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:32:59 + docker inspect -f . ci-base-image-arm64 01:32:59 . [Pipeline] withDockerContainer 01:33:00 prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container 01:33:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:33:02 $ docker top a7af398d88b75a1a0f3e567bd83453aa24729f94a5b81c5695f8ec886a09835a -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:03 + make test 01:33:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:33:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:33:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:33:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.652s coverage: 56.4% of statements 01:33:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:33:54 gofmt -l . 01:33:54 [ "`gofmt -l .`" = "" ] 01:33:54 ./bin/test-attribution-txt.sh 01:33:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:33:55 Warning: overwriting stash ‘coverage-report’ 01:33:56 Stashed 1 file(s) [Pipeline] } 01:33:56 $ docker stop --time=1 a7af398d88b75a1a0f3e567bd83453aa24729f94a5b81c5695f8ec886a09835a 01:33:58 $ docker rm -f a7af398d88b75a1a0f3e567bd83453aa24729f94a5b81c5695f8ec886a09835a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:00 + ls -al . 01:34:00 total 136 01:34:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 01:33 . 01:34:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 01:31 .. 01:34:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 01:31 .git 01:34:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:31 .github 01:34:00 -rw-rw-r-- 1 jenkins jenkins 258 Sep 18 01:31 .gitignore 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:31 .semver 01:34:00 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 18 01:31 Attribution.txt 01:34:00 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 18 01:31 Dockerfile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 957 Sep 18 01:31 Dockerfile.build 01:34:00 -rw-rw-r-- 1 jenkins jenkins 660 Sep 18 01:31 Jenkinsfile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 01:31 LICENSE 01:34:00 -rw-rw-r-- 1 jenkins jenkins 873 Sep 18 01:31 Makefile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 918 Sep 18 01:31 README.md 01:34:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 01:27 VERSION 01:34:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 01:31 bin 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:31 cmd 01:34:00 -rw-r--r-- 1 jenkins jenkins 29142 Sep 18 01:33 coverage.out 01:34:00 -rw-r--r-- 1 jenkins jenkins 862 Sep 18 01:33 go.mod 01:34:00 -rw-r--r-- 1 jenkins jenkins 14908 Sep 18 01:33 go.sum 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 01:31 internal 01:34:00 -rw-rw-r-- 1 jenkins jenkins 235 Sep 18 01:31 version.go [Pipeline] isUnix [Pipeline] sh 01:34:00 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=57130b4155dc44439b49f73d34af652ea5ca5664 --label arch=arm64 --label version=0.0.0 . 01:34:00 Sending build context to Docker daemon 594.9kB 01:34:00 Step 1/22 : ARG BASE=golang:1.15-alpine 01:34:00 Step 2/22 : FROM ${BASE} AS builder 01:34:00 ---> e634295f2dc9 01:34:00 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 01:34:01 ---> Running in 5f8b030edbec 01:34:01 Removing intermediate container 5f8b030edbec 01:34:01 ---> adb969aeb584 01:34:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 01:34:01 ---> Running in 30b658169048 01:34:02 Removing intermediate container 30b658169048 01:34:02 ---> e00471f7d6ec 01:34:02 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 01:34:02 ---> Running in db78c4a35999 01:34:02 Removing intermediate container db78c4a35999 01:34:02 ---> 7f316f2dfda9 01:34:02 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:02 ---> Running in 81516f4a39d3 01:34:05 Removing intermediate container 81516f4a39d3 01:34:05 ---> c3a24322a8fc 01:34:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:05 ---> Running in 0e2cba28ee2a 01:34:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:34:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:34:08 OK: 221 MiB in 53 packages 01:34:09 Removing intermediate container 0e2cba28ee2a 01:34:09 ---> 0f846bc04342 01:34:09 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 01:34:09 ---> Running in 3deb3156de28 01:34:10 Removing intermediate container 3deb3156de28 01:34:10 ---> 1d67a8b29237 01:34:10 Step 9/22 : COPY . . 01:34:11 ---> 89f77b5ba24f 01:34:11 Step 10/22 : ARG MAKE='make build' 01:34:11 ---> Running in d183be765d7f 01:34:11 Removing intermediate container d183be765d7f 01:34:11 ---> 4b7c321d3a42 01:34:11 Step 11/22 : RUN $MAKE 01:34:11 ---> Running in a0439b6df45b 01:34:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 01:34:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:34:52 Removing intermediate container a0439b6df45b 01:34:52 ---> 8ea78c7b6420 01:34:52 Step 12/22 : FROM alpine 01:34:52 latest: Pulling from library/alpine 01:34:52 b538f80385f9: Already exists 01:34:52 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:34:52 Status: Downloaded newer image for alpine:latest 01:34:52 ---> 62ee0e9f8440 01:34:52 Step 13/22 : ENV APP_PORT=49990 01:34:52 ---> Running in 26ef71ff251c 01:34:52 Removing intermediate container 26ef71ff251c 01:34:52 ---> 869775861968 01:34:52 Step 14/22 : EXPOSE $APP_PORT 01:34:52 ---> Running in f57e7242addf 01:34:52 Removing intermediate container f57e7242addf 01:34:52 ---> c16c8c28eac7 01:34:52 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 01:34:54 ---> 22e9fc7993db 01:34:54 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 01:34:55 ---> ccf2862d0a25 01:34:55 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 01:34:56 ---> 52539af0c4d1 01:34:56 Step 18/22 : ENTRYPOINT ["/device-virtual"] 01:34:56 ---> Running in fe2242ba5107 01:34:56 Removing intermediate container fe2242ba5107 01:34:56 ---> 9dd0e55499f3 01:34:56 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:56 ---> Running in cdf7342ef18d 01:34:57 Removing intermediate container cdf7342ef18d 01:34:57 ---> d729b054c3fa 01:34:57 Step 20/22 : LABEL arch=arm64 01:34:57 ---> Running in b52dada1b378 01:34:57 Removing intermediate container b52dada1b378 01:34:57 ---> 32973b23e63b 01:34:57 Step 21/22 : LABEL git_sha=57130b4155dc44439b49f73d34af652ea5ca5664 01:34:57 ---> Running in 6f63bdfe62d8 01:34:58 Removing intermediate container 6f63bdfe62d8 01:34:58 ---> 12106dbfe355 01:34:58 Step 22/22 : LABEL version=0.0.0 01:34:58 ---> Running in 99789e81b520 01:34:59 Removing intermediate container 99789e81b520 01:34:59 ---> cb2655f49851 01:34:59 [Warning] One or more build-args [ARCH] were not consumed 01:34:59 Successfully built cb2655f49851 01:34:59 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 01:35:01 provisioning config files... 01:35:01 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-131@tmp/config4384563666426346261tmp [Pipeline] { [Pipeline] sh 01:35:01 + curl -s https://codecov.io/bash 01:35:01 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-131@tmp/config4384563666426346261tmp [Pipeline] } 01:35:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:35:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:35:04 ---> package-listing.sh 01:35:04 ++ facter osfamily 01:35:04 ++ tr '[:upper:]' '[:lower:]' 01:35:04 + OS_FAMILY=redhat 01:35:04 + workspace=/w/workspace/foundry_device-virtual-go_PR-131 01:35:04 + START_PACKAGES=/tmp/packages_start.txt 01:35:04 + END_PACKAGES=/tmp/packages_end.txt 01:35:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:35:04 + PACKAGES=/tmp/packages_start.txt 01:35:04 + '[' /w/workspace/foundry_device-virtual-go_PR-131 ']' 01:35:04 + PACKAGES=/tmp/packages_end.txt 01:35:04 + case "${OS_FAMILY}" in 01:35:04 + rpm -qa 01:35:04 + sort 01:35:08 + '[' -f /tmp/packages_start.txt ']' 01:35:08 + '[' -f /tmp/packages_end.txt ']' 01:35:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:35:08 + '[' /w/workspace/foundry_device-virtual-go_PR-131 ']' 01:35:08 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-131/archives/ 01:35:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-131/archives/ [Pipeline] isUnix [Pipeline] sh 01:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:35:09 01:35:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:35:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:35:09 alpine: Pulling from edgex-lftools-log-publisher 01:35:09 df20fa9351a1: Pulling fs layer 01:35:09 36b3adc4ff6f: Pulling fs layer 01:35:09 8ad3a11d3b57: Pulling fs layer 01:35:09 46f8f816bc3b: Pulling fs layer 01:35:09 0dadc02b9964: Pulling fs layer 01:35:09 ce6a7cf60c04: Pulling fs layer 01:35:09 7a184a31f384: Pulling fs layer 01:35:09 0879bd2ef858: Pulling fs layer 01:35:09 0dadc02b9964: Waiting 01:35:09 ce6a7cf60c04: Waiting 01:35:09 7a184a31f384: Waiting 01:35:09 0879bd2ef858: Waiting 01:35:09 36b3adc4ff6f: Verifying Checksum 01:35:09 36b3adc4ff6f: Download complete 01:35:09 46f8f816bc3b: Download complete 01:35:09 df20fa9351a1: Verifying Checksum 01:35:09 df20fa9351a1: Download complete 01:35:09 ce6a7cf60c04: Verifying Checksum 01:35:09 ce6a7cf60c04: Download complete 01:35:10 7a184a31f384: Verifying Checksum 01:35:10 7a184a31f384: Download complete 01:35:10 0dadc02b9964: Verifying Checksum 01:35:10 0dadc02b9964: Download complete 01:35:10 8ad3a11d3b57: Verifying Checksum 01:35:10 8ad3a11d3b57: Download complete 01:35:10 df20fa9351a1: Pull complete 01:35:10 36b3adc4ff6f: Pull complete 01:35:10 0879bd2ef858: Verifying Checksum 01:35:10 0879bd2ef858: Download complete 01:35:11 8ad3a11d3b57: Pull complete 01:35:11 46f8f816bc3b: Pull complete 01:35:11 0dadc02b9964: Pull complete 01:35:11 ce6a7cf60c04: Pull complete 01:35:11 7a184a31f384: Pull complete 01:35:14 0879bd2ef858: Pull complete 01:35:14 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 01:35:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:35:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:35:14 prd-centos7-docker-4c-2g-343 does not seem to be running inside a container 01:35:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/foundry_device-virtual-go_PR-131 -v /w/workspace/foundry_device-virtual-go_PR-131:/w/workspace/foundry_device-virtual-go_PR-131:rw,z -v /w/workspace/foundry_device-virtual-go_PR-131@tmp:/w/workspace/foundry_device-virtual-go_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:35:19 $ docker top 56a1177baa5d942ab2642af23983ae67a1ffdab0dbf8e2a31388bac26747f451 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:19 + mkdir -p /var/log/sa [Pipeline] sh 01:35:20 + ls /var/log/sa-host 01:35:20 + sadf -c /var/log/sa-host/sa05 01:35:20 file_magic: OK 01:35:20 HZ: Using current value: 100 01:35:20 file_header: OK 01:35:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:35:20 Statistics: 01:35:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:35:20 File successfully converted to sysstat format version 12.2.1 01:35:20 + sadf -c /var/log/sa-host/sa18 01:35:20 file_magic: OK 01:35:20 HZ: Using current value: 100 01:35:20 file_header: OK 01:35:20 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:35:20 Statistics: 01:35:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:35:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:20 provisioning config files... 01:35:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-131@tmp/config5971097457027427936tmp [Pipeline] { [Pipeline] echo 01:35:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:35:20 ---> create-netrc.sh [Pipeline] echo 01:35:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:35:21 ---> logs-deploy.sh 01:35:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-131/3 01:35:21 INFO: archiving workspace using pattern(s): 01:35:22 Archives upload complete. 01:35:22 INFO: archiving logs to Nexus