Branch indexing 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 FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from f2a07c55ff48285d13d0ef27034f6295deadfd6a+14ab43fad92bd248aba56f332b2aaf744f255a41 (289f002fd1a6c68925cdf97fa303497ab100a803) 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 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19634 in /w/workspace/foundry_device-virtual-go_PR-161 [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-161 # timeout=10 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/161/head:refs/remotes/origin/PR-161 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 14ab43fad92bd248aba56f332b2aaf744f255a41 into PR head commit f2a07c55ff48285d13d0ef27034f6295deadfd6a Merge succeeded, producing 60ac99850c12819fd90b17594af123d46e347057 Checking out Revision 60ac99850c12819fd90b17594af123d46e347057 (PR-161) > git config core.sparsecheckout # timeout=10 > git checkout -f f2a07c55ff48285d13d0ef27034f6295deadfd6a # 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 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60ac99850c12819fd90b17594af123d46e347057 # timeout=10 Commit message: "Merge commit '14ab43fad92bd248aba56f332b2aaf744f255a41' into HEAD" > git rev-list --no-walk f2a07c55ff48285d13d0ef27034f6295deadfd6a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:34 ========================================================= 00:13:34 EdgeX Global Pipelines Version Info 00:13:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:36 ------------------- 00:13:36 stable info: 00:13:36 ------------------- 00:13:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:13:36 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:36 Message: update stable to v1.0.173 00:13:36 ------------------- 00:13:36 experimental info: 00:13:36 ------------------- 00:13:36 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:36 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:36 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60ac99850c12819fd90b17594af123d46e347057 [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60ac998 [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:13:40 provisioning config files... 00:13:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-161@tmp/config1882934845989591996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:41 ---> docker-login.sh 00:13:41 nexus3.edgexfoundry.org:10001 00:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:41 Configure a credential helper to remove this warning. See 00:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:41 00:13:41 Login Succeeded 00:13:41 nexus3.edgexfoundry.org:10002 00:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:41 Configure a credential helper to remove this warning. See 00:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:41 00:13:41 Login Succeeded 00:13:41 nexus3.edgexfoundry.org:10003 00:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:42 Configure a credential helper to remove this warning. See 00:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:42 00:13:42 Login Succeeded 00:13:42 nexus3.edgexfoundry.org:10004 00:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:42 Configure a credential helper to remove this warning. See 00:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:42 00:13:42 Login Succeeded 00:13:42 docker.io 00:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:42 Configure a credential helper to remove this warning. See 00:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:42 00:13:42 Login Succeeded 00:13:42 ---> docker-login.sh ends [Pipeline] } 00:13:42 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 00:13:43 + git log --format=format:%s -1 60ac99850c12819fd90b17594af123d46e347057 [Pipeline] echo 00:13:43 GIT_COMMIT: 60ac99850c12819fd90b17594af123d46e347057, Commit Message: Merge commit '14ab43fad92bd248aba56f332b2aaf744f255a41' into HEAD [Pipeline] echo 00:13:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:44 00:13:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:13:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:45 latest: Pulling from edgex-devops/git-semver 00:13:45 31603596830f: Pulling fs layer 00:13:45 2a8b12db71e7: Pulling fs layer 00:13:45 6ca5941a6612: Pulling fs layer 00:13:45 ecc8261a40a4: Pulling fs layer 00:13:45 ecc8261a40a4: Waiting 00:13:45 2a8b12db71e7: Verifying Checksum 00:13:45 2a8b12db71e7: Download complete 00:13:45 31603596830f: Verifying Checksum 00:13:45 31603596830f: Download complete 00:13:45 ecc8261a40a4: Verifying Checksum 00:13:45 ecc8261a40a4: Download complete 00:13:45 6ca5941a6612: Verifying Checksum 00:13:45 6ca5941a6612: Download complete 00:13:45 31603596830f: Pull complete 00:13:45 2a8b12db71e7: Pull complete 00:13:46 6ca5941a6612: Pull complete 00:13:47 ecc8261a40a4: Pull complete 00:13:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:13:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:13:47 prd-centos7-docker-4c-2g-19634 does not seem to be running inside a container 00:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-161 -v /w/workspace/foundry_device-virtual-go_PR-161:/w/workspace/foundry_device-virtual-go_PR-161:rw,z -v /w/workspace/foundry_device-virtual-go_PR-161@tmp:/w/workspace/foundry_device-virtual-go_PR-161@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:13:49 $ docker top 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:50 [ssh-agent] Looking for ssh-agent implementation... 00:13:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:50 $ docker exec 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 ssh-agent 00:13:50 SSH_AUTH_SOCK=/tmp/ssh-t9msS2SqFCAY/agent.12 00:13:50 SSH_AGENT_PID=17 00:13:50 Running ssh-add (command line suppressed) 00:13:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-161@tmp/private_key_4612519816423753688.key (/w/workspace/foundry_device-virtual-go_PR-161@tmp/private_key_4612519816423753688.key) 00:13:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:51 + git tag --points-at HEAD [Pipeline] } 00:13:51 $ docker exec --env ******** --env ******** 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 ssh-agent -k 00:13:51 unset SSH_AUTH_SOCK; 00:13:51 unset SSH_AGENT_PID; 00:13:51 echo Agent pid 17 killed; 00:13:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:51 [ssh-agent] Looking for ssh-agent implementation... 00:13:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:51 $ docker exec 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 ssh-agent 00:13:51 SSH_AUTH_SOCK=/tmp/ssh-6ksx8Xt1nkTC/agent.46 00:13:51 SSH_AGENT_PID=52 00:13:51 Running ssh-add (command line suppressed) 00:13:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-161@tmp/private_key_8891746638571295711.key (/w/workspace/foundry_device-virtual-go_PR-161@tmp/private_key_8891746638571295711.key) 00:13:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:52 + git semver init 00:13:52 # -> Open(): unable to determine branch for HEAD 00:13:52 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-161/.git 00:13:52 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-161 00:13:52 # $SEMVER_REMOTE_NAME = origin 00:13:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:13:52 # $SEMVER_USER_NAME = edgex-jenkins 00:13:52 # $SEMVER_BRANCH = PR-161 00:13:52 # $SEMVER_TEMP = /tmp/semver-702970532 00:13:52 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:13:52 # '/tmp/semver-702970532' -> '/w/workspace/foundry_device-virtual-go_PR-161/.semver' 00:13:52 # -> Force: false 00:13:52 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-161/.semver [Pipeline] } 00:13:52 $ docker exec --env ******** --env ******** 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 ssh-agent -k 00:13:52 unset SSH_AUTH_SOCK; 00:13:52 unset SSH_AGENT_PID; 00:13:52 echo Agent pid 52 killed; 00:13:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:53 + git semver [Pipeline] } 00:13:53 $ docker stop --time=1 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 00:13:54 $ docker rm -f 66479218db325d210e77de8f1ded0b0e97c1fe4718d5e9d91e7fd89e71a836d5 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:55 Stashed 1 file(s) [Pipeline] echo 00:13:55 [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 00:14:11 Still waiting to schedule task 00:14:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:14:11 Still waiting to schedule task 00:14:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 00:16:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19635 in /w/workspace/foundry_device-virtual-go_PR-161 [Pipeline] { [Pipeline] ws 00:16:04 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:08 Running on prd-centos7-docker-4c-2g-19636 in /w/workspace/foundry_device-virtual-go_PR-161 [Pipeline] { [Pipeline] ws 00:16:08 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:09 using credential edgex-jenkins-ssh 00:16:09 Cloning the remote Git repository 00:16:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:09 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:09 > git --version # timeout=10 00:16:09 > git --version # 'git version 2.17.1' 00:16:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:10 using credential edgex-jenkins-ssh 00:16:10 Cloning the remote Git repository 00:16:11 Merging remotes/origin/master commit 14ab43fad92bd248aba56f332b2aaf744f255a41 into PR head commit f2a07c55ff48285d13d0ef27034f6295deadfd6a 00:16:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:16:11 > git config core.sparsecheckout # timeout=10 00:16:11 > git checkout -f f2a07c55ff48285d13d0ef27034f6295deadfd6a # timeout=10 00:16:11 Merge succeeded, producing 8d5d9e9cade99270950a4953dc9d25dfe6010024 00:16:11 Checking out Revision 8d5d9e9cade99270950a4953dc9d25dfe6010024 (PR-161) 00:16:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:10 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:11 > git --version # timeout=10 00:16:11 > git --version # 'git version 2.24.3' 00:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:16:12 Merging remotes/origin/master commit 14ab43fad92bd248aba56f332b2aaf744f255a41 into PR head commit f2a07c55ff48285d13d0ef27034f6295deadfd6a 00:16:12 Merge succeeded, producing 314a4bec41d63b3f43da7691018501cd5398dca4 00:16:12 Checking out Revision 314a4bec41d63b3f43da7691018501cd5398dca4 (PR-161) 00:16:12 > git config core.sparsecheckout # timeout=10 00:16:12 > git checkout -f f2a07c55ff48285d13d0ef27034f6295deadfd6a # timeout=10 00:16:12 > git remote # timeout=10 00:16:12 > git config --get remote.origin.url # timeout=10 00:16:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:12 > git merge 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 00:16:12 > git rev-parse HEAD^{commit} # timeout=10 00:16:12 > git config core.sparsecheckout # timeout=10 00:16:12 > git checkout -f 314a4bec41d63b3f43da7691018501cd5398dca4 # timeout=10 00:16:11 > git remote # timeout=10 00:16:11 > git config --get remote.origin.url # timeout=10 00:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:11 > git merge 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 00:16:11 > git rev-parse HEAD^{commit} # timeout=10 00:16:11 > git config core.sparsecheckout # timeout=10 00:16:11 > git checkout -f 8d5d9e9cade99270950a4953dc9d25dfe6010024 # timeout=10 00:16:16 Commit message: "Merge commit '14ab43fad92bd248aba56f332b2aaf744f255a41' into HEAD" 00:16:16 Commit message: "Merge commit '14ab43fad92bd248aba56f332b2aaf744f255a41' into HEAD" 00:16:16 > git rev-list --no-walk f2a07c55ff48285d13d0ef27034f6295deadfd6a # timeout=10 00:16:16 > git rev-list --no-walk f2a07c55ff48285d13d0ef27034f6295deadfd6a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:16:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:16:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 00:16:18 + sudo service docker restart 00:16:18 + true 00:16:18 Redirecting to /bin/systemctl restart docker.service 00:16:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:16:19 + sudo service docker restart 00:16:19 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:19 provisioning config files... 00:16:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3547130403462291835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:20 ---> docker-login.sh 00:16:20 nexus3.edgexfoundry.org:10001 00:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:20 Configure a credential helper to remove this warning. See 00:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:20 00:16:20 Login Succeeded 00:16:20 nexus3.edgexfoundry.org:10002 00:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:20 Configure a credential helper to remove this warning. See 00:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:20 00:16:20 Login Succeeded 00:16:20 nexus3.edgexfoundry.org:10003 00:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:20 Configure a credential helper to remove this warning. See 00:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:20 00:16:20 Login Succeeded 00:16:20 nexus3.edgexfoundry.org:10004 00:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:21 Configure a credential helper to remove this warning. See 00:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:21 00:16:21 Login Succeeded 00:16:21 docker.io 00:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:21 Configure a credential helper to remove this warning. See 00:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:21 00:16:21 Login Succeeded 00:16:21 ---> docker-login.sh ends [Pipeline] } 00:16:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:21 provisioning config files... 00:16:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5306142262278956401tmp [Pipeline] echo 00:16:21 ========================================================= 00:16:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:16:21 ========================================================= [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 00:16:22 ---> docker-login.sh 00:16:22 nexus3.edgexfoundry.org:10001 00:16:22 + 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 . 00:16:22 Sending build context to Docker daemon 488.4kB 00:16:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:16:22 Step 2/8 : FROM ${BASE} 00:16:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:22 188c0c94c7c5: Pulling fs layer 00:16:22 0ef7d3d256c8: Pulling fs layer 00:16:22 de9db76c5a1d: Pulling fs layer 00:16:22 bca2f99d35d6: Pulling fs layer 00:16:22 93359f2a8cfa: Pulling fs layer 00:16:22 7c6f9722023f: Pulling fs layer 00:16:22 a35cf1a2eb13: Pulling fs layer 00:16:22 93359f2a8cfa: Waiting 00:16:22 bca2f99d35d6: Waiting 00:16:22 7c6f9722023f: Waiting 00:16:22 a35cf1a2eb13: Waiting 00:16:22 de9db76c5a1d: Verifying Checksum 00:16:22 de9db76c5a1d: Download complete 00:16:22 0ef7d3d256c8: Download complete 00:16:22 93359f2a8cfa: Verifying Checksum 00:16:22 93359f2a8cfa: Download complete 00:16:22 188c0c94c7c5: Verifying Checksum 00:16:22 7c6f9722023f: Verifying Checksum 00:16:22 7c6f9722023f: Download complete 00:16:22 188c0c94c7c5: Pull complete 00:16:22 0ef7d3d256c8: Pull complete 00:16:23 de9db76c5a1d: Pull complete 00:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:23 Configure a credential helper to remove this warning. See 00:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:23 00:16:23 Login Succeeded 00:16:23 nexus3.edgexfoundry.org:10002 00:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:24 Configure a credential helper to remove this warning. See 00:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:24 00:16:24 Login Succeeded 00:16:24 nexus3.edgexfoundry.org:10003 00:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:25 Configure a credential helper to remove this warning. See 00:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:25 00:16:25 Login Succeeded 00:16:25 nexus3.edgexfoundry.org:10004 00:16:25 a35cf1a2eb13: Verifying Checksum 00:16:25 a35cf1a2eb13: Download complete 00:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:25 Configure a credential helper to remove this warning. See 00:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:25 00:16:25 Login Succeeded 00:16:25 docker.io 00:16:25 bca2f99d35d6: Verifying Checksum 00:16:25 bca2f99d35d6: Download complete 00:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:26 Configure a credential helper to remove this warning. See 00:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:26 00:16:26 Login Succeeded 00:16:26 ---> docker-login.sh ends [Pipeline] } 00:16:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:26 ========================================================= 00:16:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:16:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:16:27 + 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 . 00:16:27 Sending build context to Docker daemon 487.4kB 00:16:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:16:27 Step 2/8 : FROM ${BASE} 00:16:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:27 5f621e34cdf4: Pulling fs layer 00:16:27 a4357932f1b6: Pulling fs layer 00:16:27 18c013af1878: Pulling fs layer 00:16:27 00ac8860ef70: Pulling fs layer 00:16:27 63d7cb157983: Pulling fs layer 00:16:27 b116817d02f9: Pulling fs layer 00:16:27 745a02a5169b: Pulling fs layer 00:16:27 63d7cb157983: Waiting 00:16:27 b116817d02f9: Waiting 00:16:27 745a02a5169b: Waiting 00:16:27 00ac8860ef70: Waiting 00:16:27 18c013af1878: Verifying Checksum 00:16:27 18c013af1878: Download complete 00:16:27 a4357932f1b6: Verifying Checksum 00:16:27 a4357932f1b6: Download complete 00:16:27 63d7cb157983: Verifying Checksum 00:16:27 63d7cb157983: Download complete 00:16:27 b116817d02f9: Download complete 00:16:27 5f621e34cdf4: Verifying Checksum 00:16:27 5f621e34cdf4: Download complete 00:16:28 5f621e34cdf4: Pull complete 00:16:28 a4357932f1b6: Pull complete 00:16:29 18c013af1878: Pull complete 00:16:30 745a02a5169b: Verifying Checksum 00:16:30 745a02a5169b: Download complete 00:16:31 00ac8860ef70: Verifying Checksum 00:16:31 00ac8860ef70: Download complete 00:16:31 bca2f99d35d6: Pull complete 00:16:31 93359f2a8cfa: Pull complete 00:16:31 7c6f9722023f: Pull complete 00:16:39 a35cf1a2eb13: Pull complete 00:16:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:16:39 ---> a62c8e92a672 00:16:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:16:39 ---> Running in 4f9e7c9cb415 00:16:39 Removing intermediate container 4f9e7c9cb415 00:16:39 ---> 63c054aef2c3 00:16:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:39 ---> Running in 296e1509d817 00:16:40 Removing intermediate container 296e1509d817 00:16:40 ---> e6d007a85204 00:16:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:16:40 ---> Running in ff497cb88f18 00:16:41 00ac8860ef70: Pull complete 00:16:41 63d7cb157983: Pull complete 00:16:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:16:41 b116817d02f9: Pull complete 00:16:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:16:43 (1/14) Installing libmagic (5.38-r0) 00:16:43 (2/14) Installing file (5.38-r0) 00:16:43 (3/14) Installing libc-dev (0.7.2-r3) 00:16:43 (4/14) Installing g++ (9.3.0-r2) 00:16:45 745a02a5169b: Pull complete 00:16:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:16:45 ---> b7e6874047d6 00:16:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:16:48 ---> Running in 3cc53268ac9c 00:16:48 Removing intermediate container 3cc53268ac9c 00:16:48 ---> 9306c38eec60 00:16:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:48 ---> Running in 5229936a2d49 00:16:51 Removing intermediate container 5229936a2d49 00:16:51 ---> 5437d49e2922 00:16:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:16:51 ---> Running in 360393ad01d8 00:16:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:16:53 (1/14) Installing libmagic (5.38-r0) 00:16:53 (2/14) Installing file (5.38-r0) 00:16:54 (3/14) Installing libc-dev (0.7.2-r3) 00:16:54 (4/14) Installing g++ (9.3.0-r2) 00:17:01 (5/14) Installing fortify-headers (1.1-r0) 00:17:01 (6/14) Installing patch (2.7.6-r6) 00:17:01 (7/14) Installing build-base (0.5-r2) 00:17:01 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:01 (9/14) Installing libedit (20191231.3.1-r0) 00:17:01 (10/14) Installing openssh-client (8.3_p1-r1) 00:17:01 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:01 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:17:01 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:01 (14/14) Installing openssh (8.3_p1-r1) 00:17:01 Executing busybox-1.31.1-r19.trigger 00:17:01 OK: 237 MiB in 53 packages 00:17:04 (5/14) Installing fortify-headers (1.1-r0) 00:17:04 (6/14) Installing patch (2.7.6-r6) 00:17:04 (7/14) Installing build-base (0.5-r2) 00:17:04 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:04 (9/14) Installing libedit (20191231.3.1-r0) 00:17:04 (10/14) Installing openssh-client (8.3_p1-r1) 00:17:04 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:04 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:17:04 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:04 (14/14) Installing openssh (8.3_p1-r1) 00:17:04 Executing busybox-1.31.1-r19.trigger 00:17:04 OK: 221 MiB in 53 packages 00:17:05 Removing intermediate container ff497cb88f18 00:17:05 ---> 506eaf03f04e 00:17:05 Step 6/8 : WORKDIR /device-virtual-go 00:17:05 ---> Running in fa7b9a25ff1f 00:17:05 Removing intermediate container fa7b9a25ff1f 00:17:05 ---> b2fc7a99296c 00:17:05 Step 7/8 : COPY . . 00:17:05 ---> 2b825a5d0dd2 00:17:05 Step 8/8 : RUN go mod download 00:17:06 ---> Running in f325e486aaf1 00:17:09 Removing intermediate container 360393ad01d8 00:17:09 ---> abfb91c212e1 00:17:09 Step 6/8 : WORKDIR /device-virtual-go 00:17:09 ---> Running in d3a021876e1e 00:17:09 Removing intermediate container d3a021876e1e 00:17:09 ---> abbf8b78d6b3 00:17:09 Step 7/8 : COPY . . 00:17:10 ---> fc2c42d0050a 00:17:10 Step 8/8 : RUN go mod download 00:17:10 ---> Running in d9cce7bda915 00:17:28 Removing intermediate container f325e486aaf1 00:17:28 ---> 51674c5ba371 00:17:28 Successfully built 51674c5ba371 00:17:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:17:28 + docker inspect -f . ci-base-image-x86_64 00:17:28 . [Pipeline] withDockerContainer 00:17:28 prd-centos7-docker-4c-2g-19636 does not seem to be running inside a container 00:17:28 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:29 $ docker top fc0500b757ba5fe423d38960d9144a853edbb425d14a99c055f0bf86f3d710a1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:29 + go version 00:17:29 go version go1.15.5 linux/amd64 [Pipeline] } 00:17:29 $ docker stop --time=1 fc0500b757ba5fe423d38960d9144a853edbb425d14a99c055f0bf86f3d710a1 00:17:31 $ docker rm -f fc0500b757ba5fe423d38960d9144a853edbb425d14a99c055f0bf86f3d710a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:32 + docker inspect -f . ci-base-image-x86_64 00:17:32 . [Pipeline] withDockerContainer 00:17:32 prd-centos7-docker-4c-2g-19636 does not seem to be running inside a container 00:17:32 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:32 $ docker top 2d472f3ba4f7fed19db075fba69449516ba4eafbf2528e304603e4c6bed5220f -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:33 + make test 00:17:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:17:37 Removing intermediate container d9cce7bda915 00:17:37 ---> bbe56542e6ee 00:17:37 Successfully built bbe56542e6ee 00:17:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:17:37 + docker inspect -f . ci-base-image-arm64 00:17:37 . [Pipeline] withDockerContainer 00:17:37 prd-ubuntu18.04-docker-arm64-4c-16g-19635 does not seem to be running inside a container 00:17:37 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:39 $ docker top 58a07517de00c6b421308bfb3a484482d8a5c085d6b7b772832daec7899b40cb -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:40 + go version 00:17:40 go version go1.15.5 linux/arm64 [Pipeline] } 00:17:40 $ docker stop --time=1 58a07517de00c6b421308bfb3a484482d8a5c085d6b7b772832daec7899b40cb 00:17:42 $ docker rm -f 58a07517de00c6b421308bfb3a484482d8a5c085d6b7b772832daec7899b40cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:43 + docker inspect -f . ci-base-image-arm64 00:17:43 . [Pipeline] withDockerContainer 00:17:43 prd-ubuntu18.04-docker-arm64-4c-16g-19635 does not seem to be running inside a container 00:17:43 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:45 $ docker top 54624e8f9538123cde365a2a8821d60d63b01edb31f53e224a580db3c0c368dd -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:46 + make test 00:17:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:17:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:17:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.344s coverage: 64.4% of statements 00:17:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:17:53 gofmt -l . 00:17:53 [ "`gofmt -l .`" = "" ] 00:17:53 ./bin/test-attribution-txt.sh 00:17:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:17:54 $ docker stop --time=1 2d472f3ba4f7fed19db075fba69449516ba4eafbf2528e304603e4c6bed5220f 00:17:56 $ docker rm -f 2d472f3ba4f7fed19db075fba69449516ba4eafbf2528e304603e4c6bed5220f [Pipeline] // withDockerContainer [Pipeline] sh 00:17:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:17:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:00 + ls -al . 00:18:00 total 124 00:18:00 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 12 00:17 . 00:18:00 drwxrwxr-x. 4 jenkins jenkins 28 Jan 12 00:16 .. 00:18:00 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 12 00:16 Attribution.txt 00:18:00 drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 00:16 bin 00:18:00 drwxrwxr-x. 3 jenkins jenkins 32 Jan 12 00:16 cmd 00:18:00 -rw-r--r--. 1 jenkins jenkins 47242 Jan 12 00:17 coverage.out 00:18:00 -rw-rw-r--. 1 jenkins jenkins 1851 Jan 12 00:16 Dockerfile 00:18:00 -rw-rw-r--. 1 jenkins jenkins 961 Jan 12 00:16 Dockerfile.build 00:18:00 drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 00:16 .git 00:18:00 drwxrwxr-x. 2 jenkins jenkins 60 Jan 12 00:16 .github 00:18:00 -rw-rw-r--. 1 jenkins jenkins 258 Jan 12 00:16 .gitignore 00:18:00 -rw-r--r--. 1 jenkins jenkins 856 Jan 12 00:17 go.mod 00:18:00 -rw-r--r--. 1 jenkins jenkins 16346 Jan 12 00:17 go.sum 00:18:00 drwxrwxr-x. 3 jenkins jenkins 20 Jan 12 00:16 internal 00:18:00 -rw-rw-r--. 1 jenkins jenkins 660 Jan 12 00:16 Jenkinsfile 00:18:00 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 12 00:16 LICENSE 00:18:00 -rw-rw-r--. 1 jenkins jenkins 873 Jan 12 00:16 Makefile 00:18:00 -rw-rw-r--. 1 jenkins jenkins 918 Jan 12 00:16 README.md 00:18:00 -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 00:13 VERSION 00:18:00 -rw-rw-r--. 1 jenkins jenkins 235 Jan 12 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:00 + 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=60ac99850c12819fd90b17594af123d46e347057 --label arch=amd64 --label version=0.0.0 . 00:18:00 Sending build context to Docker daemon 553.5kB 00:18:00 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:00 Step 2/22 : FROM ${BASE} AS builder 00:18:00 ---> 51674c5ba371 00:18:00 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:01 ---> Running in f0a9fb6f6750 00:18:01 Removing intermediate container f0a9fb6f6750 00:18:01 ---> 009e7b46afd3 00:18:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:01 ---> Running in 258866d94a04 00:18:01 Removing intermediate container 258866d94a04 00:18:01 ---> 4eb5148021eb 00:18:01 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:01 ---> Running in 976c7ba8e0ee 00:18:01 Removing intermediate container 976c7ba8e0ee 00:18:01 ---> 6326c1c43232 00:18:01 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:01 ---> Running in 87832a3cc3b5 00:18:02 Removing intermediate container 87832a3cc3b5 00:18:02 ---> 72009bbf587b 00:18:02 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:02 ---> Running in 45d5d32e1fd1 00:18:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:18:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:18:04 OK: 237 MiB in 53 packages 00:18:05 Removing intermediate container 45d5d32e1fd1 00:18:05 ---> 3796dbf156ee 00:18:05 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:05 ---> Running in e28997514345 00:18:05 Removing intermediate container e28997514345 00:18:05 ---> de5c9b5457e4 00:18:05 Step 9/22 : COPY . . 00:18:06 ---> b62f0d2faff5 00:18:06 Step 10/22 : ARG MAKE='make build' 00:18:06 ---> Running in 9fa0994c57ad 00:18:07 Removing intermediate container 9fa0994c57ad 00:18:07 ---> 94aaf1724d93 00:18:07 Step 11/22 : RUN $MAKE 00:18:07 ---> Running in feb6266fc041 00:18:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:18:19 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:18:23 Removing intermediate container feb6266fc041 00:18:23 ---> b96ec626b22d 00:18:23 Step 12/22 : FROM alpine:3.12 00:18:23 3.12: Pulling from library/alpine 00:18:23 801bfaa63ef2: Pulling fs layer 00:18:24 801bfaa63ef2: Verifying Checksum 00:18:24 801bfaa63ef2: Download complete 00:18:24 801bfaa63ef2: Pull complete 00:18:24 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:18:24 Status: Downloaded newer image for alpine:3.12 00:18:24 ---> 389fef711851 00:18:24 Step 13/22 : ENV APP_PORT=49990 00:18:24 ---> Running in 6200f0c1765f 00:18:24 Removing intermediate container 6200f0c1765f 00:18:24 ---> b7f81f5802e4 00:18:24 Step 14/22 : EXPOSE $APP_PORT 00:18:24 ---> Running in 5f6fbfae7e1d 00:18:24 Removing intermediate container 5f6fbfae7e1d 00:18:24 ---> 0b24e407d7e6 00:18:24 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:18:25 ---> 98a67318e622 00:18:25 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:18:25 ---> 3e49775f6d84 00:18:25 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:18:25 ---> 592b24d6c4c9 00:18:25 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:18:25 ---> Running in 8da5e1eb1794 00:18:26 Removing intermediate container 8da5e1eb1794 00:18:26 ---> 83c5f2ae823e 00:18:26 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:18:26 ---> Running in 94882ce535ea 00:18:26 Removing intermediate container 94882ce535ea 00:18:26 ---> d2fc3ae31408 00:18:26 Step 20/22 : LABEL arch=amd64 00:18:26 ---> Running in 0ac9ac2e70f7 00:18:26 Removing intermediate container 0ac9ac2e70f7 00:18:26 ---> 10153bd2b851 00:18:26 Step 21/22 : LABEL git_sha=60ac99850c12819fd90b17594af123d46e347057 00:18:26 ---> Running in 83672eb89dc0 00:18:26 Removing intermediate container 83672eb89dc0 00:18:26 ---> 729459259f13 00:18:26 Step 22/22 : LABEL version=0.0.0 00:18:26 ---> Running in c94b829064ea 00:18:26 Removing intermediate container c94b829064ea 00:18:26 ---> 1bf496f92869 00:18:26 [Warning] One or more build-args [ARCH] were not consumed 00:18:26 Successfully built 1bf496f92869 00:18:26 Successfully tagged docker-device-virtual-go:latest [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] } 00:18:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.486s coverage: 64.4% of statements 00:18:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:41 gofmt -l . 00:18:41 [ "`gofmt -l .`" = "" ] 00:18:41 ./bin/test-attribution-txt.sh 00:18:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:42 $ docker stop --time=1 54624e8f9538123cde365a2a8821d60d63b01edb31f53e224a580db3c0c368dd 00:18:44 $ docker rm -f 54624e8f9538123cde365a2a8821d60d63b01edb31f53e224a580db3c0c368dd [Pipeline] // withDockerContainer [Pipeline] sh 00:18:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:45 Warning: overwriting stash ‘coverage-report’ 00:18:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:47 + ls -al . 00:18:47 total 148 00:18:47 drwxrwxr-x 7 jenkins jenkins 4096 Jan 12 00:18 . 00:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 00:16 .. 00:18:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 00:16 .git 00:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:16 .github 00:18:47 -rw-rw-r-- 1 jenkins jenkins 258 Jan 12 00:16 .gitignore 00:18:47 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 12 00:16 Attribution.txt 00:18:47 -rw-rw-r-- 1 jenkins jenkins 1851 Jan 12 00:16 Dockerfile 00:18:47 -rw-rw-r-- 1 jenkins jenkins 961 Jan 12 00:16 Dockerfile.build 00:18:47 -rw-rw-r-- 1 jenkins jenkins 660 Jan 12 00:16 Jenkinsfile 00:18:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 12 00:16 LICENSE 00:18:47 -rw-rw-r-- 1 jenkins jenkins 873 Jan 12 00:16 Makefile 00:18:47 -rw-rw-r-- 1 jenkins jenkins 918 Jan 12 00:16 README.md 00:18:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 00:13 VERSION 00:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:16 bin 00:18:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:16 cmd 00:18:47 -rw-r--r-- 1 jenkins jenkins 47242 Jan 12 00:18 coverage.out 00:18:47 -rw-r--r-- 1 jenkins jenkins 856 Jan 12 00:18 go.mod 00:18:47 -rw-r--r-- 1 jenkins jenkins 16346 Jan 12 00:18 go.sum 00:18:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:16 internal 00:18:47 -rw-rw-r-- 1 jenkins jenkins 235 Jan 12 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:47 + 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=60ac99850c12819fd90b17594af123d46e347057 --label arch=arm64 --label version=0.0.0 . 00:18:47 Sending build context to Docker daemon 552.4kB 00:18:47 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:47 Step 2/22 : FROM ${BASE} AS builder 00:18:47 ---> bbe56542e6ee 00:18:47 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:48 ---> Running in 9ef4e0ba81a1 00:18:48 Removing intermediate container 9ef4e0ba81a1 00:18:48 ---> 5c4f1c6d9181 00:18:48 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:48 ---> Running in f627c9975979 00:18:49 Removing intermediate container f627c9975979 00:18:49 ---> 32f34f52106f 00:18:49 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:49 ---> Running in 44e3d55ac647 00:18:50 Removing intermediate container 44e3d55ac647 00:18:50 ---> 615ccf8abbc6 00:18:50 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:50 ---> Running in 3a4d2d4ff289 00:18:52 Removing intermediate container 3a4d2d4ff289 00:18:52 ---> 34dfd78eeba2 00:18:52 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:52 ---> Running in c132f1dc4374 00:18:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:18:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:18:54 OK: 221 MiB in 53 packages 00:18:56 Removing intermediate container c132f1dc4374 00:18:56 ---> 51945207539a 00:18:56 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:56 ---> Running in b5a01173c6c4 00:18:56 Removing intermediate container b5a01173c6c4 00:18:56 ---> affbdbeaced5 00:18:56 Step 9/22 : COPY . . 00:18:57 ---> 8fafef2d15be 00:18:57 Step 10/22 : ARG MAKE='make build' 00:18:57 ---> Running in fc6d0405f7f5 00:18:58 Removing intermediate container fc6d0405f7f5 00:18:58 ---> 65180634ba61 00:18:58 Step 11/22 : RUN $MAKE 00:18:58 ---> Running in a161635ca22c 00:18:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:19:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:19:40 Removing intermediate container a161635ca22c 00:19:40 ---> 326d1d3ae8ad 00:19:40 Step 12/22 : FROM alpine:3.12 00:19:40 3.12: Pulling from library/alpine 00:19:40 159e5727ea61: Pulling fs layer 00:19:40 159e5727ea61: Download complete 00:19:41 159e5727ea61: Pull complete 00:19:41 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:19:41 Status: Downloaded newer image for alpine:3.12 00:19:41 ---> afeebe901d6b 00:19:41 Step 13/22 : ENV APP_PORT=49990 00:19:41 ---> Running in d9c916e9d363 00:19:42 Removing intermediate container d9c916e9d363 00:19:42 ---> 25381252f996 00:19:42 Step 14/22 : EXPOSE $APP_PORT 00:19:42 ---> Running in 6af2a4928df0 00:19:42 Removing intermediate container 6af2a4928df0 00:19:42 ---> 75a8f4a7cbf9 00:19:42 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:19:44 ---> 9076d474489b 00:19:44 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:19:44 ---> 7666e1a9d3e2 00:19:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:19:45 ---> fb7e3e4d7083 00:19:45 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:19:45 ---> Running in 8320949eeed7 00:19:46 Removing intermediate container 8320949eeed7 00:19:46 ---> 60420548542d 00:19:46 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:19:46 ---> Running in a121da609a6d 00:19:46 Removing intermediate container a121da609a6d 00:19:46 ---> 641921b79d2b 00:19:46 Step 20/22 : LABEL arch=arm64 00:19:46 ---> Running in 5578b67691d2 00:19:47 Removing intermediate container 5578b67691d2 00:19:47 ---> ffb80891ac51 00:19:47 Step 21/22 : LABEL git_sha=60ac99850c12819fd90b17594af123d46e347057 00:19:47 ---> Running in dddfb6035a28 00:19:47 Removing intermediate container dddfb6035a28 00:19:47 ---> c22914c0f7e9 00:19:47 Step 22/22 : LABEL version=0.0.0 00:19:47 ---> Running in 1dd837479495 00:19:48 Removing intermediate container 1dd837479495 00:19:48 ---> a43ece96dcff 00:19:48 [Warning] One or more build-args [ARCH] were not consumed 00:19:48 Successfully built a43ece96dcff 00:19:48 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 00:19:51 provisioning config files... 00:19:51 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-161@tmp/config4942199998191804722tmp [Pipeline] { [Pipeline] sh 00:19:51 + set +x 00:19:51 + curl -s https://codecov.io/bash 00:19:51 + bash -s -- 00:19:51 00:19:51 _____ _ 00:19:51 / ____| | | 00:19:51 | | ___ __| | ___ ___ _____ __ 00:19:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:51 Bash-20201231-23d4836 00:19:51 00:19:51 00:19:51 ==> git version 2.24.3 found 00:19:51 ==> 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 00:19:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:19:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:19:51 ==> Jenkins CI detected. 00:19:51 project root: . 00:19:51 --> token set from env 00:19:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:51 ==> Running gcov in . (disable via -X gcov) 00:19:51 ==> Python coveragepy not found 00:19:51 ==> Searching for coverage reports in: 00:19:51 + . 00:19:51 -> Found 1 reports 00:19:51 ==> Detecting git/mercurial file structure 00:19:51 ==> Reading reports 00:19:51 + ./coverage.out bytes=47242 00:19:51 ==> Appending adjustments 00:19:51 https://docs.codecov.io/docs/fixing-reports 00:19:52 + Found adjustments 00:19:52 ==> Gzipping contents 00:19:52 8.0K /tmp/codecov.YmUhEj.gz 00:19:52 ==> Uploading reports 00:19:52 url: https://codecov.io 00:19:52 query: branch=PR-161&commit=60ac99850c12819fd90b17594af123d46e347057&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=161&job=&cmd_args= 00:19:52 -> Pinging Codecov 00:19:52 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-161&commit=60ac99850c12819fd90b17594af123d46e347057&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=161&job=&cmd_args= 00:19:52 -> Uploading to 00:19:52 https://storage.googleapis.com/codecov/v4/raw/2021-01-12/5E52B4B073DB2E39498172D8E973AA87/60ac99850c12819fd90b17594af123d46e347057/fd487794-cbfe-4506-97f7-2230f145211d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T001952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99124d57360d8e00fc7427217b21fc8939f3801c5bd7a3de2aaa66d975bed014 00:19:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:52 Dload Upload Total Spent Left Speed 00:19:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5795 0 0 100 5795 0 13052 --:--:-- --:--:-- --:--:-- 13051 00:19:52 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/60ac99850c12819fd90b17594af123d46e347057 [Pipeline] } 00:19:52 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 00:19:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:19:55 ---> package-listing.sh 00:19:55 ++ facter osfamily 00:19:55 ++ tr '[:upper:]' '[:lower:]' 00:19:55 + OS_FAMILY=redhat 00:19:55 + workspace=/w/workspace/foundry_device-virtual-go_PR-161 00:19:55 + START_PACKAGES=/tmp/packages_start.txt 00:19:55 + END_PACKAGES=/tmp/packages_end.txt 00:19:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:19:55 + PACKAGES=/tmp/packages_start.txt 00:19:55 + '[' /w/workspace/foundry_device-virtual-go_PR-161 ']' 00:19:55 + PACKAGES=/tmp/packages_end.txt 00:19:55 + case "${OS_FAMILY}" in 00:19:55 + rpm -qa 00:19:55 + sort 00:20:01 + '[' -f /tmp/packages_start.txt ']' 00:20:01 + '[' -f /tmp/packages_end.txt ']' 00:20:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:01 + '[' /w/workspace/foundry_device-virtual-go_PR-161 ']' 00:20:01 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-161/archives/ 00:20:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-161/archives/ [Pipeline] echo 00:20:01 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:20:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:01 00:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:02 alpine: Pulling from edgex-lftools-log-publisher 00:20:02 df20fa9351a1: Pulling fs layer 00:20:02 36b3adc4ff6f: Pulling fs layer 00:20:02 8ad3a11d3b57: Pulling fs layer 00:20:02 46f8f816bc3b: Pulling fs layer 00:20:02 93b61091891f: Pulling fs layer 00:20:02 93b9cdb0e59b: Pulling fs layer 00:20:02 5e14af77c1be: Pulling fs layer 00:20:02 01666e4c0597: Pulling fs layer 00:20:02 aa168da1d23b: Pulling fs layer 00:20:02 93b61091891f: Waiting 00:20:02 93b9cdb0e59b: Waiting 00:20:02 5e14af77c1be: Waiting 00:20:02 01666e4c0597: Waiting 00:20:02 46f8f816bc3b: Waiting 00:20:02 aa168da1d23b: Waiting 00:20:02 36b3adc4ff6f: Download complete 00:20:02 46f8f816bc3b: Verifying Checksum 00:20:02 46f8f816bc3b: Download complete 00:20:02 df20fa9351a1: Verifying Checksum 00:20:02 df20fa9351a1: Download complete 00:20:02 93b9cdb0e59b: Verifying Checksum 00:20:02 93b9cdb0e59b: Download complete 00:20:02 93b61091891f: Download complete 00:20:02 5e14af77c1be: Verifying Checksum 00:20:02 5e14af77c1be: Download complete 00:20:02 01666e4c0597: Verifying Checksum 00:20:02 01666e4c0597: Download complete 00:20:02 df20fa9351a1: Pull complete 00:20:03 36b3adc4ff6f: Pull complete 00:20:03 8ad3a11d3b57: Verifying Checksum 00:20:04 8ad3a11d3b57: Pull complete 00:20:04 46f8f816bc3b: Pull complete 00:20:04 93b61091891f: Pull complete 00:20:04 aa168da1d23b: Verifying Checksum 00:20:04 aa168da1d23b: Download complete 00:20:04 93b9cdb0e59b: Pull complete 00:20:05 5e14af77c1be: Pull complete 00:20:05 01666e4c0597: Pull complete 00:20:13 aa168da1d23b: Pull complete 00:20:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:20:13 prd-centos7-docker-4c-2g-19634 does not seem to be running inside a container 00:20:13 $ 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-161/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-161 -v /w/workspace/foundry_device-virtual-go_PR-161:/w/workspace/foundry_device-virtual-go_PR-161:rw,z -v /w/workspace/foundry_device-virtual-go_PR-161@tmp:/w/workspace/foundry_device-virtual-go_PR-161@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:20:16 $ docker top 8592820809b4237a4413652f14105ca2f86858a3acbd891d007449a0404e8a85 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:17 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:17 + mkdir -p /var/log/sa [Pipeline] sh 00:20:18 + ls /var/log/sa-host 00:20:18 + sadf -c /var/log/sa-host/sa12 00:20:18 file_magic: OK 00:20:18 HZ: Using current value: 100 00:20:18 file_header: OK 00:20:18 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 00:20:18 Statistics: 00:20:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:20:18 File successfully converted to sysstat format version 12.2.1 00:20:18 + sadf -c /var/log/sa-host/sa23 00:20:18 file_magic: OK 00:20:18 HZ: Using current value: 100 00:20:18 file_header: OK 00:20:18 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 00:20:18 Statistics: 00:20:18 Hnuu...uuuununununu... 00:20:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:18 provisioning config files... 00:20:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-161@tmp/config5025764950576005941tmp [Pipeline] { [Pipeline] echo 00:20:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:19 ---> create-netrc.sh [Pipeline] } 00:20:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:20:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:20:19 ---> python-tools-install.sh [Pipeline] echo 00:20:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:19 ---> sudo-logs.sh 00:20:19 Archiving 'sudo' log.. [Pipeline] echo 00:20:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:20 ---> job-cost.sh 00:20:20 lf-activate-venv: SKIPPING 00:20:20 INFO: No Stack... 00:20:21 INFO: Retrieving Pricing Info for: v1-standard-2 00:20:21 INFO: Archiving Costs [Pipeline] echo 00:20:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> logs-deploy.sh 00:20:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-161/2 00:20:22 INFO: archiving workspace using pattern(s): 00:20:23 Archives upload complete. 00:20:23 INFO: archiving logs to Nexus 00:20:24 ---> uname -a: 00:20:24 Linux prd-centos7-docker-4c-2g-19634.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:20:24 00:20:24 00:20:24 ---> lscpu: 00:20:24 Architecture: x86_64 00:20:24 CPU op-mode(s): 32-bit, 64-bit 00:20:24 Byte Order: Little Endian 00:20:24 Address sizes: 40 bits physical, 48 bits virtual 00:20:24 CPU(s): 4 00:20:24 On-line CPU(s) list: 0-3 00:20:24 Thread(s) per core: 1 00:20:24 Core(s) per socket: 1 00:20:24 Socket(s): 4 00:20:24 NUMA node(s): 1 00:20:24 Vendor ID: GenuineIntel 00:20:24 CPU family: 6 00:20:24 Model: 44 00:20:24 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:20:24 Stepping: 1 00:20:24 CPU MHz: 2933.436 00:20:24 BogoMIPS: 5866.87 00:20:24 Virtualization: VT-x 00:20:24 Hypervisor vendor: KVM 00:20:24 Virtualization type: full 00:20:24 L1d cache: 128 KiB 00:20:24 L1i cache: 128 KiB 00:20:24 L2 cache: 16 MiB 00:20:24 L3 cache: 64 MiB 00:20:24 NUMA node0 CPU(s): 0-3 00:20:24 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:20:24 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:20:24 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:20:24 Vulnerability Meltdown: Mitigation; PTI 00:20:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:20:24 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:20:24 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:20:24 Vulnerability Srbds: Not affected 00:20:24 Vulnerability Tsx async abort: Not affected 00:20:24 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 00:20:24 00:20:24 00:20:24 ---> nproc: 00:20:24 4 00:20:24 00:20:24 00:20:24 ---> df -h: 00:20:24 Filesystem Size Used Available Use% Mounted on 00:20:24 overlay 50.0G 7.3G 42.7G 15% / 00:20:24 tmpfs 64.0M 0 64.0M 0% /dev 00:20:24 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:20:24 shm 64.0M 0 64.0M 0% /dev/shm 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-161 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-161@tmp 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:20:24 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:20:24 00:20:24 00:20:24 ---> free -m: 00:20:24 total used free shared buff/cache available 00:20:24 Mem: 1837 703 100 0 1033 1029 00:20:24 Swap: 1023 1 1022 00:20:24 00:20:24 00:20:24 ---> ip addr: 00:20:24 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:20:24 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:20:24 inet 127.0.0.1/8 scope host lo 00:20:24 valid_lft forever preferred_lft forever 00:20:24 inet6 ::1/128 scope host 00:20:24 valid_lft forever preferred_lft forever 00:20:24 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:20:24 link/ether fa:16:3e:14:cb:da brd ff:ff:ff:ff:ff:ff 00:20:24 inet 10.30.122.51/23 brd 10.30.123.255 scope global dynamic eth0 00:20:24 valid_lft 85956sec preferred_lft 85956sec 00:20:24 inet6 fe80::f816:3eff:fe14:cbda/64 scope link 00:20:24 valid_lft forever preferred_lft forever 00:20:24 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:20:24 link/ether 02:42:61:b2:2a:78 brd ff:ff:ff:ff:ff:ff 00:20:24 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:20:24 valid_lft forever preferred_lft forever 00:20:24 inet6 fe80::42:61ff:feb2:2a78/64 scope link 00:20:24 valid_lft forever preferred_lft forever 00:20:24 00:20:24 00:20:24 ---> sar -b -r -n DEV: 00:20:24 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 00:20:24 00:20:24 00:12:49 LINUX RESTART (4 CPU) 00:20:24 00:20:24 00:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:20:24 00:15:01 3.36 0.07 3.30 0.00 2.13 110.82 0.00 00:20:24 00:16:01 0.42 0.00 0.42 0.00 0.00 6.09 0.00 00:20:24 00:17:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 00:20:24 00:18:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 00:20:24 00:19:01 0.23 0.00 0.23 0.00 0.00 4.00 0.00 00:20:24 00:20:01 47.58 46.81 0.77 0.00 3785.32 18.91 0.00 00:20:24 Average: 8.69 7.82 0.87 0.00 631.40 24.31 0.00 00:20:24 00:20:24 00:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:20:24 00:15:01 169996 0 595600 31.65 2620 1113328 1115428 38.07 430756 1082364 20 00:20:24 00:16:01 176236 0 589408 31.33 2620 1113280 1076936 36.75 426696 1080972 8 00:20:24 00:17:01 173208 0 592432 31.49 2620 1113284 1077152 36.76 436416 1074544 12 00:20:24 00:18:01 174320 0 591320 31.43 2620 1113284 1076936 36.75 435068 1074720 12 00:20:24 00:19:01 173020 0 592612 31.50 2620 1113292 1077032 36.76 440776 1070744 8 00:20:24 00:20:01 82436 0 601312 31.96 2620 1195176 1094580 37.36 439060 1161836 116 00:20:24 Average: 158203 0 593781 31.56 2620 1126941 1086344 37.08 434795 1090863 29 00:20:24 00:20:24 00:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:20:24 00:15:01 eth0 2.53 1.30 2.12 0.11 0.00 0.00 0.00 0.00 00:20:24 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:16:01 eth0 0.93 0.08 0.10 0.01 0.00 0.00 0.00 0.00 00:20:24 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:17:01 eth0 1.78 0.92 0.84 0.56 0.00 0.00 0.00 0.00 00:20:24 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:18:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 00:20:24 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:19:01 eth0 1.20 0.48 0.46 0.27 0.00 0.00 0.00 0.00 00:20:24 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:20:01 eth0 12.52 7.03 10.91 4.04 0.00 0.00 0.00 0.00 00:20:24 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 Average: eth0 3.19 1.65 2.41 0.84 0.00 0.00 0.00 0.00 00:20:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:24 00:20:24 00:20:24 ---> sar -P ALL: 00:20:24 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/12/21 _x86_64_ (4 CPU) 00:20:24 00:20:24 00:12:49 LINUX RESTART (4 CPU) 00:20:24 00:20:24 00:14:01 CPU %user %nice %system %iowait %steal %idle 00:20:24 00:15:01 all 0.21 0.00 0.05 0.00 0.00 99.73 00:20:24 00:15:01 0 0.07 0.00 0.03 0.00 0.00 99.90 00:20:24 00:15:01 1 0.12 0.00 0.08 0.00 0.00 99.80 00:20:24 00:15:01 2 0.07 0.00 0.05 0.00 0.00 99.88 00:20:24 00:15:01 3 0.58 0.00 0.05 0.00 0.02 99.35 00:20:24 00:16:01 all 0.17 0.00 0.07 0.00 0.00 99.76 00:20:24 00:16:01 0 0.02 0.00 0.03 0.00 0.00 99.95 00:20:24 00:16:01 1 0.08 0.00 0.10 0.00 0.00 99.82 00:20:24 00:16:01 2 0.07 0.00 0.07 0.00 0.02 99.85 00:20:24 00:16:01 3 0.50 0.00 0.08 0.00 0.00 99.42 00:20:24 00:17:01 all 0.19 0.00 0.07 0.00 0.01 99.73 00:20:24 00:17:01 0 0.07 0.00 0.07 0.00 0.02 99.85 00:20:24 00:17:01 1 0.07 0.00 0.13 0.00 0.00 99.80 00:20:24 00:17:01 2 0.05 0.00 0.05 0.00 0.02 99.88 00:20:24 00:17:01 3 0.57 0.00 0.03 0.00 0.02 99.38 00:20:24 00:18:01 all 0.15 0.00 0.05 0.00 0.01 99.79 00:20:24 00:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:20:24 00:18:01 1 0.17 0.00 0.08 0.00 0.02 99.73 00:20:24 00:18:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:20:24 00:18:01 3 0.38 0.00 0.05 0.00 0.02 99.55 00:20:24 00:19:01 all 0.09 0.00 0.07 0.00 0.00 99.84 00:20:24 00:19:01 0 0.05 0.00 0.07 0.00 0.00 99.88 00:20:24 00:19:01 1 0.23 0.00 0.13 0.00 0.00 99.63 00:20:24 00:19:01 2 0.03 0.00 0.03 0.00 0.02 99.92 00:20:24 00:19:01 3 0.05 0.00 0.03 0.00 0.00 99.92 00:20:24 00:20:01 all 1.31 0.00 0.64 1.21 0.02 96.82 00:20:24 00:20:01 0 2.07 0.00 0.80 0.63 0.02 96.48 00:20:24 00:20:01 1 1.23 0.00 0.67 1.35 0.02 96.73 00:20:24 00:20:01 2 0.82 0.00 0.45 1.44 0.02 97.28 00:20:24 00:20:01 3 1.12 0.00 0.65 1.42 0.02 96.80 00:20:24 Average: all 0.35 0.00 0.16 0.20 0.01 99.28 00:20:24 Average: 0 0.38 0.00 0.17 0.11 0.01 99.34 00:20:24 Average: 1 0.32 0.00 0.20 0.23 0.01 99.25 00:20:24 Average: 2 0.18 0.00 0.12 0.24 0.01 99.45 00:20:24 Average: 3 0.53 0.00 0.15 0.24 0.01 99.07 00:20:24 00:20:24 00:20:24