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 148b8eca63a97cc99414b4b4a4a16c4369e67a30+f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 (480cf97602c4191f1bd22fe5753427abf2ea612e) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-374 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 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 Fetching without tags Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 148b8eca63a97cc99414b4b4a4a16c4369e67a30 Merge succeeded, producing 148b8eca63a97cc99414b4b4a4a16c4369e67a30 Checking out Revision 148b8eca63a97cc99414b4b4a4a16c4369e67a30 (PR-131) > 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 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # 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 f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # timeout=10 Commit message: "build: upgrade device-sdk-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:01:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:16 ========================================================= 09:01:16 EdgeX Global Pipelines Version Info 09:01:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 57130b4155dc44439b49f73d34af652ea5ca5664 # timeout=10 09:01:19 ------------------- 09:01:19 stable info: 09:01:19 ------------------- 09:01:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:01:19 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 09:01:19 Message: update stable to v1.0.122 09:01:20 ------------------- 09:01:20 experimental info: 09:01:20 ------------------- 09:01:20 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:20 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 09:01:20 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:01:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:01:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo 09:01:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo 09:01:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo 09:01:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 148b8eca63a97cc99414b4b4a4a16c4369e67a30 [Pipeline] echo 09:01:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 148b8ec [Pipeline] echo 09:01:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:25 + git log --format=format:%s -1 148b8eca63a97cc99414b4b4a4a16c4369e67a30 [Pipeline] echo 09:01:25 GIT_COMMIT: 148b8eca63a97cc99414b4b4a4a16c4369e67a30, Commit Message: build: upgrade device-sdk-go [Pipeline] echo 09:01:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:01:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:26 09:01:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:01:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:27 latest: Pulling from edgex-devops/git-semver 09:01:27 31603596830f: Pulling fs layer 09:01:27 2a8b12db71e7: Pulling fs layer 09:01:27 6ca5941a6612: Pulling fs layer 09:01:27 ecc8261a40a4: Pulling fs layer 09:01:27 ecc8261a40a4: Waiting 09:01:27 2a8b12db71e7: Verifying Checksum 09:01:27 2a8b12db71e7: Download complete 09:01:27 31603596830f: Download complete 09:01:27 ecc8261a40a4: Verifying Checksum 09:01:27 ecc8261a40a4: Download complete 09:01:27 6ca5941a6612: Verifying Checksum 09:01:27 6ca5941a6612: Download complete 09:01:27 31603596830f: Pull complete 09:01:28 2a8b12db71e7: Pull complete 09:01:29 6ca5941a6612: Pull complete 09:01:29 ecc8261a40a4: Pull complete 09:01:29 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:01:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:01:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:01:29 prd-centos7-docker-4c-2g-374 does not seem to be running inside a container 09:01:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:01:32 $ docker top 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:33 [ssh-agent] Looking for ssh-agent implementation... 09:01:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:33 $ docker exec 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 ssh-agent 09:01:33 SSH_AUTH_SOCK=/tmp/ssh-yrfHOZwYcUdp/agent.11 09:01:33 SSH_AGENT_PID=16 09:01:33 Running ssh-add (command line suppressed) 09:01:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_4548211378995589120.key (/w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_4548211378995589120.key) 09:01:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:34 + git describe --exact-match --tags HEAD 09:01:34 fatal: No names found, cannot describe anything. [Pipeline] } 09:01:34 $ docker exec --env ******** --env ******** 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 ssh-agent -k 09:01:35 unset SSH_AUTH_SOCK; 09:01:35 unset SSH_AGENT_PID; 09:01:35 echo Agent pid 16 killed; 09:01:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:01:35 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:01:35 This usually means this commit has not been tagged. [Pipeline] sshagent 09:01:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:35 [ssh-agent] Looking for ssh-agent implementation... 09:01:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:35 $ docker exec 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 ssh-agent 09:01:36 SSH_AUTH_SOCK=/tmp/ssh-u6Sk0eAeLE6z/agent.45 09:01:36 SSH_AGENT_PID=50 09:01:36 Running ssh-add (command line suppressed) 09:01:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_5448313545765766852.key (/w/workspace/foundry_device-virtual-go_PR-131@tmp/private_key_5448313545765766852.key) 09:01:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:37 + git semver init 09:01:37 # -> Open(): unable to determine branch for HEAD 09:01:37 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-131/.git 09:01:37 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-131 09:01:37 # $SEMVER_REMOTE_NAME = origin 09:01:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:01:37 # $SEMVER_USER_NAME = edgex-jenkins 09:01:37 # $SEMVER_BRANCH = PR-131 09:01:37 # $SEMVER_TEMP = /tmp/semver-091627011 09:01:37 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:01:37 # '/tmp/semver-091627011' -> '/w/workspace/foundry_device-virtual-go_PR-131/.semver' 09:01:37 # -> Force: false 09:01:37 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-131/.semver [Pipeline] } 09:01:37 $ docker exec --env ******** --env ******** 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 ssh-agent -k 09:01:38 unset SSH_AUTH_SOCK; 09:01:38 unset SSH_AGENT_PID; 09:01:38 echo Agent pid 50 killed; 09:01:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:38 + git semver [Pipeline] } 09:01:38 $ docker stop --time=1 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 09:01:40 $ docker rm -f 3990393e8aafbfbc4c55f39f39e8be491d9e660ac0db91d21f0d64d024c23d15 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:01:42 Stashed 27 file(s) [Pipeline] echo 09:01:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 09:01:42 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:01:58 Still waiting to schedule task 09:01:58 ‘prd-centos7-docker-4c-2g-371’ is offline; ‘prd-centos7-docker-4c-2g-372’ is offline; ‘prd-centos7-docker-4c-2g-373’ is offline; ‘prd-centos7-docker-4c-2g-376’ is offline 09:01:58 Still waiting to schedule task 09:01:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:02:13 Running on prd-centos7-docker-4c-2g-376 in /w/workspace/foundry_device-virtual-go_PR-131 [Pipeline] { [Pipeline] ws 09:02:13 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 09:02:21 using credential edgex-jenkins-ssh 09:02:21 Cloning the remote Git repository 09:02:21 Cloning with configured refspecs honoured and without tags 09:02:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:02:21 > git init /w/workspace/device-virtual-go/4 # timeout=10 09:02:22 Fetching without tags 09:02:22 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:02:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:02:21 > git --version # timeout=10 09:02:21 > git --version # 'git version 2.16.5' 09:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:02:21 > 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 09:02:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:02:22 > git config --add remote.origin.fetch +refs/pull/131/head:refs/remotes/origin/PR-131 # timeout=10 09:02:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:02:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:02:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 09:02:22 > 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 09:02:22 > git config core.sparsecheckout # timeout=10 09:02:23 > git checkout -f 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # timeout=10 09:02:23 Merge succeeded, producing 148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:02:23 Checking out Revision 148b8eca63a97cc99414b4b4a4a16c4369e67a30 (PR-131) 09:02:23 > git remote # timeout=10 09:02:23 > git config --get remote.origin.url # timeout=10 09:02:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:02:23 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 09:02:23 > git rev-parse HEAD^{commit} # timeout=10 09:02:23 > git config core.sparsecheckout # timeout=10 09:02:23 > git checkout -f 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # timeout=10 09:02:27 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:02:28 ========================================================= 09:02:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:02:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:02:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:02:29 Sending build context to Docker daemon 549.4kB 09:02:29 Step 1/8 : ARG BASE=golang:1.15-alpine 09:02:29 Step 2/8 : FROM ${BASE} 09:02:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:30 df20fa9351a1: Pulling fs layer 09:02:30 ed8968b2872e: Pulling fs layer 09:02:30 a92cc7c5fd73: Pulling fs layer 09:02:30 e871e8e8d7a9: Pulling fs layer 09:02:30 e73272ec9a57: Pulling fs layer 09:02:30 1e910a182e73: Pulling fs layer 09:02:30 4e634b169226: Pulling fs layer 09:02:30 e73272ec9a57: Waiting 09:02:30 1e910a182e73: Waiting 09:02:30 4e634b169226: Waiting 09:02:30 e871e8e8d7a9: Waiting 09:02:30 a92cc7c5fd73: Verifying Checksum 09:02:30 a92cc7c5fd73: Download complete 09:02:30 ed8968b2872e: Verifying Checksum 09:02:30 ed8968b2872e: Download complete 09:02:30 e73272ec9a57: Verifying Checksum 09:02:30 e73272ec9a57: Download complete 09:02:30 1e910a182e73: Verifying Checksum 09:02:30 1e910a182e73: Download complete 09:02:31 df20fa9351a1: Verifying Checksum 09:02:31 df20fa9351a1: Download complete 09:02:31 df20fa9351a1: Pull complete 09:02:31 ed8968b2872e: Pull complete 09:02:32 a92cc7c5fd73: Pull complete 09:02:34 4e634b169226: Verifying Checksum 09:02:34 4e634b169226: Download complete 09:02:36 e871e8e8d7a9: Verifying Checksum 09:02:36 e871e8e8d7a9: Download complete 09:02:44 e871e8e8d7a9: Pull complete 09:02:44 e73272ec9a57: Pull complete 09:02:44 1e910a182e73: Pull complete 09:02:50 4e634b169226: Pull complete 09:02:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:02:50 ---> f7629b54cfaa 09:02:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:02:50 ---> Running in e6a6bc2e1ae6 09:02:50 Removing intermediate container e6a6bc2e1ae6 09:02:50 ---> 60998d47eb9e 09:02:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:50 ---> Running in 2d7228f0b688 09:02:51 Removing intermediate container 2d7228f0b688 09:02:51 ---> 76f014297764 09:02:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:02:51 ---> Running in 2a3bdb9ba346 09:02:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:02:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:02:54 (1/14) Installing libmagic (5.38-r0) 09:02:54 (2/14) Installing file (5.38-r0) 09:02:54 (3/14) Installing libc-dev (0.7.2-r3) 09:02:54 (4/14) Installing g++ (9.3.0-r2) 09:03:01 (5/14) Installing fortify-headers (1.1-r0) 09:03:01 (6/14) Installing patch (2.7.6-r6) 09:03:01 (7/14) Installing build-base (0.5-r2) 09:03:01 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:03:01 (9/14) Installing libedit (20191231.3.1-r0) 09:03:01 (10/14) Installing openssh-client (8.3_p1-r0) 09:03:01 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:03:01 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:03:01 (13/14) Installing openssh-server (8.3_p1-r0) 09:03:01 (14/14) Installing openssh (8.3_p1-r0) 09:03:02 Executing busybox-1.31.1-r16.trigger 09:03:02 OK: 237 MiB in 53 packages 09:03:05 Removing intermediate container 2a3bdb9ba346 09:03:05 ---> 3af6c76812f5 09:03:05 Step 6/8 : WORKDIR /device-virtual-go 09:03:05 ---> Running in 434003a5f4b6 09:03:05 Removing intermediate container 434003a5f4b6 09:03:05 ---> e4463c72b985 09:03:05 Step 7/8 : COPY . . 09:03:06 ---> 9b58f797919f 09:03:06 Step 8/8 : RUN go mod download 09:03:06 ---> Running in 2f6772855e6a 09:03:33 Removing intermediate container 2f6772855e6a 09:03:33 ---> d0edffa3af1c 09:03:33 Successfully built d0edffa3af1c 09:03:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:03:34 + docker inspect -f . ci-base-image-x86_64 09:03:34 . [Pipeline] withDockerContainer 09:03:35 prd-centos7-docker-4c-2g-376 does not seem to be running inside a container 09:03:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:37 $ docker top e3c454d46d7b203538b667bd1e4931556cdf620b9ecc8538ac99a9e5ed153d3c -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:38 + go version 09:03:38 go version go1.15.2 linux/amd64 [Pipeline] } 09:03:38 $ docker stop --time=1 e3c454d46d7b203538b667bd1e4931556cdf620b9ecc8538ac99a9e5ed153d3c 09:03:39 $ docker rm -f e3c454d46d7b203538b667bd1e4931556cdf620b9ecc8538ac99a9e5ed153d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:40 + docker inspect -f . ci-base-image-x86_64 09:03:40 . [Pipeline] withDockerContainer 09:03:40 prd-centos7-docker-4c-2g-376 does not seem to be running inside a container 09:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:41 $ docker top 4b1cd5dcde4fc1d2d8622ddc86fe7530a51cdf7169f8dced7845cbf6b3a6c1e3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:42 + make test 09:03:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:03:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:03:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-377 in /w/workspace/foundry_device-virtual-go_PR-131 [Pipeline] { [Pipeline] ws 09:03:57 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 09:04:03 using credential edgex-jenkins-ssh 09:04:03 Cloning the remote Git repository 09:04:03 Cloning with configured refspecs honoured and without tags 09:04:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:04:03 > git init /w/workspace/device-virtual-go/4 # timeout=10 09:04:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:04:03 > git --version # timeout=10 09:04:03 > git --version # 'git version 2.17.1' 09:04:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:03 > 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 09:04:04 Fetching without tags 09:04:05 Merging remotes/origin/master commit f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 into PR head commit 148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:04:05 Merge succeeded, producing 148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:04:05 Checking out Revision 148b8eca63a97cc99414b4b4a4a16c4369e67a30 (PR-131) 09:04:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:04:04 > git config --add remote.origin.fetch +refs/pull/131/head:refs/remotes/origin/PR-131 # timeout=10 09:04:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:04:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:04:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:04:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:04 > 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 09:04:05 > git config core.sparsecheckout # timeout=10 09:04:05 > git checkout -f 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # timeout=10 09:04:05 > git remote # timeout=10 09:04:05 > git config --get remote.origin.url # timeout=10 09:04:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:05 > git merge f15eeb60ed1dfaebdbb1110c59d4e99e14864ad0 # timeout=10 09:04:05 > git rev-parse HEAD^{commit} # timeout=10 09:04:05 > git config core.sparsecheckout # timeout=10 09:04:05 > git checkout -f 148b8eca63a97cc99414b4b4a4a16c4369e67a30 # timeout=10 09:04:09 Commit message: "build: upgrade device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:04:11 ========================================================= 09:04:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:04:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:04:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:04:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.248s coverage: 56.4% of statements 09:04:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:04:12 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:04:13 gofmt -l . 09:04:13 [ "`gofmt -l .`" = "" ] 09:04:13 ./bin/test-attribution-txt.sh 09:04:13 Sending build context to Docker daemon 549.4kB 09:04:13 Step 1/8 : ARG BASE=golang:1.15-alpine 09:04:13 Step 2/8 : FROM ${BASE} 09:04:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:04:13 b538f80385f9: Pulling fs layer 09:04:13 74f711af9a0d: Pulling fs layer 09:04:13 99f96fe45779: Pulling fs layer 09:04:13 8529a6b9a6be: Pulling fs layer 09:04:13 45590311c82a: Pulling fs layer 09:04:13 69ca0ff8b7b3: Pulling fs layer 09:04:13 209524e5b208: Pulling fs layer 09:04:13 45590311c82a: Waiting 09:04:13 69ca0ff8b7b3: Waiting 09:04:13 209524e5b208: Waiting 09:04:13 8529a6b9a6be: Waiting 09:04:13 99f96fe45779: Verifying Checksum 09:04:13 99f96fe45779: Download complete 09:04:13 74f711af9a0d: Verifying Checksum 09:04:13 74f711af9a0d: Download complete 09:04:13 45590311c82a: Verifying Checksum 09:04:13 45590311c82a: Download complete 09:04:13 69ca0ff8b7b3: Verifying Checksum 09:04:13 69ca0ff8b7b3: Download complete 09:04:13 b538f80385f9: Verifying Checksum 09:04:13 b538f80385f9: Download complete 09:04:14 ./bin/test-go-mod-tidy.sh 09:04:14 b538f80385f9: Pull complete [Pipeline] stash 09:04:14 74f711af9a0d: Pull complete 09:04:15 99f96fe45779: Pull complete 09:04:15 Stashed 1 file(s) [Pipeline] } 09:04:15 $ docker stop --time=1 4b1cd5dcde4fc1d2d8622ddc86fe7530a51cdf7169f8dced7845cbf6b3a6c1e3 09:04:16 209524e5b208: Verifying Checksum 09:04:16 209524e5b208: Download complete 09:04:17 8529a6b9a6be: Verifying Checksum 09:04:17 8529a6b9a6be: Download complete 09:04:17 $ docker rm -f 4b1cd5dcde4fc1d2d8622ddc86fe7530a51cdf7169f8dced7845cbf6b3a6c1e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:21 + ls -al . 09:04:21 total 108 09:04:21 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 18 09:04 . 09:04:21 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 09:02 .. 09:04:21 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 18 09:02 Attribution.txt 09:04:21 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 09:02 bin 09:04:21 drwxrwxr-x. 3 jenkins jenkins 32 Sep 18 09:02 cmd 09:04:21 -rw-r--r--. 1 jenkins jenkins 29142 Sep 18 09:04 coverage.out 09:04:21 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 18 09:02 Dockerfile 09:04:21 -rw-rw-r--. 1 jenkins jenkins 957 Sep 18 09:02 Dockerfile.build 09:04:21 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 09:02 .git 09:04:21 drwxrwxr-x. 2 jenkins jenkins 38 Sep 18 09:02 .github 09:04:21 -rw-rw-r--. 1 jenkins jenkins 258 Sep 18 09:02 .gitignore 09:04:21 -rw-r--r--. 1 jenkins jenkins 862 Sep 18 09:04 go.mod 09:04:21 -rw-r--r--. 1 jenkins jenkins 14908 Sep 18 09:04 go.sum 09:04:21 drwxrwxr-x. 3 jenkins jenkins 20 Sep 18 09:02 internal 09:04:21 -rw-rw-r--. 1 jenkins jenkins 660 Sep 18 09:02 Jenkinsfile 09:04:21 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 18 09:02 LICENSE 09:04:21 -rw-rw-r--. 1 jenkins jenkins 873 Sep 18 09:02 Makefile 09:04:21 -rw-rw-r--. 1 jenkins jenkins 918 Sep 18 09:02 README.md 09:04:21 drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 09:02 .semver 09:04:21 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 09:01 VERSION 09:04:21 -rw-rw-r--. 1 jenkins jenkins 235 Sep 18 09:02 version.go [Pipeline] isUnix [Pipeline] sh 09:04:21 + 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=148b8eca63a97cc99414b4b4a4a16c4369e67a30 --label arch=amd64 --label version=0.0.0 . 09:04:22 Sending build context to Docker daemon 594.9kB 09:04:22 Step 1/22 : ARG BASE=golang:1.15-alpine 09:04:22 Step 2/22 : FROM ${BASE} AS builder 09:04:22 ---> d0edffa3af1c 09:04:22 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:04:22 ---> Running in 56041b6f4faf 09:04:22 Removing intermediate container 56041b6f4faf 09:04:22 ---> e59f60364f28 09:04:22 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:04:22 ---> Running in 63eef14425dd 09:04:22 Removing intermediate container 63eef14425dd 09:04:22 ---> 2e150fa27e90 09:04:22 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 09:04:23 ---> Running in 59d433ed6547 09:04:23 Removing intermediate container 59d433ed6547 09:04:23 ---> b6112d22bec4 09:04:23 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:23 ---> Running in 232d6471a75b 09:04:24 Removing intermediate container 232d6471a75b 09:04:24 ---> 75a8dca9ec08 09:04:24 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:24 ---> Running in 8b8322fd8816 09:04:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:04:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:04:27 OK: 237 MiB in 53 packages 09:04:27 8529a6b9a6be: Pull complete 09:04:27 45590311c82a: Pull complete 09:04:27 69ca0ff8b7b3: Pull complete 09:04:27 Removing intermediate container 8b8322fd8816 09:04:27 ---> 76d1c264536e 09:04:27 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:04:27 ---> Running in bdfad0d88d45 09:04:28 Removing intermediate container bdfad0d88d45 09:04:28 ---> 22dfdc4797bb 09:04:28 Step 9/22 : COPY . . 09:04:28 ---> 9cc200490fcd 09:04:28 Step 10/22 : ARG MAKE='make build' 09:04:28 ---> Running in c980752ad078 09:04:29 Removing intermediate container c980752ad078 09:04:29 ---> 8f95e1cc496e 09:04:29 Step 11/22 : RUN $MAKE 09:04:29 ---> Running in 69b9b0530419 09:04:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 09:04:30 209524e5b208: Pull complete 09:04:30 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:04:30 ---> 5bddaf1c2fca 09:04:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:04:34 ---> Running in 7b6788b81098 09:04:34 Removing intermediate container 7b6788b81098 09:04:34 ---> 6a6051b8cb6b 09:04:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:34 ---> Running in c15ceec92a2f 09:04:36 Removing intermediate container c15ceec92a2f 09:04:36 ---> 5cf3b387433c 09:04:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:04:36 ---> Running in 56919840a741 09:04:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:04:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:04:40 (1/14) Installing libmagic (5.38-r0) 09:04:40 (2/14) Installing file (5.38-r0) 09:04:40 (3/14) Installing libc-dev (0.7.2-r3) 09:04:40 (4/14) Installing g++ (9.3.0-r2) 09:04:44 (5/14) Installing fortify-headers (1.1-r0) 09:04:44 (6/14) Installing patch (2.7.6-r6) 09:04:44 (7/14) Installing build-base (0.5-r2) 09:04:44 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:04:44 (9/14) Installing libedit (20191231.3.1-r0) 09:04:44 (10/14) Installing openssh-client (8.3_p1-r0) 09:04:45 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:04:45 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:04:45 (13/14) Installing openssh-server (8.3_p1-r0) 09:04:45 (14/14) Installing openssh (8.3_p1-r0) 09:04:45 Executing busybox-1.31.1-r16.trigger 09:04:45 OK: 221 MiB in 53 packages 09:04:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:04:49 Removing intermediate container 56919840a741 09:04:49 ---> 3df797dd82b3 09:04:49 Step 6/8 : WORKDIR /device-virtual-go 09:04:49 ---> Running in 1a6e9020f72d 09:04:50 Removing intermediate container 1a6e9020f72d 09:04:50 ---> 950f9be0e06a 09:04:50 Step 7/8 : COPY . . 09:04:51 Removing intermediate container 69b9b0530419 09:04:51 ---> b4809afbaf08 09:04:51 Step 12/22 : FROM alpine 09:04:51 ---> c401f29ee997 09:04:51 Step 8/8 : RUN go mod download 09:04:51 ---> Running in c59c56915a90 09:04:51 latest: Pulling from library/alpine 09:04:51 df20fa9351a1: Already exists 09:04:51 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:04:51 Status: Downloaded newer image for alpine:latest 09:04:51 ---> a24bb4013296 09:04:51 Step 13/22 : ENV APP_PORT=49990 09:04:51 ---> Running in a02b77d33b2a 09:04:51 Removing intermediate container a02b77d33b2a 09:04:51 ---> 2e1f946a1579 09:04:51 Step 14/22 : EXPOSE $APP_PORT 09:04:51 ---> Running in a0ba5c488bee 09:04:52 Removing intermediate container a0ba5c488bee 09:04:52 ---> 400abe069944 09:04:52 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:04:53 ---> 6de5efa490ac 09:04:53 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 09:04:53 ---> a8268ef2a197 09:04:53 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 09:04:53 ---> b0f90ceba6e9 09:04:53 Step 18/22 : ENTRYPOINT ["/device-virtual"] 09:04:53 ---> Running in 7c900c44ee3e 09:04:54 Removing intermediate container 7c900c44ee3e 09:04:54 ---> 37c7ec91a55d 09:04:54 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:04:54 ---> Running in 6e7d3e728935 09:04:54 Removing intermediate container 6e7d3e728935 09:04:54 ---> d613450bcfcc 09:04:54 Step 20/22 : LABEL arch=amd64 09:04:54 ---> Running in 795b997a5eac 09:04:54 Removing intermediate container 795b997a5eac 09:04:54 ---> b20056ef1066 09:04:54 Step 21/22 : LABEL git_sha=148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:04:54 ---> Running in c14cae066cd1 09:04:54 Removing intermediate container c14cae066cd1 09:04:54 ---> 876d7df4c315 09:04:54 Step 22/22 : LABEL version=0.0.0 09:04:55 ---> Running in 9c2d872d3101 09:04:55 Removing intermediate container 9c2d872d3101 09:04:55 ---> fbe440a84daf 09:04:55 [Warning] One or more build-args [ARCH] were not consumed 09:04:55 Successfully built fbe440a84daf 09:04:55 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] } 09:05:06 Removing intermediate container c59c56915a90 09:05:06 ---> 4aa945d751b7 09:05:06 Successfully built 4aa945d751b7 09:05:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:05:06 + docker inspect -f . ci-base-image-arm64 09:05:06 . [Pipeline] withDockerContainer 09:05:06 prd-ubuntu18.04-docker-arm64-4c-16g-377 does not seem to be running inside a container 09:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:08 $ docker top ced2e6760a1fec000c837cc4c0bea3d08568315db1d5312f546ff3515e65b394 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:10 + go version 09:05:10 go version go1.15.2 linux/arm64 [Pipeline] } 09:05:10 $ docker stop --time=1 ced2e6760a1fec000c837cc4c0bea3d08568315db1d5312f546ff3515e65b394 09:05:12 $ docker rm -f ced2e6760a1fec000c837cc4c0bea3d08568315db1d5312f546ff3515e65b394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:13 + docker inspect -f . ci-base-image-arm64 09:05:13 . [Pipeline] withDockerContainer 09:05:13 prd-ubuntu18.04-docker-arm64-4c-16g-377 does not seem to be running inside a container 09:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:15 $ docker top 74d11e3ef84cf68196d20eafba3deb8196d2457e49e2e50d7220744fa9f52759 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:16 + make test 09:05:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:05:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:05:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:05:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.641s coverage: 56.4% of statements 09:05:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:06:06 gofmt -l . 09:06:06 [ "`gofmt -l .`" = "" ] 09:06:06 ./bin/test-attribution-txt.sh 09:06:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:06:07 Warning: overwriting stash ‘coverage-report’ 09:06:08 Stashed 1 file(s) [Pipeline] } 09:06:08 $ docker stop --time=1 74d11e3ef84cf68196d20eafba3deb8196d2457e49e2e50d7220744fa9f52759 09:06:10 $ docker rm -f 74d11e3ef84cf68196d20eafba3deb8196d2457e49e2e50d7220744fa9f52759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:12 + ls -al . 09:06:12 total 136 09:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 09:06 . 09:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 09:04 .. 09:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 09:04 .git 09:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:04 .github 09:06:12 -rw-rw-r-- 1 jenkins jenkins 258 Sep 18 09:04 .gitignore 09:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:04 .semver 09:06:12 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 18 09:04 Attribution.txt 09:06:12 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 18 09:04 Dockerfile 09:06:12 -rw-rw-r-- 1 jenkins jenkins 957 Sep 18 09:04 Dockerfile.build 09:06:12 -rw-rw-r-- 1 jenkins jenkins 660 Sep 18 09:04 Jenkinsfile 09:06:12 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 09:04 LICENSE 09:06:12 -rw-rw-r-- 1 jenkins jenkins 873 Sep 18 09:04 Makefile 09:06:12 -rw-rw-r-- 1 jenkins jenkins 918 Sep 18 09:04 README.md 09:06:12 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 09:01 VERSION 09:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 09:04 bin 09:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:04 cmd 09:06:12 -rw-r--r-- 1 jenkins jenkins 29142 Sep 18 09:05 coverage.out 09:06:12 -rw-r--r-- 1 jenkins jenkins 862 Sep 18 09:06 go.mod 09:06:12 -rw-r--r-- 1 jenkins jenkins 14908 Sep 18 09:06 go.sum 09:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 09:04 internal 09:06:12 -rw-rw-r-- 1 jenkins jenkins 235 Sep 18 09:04 version.go [Pipeline] isUnix [Pipeline] sh 09:06:12 + 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=148b8eca63a97cc99414b4b4a4a16c4369e67a30 --label arch=arm64 --label version=0.0.0 . 09:06:13 Sending build context to Docker daemon 594.9kB 09:06:13 Step 1/22 : ARG BASE=golang:1.15-alpine 09:06:13 Step 2/22 : FROM ${BASE} AS builder 09:06:13 ---> 4aa945d751b7 09:06:13 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:06:13 ---> Running in 09dbf3fa6d63 09:06:13 Removing intermediate container 09dbf3fa6d63 09:06:13 ---> af976b5d29c8 09:06:13 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:06:13 ---> Running in 5c0a7aa6b8a2 09:06:14 Removing intermediate container 5c0a7aa6b8a2 09:06:14 ---> 7c42f9a153c9 09:06:14 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 09:06:14 ---> Running in 88b5dfc41192 09:06:15 Removing intermediate container 88b5dfc41192 09:06:15 ---> 3db378756fce 09:06:15 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:15 ---> Running in b66ad8937f47 09:06:17 Removing intermediate container b66ad8937f47 09:06:17 ---> ae787a081875 09:06:17 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:17 ---> Running in 6ab9b63a5a0b 09:06:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:06:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:06:23 OK: 221 MiB in 53 packages 09:06:24 Removing intermediate container 6ab9b63a5a0b 09:06:24 ---> c5c4cf6f818d 09:06:24 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:06:24 ---> Running in 4b5a9ff64a08 09:06:24 Removing intermediate container 4b5a9ff64a08 09:06:24 ---> 6ac69b80f6c2 09:06:24 Step 9/22 : COPY . . 09:06:25 ---> aaca15032c7e 09:06:25 Step 10/22 : ARG MAKE='make build' 09:06:26 ---> Running in 8fc34a741b31 09:06:26 Removing intermediate container 8fc34a741b31 09:06:26 ---> 563f1d963f93 09:06:26 Step 11/22 : RUN $MAKE 09:06:26 ---> Running in c969825366cc 09:06:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 09:07:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:07:08 Removing intermediate container c969825366cc 09:07:08 ---> f333b4f1efac 09:07:08 Step 12/22 : FROM alpine 09:07:09 latest: Pulling from library/alpine 09:07:09 b538f80385f9: Already exists 09:07:09 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:07:09 Status: Downloaded newer image for alpine:latest 09:07:09 ---> 62ee0e9f8440 09:07:09 Step 13/22 : ENV APP_PORT=49990 09:07:09 ---> Running in df9067bca859 09:07:10 Removing intermediate container df9067bca859 09:07:10 ---> af223bafed36 09:07:10 Step 14/22 : EXPOSE $APP_PORT 09:07:10 ---> Running in 50b8e1e8af0c 09:07:10 Removing intermediate container 50b8e1e8af0c 09:07:10 ---> 265496b69cbb 09:07:10 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:07:12 ---> a05a65eee9a5 09:07:12 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 09:07:12 ---> ae0d6c3b2c2f 09:07:12 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 09:07:13 ---> 5ca804ce3c20 09:07:13 Step 18/22 : ENTRYPOINT ["/device-virtual"] 09:07:13 ---> Running in 52da00fda504 09:07:14 Removing intermediate container 52da00fda504 09:07:14 ---> 45a5a8523fd9 09:07:14 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:14 ---> Running in c2f73dd9ab10 09:07:15 Removing intermediate container c2f73dd9ab10 09:07:15 ---> d1f64076879a 09:07:15 Step 20/22 : LABEL arch=arm64 09:07:15 ---> Running in c5616406a304 09:07:15 Removing intermediate container c5616406a304 09:07:15 ---> 2b0ac3c836fe 09:07:15 Step 21/22 : LABEL git_sha=148b8eca63a97cc99414b4b4a4a16c4369e67a30 09:07:15 ---> Running in 87aff24c291c 09:07:16 Removing intermediate container 87aff24c291c 09:07:16 ---> 38baa716f53c 09:07:16 Step 22/22 : LABEL version=0.0.0 09:07:16 ---> Running in 324d21726ddc 09:07:16 Removing intermediate container 324d21726ddc 09:07:16 ---> 21a3f4901e11 09:07:16 [Warning] One or more build-args [ARCH] were not consumed 09:07:16 Successfully built 21a3f4901e11 09:07:16 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 09:07:18 provisioning config files... 09:07:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-131@tmp/config7708223887050790229tmp [Pipeline] { [Pipeline] sh 09:07:19 + curl -s https://codecov.io/bash 09:07:19 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-131@tmp/config7708223887050790229tmp [Pipeline] } 09:07:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:07:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:07:22 ---> package-listing.sh 09:07:22 ++ facter osfamily 09:07:22 ++ tr '[:upper:]' '[:lower:]' 09:07:22 + OS_FAMILY=redhat 09:07:22 + workspace=/w/workspace/foundry_device-virtual-go_PR-131 09:07:22 + START_PACKAGES=/tmp/packages_start.txt 09:07:22 + END_PACKAGES=/tmp/packages_end.txt 09:07:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:07:22 + PACKAGES=/tmp/packages_start.txt 09:07:22 + '[' /w/workspace/foundry_device-virtual-go_PR-131 ']' 09:07:22 + PACKAGES=/tmp/packages_end.txt 09:07:22 + case "${OS_FAMILY}" in 09:07:22 + rpm -qa 09:07:22 + sort 09:07:27 + '[' -f /tmp/packages_start.txt ']' 09:07:27 + '[' -f /tmp/packages_end.txt ']' 09:07:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:07:27 + '[' /w/workspace/foundry_device-virtual-go_PR-131 ']' 09:07:27 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-131/archives/ 09:07:27 + 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 09:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:07:28 09:07:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:07:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:07:29 alpine: Pulling from edgex-lftools-log-publisher 09:07:29 df20fa9351a1: Pulling fs layer 09:07:29 36b3adc4ff6f: Pulling fs layer 09:07:29 8ad3a11d3b57: Pulling fs layer 09:07:29 46f8f816bc3b: Pulling fs layer 09:07:29 0dadc02b9964: Pulling fs layer 09:07:29 ce6a7cf60c04: Pulling fs layer 09:07:29 7a184a31f384: Pulling fs layer 09:07:29 0879bd2ef858: Pulling fs layer 09:07:29 46f8f816bc3b: Waiting 09:07:29 0dadc02b9964: Waiting 09:07:29 ce6a7cf60c04: Waiting 09:07:29 0879bd2ef858: Waiting 09:07:29 7a184a31f384: Waiting 09:07:29 36b3adc4ff6f: Download complete 09:07:29 46f8f816bc3b: Download complete 09:07:29 df20fa9351a1: Download complete 09:07:29 ce6a7cf60c04: Download complete 09:07:29 0dadc02b9964: Verifying Checksum 09:07:29 0dadc02b9964: Download complete 09:07:30 df20fa9351a1: Pull complete 09:07:30 36b3adc4ff6f: Pull complete 09:07:30 8ad3a11d3b57: Verifying Checksum 09:07:30 8ad3a11d3b57: Download complete 09:07:31 0879bd2ef858: Verifying Checksum 09:07:31 0879bd2ef858: Download complete 09:07:32 8ad3a11d3b57: Pull complete 09:07:32 46f8f816bc3b: Pull complete 09:07:32 0dadc02b9964: Pull complete 09:07:32 ce6a7cf60c04: Pull complete 09:07:32 7a184a31f384: Pull complete 09:07:38 0879bd2ef858: Pull complete 09:07:38 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:07:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:07:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:07:38 prd-centos7-docker-4c-2g-374 does not seem to be running inside a container 09:07:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:07:41 $ docker top a09e92658b4cf221f8377f731a8048f583c56c4b67f906821dddb77a59db7749 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:42 + mkdir -p /var/log/sa [Pipeline] sh 09:07:42 + ls /var/log/sa-host 09:07:42 + sadf -c /var/log/sa-host/sa05 09:07:42 file_magic: OK 09:07:42 HZ: Using current value: 100 09:07:42 file_header: OK 09:07:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:07:42 Statistics: 09:07:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:07:42 File successfully converted to sysstat format version 12.2.1 09:07:42 + sadf -c /var/log/sa-host/sa18 09:07:42 file_magic: OK 09:07:42 HZ: Using current value: 100 09:07:42 file_header: OK 09:07:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:07:42 Statistics: 09:07:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:07:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:42 provisioning config files... 09:07:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-131@tmp/config8358708704054197381tmp [Pipeline] { [Pipeline] echo 09:07:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:07:43 ---> create-netrc.sh [Pipeline] echo 09:07:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:07:43 ---> logs-deploy.sh 09:07:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-131/4 09:07:43 INFO: archiving workspace using pattern(s): 09:07:45 Archives upload complete. 09:07:45 INFO: archiving logs to Nexus