Pull request #129 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 hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at fe74ae7deaa8fb351afcf006bcbaede29a7488e6 rather than 836873b83e212c753790857d4db5af1f899cfa04 Obtained Jenkinsfile from fe74ae7deaa8fb351afcf006bcbaede29a7488e6 ‘Jenkinsfile’ has been modified in an untrusted revision 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, goVersion:1.13] ========================================================= [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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 ‘prd-centos7-docker-4c-2g-138’ is offline; ‘prd-centos7-docker-4c-2g-146’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-145’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-148 in /w/workspace/foundry_device-virtual-go_PR-129 [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-129 # 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 Fetching without tags Merging remotes/origin/master commit fe74ae7deaa8fb351afcf006bcbaede29a7488e6 into PR head commit 836873b83e212c753790857d4db5af1f899cfa04 Merge succeeded, producing 836873b83e212c753790857d4db5af1f899cfa04 Checking out Revision 836873b83e212c753790857d4db5af1f899cfa04 (PR-129) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +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/129/head:refs/remotes/origin/PR-129 # 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/129/head:refs/remotes/origin/PR-129 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # 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 fe74ae7deaa8fb351afcf006bcbaede29a7488e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # timeout=10 Commit message: "build: upgrade to use Go1.15" First time build. Skipping changelog. > git rev-list --no-walk 6f571abbc6d43417c1c9fa8ea5ba7be4d78255e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:49:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:49:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:49:21 ========================================================= 08:49:21 EdgeX Global Pipelines Version Info 08:49:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:49:23 ------------------- 08:49:23 stable info: 08:49:23 ------------------- 08:49:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:49:23 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:49:23 Message: update stable to v1.0.122 08:49:25 ------------------- 08:49:25 experimental info: 08:49:25 ------------------- 08:49:25 Commited By: **** collab-it+edgex@linuxfoundation.org 08:49:25 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:49:25 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 08:49:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:49:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-129 [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-129 [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-129 [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 836873b83e212c753790857d4db5af1f899cfa04 [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 836873b [Pipeline] echo 08:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:28 + git log --format=format:%s -1 836873b83e212c753790857d4db5af1f899cfa04 [Pipeline] echo 08:49:28 GIT_COMMIT: 836873b83e212c753790857d4db5af1f899cfa04, Commit Message: build: upgrade to use Go1.15 [Pipeline] echo 08:49:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:49:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:49:30 08:49:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:49:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:49:30 latest: Pulling from edgex-devops/git-semver 08:49:30 31603596830f: Pulling fs layer 08:49:30 2a8b12db71e7: Pulling fs layer 08:49:30 6ca5941a6612: Pulling fs layer 08:49:30 ecc8261a40a4: Pulling fs layer 08:49:30 ecc8261a40a4: Waiting 08:49:30 2a8b12db71e7: Verifying Checksum 08:49:30 2a8b12db71e7: Download complete 08:49:31 31603596830f: Verifying Checksum 08:49:31 31603596830f: Download complete 08:49:31 ecc8261a40a4: Verifying Checksum 08:49:31 ecc8261a40a4: Download complete 08:49:31 6ca5941a6612: Verifying Checksum 08:49:31 6ca5941a6612: Download complete 08:49:32 31603596830f: Pull complete 08:49:32 2a8b12db71e7: Pull complete 08:49:36 6ca5941a6612: Pull complete 08:49:36 ecc8261a40a4: Pull complete 08:49:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:49:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:49:38 prd-centos7-docker-4c-2g-148 does not seem to be running inside a container 08:49:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-129 -v /w/workspace/foundry_device-virtual-go_PR-129:/w/workspace/foundry_device-virtual-go_PR-129:rw,z -v /w/workspace/foundry_device-virtual-go_PR-129@tmp:/w/workspace/foundry_device-virtual-go_PR-129@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:10004/edgex-devops/git-semver:latest cat 08:49:42 $ docker top b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:49:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:49:43 [ssh-agent] Looking for ssh-agent implementation... 08:49:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:49:44 $ docker exec b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d ssh-agent 08:49:45 SSH_AUTH_SOCK=/tmp/ssh-qKrdC9aCUJc8/agent.11 08:49:45 SSH_AGENT_PID=16 08:49:45 Running ssh-add (command line suppressed) 08:49:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-129@tmp/private_key_6973395174382632730.key (/w/workspace/foundry_device-virtual-go_PR-129@tmp/private_key_6973395174382632730.key) 08:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:49:47 + git describe --exact-match --tags HEAD 08:49:47 fatal: No names found, cannot describe anything. [Pipeline] } 08:49:47 $ docker exec --env ******** --env ******** b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d ssh-agent -k 08:49:47 unset SSH_AUTH_SOCK; 08:49:47 unset SSH_AGENT_PID; 08:49:47 echo Agent pid 16 killed; 08:49:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:49:48 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:49:48 This usually means this commit has not been tagged. [Pipeline] sshagent 08:49:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:49:48 [ssh-agent] Looking for ssh-agent implementation... 08:49:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:49:49 $ docker exec b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d ssh-agent 08:49:50 SSH_AUTH_SOCK=/tmp/ssh-XW8ROQdPgc9B/agent.44 08:49:50 SSH_AGENT_PID=50 08:49:50 Running ssh-add (command line suppressed) 08:49:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-129@tmp/private_key_2437359681830180385.key (/w/workspace/foundry_device-virtual-go_PR-129@tmp/private_key_2437359681830180385.key) 08:49:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:49:52 + git semver init 08:49:52 # -> Open(): unable to determine branch for HEAD 08:49:52 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-129/.git 08:49:52 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-129 08:49:52 # $SEMVER_REMOTE_NAME = origin 08:49:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:49:52 # $SEMVER_USER_NAME = edgex-jenkins 08:49:52 # $SEMVER_BRANCH = PR-129 08:49:52 # $SEMVER_TEMP = /tmp/semver-030757232 08:49:52 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:49:53 # '/tmp/semver-030757232' -> '/w/workspace/foundry_device-virtual-go_PR-129/.semver' 08:49:53 # -> Force: false 08:49:53 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-129/.semver [Pipeline] } 08:49:53 $ docker exec --env ******** --env ******** b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d ssh-agent -k 08:49:54 unset SSH_AUTH_SOCK; 08:49:54 unset SSH_AGENT_PID; 08:49:54 echo Agent pid 50 killed; 08:49:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:49:56 + git semver [Pipeline] } 08:49:56 $ docker stop --time=1 b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d 08:49:59 $ docker rm -f b28fc3e732a586c121392aa63af27fbad28dee0453f31236364f308edefad02d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:50:05 Stashed 26 file(s) [Pipeline] echo 08:50:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:50:05 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 08:50:20 Still waiting to schedule task 08:50:20 ‘prd-centos7-docker-4c-2g-138’ is offline; ‘prd-centos7-docker-4c-2g-139’ is offline; ‘prd-centos7-docker-4c-2g-144’ is offline; ‘prd-centos7-docker-4c-2g-149’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-143’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-137’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-142’ doesn’t have label ‘centos7-docker-4c-2g’ 08:50:20 Still waiting to schedule task 08:50:20 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:52:08 Running on prd-centos7-docker-4c-2g-158 in /w/workspace/foundry_device-virtual-go_PR-129 [Pipeline] { [Pipeline] ws 08:52:08 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 08:52:11 using credential edgex-jenkins-ssh 08:52:11 Cloning the remote Git repository 08:52:11 Cloning with configured refspecs honoured and without tags 08:52:11 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:52:11 > git init /w/workspace/device-virtual-go/2 # timeout=10 08:52:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:52:11 > git --version # timeout=10 08:52:11 > git --version # 'git version 2.16.5' 08:52:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:12 Fetching without tags 08:52:12 Merging remotes/origin/master commit fe74ae7deaa8fb351afcf006bcbaede29a7488e6 into PR head commit 836873b83e212c753790857d4db5af1f899cfa04 08:52:13 Merge succeeded, producing 836873b83e212c753790857d4db5af1f899cfa04 08:52:13 Checking out Revision 836873b83e212c753790857d4db5af1f899cfa04 (PR-129) 08:52:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:52:12 > git config --add remote.origin.fetch +refs/pull/129/head:refs/remotes/origin/PR-129 # timeout=10 08:52:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:52:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:52:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:12 > git config core.sparsecheckout # timeout=10 08:52:12 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # timeout=10 08:52:12 > git remote # timeout=10 08:52:13 > git config --get remote.origin.url # timeout=10 08:52:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:13 > git merge fe74ae7deaa8fb351afcf006bcbaede29a7488e6 # timeout=10 08:52:13 > git rev-parse HEAD^{commit} # timeout=10 08:52:13 > git config core.sparsecheckout # timeout=10 08:52:13 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # timeout=10 08:52:16 Commit message: "build: upgrade to use Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:52:17 ========================================================= 08:52:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:52:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:52:18 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 08:52:19 Sending build context to Docker daemon 539.6kB 08:52:19 Step 1/8 : ARG BASE=golang:1.15-alpine 08:52:19 Step 2/8 : FROM ${BASE} 08:52:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:52:19 df20fa9351a1: Pulling fs layer 08:52:19 ed8968b2872e: Pulling fs layer 08:52:19 a92cc7c5fd73: Pulling fs layer 08:52:19 2dd03ba5bac4: Pulling fs layer 08:52:19 1e091d79d1de: Pulling fs layer 08:52:19 481702a1767f: Pulling fs layer 08:52:19 f64a6f60c768: Pulling fs layer 08:52:19 e78d2573fc39: Pulling fs layer 08:52:19 e876d2f968b6: Pulling fs layer 08:52:19 ce8a83651883: Pulling fs layer 08:52:19 07967f4d0e4b: Pulling fs layer 08:52:19 f64a6f60c768: Waiting 08:52:19 e78d2573fc39: Waiting 08:52:19 e876d2f968b6: Waiting 08:52:19 2dd03ba5bac4: Waiting 08:52:19 ce8a83651883: Waiting 08:52:19 07967f4d0e4b: Waiting 08:52:19 1e091d79d1de: Waiting 08:52:19 481702a1767f: Waiting 08:52:19 a92cc7c5fd73: Verifying Checksum 08:52:19 a92cc7c5fd73: Download complete 08:52:19 ed8968b2872e: Download complete 08:52:19 1e091d79d1de: Verifying Checksum 08:52:19 1e091d79d1de: Download complete 08:52:19 481702a1767f: Verifying Checksum 08:52:19 481702a1767f: Download complete 08:52:19 df20fa9351a1: Verifying Checksum 08:52:19 df20fa9351a1: Download complete 08:52:19 df20fa9351a1: Pull complete 08:52:19 ed8968b2872e: Pull complete 08:52:19 a92cc7c5fd73: Pull complete 08:52:22 f64a6f60c768: Verifying Checksum 08:52:22 f64a6f60c768: Download complete 08:52:22 e876d2f968b6: Verifying Checksum 08:52:22 e876d2f968b6: Download complete 08:52:23 ce8a83651883: Verifying Checksum 08:52:23 ce8a83651883: Download complete 08:52:23 07967f4d0e4b: Verifying Checksum 08:52:23 07967f4d0e4b: Download complete 08:52:23 e78d2573fc39: Verifying Checksum 08:52:23 e78d2573fc39: Download complete 08:52:24 2dd03ba5bac4: Verifying Checksum 08:52:24 2dd03ba5bac4: Download complete 08:52:29 2dd03ba5bac4: Pull complete 08:52:29 1e091d79d1de: Pull complete 08:52:30 481702a1767f: Pull complete 08:52:40 f64a6f60c768: Pull complete 08:52:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-157 in /w/workspace/foundry_device-virtual-go_PR-129 [Pipeline] { [Pipeline] ws 08:52:42 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 08:52:43 e78d2573fc39: Pull complete 08:52:43 e876d2f968b6: Pull complete 08:52:44 ce8a83651883: Pull complete 08:52:44 07967f4d0e4b: Pull complete 08:52:44 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 08:52:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:52:44 ---> 5d7c900382c6 08:52:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:52:46 ---> Running in 7593bb0a7b75 08:52:46 Removing intermediate container 7593bb0a7b75 08:52:46 ---> be7b14d8f10f 08:52:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:46 ---> Running in 2ac1cc30255e 08:52:47 Removing intermediate container 2ac1cc30255e 08:52:47 ---> 3d3a86df2b72 08:52:47 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:52:47 ---> Running in a8e37aa9ab13 08:52:47 using credential edgex-jenkins-ssh 08:52:47 Cloning the remote Git repository 08:52:47 Cloning with configured refspecs honoured and without tags 08:52:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:52:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:52:48 > git init /w/workspace/device-virtual-go/2 # timeout=10 08:52:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:52:48 > git --version # timeout=10 08:52:48 > git --version # 'git version 2.17.1' 08:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:49 Fetching without tags 08:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:49 Merging remotes/origin/master commit fe74ae7deaa8fb351afcf006bcbaede29a7488e6 into PR head commit 836873b83e212c753790857d4db5af1f899cfa04 08:52:49 Merge succeeded, producing 836873b83e212c753790857d4db5af1f899cfa04 08:52:49 Checking out Revision 836873b83e212c753790857d4db5af1f899cfa04 (PR-129) 08:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:52:48 > git config --add remote.origin.fetch +refs/pull/129/head:refs/remotes/origin/PR-129 # timeout=10 08:52:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:52:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:52:49 > git config core.sparsecheckout # timeout=10 08:52:49 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # timeout=10 08:52:49 > git remote # timeout=10 08:52:49 > git config --get remote.origin.url # timeout=10 08:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:52:49 > git merge fe74ae7deaa8fb351afcf006bcbaede29a7488e6 # timeout=10 08:52:49 > git rev-parse HEAD^{commit} # timeout=10 08:52:49 > git config core.sparsecheckout # timeout=10 08:52:49 > git checkout -f 836873b83e212c753790857d4db5af1f899cfa04 # timeout=10 08:52:51 (1/14) Installing libmagic (5.38-r0) 08:52:51 (2/14) Installing file (5.38-r0) 08:52:51 (3/14) Installing libc-dev (0.7.2-r3) 08:52:51 (4/14) Installing g++ (9.3.0-r2) 08:52:54 Commit message: "build: upgrade to use Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:52:55 ========================================================= 08:52:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:52:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:52:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 08:52:57 Sending build context to Docker daemon 539.6kB 08:52:57 Step 1/8 : ARG BASE=golang:1.15-alpine 08:52:57 Step 2/8 : FROM ${BASE} 08:52:58 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:52:58 b538f80385f9: Pulling fs layer 08:52:58 74f711af9a0d: Pulling fs layer 08:52:58 99f96fe45779: Pulling fs layer 08:52:58 fd7a069fd194: Pulling fs layer 08:52:58 66aa3694b03b: Pulling fs layer 08:52:58 170f70906a0f: Pulling fs layer 08:52:58 ad7c5574e4b9: Pulling fs layer 08:52:58 e772456be8f7: Pulling fs layer 08:52:58 c890913d741a: Pulling fs layer 08:52:58 2480fcc9aa5a: Pulling fs layer 08:52:58 09adf4765672: Pulling fs layer 08:52:58 fd7a069fd194: Waiting 08:52:58 66aa3694b03b: Waiting 08:52:58 170f70906a0f: Waiting 08:52:58 ad7c5574e4b9: Waiting 08:52:58 e772456be8f7: Waiting 08:52:58 c890913d741a: Waiting 08:52:58 2480fcc9aa5a: Waiting 08:52:58 09adf4765672: Waiting 08:52:58 99f96fe45779: Verifying Checksum 08:52:58 99f96fe45779: Download complete 08:52:58 74f711af9a0d: Verifying Checksum 08:52:58 74f711af9a0d: Download complete 08:52:58 66aa3694b03b: Verifying Checksum 08:52:58 66aa3694b03b: Download complete 08:52:58 170f70906a0f: Verifying Checksum 08:52:58 170f70906a0f: Download complete 08:52:58 b538f80385f9: Verifying Checksum 08:52:58 b538f80385f9: Download complete 08:52:59 b538f80385f9: Pull complete 08:52:59 74f711af9a0d: Pull complete 08:53:00 99f96fe45779: Pull complete 08:53:03 ad7c5574e4b9: Verifying Checksum 08:53:03 ad7c5574e4b9: Download complete 08:53:03 c890913d741a: Verifying Checksum 08:53:03 c890913d741a: Download complete 08:53:05 2480fcc9aa5a: Verifying Checksum 08:53:05 2480fcc9aa5a: Download complete 08:53:05 09adf4765672: Verifying Checksum 08:53:05 09adf4765672: Download complete 08:53:05 e772456be8f7: Verifying Checksum 08:53:05 e772456be8f7: Download complete 08:53:06 fd7a069fd194: Verifying Checksum 08:53:06 fd7a069fd194: Download complete 08:53:13 (5/14) Installing fortify-headers (1.1-r0) 08:53:13 (6/14) Installing patch (2.7.6-r6) 08:53:13 (7/14) Installing build-base (0.5-r2) 08:53:13 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:53:14 (9/14) Installing libedit (20191231.3.1-r0) 08:53:14 (10/14) Installing openssh-client (8.3_p1-r0) 08:53:15 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:53:15 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:53:15 (13/14) Installing openssh-server (8.3_p1-r0) 08:53:16 (14/14) Installing openssh (8.3_p1-r0) 08:53:16 Executing busybox-1.31.1-r16.trigger 08:53:16 OK: 237 MiB in 53 packages 08:53:18 fd7a069fd194: Pull complete 08:53:18 66aa3694b03b: Pull complete 08:53:18 170f70906a0f: Pull complete 08:53:19 Removing intermediate container a8e37aa9ab13 08:53:19 ---> 9549c034be46 08:53:19 Step 6/8 : WORKDIR /device-virtual-go 08:53:19 ---> Running in 4217875f69ca 08:53:19 Removing intermediate container 4217875f69ca 08:53:19 ---> 13b9d17fa58a 08:53:19 Step 7/8 : COPY . . 08:53:20 ---> 5079a7698d53 08:53:20 Step 8/8 : RUN go mod download 08:53:20 ---> Running in 5320508e86b2 08:53:21 ad7c5574e4b9: Pull complete 08:53:22 go: finding github.com/BurntSushi/toml v0.3.1 08:53:22 go: finding github.com/OneOfOne/xxhash v1.2.6 08:53:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:53:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:53:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:53:22 go: finding github.com/bgentry/speakeasy v0.1.0 08:53:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:53:22 go: finding github.com/davecgh/go-spew v1.1.1 08:53:22 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:53:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:53:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:53:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:53:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:53:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:53:23 go: finding github.com/edsrzf/mmap-go v1.0.0 08:53:23 go: finding github.com/fatih/color v1.7.0 08:53:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:53:23 go: finding github.com/go-kit/kit v0.8.0 08:53:23 go: finding github.com/go-logfmt/logfmt v0.4.0 08:53:23 go: finding github.com/go-stack/stack v1.8.0 08:53:23 go: finding github.com/golang/snappy v0.0.1 08:53:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:53:23 go: finding github.com/google/uuid v1.1.0 08:53:23 go: finding github.com/gorilla/mux v1.7.1 08:53:23 go: finding github.com/hashicorp/consul/api v1.1.0 08:53:23 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:53:23 go: finding github.com/hashicorp/errwrap v1.0.0 08:53:23 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:53:23 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:53:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:53:23 go: finding github.com/hashicorp/go-multierror v1.0.0 08:53:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:53:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:53:23 go: finding github.com/hashicorp/go-syslog v1.0.0 08:53:23 go: finding github.com/hashicorp/go-uuid v1.0.1 08:53:23 go: finding github.com/hashicorp/go.net v0.0.1 08:53:23 go: finding github.com/hashicorp/golang-lru v0.5.0 08:53:23 go: finding github.com/hashicorp/logutils v1.0.0 08:53:23 go: finding github.com/hashicorp/mdns v1.0.0 08:53:23 go: finding github.com/hashicorp/memberlist v0.1.3 08:53:23 go: finding github.com/hashicorp/serf v0.8.2 08:53:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:53:23 go: finding github.com/mattn/go-colorable v0.0.9 08:53:23 go: finding github.com/mattn/go-isatty v0.0.3 08:53:23 go: finding github.com/miekg/dns v1.0.14 08:53:23 go: finding github.com/mitchellh/cli v1.0.0 08:53:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:53:23 go: finding github.com/mitchellh/copystructure v1.0.0 08:53:23 go: finding github.com/mitchellh/go-homedir v1.0.0 08:53:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:53:23 go: finding github.com/mitchellh/gox v0.4.0 08:53:23 go: finding github.com/mitchellh/iochan v1.0.0 08:53:23 go: finding github.com/mitchellh/mapstructure v1.1.2 08:53:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:53:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:53:23 go: finding github.com/pelletier/go-toml v1.2.0 08:53:23 go: finding github.com/pkg/errors v0.8.1 08:53:23 go: finding github.com/pmezard/go-difflib v1.0.0 08:53:23 go: finding github.com/posener/complete v1.1.1 08:53:23 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:53:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:53:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:53:24 go: finding github.com/stretchr/objx v0.1.0 08:53:24 go: finding github.com/stretchr/testify v1.5.1 08:53:24 go: finding github.com/ugorji/go v1.1.4 08:53:24 go: finding github.com/x448/float16 v0.8.4 08:53:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:53:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:53:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:53:24 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:53:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:53:24 go: finding gopkg.in/yaml.v2 v2.2.8 08:53:24 go: finding modernc.org/b v1.0.0 08:53:24 go: finding modernc.org/db v1.0.0 08:53:24 go: finding modernc.org/file v1.0.0 08:53:24 go: finding modernc.org/fileutil v1.0.0 08:53:24 go: finding modernc.org/golex v1.0.0 08:53:24 go: finding modernc.org/internal v1.0.0 08:53:24 go: finding modernc.org/lldb v1.0.0 08:53:24 go: finding modernc.org/mathutil v1.0.0 08:53:24 go: finding modernc.org/ql v1.0.0 08:53:24 go: finding modernc.org/sortutil v1.0.0 08:53:24 go: finding modernc.org/strutil v1.0.0 08:53:24 go: finding modernc.org/zappy v1.0.0 08:53:26 e772456be8f7: Pull complete 08:53:26 c890913d741a: Pull complete 08:53:28 2480fcc9aa5a: Pull complete 08:53:29 09adf4765672: Pull complete 08:53:29 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 08:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:53:29 ---> 2248a725d1cf 08:53:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:53:34 Removing intermediate container 5320508e86b2 08:53:34 ---> 8b6496f7e807 08:53:34 Successfully built 8b6496f7e807 08:53:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:53:34 ---> Running in 948b48452e6c 08:53:34 Removing intermediate container 948b48452e6c 08:53:34 ---> 0d896509a702 08:53:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:53:34 ---> Running in 838bfe424203 08:53:35 + docker inspect -f . ci-base-image-x86_64 08:53:35 . [Pipeline] withDockerContainer 08:53:35 prd-centos7-docker-4c-2g-158 does not seem to be running inside a container 08:53:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:53:37 $ docker top 04899069cf3d2edad5db9d6620fb4fc1783272229d704c807e978aa6a2cb96ba -eo pid,comm [Pipeline] { [Pipeline] sh 08:53:37 Removing intermediate container 838bfe424203 08:53:37 ---> 4d98c3cb0f6e 08:53:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:53:37 ---> Running in 717521e5814d 08:53:37 + go version 08:53:37 go version go1.13.13 linux/amd64 [Pipeline] } 08:53:37 $ docker stop --time=1 04899069cf3d2edad5db9d6620fb4fc1783272229d704c807e978aa6a2cb96ba 08:53:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:53:39 $ docker rm -f 04899069cf3d2edad5db9d6620fb4fc1783272229d704c807e978aa6a2cb96ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 08:53:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:53:40 + docker inspect -f . ci-base-image-x86_64 08:53:40 . [Pipeline] withDockerContainer 08:53:40 prd-centos7-docker-4c-2g-158 does not seem to be running inside a container 08:53:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:53:41 (1/14) Installing libmagic (5.38-r0) 08:53:41 (2/14) Installing file (5.38-r0) 08:53:41 $ docker top 1201bf443e93e3b40aab8f8910ccfdcea0334b6d59e3de52f2f63824b9becb8b -eo pid,comm [Pipeline] { 08:53:41 (3/14) Installing libc-dev (0.7.2-r3) 08:53:41 (4/14) Installing g++ (9.3.0-r2) [Pipeline] sh 08:53:41 + make test 08:53:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:53:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:53:45 (5/14) Installing fortify-headers (1.1-r0) 08:53:45 (6/14) Installing patch (2.7.6-r6) 08:53:45 (7/14) Installing build-base (0.5-r2) 08:53:45 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:53:45 (9/14) Installing libedit (20191231.3.1-r0) 08:53:45 (10/14) Installing openssh-client (8.3_p1-r0) 08:53:45 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:53:46 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:53:46 (13/14) Installing openssh-server (8.3_p1-r0) 08:53:47 (14/14) Installing openssh (8.3_p1-r0) 08:53:47 Executing busybox-1.31.1-r16.trigger 08:53:47 OK: 221 MiB in 53 packages 08:53:52 Removing intermediate container 717521e5814d 08:53:52 ---> 7c38d6b4d8c0 08:53:52 Step 6/8 : WORKDIR /device-virtual-go 08:53:52 ---> Running in 11286c4aa1ae 08:53:52 Removing intermediate container 11286c4aa1ae 08:53:52 ---> 41dc2b25042f 08:53:52 Step 7/8 : COPY . . 08:53:53 ---> 037c3150d8ea 08:53:53 Step 8/8 : RUN go mod download 08:53:53 ---> Running in 148a873cb291 08:53:56 go: finding github.com/BurntSushi/toml v0.3.1 08:53:56 go: finding github.com/OneOfOne/xxhash v1.2.6 08:53:56 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:53:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:53:56 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:53:56 go: finding github.com/bgentry/speakeasy v0.1.0 08:53:56 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:53:56 go: finding github.com/davecgh/go-spew v1.1.1 08:53:56 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:53:56 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:53:56 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:53:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:53:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:53:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:53:56 go: finding github.com/edsrzf/mmap-go v1.0.0 08:53:56 go: finding github.com/fatih/color v1.7.0 08:53:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:53:56 go: finding github.com/go-kit/kit v0.8.0 08:53:56 go: finding github.com/go-logfmt/logfmt v0.4.0 08:53:56 go: finding github.com/go-stack/stack v1.8.0 08:53:56 go: finding github.com/golang/snappy v0.0.1 08:53:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:53:56 go: finding github.com/google/uuid v1.1.0 08:53:56 go: finding github.com/gorilla/mux v1.7.1 08:53:56 go: finding github.com/hashicorp/consul/api v1.1.0 08:53:56 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:53:56 go: finding github.com/hashicorp/errwrap v1.0.0 08:53:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:53:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:53:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:53:56 go: finding github.com/hashicorp/go-multierror v1.0.0 08:53:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:53:56 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:53:56 go: finding github.com/hashicorp/go-syslog v1.0.0 08:53:56 go: finding github.com/hashicorp/go-uuid v1.0.1 08:53:56 go: finding github.com/hashicorp/go.net v0.0.1 08:53:56 go: finding github.com/hashicorp/golang-lru v0.5.0 08:53:56 go: finding github.com/hashicorp/logutils v1.0.0 08:53:57 go: finding github.com/hashicorp/mdns v1.0.0 08:53:57 go: finding github.com/hashicorp/memberlist v0.1.3 08:53:57 go: finding github.com/hashicorp/serf v0.8.2 08:53:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:53:57 go: finding github.com/mattn/go-colorable v0.0.9 08:53:57 go: finding github.com/mattn/go-isatty v0.0.3 08:53:57 go: finding github.com/miekg/dns v1.0.14 08:53:57 go: finding github.com/mitchellh/cli v1.0.0 08:53:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:53:57 go: finding github.com/mitchellh/copystructure v1.0.0 08:53:57 go: finding github.com/mitchellh/go-homedir v1.0.0 08:53:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:53:57 go: finding github.com/mitchellh/gox v0.4.0 08:53:57 go: finding github.com/mitchellh/iochan v1.0.0 08:53:57 go: finding github.com/mitchellh/mapstructure v1.1.2 08:53:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:53:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:53:57 go: finding github.com/pelletier/go-toml v1.2.0 08:53:57 go: finding github.com/pkg/errors v0.8.1 08:53:57 go: finding github.com/pmezard/go-difflib v1.0.0 08:53:57 go: finding github.com/posener/complete v1.1.1 08:53:57 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:53:57 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:53:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:53:57 go: finding github.com/stretchr/objx v0.1.0 08:53:57 go: finding github.com/stretchr/testify v1.5.1 08:53:57 go: finding github.com/ugorji/go v1.1.4 08:53:57 go: finding github.com/x448/float16 v0.8.4 08:53:57 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:53:57 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:53:57 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:53:57 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:53:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:53:57 go: finding gopkg.in/yaml.v2 v2.2.8 08:53:57 go: finding modernc.org/b v1.0.0 08:53:58 go: finding modernc.org/db v1.0.0 08:53:58 go: finding modernc.org/file v1.0.0 08:53:58 go: finding modernc.org/fileutil v1.0.0 08:53:58 go: finding modernc.org/golex v1.0.0 08:53:58 go: finding modernc.org/internal v1.0.0 08:53:58 go: finding modernc.org/lldb v1.0.0 08:53:58 go: finding modernc.org/mathutil v1.0.0 08:53:58 go: finding modernc.org/ql v1.0.0 08:53:58 go: finding modernc.org/sortutil v1.0.0 08:53:58 go: finding modernc.org/strutil v1.0.0 08:53:58 go: finding modernc.org/zappy v1.0.0 08:53:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:53:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.242s coverage: 56.4% of statements 08:53:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:54:02 gofmt -l . 08:54:02 [ "`gofmt -l .`" = "" ] 08:54:02 ./bin/test-attribution-txt.sh 08:54:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:54:04 Stashed 1 file(s) [Pipeline] } 08:54:04 $ docker stop --time=1 1201bf443e93e3b40aab8f8910ccfdcea0334b6d59e3de52f2f63824b9becb8b 08:54:06 $ docker rm -f 1201bf443e93e3b40aab8f8910ccfdcea0334b6d59e3de52f2f63824b9becb8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:54:08 + ls -al . 08:54:08 total 108 08:54:08 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 17 08:54 . 08:54:08 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:52 .. 08:54:08 -rw-rw-r--. 1 jenkins jenkins 6036 Sep 17 08:52 Attribution.txt 08:54:08 drwxrwxr-x. 2 jenkins jenkins 64 Sep 17 08:52 bin 08:54:08 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:52 cmd 08:54:08 -rw-r--r--. 1 jenkins jenkins 29142 Sep 17 08:53 coverage.out 08:54:08 -rw-rw-r--. 1 jenkins jenkins 1834 Sep 17 08:52 Dockerfile 08:54:08 -rw-rw-r--. 1 jenkins jenkins 957 Sep 17 08:52 Dockerfile.build 08:54:08 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:52 .git 08:54:08 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:52 .github 08:54:08 -rw-rw-r--. 1 jenkins jenkins 258 Sep 17 08:52 .gitignore 08:54:08 -rw-r--r--. 1 jenkins jenkins 855 Sep 17 08:54 go.mod 08:54:08 -rw-r--r--. 1 jenkins jenkins 14894 Sep 17 08:54 go.sum 08:54:08 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:52 internal 08:54:08 -rw-rw-r--. 1 jenkins jenkins 660 Sep 17 08:52 Jenkinsfile 08:54:08 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:52 LICENSE 08:54:08 -rw-rw-r--. 1 jenkins jenkins 873 Sep 17 08:52 Makefile 08:54:08 -rw-rw-r--. 1 jenkins jenkins 918 Sep 17 08:52 README.md 08:54:08 drwxrwxr-x. 3 jenkins jenkins 58 Sep 17 08:52 .semver 08:54:08 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:50 VERSION 08:54:08 -rw-rw-r--. 1 jenkins jenkins 235 Sep 17 08:52 version.go [Pipeline] isUnix [Pipeline] sh 08:54:08 + 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=836873b83e212c753790857d4db5af1f899cfa04 --label arch=amd64 --label version=0.0.0 . 08:54:08 Sending build context to Docker daemon 585.2kB 08:54:08 Step 1/22 : ARG BASE=golang:1.15-alpine 08:54:08 Step 2/22 : FROM ${BASE} AS builder 08:54:08 ---> 8b6496f7e807 08:54:08 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:54:08 ---> Running in da163ddc0eb3 08:54:09 Removing intermediate container da163ddc0eb3 08:54:09 ---> dd9b7e9f368a 08:54:09 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:54:09 ---> Running in 97423efa3307 08:54:09 Removing intermediate container 97423efa3307 08:54:09 ---> e89be6714cb9 08:54:09 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:54:09 ---> Running in 617a32af41a0 08:54:09 Removing intermediate container 617a32af41a0 08:54:09 ---> 89c39079866d 08:54:09 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:09 ---> Running in c9a7cbd9567c 08:54:10 Removing intermediate container c9a7cbd9567c 08:54:10 ---> 5f9f2f53ffd7 08:54:10 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:10 ---> Running in 1014a0a41063 08:54:10 Removing intermediate container 148a873cb291 08:54:10 ---> 9ef50e73d818 08:54:10 Successfully built 9ef50e73d818 08:54:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:54:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:11 + docker inspect -f . ci-base-image-arm64 08:54:11 . [Pipeline] withDockerContainer 08:54:11 prd-ubuntu18.04-docker-arm64-4c-16g-157 does not seem to be running inside a container 08:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:54:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:11 OK: 237 MiB in 53 packages 08:54:12 Removing intermediate container 1014a0a41063 08:54:12 ---> be1ef1e18a29 08:54:12 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:54:12 ---> Running in 09fa9c439fbf 08:54:12 Removing intermediate container 09fa9c439fbf 08:54:12 ---> d001d5c42693 08:54:12 Step 9/22 : COPY . . 08:54:13 ---> 423495749780 08:54:13 Step 10/22 : ARG MAKE='make build' 08:54:13 ---> Running in a6119d9307a7 08:54:13 Removing intermediate container a6119d9307a7 08:54:13 ---> 7a2d93f8975a 08:54:13 Step 11/22 : RUN $MAKE 08:54:13 ---> Running in 9c39b62709e4 08:54:13 $ docker top 88b6d08adfd33919de461652ffa2a50db347dfbcd0b7aec6da5e5ed35c3b4e7b -eo pid,comm 08:54: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 [Pipeline] { [Pipeline] sh 08:54:15 + go version 08:54:15 go version go1.13.13 linux/arm64 [Pipeline] } 08:54:15 $ docker stop --time=1 88b6d08adfd33919de461652ffa2a50db347dfbcd0b7aec6da5e5ed35c3b4e7b 08:54:17 $ docker rm -f 88b6d08adfd33919de461652ffa2a50db347dfbcd0b7aec6da5e5ed35c3b4e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:54:18 + docker inspect -f . ci-base-image-arm64 08:54:18 . [Pipeline] withDockerContainer 08:54:18 prd-ubuntu18.04-docker-arm64-4c-16g-157 does not seem to be running inside a container 08:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:54:20 $ docker top d79673a13de07434acaba887b3e4228345415ea48ed69908fb1b315c2a0f4973 -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:22 + make test 08:54:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:54:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:54:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:54:31 Removing intermediate container 9c39b62709e4 08:54:31 ---> ce52b4830d7b 08:54:31 Step 12/22 : FROM alpine 08:54:31 latest: Pulling from library/alpine 08:54:31 df20fa9351a1: Already exists 08:54:31 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:54:31 Status: Downloaded newer image for alpine:latest 08:54:31 ---> a24bb4013296 08:54:31 Step 13/22 : ENV APP_PORT=49990 08:54:31 ---> Running in 2400fa020695 08:54:31 Removing intermediate container 2400fa020695 08:54:31 ---> 267bb3282a37 08:54:31 Step 14/22 : EXPOSE $APP_PORT 08:54:31 ---> Running in 467ac37ff82c 08:54:31 Removing intermediate container 467ac37ff82c 08:54:31 ---> d5cec98b47b3 08:54:31 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:54:32 ---> 1a5c0728af66 08:54:32 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:54:32 ---> b62ed21ecd97 08:54:32 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:54:32 ---> 050630d016ae 08:54:32 Step 18/22 : ENTRYPOINT ["/device-virtual"] 08:54:32 ---> Running in 52cc4a2586ff 08:54:33 Removing intermediate container 52cc4a2586ff 08:54:33 ---> b9a72f8040fe 08:54:33 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:54:33 ---> Running in 0b04746c7cea 08:54:33 Removing intermediate container 0b04746c7cea 08:54:33 ---> 733e8aad12f9 08:54:33 Step 20/22 : LABEL arch=amd64 08:54:33 ---> Running in 2f0cae5c73d9 08:54:33 Removing intermediate container 2f0cae5c73d9 08:54:33 ---> e2e8afa1c406 08:54:33 Step 21/22 : LABEL git_sha=836873b83e212c753790857d4db5af1f899cfa04 08:54:33 ---> Running in 9dd15801e7a0 08:54:33 Removing intermediate container 9dd15801e7a0 08:54:33 ---> ce9056983a5b 08:54:33 Step 22/22 : LABEL version=0.0.0 08:54:33 ---> Running in 84517c677799 08:54:33 Removing intermediate container 84517c677799 08:54:33 ---> 459c0cc367ef 08:54:33 [Warning] One or more build-args [ARCH] were not consumed 08:54:33 Successfully built 459c0cc367ef 08:54:33 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] } 08:55:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:55:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.934s coverage: 56.4% of statements 08:55:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:55:14 gofmt -l . 08:55:14 [ "`gofmt -l .`" = "" ] 08:55:14 ./bin/test-attribution-txt.sh 08:55:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:55:16 Warning: overwriting stash ‘coverage-report’ 08:55:17 Stashed 1 file(s) [Pipeline] } 08:55:17 $ docker stop --time=1 d79673a13de07434acaba887b3e4228345415ea48ed69908fb1b315c2a0f4973 08:55:19 $ docker rm -f d79673a13de07434acaba887b3e4228345415ea48ed69908fb1b315c2a0f4973 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:21 + ls -al . 08:55:21 total 136 08:55:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:55 . 08:55:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:52 .. 08:55:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:52 .git 08:55:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:52 .github 08:55:21 -rw-rw-r-- 1 jenkins jenkins 258 Sep 17 08:52 .gitignore 08:55:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:52 .semver 08:55:21 -rw-rw-r-- 1 jenkins jenkins 6036 Sep 17 08:52 Attribution.txt 08:55:21 -rw-rw-r-- 1 jenkins jenkins 1834 Sep 17 08:52 Dockerfile 08:55:21 -rw-rw-r-- 1 jenkins jenkins 957 Sep 17 08:52 Dockerfile.build 08:55:21 -rw-rw-r-- 1 jenkins jenkins 660 Sep 17 08:52 Jenkinsfile 08:55:21 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:52 LICENSE 08:55:21 -rw-rw-r-- 1 jenkins jenkins 873 Sep 17 08:52 Makefile 08:55:21 -rw-rw-r-- 1 jenkins jenkins 918 Sep 17 08:52 README.md 08:55:21 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:50 VERSION 08:55:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:52 bin 08:55:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:52 cmd 08:55:21 -rw-r--r-- 1 jenkins jenkins 29142 Sep 17 08:55 coverage.out 08:55:21 -rw-r--r-- 1 jenkins jenkins 855 Sep 17 08:55 go.mod 08:55:21 -rw-r--r-- 1 jenkins jenkins 14894 Sep 17 08:55 go.sum 08:55:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:52 internal 08:55:21 -rw-rw-r-- 1 jenkins jenkins 235 Sep 17 08:52 version.go [Pipeline] isUnix [Pipeline] sh 08:55:22 + 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=836873b83e212c753790857d4db5af1f899cfa04 --label arch=arm64 --label version=0.0.0 . 08:55:22 Sending build context to Docker daemon 585.2kB 08:55:22 Step 1/22 : ARG BASE=golang:1.15-alpine 08:55:22 Step 2/22 : FROM ${BASE} AS builder 08:55:22 ---> 9ef50e73d818 08:55:22 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:55:22 ---> Running in 771b52c24e4d 08:55:23 Removing intermediate container 771b52c24e4d 08:55:23 ---> c0dff736f120 08:55:23 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:55:23 ---> Running in f98c925dc502 08:55:23 Removing intermediate container f98c925dc502 08:55:23 ---> ba319ecbc6ed 08:55:23 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:55:23 ---> Running in 5d5725caf682 08:55:24 Removing intermediate container 5d5725caf682 08:55:24 ---> 52f3f6faf3d1 08:55:24 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:24 ---> Running in 3e5d75e151c6 08:55:27 Removing intermediate container 3e5d75e151c6 08:55:27 ---> 196b0850f3b1 08:55:27 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:55:27 ---> Running in 26f72a7f3993 08:55:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:55:30 OK: 221 MiB in 53 packages 08:55:31 Removing intermediate container 26f72a7f3993 08:55:31 ---> 67ef53b0c72b 08:55:31 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:55:32 ---> Running in 1f3fc93a844d 08:55:32 Removing intermediate container 1f3fc93a844d 08:55:32 ---> cfefc852ebd0 08:55:32 Step 9/22 : COPY . . 08:55:33 ---> 3f9d9c4778ae 08:55:33 Step 10/22 : ARG MAKE='make build' 08:55:33 ---> Running in 27e61f9b77a7 08:55:34 Removing intermediate container 27e61f9b77a7 08:55:34 ---> 340615581b9f 08:55:34 Step 11/22 : RUN $MAKE 08:55:34 ---> Running in c551a317e968 08:55:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:56:15 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:56:25 Removing intermediate container c551a317e968 08:56:25 ---> 5e25496594ac 08:56:25 Step 12/22 : FROM alpine 08:56:25 latest: Pulling from library/alpine 08:56:25 b538f80385f9: Already exists 08:56:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:56:25 Status: Downloaded newer image for alpine:latest 08:56:25 ---> 62ee0e9f8440 08:56:25 Step 13/22 : ENV APP_PORT=49990 08:56:25 ---> Running in 7792d3a6c9e2 08:56:25 Removing intermediate container 7792d3a6c9e2 08:56:25 ---> 5aaeb0aa66a6 08:56:25 Step 14/22 : EXPOSE $APP_PORT 08:56:26 ---> Running in a195ec794885 08:56:26 Removing intermediate container a195ec794885 08:56:26 ---> c471341db834 08:56:26 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:56:28 ---> b60d30240c00 08:56:28 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:56:29 ---> f586dcd1b730 08:56:29 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:56:30 ---> 4251c1c32102 08:56:30 Step 18/22 : ENTRYPOINT ["/device-virtual"] 08:56:30 ---> Running in 4915a6ec4eb6 08:56:30 Removing intermediate container 4915a6ec4eb6 08:56:30 ---> 9d9e23b3d82c 08:56:30 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:56:31 ---> Running in e050f5de9363 08:56:31 Removing intermediate container e050f5de9363 08:56:31 ---> c714db02a4e6 08:56:31 Step 20/22 : LABEL arch=arm64 08:56:31 ---> Running in 1255feabe797 08:56:31 Removing intermediate container 1255feabe797 08:56:31 ---> 51b4b14b208f 08:56:31 Step 21/22 : LABEL git_sha=836873b83e212c753790857d4db5af1f899cfa04 08:56:32 ---> Running in 7666600b8b8a 08:56:32 Removing intermediate container 7666600b8b8a 08:56:32 ---> 08863a77c5ad 08:56:32 Step 22/22 : LABEL version=0.0.0 08:56:32 ---> Running in 819173a16081 08:56:33 Removing intermediate container 819173a16081 08:56:33 ---> fb866da36fd7 08:56:33 [Warning] One or more build-args [ARCH] were not consumed 08:56:33 Successfully built fb866da36fd7 08:56:33 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 08:56:35 provisioning config files... 08:56:35 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-129@tmp/config5381315449119260068tmp [Pipeline] { [Pipeline] sh 08:56:36 + curl -s https://codecov.io/bash 08:56:36 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-129@tmp/config5381315449119260068tmp [Pipeline] } 08:56:36 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 08:56:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:56:39 ---> package-listing.sh 08:56:39 ++ facter osfamily 08:56:39 ++ tr '[:upper:]' '[:lower:]' 08:56:39 + OS_FAMILY=redhat 08:56:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-129 08:56:39 + START_PACKAGES=/tmp/packages_start.txt 08:56:39 + END_PACKAGES=/tmp/packages_end.txt 08:56:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:56:39 + PACKAGES=/tmp/packages_start.txt 08:56:39 + '[' /w/workspace/foundry_device-virtual-go_PR-129 ']' 08:56:39 + PACKAGES=/tmp/packages_end.txt 08:56:39 + case "${OS_FAMILY}" in 08:56:39 + rpm -qa 08:56:39 + sort 08:56:43 + '[' -f /tmp/packages_start.txt ']' 08:56:43 + '[' -f /tmp/packages_end.txt ']' 08:56:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:56:43 + '[' /w/workspace/foundry_device-virtual-go_PR-129 ']' 08:56:43 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-129/archives/ 08:56:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-129/archives/ [Pipeline] isUnix [Pipeline] sh 08:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:44 08:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:56:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:45 alpine: Pulling from edgex-lftools-log-publisher 08:56:45 df20fa9351a1: Pulling fs layer 08:56:45 36b3adc4ff6f: Pulling fs layer 08:56:45 8ad3a11d3b57: Pulling fs layer 08:56:45 46f8f816bc3b: Pulling fs layer 08:56:45 0dadc02b9964: Pulling fs layer 08:56:45 ce6a7cf60c04: Pulling fs layer 08:56:45 7a184a31f384: Pulling fs layer 08:56:45 0879bd2ef858: Pulling fs layer 08:56:45 0dadc02b9964: Waiting 08:56:45 ce6a7cf60c04: Waiting 08:56:45 7a184a31f384: Waiting 08:56:45 0879bd2ef858: Waiting 08:56:45 46f8f816bc3b: Waiting 08:56:45 36b3adc4ff6f: Download complete 08:56:45 46f8f816bc3b: Download complete 08:56:45 df20fa9351a1: Verifying Checksum 08:56:45 df20fa9351a1: Download complete 08:56:45 ce6a7cf60c04: Verifying Checksum 08:56:45 ce6a7cf60c04: Download complete 08:56:45 7a184a31f384: Verifying Checksum 08:56:45 7a184a31f384: Download complete 08:56:45 0dadc02b9964: Verifying Checksum 08:56:45 0dadc02b9964: Download complete 08:56:46 df20fa9351a1: Pull complete 08:56:46 8ad3a11d3b57: Verifying Checksum 08:56:46 8ad3a11d3b57: Download complete 08:56:46 36b3adc4ff6f: Pull complete 08:56:47 8ad3a11d3b57: Pull complete 08:56:47 0879bd2ef858: Verifying Checksum 08:56:47 0879bd2ef858: Download complete 08:56:48 46f8f816bc3b: Pull complete 08:56:48 0dadc02b9964: Pull complete 08:56:49 ce6a7cf60c04: Pull complete 08:56:49 7a184a31f384: Pull complete 08:56:55 0879bd2ef858: Pull complete 08:56:55 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:56:55 prd-centos7-docker-4c-2g-148 does not seem to be running inside a container 08:56:55 $ 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-129 -v /w/workspace/foundry_device-virtual-go_PR-129:/w/workspace/foundry_device-virtual-go_PR-129:rw,z -v /w/workspace/foundry_device-virtual-go_PR-129@tmp:/w/workspace/foundry_device-virtual-go_PR-129@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:56:58 $ docker top 989163e4e8f2149f7d7c4bb7847fbc5999e3586d5ef100f22411ba6af009b396 -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:59 + mkdir -p /var/log/sa [Pipeline] sh 08:56:59 + ls /var/log/sa-host 08:56:59 + sadf -c /var/log/sa-host/sa05 08:56:59 file_magic: OK 08:56:59 HZ: Using current value: 100 08:56:59 file_header: OK 08:56:59 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 08:56:59 Statistics: 08:56:59 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:56:59 File successfully converted to sysstat format version 12.2.1 08:56:59 + sadf -c /var/log/sa-host/sa17 08:56:59 file_magic: OK 08:56:59 HZ: Using current value: 100 08:56:59 file_header: OK 08:56:59 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 08:56:59 Statistics: 08:56:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:56:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:00 provisioning config files... 08:57:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-129@tmp/config8934023811037563072tmp [Pipeline] { [Pipeline] echo 08:57:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:57:00 ---> create-netrc.sh [Pipeline] echo 08:57:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:57:00 ---> logs-deploy.sh 08:57:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-129/2 08:57:00 INFO: archiving workspace using pattern(s): 08:57:02 Archives upload complete. 08:57:02 INFO: archiving logs to Nexus