Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6e019af8001d84a5420e319bcbf5df55b4ace51c+b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba (80804c7a85cdf42e250a57e26acc9e0ec1130a8f) 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-18346 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 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 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c Merge succeeded, producing 7aff553255e6ba4848335ebc26173b2555443939 Checking out Revision 7aff553255e6ba4848335ebc26173b2555443939 (PR-160) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # 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 b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7aff553255e6ba4848335ebc26173b2555443939 # timeout=10 Commit message: "Merge commit 'b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba' into HEAD" > git rev-list --no-walk 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:35 ========================================================= 00:13:35 EdgeX Global Pipelines Version Info 00:13:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:37 ------------------- 00:13:37 stable info: 00:13:37 ------------------- 00:13:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:13:37 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:37 Message: update stable to v1.0.173 00:13:38 ------------------- 00:13:38 experimental info: 00:13:38 ------------------- 00:13:38 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:38 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:38 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7aff553255e6ba4848335ebc26173b2555443939 [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7aff553 [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:13:42 provisioning config files... 00:13:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config2892569183544788196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:42 ---> docker-login.sh 00:13:42 nexus3.edgexfoundry.org:10001 00:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 nexus3.edgexfoundry.org:10002 00:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 nexus3.edgexfoundry.org:10003 00:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 nexus3.edgexfoundry.org:10004 00:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 docker.io 00:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:43 Configure a credential helper to remove this warning. See 00:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:43 00:13:43 Login Succeeded 00:13:43 ---> docker-login.sh ends [Pipeline] } 00:13:43 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:44 + git log --format=format:%s -1 7aff553255e6ba4848335ebc26173b2555443939 [Pipeline] echo 00:13:44 GIT_COMMIT: 7aff553255e6ba4848335ebc26173b2555443939, Commit Message: Merge commit 'b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba' into HEAD [Pipeline] echo 00:13:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:45 00:13:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:13:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:46 latest: Pulling from edgex-devops/git-semver 00:13:46 31603596830f: Pulling fs layer 00:13:46 2a8b12db71e7: Pulling fs layer 00:13:46 6ca5941a6612: Pulling fs layer 00:13:46 ecc8261a40a4: Pulling fs layer 00:13:46 ecc8261a40a4: Waiting 00:13:46 2a8b12db71e7: Verifying Checksum 00:13:46 2a8b12db71e7: Download complete 00:13:46 31603596830f: Verifying Checksum 00:13:46 31603596830f: Download complete 00:13:46 6ca5941a6612: Verifying Checksum 00:13:46 6ca5941a6612: Download complete 00:13:46 ecc8261a40a4: Verifying Checksum 00:13:46 ecc8261a40a4: Download complete 00:13:46 31603596830f: Pull complete 00:13:46 2a8b12db71e7: Pull complete 00:13:47 6ca5941a6612: Pull complete 00:13:48 ecc8261a40a4: Pull complete 00:13:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:13:48 prd-centos7-docker-4c-2g-18346 does not seem to be running inside a container 00:13:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:13:50 $ docker top b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [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 b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 ssh-agent 00:13:51 SSH_AUTH_SOCK=/tmp/ssh-afdFyni85DAs/agent.12 00:13:51 SSH_AGENT_PID=17 00:13:51 Running ssh-add (command line suppressed) 00:13:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_8764341299986784356.key (/w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_8764341299986784356.key) 00:13:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:52 + git tag --points-at HEAD [Pipeline] } 00:13:52 $ docker exec --env ******** --env ******** b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 ssh-agent -k 00:13:52 unset SSH_AUTH_SOCK; 00:13:52 unset SSH_AGENT_PID; 00:13:52 echo Agent pid 17 killed; 00:13:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:52 [ssh-agent] Looking for ssh-agent implementation... 00:13:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:52 $ docker exec b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 ssh-agent 00:13:52 SSH_AUTH_SOCK=/tmp/ssh-BPFHfPdoNYmC/agent.47 00:13:52 SSH_AGENT_PID=52 00:13:52 Running ssh-add (command line suppressed) 00:13:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_2471694329299326222.key (/w/workspace/foundry_device-virtual-go_PR-160@tmp/private_key_2471694329299326222.key) 00:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:53 + git semver init 00:13:53 # -> Open(): unable to determine branch for HEAD 00:13:53 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-160/.git 00:13:53 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-160 00:13:53 # $SEMVER_REMOTE_NAME = origin 00:13:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:13:53 # $SEMVER_USER_NAME = edgex-jenkins 00:13:53 # $SEMVER_BRANCH = PR-160 00:13:53 # $SEMVER_TEMP = /tmp/semver-052086104 00:13:53 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:13:53 # '/tmp/semver-052086104' -> '/w/workspace/foundry_device-virtual-go_PR-160/.semver' 00:13:53 # -> Force: false 00:13:53 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-160/.semver [Pipeline] } 00:13:53 $ docker exec --env ******** --env ******** b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 ssh-agent -k 00:13:53 unset SSH_AUTH_SOCK; 00:13:53 unset SSH_AGENT_PID; 00:13:53 echo Agent pid 52 killed; 00:13:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:54 + git semver [Pipeline] } 00:13:54 $ docker stop --time=1 b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 00:13:55 $ docker rm -f b0a9265f915dc6d0a4027c2699fd6e472925fd9d23143981d2aa219b71999ee3 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:56 Stashed 1 file(s) [Pipeline] echo 00:13:56 [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:12 Still waiting to schedule task 00:14:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:14:12 Still waiting to schedule task 00:14:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 00:15:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18347 in /w/workspace/foundry_device-virtual-go_PR-160 [Pipeline] { [Pipeline] ws 00:15:58 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:04 using credential edgex-jenkins-ssh 00:16:04 Cloning the remote Git repository 00:16:04 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:04 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:04 > git --version # timeout=10 00:16:04 > git --version # 'git version 2.17.1' 00:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:06 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c 00:16:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:06 > 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 00:16:06 > git config core.sparsecheckout # timeout=10 00:16:06 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 00:16:06 > git remote # timeout=10 00:16:06 > git config --get remote.origin.url # timeout=10 00:16:06 Merge succeeded, producing 1ecbcde63e80e1876809195b8d070ac52c7ce651 00:16:06 Checking out Revision 1ecbcde63e80e1876809195b8d070ac52c7ce651 (PR-160) 00:16:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:06 > git merge b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 00:16:06 > git rev-parse HEAD^{commit} # timeout=10 00:16:06 > git config core.sparsecheckout # timeout=10 00:16:06 > git checkout -f 1ecbcde63e80e1876809195b8d070ac52c7ce651 # timeout=10 00:16:11 Commit message: "Merge commit 'b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba' into HEAD" 00:16:11 > git rev-list --no-walk 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:16:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:16:13 + true 00:16:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:16 provisioning config files... 00:16:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6386553094692936596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:17 ---> docker-login.sh 00:16:17 nexus3.edgexfoundry.org:10001 00:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:18 Configure a credential helper to remove this warning. See 00:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:18 00:16:18 Login Succeeded 00:16:18 nexus3.edgexfoundry.org:10002 00:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:19 Configure a credential helper to remove this warning. See 00:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:19 00:16:19 Login Succeeded 00:16:19 nexus3.edgexfoundry.org:10003 00:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:19 Configure a credential helper to remove this warning. See 00:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:19 00:16:19 Login Succeeded 00:16:19 nexus3.edgexfoundry.org:10004 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 docker.io 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-login.sh ends [Pipeline] } 00:16:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:21 ========================================================= 00:16:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:16:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:16:22 + 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:22 Sending build context to Docker daemon 485.9kB 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-arm64 00:16:22 5f621e34cdf4: Pulling fs layer 00:16:22 a4357932f1b6: Pulling fs layer 00:16:22 18c013af1878: Pulling fs layer 00:16:22 00ac8860ef70: Pulling fs layer 00:16:22 63d7cb157983: Pulling fs layer 00:16:22 b116817d02f9: Pulling fs layer 00:16:22 745a02a5169b: Pulling fs layer 00:16:22 00ac8860ef70: Waiting 00:16:22 63d7cb157983: Waiting 00:16:22 b116817d02f9: Waiting 00:16:22 745a02a5169b: Waiting 00:16:22 18c013af1878: Download complete 00:16:22 a4357932f1b6: Verifying Checksum 00:16:22 a4357932f1b6: Download complete 00:16:22 63d7cb157983: Verifying Checksum 00:16:22 63d7cb157983: Download complete 00:16:22 5f621e34cdf4: Verifying Checksum 00:16:22 5f621e34cdf4: Download complete 00:16:22 b116817d02f9: Verifying Checksum 00:16:22 b116817d02f9: Download complete 00:16:23 5f621e34cdf4: Pull complete 00:16:24 a4357932f1b6: Pull complete 00:16:24 18c013af1878: Pull complete 00:16:26 745a02a5169b: Verifying Checksum 00:16:26 745a02a5169b: Download complete 00:16:26 00ac8860ef70: Verifying Checksum 00:16:26 00ac8860ef70: Download complete 00:16:36 00ac8860ef70: Pull complete 00:16:36 63d7cb157983: Pull complete 00:16:36 b116817d02f9: Pull complete 00:16:40 745a02a5169b: Pull complete 00:16:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:16:40 ---> b7e6874047d6 00:16:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:16:42 Running on prd-centos7-docker-4c-2g-18348 in /w/workspace/foundry_device-virtual-go_PR-160 [Pipeline] { [Pipeline] ws 00:16:42 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:43 ---> Running in 4e76415526a4 00:16:43 Removing intermediate container 4e76415526a4 00:16:43 ---> 187334d1a831 00:16:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:43 ---> Running in ab681ae98456 00:16:45 using credential edgex-jenkins-ssh 00:16:45 Cloning the remote Git repository 00:16:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:45 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:45 > git --version # timeout=10 00:16:45 > git --version # 'git version 2.24.3' 00:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:45 > 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 00:16:46 Removing intermediate container ab681ae98456 00:16:46 ---> da76dad38b8b 00:16:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:16:46 ---> Running in 209badd557f7 00:16:46 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 6e019af8001d84a5420e319bcbf5df55b4ace51c 00:16:46 Merge succeeded, producing 867b6759a433c267c54ff34b7fb6224e6d4a072f 00:16:46 Checking out Revision 867b6759a433c267c54ff34b7fb6224e6d4a072f (PR-160) 00:16:46 > git config core.sparsecheckout # timeout=10 00:16:46 > git checkout -f 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 00:16:46 > git remote # timeout=10 00:16:46 > git config --get remote.origin.url # timeout=10 00:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:46 > git merge b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 00:16:46 > git rev-parse HEAD^{commit} # timeout=10 00:16:46 > git config core.sparsecheckout # timeout=10 00:16:46 > git checkout -f 867b6759a433c267c54ff34b7fb6224e6d4a072f # timeout=10 00:16:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:16:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:16:49 (1/14) Installing libmagic (5.38-r0) 00:16:50 (2/14) Installing file (5.38-r0) 00:16:50 (3/14) Installing libc-dev (0.7.2-r3) 00:16:50 Commit message: "Merge commit 'b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba' into HEAD" 00:16:50 > git rev-list --no-walk 6e019af8001d84a5420e319bcbf5df55b4ace51c # timeout=10 00:16:50 (4/14) Installing g++ (9.3.0-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:16:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:16:51 + true 00:16:51 + sudo service docker restart 00:16:51 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:53 provisioning config files... 00:16:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config480981851579613986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:53 ---> docker-login.sh 00:16:53 nexus3.edgexfoundry.org:10001 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 nexus3.edgexfoundry.org:10002 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 nexus3.edgexfoundry.org:10003 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 nexus3.edgexfoundry.org:10004 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:54 Configure a credential helper to remove this warning. See 00:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:54 00:16:54 Login Succeeded 00:16:54 docker.io 00:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:55 Configure a credential helper to remove this warning. See 00:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:55 00:16:55 Login Succeeded 00:16:55 ---> docker-login.sh ends [Pipeline] } 00:16:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:55 ========================================================= 00:16:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:16:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:16:55 + 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:55 Sending build context to Docker daemon 486.9kB 00:16:55 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:16:55 Step 2/8 : FROM ${BASE} 00:16:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:56 188c0c94c7c5: Pulling fs layer 00:16:56 0ef7d3d256c8: Pulling fs layer 00:16:56 de9db76c5a1d: Pulling fs layer 00:16:56 bca2f99d35d6: Pulling fs layer 00:16:56 93359f2a8cfa: Pulling fs layer 00:16:56 7c6f9722023f: Pulling fs layer 00:16:56 a35cf1a2eb13: Pulling fs layer 00:16:56 93359f2a8cfa: Waiting 00:16:56 7c6f9722023f: Waiting 00:16:56 a35cf1a2eb13: Waiting 00:16:56 bca2f99d35d6: Waiting 00:16:56 de9db76c5a1d: Verifying Checksum 00:16:56 de9db76c5a1d: Download complete 00:16:56 0ef7d3d256c8: Download complete 00:16:56 93359f2a8cfa: Verifying Checksum 00:16:56 93359f2a8cfa: Download complete 00:16:56 188c0c94c7c5: Verifying Checksum 00:16:56 188c0c94c7c5: Download complete 00:16:56 7c6f9722023f: Verifying Checksum 00:16:56 188c0c94c7c5: Pull complete 00:16:56 0ef7d3d256c8: Pull complete 00:16:56 de9db76c5a1d: Pull complete 00:16:58 a35cf1a2eb13: Verifying Checksum 00:16:58 a35cf1a2eb13: Download complete 00:16:58 bca2f99d35d6: Verifying Checksum 00:16:58 bca2f99d35d6: Download complete 00:17:04 bca2f99d35d6: Pull complete 00:17:04 93359f2a8cfa: Pull complete 00:17:04 7c6f9722023f: Pull complete 00:17:05 (5/14) Installing fortify-headers (1.1-r0) 00:17:05 (6/14) Installing patch (2.7.6-r6) 00:17:05 (7/14) Installing build-base (0.5-r2) 00:17:05 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:05 (9/14) Installing libedit (20191231.3.1-r0) 00:17:05 (10/14) Installing openssh-client (8.3_p1-r1) 00:17:05 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:05 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:17:05 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:05 (14/14) Installing openssh (8.3_p1-r1) 00:17:06 Executing busybox-1.31.1-r19.trigger 00:17:06 OK: 221 MiB in 53 packages 00:17:10 Removing intermediate container 209badd557f7 00:17:10 ---> ff9aa8b7c89b 00:17:10 Step 6/8 : WORKDIR /device-virtual-go 00:17:10 ---> Running in f8e2ede5a424 00:17:10 a35cf1a2eb13: Pull complete 00:17:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:17:10 ---> a62c8e92a672 00:17:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:17:11 Removing intermediate container f8e2ede5a424 00:17:11 ---> 38e2d25df587 00:17:11 Step 7/8 : COPY . . 00:17:11 ---> Running in 8b431c8d67ce 00:17:11 Removing intermediate container 8b431c8d67ce 00:17:11 ---> e31bc3a480a4 00:17:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:11 ---> Running in 1a008ea14183 00:17:11 ---> 25c0fb9873f0 00:17:11 Step 8/8 : RUN go mod download 00:17:12 ---> Running in b9713f9f9ead 00:17:12 Removing intermediate container 1a008ea14183 00:17:12 ---> ec6e384741e2 00:17:12 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:17:12 ---> Running in 43797caee694 00:17:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:17:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:17:14 (1/14) Installing libmagic (5.38-r0) 00:17:14 (2/14) Installing file (5.38-r0) 00:17:14 (3/14) Installing libc-dev (0.7.2-r3) 00:17:15 (4/14) Installing g++ (9.3.0-r2) 00:17:20 (5/14) Installing fortify-headers (1.1-r0) 00:17:20 (6/14) Installing patch (2.7.6-r6) 00:17:20 (7/14) Installing build-base (0.5-r2) 00:17:20 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:20 (9/14) Installing libedit (20191231.3.1-r0) 00:17:20 (10/14) Installing openssh-client (8.3_p1-r1) 00:17:20 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:20 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:17:20 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:20 (14/14) Installing openssh (8.3_p1-r1) 00:17:20 Executing busybox-1.31.1-r19.trigger 00:17:20 OK: 237 MiB in 53 packages 00:17:24 Removing intermediate container 43797caee694 00:17:24 ---> 56eaf6ffb825 00:17:24 Step 6/8 : WORKDIR /device-virtual-go 00:17:24 ---> Running in 705fb574a00d 00:17:24 Removing intermediate container 705fb574a00d 00:17:24 ---> 29f34c44956a 00:17:24 Step 7/8 : COPY . . 00:17:25 ---> f504e7d964c8 00:17:25 Step 8/8 : RUN go mod download 00:17:25 ---> Running in 6b794787e699 00:17:39 Removing intermediate container b9713f9f9ead 00:17:39 ---> 7e7da176b935 00:17:39 Successfully built 7e7da176b935 00:17:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:17:39 + docker inspect -f . ci-base-image-arm64 00:17:39 . [Pipeline] withDockerContainer 00:17:39 prd-ubuntu18.04-docker-arm64-4c-16g-18347 does not seem to be running inside a container 00:17:39 $ 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 ******** ci-base-image-arm64 cat 00:17:41 $ docker top ab65d5a05710f7a88a29e4dc6493c744fc0552e00ff319979eeac7f74b099ab4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:42 + go version 00:17:42 go version go1.15.5 linux/arm64 [Pipeline] } 00:17:42 $ docker stop --time=1 ab65d5a05710f7a88a29e4dc6493c744fc0552e00ff319979eeac7f74b099ab4 00:17:44 $ docker rm -f ab65d5a05710f7a88a29e4dc6493c744fc0552e00ff319979eeac7f74b099ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:45 + docker inspect -f . ci-base-image-arm64 00:17:45 . [Pipeline] withDockerContainer 00:17:45 prd-ubuntu18.04-docker-arm64-4c-16g-18347 does not seem to be running inside a container 00:17:45 $ 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 ******** ci-base-image-arm64 cat 00:17:47 $ docker top 4596b3ce841bd201a4c4991a1c7bd868960190e04239826664a121e072b8aae6 -eo pid,comm [Pipeline] { 00:17:47 Removing intermediate container 6b794787e699 00:17:47 ---> 76f47d88c38c 00:17:47 Successfully built 76f47d88c38c 00:17:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 00:17:48 + docker inspect -f . ci-base-image-x86_64 00:17:48 . [Pipeline] withDockerContainer 00:17:48 prd-centos7-docker-4c-2g-18348 does not seem to be running inside a container 00:17:48 $ 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 ******** ci-base-image-x86_64 cat 00:17:48 + make test 00:17:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:49 $ docker top 2cf3c39ed01fdc8fc5a0d622cf7631a76a0fa9033a552c8cb2caa575024c076b -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:17:49 + go version 00:17:49 go version go1.15.5 linux/amd64 [Pipeline] } 00:17:49 $ docker stop --time=1 2cf3c39ed01fdc8fc5a0d622cf7631a76a0fa9033a552c8cb2caa575024c076b 00:17:51 $ docker rm -f 2cf3c39ed01fdc8fc5a0d622cf7631a76a0fa9033a552c8cb2caa575024c076b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:51 + docker inspect -f . ci-base-image-x86_64 00:17:51 . [Pipeline] withDockerContainer 00:17:52 prd-centos7-docker-4c-2g-18348 does not seem to be running inside a container 00:17:52 $ 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 ******** ci-base-image-x86_64 cat 00:17:52 $ docker top 7c6ccd9af18892282442ae17b95e698f67b5f1e859f971c903b53e71d31a36f8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:53 + make test 00:17:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:18:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.338s coverage: 64.4% of statements 00:18:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:13 gofmt -l . 00:18:13 [ "`gofmt -l .`" = "" ] 00:18:13 ./bin/test-attribution-txt.sh 00:18:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:15 $ docker stop --time=1 7c6ccd9af18892282442ae17b95e698f67b5f1e859f971c903b53e71d31a36f8 00:18:16 $ docker rm -f 7c6ccd9af18892282442ae17b95e698f67b5f1e859f971c903b53e71d31a36f8 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:20 + ls -al . 00:18:20 total 124 00:18:20 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 5 00:18 . 00:18:20 drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 00:16 .. 00:18:20 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 5 00:16 Attribution.txt 00:18:20 drwxrwxr-x. 2 jenkins jenkins 64 Jan 5 00:16 bin 00:18:20 drwxrwxr-x. 3 jenkins jenkins 32 Jan 5 00:16 cmd 00:18:20 -rw-r--r--. 1 jenkins jenkins 47242 Jan 5 00:18 coverage.out 00:18:20 -rw-rw-r--. 1 jenkins jenkins 1851 Jan 5 00:16 Dockerfile 00:18:20 -rw-rw-r--. 1 jenkins jenkins 961 Jan 5 00:16 Dockerfile.build 00:18:20 drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 00:16 .git 00:18:20 drwxrwxr-x. 2 jenkins jenkins 60 Jan 5 00:16 .github 00:18:20 -rw-rw-r--. 1 jenkins jenkins 258 Jan 5 00:16 .gitignore 00:18:20 -rw-r--r--. 1 jenkins jenkins 863 Jan 5 00:18 go.mod 00:18:20 -rw-r--r--. 1 jenkins jenkins 16360 Jan 5 00:18 go.sum 00:18:20 drwxrwxr-x. 3 jenkins jenkins 20 Jan 5 00:16 internal 00:18:20 -rw-rw-r--. 1 jenkins jenkins 660 Jan 5 00:16 Jenkinsfile 00:18:20 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 5 00:16 LICENSE 00:18:20 -rw-rw-r--. 1 jenkins jenkins 873 Jan 5 00:16 Makefile 00:18:20 -rw-rw-r--. 1 jenkins jenkins 918 Jan 5 00:16 README.md 00:18:20 -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 00:13 VERSION 00:18:20 -rw-rw-r--. 1 jenkins jenkins 235 Jan 5 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:21 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7aff553255e6ba4848335ebc26173b2555443939 --label arch=amd64 --label version=0.0.0 . 00:18:21 Sending build context to Docker daemon 551.9kB 00:18:21 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:21 Step 2/22 : FROM ${BASE} AS builder 00:18:21 ---> 76f47d88c38c 00:18:21 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:21 ---> Running in 74ff3d291abf 00:18:21 Removing intermediate container 74ff3d291abf 00:18:21 ---> 8e055e1b82f7 00:18:21 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:21 ---> Running in e4494de060cd 00:18:21 Removing intermediate container e4494de060cd 00:18:21 ---> 1aa0ca6f6928 00:18:21 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:21 ---> Running in 2189e4a43a47 00:18:22 Removing intermediate container 2189e4a43a47 00:18:22 ---> 8f6439d623f1 00:18:22 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:22 ---> Running in 75acfd2b500f 00:18:23 Removing intermediate container 75acfd2b500f 00:18:23 ---> 1b2113ca8ea2 00:18:23 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:23 ---> Running in 0a7aba01f863 00:18:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:18:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:18:24 OK: 237 MiB in 53 packages 00:18:25 Removing intermediate container 0a7aba01f863 00:18:25 ---> 93ed1a55a431 00:18:25 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:25 ---> Running in 5d117b3d53f3 00:18:25 Removing intermediate container 5d117b3d53f3 00:18:25 ---> 2711a5be9661 00:18:25 Step 9/22 : COPY . . 00:18:26 ---> 5eb8d9b97b26 00:18:26 Step 10/22 : ARG MAKE='make build' 00:18:26 ---> Running in 8bc99f645134 00:18:26 Removing intermediate container 8bc99f645134 00:18:26 ---> 0cc0685d7a09 00:18:26 Step 11/22 : RUN $MAKE 00:18:26 ---> Running in a2bc492b484c 00:18:26 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:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.392s coverage: 64.4% of statements 00:18:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:18:42 Removing intermediate container a2bc492b484c 00:18:42 ---> 327198a71a95 00:18:42 Step 12/22 : FROM alpine:3.12 00:18:43 gofmt -l . 00:18:43 3.12: Pulling from library/alpine 00:18:43 801bfaa63ef2: Pulling fs layer 00:18:43 801bfaa63ef2: Verifying Checksum 00:18:43 801bfaa63ef2: Download complete 00:18:43 [ "`gofmt -l .`" = "" ] 00:18:43 ./bin/test-attribution-txt.sh 00:18:43 801bfaa63ef2: Pull complete 00:18:43 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:18:43 Status: Downloaded newer image for alpine:3.12 00:18:43 ---> 389fef711851 00:18:43 Step 13/22 : ENV APP_PORT=49990 00:18:43 ---> Running in e7c4dd9f4d35 00:18:43 Removing intermediate container e7c4dd9f4d35 00:18:43 ---> b06e4a691087 00:18:43 Step 14/22 : EXPOSE $APP_PORT 00:18:43 ---> Running in 8b76da0a51a2 00:18:44 Removing intermediate container 8b76da0a51a2 00:18:44 ---> 1ae64fbf213c 00:18:44 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:18:44 ---> fd79afea9532 00:18:44 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:18:44 ./bin/test-go-mod-tidy.sh 00:18:45 ---> 38f144723f4b 00:18:45 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [Pipeline] } 00:18:45 $ docker stop --time=1 4596b3ce841bd201a4c4991a1c7bd868960190e04239826664a121e072b8aae6 00:18:45 ---> 582d45b0ef52 00:18:45 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:18:45 ---> Running in b8668b955fc9 00:18:45 Removing intermediate container b8668b955fc9 00:18:45 ---> 05775727bfc8 00:18:45 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:18:45 ---> Running in 57a19ec0d009 00:18:45 Removing intermediate container 57a19ec0d009 00:18:45 ---> a42da3271efd 00:18:45 Step 20/22 : LABEL arch=amd64 00:18:45 ---> Running in 6c8e7e38baee 00:18:45 Removing intermediate container 6c8e7e38baee 00:18:45 ---> a5fed486107e 00:18:45 Step 21/22 : LABEL git_sha=7aff553255e6ba4848335ebc26173b2555443939 00:18:46 ---> Running in 19b0281642c4 00:18:46 Removing intermediate container 19b0281642c4 00:18:46 ---> aa4c1c4ccf29 00:18:46 Step 22/22 : LABEL version=0.0.0 00:18:46 ---> Running in 1f542c1fa6bf 00:18:46 Removing intermediate container 1f542c1fa6bf 00:18:46 ---> c3089cfaddc8 00:18:46 [Warning] One or more build-args [ARCH] were not consumed 00:18:46 Successfully built c3089cfaddc8 00:18:46 Successfully tagged docker-device-virtual-go:latest 00:18:47 $ docker rm -f 4596b3ce841bd201a4c4991a1c7bd868960190e04239826664a121e072b8aae6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 00:18:48 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash 00:18:48 Warning: overwriting stash ‘coverage-report’ [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] } 00:18:49 Stashed 1 file(s) [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:51 + ls -al . 00:18:51 total 148 00:18:51 drwxrwxr-x 7 jenkins jenkins 4096 Jan 5 00:18 . 00:18:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 00:16 .. 00:18:51 drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 00:16 .git 00:18:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 00:16 .github 00:18:51 -rw-rw-r-- 1 jenkins jenkins 258 Jan 5 00:16 .gitignore 00:18:51 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 5 00:16 Attribution.txt 00:18:51 -rw-rw-r-- 1 jenkins jenkins 1851 Jan 5 00:16 Dockerfile 00:18:51 -rw-rw-r-- 1 jenkins jenkins 961 Jan 5 00:16 Dockerfile.build 00:18:51 -rw-rw-r-- 1 jenkins jenkins 660 Jan 5 00:16 Jenkinsfile 00:18:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 5 00:16 LICENSE 00:18:51 -rw-rw-r-- 1 jenkins jenkins 873 Jan 5 00:16 Makefile 00:18:51 -rw-rw-r-- 1 jenkins jenkins 918 Jan 5 00:16 README.md 00:18:51 -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 00:13 VERSION 00:18:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 00:16 bin 00:18:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 00:16 cmd 00:18:51 -rw-r--r-- 1 jenkins jenkins 47242 Jan 5 00:18 coverage.out 00:18:51 -rw-r--r-- 1 jenkins jenkins 863 Jan 5 00:18 go.mod 00:18:51 -rw-r--r-- 1 jenkins jenkins 16360 Jan 5 00:18 go.sum 00:18:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 00:16 internal 00:18:51 -rw-rw-r-- 1 jenkins jenkins 235 Jan 5 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:52 + 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=7aff553255e6ba4848335ebc26173b2555443939 --label arch=arm64 --label version=0.0.0 . 00:18:52 Sending build context to Docker daemon 550.9kB 00:18:52 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:52 Step 2/22 : FROM ${BASE} AS builder 00:18:52 ---> 7e7da176b935 00:18:52 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:52 ---> Running in 0ba094cab4c2 00:18:53 Removing intermediate container 0ba094cab4c2 00:18:53 ---> 19aeb64e66d0 00:18:53 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:53 ---> Running in fdc7dab5f6f9 00:18:54 Removing intermediate container fdc7dab5f6f9 00:18:54 ---> 3c6e3d1d2c23 00:18:54 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:54 ---> Running in 4e7b3e27d274 00:18:54 Removing intermediate container 4e7b3e27d274 00:18:54 ---> 7660701813c6 00:18:54 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:54 ---> Running in 3471222dc828 00:18:56 Removing intermediate container 3471222dc828 00:18:56 ---> ff9602530cf0 00:18:56 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:56 ---> Running in 97b2a8e0da6a 00:18:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:18:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:18:59 OK: 221 MiB in 53 packages 00:19:00 Removing intermediate container 97b2a8e0da6a 00:19:00 ---> 5592de5b766f 00:19:00 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:19:00 ---> Running in 9618e0546754 00:19:01 Removing intermediate container 9618e0546754 00:19:01 ---> b2618d84687a 00:19:01 Step 9/22 : COPY . . 00:19:01 ---> 8168e669f4a5 00:19:01 Step 10/22 : ARG MAKE='make build' 00:19:01 ---> Running in fd8efdb48acf 00:19:02 Removing intermediate container fd8efdb48acf 00:19:02 ---> 0fb1879d3d30 00:19:02 Step 11/22 : RUN $MAKE 00:19:02 ---> Running in 25d3bdda96af 00:19:04 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:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:19:44 Removing intermediate container 25d3bdda96af 00:19:44 ---> 90e5968261e9 00:19:44 Step 12/22 : FROM alpine:3.12 00:19:44 3.12: Pulling from library/alpine 00:19:44 159e5727ea61: Pulling fs layer 00:19:44 159e5727ea61: Verifying Checksum 00:19:44 159e5727ea61: Download complete 00:19:44 159e5727ea61: Pull complete 00:19:44 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:19:44 Status: Downloaded newer image for alpine:3.12 00:19:44 ---> afeebe901d6b 00:19:44 Step 13/22 : ENV APP_PORT=49990 00:19:45 ---> Running in 94a39ff01f93 00:19:45 Removing intermediate container 94a39ff01f93 00:19:45 ---> 755d09de7d32 00:19:45 Step 14/22 : EXPOSE $APP_PORT 00:19:45 ---> Running in d26eb97d3820 00:19:46 Removing intermediate container d26eb97d3820 00:19:46 ---> b7d624002ef4 00:19:46 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:19:47 ---> 817e6f75098b 00:19:47 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:19:48 ---> f0a1eda08e35 00:19:48 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:19:48 ---> 9521171228b6 00:19:48 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:19:48 ---> Running in 84aa49ccfe03 00:19:49 Removing intermediate container 84aa49ccfe03 00:19:49 ---> 06f38f5a1457 00:19:49 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:19:49 ---> Running in e3984551e948 00:19:50 Removing intermediate container e3984551e948 00:19:50 ---> 2eb66494399b 00:19:50 Step 20/22 : LABEL arch=arm64 00:19:50 ---> Running in 8571063ba852 00:19:50 Removing intermediate container 8571063ba852 00:19:50 ---> c968a5df689a 00:19:50 Step 21/22 : LABEL git_sha=7aff553255e6ba4848335ebc26173b2555443939 00:19:50 ---> Running in b79e6eb9d9c6 00:19:51 Removing intermediate container b79e6eb9d9c6 00:19:51 ---> a8c65ad94e9c 00:19:51 Step 22/22 : LABEL version=0.0.0 00:19:51 ---> Running in d72d8828e9bd 00:19:51 Removing intermediate container d72d8828e9bd 00:19:51 ---> 3a845ae7558d 00:19:51 [Warning] One or more build-args [ARCH] were not consumed 00:19:51 Successfully built 3a845ae7558d 00:19:51 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:53 provisioning config files... 00:19:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config4695284639346844376tmp [Pipeline] { [Pipeline] sh 00:19:54 + set +x 00:19:54 + curl -s https://codecov.io/bash 00:19:54 + bash -s -- 00:19:54 00:19:54 _____ _ 00:19:54 / ____| | | 00:19:54 | | ___ __| | ___ ___ _____ __ 00:19:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:54 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:54 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:54 Bash-20201231-23d4836 00:19:54 00:19:54 00:19:54 ==> git version 2.24.3 found 00:19:54 ==> 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:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:19:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:19:54 ==> Jenkins CI detected. 00:19:54 project root: . 00:19:54 --> token set from env 00:19:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:54 ==> Running gcov in . (disable via -X gcov) 00:19:54 ==> Python coveragepy not found 00:19:54 ==> Searching for coverage reports in: 00:19:54 + . 00:19:54 -> Found 1 reports 00:19:54 ==> Detecting git/mercurial file structure 00:19:54 ==> Reading reports 00:19:54 + ./coverage.out bytes=47242 00:19:54 ==> Appending adjustments 00:19:54 https://docs.codecov.io/docs/fixing-reports 00:19:54 + Found adjustments 00:19:54 ==> Gzipping contents 00:19:54 8.0K /tmp/codecov.cu5lfi.gz 00:19:54 ==> Uploading reports 00:19:54 url: https://codecov.io 00:19:54 query: branch=PR-160&commit=7aff553255e6ba4848335ebc26173b2555443939&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-160%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=160&job=&cmd_args= 00:19:54 -> Pinging Codecov 00:19:54 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-160&commit=7aff553255e6ba4848335ebc26173b2555443939&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-160%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=160&job=&cmd_args= 00:19:55 -> Uploading to 00:19:55 https://storage.googleapis.com/codecov/v4/raw/2021-01-05/5E52B4B073DB2E39498172D8E973AA87/7aff553255e6ba4848335ebc26173b2555443939/88d17a2b-2313-465e-a660-6da951ce4517.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210105T001955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=822f0b72ea08698b8b18c0f2fe6dde47d52177ca5e17d3dc598034aa1468f747 00:19:55 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:55 Dload Upload Total Spent Left Speed 00:19:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5798 0 0 100 5798 0 10447 --:--:-- --:--:-- --:--:-- 10446 100 5798 0 0 100 5798 0 10441 --:--:-- --:--:-- --:--:-- 10428 00:19:55 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7aff553255e6ba4848335ebc26173b2555443939 [Pipeline] } 00:19:55 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:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:19:59 ---> package-listing.sh 00:19:59 ++ facter osfamily 00:19:59 ++ tr '[:upper:]' '[:lower:]' 00:19:59 + OS_FAMILY=redhat 00:19:59 + workspace=/w/workspace/foundry_device-virtual-go_PR-160 00:19:59 + START_PACKAGES=/tmp/packages_start.txt 00:19:59 + END_PACKAGES=/tmp/packages_end.txt 00:19:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:19:59 + PACKAGES=/tmp/packages_start.txt 00:19:59 + '[' /w/workspace/foundry_device-virtual-go_PR-160 ']' 00:19:59 + PACKAGES=/tmp/packages_end.txt 00:19:59 + case "${OS_FAMILY}" in 00:19:59 + rpm -qa 00:19:59 + sort 00:20:04 + '[' -f /tmp/packages_start.txt ']' 00:20:04 + '[' -f /tmp/packages_end.txt ']' 00:20:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:04 + '[' /w/workspace/foundry_device-virtual-go_PR-160 ']' 00:20:04 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-160/archives/ 00:20:04 + 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 00:20:04 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 00:20:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:05 00:20:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:20:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:05 alpine: Pulling from edgex-lftools-log-publisher 00:20:05 df20fa9351a1: Pulling fs layer 00:20:05 36b3adc4ff6f: Pulling fs layer 00:20:05 8ad3a11d3b57: Pulling fs layer 00:20:05 46f8f816bc3b: Pulling fs layer 00:20:05 93b61091891f: Pulling fs layer 00:20:05 93b9cdb0e59b: Pulling fs layer 00:20:05 5e14af77c1be: Pulling fs layer 00:20:05 01666e4c0597: Pulling fs layer 00:20:05 aa168da1d23b: Pulling fs layer 00:20:05 93b9cdb0e59b: Waiting 00:20:05 5e14af77c1be: Waiting 00:20:05 01666e4c0597: Waiting 00:20:05 aa168da1d23b: Waiting 00:20:05 46f8f816bc3b: Waiting 00:20:05 93b61091891f: Waiting 00:20:05 36b3adc4ff6f: Verifying Checksum 00:20:05 36b3adc4ff6f: Download complete 00:20:05 46f8f816bc3b: Verifying Checksum 00:20:05 46f8f816bc3b: Download complete 00:20:05 df20fa9351a1: Verifying Checksum 00:20:05 df20fa9351a1: Download complete 00:20:05 93b9cdb0e59b: Verifying Checksum 00:20:05 93b9cdb0e59b: Download complete 00:20:05 5e14af77c1be: Verifying Checksum 00:20:05 5e14af77c1be: Download complete 00:20:05 93b61091891f: Verifying Checksum 00:20:05 93b61091891f: Download complete 00:20:05 01666e4c0597: Verifying Checksum 00:20:05 01666e4c0597: Download complete 00:20:06 df20fa9351a1: Pull complete 00:20:06 36b3adc4ff6f: Pull complete 00:20:06 8ad3a11d3b57: Verifying Checksum 00:20:06 8ad3a11d3b57: Download complete 00:20:07 8ad3a11d3b57: Pull complete 00:20:07 46f8f816bc3b: Pull complete 00:20:08 93b61091891f: Pull complete 00:20:08 93b9cdb0e59b: Pull complete 00:20:08 aa168da1d23b: Verifying Checksum 00:20:08 aa168da1d23b: Download complete 00:20:09 5e14af77c1be: Pull complete 00:20:09 01666e4c0597: Pull complete 00:20:16 aa168da1d23b: Pull complete 00:20:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:20:16 prd-centos7-docker-4c-2g-18346 does not seem to be running inside a container 00:20:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:20:22 $ docker top 061c788a178574813bfc81bdb1370c0c30b1991482b56a3205e672d73104cf2d -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:22 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:23 + mkdir -p /var/log/sa [Pipeline] sh 00:20:23 + ls /var/log/sa-host 00:20:23 + sadf -c /var/log/sa-host/sa05 00:20:23 file_magic: OK 00:20:23 HZ: Using current value: 100 00:20:23 file_header: OK 00:20:23 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:23 Statistics: 00:20:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:20:23 File successfully converted to sysstat format version 12.2.1 00:20:23 + sadf -c /var/log/sa-host/sa23 00:20:23 file_magic: OK 00:20:23 HZ: Using current value: 100 00:20:23 file_header: OK 00:20:23 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:23 Statistics: 00:20:23 Hnuu...uuuununununu... 00:20:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:24 provisioning config files... 00:20:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-160@tmp/config4255975228303274856tmp [Pipeline] { [Pipeline] echo 00:20:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:24 ---> create-netrc.sh [Pipeline] } 00:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:20:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:20:24 ---> python-tools-install.sh [Pipeline] echo 00:20:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:25 ---> sudo-logs.sh 00:20:25 Archiving 'sudo' log.. [Pipeline] echo 00:20:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:25 ---> job-cost.sh 00:20:25 lf-activate-venv: SKIPPING 00:20:25 INFO: No Stack... 00:20:26 INFO: Retrieving Pricing Info for: v1-standard-2 00:20:27 INFO: Archiving Costs [Pipeline] echo 00:20:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:27 ---> logs-deploy.sh 00:20:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-160/2 00:20:27 INFO: archiving workspace using pattern(s): 00:20:29 Archives upload complete. 00:20:29 INFO: archiving logs to Nexus 00:20:30 ---> uname -a: 00:20:30 Linux prd-centos7-docker-4c-2g-18346.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:30 00:20:30 00:20:30 ---> lscpu: 00:20:30 Architecture: x86_64 00:20:30 CPU op-mode(s): 32-bit, 64-bit 00:20:30 Byte Order: Little Endian 00:20:30 Address sizes: 40 bits physical, 48 bits virtual 00:20:30 CPU(s): 4 00:20:30 On-line CPU(s) list: 0-3 00:20:30 Thread(s) per core: 1 00:20:30 Core(s) per socket: 1 00:20:30 Socket(s): 4 00:20:30 NUMA node(s): 1 00:20:30 Vendor ID: GenuineIntel 00:20:30 CPU family: 6 00:20:30 Model: 44 00:20:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:20:30 Stepping: 1 00:20:30 CPU MHz: 2933.436 00:20:30 BogoMIPS: 5866.87 00:20:30 Virtualization: VT-x 00:20:30 Hypervisor vendor: KVM 00:20:30 Virtualization type: full 00:20:30 L1d cache: 128 KiB 00:20:30 L1i cache: 128 KiB 00:20:30 L2 cache: 16 MiB 00:20:30 L3 cache: 64 MiB 00:20:30 NUMA node0 CPU(s): 0-3 00:20:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:20:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:20:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:20:30 Vulnerability Meltdown: Mitigation; PTI 00:20:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:20:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:20:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:20:30 Vulnerability Srbds: Not affected 00:20:30 Vulnerability Tsx async abort: Not affected 00:20:30 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:30 00:20:30 00:20:30 ---> nproc: 00:20:30 4 00:20:30 00:20:30 00:20:30 ---> df -h: 00:20:30 Filesystem Size Used Available Use% Mounted on 00:20:30 overlay 50.0G 7.3G 42.7G 15% / 00:20:30 tmpfs 64.0M 0 64.0M 0% /dev 00:20:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:20:30 shm 64.0M 0 64.0M 0% /dev/shm 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-160 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-160@tmp 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:20:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:20:30 00:20:30 00:20:30 ---> free -m: 00:20:30 total used free shared buff/cache available 00:20:30 Mem: 1837 700 67 0 1069 1032 00:20:30 Swap: 1023 0 1023 00:20:30 00:20:30 00:20:30 ---> ip addr: 00:20:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:20:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:20:30 inet 127.0.0.1/8 scope host lo 00:20:30 valid_lft forever preferred_lft forever 00:20:30 inet6 ::1/128 scope host 00:20:30 valid_lft forever preferred_lft forever 00:20:30 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:20:30 link/ether fa:16:3e:9c:d5:90 brd ff:ff:ff:ff:ff:ff 00:20:30 inet 10.30.123.158/23 brd 10.30.123.255 scope global dynamic eth0 00:20:30 valid_lft 85952sec preferred_lft 85952sec 00:20:30 inet6 fe80::f816:3eff:fe9c:d590/64 scope link 00:20:30 valid_lft forever preferred_lft forever 00:20:30 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:20:30 link/ether 02:42:21:d6:2e:85 brd ff:ff:ff:ff:ff:ff 00:20:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:20:30 valid_lft forever preferred_lft forever 00:20:30 inet6 fe80::42:21ff:fed6:2e85/64 scope link 00:20:30 valid_lft forever preferred_lft forever 00:20:30 00:20:30 00:20:30 ---> sar -b -r -n DEV: 00:20:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/05/21 _x86_64_ (4 CPU) 00:20:30 00:20:30 00:12:49 LINUX RESTART (4 CPU) 00:20:30 00:20:30 00:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:20:30 00:15:01 3.00 0.03 2.96 0.00 1.07 95.67 0.00 00:20:30 00:16:01 0.38 0.00 0.38 0.00 0.00 4.95 0.00 00:20:30 00:17:01 0.32 0.00 0.32 0.00 0.00 4.50 0.00 00:20:30 00:18:01 0.57 0.00 0.57 0.00 0.00 6.24 0.00 00:20:30 00:19:02 0.43 0.00 0.43 0.00 0.00 6.85 0.00 00:20:30 00:20:01 17.57 17.26 0.30 0.00 2334.34 6.45 0.00 00:20:30 Average: 3.67 2.84 0.83 0.00 384.04 20.82 0.00 00:20:30 00:20:30 00:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:20:30 00:15:01 173820 0 561188 29.83 2620 1143916 1077700 36.78 407136 1102164 12 00:20:30 00:16:01 172040 0 562960 29.92 2620 1143924 1077772 36.78 421748 1089652 24 00:20:30 00:17:01 171032 0 563964 29.97 2620 1143928 1077868 36.79 417868 1094328 8 00:20:30 00:18:01 170600 0 564396 30.00 2620 1143928 1077700 36.78 419760 1092916 8 00:20:30 00:19:02 170084 0 564904 30.02 2620 1143936 1077796 36.78 419500 1093912 16 00:20:30 00:20:01 75248 0 590776 31.40 2620 1212900 1114096 38.02 446092 1160904 72 00:20:30 Average: 155471 0 568031 30.19 2620 1155422 1083822 36.99 422017 1105646 23 00:20:30 00:20:30 00:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:20:30 00:15:01 eth0 0.60 0.08 0.04 0.01 0.00 0.00 0.00 0.00 00:20:30 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:16:01 eth0 2.68 1.72 2.15 0.11 0.00 0.00 0.00 0.00 00:20:30 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:17:01 eth0 1.42 0.60 0.58 0.40 0.00 0.00 0.00 0.00 00:20:30 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:18:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:20:30 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:19:02 eth0 0.28 0.23 0.14 0.07 0.00 0.00 0.00 0.00 00:20:30 00:19:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:20:01 eth0 9.85 5.84 9.07 3.26 0.00 0.00 0.00 0.00 00:20:30 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 Average: eth0 2.47 1.41 1.98 0.64 0.00 0.00 0.00 0.00 00:20:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:30 00:20:30 00:20:30 ---> sar -P ALL: 00:20:30 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/05/21 _x86_64_ (4 CPU) 00:20:30 00:20:30 00:12:49 LINUX RESTART (4 CPU) 00:20:30 00:20:30 00:14:01 CPU %user %nice %system %iowait %steal %idle 00:20:30 00:15:01 all 0.20 0.00 0.07 0.00 0.00 99.73 00:20:30 00:15:01 0 0.10 0.00 0.05 0.00 0.00 99.85 00:20:30 00:15:01 1 0.05 0.00 0.03 0.00 0.00 99.92 00:20:30 00:15:01 2 0.53 0.00 0.08 0.00 0.00 99.38 00:20:30 00:15:01 3 0.12 0.00 0.10 0.00 0.00 99.78 00:20:30 00:16:01 all 0.14 0.00 0.06 0.00 0.01 99.80 00:20:30 00:16:01 0 0.05 0.00 0.05 0.00 0.00 99.90 00:20:30 00:16:01 1 0.07 0.00 0.03 0.00 0.00 99.90 00:20:30 00:16:01 2 0.38 0.00 0.12 0.00 0.02 99.48 00:20:30 00:16:01 3 0.05 0.00 0.03 0.00 0.02 99.90 00:20:30 00:17:01 all 0.10 0.00 0.04 0.00 0.00 99.86 00:20:30 00:17:01 0 0.02 0.00 0.03 0.00 0.00 99.95 00:20:30 00:17:01 1 0.03 0.00 0.03 0.00 0.00 99.93 00:20:30 00:17:01 2 0.32 0.00 0.03 0.00 0.00 99.65 00:20:30 00:17:01 3 0.03 0.00 0.05 0.00 0.00 99.92 00:20:30 00:18:01 all 0.11 0.00 0.05 0.00 0.00 99.83 00:20:30 00:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:20:30 00:18:01 1 0.05 0.00 0.07 0.00 0.02 99.87 00:20:30 00:18:01 2 0.35 0.00 0.07 0.00 0.00 99.58 00:20:30 00:18:01 3 0.03 0.00 0.05 0.00 0.00 99.92 00:20:30 00:19:02 all 0.16 0.00 0.06 0.00 0.00 99.77 00:20:30 00:19:02 0 0.02 0.00 0.02 0.00 0.00 99.97 00:20:30 00:19:02 1 0.20 0.00 0.05 0.00 0.00 99.75 00:20:30 00:19:02 2 0.38 0.00 0.17 0.00 0.00 99.45 00:20:30 00:19:02 3 0.03 0.00 0.02 0.00 0.02 99.93 00:20:30 00:20:01 all 0.89 0.00 0.46 0.49 0.04 98.12 00:20:30 00:20:01 0 1.12 0.00 0.85 1.80 0.02 96.21 00:20:30 00:20:01 1 1.02 0.00 0.24 0.05 0.05 98.64 00:20:30 00:20:01 2 0.88 0.00 0.49 0.02 0.02 98.59 00:20:30 00:20:01 3 0.53 0.00 0.27 0.08 0.08 99.03 00:20:30 Average: all 0.26 0.00 0.12 0.08 0.01 99.52 00:20:30 Average: 0 0.22 0.00 0.17 0.30 0.00 99.32 00:20:30 Average: 1 0.23 0.00 0.08 0.01 0.01 99.67 00:20:30 Average: 2 0.47 0.00 0.16 0.00 0.01 99.36 00:20:30 Average: 3 0.13 0.00 0.09 0.01 0.02 99.75 00:20:30 00:20:30 00:20:30