Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 302dbd39537b91c0a13c8c67c8af501660782902+b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba (498e9facd72e70198faff3403264dd0e160b8fab) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-162/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-162/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19244 in /w/workspace/foundry_device-virtual-go_PR-162 [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-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 302dbd39537b91c0a13c8c67c8af501660782902 Merge succeeded, producing 302dbd39537b91c0a13c8c67c8af501660782902 Checking out Revision 302dbd39537b91c0a13c8c67c8af501660782902 (PR-162) > git config core.sparsecheckout # timeout=10 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:04:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:04:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:04:14 ========================================================= 13:04:14 EdgeX Global Pipelines Version Info 13:04:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:04:17 ------------------- 13:04:17 stable info: 13:04:17 ------------------- 13:04:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:04:17 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:04:17 Message: update stable to v1.0.173 13:04:18 ------------------- 13:04:18 experimental info: 13:04:18 ------------------- 13:04:18 Commited By: **** collab-it+edgex@linuxfoundation.org 13:04:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:04:18 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:04:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:04:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:04:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:04:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:04:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:04:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:04:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 13:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 13:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 13:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 302dbd39537b91c0a13c8c67c8af501660782902 [Pipeline] echo 13:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 302dbd3 [Pipeline] echo 13:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:04:24 provisioning config files... 13:04:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-162@tmp/config982432803832866840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:25 ---> docker-login.sh 13:04:25 nexus3.edgexfoundry.org:10001 13:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:25 Configure a credential helper to remove this warning. See 13:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:25 13:04:25 Login Succeeded 13:04:25 nexus3.edgexfoundry.org:10002 13:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:26 Configure a credential helper to remove this warning. See 13:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:26 13:04:26 Login Succeeded 13:04:26 nexus3.edgexfoundry.org:10003 13:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:26 Configure a credential helper to remove this warning. See 13:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:26 13:04:26 Login Succeeded 13:04:26 nexus3.edgexfoundry.org:10004 13:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:26 Configure a credential helper to remove this warning. See 13:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:26 13:04:26 Login Succeeded 13:04:26 docker.io 13:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:26 Configure a credential helper to remove this warning. See 13:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:26 13:04:26 Login Succeeded 13:04:26 ---> docker-login.sh ends [Pipeline] } 13:04:26 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 13:04:28 + git log --format=format:%s -1 302dbd39537b91c0a13c8c67c8af501660782902 [Pipeline] echo 13:04:28 GIT_COMMIT: 302dbd39537b91c0a13c8c67c8af501660782902, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 13:04:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:04:29 13:04:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:04:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:04:29 latest: Pulling from edgex-devops/git-semver 13:04:29 31603596830f: Pulling fs layer 13:04:29 2a8b12db71e7: Pulling fs layer 13:04:29 6ca5941a6612: Pulling fs layer 13:04:29 ecc8261a40a4: Pulling fs layer 13:04:29 ecc8261a40a4: Waiting 13:04:29 2a8b12db71e7: Download complete 13:04:29 31603596830f: Verifying Checksum 13:04:29 31603596830f: Download complete 13:04:29 ecc8261a40a4: Verifying Checksum 13:04:29 ecc8261a40a4: Download complete 13:04:29 6ca5941a6612: Verifying Checksum 13:04:29 6ca5941a6612: Download complete 13:04:30 31603596830f: Pull complete 13:04:30 2a8b12db71e7: Pull complete 13:04:31 6ca5941a6612: Pull complete 13:04:31 ecc8261a40a4: Pull complete 13:04:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:04:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:04:31 prd-centos7-docker-4c-2g-19244 does not seem to be running inside a container 13:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-162 -v /w/workspace/foundry_device-virtual-go_PR-162:/w/workspace/foundry_device-virtual-go_PR-162:rw,z -v /w/workspace/foundry_device-virtual-go_PR-162@tmp:/w/workspace/foundry_device-virtual-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:04:33 $ docker top 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:04:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:04:33 [ssh-agent] Looking for ssh-agent implementation... 13:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:04:34 $ docker exec 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 ssh-agent 13:04:34 SSH_AUTH_SOCK=/tmp/ssh-KAs82CzS5EVP/agent.12 13:04:34 SSH_AGENT_PID=18 13:04:34 Running ssh-add (command line suppressed) 13:04:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-162@tmp/private_key_6555558556172353864.key (/w/workspace/foundry_device-virtual-go_PR-162@tmp/private_key_6555558556172353864.key) 13:04:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:04:34 + git tag --points-at HEAD [Pipeline] } 13:04:34 $ docker exec --env ******** --env ******** 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 ssh-agent -k 13:04:35 unset SSH_AUTH_SOCK; 13:04:35 unset SSH_AGENT_PID; 13:04:35 echo Agent pid 18 killed; 13:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:04:35 [ssh-agent] Looking for ssh-agent implementation... 13:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:04:35 $ docker exec 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 ssh-agent 13:04:35 SSH_AUTH_SOCK=/tmp/ssh-lfNmIL4k9bKG/agent.47 13:04:35 SSH_AGENT_PID=53 13:04:35 Running ssh-add (command line suppressed) 13:04:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-162@tmp/private_key_8557444789969319009.key (/w/workspace/foundry_device-virtual-go_PR-162@tmp/private_key_8557444789969319009.key) 13:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:04:36 + git semver init 13:04:36 # -> Open(): unable to determine branch for HEAD 13:04:36 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-162/.git 13:04:36 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-162 13:04:36 # $SEMVER_REMOTE_NAME = origin 13:04:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:04:36 # $SEMVER_USER_NAME = edgex-jenkins 13:04:36 # $SEMVER_BRANCH = PR-162 13:04:36 # $SEMVER_TEMP = /tmp/semver-616383871 13:04:36 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 13:04:36 # '/tmp/semver-616383871' -> '/w/workspace/foundry_device-virtual-go_PR-162/.semver' 13:04:36 # -> Force: false 13:04:36 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-162/.semver [Pipeline] } 13:04:36 $ docker exec --env ******** --env ******** 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 ssh-agent -k 13:04:36 unset SSH_AUTH_SOCK; 13:04:36 unset SSH_AGENT_PID; 13:04:36 echo Agent pid 53 killed; 13:04:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:04:37 + git semver [Pipeline] } 13:04:37 $ docker stop --time=1 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 13:04:39 $ docker rm -f 94c9499974af08fc77896859f123360384e3c227bdbfeadb72eccdc52037ce46 [Pipeline] // withDockerContainer [Pipeline] sh 13:04:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:04:40 Stashed 1 file(s) [Pipeline] echo 13:04:40 [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 13:04:56 Still waiting to schedule task 13:04:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:04:56 Still waiting to schedule task 13:04:56 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 13:06:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19246 in /w/workspace/foundry_device-virtual-go_PR-162 [Pipeline] { [Pipeline] ws 13:06:51 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 13:06:57 using credential edgex-jenkins-ssh 13:06:57 Cloning the remote Git repository 13:06:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:06:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 13:06:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:06:57 > git --version # timeout=10 13:06:57 > git --version # 'git version 2.17.1' 13:06:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:06:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:06:58 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 302dbd39537b91c0a13c8c67c8af501660782902 13:06:59 Merge succeeded, producing 302dbd39537b91c0a13c8c67c8af501660782902 13:06:59 Checking out Revision 302dbd39537b91c0a13c8c67c8af501660782902 (PR-162) 13:06:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:06:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:06:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:06:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:06:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:06:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:06:58 > git config core.sparsecheckout # timeout=10 13:06:59 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 13:06:59 > git remote # timeout=10 13:06:59 > git config --get remote.origin.url # timeout=10 13:06:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:06:59 > git merge b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 13:06:59 > git rev-parse HEAD^{commit} # timeout=10 13:06:59 > git config core.sparsecheckout # timeout=10 13:06:59 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 13:07:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 13:07:03 Running on prd-centos7-docker-4c-2g-19247 in /w/workspace/foundry_device-virtual-go_PR-162 [Pipeline] { 13:07:03 > git --version # timeout=10 13:07:03 > git --version # 'git version 2.17.1' 13:07:03 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] ws 13:07:03 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:07:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:07:06 + sudo service docker restart 13:07:06 + true 13:07:06 using credential edgex-jenkins-ssh 13:07:06 Cloning the remote Git repository 13:07:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:07:06 > git init /w/workspace/device-virtual-go/1 # timeout=10 13:07:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:07:06 > git --version # timeout=10 13:07:06 > git --version # 'git version 2.24.3' 13:07:06 using GIT_SSH to set credentials SSH Credentials for GitHub 13:07:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:07:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:07:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:07:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:07:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:07:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:07:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:07:08 Merging remotes/origin/master commit b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba into PR head commit 302dbd39537b91c0a13c8c67c8af501660782902 13:07:08 Merge succeeded, producing 302dbd39537b91c0a13c8c67c8af501660782902 13:07:08 Checking out Revision 302dbd39537b91c0a13c8c67c8af501660782902 (PR-162) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:07:08 provisioning config files... 13:07:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5346100910235169204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:09 ---> docker-login.sh 13:07:09 nexus3.edgexfoundry.org:10001 13:07:08 > git config core.sparsecheckout # timeout=10 13:07:08 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 13:07:08 > git remote # timeout=10 13:07:08 > git config --get remote.origin.url # timeout=10 13:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:07:08 > git merge b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 13:07:08 > git rev-parse HEAD^{commit} # timeout=10 13:07:08 > git config core.sparsecheckout # timeout=10 13:07:08 > git checkout -f 302dbd39537b91c0a13c8c67c8af501660782902 # timeout=10 13:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:10 Configure a credential helper to remove this warning. See 13:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:10 13:07:10 Login Succeeded 13:07:10 nexus3.edgexfoundry.org:10002 13:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:11 Configure a credential helper to remove this warning. See 13:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:11 13:07:11 Login Succeeded 13:07:11 nexus3.edgexfoundry.org:10003 13:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:11 Configure a credential helper to remove this warning. See 13:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:11 13:07:11 Login Succeeded 13:07:11 nexus3.edgexfoundry.org:10004 13:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 13:07:12 > git --version # timeout=10 13:07:12 > git --version # 'git version 2.24.3' 13:07:12 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:12 Configure a credential helper to remove this warning. See 13:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:12 13:07:12 Login Succeeded 13:07:12 docker.io [Pipeline] withEnv [Pipeline] { 13:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 13:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:12 Configure a credential helper to remove this warning. See 13:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:12 13:07:12 Login Succeeded 13:07:12 ---> docker-login.sh ends [Pipeline] } 13:07:13 Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:07:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo 13:07:13 ========================================================= 13:07:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:07:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:07:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:07:14 + 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 . 13:07:14 + sudo service docker restart 13:07:14 + true 13:07:14 Redirecting to /bin/systemctl restart docker.service 13:07:14 Sending build context to Docker daemon 479.7kB 13:07:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:07:14 Step 2/8 : FROM ${BASE} 13:07:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:07:14 5f621e34cdf4: Pulling fs layer 13:07:14 a4357932f1b6: Pulling fs layer 13:07:14 18c013af1878: Pulling fs layer 13:07:14 00ac8860ef70: Pulling fs layer 13:07:14 63d7cb157983: Pulling fs layer 13:07:14 b116817d02f9: Pulling fs layer 13:07:14 745a02a5169b: Pulling fs layer 13:07:14 00ac8860ef70: Waiting 13:07:14 63d7cb157983: Waiting 13:07:14 b116817d02f9: Waiting 13:07:14 745a02a5169b: Waiting 13:07:14 18c013af1878: Verifying Checksum 13:07:14 18c013af1878: Download complete 13:07:14 a4357932f1b6: Verifying Checksum 13:07:14 a4357932f1b6: Download complete 13:07:14 63d7cb157983: Download complete 13:07:14 b116817d02f9: Verifying Checksum 13:07:14 b116817d02f9: Download complete 13:07:15 5f621e34cdf4: Verifying Checksum 13:07:15 5f621e34cdf4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:07:16 provisioning config files... 13:07:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5924770600107713107tmp [Pipeline] { [Pipeline] libraryResource 13:07:16 5f621e34cdf4: Pull complete [Pipeline] sh 13:07:16 ---> docker-login.sh 13:07:16 nexus3.edgexfoundry.org:10001 13:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:16 Configure a credential helper to remove this warning. See 13:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:16 13:07:16 Login Succeeded 13:07:16 nexus3.edgexfoundry.org:10002 13:07:16 a4357932f1b6: Pull complete 13:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:17 Configure a credential helper to remove this warning. See 13:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:17 13:07:17 Login Succeeded 13:07:17 nexus3.edgexfoundry.org:10003 13:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:17 18c013af1878: Pull complete 13:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:17 Configure a credential helper to remove this warning. See 13:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:17 13:07:17 Login Succeeded 13:07:17 nexus3.edgexfoundry.org:10004 13:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:17 Configure a credential helper to remove this warning. See 13:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:17 13:07:17 Login Succeeded 13:07:17 docker.io 13:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:17 Configure a credential helper to remove this warning. See 13:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:17 13:07:17 Login Succeeded 13:07:17 ---> docker-login.sh ends [Pipeline] } 13:07:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 13:07:18 745a02a5169b: Verifying Checksum 13:07:18 745a02a5169b: Download complete [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:07:18 ========================================================= 13:07:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:07:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:07:18 + 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 . 13:07:18 Sending build context to Docker daemon 480.8kB 13:07:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:07:18 Step 2/8 : FROM ${BASE} 13:07:19 00ac8860ef70: Verifying Checksum 13:07:19 00ac8860ef70: Download complete 13:07:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:07:19 188c0c94c7c5: Pulling fs layer 13:07:19 0ef7d3d256c8: Pulling fs layer 13:07:19 de9db76c5a1d: Pulling fs layer 13:07:19 bca2f99d35d6: Pulling fs layer 13:07:19 93359f2a8cfa: Pulling fs layer 13:07:19 7c6f9722023f: Pulling fs layer 13:07:19 a35cf1a2eb13: Pulling fs layer 13:07:19 93359f2a8cfa: Waiting 13:07:19 a35cf1a2eb13: Waiting 13:07:19 7c6f9722023f: Waiting 13:07:19 bca2f99d35d6: Waiting 13:07:19 de9db76c5a1d: Verifying Checksum 13:07:19 de9db76c5a1d: Download complete 13:07:19 0ef7d3d256c8: Verifying Checksum 13:07:19 0ef7d3d256c8: Download complete 13:07:19 93359f2a8cfa: Verifying Checksum 13:07:19 93359f2a8cfa: Download complete 13:07:19 7c6f9722023f: Verifying Checksum 13:07:19 7c6f9722023f: Download complete 13:07:19 188c0c94c7c5: Verifying Checksum 13:07:19 188c0c94c7c5: Download complete 13:07:19 188c0c94c7c5: Pull complete 13:07:19 0ef7d3d256c8: Pull complete 13:07:19 de9db76c5a1d: Pull complete 13:07:20 a35cf1a2eb13: Verifying Checksum 13:07:20 a35cf1a2eb13: Download complete 13:07:21 bca2f99d35d6: Verifying Checksum 13:07:21 bca2f99d35d6: Download complete 13:07:27 bca2f99d35d6: Pull complete 13:07:27 93359f2a8cfa: Pull complete 13:07:27 7c6f9722023f: Pull complete 13:07:29 00ac8860ef70: Pull complete 13:07:29 63d7cb157983: Pull complete 13:07:30 b116817d02f9: Pull complete 13:07:34 745a02a5169b: Pull complete 13:07:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:07:34 ---> b7e6874047d6 13:07:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 13:07:35 a35cf1a2eb13: Pull complete 13:07:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:07:35 ---> a62c8e92a672 13:07:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 13:07:35 ---> Running in 60341cedcbbf 13:07:35 Removing intermediate container 60341cedcbbf 13:07:35 ---> b6d2ce2dc9d1 13:07:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:07:35 ---> Running in 11de46141f38 13:07:36 ---> Running in f2d98397c6f0 13:07:37 Removing intermediate container f2d98397c6f0 13:07:37 ---> 2378b9634698 13:07:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:07:37 ---> Running in b853937d76bd 13:07:37 Removing intermediate container 11de46141f38 13:07:37 ---> d1ebeb21bfa3 13:07:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 13:07:37 ---> Running in 08781256cccc 13:07:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:07:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:07:38 (1/14) Installing libmagic (5.38-r0) 13:07:39 Removing intermediate container b853937d76bd 13:07:39 ---> 64d226821609 13:07:39 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 13:07:39 ---> Running in 023c7a2d8a4f 13:07:39 (2/14) Installing file (5.38-r0) 13:07:39 (3/14) Installing libc-dev (0.7.2-r3) 13:07:39 (4/14) Installing g++ (9.3.0-r2) 13:07:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:07:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:07:42 (1/14) Installing libmagic (5.38-r0) 13:07:42 (2/14) Installing file (5.38-r0) 13:07:42 (3/14) Installing libc-dev (0.7.2-r3) 13:07:42 (4/14) Installing g++ (9.3.0-r2) 13:07:44 (5/14) Installing fortify-headers (1.1-r0) 13:07:44 (6/14) Installing patch (2.7.6-r6) 13:07:44 (7/14) Installing build-base (0.5-r2) 13:07:44 (8/14) Installing openssh-keygen (8.3_p1-r1) 13:07:45 (9/14) Installing libedit (20191231.3.1-r0) 13:07:45 (10/14) Installing openssh-client (8.3_p1-r1) 13:07:45 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 13:07:45 (12/14) Installing openssh-server-common (8.3_p1-r1) 13:07:45 (13/14) Installing openssh-server (8.3_p1-r1) 13:07:46 (14/14) Installing openssh (8.3_p1-r1) 13:07:46 Executing busybox-1.31.1-r19.trigger 13:07:46 OK: 237 MiB in 53 packages 13:07:48 Removing intermediate container 08781256cccc 13:07:48 ---> eca75af4d966 13:07:48 Step 6/8 : WORKDIR /device-virtual-go 13:07:48 ---> Running in 36fad073653b 13:07:49 Removing intermediate container 36fad073653b 13:07:49 ---> 85b705b09973 13:07:49 Step 7/8 : COPY . . 13:07:50 ---> d00770eabf22 13:07:50 Step 8/8 : RUN go mod download 13:07:50 ---> Running in f36389f5489a 13:07:50 (5/14) Installing fortify-headers (1.1-r0) 13:07:50 (6/14) Installing patch (2.7.6-r6) 13:07:50 (7/14) Installing build-base (0.5-r2) 13:07:50 (8/14) Installing openssh-keygen (8.3_p1-r1) 13:07:50 (9/14) Installing libedit (20191231.3.1-r0) 13:07:50 (10/14) Installing openssh-client (8.3_p1-r1) 13:07:51 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 13:07:51 (12/14) Installing openssh-server-common (8.3_p1-r1) 13:07:51 (13/14) Installing openssh-server (8.3_p1-r1) 13:07:52 (14/14) Installing openssh (8.3_p1-r1) 13:07:52 Executing busybox-1.31.1-r19.trigger 13:07:52 OK: 221 MiB in 53 packages 13:07:57 Removing intermediate container 023c7a2d8a4f 13:07:57 ---> 271380a160ce 13:07:57 Step 6/8 : WORKDIR /device-virtual-go 13:07:57 ---> Running in d067c520de06 13:07:57 Removing intermediate container d067c520de06 13:07:57 ---> aa12b705df78 13:07:57 Step 7/8 : COPY . . 13:07:58 ---> 636004ef1ebf 13:07:58 Step 8/8 : RUN go mod download 13:07:58 ---> Running in fff666eda3ec 13:08:22 Removing intermediate container f36389f5489a 13:08:22 ---> 25d573658233 13:08:22 Successfully built 25d573658233 13:08:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:08:22 + docker inspect -f . ci-base-image-x86_64 13:08:22 . [Pipeline] withDockerContainer 13:08:22 prd-centos7-docker-4c-2g-19247 does not seem to be running inside a container 13:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:08:23 $ docker top dbfa1b30b8db7b5e25b1dceaf45302f4941c188bb2d89fe8f55df9f8174d2b78 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:24 + go version 13:08:24 go version go1.15.5 linux/amd64 [Pipeline] } 13:08:24 $ docker stop --time=1 dbfa1b30b8db7b5e25b1dceaf45302f4941c188bb2d89fe8f55df9f8174d2b78 13:08:24 Removing intermediate container fff666eda3ec 13:08:24 ---> 96b06210d7ca 13:08:24 Successfully built 96b06210d7ca 13:08:24 Successfully tagged ci-base-image-arm64:latest 13:08:25 $ docker rm -f dbfa1b30b8db7b5e25b1dceaf45302f4941c188bb2d89fe8f55df9f8174d2b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:08:26 + docker inspect -f . ci-base-image-arm64 13:08:26 . [Pipeline] withDockerContainer 13:08:26 + docker inspect -f . ci-base-image-x86_64 13:08:26 . 13:08:26 prd-ubuntu18.04-docker-arm64-4c-16g-19246 does not seem to be running inside a container 13:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:08:28 $ docker top 6b04a754589e8f3be35a9fee5ad3ba158ed09fe61e9f5d1817369097f3ee7f1a -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 13:08:29 prd-centos7-docker-4c-2g-19247 does not seem to be running inside a container 13:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:08:29 $ docker top d0143a33721b22baf6d4a7de47ceb0b0b362465feb66faaba13262784155975c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 13:08:30 + make test 13:08:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:08:30 + go version 13:08:30 go version go1.15.5 linux/arm64 [Pipeline] } 13:08:30 $ docker stop --time=1 6b04a754589e8f3be35a9fee5ad3ba158ed09fe61e9f5d1817369097f3ee7f1a 13:08:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:08:32 $ docker rm -f 6b04a754589e8f3be35a9fee5ad3ba158ed09fe61e9f5d1817369097f3ee7f1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:08:34 + docker inspect -f . ci-base-image-arm64 13:08:34 . [Pipeline] withDockerContainer 13:08:34 prd-ubuntu18.04-docker-arm64-4c-16g-19246 does not seem to be running inside a container 13:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:08:35 $ docker top e165a359ccaa9a59bf30eec6b59322019c72c675ef180b0c15f31e11a023d9c0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:37 + make test 13:08:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:08:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:08:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:08:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.427s coverage: 64.4% of statements 13:08:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:08:54 gofmt -l . 13:08:54 [ "`gofmt -l .`" = "" ] 13:08:54 ./bin/test-attribution-txt.sh 13:08:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:08:54 $ docker stop --time=1 d0143a33721b22baf6d4a7de47ceb0b0b362465feb66faaba13262784155975c 13:08:56 $ docker rm -f d0143a33721b22baf6d4a7de47ceb0b0b362465feb66faaba13262784155975c [Pipeline] // withDockerContainer [Pipeline] sh 13:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:09:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:00 + ls -al . 13:09:00 total 124 13:09:00 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 9 13:08 . 13:09:00 drwxrwxr-x. 4 jenkins jenkins 28 Jan 9 13:07 .. 13:09:00 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 9 13:07 Attribution.txt 13:09:00 drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 13:07 bin 13:09:00 drwxrwxr-x. 3 jenkins jenkins 32 Jan 9 13:07 cmd 13:09:00 -rw-r--r--. 1 jenkins jenkins 47242 Jan 9 13:08 coverage.out 13:09:00 -rw-rw-r--. 1 jenkins jenkins 1851 Jan 9 13:07 Dockerfile 13:09:00 -rw-rw-r--. 1 jenkins jenkins 961 Jan 9 13:07 Dockerfile.build 13:09:00 drwxrwxr-x. 8 jenkins jenkins 179 Jan 9 13:07 .git 13:09:00 drwxrwxr-x. 2 jenkins jenkins 60 Jan 9 13:07 .github 13:09:00 -rw-rw-r--. 1 jenkins jenkins 258 Jan 9 13:07 .gitignore 13:09:00 -rw-r--r--. 1 jenkins jenkins 862 Jan 9 13:08 go.mod 13:09:00 -rw-r--r--. 1 jenkins jenkins 16358 Jan 9 13:08 go.sum 13:09:00 drwxrwxr-x. 3 jenkins jenkins 20 Jan 9 13:07 internal 13:09:00 -rw-rw-r--. 1 jenkins jenkins 660 Jan 9 13:07 Jenkinsfile 13:09:00 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 9 13:07 LICENSE 13:09:00 -rw-rw-r--. 1 jenkins jenkins 873 Jan 9 13:07 Makefile 13:09:00 -rw-rw-r--. 1 jenkins jenkins 918 Jan 9 13:07 README.md 13:09:00 -rw-rw-r--. 1 jenkins jenkins 5 Jan 9 13:04 VERSION 13:09:00 -rw-rw-r--. 1 jenkins jenkins 235 Jan 9 13:07 version.go [Pipeline] isUnix [Pipeline] sh 13:09:01 + 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=302dbd39537b91c0a13c8c67c8af501660782902 --label arch=amd64 --label version=0.0.0 . 13:09:01 Sending build context to Docker daemon 545.8kB 13:09:01 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 13:09:01 Step 2/22 : FROM ${BASE} AS builder 13:09:01 ---> 25d573658233 13:09:01 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 13:09:01 ---> Running in d964fb1d9f30 13:09:01 Removing intermediate container d964fb1d9f30 13:09:01 ---> 34b45272d0c8 13:09:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 13:09:01 ---> Running in 9e24fa010dde 13:09:02 Removing intermediate container 9e24fa010dde 13:09:02 ---> cff1efd34a7a 13:09:02 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 13:09:02 ---> Running in 140753e77dbd 13:09:02 Removing intermediate container 140753e77dbd 13:09:02 ---> 1a5a4cccce88 13:09:02 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:02 ---> Running in a8483a600ae9 13:09:03 Removing intermediate container a8483a600ae9 13:09:03 ---> dd56fae34f63 13:09:03 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:03 ---> Running in 59c1a0370285 13:09:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:09:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:09:07 OK: 237 MiB in 53 packages 13:09:07 Removing intermediate container 59c1a0370285 13:09:07 ---> d3b460a0151e 13:09:07 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 13:09:07 ---> Running in f4fe28f1b762 13:09:07 Removing intermediate container f4fe28f1b762 13:09:07 ---> 9d3e004aa362 13:09:07 Step 9/22 : COPY . . 13:09:08 ---> 90ad55a0f2f9 13:09:08 Step 10/22 : ARG MAKE='make build' 13:09:08 ---> Running in 65b05f7657b2 13:09:08 Removing intermediate container 65b05f7657b2 13:09:08 ---> 24e0f0c4fc7f 13:09:08 Step 11/22 : RUN $MAKE 13:09:08 ---> Running in b40cd45452cc 13:09:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 13:09:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:09:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:09:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.508s coverage: 64.4% of statements 13:09:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:09:26 Removing intermediate container b40cd45452cc 13:09:26 ---> b6bf60278268 13:09:26 Step 12/22 : FROM alpine:3.12 13:09:26 3.12: Pulling from library/alpine 13:09:26 801bfaa63ef2: Pulling fs layer 13:09:26 801bfaa63ef2: Verifying Checksum 13:09:26 801bfaa63ef2: Download complete 13:09:26 801bfaa63ef2: Pull complete 13:09:26 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 13:09:26 Status: Downloaded newer image for alpine:3.12 13:09:26 ---> 389fef711851 13:09:26 Step 13/22 : ENV APP_PORT=49990 13:09:26 ---> Running in 70bae32f4ed6 13:09:27 Removing intermediate container 70bae32f4ed6 13:09:27 ---> 29c6dfff2a1f 13:09:27 Step 14/22 : EXPOSE $APP_PORT 13:09:27 ---> Running in cc7c36fc7755 13:09:27 Removing intermediate container cc7c36fc7755 13:09:27 ---> 62472237c217 13:09:27 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 13:09:28 ---> 761464068651 13:09:28 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 13:09:28 ---> 9f02c299a08d 13:09:28 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 13:09:28 ---> 32dfb7506186 13:09:28 Step 18/22 : ENTRYPOINT ["/device-virtual"] 13:09:28 ---> Running in 201a0dcc7b83 13:09:28 Removing intermediate container 201a0dcc7b83 13:09:28 ---> 5b80d5152650 13:09:28 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:09:28 ---> Running in de13f8185c68 13:09:28 Removing intermediate container de13f8185c68 13:09:28 ---> 115e56caec5d 13:09:28 Step 20/22 : LABEL arch=amd64 13:09:29 ---> Running in fbf9eff2ec20 13:09:29 Removing intermediate container fbf9eff2ec20 13:09:29 ---> 67b4da785e7f 13:09:29 Step 21/22 : LABEL git_sha=302dbd39537b91c0a13c8c67c8af501660782902 13:09:29 ---> Running in 1f055b2eb5dd 13:09:29 Removing intermediate container 1f055b2eb5dd 13:09:29 ---> 369e0b50ca3f 13:09:29 Step 22/22 : LABEL version=0.0.0 13:09:29 ---> Running in e166fca545ac 13:09:29 Removing intermediate container e166fca545ac 13:09:29 ---> b6e53e42b68a 13:09:29 [Warning] One or more build-args [ARCH] were not consumed 13:09:29 Successfully built b6e53e42b68a 13:09:29 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:09:31 gofmt -l . 13:09:31 [ "`gofmt -l .`" = "" ] 13:09:31 ./bin/test-attribution-txt.sh 13:09:32 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:09:33 $ docker stop --time=1 e165a359ccaa9a59bf30eec6b59322019c72c675ef180b0c15f31e11a023d9c0 13:09:35 $ docker rm -f e165a359ccaa9a59bf30eec6b59322019c72c675ef180b0c15f31e11a023d9c0 [Pipeline] // withDockerContainer [Pipeline] sh 13:09:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:36 Warning: overwriting stash ‘coverage-report’ 13:09:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:38 + ls -al . 13:09:38 total 148 13:09:38 drwxrwxr-x 7 jenkins jenkins 4096 Jan 9 13:09 . 13:09:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:06 .. 13:09:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:07 .git 13:09:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:06 .github 13:09:38 -rw-rw-r-- 1 jenkins jenkins 258 Jan 9 13:06 .gitignore 13:09:38 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 9 13:06 Attribution.txt 13:09:38 -rw-rw-r-- 1 jenkins jenkins 1851 Jan 9 13:06 Dockerfile 13:09:38 -rw-rw-r-- 1 jenkins jenkins 961 Jan 9 13:06 Dockerfile.build 13:09:38 -rw-rw-r-- 1 jenkins jenkins 660 Jan 9 13:06 Jenkinsfile 13:09:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 13:06 LICENSE 13:09:38 -rw-rw-r-- 1 jenkins jenkins 873 Jan 9 13:06 Makefile 13:09:38 -rw-rw-r-- 1 jenkins jenkins 918 Jan 9 13:06 README.md 13:09:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:04 VERSION 13:09:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:06 bin 13:09:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:06 cmd 13:09:38 -rw-r--r-- 1 jenkins jenkins 47242 Jan 9 13:09 coverage.out 13:09:38 -rw-r--r-- 1 jenkins jenkins 862 Jan 9 13:09 go.mod 13:09:38 -rw-r--r-- 1 jenkins jenkins 16358 Jan 9 13:09 go.sum 13:09:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 13:06 internal 13:09:38 -rw-rw-r-- 1 jenkins jenkins 235 Jan 9 13:06 version.go [Pipeline] isUnix [Pipeline] sh 13:09:39 + 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=302dbd39537b91c0a13c8c67c8af501660782902 --label arch=arm64 --label version=0.0.0 . 13:09:39 Sending build context to Docker daemon 544.8kB 13:09:39 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 13:09:39 Step 2/22 : FROM ${BASE} AS builder 13:09:39 ---> 96b06210d7ca 13:09:39 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 13:09:40 ---> Running in 49792d1c584d 13:09:40 Removing intermediate container 49792d1c584d 13:09:40 ---> bad9677d9655 13:09:40 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 13:09:40 ---> Running in 188daae05974 13:09:40 Removing intermediate container 188daae05974 13:09:40 ---> 5f8176269c62 13:09:40 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 13:09:41 ---> Running in 8e23e14b0966 13:09:41 Removing intermediate container 8e23e14b0966 13:09:41 ---> 61e1f37c283f 13:09:41 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:41 ---> Running in 5caf9aef12ce 13:09:44 Removing intermediate container 5caf9aef12ce 13:09:44 ---> af29f3ef8378 13:09:44 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:44 ---> Running in 386dface0c7d 13:09:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:09:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:09:48 OK: 221 MiB in 53 packages 13:09:49 Removing intermediate container 386dface0c7d 13:09:49 ---> 7d1d0eb69789 13:09:49 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 13:09:49 ---> Running in 8c5cf5675bda 13:09:49 Removing intermediate container 8c5cf5675bda 13:09:49 ---> 06f55b58dc24 13:09:49 Step 9/22 : COPY . . 13:09:50 ---> 365046c98887 13:09:50 Step 10/22 : ARG MAKE='make build' 13:09:50 ---> Running in 224892d32d79 13:09:51 Removing intermediate container 224892d32d79 13:09:51 ---> b7cf3607015c 13:09:51 Step 11/22 : RUN $MAKE 13:09:51 ---> Running in b2576b7905d7 13:09:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 13:10:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:10:32 Removing intermediate container b2576b7905d7 13:10:32 ---> da95e25fa9e5 13:10:32 Step 12/22 : FROM alpine:3.12 13:10:33 3.12: Pulling from library/alpine 13:10:33 159e5727ea61: Pulling fs layer 13:10:33 159e5727ea61: Verifying Checksum 13:10:33 159e5727ea61: Download complete 13:10:34 159e5727ea61: Pull complete 13:10:34 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 13:10:34 Status: Downloaded newer image for alpine:3.12 13:10:34 ---> afeebe901d6b 13:10:34 Step 13/22 : ENV APP_PORT=49990 13:10:34 ---> Running in fba448b4e34a 13:10:34 Removing intermediate container fba448b4e34a 13:10:34 ---> be09a7f1deea 13:10:34 Step 14/22 : EXPOSE $APP_PORT 13:10:34 ---> Running in b632d707ce01 13:10:35 Removing intermediate container b632d707ce01 13:10:35 ---> 7c4731823848 13:10:35 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 13:10:36 ---> 9d5a56aac76d 13:10:36 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 13:10:37 ---> 7282d5038843 13:10:37 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 13:10:38 ---> 90c15560f47d 13:10:38 Step 18/22 : ENTRYPOINT ["/device-virtual"] 13:10:38 ---> Running in 4b6065fda836 13:10:38 Removing intermediate container 4b6065fda836 13:10:38 ---> 3a44209199a8 13:10:38 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:10:38 ---> Running in eccd25b5c489 13:10:39 Removing intermediate container eccd25b5c489 13:10:39 ---> 927262399e4a 13:10:39 Step 20/22 : LABEL arch=arm64 13:10:39 ---> Running in f8484d59099d 13:10:39 Removing intermediate container f8484d59099d 13:10:39 ---> 342192cb335a 13:10:39 Step 21/22 : LABEL git_sha=302dbd39537b91c0a13c8c67c8af501660782902 13:10:39 ---> Running in 75257d29d3c0 13:10:40 Removing intermediate container 75257d29d3c0 13:10:40 ---> a1ac6fee6a8c 13:10:40 Step 22/22 : LABEL version=0.0.0 13:10:40 ---> Running in 50ccce1bcedf 13:10:41 Removing intermediate container 50ccce1bcedf 13:10:41 ---> 250035c250e0 13:10:41 [Warning] One or more build-args [ARCH] were not consumed 13:10:41 Successfully built 250035c250e0 13:10:41 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 13:10:43 provisioning config files... 13:10:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-162@tmp/config4457594564642746878tmp [Pipeline] { [Pipeline] sh 13:10:44 + set +x 13:10:44 + curl -s https://codecov.io/bash 13:10:44 + bash -s -- 13:10:44 13:10:44 _____ _ 13:10:44 / ____| | | 13:10:44 | | ___ __| | ___ ___ _____ __ 13:10:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:44 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:44 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:44 Bash-20201231-23d4836 13:10:44 13:10:44 13:10:44 ==> git version 2.24.3 found 13:10:44 ==> 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 13:10:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:10:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:10:44 ==> Jenkins CI detected. 13:10:44 project root: . 13:10:44 --> token set from env 13:10:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:44 ==> Running gcov in . (disable via -X gcov) 13:10:44 ==> Python coveragepy not found 13:10:44 ==> Searching for coverage reports in: 13:10:44 + . 13:10:44 -> Found 1 reports 13:10:44 ==> Detecting git/mercurial file structure 13:10:44 ==> Reading reports 13:10:44 + ./coverage.out bytes=47242 13:10:44 ==> Appending adjustments 13:10:44 https://docs.codecov.io/docs/fixing-reports 13:10:44 + Found adjustments 13:10:44 ==> Gzipping contents 13:10:44 8.0K /tmp/codecov.C8vdb9.gz 13:10:44 ==> Uploading reports 13:10:44 url: https://codecov.io 13:10:44 query: branch=PR-162&commit=302dbd39537b91c0a13c8c67c8af501660782902&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=162&job=&cmd_args= 13:10:44 -> Pinging Codecov 13:10:44 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-162&commit=302dbd39537b91c0a13c8c67c8af501660782902&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=162&job=&cmd_args= 13:10:45 -> Uploading to 13:10:45 https://storage.googleapis.com/codecov/v4/raw/2021-01-09/5E52B4B073DB2E39498172D8E973AA87/302dbd39537b91c0a13c8c67c8af501660782902/955a7404-5e4c-4372-9bb1-e08a231a61cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T131045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=316ef0e11267e2cf0db04f49df7de821aed56a1081724c108b04a6f4bcb9bca4 13:10:45 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:45 Dload Upload Total Spent Left Speed 13:10:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5798 0 0 100 5798 0 12748 --:--:-- --:--:-- --:--:-- 12770 13:10:45 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/302dbd39537b91c0a13c8c67c8af501660782902 [Pipeline] } 13:10:45 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 13:10:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:49 ---> package-listing.sh 13:10:49 ++ facter osfamily 13:10:49 ++ tr '[:upper:]' '[:lower:]' 13:10:49 + OS_FAMILY=redhat 13:10:49 + workspace=/w/workspace/foundry_device-virtual-go_PR-162 13:10:49 + START_PACKAGES=/tmp/packages_start.txt 13:10:49 + END_PACKAGES=/tmp/packages_end.txt 13:10:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:49 + PACKAGES=/tmp/packages_start.txt 13:10:49 + '[' /w/workspace/foundry_device-virtual-go_PR-162 ']' 13:10:49 + PACKAGES=/tmp/packages_end.txt 13:10:49 + case "${OS_FAMILY}" in 13:10:49 + rpm -qa 13:10:49 + sort 13:10:55 + '[' -f /tmp/packages_start.txt ']' 13:10:55 + '[' -f /tmp/packages_end.txt ']' 13:10:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:55 + '[' /w/workspace/foundry_device-virtual-go_PR-162 ']' 13:10:55 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-162/archives/ 13:10:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-162/archives/ [Pipeline] echo 13:10:55 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-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:10:55 13:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:10:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:10:56 alpine: Pulling from edgex-lftools-log-publisher 13:10:56 df20fa9351a1: Pulling fs layer 13:10:56 36b3adc4ff6f: Pulling fs layer 13:10:56 8ad3a11d3b57: Pulling fs layer 13:10:56 46f8f816bc3b: Pulling fs layer 13:10:56 93b61091891f: Pulling fs layer 13:10:56 93b9cdb0e59b: Pulling fs layer 13:10:56 5e14af77c1be: Pulling fs layer 13:10:56 01666e4c0597: Pulling fs layer 13:10:56 aa168da1d23b: Pulling fs layer 13:10:56 46f8f816bc3b: Waiting 13:10:56 93b9cdb0e59b: Waiting 13:10:56 93b61091891f: Waiting 13:10:56 5e14af77c1be: Waiting 13:10:56 aa168da1d23b: Waiting 13:10:56 01666e4c0597: Waiting 13:10:56 36b3adc4ff6f: Verifying Checksum 13:10:56 36b3adc4ff6f: Download complete 13:10:56 46f8f816bc3b: Download complete 13:10:56 df20fa9351a1: Verifying Checksum 13:10:56 93b9cdb0e59b: Download complete 13:10:56 5e14af77c1be: Verifying Checksum 13:10:56 5e14af77c1be: Download complete 13:10:56 93b61091891f: Verifying Checksum 13:10:56 93b61091891f: Download complete 13:10:56 01666e4c0597: Verifying Checksum 13:10:56 01666e4c0597: Download complete 13:10:56 8ad3a11d3b57: Verifying Checksum 13:10:56 8ad3a11d3b57: Download complete 13:10:56 df20fa9351a1: Pull complete 13:10:57 36b3adc4ff6f: Pull complete 13:10:58 8ad3a11d3b57: Pull complete 13:10:58 aa168da1d23b: Verifying Checksum 13:10:58 aa168da1d23b: Download complete 13:10:58 46f8f816bc3b: Pull complete 13:10:59 93b61091891f: Pull complete 13:10:59 93b9cdb0e59b: Pull complete 13:10:59 5e14af77c1be: Pull complete 13:10:59 01666e4c0597: Pull complete 13:11:07 aa168da1d23b: Pull complete 13:11:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:11:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:11:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:11:08 prd-centos7-docker-4c-2g-19244 does not seem to be running inside a container 13:11:08 $ 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-162/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-162 -v /w/workspace/foundry_device-virtual-go_PR-162:/w/workspace/foundry_device-virtual-go_PR-162:rw,z -v /w/workspace/foundry_device-virtual-go_PR-162@tmp:/w/workspace/foundry_device-virtual-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:11:11 $ docker top 42ab027bbf1475af4d971a7102e013033cfab1d53f0cc893b0b1d95b941f584c -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:12 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:12 + mkdir -p /var/log/sa [Pipeline] sh 13:11:12 + ls /var/log/sa-host 13:11:12 + sadf -c /var/log/sa-host/sa09 13:11:12 file_magic: OK 13:11:12 HZ: Using current value: 100 13:11:12 file_header: OK 13:11:12 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 13:11:12 Statistics: 13:11:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:11:12 File successfully converted to sysstat format version 12.2.1 13:11:12 + sadf -c /var/log/sa-host/sa23 13:11:12 file_magic: OK 13:11:12 HZ: Using current value: 100 13:11:12 file_header: OK 13:11:12 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 13:11:12 Statistics: 13:11:12 Hnuu...uuuununununu... 13:11:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:13 provisioning config files... 13:11:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-162@tmp/config8953409661241917702tmp [Pipeline] { [Pipeline] echo 13:11:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> create-netrc.sh [Pipeline] } 13:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:11:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> python-tools-install.sh [Pipeline] echo 13:11:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> sudo-logs.sh 13:11:14 Archiving 'sudo' log.. [Pipeline] echo 13:11:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:15 ---> job-cost.sh 13:11:15 lf-activate-venv: SKIPPING 13:11:15 INFO: No Stack... 13:11:16 INFO: Retrieving Pricing Info for: v1-standard-2 13:11:17 INFO: Archiving Costs [Pipeline] echo 13:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:17 ---> logs-deploy.sh 13:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-162/1 13:11:17 INFO: archiving workspace using pattern(s): 13:11:19 Archives upload complete. 13:11:19 INFO: archiving logs to Nexus 13:11:20 ---> uname -a: 13:11:20 Linux prd-centos7-docker-4c-2g-19244.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:11:20 13:11:20 13:11:20 ---> lscpu: 13:11:20 Architecture: x86_64 13:11:20 CPU op-mode(s): 32-bit, 64-bit 13:11:20 Byte Order: Little Endian 13:11:20 Address sizes: 40 bits physical, 48 bits virtual 13:11:20 CPU(s): 4 13:11:20 On-line CPU(s) list: 0-3 13:11:20 Thread(s) per core: 1 13:11:20 Core(s) per socket: 1 13:11:20 Socket(s): 4 13:11:20 NUMA node(s): 1 13:11:20 Vendor ID: GenuineIntel 13:11:20 CPU family: 6 13:11:20 Model: 44 13:11:20 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:11:20 Stepping: 1 13:11:20 CPU MHz: 2933.436 13:11:20 BogoMIPS: 5866.87 13:11:20 Virtualization: VT-x 13:11:20 Hypervisor vendor: KVM 13:11:20 Virtualization type: full 13:11:20 L1d cache: 128 KiB 13:11:20 L1i cache: 128 KiB 13:11:20 L2 cache: 16 MiB 13:11:20 L3 cache: 64 MiB 13:11:20 NUMA node0 CPU(s): 0-3 13:11:20 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:11:20 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:11:20 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:11:20 Vulnerability Meltdown: Mitigation; PTI 13:11:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:11:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:11:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:11:20 Vulnerability Srbds: Not affected 13:11:20 Vulnerability Tsx async abort: Not affected 13:11:20 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 13:11:20 13:11:20 13:11:20 ---> nproc: 13:11:20 4 13:11:20 13:11:20 13:11:20 ---> df -h: 13:11:20 Filesystem Size Used Available Use% Mounted on 13:11:20 overlay 50.0G 7.3G 42.7G 15% / 13:11:20 tmpfs 64.0M 0 64.0M 0% /dev 13:11:20 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:11:20 shm 64.0M 0 64.0M 0% /dev/shm 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-162 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-162@tmp 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:11:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:11:20 13:11:20 13:11:20 ---> free -m: 13:11:20 total used free shared buff/cache available 13:11:20 Mem: 1837 702 83 0 1051 1030 13:11:20 Swap: 1023 0 1023 13:11:20 13:11:20 13:11:20 ---> ip addr: 13:11:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:11:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:11:20 inet 127.0.0.1/8 scope host lo 13:11:20 valid_lft forever preferred_lft forever 13:11:20 inet6 ::1/128 scope host 13:11:20 valid_lft forever preferred_lft forever 13:11:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:11:20 link/ether fa:16:3e:84:8b:ad brd ff:ff:ff:ff:ff:ff 13:11:20 inet 10.30.122.77/23 brd 10.30.123.255 scope global dynamic eth0 13:11:20 valid_lft 85942sec preferred_lft 85942sec 13:11:20 inet6 fe80::f816:3eff:fe84:8bad/64 scope link 13:11:20 valid_lft forever preferred_lft forever 13:11:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:11:20 link/ether 02:42:8b:64:a7:ae brd ff:ff:ff:ff:ff:ff 13:11:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:11:20 valid_lft forever preferred_lft forever 13:11:20 inet6 fe80::42:8bff:fe64:a7ae/64 scope link 13:11:20 valid_lft forever preferred_lft forever 13:11:20 13:11:20 13:11:20 ---> sar -b -r -n DEV: 13:11:20 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:11:20 13:11:20 13:03:31 LINUX RESTART (4 CPU) 13:11:20 13:11:20 13:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:11:20 13:05:01 59.66 21.12 38.54 0.00 5577.81 3601.58 0.00 13:11:20 13:06:01 0.65 0.00 0.65 0.00 0.00 12.11 0.00 13:11:20 13:07:01 0.27 0.00 0.27 0.00 0.00 3.75 0.00 13:11:20 13:08:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 13:11:20 13:09:01 0.23 0.00 0.23 0.00 0.00 3.65 0.00 13:11:20 13:10:01 0.35 0.00 0.35 0.00 0.00 5.85 0.00 13:11:20 13:11:01 73.07 51.45 21.62 0.00 4255.26 7197.84 0.00 13:11:20 Average: 19.22 10.37 8.85 0.00 1405.66 1547.56 0.00 13:11:20 13:11:20 13:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:11:20 13:05:01 168156 0 572416 30.42 2620 1138352 1109432 37.86 405968 1108680 132 13:11:20 13:06:01 175556 0 564836 30.02 2620 1138532 1066644 36.40 400948 1106960 20 13:11:20 13:07:01 173856 0 566532 30.11 2620 1138536 1060656 36.20 411576 1098640 20 13:11:20 13:08:01 173544 0 566844 30.13 2620 1138536 1060620 36.20 411404 1098640 20 13:11:20 13:09:01 172276 0 568104 30.19 2620 1138544 1060680 36.20 420900 1090808 20 13:11:20 13:10:01 170788 0 569588 30.27 2620 1138548 1060572 36.20 423168 1090808 16 13:11:20 13:11:01 81600 0 680584 36.17 2620 1116740 1488284 50.79 537140 1029284 36664 13:11:20 Average: 159397 0 584129 31.05 2620 1135398 1129555 38.55 430158 1089117 5270 13:11:20 13:11:20 13:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:11:20 13:05:01 eth0 566.72 359.76 1034.27 96.41 0.00 0.00 0.00 0.00 13:11:20 13:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:05:01 docker0 1.80 1.76 0.38 3.61 0.00 0.00 0.00 0.00 13:11:20 13:06:01 eth0 2.05 0.92 1.63 0.07 0.00 0.00 0.00 0.00 13:11:20 13:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:07:01 eth0 1.18 0.50 0.33 0.21 0.00 0.00 0.00 0.00 13:11:20 13:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:08:01 eth0 1.98 0.58 0.64 0.37 0.00 0.00 0.00 0.00 13:11:20 13:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:09:01 eth0 2.58 0.83 0.92 0.59 0.00 0.00 0.00 0.00 13:11:20 13:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:10:01 eth0 1.83 0.65 0.74 0.49 0.00 0.00 0.00 0.00 13:11:20 13:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:11:01 eth0 209.47 166.11 2170.02 17.28 0.00 0.00 0.00 0.00 13:11:20 13:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 13:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 Average: eth0 112.34 75.68 458.59 16.50 0.00 0.00 0.00 0.00 13:11:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:20 Average: docker0 0.26 0.25 0.05 0.52 0.00 0.00 0.00 0.00 13:11:20 13:11:20 13:11:20 ---> sar -P ALL: 13:11:20 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:11:20 13:11:20 13:03:31 LINUX RESTART (4 CPU) 13:11:20 13:11:20 13:04:01 CPU %user %nice %system %iowait %steal %idle 13:11:20 13:05:01 all 10.58 0.00 3.55 1.05 0.06 84.75 13:11:20 13:05:01 0 8.16 0.00 4.33 0.35 0.07 87.09 13:11:20 13:05:01 1 10.60 0.00 3.65 1.16 0.05 84.53 13:11:20 13:05:01 2 11.25 0.00 3.02 0.78 0.07 84.89 13:11:20 13:05:01 3 12.34 0.00 3.19 1.93 0.05 82.49 13:11:20 13:06:01 all 0.18 0.00 0.05 0.00 0.01 99.76 13:11:20 13:06:01 0 0.05 0.00 0.03 0.00 0.00 99.92 13:11:20 13:06:01 1 0.32 0.00 0.05 0.00 0.02 99.62 13:11:20 13:06:01 2 0.10 0.00 0.05 0.00 0.02 99.83 13:11:20 13:06:01 3 0.23 0.00 0.08 0.00 0.02 99.67 13:11:20 13:07:01 all 0.19 0.00 0.16 0.00 0.01 99.64 13:11:20 13:07:01 0 0.08 0.00 0.18 0.00 0.02 99.72 13:11:20 13:07:01 1 0.48 0.00 0.10 0.00 0.00 99.42 13:11:20 13:07:01 2 0.10 0.00 0.23 0.00 0.02 99.65 13:11:20 13:07:01 3 0.08 0.00 0.13 0.00 0.00 99.78 13:11:20 13:08:01 all 0.18 0.00 0.04 0.00 0.00 99.77 13:11:20 13:08:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:11:20 13:08:01 1 0.15 0.00 0.07 0.00 0.00 99.78 13:11:20 13:08:01 2 0.55 0.00 0.02 0.00 0.00 99.43 13:11:20 13:08:01 3 0.02 0.00 0.05 0.00 0.00 99.93 13:11:20 13:09:01 all 0.18 0.00 0.07 0.00 0.02 99.73 13:11:20 13:09:01 0 0.23 0.00 0.03 0.00 0.02 99.72 13:11:20 13:09:01 1 0.08 0.00 0.05 0.00 0.02 99.85 13:11:20 13:09:01 2 0.40 0.00 0.15 0.00 0.02 99.43 13:11:20 13:09:01 3 0.02 0.00 0.03 0.00 0.02 99.93 13:11:20 13:10:01 all 0.17 0.00 0.05 0.00 0.01 99.77 13:11:20 13:10:01 0 0.53 0.00 0.03 0.00 0.00 99.43 13:11:20 13:10:01 1 0.03 0.00 0.05 0.00 0.00 99.92 13:11:20 13:10:01 2 0.08 0.00 0.07 0.00 0.02 99.83 13:11:20 13:10:01 3 0.05 0.00 0.05 0.00 0.02 99.88 13:11:20 13:11:01 all 3.66 0.00 2.49 1.43 0.17 92.25 13:11:20 13:11:01 0 3.82 0.00 2.37 1.63 0.13 92.03 13:11:20 13:11:01 1 3.94 0.00 2.70 2.26 0.20 90.90 13:11:20 13:11:01 2 3.60 0.00 2.41 1.72 0.19 92.09 13:11:20 13:11:01 3 3.28 0.00 2.47 0.13 0.17 93.95 13:11:20 Average: all 2.15 0.00 0.91 0.35 0.04 96.55 13:11:20 Average: 0 1.83 0.00 1.00 0.28 0.03 96.86 13:11:20 Average: 1 2.22 0.00 0.95 0.48 0.04 96.31 13:11:20 Average: 2 2.28 0.00 0.84 0.35 0.05 96.48 13:11:20 Average: 3 2.27 0.00 0.85 0.29 0.04 96.55 13:11:20 13:11:20 13:11:20