Pull request #158 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6351328c949a469bd22588a888be6a21996686ca+d98ab64770a8aa8499d3ed372f913abb779305df (f647762f54576725f2064a2157640be221526b80) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18194 in /w/workspace/foundry_device-virtual-go_PR-158 [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-158 # 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/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # 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 d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:37:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:37:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:37:28 ========================================================= 16:37:28 EdgeX Global Pipelines Version Info 16:37:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e9fbb1aef84366bf56d8a545e22566b09eb166f3 # timeout=10 16:37:29 ------------------- 16:37:29 stable info: 16:37:29 ------------------- 16:37:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:37:29 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:37:29 Message: update stable to v1.0.173 16:37:30 ------------------- 16:37:30 experimental info: 16:37:30 ------------------- 16:37:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:37:30 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:37:30 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:37:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:37:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:37:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6351328c949a469bd22588a888be6a21996686ca [Pipeline] echo 16:37:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6351328 [Pipeline] echo 16:37:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:37:34 provisioning config files... 16:37:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2420224018819544702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:34 ---> docker-login.sh 16:37:34 nexus3.edgexfoundry.org:10001 16:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:35 Configure a credential helper to remove this warning. See 16:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:35 16:37:35 Login Succeeded 16:37:35 nexus3.edgexfoundry.org:10002 16:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:35 Configure a credential helper to remove this warning. See 16:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:35 16:37:35 Login Succeeded 16:37:35 nexus3.edgexfoundry.org:10003 16:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:35 Configure a credential helper to remove this warning. See 16:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:35 16:37:35 Login Succeeded 16:37:35 nexus3.edgexfoundry.org:10004 16:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:35 Configure a credential helper to remove this warning. See 16:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:35 16:37:35 Login Succeeded 16:37:35 docker.io 16:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:35 Configure a credential helper to remove this warning. See 16:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:35 16:37:35 Login Succeeded 16:37:35 ---> docker-login.sh ends [Pipeline] } 16:37:35 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 16:37:36 + git log --format=format:%s -1 6351328c949a469bd22588a888be6a21996686ca [Pipeline] echo 16:37:36 GIT_COMMIT: 6351328c949a469bd22588a888be6a21996686ca, Commit Message: ci: standardize dockerfiles [Pipeline] echo 16:37:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:37:37 16:37:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:37:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:37:37 latest: Pulling from edgex-devops/git-semver 16:37:37 31603596830f: Pulling fs layer 16:37:37 2a8b12db71e7: Pulling fs layer 16:37:37 6ca5941a6612: Pulling fs layer 16:37:37 ecc8261a40a4: Pulling fs layer 16:37:37 ecc8261a40a4: Waiting 16:37:37 2a8b12db71e7: Download complete 16:37:37 31603596830f: Verifying Checksum 16:37:37 31603596830f: Download complete 16:37:38 ecc8261a40a4: Verifying Checksum 16:37:38 ecc8261a40a4: Download complete 16:37:38 6ca5941a6612: Verifying Checksum 16:37:38 6ca5941a6612: Download complete 16:37:38 31603596830f: Pull complete 16:37:38 2a8b12db71e7: Pull complete 16:37:39 6ca5941a6612: Pull complete 16:37:39 ecc8261a40a4: Pull complete 16:37:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:37:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:37:39 prd-centos7-docker-4c-2g-18194 does not seem to be running inside a container 16:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:37:41 $ docker top e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:42 [ssh-agent] Looking for ssh-agent implementation... 16:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:42 $ docker exec e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent 16:37:42 SSH_AUTH_SOCK=/tmp/ssh-Vknk5OCrvm9B/agent.11 16:37:42 SSH_AGENT_PID=16 16:37:42 Running ssh-add (command line suppressed) 16:37:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4718242737783450421.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4718242737783450421.key) 16:37:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:43 + git tag --points-at HEAD [Pipeline] } 16:37:43 $ docker exec --env ******** --env ******** e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent -k 16:37:43 unset SSH_AUTH_SOCK; 16:37:43 unset SSH_AGENT_PID; 16:37:43 echo Agent pid 16 killed; 16:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:43 [ssh-agent] Looking for ssh-agent implementation... 16:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:43 $ docker exec e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent 16:37:43 SSH_AUTH_SOCK=/tmp/ssh-zdc3Lt2O6aXT/agent.46 16:37:43 SSH_AGENT_PID=52 16:37:43 Running ssh-add (command line suppressed) 16:37:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_214708265469354494.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_214708265469354494.key) 16:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:44 + git semver init 16:37:44 # -> Open(): unable to determine branch for HEAD 16:37:44 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.git 16:37:44 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-158 16:37:44 # $SEMVER_REMOTE_NAME = origin 16:37:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:37:44 # $SEMVER_USER_NAME = edgex-jenkins 16:37:44 # $SEMVER_BRANCH = PR-158 16:37:44 # $SEMVER_TEMP = /tmp/semver-147798748 16:37:44 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 16:37:44 # '/tmp/semver-147798748' -> '/w/workspace/foundry_device-virtual-go_PR-158/.semver' 16:37:44 # -> Force: false 16:37:44 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.semver [Pipeline] } 16:37:44 $ docker exec --env ******** --env ******** e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent -k 16:37:44 unset SSH_AUTH_SOCK; 16:37:44 unset SSH_AGENT_PID; 16:37:44 echo Agent pid 52 killed; 16:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:45 + git semver [Pipeline] } 16:37:45 $ docker stop --time=1 e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 16:37:46 $ docker rm -f e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 [Pipeline] // withDockerContainer [Pipeline] sh 16:37:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:37:47 Stashed 1 file(s) [Pipeline] echo 16:37:47 [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 16:38:03 Still waiting to schedule task 16:38:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:38:03 Still waiting to schedule task 16:38:03 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:39:49 Running on prd-centos7-docker-4c-2g-18196 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 16:39:49 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 16:39:52 using credential edgex-jenkins-ssh 16:39:52 Cloning the remote Git repository 16:39:52 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:39:52 > git init /w/workspace/device-virtual-go/3 # timeout=10 16:39:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:39:52 > git --version # timeout=10 16:39:52 > git --version # 'git version 2.24.3' 16:39:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:39:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:39:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:39:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:39:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:39:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:39:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:39:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:39:53 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca 16:39:54 Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca 16:39:54 Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) 16:39:53 > git config core.sparsecheckout # timeout=10 16:39:54 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 16:39:54 > git remote # timeout=10 16:39:54 > git config --get remote.origin.url # timeout=10 16:39:54 using GIT_SSH to set credentials SSH Credentials for GitHub 16:39:54 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 16:39:54 > git rev-parse HEAD^{commit} # timeout=10 16:39:54 > git config core.sparsecheckout # timeout=10 16:39:54 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 16:39:57 Commit message: "ci: standardize dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:39:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:39:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:39:59 + sudo service docker restart 16:39:59 + true 16:39:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:40:00 provisioning config files... 16:40:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3384881986791527377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:01 ---> docker-login.sh 16:40:01 nexus3.edgexfoundry.org:10001 16:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:01 Configure a credential helper to remove this warning. See 16:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:01 16:40:01 Login Succeeded 16:40:01 nexus3.edgexfoundry.org:10002 16:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:01 Configure a credential helper to remove this warning. See 16:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:01 16:40:01 Login Succeeded 16:40:01 nexus3.edgexfoundry.org:10003 16:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:01 Configure a credential helper to remove this warning. See 16:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:01 16:40:01 Login Succeeded 16:40:01 nexus3.edgexfoundry.org:10004 16:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:02 Configure a credential helper to remove this warning. See 16:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:02 16:40:02 Login Succeeded 16:40:02 docker.io 16:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:02 Configure a credential helper to remove this warning. See 16:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:02 16:40:02 Login Succeeded 16:40:02 ---> docker-login.sh ends [Pipeline] } 16:40:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:40:02 ========================================================= 16:40:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:40:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:40:03 + 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 . 16:40:03 Sending build context to Docker daemon 488.4kB 16:40:03 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:40:03 Step 2/8 : FROM ${BASE} 16:40:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:40:03 188c0c94c7c5: Pulling fs layer 16:40:03 0ef7d3d256c8: Pulling fs layer 16:40:03 de9db76c5a1d: Pulling fs layer 16:40:03 bca2f99d35d6: Pulling fs layer 16:40:03 93359f2a8cfa: Pulling fs layer 16:40:03 7c6f9722023f: Pulling fs layer 16:40:03 a35cf1a2eb13: Pulling fs layer 16:40:03 bca2f99d35d6: Waiting 16:40:03 93359f2a8cfa: Waiting 16:40:03 7c6f9722023f: Waiting 16:40:03 a35cf1a2eb13: Waiting 16:40:03 de9db76c5a1d: Verifying Checksum 16:40:03 de9db76c5a1d: Download complete 16:40:03 0ef7d3d256c8: Verifying Checksum 16:40:03 0ef7d3d256c8: Download complete 16:40:03 93359f2a8cfa: Download complete 16:40:04 7c6f9722023f: Verifying Checksum 16:40:04 7c6f9722023f: Download complete 16:40:04 188c0c94c7c5: Download complete 16:40:04 188c0c94c7c5: Pull complete 16:40:04 0ef7d3d256c8: Pull complete 16:40:04 de9db76c5a1d: Pull complete 16:40:07 a35cf1a2eb13: Verifying Checksum 16:40:07 a35cf1a2eb13: Download complete 16:40:09 bca2f99d35d6: Verifying Checksum 16:40:09 bca2f99d35d6: Download complete 16:40:16 bca2f99d35d6: Pull complete 16:40:16 93359f2a8cfa: Pull complete 16:40:16 7c6f9722023f: Pull complete 16:40:24 a35cf1a2eb13: Pull complete 16:40:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:40:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:40:24 ---> a62c8e92a672 16:40:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:40:24 ---> Running in 3c0ee725d869 16:40:24 Removing intermediate container 3c0ee725d869 16:40:24 ---> 6693d2975997 16:40:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:24 ---> Running in 2bf39d43df2f 16:40:25 Removing intermediate container 2bf39d43df2f 16:40:25 ---> c75ee00be5cf 16:40:25 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:40:25 ---> Running in 55ea239b91d8 16:40:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:40:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:40:27 (1/14) Installing libmagic (5.38-r0) 16:40:28 (2/14) Installing file (5.38-r0) 16:40:28 (3/14) Installing libc-dev (0.7.2-r3) 16:40:28 (4/14) Installing g++ (9.3.0-r2) 16:40:32 (5/14) Installing fortify-headers (1.1-r0) 16:40:32 (6/14) Installing patch (2.7.6-r6) 16:40:32 (7/14) Installing build-base (0.5-r2) 16:40:32 (8/14) Installing openssh-keygen (8.3_p1-r1) 16:40:32 (9/14) Installing libedit (20191231.3.1-r0) 16:40:32 (10/14) Installing openssh-client (8.3_p1-r1) 16:40:33 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 16:40:33 (12/14) Installing openssh-server-common (8.3_p1-r1) 16:40:33 (13/14) Installing openssh-server (8.3_p1-r1) 16:40:33 (14/14) Installing openssh (8.3_p1-r1) 16:40:33 Executing busybox-1.31.1-r19.trigger 16:40:33 OK: 237 MiB in 53 packages 16:40:36 Removing intermediate container 55ea239b91d8 16:40:36 ---> e768df60043b 16:40:36 Step 6/8 : WORKDIR /device-virtual-go 16:40:36 ---> Running in c92c355b4d1c 16:40:37 Removing intermediate container c92c355b4d1c 16:40:37 ---> d101f8f4bc12 16:40:37 Step 7/8 : COPY . . 16:40:38 ---> 675a9c42d442 16:40:38 Step 8/8 : RUN go mod download 16:40:38 ---> Running in 7e228d7c7768 16:41:00 Removing intermediate container 7e228d7c7768 16:41:00 ---> e352fb382cfc 16:41:00 Successfully built e352fb382cfc 16:41:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:41:00 + docker inspect -f . ci-base-image-x86_64 16:41:00 . [Pipeline] withDockerContainer 16:41:00 prd-centos7-docker-4c-2g-18196 does not seem to be running inside a container 16:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-x86_64 cat 16:41:01 $ docker top 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:02 + go version 16:41:02 go version go1.15.5 linux/amd64 [Pipeline] } 16:41:02 $ docker stop --time=1 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc 16:41:03 $ docker rm -f 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:04 + docker inspect -f . ci-base-image-x86_64 16:41:04 . [Pipeline] withDockerContainer 16:41:04 prd-centos7-docker-4c-2g-18196 does not seem to be running inside a container 16:41:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-x86_64 cat 16:41:05 $ docker top 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:05 + make test 16:41:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:41:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:41:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18197 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 16:41:25 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 16:41:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:41:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.380s coverage: 64.4% of statements 16:41:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:41:29 gofmt -l . 16:41:29 [ "`gofmt -l .`" = "" ] 16:41:29 ./bin/test-attribution-txt.sh 16:41:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:41:30 $ docker stop --time=1 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 16:41:30 using credential edgex-jenkins-ssh 16:41:30 Cloning the remote Git repository 16:41:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:41:30 > git init /w/workspace/device-virtual-go/3 # timeout=10 16:41:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:41:31 > git --version # timeout=10 16:41:31 > git --version # 'git version 2.17.1' 16:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:32 $ docker rm -f 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 16:41:32 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca [Pipeline] // withDockerContainer [Pipeline] sh 16:41:32 Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca 16:41:32 Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) 16:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:41:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:41:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:41:32 > git config core.sparsecheckout # timeout=10 16:41:32 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 16:41:32 > git remote # timeout=10 16:41:32 > git config --get remote.origin.url # timeout=10 16:41:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:32 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 16:41:32 > git rev-parse HEAD^{commit} # timeout=10 16:41:32 > git config core.sparsecheckout # timeout=10 16:41:32 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 16:41:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:41:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:41:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:41:35 + ls -al . 16:41:35 total 124 16:41:35 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 4 16:41 . 16:41:35 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 16:39 .. 16:41:35 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 4 16:39 Attribution.txt 16:41:35 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:39 bin 16:41:35 drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:39 cmd 16:41:35 -rw-r--r--. 1 jenkins jenkins 47242 Jan 4 16:41 coverage.out 16:41:35 -rw-rw-r--. 1 jenkins jenkins 1851 Jan 4 16:39 Dockerfile 16:41:35 -rw-rw-r--. 1 jenkins jenkins 961 Jan 4 16:39 Dockerfile.build 16:41:35 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 16:39 .git 16:41:35 drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:39 .github 16:41:35 -rw-rw-r--. 1 jenkins jenkins 258 Jan 4 16:39 .gitignore 16:41:35 -rw-r--r--. 1 jenkins jenkins 863 Jan 4 16:41 go.mod 16:41:35 -rw-r--r--. 1 jenkins jenkins 16360 Jan 4 16:41 go.sum 16:41:35 drwxrwxr-x. 3 jenkins jenkins 20 Jan 4 16:39 internal 16:41:35 -rw-rw-r--. 1 jenkins jenkins 660 Jan 4 16:39 Jenkinsfile 16:41:35 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:39 LICENSE 16:41:35 -rw-rw-r--. 1 jenkins jenkins 873 Jan 4 16:39 Makefile 16:41:35 -rw-rw-r--. 1 jenkins jenkins 918 Jan 4 16:39 README.md 16:41:35 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 16:37 VERSION 16:41:35 -rw-rw-r--. 1 jenkins jenkins 235 Jan 4 16:39 version.go [Pipeline] isUnix [Pipeline] sh 16:41:35 + 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=6351328c949a469bd22588a888be6a21996686ca --label arch=amd64 --label version=0.0.0 . 16:41:35 Sending build context to Docker daemon 553.5kB 16:41:35 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 16:41:35 Step 2/22 : FROM ${BASE} AS builder 16:41:35 ---> e352fb382cfc 16:41:35 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 16:41:36 ---> Running in 34f6149c0381 16:41:36 Removing intermediate container 34f6149c0381 16:41:36 ---> 2abfa1208dc3 16:41:36 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 16:41:36 ---> Running in 635956d0c82c 16:41:36 Removing intermediate container 635956d0c82c 16:41:36 ---> 5837b160a31d 16:41:36 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 16:41:36 ---> Running in bdcc6b51e86c 16:41:36 Removing intermediate container bdcc6b51e86c 16:41:36 ---> f606d9a09823 16:41:36 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:41:36 ---> Running in 0b08bf66e120 16:41:37 Commit message: "ci: standardize dockerfiles" 16:41:37 Removing intermediate container 0b08bf66e120 16:41:37 ---> 95cbc882f447 16:41:37 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:41:37 ---> Running in 381a5f63ade5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:41:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:41:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:41:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:41:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:41:39 OK: 237 MiB in 53 packages 16:41:39 + true 16:41:39 + sudo service docker restart 16:41:39 Removing intermediate container 381a5f63ade5 16:41:39 ---> 8e43a46f56fd 16:41:39 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 16:41:39 ---> Running in d3bc4ba5c801 16:41:40 Removing intermediate container d3bc4ba5c801 16:41:40 ---> 688112cc6642 16:41:40 Step 9/22 : COPY . . 16:41:41 ---> 6547ff156973 16:41:41 Step 10/22 : ARG MAKE='make build' 16:41:41 ---> Running in 45276d621110 16:41:41 Removing intermediate container 45276d621110 16:41:41 ---> 010988ad9d32 16:41:41 Step 11/22 : RUN $MAKE 16:41:41 ---> Running in 8f3518d0d9f7 16:41:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:41:42 provisioning config files... 16:41:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3526367136371099691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:42 ---> docker-login.sh 16:41:42 nexus3.edgexfoundry.org:10001 16:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:44 Configure a credential helper to remove this warning. See 16:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:44 16:41:44 Login Succeeded 16:41:44 nexus3.edgexfoundry.org:10002 16:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:44 Configure a credential helper to remove this warning. See 16:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:44 16:41:44 Login Succeeded 16:41:44 nexus3.edgexfoundry.org:10003 16:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:45 Configure a credential helper to remove this warning. See 16:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:45 16:41:45 Login Succeeded 16:41:45 nexus3.edgexfoundry.org:10004 16:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:45 Configure a credential helper to remove this warning. See 16:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:45 16:41:45 Login Succeeded 16:41:45 docker.io 16:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:46 Configure a credential helper to remove this warning. See 16:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:46 16:41:46 Login Succeeded 16:41:46 ---> docker-login.sh ends [Pipeline] } 16:41:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:41:47 ========================================================= 16:41:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:41:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:41:47 + 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 . 16:41:47 Sending build context to Docker daemon 487.4kB 16:41:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:41:47 Step 2/8 : FROM ${BASE} 16:41:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:41:48 5f621e34cdf4: Pulling fs layer 16:41:48 a4357932f1b6: Pulling fs layer 16:41:48 18c013af1878: Pulling fs layer 16:41:48 00ac8860ef70: Pulling fs layer 16:41:48 63d7cb157983: Pulling fs layer 16:41:48 b116817d02f9: Pulling fs layer 16:41:48 745a02a5169b: Pulling fs layer 16:41:48 00ac8860ef70: Waiting 16:41:48 63d7cb157983: Waiting 16:41:48 b116817d02f9: Waiting 16:41:48 745a02a5169b: Waiting 16:41:48 a4357932f1b6: Verifying Checksum 16:41:48 a4357932f1b6: Download complete 16:41:48 18c013af1878: Verifying Checksum 16:41:48 18c013af1878: Download complete 16:41:48 63d7cb157983: Verifying Checksum 16:41:48 63d7cb157983: Download complete 16:41:48 b116817d02f9: Download complete 16:41:48 5f621e34cdf4: Verifying Checksum 16:41:48 5f621e34cdf4: Download complete 16:41:49 5f621e34cdf4: Pull complete 16:41:49 a4357932f1b6: Pull complete 16:41:49 18c013af1878: Pull complete 16:41:51 745a02a5169b: Verifying Checksum 16:41:51 745a02a5169b: Download complete 16:41:51 00ac8860ef70: Verifying Checksum 16:41:51 00ac8860ef70: Download complete 16:41:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:41:58 Removing intermediate container 8f3518d0d9f7 16:41:58 ---> af932ab1294c 16:41:58 Step 12/22 : FROM alpine:3.12 16:41:58 3.12: Pulling from library/alpine 16:41:58 801bfaa63ef2: Pulling fs layer 16:41:59 801bfaa63ef2: Verifying Checksum 16:41:59 801bfaa63ef2: Download complete 16:41:59 801bfaa63ef2: Pull complete 16:41:59 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:41:59 Status: Downloaded newer image for alpine:3.12 16:41:59 ---> 389fef711851 16:41:59 Step 13/22 : ENV APP_PORT=49990 16:41:59 ---> Running in 328f618e772f 16:41:59 Removing intermediate container 328f618e772f 16:41:59 ---> 2c3c2f1f9214 16:41:59 Step 14/22 : EXPOSE $APP_PORT 16:42:00 ---> Running in 173fca36c36a 16:42:00 Removing intermediate container 173fca36c36a 16:42:00 ---> 9c40fa8d97a0 16:42:00 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 16:42:00 ---> 35c7ba1057e3 16:42:00 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 16:42:00 ---> 2efd0659f4f5 16:42:00 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 16:42:01 ---> abccb17e13fc 16:42:01 Step 18/22 : ENTRYPOINT ["/device-virtual"] 16:42:01 ---> Running in 080de8b44dda 16:42:01 Removing intermediate container 080de8b44dda 16:42:01 ---> 35fb879bf991 16:42:01 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:42:01 ---> Running in 98162ddb9f43 16:42:01 Removing intermediate container 98162ddb9f43 16:42:01 ---> ca4552ea6d71 16:42:01 Step 20/22 : LABEL arch=amd64 16:42:01 ---> Running in 2a954deb030c 16:42:01 Removing intermediate container 2a954deb030c 16:42:01 ---> f15ae3530bd4 16:42:01 Step 21/22 : LABEL git_sha=6351328c949a469bd22588a888be6a21996686ca 16:42:02 00ac8860ef70: Pull complete 16:42:02 ---> Running in 1a9cb742c29d 16:42:02 Removing intermediate container 1a9cb742c29d 16:42:02 ---> 669b23a52fbe 16:42:02 Step 22/22 : LABEL version=0.0.0 16:42:02 ---> Running in 9f488ff60363 16:42:02 Removing intermediate container 9f488ff60363 16:42:02 ---> 7db198eee16a 16:42:02 [Warning] One or more build-args [ARCH] were not consumed 16:42:02 Successfully built 7db198eee16a 16:42:02 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 16:42:02 63d7cb157983: Pull complete Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 16:42:03 b116817d02f9: Pull complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:42:07 745a02a5169b: Pull complete 16:42:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:42:07 ---> b7e6874047d6 16:42:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:42:10 ---> Running in 595be6cd95e2 16:42:10 Removing intermediate container 595be6cd95e2 16:42:10 ---> 5db5ffb5c13b 16:42:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:42:10 ---> Running in 3123233a6b35 16:42:12 Removing intermediate container 3123233a6b35 16:42:12 ---> 29aab0913896 16:42:12 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:42:12 ---> Running in d78b55f4a16e 16:42:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:42:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:42:14 (1/14) Installing libmagic (5.38-r0) 16:42:15 (2/14) Installing file (5.38-r0) 16:42:15 (3/14) Installing libc-dev (0.7.2-r3) 16:42:15 (4/14) Installing g++ (9.3.0-r2) 16:42:21 (5/14) Installing fortify-headers (1.1-r0) 16:42:21 (6/14) Installing patch (2.7.6-r6) 16:42:21 (7/14) Installing build-base (0.5-r2) 16:42:21 (8/14) Installing openssh-keygen (8.3_p1-r1) 16:42:21 (9/14) Installing libedit (20191231.3.1-r0) 16:42:21 (10/14) Installing openssh-client (8.3_p1-r1) 16:42:21 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 16:42:21 (12/14) Installing openssh-server-common (8.3_p1-r1) 16:42:22 (13/14) Installing openssh-server (8.3_p1-r1) 16:42:22 (14/14) Installing openssh (8.3_p1-r1) 16:42:22 Executing busybox-1.31.1-r19.trigger 16:42:22 OK: 221 MiB in 53 packages 16:42:26 Removing intermediate container d78b55f4a16e 16:42:26 ---> 18a4f1c920bf 16:42:26 Step 6/8 : WORKDIR /device-virtual-go 16:42:26 ---> Running in c51ca634f393 16:42:26 Removing intermediate container c51ca634f393 16:42:26 ---> db1bd64dc802 16:42:26 Step 7/8 : COPY . . 16:42:27 ---> fdbd203fd35b 16:42:27 Step 8/8 : RUN go mod download 16:42:27 ---> Running in 6dfde5fcbb5c 16:42:49 Removing intermediate container 6dfde5fcbb5c 16:42:49 ---> fb8bca12396d 16:42:49 Successfully built fb8bca12396d 16:42:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:42:50 + docker inspect -f . ci-base-image-arm64 16:42:50 . [Pipeline] withDockerContainer 16:42:50 prd-ubuntu18.04-docker-arm64-4c-16g-18197 does not seem to be running inside a container 16:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:42:52 $ docker top 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:53 + go version 16:42:53 go version go1.15.5 linux/arm64 [Pipeline] } 16:42:53 $ docker stop --time=1 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e 16:42:55 $ docker rm -f 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:42:56 + docker inspect -f . ci-base-image-arm64 16:42:56 . [Pipeline] withDockerContainer 16:42:56 prd-ubuntu18.04-docker-arm64-4c-16g-18197 does not seem to be running inside a container 16:42:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:42:58 $ docker top ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:59 + make test 16:42:59 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:43:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:43:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:43:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.504s coverage: 64.4% of statements 16:43:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:43:54 gofmt -l . 16:43:54 [ "`gofmt -l .`" = "" ] 16:43:54 ./bin/test-attribution-txt.sh 16:43:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:43:55 $ docker stop --time=1 ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 16:43:57 $ docker rm -f ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 [Pipeline] // withDockerContainer [Pipeline] sh 16:43:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:43:58 Warning: overwriting stash ‘coverage-report’ 16:43:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:01 + ls -al . 16:44:01 total 148 16:44:01 drwxrwxr-x 7 jenkins jenkins 4096 Jan 4 16:43 . 16:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:41 .. 16:44:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:41 .git 16:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:41 .github 16:44:01 -rw-rw-r-- 1 jenkins jenkins 258 Jan 4 16:41 .gitignore 16:44:01 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 4 16:41 Attribution.txt 16:44:01 -rw-rw-r-- 1 jenkins jenkins 1851 Jan 4 16:41 Dockerfile 16:44:01 -rw-rw-r-- 1 jenkins jenkins 961 Jan 4 16:41 Dockerfile.build 16:44:01 -rw-rw-r-- 1 jenkins jenkins 660 Jan 4 16:41 Jenkinsfile 16:44:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:41 LICENSE 16:44:01 -rw-rw-r-- 1 jenkins jenkins 873 Jan 4 16:41 Makefile 16:44:01 -rw-rw-r-- 1 jenkins jenkins 918 Jan 4 16:41 README.md 16:44:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:37 VERSION 16:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:41 bin 16:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:41 cmd 16:44:01 -rw-r--r-- 1 jenkins jenkins 47242 Jan 4 16:43 coverage.out 16:44:01 -rw-r--r-- 1 jenkins jenkins 863 Jan 4 16:43 go.mod 16:44:01 -rw-r--r-- 1 jenkins jenkins 16360 Jan 4 16:43 go.sum 16:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:41 internal 16:44:01 -rw-rw-r-- 1 jenkins jenkins 235 Jan 4 16:41 version.go [Pipeline] isUnix [Pipeline] sh 16:44:01 + 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=6351328c949a469bd22588a888be6a21996686ca --label arch=arm64 --label version=0.0.0 . 16:44:01 Sending build context to Docker daemon 552.4kB 16:44:01 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 16:44:01 Step 2/22 : FROM ${BASE} AS builder 16:44:01 ---> fb8bca12396d 16:44:01 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 16:44:02 ---> Running in 6405c7b5947a 16:44:02 Removing intermediate container 6405c7b5947a 16:44:02 ---> 73e74bff4f13 16:44:02 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 16:44:02 ---> Running in e2e7cf49a432 16:44:03 Removing intermediate container e2e7cf49a432 16:44:03 ---> 35fb4857949b 16:44:03 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 16:44:03 ---> Running in bcbd6e13eeed 16:44:03 Removing intermediate container bcbd6e13eeed 16:44:03 ---> 92336144c1ad 16:44:03 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:03 ---> Running in 625c88b45fae 16:44:05 Removing intermediate container 625c88b45fae 16:44:05 ---> 66f384d0fbb8 16:44:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:44:05 ---> Running in fa34c881509f 16:44:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:44:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:44:08 OK: 221 MiB in 53 packages 16:44:09 Removing intermediate container fa34c881509f 16:44:09 ---> b811595c2a1a 16:44:09 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 16:44:09 ---> Running in 21d4d05da803 16:44:10 Removing intermediate container 21d4d05da803 16:44:10 ---> 569d9f307e5f 16:44:10 Step 9/22 : COPY . . 16:44:11 ---> c7e096e3a940 16:44:11 Step 10/22 : ARG MAKE='make build' 16:44:11 ---> Running in bf6d41887781 16:44:11 Removing intermediate container bf6d41887781 16:44:11 ---> c73b318f192a 16:44:11 Step 11/22 : RUN $MAKE 16:44:11 ---> Running in f748be6462ce 16:44:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 16:44:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:44:53 Removing intermediate container f748be6462ce 16:44:53 ---> ceb265bcfd9d 16:44:53 Step 12/22 : FROM alpine:3.12 16:44:53 3.12: Pulling from library/alpine 16:44:53 159e5727ea61: Pulling fs layer 16:44:53 159e5727ea61: Verifying Checksum 16:44:53 159e5727ea61: Download complete 16:44:53 159e5727ea61: Pull complete 16:44:53 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:44:53 Status: Downloaded newer image for alpine:3.12 16:44:53 ---> afeebe901d6b 16:44:53 Step 13/22 : ENV APP_PORT=49990 16:44:54 ---> Running in 2d349c8419a0 16:44:54 Removing intermediate container 2d349c8419a0 16:44:54 ---> d86677b79de5 16:44:54 Step 14/22 : EXPOSE $APP_PORT 16:44:54 ---> Running in 1993faa4f16f 16:44:55 Removing intermediate container 1993faa4f16f 16:44:55 ---> 792cd4b438f9 16:44:55 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 16:44:57 ---> 5de22a6ce817 16:44:57 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 16:44:57 ---> f3ed1ca811bc 16:44:57 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 16:44:58 ---> 7bb55b427e75 16:44:58 Step 18/22 : ENTRYPOINT ["/device-virtual"] 16:44:58 ---> Running in 4993d6a2efa4 16:44:58 Removing intermediate container 4993d6a2efa4 16:44:58 ---> 5edbd040acfb 16:44:58 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:44:58 ---> Running in 0a1d8f838f91 16:44:59 Removing intermediate container 0a1d8f838f91 16:44:59 ---> 8c23b6c98cd8 16:44:59 Step 20/22 : LABEL arch=arm64 16:44:59 ---> Running in 1ad9e4258386 16:45:00 Removing intermediate container 1ad9e4258386 16:45:00 ---> 6775a2d4c3e8 16:45:00 Step 21/22 : LABEL git_sha=6351328c949a469bd22588a888be6a21996686ca 16:45:00 ---> Running in 6703eb6a8e3a 16:45:00 Removing intermediate container 6703eb6a8e3a 16:45:00 ---> 9c3ebebe540f 16:45:00 Step 22/22 : LABEL version=0.0.0 16:45:00 ---> Running in 1f06f42e908e 16:45:00 Removing intermediate container 1f06f42e908e 16:45:00 ---> 9e5f43ae4b3c 16:45:00 [Warning] One or more build-args [ARCH] were not consumed 16:45:01 Successfully built 9e5f43ae4b3c 16:45:01 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 16:45:03 provisioning config files... 16:45:03 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config5980696230131606379tmp [Pipeline] { [Pipeline] sh 16:45:03 + set +x 16:45:03 + curl -s https://codecov.io/bash 16:45:03 + bash -s -- 16:45:03 16:45:03 _____ _ 16:45:03 / ____| | | 16:45:03 | | ___ __| | ___ ___ _____ __ 16:45:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:45:03 | |___| (_) | (_| | __/ (_| (_) \ V / 16:45:03 \_____\___/ \__,_|\___|\___\___/ \_/ 16:45:03 Bash-20201231-23d4836 16:45:03 16:45:03 16:45:03 ==> git version 2.24.3 found 16:45:03 ==> 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 16:45:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:45:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:45:03 ==> Jenkins CI detected. 16:45:03 project root: . 16:45:03 --> token set from env 16:45:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:45:03 ==> Running gcov in . (disable via -X gcov) 16:45:03 ==> Python coveragepy not found 16:45:03 ==> Searching for coverage reports in: 16:45:03 + . 16:45:03 -> Found 1 reports 16:45:03 ==> Detecting git/mercurial file structure 16:45:03 ==> Reading reports 16:45:04 + ./coverage.out bytes=47242 16:45:04 ==> Appending adjustments 16:45:04 https://docs.codecov.io/docs/fixing-reports 16:45:04 + Found adjustments 16:45:04 ==> Gzipping contents 16:45:04 8.0K /tmp/codecov.Gamz5z.gz 16:45:04 ==> Uploading reports 16:45:04 url: https://codecov.io 16:45:04 query: branch=PR-158&commit=6351328c949a469bd22588a888be6a21996686ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 16:45:04 -> Pinging Codecov 16:45:04 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-158&commit=6351328c949a469bd22588a888be6a21996686ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 16:45:04 -> Uploading to 16:45:04 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/5E52B4B073DB2E39498172D8E973AA87/6351328c949a469bd22588a888be6a21996686ca/427887a8-03e1-4b89-8553-f72c193de2fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T164504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c1855842690428262ff8c6f9c25dad7f1d30e3c0c228e42f272e29d8e3af704 16:45:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:04 Dload Upload Total Spent Left Speed 16:45:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5807 0 0 100 5807 0 12924 --:--:-- --:--:-- --:--:-- 12904 16:45:04 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6351328c949a469bd22588a888be6a21996686ca [Pipeline] } 16:45:04 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 16:45:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:45:08 ---> package-listing.sh 16:45:08 ++ facter osfamily 16:45:08 ++ tr '[:upper:]' '[:lower:]' 16:45:08 + OS_FAMILY=redhat 16:45:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-158 16:45:08 + START_PACKAGES=/tmp/packages_start.txt 16:45:08 + END_PACKAGES=/tmp/packages_end.txt 16:45:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:45:08 + PACKAGES=/tmp/packages_start.txt 16:45:08 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 16:45:08 + PACKAGES=/tmp/packages_end.txt 16:45:08 + case "${OS_FAMILY}" in 16:45:08 + rpm -qa 16:45:08 + sort 16:45:13 + '[' -f /tmp/packages_start.txt ']' 16:45:13 + '[' -f /tmp/packages_end.txt ']' 16:45:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:45:13 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 16:45:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-158/archives/ 16:45:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-158/archives/ [Pipeline] echo 16:45:13 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:45:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:14 16:45:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:45:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:14 alpine: Pulling from edgex-lftools-log-publisher 16:45:14 df20fa9351a1: Pulling fs layer 16:45:14 36b3adc4ff6f: Pulling fs layer 16:45:14 8ad3a11d3b57: Pulling fs layer 16:45:14 46f8f816bc3b: Pulling fs layer 16:45:14 93b61091891f: Pulling fs layer 16:45:14 93b9cdb0e59b: Pulling fs layer 16:45:14 5e14af77c1be: Pulling fs layer 16:45:14 01666e4c0597: Pulling fs layer 16:45:14 aa168da1d23b: Pulling fs layer 16:45:14 5e14af77c1be: Waiting 16:45:14 01666e4c0597: Waiting 16:45:14 aa168da1d23b: Waiting 16:45:14 46f8f816bc3b: Waiting 16:45:14 93b61091891f: Waiting 16:45:14 93b9cdb0e59b: Waiting 16:45:14 36b3adc4ff6f: Verifying Checksum 16:45:14 36b3adc4ff6f: Download complete 16:45:14 46f8f816bc3b: Verifying Checksum 16:45:14 46f8f816bc3b: Download complete 16:45:14 df20fa9351a1: Download complete 16:45:14 93b9cdb0e59b: Verifying Checksum 16:45:14 93b9cdb0e59b: Download complete 16:45:14 5e14af77c1be: Verifying Checksum 16:45:14 5e14af77c1be: Download complete 16:45:14 01666e4c0597: Download complete 16:45:14 93b61091891f: Download complete 16:45:15 df20fa9351a1: Pull complete 16:45:15 8ad3a11d3b57: Verifying Checksum 16:45:15 8ad3a11d3b57: Download complete 16:45:15 36b3adc4ff6f: Pull complete 16:45:16 8ad3a11d3b57: Pull complete 16:45:16 46f8f816bc3b: Pull complete 16:45:16 93b61091891f: Pull complete 16:45:16 93b9cdb0e59b: Pull complete 16:45:16 5e14af77c1be: Pull complete 16:45:17 aa168da1d23b: Verifying Checksum 16:45:17 aa168da1d23b: Download complete 16:45:17 01666e4c0597: Pull complete 16:45:24 aa168da1d23b: Pull complete 16:45:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:45:25 prd-centos7-docker-4c-2g-18194 does not seem to be running inside a container 16:45:25 $ 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-158/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-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:45:28 $ docker top ab2398c1329192d0d239dc1d614950e35a1ff4a6d253ae7afdc65a4cb305bf35 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:29 + touch /tmp/pre-build-complete [Pipeline] sh 16:45:29 + mkdir -p /var/log/sa [Pipeline] sh 16:45:29 + ls /var/log/sa-host 16:45:29 + sadf -c /var/log/sa-host/sa04 16:45:29 file_magic: OK 16:45:29 HZ: Using current value: 100 16:45:29 file_header: OK 16:45:29 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 16:45:29 Statistics: 16:45:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:45:29 File successfully converted to sysstat format version 12.2.1 16:45:29 + sadf -c /var/log/sa-host/sa23 16:45:29 file_magic: OK 16:45:29 HZ: Using current value: 100 16:45:29 file_header: OK 16:45:29 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 16:45:29 Statistics: 16:45:29 Hnuu...uuuununununu... 16:45:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:29 provisioning config files... 16:45:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2421135130369696051tmp [Pipeline] { [Pipeline] echo 16:45:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:45:30 ---> create-netrc.sh [Pipeline] } 16:45:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:45:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:45:30 ---> python-tools-install.sh [Pipeline] echo 16:45:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:45:31 ---> sudo-logs.sh 16:45:31 Archiving 'sudo' log.. [Pipeline] echo 16:45:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:45:31 ---> job-cost.sh 16:45:31 lf-activate-venv: SKIPPING 16:45:31 INFO: No Stack... 16:45:32 INFO: Retrieving Pricing Info for: v1-standard-2 16:45:32 INFO: Archiving Costs [Pipeline] echo 16:45:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:45:33 ---> logs-deploy.sh 16:45:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-158/3 16:45:33 INFO: archiving workspace using pattern(s): 16:45:35 Archives upload complete. 16:45:35 INFO: archiving logs to Nexus 16:45:36 ---> uname -a: 16:45:36 Linux prd-centos7-docker-4c-2g-18194.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:45:36 16:45:36 16:45:36 ---> lscpu: 16:45:36 Architecture: x86_64 16:45:36 CPU op-mode(s): 32-bit, 64-bit 16:45:36 Byte Order: Little Endian 16:45:36 Address sizes: 40 bits physical, 48 bits virtual 16:45:36 CPU(s): 4 16:45:36 On-line CPU(s) list: 0-3 16:45:36 Thread(s) per core: 1 16:45:36 Core(s) per socket: 1 16:45:36 Socket(s): 4 16:45:36 NUMA node(s): 1 16:45:36 Vendor ID: GenuineIntel 16:45:36 CPU family: 6 16:45:36 Model: 44 16:45:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:45:36 Stepping: 1 16:45:36 CPU MHz: 2933.442 16:45:36 BogoMIPS: 5866.88 16:45:36 Virtualization: VT-x 16:45:36 Hypervisor vendor: KVM 16:45:36 Virtualization type: full 16:45:36 L1d cache: 128 KiB 16:45:36 L1i cache: 128 KiB 16:45:36 L2 cache: 16 MiB 16:45:36 L3 cache: 64 MiB 16:45:36 NUMA node0 CPU(s): 0-3 16:45:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:45:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:45:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:45:36 Vulnerability Meltdown: Mitigation; PTI 16:45:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:45:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:45:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:45:36 Vulnerability Srbds: Not affected 16:45:36 Vulnerability Tsx async abort: Not affected 16:45:36 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 16:45:36 16:45:36 16:45:36 ---> nproc: 16:45:36 4 16:45:36 16:45:36 16:45:36 ---> df -h: 16:45:36 Filesystem Size Used Available Use% Mounted on 16:45:36 overlay 50.0G 7.3G 42.7G 15% / 16:45:36 tmpfs 64.0M 0 64.0M 0% /dev 16:45:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:45:36 shm 64.0M 0 64.0M 0% /dev/shm 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158@tmp 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:45:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:45:36 16:45:36 16:45:36 ---> free -m: 16:45:36 total used free shared buff/cache available 16:45:36 Mem: 1837 719 115 0 1002 1013 16:45:36 Swap: 1023 1 1022 16:45:36 16:45:36 16:45:36 ---> ip addr: 16:45:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:45:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:45:36 inet 127.0.0.1/8 scope host lo 16:45:36 valid_lft forever preferred_lft forever 16:45:36 inet6 ::1/128 scope host 16:45:36 valid_lft forever preferred_lft forever 16:45:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:45:36 link/ether fa:16:3e:ae:37:06 brd ff:ff:ff:ff:ff:ff 16:45:36 inet 10.30.123.151/23 brd 10.30.123.255 scope global dynamic eth0 16:45:36 valid_lft 85879sec preferred_lft 85879sec 16:45:36 inet6 fe80::f816:3eff:feae:3706/64 scope link 16:45:36 valid_lft forever preferred_lft forever 16:45:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:45:36 link/ether 02:42:22:f9:5c:0e brd ff:ff:ff:ff:ff:ff 16:45:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:45:36 valid_lft forever preferred_lft forever 16:45:36 inet6 fe80::42:22ff:fef9:5c0e/64 scope link 16:45:36 valid_lft forever preferred_lft forever 16:45:36 16:45:36 16:45:36 ---> sar -b -r -n DEV: 16:45:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 16:45:36 16:45:36 16:36:42 LINUX RESTART (4 CPU) 16:45:36 16:45:36 16:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:45:36 16:38:01 171.46 85.01 86.45 0.00 9325.64 39117.16 0.00 16:45:36 16:39:01 2.51 0.00 2.51 0.00 0.00 54.40 0.00 16:45:36 16:40:01 0.45 0.00 0.45 0.00 0.00 6.99 0.00 16:45:36 16:41:01 0.22 0.00 0.22 0.00 0.00 3.23 0.00 16:45:36 16:42:01 0.17 0.00 0.17 0.00 0.00 1.88 0.00 16:45:36 16:43:01 0.32 0.00 0.32 0.00 0.00 5.30 0.00 16:45:36 16:44:01 0.27 0.00 0.27 0.00 0.00 2.86 0.00 16:45:36 16:45:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 16:45:36 Average: 21.97 10.63 11.34 0.00 1166.41 4902.38 0.00 16:45:36 16:45:36 16:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:45:36 16:38:01 146820 0 616808 32.78 2620 1115296 1111212 37.92 422680 1113308 132 16:45:36 16:39:01 152856 0 610652 32.45 2620 1115416 1083668 36.98 424132 1106804 20 16:45:36 16:40:01 150900 0 612604 32.56 2620 1115420 1083716 36.99 421820 1111196 20 16:45:36 16:41:01 151756 0 611744 32.51 2620 1115424 1083596 36.98 440752 1091392 12 16:45:36 16:42:01 151140 0 612356 32.55 2620 1115428 1083680 36.98 439776 1092924 8 16:45:36 16:43:01 146288 0 617204 32.80 2620 1115432 1083736 36.99 458520 1079288 8 16:45:36 16:44:01 146064 0 617424 32.81 2620 1115436 1083764 36.99 458496 1079284 8 16:45:36 16:45:01 146344 0 617140 32.80 2620 1115440 1083828 36.99 458516 1079284 8 16:45:36 Average: 149021 0 614492 32.66 2620 1115412 1087150 37.10 440586 1094185 27 16:45:36 16:45:36 16:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:45:36 16:38:01 eth0 532.67 340.09 1056.98 102.04 0.00 0.00 0.00 0.00 16:45:36 16:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:38:01 docker0 1.70 1.56 0.37 3.56 0.00 0.00 0.00 0.00 16:45:36 16:39:01 eth0 1.08 0.33 0.33 0.17 0.00 0.00 0.00 0.00 16:45:36 16:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:40:01 eth0 1.25 0.42 0.49 0.24 0.00 0.00 0.00 0.00 16:45:36 16:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:41:01 eth0 0.87 0.08 0.07 0.01 0.00 0.00 0.00 0.00 16:45:36 16:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:42:01 eth0 1.65 0.28 0.37 0.20 0.00 0.00 0.00 0.00 16:45:36 16:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:43:01 eth0 2.73 0.90 1.04 0.63 0.00 0.00 0.00 0.00 16:45:36 16:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:44:01 eth0 2.18 0.58 0.64 0.43 0.00 0.00 0.00 0.00 16:45:36 16:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:45:01 eth0 2.63 0.60 0.69 0.40 0.00 0.00 0.00 0.00 16:45:36 16:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 16:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 Average: eth0 68.17 42.94 132.66 13.02 0.00 0.00 0.00 0.00 16:45:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:36 Average: docker0 0.21 0.20 0.05 0.44 0.00 0.00 0.00 0.00 16:45:36 16:45:36 16:45:36 ---> sar -P ALL: 16:45:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 16:45:36 16:45:36 16:36:42 LINUX RESTART (4 CPU) 16:45:36 16:45:36 16:37:01 CPU %user %nice %system %iowait %steal %idle 16:45:36 16:38:01 all 14.57 0.00 8.70 6.76 0.03 69.94 16:45:36 16:38:01 0 13.02 0.00 8.88 6.44 0.03 71.62 16:45:36 16:38:01 1 15.62 0.00 8.72 9.23 0.03 66.40 16:45:36 16:38:01 2 15.19 0.00 8.80 6.78 0.02 69.21 16:45:36 16:38:01 3 14.43 0.00 8.42 4.57 0.02 72.56 16:45:36 16:39:01 all 0.17 0.00 0.07 0.00 0.01 99.75 16:45:36 16:39:01 0 0.10 0.00 0.10 0.00 0.00 99.80 16:45:36 16:39:01 1 0.05 0.00 0.03 0.00 0.02 99.90 16:45:36 16:39:01 2 0.50 0.00 0.10 0.00 0.02 99.38 16:45:36 16:39:01 3 0.05 0.00 0.05 0.00 0.00 99.90 16:45:36 16:40:01 all 0.19 0.00 0.08 0.00 0.00 99.72 16:45:36 16:40:01 0 0.18 0.00 0.05 0.00 0.00 99.77 16:45:36 16:40:01 1 0.05 0.00 0.08 0.00 0.00 99.87 16:45:36 16:40:01 2 0.45 0.00 0.08 0.00 0.00 99.47 16:45:36 16:40:01 3 0.08 0.00 0.12 0.00 0.00 99.80 16:45:36 16:41:01 all 0.15 0.00 0.05 0.00 0.00 99.79 16:45:36 16:41:01 0 0.02 0.00 0.10 0.00 0.00 99.88 16:45:36 16:41:01 1 0.50 0.00 0.02 0.00 0.00 99.48 16:45:36 16:41:01 2 0.05 0.00 0.05 0.00 0.00 99.90 16:45:36 16:41:01 3 0.03 0.00 0.05 0.00 0.02 99.90 16:45:36 16:42:01 all 0.11 0.00 0.04 0.00 0.00 99.85 16:45:36 16:42:01 0 0.03 0.00 0.03 0.00 0.00 99.93 16:45:36 16:42:01 1 0.32 0.00 0.07 0.00 0.00 99.62 16:45:36 16:42:01 2 0.03 0.00 0.03 0.00 0.00 99.93 16:45:36 16:42:01 3 0.05 0.00 0.02 0.00 0.00 99.93 16:45:36 16:43:01 all 0.17 0.00 0.06 0.00 0.00 99.77 16:45:36 16:43:01 0 0.03 0.00 0.10 0.00 0.00 99.87 16:45:36 16:43:01 1 0.52 0.00 0.05 0.00 0.00 99.43 16:45:36 16:43:01 2 0.05 0.00 0.05 0.00 0.00 99.90 16:45:36 16:43:01 3 0.07 0.00 0.03 0.00 0.00 99.90 16:45:36 16:44:01 all 0.17 0.00 0.04 0.00 0.00 99.79 16:45:36 16:44:01 0 0.05 0.00 0.05 0.00 0.00 99.90 16:45:36 16:44:01 1 0.55 0.00 0.03 0.00 0.02 99.40 16:45:36 16:44:01 2 0.05 0.00 0.05 0.00 0.00 99.90 16:45:36 16:44:01 3 0.02 0.00 0.02 0.00 0.00 99.97 16:45:36 16:45:01 all 0.13 0.00 0.05 0.00 0.00 99.82 16:45:36 16:45:01 0 0.03 0.00 0.02 0.00 0.00 99.95 16:45:36 16:45:01 1 0.15 0.00 0.07 0.00 0.00 99.78 16:45:36 16:45:01 2 0.32 0.00 0.08 0.00 0.00 99.60 16:45:36 16:45:01 3 0.02 0.00 0.02 0.00 0.00 99.97 16:45:36 Average: all 1.93 0.00 1.12 0.83 0.01 96.12 16:45:36 Average: 0 1.66 0.00 1.15 0.79 0.00 96.40 16:45:36 Average: 1 2.20 0.00 1.12 1.14 0.01 95.54 16:45:36 Average: 2 2.05 0.00 1.14 0.83 0.00 95.98 16:45:36 Average: 3 1.81 0.00 1.07 0.56 0.00 96.55 16:45:36 16:45:36 16:45:36