Pull request #160 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6e019af8001d84a5420e319bcbf5df55b4ace51c+d98ab64770a8aa8499d3ed372f913abb779305df (2b083fb700eeb0b20f0c8a7d730a808d2ad9e5b2) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-160/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-160/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18119 in /w/workspace/foundry_device-virtual-go_PR-160 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-160 # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 Merge succeeded, producing 6e019af8001d84a5420e319bcbf5df55b4ace51c Checking out Revision 6e019af8001d84a5420e319bcbf5df55b4ace51c (PR-160) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:18:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:18:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:18:58 ========================================================= 06:18:58 EdgeX Global Pipelines Version Info 06:18:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:19:00 ------------------- 06:19:00 stable info: 06:19:00 ------------------- 06:19:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:19:00 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:19:00 Message: update stable to v1.0.173 06:19:01 ------------------- 06:19:01 experimental info: 06:19:01 ------------------- 06:19:01 Commited By: **** collab-it+edgex@linuxfoundation.org 06:19:01 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:19:01 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:19:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:19:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:19:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:19:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 06:19:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 06:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 06:19:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e019af8001d84a5420e319bcbf5df55b4ace51c [Pipeline] echo 06:19:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e019af [Pipeline] echo 06:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:19:06 provisioning config files... 06:19:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config1518790369532405473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:07 ---> docker-login.sh 06:19:07 nexus3.edgexfoundry.org:10001 06:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:07 Configure a credential helper to remove this warning. See 06:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:07 06:19:07 Login Succeeded 06:19:07 nexus3.edgexfoundry.org:10002 06:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:07 Configure a credential helper to remove this warning. See 06:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:07 06:19:07 Login Succeeded 06:19:07 nexus3.edgexfoundry.org:10003 06:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:07 Configure a credential helper to remove this warning. See 06:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:07 06:19:07 Login Succeeded 06:19:07 nexus3.edgexfoundry.org:10004 06:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:08 Configure a credential helper to remove this warning. See 06:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:08 06:19:08 Login Succeeded 06:19:08 docker.io 06:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:08 Configure a credential helper to remove this warning. See 06:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:08 06:19:08 Login Succeeded 06:19:08 ---> docker-login.sh ends [Pipeline] } 06:19:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:09 + git log --format=format:%s -1 6e019af8001d84a5420e319bcbf5df55b4ace51c [Pipeline] echo 06:19:09 GIT_COMMIT: 6e019af8001d84a5420e319bcbf5df55b4ace51c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:19:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:11 06:19:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:19:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:11 latest: Pulling from edgex-devops/git-semver 06:19:11 31603596830f: Pulling fs layer 06:19:11 2a8b12db71e7: Pulling fs layer 06:19:11 6ca5941a6612: Pulling fs layer 06:19:11 ecc8261a40a4: Pulling fs layer 06:19:11 ecc8261a40a4: Waiting 06:19:11 2a8b12db71e7: Verifying Checksum 06:19:11 2a8b12db71e7: Download complete 06:19:11 31603596830f: Verifying Checksum 06:19:11 31603596830f: Download complete 06:19:11 6ca5941a6612: Verifying Checksum 06:19:11 6ca5941a6612: Download complete 06:19:11 ecc8261a40a4: Verifying Checksum 06:19:11 ecc8261a40a4: Download complete 06:19:11 31603596830f: Pull complete 06:19:11 2a8b12db71e7: Pull complete 06:19:12 6ca5941a6612: Pull complete 06:19:13 ecc8261a40a4: Pull complete 06:19:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:19:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:19:14 prd-centos7-docker-4c-2g-18119 does not seem to be running inside a container 06:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-160 -v /w/workspace/foundry_device-virtual-go_PR-160:/w/workspace/foundry_device-virtual-go_PR-160:rw,z -v /w/workspace/foundry_device-virtual-go_PR-160@tmp:/w/workspace/foundry_device-virtual-go_PR-160@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:10004/edgex-devops/git-semver:latest cat 06:19:15 $ docker top 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:16 [ssh-agent] Looking for ssh-agent implementation... 06:19:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:16 $ docker exec 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 ssh-agent 06:19:16 SSH_AUTH_SOCK=/tmp/ssh-M6VSTx05yqmT/agent.11 06:19:16 SSH_AGENT_PID=16 06:19:16 Running ssh-add (command line suppressed) 06:19:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_1371768587052033770.key (/w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_1371768587052033770.key) 06:19:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:17 + git tag --points-at HEAD [Pipeline] } 06:19:17 $ docker exec --env ******** --env ******** 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 ssh-agent -k 06:19:17 unset SSH_AUTH_SOCK; 06:19:17 unset SSH_AGENT_PID; 06:19:17 echo Agent pid 16 killed; 06:19:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:17 [ssh-agent] Looking for ssh-agent implementation... 06:19:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:17 $ docker exec 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 ssh-agent 06:19:18 SSH_AUTH_SOCK=/tmp/ssh-MlDuCVIlIP2i/agent.45 06:19:18 SSH_AGENT_PID=50 06:19:18 Running ssh-add (command line suppressed) 06:19:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_3507757583924254105.key (/w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_3507757583924254105.key) 06:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:18 + git semver init 06:19:18 # -> Open(): unable to determine branch for HEAD 06:19:18 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-160/.git 06:19:18 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-160 06:19:18 # $SEMVER_REMOTE_NAME = origin 06:19:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:19:18 # $SEMVER_USER_NAME = edgex-jenkins 06:19:18 # $SEMVER_BRANCH = PR-160 06:19:18 # $SEMVER_TEMP = /tmp/semver-367716740 06:19:18 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:19:19 # '/tmp/semver-367716740' -> '/w/workspace/foundry_device-virtual-go_PR-160/.semver' 06:19:19 # -> Force: false 06:19:19 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-160/.semver [Pipeline] } 06:19:19 $ docker exec --env ******** --env ******** 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 ssh-agent -k 06:19:19 unset SSH_AUTH_SOCK; 06:19:19 unset SSH_AGENT_PID; 06:19:19 echo Agent pid 50 killed; 06:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:20 + git semver [Pipeline] } 06:19:20 $ docker stop --time=1 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 06:19:21 $ docker rm -f 0cdafe1de4bc47f619076e59cc4a3ef04aa77715212f98218e7c0876da406b19 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:19:22 Stashed 1 file(s) [Pipeline] echo 06:19:22 [edgeXSemver]: initialized semver on 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 06:19:38 Still waiting to schedule task 06:19:38 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18096’ is offline; ‘prd-centos7-docker-4c-2g-18100’ is offline; ‘prd-centos7-docker-4c-2g-18101’ is offline; ‘prd-centos7-docker-4c-2g-18102’ is offline; ‘prd-centos7-docker-4c-2g-18104’ is offline; ‘prd-centos7-docker-4c-2g-18105’ is offline; ‘prd-centos7-docker-4c-2g-18112’ is offline; ‘prd-centos7-docker-4c-2g-18115’ is offline; ‘prd-centos7-docker-4c-2g-18123’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18103’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18107’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18118’ doesn’t have label ‘centos7-docker-4c-2g’ 06:19:38 Still waiting to schedule task 06:19:38 ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18096’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18100’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18101’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18102’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18104’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18105’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18112’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18115’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-18123’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18103’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18107’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18118’ is offline 06:20:42 Running on prd-centos7-docker-4c-2g-18129 in /w/workspace/foundry_device-virtual-go_PR-160 [Pipeline] { [Pipeline] ws 06:20:43 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:20:46 using credential edgex-jenkins-ssh 06:20:46 Cloning the remote Git repository 06:20:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:20:46 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:20:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:46 > git --version # timeout=10 06:20:46 > git --version # 'git version 2.24.3' 06:20:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:47 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c 06:20:47 Merge succeeded, producing 6e019af8001d84a5420e319bcbf5df55b4ace51c 06:20:47 Checking out Revision 6e019af8001d84a5420e319bcbf5df55b4ace51c (PR-160) 06:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:20:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:20:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:20:47 > git config core.sparsecheckout # timeout=10 06:20:47 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 06:20:47 > git remote # timeout=10 06:20:47 > git config --get remote.origin.url # timeout=10 06:20:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:47 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:20:47 > git rev-parse HEAD^{commit} # timeout=10 06:20:47 > git config core.sparsecheckout # timeout=10 06:20:47 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 06:20:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:20:51 > git --version # timeout=10 06:20:51 > git --version # 'git version 2.24.3' 06:20:51 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:20:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:20:54 + sudo service docker restart 06:20:54 + true 06:20:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:20:55 provisioning config files... 06:20:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3969048682432431692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:55 ---> docker-login.sh 06:20:55 nexus3.edgexfoundry.org:10001 06:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:56 Configure a credential helper to remove this warning. See 06:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:56 06:20:56 Login Succeeded 06:20:56 nexus3.edgexfoundry.org:10002 06:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:56 Configure a credential helper to remove this warning. See 06:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:56 06:20:56 Login Succeeded 06:20:56 nexus3.edgexfoundry.org:10003 06:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:56 Configure a credential helper to remove this warning. See 06:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:56 06:20:56 Login Succeeded 06:20:56 nexus3.edgexfoundry.org:10004 06:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:56 Configure a credential helper to remove this warning. See 06:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:56 06:20:56 Login Succeeded 06:20:56 docker.io 06:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:57 Configure a credential helper to remove this warning. See 06:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:57 06:20:57 Login Succeeded 06:20:57 ---> docker-login.sh ends [Pipeline] } 06:20:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:57 ========================================================= 06:20:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:20:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:20:58 + 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 . 06:20:58 Sending build context to Docker daemon 480.8kB 06:20:58 Step 1/8 : ARG BASE=golang:1.15-alpine 06:20:58 Step 2/8 : FROM ${BASE} 06:20:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:20:58 188c0c94c7c5: Pulling fs layer 06:20:58 0ef7d3d256c8: Pulling fs layer 06:20:58 de9db76c5a1d: Pulling fs layer 06:20:58 bca2f99d35d6: Pulling fs layer 06:20:58 93359f2a8cfa: Pulling fs layer 06:20:58 7c6f9722023f: Pulling fs layer 06:20:58 a35cf1a2eb13: Pulling fs layer 06:20:58 bca2f99d35d6: Waiting 06:20:58 93359f2a8cfa: Waiting 06:20:58 7c6f9722023f: Waiting 06:20:58 a35cf1a2eb13: Waiting 06:20:58 de9db76c5a1d: Verifying Checksum 06:20:58 de9db76c5a1d: Download complete 06:20:58 0ef7d3d256c8: Verifying Checksum 06:20:58 0ef7d3d256c8: Download complete 06:20:58 93359f2a8cfa: Verifying Checksum 06:20:58 93359f2a8cfa: Download complete 06:20:58 7c6f9722023f: Verifying Checksum 06:20:58 7c6f9722023f: Download complete 06:20:58 188c0c94c7c5: Verifying Checksum 06:20:58 188c0c94c7c5: Download complete 06:20:58 188c0c94c7c5: Pull complete 06:20:58 0ef7d3d256c8: Pull complete 06:20:58 de9db76c5a1d: Pull complete 06:21:00 a35cf1a2eb13: Verifying Checksum 06:21:00 a35cf1a2eb13: Download complete 06:21:01 bca2f99d35d6: Verifying Checksum 06:21:01 bca2f99d35d6: Download complete 06:21:08 bca2f99d35d6: Pull complete 06:21:08 93359f2a8cfa: Pull complete 06:21:08 7c6f9722023f: Pull complete 06:21:16 a35cf1a2eb13: Pull complete 06:21:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:21:16 ---> a62c8e92a672 06:21:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:21:16 ---> Running in 9d1db6e61421 06:21:16 Removing intermediate container 9d1db6e61421 06:21:16 ---> 3e1f357ff589 06:21:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:16 ---> Running in 108f19a32982 06:21:18 Removing intermediate container 108f19a32982 06:21:18 ---> ca8e3929ab5c 06:21:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:21:18 ---> Running in f4e9560624a4 06:21:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:21:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:21:20 (1/14) Installing libmagic (5.38-r0) 06:21:20 (2/14) Installing file (5.38-r0) 06:21:20 (3/14) Installing libc-dev (0.7.2-r3) 06:21:20 (4/14) Installing g++ (9.3.0-r2) 06:21:34 (5/14) Installing fortify-headers (1.1-r0) 06:21:34 (6/14) Installing patch (2.7.6-r6) 06:21:34 (7/14) Installing build-base (0.5-r2) 06:21:34 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:21:35 (9/14) Installing libedit (20191231.3.1-r0) 06:21:35 (10/14) Installing openssh-client (8.3_p1-r1) 06:21:35 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:21:35 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:21:36 (13/14) Installing openssh-server (8.3_p1-r1) 06:21:36 (14/14) Installing openssh (8.3_p1-r1) 06:21:36 Executing busybox-1.31.1-r19.trigger 06:21:36 OK: 237 MiB in 53 packages 06:21:39 Removing intermediate container f4e9560624a4 06:21:39 ---> b48e6404a213 06:21:39 Step 6/8 : WORKDIR /device-virtual-go 06:21:39 ---> Running in 2b1ca8fe47d3 06:21:39 Removing intermediate container 2b1ca8fe47d3 06:21:39 ---> 91b696dc1d36 06:21:39 Step 7/8 : COPY . . 06:21:40 ---> fab570e9e116 06:21:40 Step 8/8 : RUN go mod download 06:21:40 ---> Running in b4e0d098dfe6 06:22:02 Removing intermediate container b4e0d098dfe6 06:22:02 ---> 9adafc9e5433 06:22:02 Successfully built 9adafc9e5433 06:22:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:22:03 + docker inspect -f . ci-base-image-x86_64 06:22:03 . [Pipeline] withDockerContainer 06:22:03 prd-centos7-docker-4c-2g-18129 does not seem to be running inside a container 06:22:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** ci-base-image-x86_64 cat 06:22:04 $ docker top 739eea9e7f7feaa3d1756d1a5cf96741e09a416ca275c791c935b6b7c512a5c9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:04 + go version 06:22:05 go version go1.15.5 linux/amd64 [Pipeline] } 06:22:05 $ docker stop --time=1 739eea9e7f7feaa3d1756d1a5cf96741e09a416ca275c791c935b6b7c512a5c9 06:22:06 $ docker rm -f 739eea9e7f7feaa3d1756d1a5cf96741e09a416ca275c791c935b6b7c512a5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:22:08 + docker inspect -f . ci-base-image-x86_64 06:22:08 . [Pipeline] withDockerContainer 06:22:08 prd-centos7-docker-4c-2g-18129 does not seem to be running inside a container 06:22:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** ci-base-image-x86_64 cat 06:22:09 $ docker top 9f6ec4f1304bd59b54d1c467548d9473315d9785d011c8ee0650135507ec6ace -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:09 + make test 06:22:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:22:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:22:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18133 in /w/workspace/foundry_device-virtual-go_PR-160 [Pipeline] { [Pipeline] ws 06:22:18 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:22:24 using credential edgex-jenkins-ssh 06:22:24 Cloning the remote Git repository 06:22:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:22:24 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:22:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:22:24 > git --version # timeout=10 06:22:24 > git --version # 'git version 2.17.1' 06:22:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:22:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:25 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c 06:22:25 Merge succeeded, producing 6e019af8001d84a5420e319bcbf5df55b4ace51c 06:22:25 Checking out Revision 6e019af8001d84a5420e319bcbf5df55b4ace51c (PR-160) 06:22:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:22:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.326s coverage: 64.4% of statements 06:22:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:22:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:22:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:22:25 > git config core.sparsecheckout # timeout=10 06:22:25 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 06:22:25 > git remote # timeout=10 06:22:25 > git config --get remote.origin.url # timeout=10 06:22:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:25 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:22:25 > git rev-parse HEAD^{commit} # timeout=10 06:22:26 > git config core.sparsecheckout # timeout=10 06:22:26 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 06:22:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:22:30 gofmt -l . 06:22:30 [ "`gofmt -l .`" = "" ] 06:22:30 ./bin/test-attribution-txt.sh 06:22:30 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:22:30 ./bin/test-go-mod-tidy.sh 06:22:30 > git --version # timeout=10 06:22:30 > git --version # 'git version 2.17.1' 06:22:30 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } 06:22:30 $ docker stop --time=1 9f6ec4f1304bd59b54d1c467548d9473315d9785d011c8ee0650135507ec6ace 06:22:32 $ docker rm -f 9f6ec4f1304bd59b54d1c467548d9473315d9785d011c8ee0650135507ec6ace [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 06:22:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 06:22:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) 06:22:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 06:22:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:36 + sudo service docker restart 06:22:36 + true 06:22:36 + ls -al . 06:22:36 total 124 06:22:36 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 4 06:22 . 06:22:36 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 06:20 .. 06:22:36 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 4 06:20 Attribution.txt 06:22:36 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 06:20 bin 06:22:36 drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 06:20 cmd 06:22:36 -rw-r--r--. 1 jenkins jenkins 47242 Jan 4 06:22 coverage.out 06:22:36 -rw-rw-r--. 1 jenkins jenkins 1834 Jan 4 06:20 Dockerfile 06:22:36 -rw-rw-r--. 1 jenkins jenkins 957 Jan 4 06:20 Dockerfile.build 06:22:36 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 06:20 .git 06:22:36 drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 06:20 .github 06:22:36 -rw-rw-r--. 1 jenkins jenkins 258 Jan 4 06:20 .gitignore 06:22:36 -rw-r--r--. 1 jenkins jenkins 863 Jan 4 06:22 go.mod 06:22:36 -rw-r--r--. 1 jenkins jenkins 16360 Jan 4 06:22 go.sum 06:22:36 drwxrwxr-x. 3 jenkins jenkins 20 Jan 4 06:20 internal 06:22:36 -rw-rw-r--. 1 jenkins jenkins 660 Jan 4 06:20 Jenkinsfile 06:22:36 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 06:20 LICENSE 06:22:36 -rw-rw-r--. 1 jenkins jenkins 873 Jan 4 06:20 Makefile 06:22:36 -rw-rw-r--. 1 jenkins jenkins 918 Jan 4 06:20 README.md 06:22:36 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 06:19 VERSION 06:22:36 -rw-rw-r--. 1 jenkins jenkins 235 Jan 4 06:20 version.go [Pipeline] isUnix [Pipeline] sh 06:22:36 + 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=6e019af8001d84a5420e319bcbf5df55b4ace51c --label arch=amd64 --label version=0.0.0 . 06:22:36 Sending build context to Docker daemon 545.8kB 06:22:36 Step 1/22 : ARG BASE=golang:1.15-alpine 06:22:36 Step 2/22 : FROM ${BASE} AS builder 06:22:36 ---> 9adafc9e5433 06:22:36 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:22:37 ---> Running in 875618b3fe87 06:22:37 Removing intermediate container 875618b3fe87 06:22:37 ---> dbea91f71539 06:22:37 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:22:37 ---> Running in 6bffe6978f98 06:22:37 Removing intermediate container 6bffe6978f98 06:22:37 ---> 5b95cbf8daea 06:22:37 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:22:37 ---> Running in 45711ee111f2 06:22:37 Removing intermediate container 45711ee111f2 06:22:37 ---> c8b02c8db30c 06:22:37 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:37 ---> Running in 8fe9f2636d12 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:22:38 provisioning config files... 06:22:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6791666260359487828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:38 Removing intermediate container 8fe9f2636d12 06:22:38 ---> 862f4b987620 06:22:38 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:38 ---> docker-login.sh 06:22:38 nexus3.edgexfoundry.org:10001 06:22:38 ---> Running in ac1428934df8 06:22:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:40 Configure a credential helper to remove this warning. See 06:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:40 06:22:40 Login Succeeded 06:22:40 nexus3.edgexfoundry.org:10002 06:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:40 Configure a credential helper to remove this warning. See 06:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:40 06:22:40 Login Succeeded 06:22:40 nexus3.edgexfoundry.org:10003 06:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:40 Configure a credential helper to remove this warning. See 06:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:40 06:22:40 Login Succeeded 06:22:40 nexus3.edgexfoundry.org:10004 06:22:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:41 Configure a credential helper to remove this warning. See 06:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:41 06:22:41 Login Succeeded 06:22:41 docker.io 06:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:42 Configure a credential helper to remove this warning. See 06:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:42 06:22:42 Login Succeeded 06:22:42 ---> docker-login.sh ends [Pipeline] } 06:22:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:22:43 ========================================================= 06:22:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:22:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:22:43 + 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 . 06:22:43 Sending build context to Docker daemon 479.7kB 06:22:43 Step 1/8 : ARG BASE=golang:1.15-alpine 06:22:43 Step 2/8 : FROM ${BASE} 06:22:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:22:44 5f621e34cdf4: Pulling fs layer 06:22:44 a4357932f1b6: Pulling fs layer 06:22:44 18c013af1878: Pulling fs layer 06:22:44 00ac8860ef70: Pulling fs layer 06:22:44 63d7cb157983: Pulling fs layer 06:22:44 b116817d02f9: Pulling fs layer 06:22:44 745a02a5169b: Pulling fs layer 06:22:44 00ac8860ef70: Waiting 06:22:44 b116817d02f9: Waiting 06:22:44 745a02a5169b: Waiting 06:22:44 18c013af1878: Verifying Checksum 06:22:44 18c013af1878: Download complete 06:22:44 63d7cb157983: Verifying Checksum 06:22:44 b116817d02f9: Verifying Checksum 06:22:44 b116817d02f9: Download complete 06:22:44 5f621e34cdf4: Download complete 06:22:44 5f621e34cdf4: Pull complete 06:22:45 a4357932f1b6: Pull complete 06:22:45 OK: 237 MiB in 53 packages 06:22:45 Removing intermediate container ac1428934df8 06:22:45 ---> ab0b3ac57d31 06:22:45 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:22:45 ---> Running in b61c2bc47894 06:22:45 18c013af1878: Pull complete 06:22:45 Removing intermediate container b61c2bc47894 06:22:45 ---> bd23996ad581 06:22:45 Step 9/22 : COPY . . 06:22:46 745a02a5169b: Verifying Checksum 06:22:46 745a02a5169b: Download complete 06:22:46 ---> 8b57f72070ea 06:22:46 Step 10/22 : ARG MAKE='make build' 06:22:46 ---> Running in a742a6e101ed 06:22:46 Removing intermediate container a742a6e101ed 06:22:46 ---> 9df80334367f 06:22:46 Step 11/22 : RUN $MAKE 06:22:46 ---> Running in 06477a2beda7 06:22:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:22:47 00ac8860ef70: Verifying Checksum 06:22:47 00ac8860ef70: Download complete 06:22:57 00ac8860ef70: Pull complete 06:22:57 63d7cb157983: Pull complete 06:22:58 b116817d02f9: Pull complete 06:22:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:23:02 745a02a5169b: Pull complete 06:23:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:23:02 ---> b7e6874047d6 06:23:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:23:02 Removing intermediate container 06477a2beda7 06:23:02 ---> 23f08be3cfee 06:23:02 Step 12/22 : FROM alpine 06:23:02 latest: Pulling from library/alpine 06:23:03 801bfaa63ef2: Pulling fs layer 06:23:03 801bfaa63ef2: Verifying Checksum 06:23:03 801bfaa63ef2: Download complete 06:23:03 801bfaa63ef2: Pull complete 06:23:03 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:23:03 Status: Downloaded newer image for alpine:latest 06:23:03 ---> 389fef711851 06:23:03 Step 13/22 : ENV APP_PORT=49990 06:23:03 ---> Running in 5dad70b891b2 06:23:03 Removing intermediate container 5dad70b891b2 06:23:03 ---> 5eabae84a92e 06:23:03 Step 14/22 : EXPOSE $APP_PORT 06:23:03 ---> Running in e1eea9485927 06:23:04 Removing intermediate container e1eea9485927 06:23:04 ---> c0e56200293a 06:23:04 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:23:04 ---> Running in d1b2ec139883 06:23:05 Removing intermediate container d1b2ec139883 06:23:05 ---> c999e8c0ea9c 06:23:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:05 ---> Running in d14c5558f1d9 06:23:05 ---> f9cca8d7d03e 06:23:05 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:23:05 ---> 1bda1c42922e 06:23:05 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:23:06 ---> 1ed96ac36c53 06:23:06 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:23:06 ---> Running in 25088f417463 06:23:06 Removing intermediate container 25088f417463 06:23:06 ---> 9dd1bc2cd474 06:23:06 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:23:06 ---> Running in 834d52c129db 06:23:06 Removing intermediate container 834d52c129db 06:23:06 ---> 7077aaccab39 06:23:06 Step 20/22 : LABEL arch=amd64 06:23:06 ---> Running in 66d51ef4c9d5 06:23:06 Removing intermediate container 66d51ef4c9d5 06:23:06 ---> 774b014c0ff4 06:23:06 Step 21/22 : LABEL git_sha=6e019af8001d84a5420e319bcbf5df55b4ace51c 06:23:06 ---> Running in 77325b5e3077 06:23:07 Removing intermediate container 77325b5e3077 06:23:07 ---> 196ab44b1a4d 06:23:07 Step 22/22 : LABEL version=0.0.0 06:23:07 ---> Running in 4ad4b72a6dc6 06:23:07 Removing intermediate container 4ad4b72a6dc6 06:23:07 ---> e25cb6c0d3db 06:23:07 [Warning] One or more build-args [ARCH] were not consumed 06:23:07 Successfully built e25cb6c0d3db 06:23:07 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:23:07 Removing intermediate container d14c5558f1d9 06:23:07 ---> 230e1c376075 06:23:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:23:07 ---> Running in 38ea4bdee7e7 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 06:23:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:23:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:23:12 (1/14) Installing libmagic (5.38-r0) 06:23:13 (2/14) Installing file (5.38-r0) 06:23:13 (3/14) Installing libc-dev (0.7.2-r3) 06:23:13 (4/14) Installing g++ (9.3.0-r2) 06:23:35 (5/14) Installing fortify-headers (1.1-r0) 06:23:35 (6/14) Installing patch (2.7.6-r6) 06:23:35 (7/14) Installing build-base (0.5-r2) 06:23:35 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:23:35 (9/14) Installing libedit (20191231.3.1-r0) 06:23:35 (10/14) Installing openssh-client (8.3_p1-r1) 06:23:35 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:23:35 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:23:35 (13/14) Installing openssh-server (8.3_p1-r1) 06:23:35 (14/14) Installing openssh (8.3_p1-r1) 06:23:35 Executing busybox-1.31.1-r19.trigger 06:23:35 OK: 221 MiB in 53 packages 06:23:40 Removing intermediate container 38ea4bdee7e7 06:23:40 ---> 70af13faf2de 06:23:40 Step 6/8 : WORKDIR /device-virtual-go 06:23:40 ---> Running in d93ab7fc470b 06:23:40 Removing intermediate container d93ab7fc470b 06:23:40 ---> b62bce45f7cd 06:23:40 Step 7/8 : COPY . . 06:23:41 ---> 7939b37975ed 06:23:41 Step 8/8 : RUN go mod download 06:23:41 ---> Running in 0dc09278acae 06:24:08 Removing intermediate container 0dc09278acae 06:24:08 ---> 4dba6abf2c91 06:24:08 Successfully built 4dba6abf2c91 06:24:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:24:08 + docker inspect -f . ci-base-image-arm64 06:24:08 . [Pipeline] withDockerContainer 06:24:08 prd-ubuntu18.04-docker-arm64-4c-16g-18133 does not seem to be running inside a container 06:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 06:24:10 $ docker top 621dfaaad409a40df5a1fa185f8821f7129296807730931b3f4a130d3a725b8b -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:11 + go version 06:24:11 go version go1.15.5 linux/arm64 [Pipeline] } 06:24:11 $ docker stop --time=1 621dfaaad409a40df5a1fa185f8821f7129296807730931b3f4a130d3a725b8b 06:24:13 $ docker rm -f 621dfaaad409a40df5a1fa185f8821f7129296807730931b3f4a130d3a725b8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:24:15 + docker inspect -f . ci-base-image-arm64 06:24:15 . [Pipeline] withDockerContainer 06:24:15 prd-ubuntu18.04-docker-arm64-4c-16g-18133 does not seem to be running inside a container 06:24:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 06:24:16 $ docker top 710c49a53757728f0b1aeceb4f15886a11cdf21c49888471698320eb998edd98 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:18 + make test 06:24:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:24:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:25:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:25:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.959s coverage: 64.4% of statements 06:25:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:25:16 gofmt -l . 06:25:16 [ "`gofmt -l .`" = "" ] 06:25:16 ./bin/test-attribution-txt.sh 06:25:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:25:16 $ docker stop --time=1 710c49a53757728f0b1aeceb4f15886a11cdf21c49888471698320eb998edd98 06:25:19 $ docker rm -f 710c49a53757728f0b1aeceb4f15886a11cdf21c49888471698320eb998edd98 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:25:20 Warning: overwriting stash ‘coverage-report’ 06:25:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:25:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:25:22 + ls -al . 06:25:22 total 148 06:25:22 drwxrwxr-x 7 jenkins jenkins 4096 Jan 4 06:25 . 06:25:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 06:22 .. 06:25:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 06:22 .git 06:25:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 06:22 .github 06:25:22 -rw-rw-r-- 1 jenkins jenkins 258 Jan 4 06:22 .gitignore 06:25:22 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 4 06:22 Attribution.txt 06:25:22 -rw-rw-r-- 1 jenkins jenkins 1834 Jan 4 06:22 Dockerfile 06:25:22 -rw-rw-r-- 1 jenkins jenkins 957 Jan 4 06:22 Dockerfile.build 06:25:22 -rw-rw-r-- 1 jenkins jenkins 660 Jan 4 06:22 Jenkinsfile 06:25:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 06:22 LICENSE 06:25:22 -rw-rw-r-- 1 jenkins jenkins 873 Jan 4 06:22 Makefile 06:25:22 -rw-rw-r-- 1 jenkins jenkins 918 Jan 4 06:22 README.md 06:25:22 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 06:19 VERSION 06:25:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 06:22 bin 06:25:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 06:22 cmd 06:25:22 -rw-r--r-- 1 jenkins jenkins 47242 Jan 4 06:25 coverage.out 06:25:22 -rw-r--r-- 1 jenkins jenkins 863 Jan 4 06:25 go.mod 06:25:22 -rw-r--r-- 1 jenkins jenkins 16360 Jan 4 06:25 go.sum 06:25:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 06:22 internal 06:25:22 -rw-rw-r-- 1 jenkins jenkins 235 Jan 4 06:22 version.go [Pipeline] isUnix [Pipeline] sh 06:25: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=6e019af8001d84a5420e319bcbf5df55b4ace51c --label arch=arm64 --label version=0.0.0 . 06:25:23 Sending build context to Docker daemon 544.8kB 06:25:23 Step 1/22 : ARG BASE=golang:1.15-alpine 06:25:23 Step 2/22 : FROM ${BASE} AS builder 06:25:23 ---> 4dba6abf2c91 06:25:23 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:25:23 ---> Running in de33651512fc 06:25:24 Removing intermediate container de33651512fc 06:25:24 ---> 58478c226f1d 06:25:24 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:25:24 ---> Running in 302bd0aa673e 06:25:24 Removing intermediate container 302bd0aa673e 06:25:24 ---> a21146c50305 06:25:24 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:25:24 ---> Running in 8bba4aa8afb5 06:25:25 Removing intermediate container 8bba4aa8afb5 06:25:25 ---> dfffa4e9beb3 06:25:25 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:25:25 ---> Running in 0c7e4c1c18fc 06:25:27 Removing intermediate container 0c7e4c1c18fc 06:25:27 ---> d168b68ea8d5 06:25:27 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:25:27 ---> Running in 5079f45c28ab 06:25:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:25:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:25:31 OK: 221 MiB in 53 packages 06:25:32 Removing intermediate container 5079f45c28ab 06:25:32 ---> 7c6cad8b99c3 06:25:32 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:25:32 ---> Running in da5a3f039659 06:25:32 Removing intermediate container da5a3f039659 06:25:32 ---> 9d8bccf7d951 06:25:32 Step 9/22 : COPY . . 06:25:33 ---> a5f20d17ddef 06:25:33 Step 10/22 : ARG MAKE='make build' 06:25:33 ---> Running in d2a5df4837f4 06:25:34 Removing intermediate container d2a5df4837f4 06:25:34 ---> e79b8044ff3e 06:25:34 Step 11/22 : RUN $MAKE 06:25:34 ---> Running in bd7cd0e740e8 06:25:35 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:26:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:26:16 Removing intermediate container bd7cd0e740e8 06:26:16 ---> 463c4fb3f856 06:26:16 Step 12/22 : FROM alpine 06:26:16 latest: Pulling from library/alpine 06:26:16 159e5727ea61: Pulling fs layer 06:26:17 159e5727ea61: Verifying Checksum 06:26:17 159e5727ea61: Download complete 06:26:17 159e5727ea61: Pull complete 06:26:17 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:26:17 Status: Downloaded newer image for alpine:latest 06:26:17 ---> afeebe901d6b 06:26:17 Step 13/22 : ENV APP_PORT=49990 06:26:18 ---> Running in f81137d858e2 06:26:18 Removing intermediate container f81137d858e2 06:26:18 ---> 79c3c149f313 06:26:18 Step 14/22 : EXPOSE $APP_PORT 06:26:18 ---> Running in 93ff842081d4 06:26:18 Removing intermediate container 93ff842081d4 06:26:18 ---> c1a64d88b439 06:26:18 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:26:20 ---> 85ed3af8ff4d 06:26:20 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:26:20 ---> cc01ee7e932f 06:26:20 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:26:21 ---> e08a413d5c25 06:26:21 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:26:21 ---> Running in d0c59d2d4c03 06:26:22 Removing intermediate container d0c59d2d4c03 06:26:22 ---> 0c073fbd1beb 06:26:22 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:26:22 ---> Running in 09d30863f0f2 06:26:23 Removing intermediate container 09d30863f0f2 06:26:23 ---> cc79a41d4e0c 06:26:23 Step 20/22 : LABEL arch=arm64 06:26:23 ---> Running in 68b1f5767303 06:26:23 Removing intermediate container 68b1f5767303 06:26:23 ---> 5f60eb8c96da 06:26:23 Step 21/22 : LABEL git_sha=6e019af8001d84a5420e319bcbf5df55b4ace51c 06:26:23 ---> Running in e649180bd49f 06:26:24 Removing intermediate container e649180bd49f 06:26:24 ---> f6000c32ab39 06:26:24 Step 22/22 : LABEL version=0.0.0 06:26:24 ---> Running in f4fc92687f4a 06:26:24 Removing intermediate container f4fc92687f4a 06:26:24 ---> c2e785dec45e 06:26:24 [Warning] One or more build-args [ARCH] were not consumed 06:26:24 Successfully built c2e785dec45e 06:26:24 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] } [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 06:26:27 provisioning config files... 06:26:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config7466214542890409466tmp [Pipeline] { [Pipeline] sh 06:26:27 + set +x 06:26:27 + curl -s https://codecov.io/bash 06:26:27 + bash -s -- 06:26:27 06:26:27 _____ _ 06:26:27 / ____| | | 06:26:27 | | ___ __| | ___ ___ _____ __ 06:26:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:26:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:26:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:26:27 Bash-20201231-23d4836 06:26:27 06:26:27 06:26:27 ==> git version 2.24.3 found 06:26:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:26:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:26:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:26:27 ==> Jenkins CI detected. 06:26:27 project root: . 06:26:27 --> token set from env 06:26:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:26:27 ==> Running gcov in . (disable via -X gcov) 06:26:27 ==> Python coveragepy not found 06:26:27 ==> Searching for coverage reports in: 06:26:27 + . 06:26:27 -> Found 1 reports 06:26:27 ==> Detecting git/mercurial file structure 06:26:27 ==> Reading reports 06:26:27 + ./coverage.out bytes=47242 06:26:27 ==> Appending adjustments 06:26:27 https://docs.codecov.io/docs/fixing-reports 06:26:27 + Found adjustments 06:26:27 ==> Gzipping contents 06:26:27 8.0K /tmp/codecov.cLYRO3.gz 06:26:27 ==> Uploading reports 06:26:27 url: https://codecov.io 06:26:27 query: branch=PR-160&commit=6e019af8001d84a5420e319bcbf5df55b4ace51c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=160&job=&cmd_args= 06:26:27 -> Pinging Codecov 06:26:27 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-160&commit=6e019af8001d84a5420e319bcbf5df55b4ace51c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=160&job=&cmd_args= 06:26:28 -> Uploading to 06:26:28 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/5E52B4B073DB2E39498172D8E973AA87/6e019af8001d84a5420e319bcbf5df55b4ace51c/83f12031-f290-4728-a0ef-b39e5676f546.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T062628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=798f3cc7ebc8689b365aef5bfbf956fbb280269c24056a3ffddd95cc65620970 06:26:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:28 Dload Upload Total Spent Left Speed 06:26:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5806 0 0 100 5806 0 11830 --:--:-- --:--:-- --:--:-- 11848 06:26:28 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6e019af8001d84a5420e319bcbf5df55b4ace51c [Pipeline] } 06:26:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 06:26:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:32 ---> package-listing.sh 06:26:32 ++ facter osfamily 06:26:32 ++ tr '[:upper:]' '[:lower:]' 06:26:32 + OS_FAMILY=redhat 06:26:32 + workspace=/w/workspace/foundry_device-virtual-go_PR-160 06:26:32 + START_PACKAGES=/tmp/packages_start.txt 06:26:32 + END_PACKAGES=/tmp/packages_end.txt 06:26:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:32 + PACKAGES=/tmp/packages_start.txt 06:26:32 + '[' /w/workspace/foundry_device-virtual-go_PR-160 ']' 06:26:32 + PACKAGES=/tmp/packages_end.txt 06:26:32 + case "${OS_FAMILY}" in 06:26:32 + rpm -qa 06:26:32 + sort 06:26:37 + '[' -f /tmp/packages_start.txt ']' 06:26:37 + '[' -f /tmp/packages_end.txt ']' 06:26:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:37 + '[' /w/workspace/foundry_device-virtual-go_PR-160 ']' 06:26:37 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-160/archives/ 06:26:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-160/archives/ [Pipeline] echo 06:26:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:38 06:26:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:26:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:38 alpine: Pulling from edgex-lftools-log-publisher 06:26:38 df20fa9351a1: Pulling fs layer 06:26:38 36b3adc4ff6f: Pulling fs layer 06:26:38 8ad3a11d3b57: Pulling fs layer 06:26:38 46f8f816bc3b: Pulling fs layer 06:26:38 93b61091891f: Pulling fs layer 06:26:38 93b9cdb0e59b: Pulling fs layer 06:26:38 5e14af77c1be: Pulling fs layer 06:26:38 01666e4c0597: Pulling fs layer 06:26:38 aa168da1d23b: Pulling fs layer 06:26:38 46f8f816bc3b: Waiting 06:26:38 93b61091891f: Waiting 06:26:38 93b9cdb0e59b: Waiting 06:26:38 5e14af77c1be: Waiting 06:26:38 01666e4c0597: Waiting 06:26:38 aa168da1d23b: Waiting 06:26:38 36b3adc4ff6f: Verifying Checksum 06:26:38 36b3adc4ff6f: Download complete 06:26:38 46f8f816bc3b: Verifying Checksum 06:26:38 46f8f816bc3b: Download complete 06:26:38 df20fa9351a1: Verifying Checksum 06:26:38 df20fa9351a1: Download complete 06:26:39 93b9cdb0e59b: Download complete 06:26:39 93b61091891f: Verifying Checksum 06:26:39 93b61091891f: Download complete 06:26:39 5e14af77c1be: Verifying Checksum 06:26:39 5e14af77c1be: Download complete 06:26:39 01666e4c0597: Verifying Checksum 06:26:39 01666e4c0597: Download complete 06:26:39 8ad3a11d3b57: Verifying Checksum 06:26:39 8ad3a11d3b57: Download complete 06:26:39 df20fa9351a1: Pull complete 06:26:39 36b3adc4ff6f: Pull complete 06:26:40 8ad3a11d3b57: Pull complete 06:26:40 46f8f816bc3b: Pull complete 06:26:40 aa168da1d23b: Download complete 06:26:41 93b61091891f: Pull complete 06:26:41 93b9cdb0e59b: Pull complete 06:26:41 5e14af77c1be: Pull complete 06:26:41 01666e4c0597: Pull complete 06:26:49 aa168da1d23b: Pull complete 06:26:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:26:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:26:50 prd-centos7-docker-4c-2g-18119 does not seem to be running inside a container 06:26:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-160 -v /w/workspace/foundry_device-virtual-go_PR-160:/w/workspace/foundry_device-virtual-go_PR-160:rw,z -v /w/workspace/foundry_device-virtual-go_PR-160@tmp:/w/workspace/foundry_device-virtual-go_PR-160@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:26:53 $ docker top 6e1d5b17736f9ef95e8c451d5919f83c69326a243a8753939fc1aea3ffb73090 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:54 + touch /tmp/pre-build-complete [Pipeline] sh 06:26:54 + mkdir -p /var/log/sa [Pipeline] sh 06:26:54 + ls /var/log/sa-host 06:26:54 + sadf -c /var/log/sa-host/sa04 06:26:54 file_magic: OK 06:26:54 HZ: Using current value: 100 06:26:54 file_header: OK 06:26:54 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 06:26:54 Statistics: 06:26:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:26:54 File successfully converted to sysstat format version 12.2.1 06:26:54 + sadf -c /var/log/sa-host/sa23 06:26:54 file_magic: OK 06:26:54 HZ: Using current value: 100 06:26:54 file_header: OK 06:26:54 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 06:26:54 Statistics: 06:26:54 Hnuu...uuuununununu... 06:26:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:55 provisioning config files... 06:26:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config1923789530390748703tmp [Pipeline] { [Pipeline] echo 06:26:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:26:55 ---> create-netrc.sh [Pipeline] } 06:26:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:26:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:26:55 ---> python-tools-install.sh [Pipeline] echo 06:26:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:26:56 ---> sudo-logs.sh 06:26:56 Archiving 'sudo' log.. [Pipeline] echo 06:26:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:26:56 ---> job-cost.sh 06:26:56 lf-activate-venv: SKIPPING 06:26:56 INFO: No Stack... 06:26:58 INFO: Retrieving Pricing Info for: v1-standard-2 06:26:59 INFO: Archiving Costs [Pipeline] echo 06:26:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:26:59 ---> logs-deploy.sh 06:26:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-160/1 06:26:59 INFO: archiving workspace using pattern(s): 06:27:01 Archives upload complete. 06:27:01 INFO: archiving logs to Nexus 06:27:02 ---> uname -a: 06:27:02 Linux prd-centos7-docker-4c-2g-18119.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:27:02 06:27:02 06:27:02 ---> lscpu: 06:27:02 Architecture: x86_64 06:27:02 CPU op-mode(s): 32-bit, 64-bit 06:27:02 Byte Order: Little Endian 06:27:02 Address sizes: 40 bits physical, 48 bits virtual 06:27:02 CPU(s): 4 06:27:02 On-line CPU(s) list: 0-3 06:27:02 Thread(s) per core: 1 06:27:02 Core(s) per socket: 1 06:27:02 Socket(s): 4 06:27:02 NUMA node(s): 1 06:27:02 Vendor ID: GenuineIntel 06:27:02 CPU family: 6 06:27:02 Model: 44 06:27:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:27:02 Stepping: 1 06:27:02 CPU MHz: 2933.442 06:27:02 BogoMIPS: 5866.88 06:27:02 Virtualization: VT-x 06:27:02 Hypervisor vendor: KVM 06:27:02 Virtualization type: full 06:27:02 L1d cache: 128 KiB 06:27:02 L1i cache: 128 KiB 06:27:02 L2 cache: 16 MiB 06:27:02 L3 cache: 64 MiB 06:27:02 NUMA node0 CPU(s): 0-3 06:27:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:27:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:27:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:27:02 Vulnerability Meltdown: Mitigation; PTI 06:27:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:27:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:27:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:27:02 Vulnerability Srbds: Not affected 06:27:02 Vulnerability Tsx async abort: Not affected 06:27:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:27:02 06:27:02 06:27:02 ---> nproc: 06:27:02 4 06:27:02 06:27:02 06:27:02 ---> df -h: 06:27:02 Filesystem Size Used Available Use% Mounted on 06:27:02 overlay 50.0G 7.3G 42.7G 15% / 06:27:02 tmpfs 64.0M 0 64.0M 0% /dev 06:27:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:27:02 shm 64.0M 0 64.0M 0% /dev/shm 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-160 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-160@tmp 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:27:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:27:02 06:27:02 06:27:02 ---> free -m: 06:27:02 total used free shared buff/cache available 06:27:02 Mem: 1837 711 108 0 1017 1021 06:27:02 Swap: 1023 1 1022 06:27:02 06:27:02 06:27:02 ---> ip addr: 06:27:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:27:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:27:02 inet 127.0.0.1/8 scope host lo 06:27:02 valid_lft forever preferred_lft forever 06:27:02 inet6 ::1/128 scope host 06:27:02 valid_lft forever preferred_lft forever 06:27:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:27:02 link/ether fa:16:3e:0d:57:ea brd ff:ff:ff:ff:ff:ff 06:27:02 inet 10.30.123.136/23 brd 10.30.123.255 scope global dynamic eth0 06:27:02 valid_lft 85884sec preferred_lft 85884sec 06:27:02 inet6 fe80::f816:3eff:fe0d:57ea/64 scope link 06:27:02 valid_lft forever preferred_lft forever 06:27:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:27:02 link/ether 02:42:c5:96:d7:e1 brd ff:ff:ff:ff:ff:ff 06:27:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:27:02 valid_lft forever preferred_lft forever 06:27:02 inet6 fe80::42:c5ff:fe96:d7e1/64 scope link 06:27:02 valid_lft forever preferred_lft forever 06:27:02 06:27:02 06:27:02 ---> sar -b -r -n DEV: 06:27:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 06:27:02 06:27:02 06:18:12 LINUX RESTART (4 CPU) 06:27:02 06:27:02 06:19:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:27:02 06:20:01 29.01 11.58 17.43 0.00 4522.73 2908.94 0.00 06:27:02 06:21:01 1.83 0.00 1.83 0.00 0.00 36.23 0.00 06:27:02 06:22:01 0.23 0.00 0.23 0.00 0.00 2.07 0.00 06:27:02 06:23:01 0.38 0.00 0.38 0.00 0.00 6.08 0.00 06:27:02 06:24:01 0.42 0.00 0.42 0.00 0.00 4.35 0.00 06:27:02 06:25:01 0.72 0.00 0.72 0.00 0.00 8.39 0.00 06:27:02 06:26:01 0.17 0.00 0.17 0.00 0.00 2.03 0.00 06:27:02 Average: 4.62 1.63 2.99 0.00 637.26 418.34 0.00 06:27:02 06:27:02 06:19:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:27:02 06:20:01 165508 0 613708 32.62 2620 1099708 1107540 37.80 435136 1080704 20 06:27:02 06:21:01 168984 0 610228 32.43 2620 1099712 1092952 37.30 434248 1078988 12 06:27:02 06:22:01 167636 0 611568 32.50 2620 1099720 1086796 37.09 433308 1081072 20 06:27:02 06:23:01 167896 0 611308 32.49 2620 1099720 1086820 37.09 444420 1070208 8 06:27:02 06:24:01 165704 0 613492 32.61 2620 1099728 1086844 37.09 449056 1067596 8 06:27:02 06:25:01 166328 0 612864 32.57 2620 1099732 1081716 36.92 462240 1054024 12 06:27:02 06:26:01 166328 0 612860 32.57 2620 1099736 1081764 36.92 462544 1054024 8 06:27:02 Average: 166912 0 612290 32.54 2620 1099722 1089205 37.17 445850 1069517 13 06:27:02 06:27:02 06:19:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:27:02 06:20:01 eth0 83.60 62.35 351.57 31.54 0.00 0.00 0.00 0.00 06:27:02 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:20:01 docker0 2.18 1.73 0.41 3.63 0.00 0.00 0.00 0.00 06:27:02 06:21:01 eth0 4.35 1.00 1.29 0.81 0.00 0.00 0.00 0.00 06:27:02 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:22:01 eth0 3.46 0.55 0.76 0.39 0.00 0.00 0.00 0.00 06:27:02 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:23:01 eth0 2.02 0.70 0.86 0.58 0.00 0.00 0.00 0.00 06:27:02 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:24:01 eth0 0.97 0.42 0.42 0.26 0.00 0.00 0.00 0.00 06:27:02 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:25:01 eth0 1.83 0.32 0.38 0.20 0.00 0.00 0.00 0.00 06:27:02 06:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:26:01 eth0 1.95 0.58 0.64 0.40 0.00 0.00 0.00 0.00 06:27:02 06:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 06:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 Average: eth0 13.87 9.29 50.16 4.82 0.00 0.00 0.00 0.00 06:27:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:02 Average: docker0 0.31 0.24 0.06 0.51 0.00 0.00 0.00 0.00 06:27:02 06:27:02 06:27:02 ---> sar -P ALL: 06:27:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 06:27:02 06:27:02 06:18:12 LINUX RESTART (4 CPU) 06:27:02 06:27:02 06:19:02 CPU %user %nice %system %iowait %steal %idle 06:27:02 06:20:01 all 2.56 0.00 2.10 0.41 0.04 94.89 06:27:02 06:20:01 0 2.37 0.00 2.30 0.85 0.07 94.41 06:27:02 06:20:01 1 2.66 0.00 2.49 0.65 0.03 94.18 06:27:02 06:20:01 2 2.86 0.00 1.64 0.05 0.03 95.41 06:27:02 06:20:01 3 2.34 0.00 1.98 0.09 0.03 95.57 06:27:02 06:21:01 all 0.21 0.00 0.05 0.00 0.06 99.68 06:27:02 06:21:01 0 0.07 0.00 0.07 0.00 0.07 99.80 06:27:02 06:21:01 1 0.12 0.00 0.05 0.00 0.07 99.77 06:27:02 06:21:01 2 0.60 0.00 0.05 0.00 0.08 99.27 06:27:02 06:21:01 3 0.05 0.00 0.03 0.00 0.02 99.90 06:27:02 06:22:01 all 0.17 0.00 0.05 0.00 0.00 99.78 06:27:02 06:22:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:27:02 06:22:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:27:02 06:22:01 2 0.53 0.00 0.07 0.00 0.02 99.38 06:27:02 06:22:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:27:02 06:23:01 all 0.15 0.00 0.06 0.00 0.01 99.77 06:27:02 06:23:01 0 0.03 0.00 0.08 0.00 0.00 99.88 06:27:02 06:23:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:27:02 06:23:01 2 0.42 0.00 0.03 0.00 0.00 99.55 06:27:02 06:23:01 3 0.12 0.00 0.08 0.00 0.02 99.78 06:27:02 06:24:01 all 0.17 0.00 0.04 0.00 0.00 99.79 06:27:02 06:24:01 0 0.53 0.00 0.05 0.00 0.00 99.42 06:27:02 06:24:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:27:02 06:24:01 2 0.07 0.00 0.03 0.00 0.00 99.90 06:27:02 06:24:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:27:02 06:25:01 all 0.15 0.00 0.08 0.00 0.00 99.77 06:27:02 06:25:01 0 0.50 0.00 0.15 0.00 0.00 99.35 06:27:02 06:25:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:27:02 06:25:01 2 0.03 0.00 0.07 0.00 0.00 99.90 06:27:02 06:25:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:27:02 06:26:01 all 0.19 0.00 0.03 0.00 0.00 99.78 06:27:02 06:26:01 0 0.52 0.00 0.02 0.00 0.00 99.47 06:27:02 06:26:01 1 0.10 0.00 0.05 0.00 0.00 99.85 06:27:02 06:26:01 2 0.07 0.00 0.03 0.00 0.02 99.88 06:27:02 06:26:01 3 0.07 0.00 0.02 0.00 0.00 99.92 06:27:02 Average: all 0.51 0.00 0.34 0.06 0.02 99.08 06:27:02 Average: 0 0.57 0.00 0.38 0.12 0.02 98.91 06:27:02 Average: 1 0.43 0.00 0.39 0.09 0.02 99.08 06:27:02 Average: 2 0.65 0.00 0.27 0.01 0.02 99.05 06:27:02 Average: 3 0.38 0.00 0.32 0.01 0.01 99.28 06:27:02 06:27:02 06:27:02