Pull request #155 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 601611d900917895ae2002fab268ae530b0db85a+d98ab64770a8aa8499d3ed372f913abb779305df (098ea9103957dccc24de8dd4406c25c8dca7a1ab) 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-17028 in /w/workspace/foundry_device-virtual-go_PR-155 [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-155 # 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/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a Merge succeeded, producing 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 Checking out Revision 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 (PR-155) > git config core.sparsecheckout # timeout=10 > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # 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 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 # timeout=10 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:35:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:35:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:35:15 ========================================================= 06:35:15 EdgeX Global Pipelines Version Info 06:35:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:35:16 ------------------- 06:35:16 stable info: 06:35:16 ------------------- 06:35:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:35:16 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:35:16 Message: update stable to v1.0.173 06:35:17 ------------------- 06:35:17 experimental info: 06:35:17 ------------------- 06:35:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:35:17 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:35:17 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:35:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:35:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:35:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:35:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 754cc5e [Pipeline] echo 06:35:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:35:22 provisioning config files... 06:35:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config996509889717297223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:23 ---> docker-login.sh 06:35:23 nexus3.edgexfoundry.org:10001 06:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:23 Configure a credential helper to remove this warning. See 06:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:23 06:35:23 Login Succeeded 06:35:23 nexus3.edgexfoundry.org:10002 06:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:23 Configure a credential helper to remove this warning. See 06:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:23 06:35:23 Login Succeeded 06:35:23 nexus3.edgexfoundry.org:10003 06:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:23 Configure a credential helper to remove this warning. See 06:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:23 06:35:23 Login Succeeded 06:35:23 nexus3.edgexfoundry.org:10004 06:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:24 Configure a credential helper to remove this warning. See 06:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:24 06:35:24 Login Succeeded 06:35:24 docker.io 06:35:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:24 Configure a credential helper to remove this warning. See 06:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:24 06:35:24 Login Succeeded 06:35:24 ---> docker-login.sh ends [Pipeline] } 06:35:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:25 + git log --format=format:%s -1 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] echo 06:35:25 GIT_COMMIT: 754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95, Commit Message: Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD [Pipeline] echo 06:35:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:35:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:35:26 06:35:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:35:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:35:26 latest: Pulling from edgex-devops/git-semver 06:35:26 31603596830f: Pulling fs layer 06:35:26 2a8b12db71e7: Pulling fs layer 06:35:26 6ca5941a6612: Pulling fs layer 06:35:26 ecc8261a40a4: Pulling fs layer 06:35:26 ecc8261a40a4: Waiting 06:35:26 2a8b12db71e7: Verifying Checksum 06:35:26 2a8b12db71e7: Download complete 06:35:26 31603596830f: Verifying Checksum 06:35:26 31603596830f: Download complete 06:35:26 6ca5941a6612: Verifying Checksum 06:35:26 6ca5941a6612: Download complete 06:35:26 ecc8261a40a4: Verifying Checksum 06:35:26 ecc8261a40a4: Download complete 06:35:26 31603596830f: Pull complete 06:35:26 2a8b12db71e7: Pull complete 06:35:27 6ca5941a6612: Pull complete 06:35:28 ecc8261a40a4: Pull complete 06:35:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:35:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:35:28 prd-centos7-docker-4c-2g-17028 does not seem to be running inside a container 06:35:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-155 -v /w/workspace/foundry_device-virtual-go_PR-155:/w/workspace/foundry_device-virtual-go_PR-155:rw,z -v /w/workspace/foundry_device-virtual-go_PR-155@tmp:/w/workspace/foundry_device-virtual-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:35:30 $ docker top 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:35:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:30 [ssh-agent] Looking for ssh-agent implementation... 06:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:31 $ docker exec 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent 06:35:31 SSH_AUTH_SOCK=/tmp/ssh-JcaeIYXDKEct/agent.12 06:35:31 SSH_AGENT_PID=18 06:35:31 Running ssh-add (command line suppressed) 06:35:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_4314808071891643946.key (/w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_4314808071891643946.key) 06:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:31 + git tag --points-at HEAD [Pipeline] } 06:35:31 $ docker exec --env ******** --env ******** 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent -k 06:35:32 unset SSH_AUTH_SOCK; 06:35:32 unset SSH_AGENT_PID; 06:35:32 echo Agent pid 18 killed; 06:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:35:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:32 [ssh-agent] Looking for ssh-agent implementation... 06:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:32 $ docker exec 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent 06:35:32 SSH_AUTH_SOCK=/tmp/ssh-rzSZpIxX8pwD/agent.48 06:35:32 SSH_AGENT_PID=54 06:35:32 Running ssh-add (command line suppressed) 06:35:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_3405957788711139744.key (/w/workspace/foundry_device-virtual-go_PR-155@tmp/private_key_3405957788711139744.key) 06:35:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:33 + git semver init 06:35:33 # -> Open(): unable to determine branch for HEAD 06:35:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-155/.git 06:35:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-155 06:35:33 # $SEMVER_REMOTE_NAME = origin 06:35:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:35:33 # $SEMVER_USER_NAME = edgex-jenkins 06:35:33 # $SEMVER_BRANCH = PR-155 06:35:33 # $SEMVER_TEMP = /tmp/semver-403356823 06:35:33 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:35:33 # '/tmp/semver-403356823' -> '/w/workspace/foundry_device-virtual-go_PR-155/.semver' 06:35:33 # -> Force: false 06:35:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-155/.semver [Pipeline] } 06:35:33 $ docker exec --env ******** --env ******** 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 ssh-agent -k 06:35:33 unset SSH_AUTH_SOCK; 06:35:33 unset SSH_AGENT_PID; 06:35:33 echo Agent pid 54 killed; 06:35:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:34 + git semver [Pipeline] } 06:35:34 $ docker stop --time=1 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 06:35:35 $ docker rm -f 3243201bad2787039d981673172c176a75346317aa6db4c83301418b2ad63d10 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:35:36 Stashed 1 file(s) [Pipeline] echo 06:35:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:35:52 Still waiting to schedule task 06:35:52 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17029’ is offline 06:35:52 Still waiting to schedule task 06:35:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:38:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17032 in /w/workspace/foundry_device-virtual-go_PR-155 [Pipeline] { [Pipeline] ws 06:38:38 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 06:38:43 using credential edgex-jenkins-ssh 06:38:43 Cloning the remote Git repository 06:38:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:38:43 > git init /w/workspace/device-virtual-go/2 # timeout=10 06:38:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:38:43 > git --version # timeout=10 06:38:43 > git --version # 'git version 2.17.1' 06:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:38:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:38:45 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a 06:38:45 Merge succeeded, producing f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 06:38:45 Checking out Revision f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 (PR-155) 06:38:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:38:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:38:45 > git config core.sparsecheckout # timeout=10 06:38:45 > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # timeout=10 06:38:45 > git remote # timeout=10 06:38:45 > git config --get remote.origin.url # timeout=10 06:38:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:45 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:38:45 > git rev-parse HEAD^{commit} # timeout=10 06:38:45 > git config core.sparsecheckout # timeout=10 06:38:45 > git checkout -f f0bc31c017fbedf4212707bb06a7f2d3b2d253f6 # timeout=10 06:38:49 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" 06:38:49 > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:38:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:38:52 + + true 06:38:52 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:38:55 provisioning config files... 06:38:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1607602038480529144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:55 ---> docker-login.sh 06:38:55 nexus3.edgexfoundry.org:10001 06:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:56 Configure a credential helper to remove this warning. See 06:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:56 06:38:56 Login Succeeded 06:38:56 nexus3.edgexfoundry.org:10002 06:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:57 Configure a credential helper to remove this warning. See 06:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:57 06:38:57 Login Succeeded 06:38:57 nexus3.edgexfoundry.org:10003 06:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:57 Configure a credential helper to remove this warning. See 06:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:57 06:38:57 Login Succeeded 06:38:57 nexus3.edgexfoundry.org:10004 06:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:58 Configure a credential helper to remove this warning. See 06:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:58 06:38:58 Login Succeeded 06:38:58 docker.io 06:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:58 Configure a credential helper to remove this warning. See 06:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:58 06:38:58 Login Succeeded 06:38:58 ---> docker-login.sh ends [Pipeline] } 06:38:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:38:59 ========================================================= 06:38:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:38:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:38:59 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:39:00 Sending build context to Docker daemon 481.8kB 06:39:00 Step 1/8 : ARG BASE=golang:1.15-alpine 06:39:00 Step 2/8 : FROM ${BASE} 06:39:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:39:00 5f621e34cdf4: Pulling fs layer 06:39:00 a4357932f1b6: Pulling fs layer 06:39:00 18c013af1878: Pulling fs layer 06:39:00 00ac8860ef70: Pulling fs layer 06:39:00 63d7cb157983: Pulling fs layer 06:39:00 b116817d02f9: Pulling fs layer 06:39:00 745a02a5169b: Pulling fs layer 06:39:00 63d7cb157983: Waiting 06:39:00 b116817d02f9: Waiting 06:39:00 745a02a5169b: Waiting 06:39:00 00ac8860ef70: Waiting 06:39:00 18c013af1878: Verifying Checksum 06:39:00 18c013af1878: Download complete 06:39:00 a4357932f1b6: Verifying Checksum 06:39:00 a4357932f1b6: Download complete 06:39:00 63d7cb157983: Verifying Checksum 06:39:00 63d7cb157983: Download complete 06:39:00 5f621e34cdf4: Verifying Checksum 06:39:00 5f621e34cdf4: Download complete 06:39:00 b116817d02f9: Verifying Checksum 06:39:00 b116817d02f9: Download complete 06:39:00 5f621e34cdf4: Pull complete 06:39:01 a4357932f1b6: Pull complete 06:39:01 18c013af1878: Pull complete 06:39:03 745a02a5169b: Verifying Checksum 06:39:03 745a02a5169b: Download complete 06:39:03 00ac8860ef70: Verifying Checksum 06:39:03 00ac8860ef70: Download complete 06:39:12 Running on prd-centos7-docker-4c-2g-17036 in /w/workspace/foundry_device-virtual-go_PR-155 [Pipeline] { [Pipeline] ws 06:39:12 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 06:39:14 00ac8860ef70: Pull complete 06:39:14 63d7cb157983: Pull complete 06:39:14 b116817d02f9: Pull complete 06:39:14 using credential edgex-jenkins-ssh 06:39:14 Cloning the remote Git repository 06:39:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:39:15 > git init /w/workspace/device-virtual-go/2 # timeout=10 06:39:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:39:15 > git --version # timeout=10 06:39:15 > git --version # 'git version 2.24.3' 06:39:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:16 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 601611d900917895ae2002fab268ae530b0db85a 06:39:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:39:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:39:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:39:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:16 > git config core.sparsecheckout # timeout=10 06:39:16 > git checkout -f 601611d900917895ae2002fab268ae530b0db85a # timeout=10 06:39:16 Merge succeeded, producing cba4f7d19a62331c7f9a946cd943f4a53f148b82 06:39:16 Checking out Revision cba4f7d19a62331c7f9a946cd943f4a53f148b82 (PR-155) 06:39:16 > git remote # timeout=10 06:39:16 > git config --get remote.origin.url # timeout=10 06:39:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:16 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:39:16 > git rev-parse HEAD^{commit} # timeout=10 06:39:16 > git config core.sparsecheckout # timeout=10 06:39:16 > git checkout -f cba4f7d19a62331c7f9a946cd943f4a53f148b82 # timeout=10 06:39:18 745a02a5169b: Pull complete 06:39:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:39:18 ---> b7e6874047d6 06:39:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:39:20 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" 06:39:20 > git rev-list --no-walk 601611d900917895ae2002fab268ae530b0db85a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:20 ---> Running in f2bf332a3f21 06:39:21 Removing intermediate container f2bf332a3f21 06:39:21 ---> bab08a3a59cc 06:39:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:21 ---> Running in 6f27b7b62e1a 06:39:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:39:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:39:21 + sudo service docker restart 06:39:21 + true 06:39:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:39:22 provisioning config files... 06:39:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1783475332956802571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:23 ---> docker-login.sh 06:39:23 nexus3.edgexfoundry.org:10001 06:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:23 Configure a credential helper to remove this warning. See 06:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:23 06:39:23 Login Succeeded 06:39:23 nexus3.edgexfoundry.org:10002 06:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:23 Configure a credential helper to remove this warning. See 06:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:23 06:39:23 Login Succeeded 06:39:23 nexus3.edgexfoundry.org:10003 06:39:23 Removing intermediate container 6f27b7b62e1a 06:39:23 ---> d935c2a04cf7 06:39:23 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:39:23 ---> Running in f7665f9be230 06:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:24 Configure a credential helper to remove this warning. See 06:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:24 06:39:24 Login Succeeded 06:39:24 nexus3.edgexfoundry.org:10004 06:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:24 Configure a credential helper to remove this warning. See 06:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:24 06:39:24 Login Succeeded 06:39:24 docker.io 06:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:24 Configure a credential helper to remove this warning. See 06:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:24 06:39:24 Login Succeeded 06:39:24 ---> docker-login.sh ends [Pipeline] } 06:39:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 06:39:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo 06:39:25 ========================================================= 06:39:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:39:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:39:25 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:39:25 Sending build context to Docker daemon 482.8kB 06:39:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:39:25 Step 2/8 : FROM ${BASE} 06:39:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:39:25 188c0c94c7c5: Pulling fs layer 06:39:25 0ef7d3d256c8: Pulling fs layer 06:39:25 de9db76c5a1d: Pulling fs layer 06:39:25 bca2f99d35d6: Pulling fs layer 06:39:25 93359f2a8cfa: Pulling fs layer 06:39:25 7c6f9722023f: Pulling fs layer 06:39:25 a35cf1a2eb13: Pulling fs layer 06:39:25 93359f2a8cfa: Waiting 06:39:25 7c6f9722023f: Waiting 06:39:25 a35cf1a2eb13: Waiting 06:39:25 bca2f99d35d6: Waiting 06:39:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:39:25 de9db76c5a1d: Verifying Checksum 06:39:25 0ef7d3d256c8: Verifying Checksum 06:39:25 0ef7d3d256c8: Download complete 06:39:25 93359f2a8cfa: Verifying Checksum 06:39:25 93359f2a8cfa: Download complete 06:39:25 188c0c94c7c5: Verifying Checksum 06:39:25 7c6f9722023f: Verifying Checksum 06:39:25 7c6f9722023f: Download complete 06:39:26 188c0c94c7c5: Pull complete 06:39:26 (1/14) Installing libmagic (5.38-r0) 06:39:26 0ef7d3d256c8: Pull complete 06:39:26 (2/14) Installing file (5.38-r0) 06:39:26 (3/14) Installing libc-dev (0.7.2-r3) 06:39:26 (4/14) Installing g++ (9.3.0-r2) 06:39:26 de9db76c5a1d: Pull complete 06:39:27 a35cf1a2eb13: Verifying Checksum 06:39:27 a35cf1a2eb13: Download complete 06:39:28 bca2f99d35d6: Verifying Checksum 06:39:28 bca2f99d35d6: Download complete 06:39:33 bca2f99d35d6: Pull complete 06:39:33 93359f2a8cfa: Pull complete 06:39:33 7c6f9722023f: Pull complete 06:39:38 (5/14) Installing fortify-headers (1.1-r0) 06:39:38 (6/14) Installing patch (2.7.6-r6) 06:39:38 (7/14) Installing build-base (0.5-r2) 06:39:38 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:39:38 (9/14) Installing libedit (20191231.3.1-r0) 06:39:38 (10/14) Installing openssh-client (8.3_p1-r1) 06:39:39 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:39:39 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:39:39 a35cf1a2eb13: Pull complete 06:39:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:39:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:39:39 ---> a62c8e92a672 06:39:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:39:39 ---> Running in 3ff117743f3e 06:39:39 Removing intermediate container 3ff117743f3e 06:39:39 ---> 6e0cbb86aefb 06:39:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:39 ---> Running in 4d59fdc21124 06:39:39 (13/14) Installing openssh-server (8.3_p1-r1) 06:39:39 (14/14) Installing openssh (8.3_p1-r1) 06:39:39 Executing busybox-1.31.1-r19.trigger 06:39:39 OK: 221 MiB in 53 packages 06:39:39 Removing intermediate container 4d59fdc21124 06:39:39 ---> 4e4652de517e 06:39:39 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:39:39 ---> Running in 2d3e5ac08fb5 06:39:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:41 (1/14) Installing libmagic (5.38-r0) 06:39:41 (2/14) Installing file (5.38-r0) 06:39:42 (3/14) Installing libc-dev (0.7.2-r3) 06:39:42 (4/14) Installing g++ (9.3.0-r2) 06:39:43 Removing intermediate container f7665f9be230 06:39:43 ---> 74facd12bef9 06:39:43 Step 6/8 : WORKDIR /device-virtual-go 06:39:43 ---> Running in b634922fca59 06:39:43 Removing intermediate container b634922fca59 06:39:43 ---> ad303e8784a6 06:39:43 Step 7/8 : COPY . . 06:39:44 ---> a5c5caf6edd9 06:39:44 Step 8/8 : RUN go mod download 06:39:44 ---> Running in fd2c3895d682 06:39:56 (5/14) Installing fortify-headers (1.1-r0) 06:39:56 (6/14) Installing patch (2.7.6-r6) 06:39:56 (7/14) Installing build-base (0.5-r2) 06:39:56 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:39:56 (9/14) Installing libedit (20191231.3.1-r0) 06:39:56 (10/14) Installing openssh-client (8.3_p1-r1) 06:39:57 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:39:57 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:39:57 (13/14) Installing openssh-server (8.3_p1-r1) 06:39:57 (14/14) Installing openssh (8.3_p1-r1) 06:39:57 Executing busybox-1.31.1-r19.trigger 06:39:57 OK: 237 MiB in 53 packages 06:40:00 Removing intermediate container 2d3e5ac08fb5 06:40:00 ---> 0c1b413d8d20 06:40:00 Step 6/8 : WORKDIR /device-virtual-go 06:40:00 ---> Running in 6bd41e5f07c4 06:40:00 Removing intermediate container 6bd41e5f07c4 06:40:00 ---> ba414a1b2766 06:40:00 Step 7/8 : COPY . . 06:40:01 ---> 9074d32118bb 06:40:01 Step 8/8 : RUN go mod download 06:40:01 ---> Running in 312c76969ebf 06:40:11 Removing intermediate container fd2c3895d682 06:40:11 ---> 81f1bde86514 06:40:11 Successfully built 81f1bde86514 06:40:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:40:12 + docker inspect -f . ci-base-image-arm64 06:40:12 . [Pipeline] withDockerContainer 06:40:12 prd-ubuntu18.04-docker-arm64-4c-16g-17032 does not seem to be running inside a container 06:40:12 $ 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 06:40:13 $ docker top 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:14 + go version 06:40:14 go version go1.15.5 linux/arm64 [Pipeline] } 06:40:14 $ docker stop --time=1 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 06:40:16 $ docker rm -f 72a8ae1bc18156d4e2fcf98231ce90064558ecafc9bd4c6bf70704ab322a8257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:17 + docker inspect -f . ci-base-image-arm64 06:40:17 . [Pipeline] withDockerContainer 06:40:18 prd-ubuntu18.04-docker-arm64-4c-16g-17032 does not seem to be running inside a container 06:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:40:19 $ docker top 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:20 + make test 06:40:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:40:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:40:23 Removing intermediate container 312c76969ebf 06:40:23 ---> 717191dd0846 06:40:23 Successfully built 717191dd0846 06:40:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:40:23 + docker inspect -f . ci-base-image-x86_64 06:40:23 . [Pipeline] withDockerContainer 06:40:23 prd-centos7-docker-4c-2g-17036 does not seem to be running inside a container 06:40:23 $ 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 06:40:24 $ docker top defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:25 + go version 06:40:25 go version go1.15.5 linux/amd64 [Pipeline] } 06:40:25 $ docker stop --time=1 defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 06:40:26 $ docker rm -f defae4029d5be2950f45175853ba6f1537ff7eaa67faedbec33f976452037902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:27 + docker inspect -f . ci-base-image-x86_64 06:40:27 . [Pipeline] withDockerContainer 06:40:27 prd-centos7-docker-4c-2g-17036 does not seem to be running inside a container 06:40:27 $ 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 06:40:28 $ docker top 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:28 + make test 06:40:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:40:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:40:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:40:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.327s coverage: 64.4% of statements 06:40:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:40:48 gofmt -l . 06:40:48 [ "`gofmt -l .`" = "" ] 06:40:48 ./bin/test-attribution-txt.sh 06:40:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:40:48 $ docker stop --time=1 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 06:40:50 $ docker rm -f 76d3b628c724247de05e93c486dc066c66f403d0d97cac6f2cc9a44777ade063 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:40:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:53 + ls -al . 06:40:53 total 128 06:40:53 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 21 06:40 . 06:40:53 drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 06:39 .. 06:40:53 -rw-rw-r--. 1 jenkins jenkins 6713 Dec 21 06:39 Attribution.txt 06:40:53 drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 06:39 bin 06:40:53 drwxrwxr-x. 3 jenkins jenkins 32 Dec 21 06:39 cmd 06:40:53 -rw-r--r--. 1 jenkins jenkins 47242 Dec 21 06:40 coverage.out 06:40:53 -rw-rw-r--. 1 jenkins jenkins 1834 Dec 21 06:39 Dockerfile 06:40:53 -rw-rw-r--. 1 jenkins jenkins 957 Dec 21 06:39 Dockerfile.build 06:40:53 drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 06:39 .git 06:40:53 drwxrwxr-x. 2 jenkins jenkins 60 Dec 21 06:39 .github 06:40:53 -rw-rw-r--. 1 jenkins jenkins 258 Dec 21 06:39 .gitignore 06:40:53 -rw-r--r--. 1 jenkins jenkins 203 Dec 21 06:40 go.mod 06:40:53 -rw-r--r--. 1 jenkins jenkins 16566 Dec 21 06:40 go.sum 06:40:53 drwxrwxr-x. 3 jenkins jenkins 20 Dec 21 06:39 internal 06:40:53 -rw-rw-r--. 1 jenkins jenkins 660 Dec 21 06:39 Jenkinsfile 06:40:53 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 21 06:39 LICENSE 06:40:53 -rw-rw-r--. 1 jenkins jenkins 873 Dec 21 06:39 Makefile 06:40:53 -rw-rw-r--. 1 jenkins jenkins 918 Dec 21 06:39 README.md 06:40:53 -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 06:35 VERSION 06:40:53 -rw-rw-r--. 1 jenkins jenkins 235 Dec 21 06:39 version.go [Pipeline] isUnix [Pipeline] sh 06:40:53 + 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=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 --label arch=amd64 --label version=0.0.0 . 06:40:53 Sending build context to Docker daemon 548.4kB 06:40:53 Step 1/22 : ARG BASE=golang:1.15-alpine 06:40:53 Step 2/22 : FROM ${BASE} AS builder 06:40:53 ---> 717191dd0846 06:40:53 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:40:53 ---> Running in 0dce766ea525 06:40:53 Removing intermediate container 0dce766ea525 06:40:53 ---> 5731659ea70b 06:40:53 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:40:53 ---> Running in 00b4049cfa84 06:40:54 Removing intermediate container 00b4049cfa84 06:40:54 ---> 209cf7bd74fb 06:40:54 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:40:54 ---> Running in 55d3905327a0 06:40:54 Removing intermediate container 55d3905327a0 06:40:54 ---> a18af5fc1871 06:40:54 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:54 ---> Running in 0d3d1b1852e1 06:40:55 Removing intermediate container 0d3d1b1852e1 06:40:55 ---> 29b63b0185ad 06:40:55 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:40:55 ---> Running in c16a9a95f27e 06:40:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:40:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:40:56 OK: 237 MiB in 53 packages 06:40:57 Removing intermediate container c16a9a95f27e 06:40:57 ---> 908271735aee 06:40:57 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:40:57 ---> Running in 13d7a33804ea 06:40:57 Removing intermediate container 13d7a33804ea 06:40:57 ---> 12178b74d68e 06:40:57 Step 9/22 : COPY . . 06:40:58 ---> e3f9914454df 06:40:58 Step 10/22 : ARG MAKE='make build' 06:40:58 ---> Running in 197bc0af85d0 06:40:58 Removing intermediate container 197bc0af85d0 06:40:58 ---> 421718261b33 06:40:58 Step 11/22 : RUN $MAKE 06:40:58 ---> Running in ae7f63539e31 06:40:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:41:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:41:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.504s coverage: 64.4% of statements 06:41:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:41:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:41:13 Removing intermediate container ae7f63539e31 06:41:13 ---> 88200cd84049 06:41:13 Step 12/22 : FROM alpine 06:41:14 latest: Pulling from library/alpine 06:41:14 801bfaa63ef2: Pulling fs layer 06:41:14 801bfaa63ef2: Verifying Checksum 06:41:14 801bfaa63ef2: Download complete 06:41:14 801bfaa63ef2: Pull complete 06:41:14 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:41:14 Status: Downloaded newer image for alpine:latest 06:41:14 ---> 389fef711851 06:41:14 Step 13/22 : ENV APP_PORT=49990 06:41:14 ---> Running in 171f74ae3ecb 06:41:14 Removing intermediate container 171f74ae3ecb 06:41:14 ---> 78729d98f154 06:41:14 Step 14/22 : EXPOSE $APP_PORT 06:41:14 ---> Running in 22c1d354b974 06:41:15 Removing intermediate container 22c1d354b974 06:41:15 ---> 01b3ba486ead 06:41:15 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:41:15 gofmt -l . 06:41:15 [ "`gofmt -l .`" = "" ] 06:41:15 ./bin/test-attribution-txt.sh 06:41:16 ---> 1dfc041485de 06:41:16 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:41:16 ---> 604d0fe70d52 06:41:16 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:41:16 ---> 5965d0bb3355 06:41:16 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:41:16 ---> Running in acf7e3cd76e5 06:41:16 Removing intermediate container acf7e3cd76e5 06:41:16 ---> f53b73feaa19 06:41:16 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:41:16 ---> Running in 95993083e1e7 06:41:16 ./bin/test-go-mod-tidy.sh 06:41:16 Removing intermediate container 95993083e1e7 06:41:16 ---> 559b9f2dd6da 06:41:16 Step 20/22 : LABEL arch=amd64 06:41:16 ---> Running in 7d3439752879 06:41:16 Removing intermediate container 7d3439752879 06:41:16 ---> 3600221ff014 06:41:16 Step 21/22 : LABEL git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] } 06:41:17 $ docker stop --time=1 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f 06:41:17 ---> Running in 5f17cad0b5ad 06:41:17 Removing intermediate container 5f17cad0b5ad 06:41:17 ---> b52cec610a00 06:41:17 Step 22/22 : LABEL version=0.0.0 06:41:17 ---> Running in df98c31cf6a5 06:41:17 Removing intermediate container df98c31cf6a5 06:41:17 ---> ab1f41bebf22 06:41:17 [Warning] One or more build-args [ARCH] were not consumed 06:41:17 Successfully built ab1f41bebf22 06:41:17 Successfully tagged docker-device-virtual-go:latest 06:41:19 $ docker rm -f 3631d5439a6d86eb8053f7443f0dc74780a038740eb684ee7d78be3fd186a26f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:41:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:41:20 Warning: overwriting stash ‘coverage-report’ Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 06:41:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:41:22 + ls -al . 06:41:22 total 152 06:41:22 drwxrwxr-x 7 jenkins jenkins 4096 Dec 21 06:41 . 06:41:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 06:38 .. 06:41:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 06:38 .git 06:41:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:38 .github 06:41:22 -rw-rw-r-- 1 jenkins jenkins 258 Dec 21 06:38 .gitignore 06:41:22 -rw-rw-r-- 1 jenkins jenkins 6713 Dec 21 06:38 Attribution.txt 06:41:22 -rw-rw-r-- 1 jenkins jenkins 1834 Dec 21 06:38 Dockerfile 06:41:22 -rw-rw-r-- 1 jenkins jenkins 957 Dec 21 06:38 Dockerfile.build 06:41:22 -rw-rw-r-- 1 jenkins jenkins 660 Dec 21 06:38 Jenkinsfile 06:41:22 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 21 06:38 LICENSE 06:41:22 -rw-rw-r-- 1 jenkins jenkins 873 Dec 21 06:38 Makefile 06:41:22 -rw-rw-r-- 1 jenkins jenkins 918 Dec 21 06:38 README.md 06:41:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 06:35 VERSION 06:41:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:38 bin 06:41:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:38 cmd 06:41:22 -rw-r--r-- 1 jenkins jenkins 47242 Dec 21 06:41 coverage.out 06:41:22 -rw-r--r-- 1 jenkins jenkins 203 Dec 21 06:41 go.mod 06:41:22 -rw-r--r-- 1 jenkins jenkins 16566 Dec 21 06:41 go.sum 06:41:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:38 internal 06:41:22 -rw-rw-r-- 1 jenkins jenkins 235 Dec 21 06:38 version.go [Pipeline] isUnix [Pipeline] sh 06:41:22 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 --label arch=arm64 --label version=0.0.0 . 06:41:23 Sending build context to Docker daemon 547.3kB 06:41:23 Step 1/22 : ARG BASE=golang:1.15-alpine 06:41:23 Step 2/22 : FROM ${BASE} AS builder 06:41:23 ---> 81f1bde86514 06:41:23 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:41:23 ---> Running in 4bbb8c39180b 06:41:23 Removing intermediate container 4bbb8c39180b 06:41:23 ---> 334f95ba639d 06:41:23 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:41:23 ---> Running in 5d60284bddaf 06:41:24 Removing intermediate container 5d60284bddaf 06:41:24 ---> c481c6abc1a7 06:41:24 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:41:24 ---> Running in d5073fcd8c1b 06:41:24 Removing intermediate container d5073fcd8c1b 06:41:24 ---> 5cc5dbd0ff23 06:41:24 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:25 ---> Running in ccf6e70db828 06:41:27 Removing intermediate container ccf6e70db828 06:41:27 ---> 77e13f8f7e56 06:41:27 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:41:27 ---> Running in a8fa34a52023 06:41:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:41:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:41:29 OK: 221 MiB in 53 packages 06:41:30 Removing intermediate container a8fa34a52023 06:41:30 ---> 28269038462a 06:41:30 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:41:30 ---> Running in 40bbbb20dcf9 06:41:31 Removing intermediate container 40bbbb20dcf9 06:41:31 ---> f4edf16b315f 06:41:31 Step 9/22 : COPY . . 06:41:32 ---> 0729c21cc4c5 06:41:32 Step 10/22 : ARG MAKE='make build' 06:41:32 ---> Running in 8effa485b3e4 06:41:32 Removing intermediate container 8effa485b3e4 06:41:32 ---> 933df7bfcada 06:41:32 Step 11/22 : RUN $MAKE 06:41:32 ---> Running in 7bce279b5489 06:41:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:42:06 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:42:14 Removing intermediate container 7bce279b5489 06:42:14 ---> 33b62d8785fd 06:42:14 Step 12/22 : FROM alpine 06:42:14 latest: Pulling from library/alpine 06:42:14 159e5727ea61: Pulling fs layer 06:42:14 159e5727ea61: Verifying Checksum 06:42:14 159e5727ea61: Download complete 06:42:15 159e5727ea61: Pull complete 06:42:15 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:42:15 Status: Downloaded newer image for alpine:latest 06:42:15 ---> afeebe901d6b 06:42:15 Step 13/22 : ENV APP_PORT=49990 06:42:15 ---> Running in d044c025e8c3 06:42:16 Removing intermediate container d044c025e8c3 06:42:16 ---> 4db2823950da 06:42:16 Step 14/22 : EXPOSE $APP_PORT 06:42:16 ---> Running in 6e93736a0af6 06:42:16 Removing intermediate container 6e93736a0af6 06:42:16 ---> 4e5c37411390 06:42:16 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:42:18 ---> 1cebf2f45743 06:42:18 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:42:18 ---> 1fc3c9127f6f 06:42:18 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:42:19 ---> c92f2786ac44 06:42:19 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:42:19 ---> Running in 30d1bad449c2 06:42:19 Removing intermediate container 30d1bad449c2 06:42:19 ---> 1d47425f4370 06:42:19 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:42:20 ---> Running in 6af9fe4d0bcf 06:42:20 Removing intermediate container 6af9fe4d0bcf 06:42:20 ---> ece46eb82c04 06:42:20 Step 20/22 : LABEL arch=arm64 06:42:20 ---> Running in 524a7afd55c8 06:42:20 Removing intermediate container 524a7afd55c8 06:42:20 ---> d2197282813c 06:42:20 Step 21/22 : LABEL git_sha=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 06:42:21 ---> Running in 025190632aa5 06:42:21 Removing intermediate container 025190632aa5 06:42:21 ---> 43f63263ce04 06:42:21 Step 22/22 : LABEL version=0.0.0 06:42:21 ---> Running in 9917216529d9 06:42:21 Removing intermediate container 9917216529d9 06:42:21 ---> 3d0119714c43 06:42:21 [Warning] One or more build-args [ARCH] were not consumed 06:42:21 Successfully built 3d0119714c43 06:42:21 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:42:23 provisioning config files... 06:42:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config3155543687706899639tmp [Pipeline] { [Pipeline] sh 06:42:23 + set +x 06:42:23 + curl -s https://codecov.io/bash 06:42:23 + bash -s -- 06:42:24 06:42:24 _____ _ 06:42:24 / ____| | | 06:42:24 | | ___ __| | ___ ___ _____ __ 06:42:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:42:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:42:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:42:24 Bash-20201217-3d3df35 06:42:24 06:42:24 06:42:24 git version 2.24.3 found 06:42:24 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:42:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:42:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 06:42:24 ==> Jenkins CI detected. 06:42:24 project root: . 06:42:24 --> token set from env 06:42:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:42:24 ==> Running gcov in . (disable via -X gcov) 06:42:24 ==> Python coveragepy not found 06:42:24 ==> Searching for coverage reports in: 06:42:24 + . 06:42:24 -> Found 1 reports 06:42:24 ==> Detecting git/mercurial file structure 06:42:24 ==> Reading reports 06:42:24 + ./coverage.out bytes=47242 06:42:24 ==> Appending adjustments 06:42:24 https://docs.codecov.io/docs/fixing-reports 06:42:24 + Found adjustments 06:42:24 ==> Gzipping contents 06:42:24 8.0K /tmp/codecov.DPD8R5.gz 06:42:24 ==> Uploading reports 06:42:24 url: https://codecov.io 06:42:24 query: branch=PR-155&commit=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=155&job=&cmd_args= 06:42:24 -> Pinging Codecov 06:42:24 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-155&commit=754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-155%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=155&job=&cmd_args= 06:42:24 -> Uploading to 06:42:24 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/5E52B4B073DB2E39498172D8E973AA87/754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95/b1ff5784-3663-41f2-8ed9-e7fb8f2aeaf9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T064224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd5cb11793f92d04eeff632cfc434e64300291b7b5d8e875fc4921de9b901255 06:42:24 % Total % Received % Xferd Average Speed Time Time Time Current 06:42:24 Dload Upload Total Spent Left Speed 06:42:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5814 0 0 100 5814 0 14671 --:--:-- --:--:-- --:--:-- 14644 06:42:25 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/754cc5e8159cce4ac0aa09f8b03c16f8e4f3bf95 [Pipeline] } 06:42:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:27 ---> package-listing.sh 06:42:27 ++ facter osfamily 06:42:27 ++ tr '[:upper:]' '[:lower:]' 06:42:27 + OS_FAMILY=redhat 06:42:27 + workspace=/w/workspace/foundry_device-virtual-go_PR-155 06:42:27 + START_PACKAGES=/tmp/packages_start.txt 06:42:27 + END_PACKAGES=/tmp/packages_end.txt 06:42:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:27 + PACKAGES=/tmp/packages_start.txt 06:42:27 + '[' /w/workspace/foundry_device-virtual-go_PR-155 ']' 06:42:27 + PACKAGES=/tmp/packages_end.txt 06:42:27 + case "${OS_FAMILY}" in 06:42:27 + rpm -qa 06:42:27 + sort 06:42:33 + '[' -f /tmp/packages_start.txt ']' 06:42:33 + '[' -f /tmp/packages_end.txt ']' 06:42:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:33 + '[' /w/workspace/foundry_device-virtual-go_PR-155 ']' 06:42:33 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-155/archives/ 06:42:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-155/archives/ [Pipeline] echo 06:42:33 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:42:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:33 06:42:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:42:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:34 alpine: Pulling from edgex-lftools-log-publisher 06:42:34 df20fa9351a1: Pulling fs layer 06:42:34 36b3adc4ff6f: Pulling fs layer 06:42:34 8ad3a11d3b57: Pulling fs layer 06:42:34 46f8f816bc3b: Pulling fs layer 06:42:34 93b61091891f: Pulling fs layer 06:42:34 93b9cdb0e59b: Pulling fs layer 06:42:34 5e14af77c1be: Pulling fs layer 06:42:34 01666e4c0597: Pulling fs layer 06:42:34 46f8f816bc3b: Waiting 06:42:34 93b61091891f: Waiting 06:42:34 93b9cdb0e59b: Waiting 06:42:34 aa168da1d23b: Pulling fs layer 06:42:34 01666e4c0597: Waiting 06:42:34 aa168da1d23b: Waiting 06:42:34 36b3adc4ff6f: Download complete 06:42:34 46f8f816bc3b: Verifying Checksum 06:42:34 46f8f816bc3b: Download complete 06:42:34 df20fa9351a1: Download complete 06:42:34 93b9cdb0e59b: Verifying Checksum 06:42:34 93b9cdb0e59b: Download complete 06:42:34 5e14af77c1be: Verifying Checksum 06:42:34 5e14af77c1be: Download complete 06:42:34 01666e4c0597: Verifying Checksum 06:42:34 01666e4c0597: Download complete 06:42:34 93b61091891f: Verifying Checksum 06:42:34 93b61091891f: Download complete 06:42:34 8ad3a11d3b57: Verifying Checksum 06:42:34 8ad3a11d3b57: Download complete 06:42:34 df20fa9351a1: Pull complete 06:42:34 36b3adc4ff6f: Pull complete 06:42:35 8ad3a11d3b57: Pull complete 06:42:36 46f8f816bc3b: Pull complete 06:42:36 aa168da1d23b: Verifying Checksum 06:42:36 aa168da1d23b: Download complete 06:42:36 93b61091891f: Pull complete 06:42:36 93b9cdb0e59b: Pull complete 06:42:36 5e14af77c1be: Pull complete 06:42:36 01666e4c0597: Pull complete 06:42:43 aa168da1d23b: Pull complete 06:42:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:42:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:42:43 prd-centos7-docker-4c-2g-17028 does not seem to be running inside a container 06:42:43 $ 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-155/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-155 -v /w/workspace/foundry_device-virtual-go_PR-155:/w/workspace/foundry_device-virtual-go_PR-155:rw,z -v /w/workspace/foundry_device-virtual-go_PR-155@tmp:/w/workspace/foundry_device-virtual-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:42:49 $ docker top a0a8a93195e8e9090db21e44531543b3ad8def02c7c206978f98f9b53f5e2e1c -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:49 + touch /tmp/pre-build-complete [Pipeline] sh 06:42:50 + mkdir -p /var/log/sa [Pipeline] sh 06:42:50 + ls /var/log/sa-host 06:42:50 + sadf -c /var/log/sa-host/sa21 06:42:50 file_magic: OK 06:42:50 HZ: Using current value: 100 06:42:50 file_header: OK 06:42:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:42:50 Statistics: 06:42:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:42:50 File successfully converted to sysstat format version 12.2.1 06:42:50 + sadf -c /var/log/sa-host/sa23 06:42:50 file_magic: OK 06:42:50 HZ: Using current value: 100 06:42:50 file_header: OK 06:42:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:42:50 Statistics: 06:42:50 Hnuu...uuuununununu... 06:42:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:50 provisioning config files... 06:42:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-155@tmp/config3349585733196394040tmp [Pipeline] { [Pipeline] echo 06:42:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:51 ---> create-netrc.sh [Pipeline] } 06:42:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:42:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:42:51 ---> python-tools-install.sh [Pipeline] echo 06:42:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:42:51 ---> sudo-logs.sh 06:42:51 Archiving 'sudo' log.. [Pipeline] echo 06:42:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:42:52 ---> job-cost.sh 06:42:52 lf-activate-venv: SKIPPING 06:42:52 INFO: No Stack... 06:42:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:42:53 INFO: Archiving Costs [Pipeline] echo 06:42:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:53 ---> logs-deploy.sh 06:42:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-155/2 06:42:53 INFO: archiving workspace using pattern(s): 06:42:55 Archives upload complete. 06:42:55 INFO: archiving logs to Nexus 06:42:56 ---> uname -a: 06:42:56 Linux prd-centos7-docker-4c-2g-17028.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:42:56 06:42:56 06:42:56 ---> lscpu: 06:42:56 Architecture: x86_64 06:42:56 CPU op-mode(s): 32-bit, 64-bit 06:42:56 Byte Order: Little Endian 06:42:56 Address sizes: 40 bits physical, 48 bits virtual 06:42:56 CPU(s): 4 06:42:56 On-line CPU(s) list: 0-3 06:42:56 Thread(s) per core: 1 06:42:56 Core(s) per socket: 1 06:42:56 Socket(s): 4 06:42:56 NUMA node(s): 1 06:42:56 Vendor ID: GenuineIntel 06:42:56 CPU family: 6 06:42:56 Model: 44 06:42:56 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:42:56 Stepping: 1 06:42:56 CPU MHz: 2933.436 06:42:56 BogoMIPS: 5866.87 06:42:56 Virtualization: VT-x 06:42:56 Hypervisor vendor: KVM 06:42:56 Virtualization type: full 06:42:56 L1d cache: 128 KiB 06:42:56 L1i cache: 128 KiB 06:42:56 L2 cache: 16 MiB 06:42:56 L3 cache: 64 MiB 06:42:56 NUMA node0 CPU(s): 0-3 06:42:56 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:42:56 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:42:56 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:42:56 Vulnerability Meltdown: Mitigation; PTI 06:42:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:42:56 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:42:56 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:42:56 Vulnerability Srbds: Not affected 06:42:56 Vulnerability Tsx async abort: Not affected 06:42:56 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:42:56 06:42:56 06:42:56 ---> nproc: 06:42:56 4 06:42:56 06:42:56 06:42:56 ---> df -h: 06:42:56 Filesystem Size Used Available Use% Mounted on 06:42:56 overlay 50.0G 7.3G 42.7G 15% / 06:42:56 tmpfs 64.0M 0 64.0M 0% /dev 06:42:56 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:42:56 shm 64.0M 0 64.0M 0% /dev/shm 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-155 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-155@tmp 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:42:56 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:42:56 06:42:56 06:42:56 ---> free -m: 06:42:56 total used free shared buff/cache available 06:42:56 Mem: 1837 716 105 0 1015 1016 06:42:56 Swap: 1023 1 1022 06:42:56 06:42:56 06:42:56 ---> ip addr: 06:42:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:42:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:42:56 inet 127.0.0.1/8 scope host lo 06:42:56 valid_lft forever preferred_lft forever 06:42:56 inet6 ::1/128 scope host 06:42:56 valid_lft forever preferred_lft forever 06:42:56 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:42:56 link/ether fa:16:3e:9e:08:f0 brd ff:ff:ff:ff:ff:ff 06:42:56 inet 10.30.123.209/23 brd 10.30.123.255 scope global dynamic eth0 06:42:56 valid_lft 85904sec preferred_lft 85904sec 06:42:56 inet6 fe80::f816:3eff:fe9e:8f0/64 scope link 06:42:56 valid_lft forever preferred_lft forever 06:42:56 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:42:56 link/ether 02:42:ad:b4:4f:c5 brd ff:ff:ff:ff:ff:ff 06:42:56 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:42:56 valid_lft forever preferred_lft forever 06:42:56 inet6 fe80::42:adff:feb4:4fc5/64 scope link 06:42:56 valid_lft forever preferred_lft forever 06:42:56 06:42:56 06:42:56 ---> sar -b -r -n DEV: 06:42:56 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 06:42:56 06:42:56 06:34:29 LINUX RESTART (4 CPU) 06:42:56 06:42:56 06:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:42:56 06:36:01 52.17 15.59 36.58 0.00 4934.20 3198.30 0.00 06:42:56 06:37:01 0.85 0.00 0.85 0.00 0.00 18.23 0.00 06:42:56 06:38:01 0.30 0.00 0.30 0.00 0.00 3.35 0.00 06:42:56 06:39:01 0.43 0.00 0.43 0.00 0.00 5.33 0.00 06:42:56 06:40:01 0.22 0.00 0.22 0.00 0.00 3.78 0.00 06:42:56 06:41:01 0.37 0.00 0.37 0.00 0.00 5.89 0.00 06:42:56 06:42:01 0.20 0.00 0.20 0.00 0.00 1.83 0.00 06:42:56 Average: 7.79 2.23 5.57 0.00 705.24 462.62 0.00 06:42:56 06:42:56 06:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:42:56 06:36:01 165028 0 614852 32.68 2620 1099044 1104592 37.70 434444 1083180 128 06:42:56 06:37:01 169136 0 610736 32.46 2620 1099052 1092888 37.30 439068 1074736 16 06:42:56 06:38:01 167336 0 612532 32.55 2620 1099056 1092876 37.30 437176 1078236 12 06:42:56 06:39:01 168508 0 611360 32.49 2620 1099056 1078628 36.81 447740 1067136 20 06:42:56 06:40:01 166112 0 613748 32.62 2620 1099064 1078736 36.82 447496 1069772 16 06:42:56 06:41:01 166264 0 613592 32.61 2620 1099068 1078700 36.81 451952 1065144 8 06:42:56 06:42:01 167576 0 612276 32.54 2620 1099072 1078504 36.81 450632 1065144 20 06:42:56 Average: 167137 0 612728 32.57 2620 1099059 1086418 37.08 444073 1071907 31 06:42:56 06:42:56 06:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:42:56 06:36:01 eth0 426.38 272.51 920.37 85.73 0.00 0.00 0.00 0.00 06:42:56 06:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:36:01 docker0 1.76 1.48 0.37 3.50 0.00 0.00 0.00 0.00 06:42:56 06:37:01 eth0 1.58 0.35 0.37 0.20 0.00 0.00 0.00 0.00 06:42:56 06:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:38:01 eth0 1.18 0.28 0.33 0.17 0.00 0.00 0.00 0.00 06:42:56 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:39:01 eth0 2.98 0.50 0.48 0.18 0.00 0.00 0.00 0.00 06:42:56 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:40:01 eth0 2.51 1.12 1.18 0.88 0.00 0.00 0.00 0.00 06:42:56 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:41:01 eth0 0.70 0.38 0.37 0.23 0.00 0.00 0.00 0.00 06:42:56 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:42:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:42:56 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 Average: eth0 62.24 39.34 131.94 12.49 0.00 0.00 0.00 0.00 06:42:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:56 Average: docker0 0.25 0.21 0.05 0.50 0.00 0.00 0.00 0.00 06:42:56 06:42:56 06:42:56 ---> sar -P ALL: 06:42:56 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 06:42:56 06:42:56 06:34:29 LINUX RESTART (4 CPU) 06:42:56 06:42:56 06:35:01 CPU %user %nice %system %iowait %steal %idle 06:42:56 06:36:01 all 9.36 0.00 3.27 1.67 0.12 85.58 06:42:56 06:36:01 0 9.28 0.00 4.35 4.07 0.12 82.19 06:42:56 06:36:01 1 8.09 0.00 3.13 0.57 0.12 88.09 06:42:56 06:36:01 2 10.61 0.00 2.61 0.44 0.08 86.26 06:42:56 06:36:01 3 9.46 0.00 2.99 1.61 0.15 85.79 06:42:56 06:37:01 all 0.16 0.00 0.05 0.00 0.01 99.78 06:42:56 06:37:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:42:56 06:37:01 1 0.48 0.00 0.05 0.00 0.02 99.45 06:42:56 06:37:01 2 0.07 0.00 0.07 0.00 0.00 99.87 06:42:56 06:37:01 3 0.05 0.00 0.05 0.00 0.02 99.88 06:42:56 06:38:01 all 0.15 0.00 0.05 0.00 0.01 99.80 06:42:56 06:38:01 0 0.03 0.00 0.03 0.00 0.02 99.92 06:42:56 06:38:01 1 0.43 0.00 0.05 0.00 0.00 99.52 06:42:56 06:38:01 2 0.07 0.00 0.07 0.00 0.02 99.85 06:42:56 06:38:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:42:56 06:39:01 all 0.17 0.00 0.04 0.00 0.01 99.78 06:42:56 06:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:42:56 06:39:01 1 0.53 0.00 0.03 0.00 0.02 99.42 06:42:56 06:39:01 2 0.07 0.00 0.03 0.00 0.00 99.90 06:42:56 06:39:01 3 0.05 0.00 0.07 0.00 0.02 99.87 06:42:56 06:40:01 all 0.22 0.00 0.09 0.00 0.01 99.68 06:42:56 06:40:01 0 0.08 0.00 0.03 0.00 0.00 99.88 06:42:56 06:40:01 1 0.52 0.00 0.07 0.00 0.00 99.42 06:42:56 06:40:01 2 0.12 0.00 0.12 0.00 0.02 99.75 06:42:56 06:40:01 3 0.17 0.00 0.13 0.00 0.02 99.68 06:42:56 06:41:01 all 0.08 0.00 0.08 0.00 0.00 99.85 06:42:56 06:41:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:42:56 06:41:01 1 0.18 0.00 0.12 0.00 0.02 99.68 06:42:56 06:41:01 2 0.05 0.00 0.05 0.00 0.00 99.90 06:42:56 06:41:01 3 0.03 0.00 0.08 0.00 0.00 99.88 06:42:56 06:42:01 all 0.12 0.00 0.04 0.00 0.01 99.83 06:42:56 06:42:01 0 0.07 0.00 0.07 0.00 0.03 99.83 06:42:56 06:42:01 1 0.35 0.00 0.05 0.00 0.00 99.60 06:42:56 06:42:01 2 0.02 0.00 0.02 0.00 0.02 99.95 06:42:56 06:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:42:56 Average: all 1.45 0.00 0.51 0.24 0.02 97.77 06:42:56 Average: 0 1.35 0.00 0.65 0.57 0.02 97.39 06:42:56 Average: 1 1.50 0.00 0.50 0.08 0.02 97.90 06:42:56 Average: 2 1.56 0.00 0.42 0.06 0.02 97.94 06:42:56 Average: 3 1.40 0.00 0.48 0.23 0.03 97.86 06:42:56 06:42:56 06:42:56