Pull request #158 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e73fe6918ff61e26496115ae3c80a841750f15d3+61a361d9b68ffcf858458df79d4a2319d2580f82 (d4a8e844c242aca147c6de3aab35296c4f8ad26c) 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-158/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-158/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16589 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 Merge succeeded, producing e73fe6918ff61e26496115ae3c80a841750f15d3 Checking out Revision e73fe6918ff61e26496115ae3c80a841750f15d3 (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # 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 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 Commit message: "ci: standardize dockerfiles" 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 19:17:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:17:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:17:43 ========================================================= 19:17:43 EdgeX Global Pipelines Version Info 19:17:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:17:44 ------------------- 19:17:44 stable info: 19:17:44 ------------------- 19:17:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:17:44 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:17:44 Message: update stable to v1.0.173 19:17:45 ------------------- 19:17:45 experimental info: 19:17:45 ------------------- 19:17:45 Commited By: **** collab-it+edgex@linuxfoundation.org 19:17:45 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:17:45 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:17:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:17:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 19:17:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e73fe6918ff61e26496115ae3c80a841750f15d3 [Pipeline] echo 19:17:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e73fe69 [Pipeline] echo 19:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:17:50 provisioning config files... 19:17:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config7069532095110948730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:51 ---> docker-login.sh 19:17:51 nexus3.edgexfoundry.org:10001 19:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:51 Configure a credential helper to remove this warning. See 19:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:51 19:17:51 Login Succeeded 19:17:51 nexus3.edgexfoundry.org:10002 19:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:51 Configure a credential helper to remove this warning. See 19:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:51 19:17:51 Login Succeeded 19:17:51 nexus3.edgexfoundry.org:10003 19:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:51 Configure a credential helper to remove this warning. See 19:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:51 19:17:51 Login Succeeded 19:17:51 nexus3.edgexfoundry.org:10004 19:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:52 Configure a credential helper to remove this warning. See 19:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:52 19:17:52 Login Succeeded 19:17:52 docker.io 19:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:52 Configure a credential helper to remove this warning. See 19:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:52 19:17:52 Login Succeeded 19:17:52 ---> docker-login.sh ends [Pipeline] } 19:17:52 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 19:17:53 + git log --format=format:%s -1 e73fe6918ff61e26496115ae3c80a841750f15d3 [Pipeline] echo 19:17:53 GIT_COMMIT: e73fe6918ff61e26496115ae3c80a841750f15d3, Commit Message: ci: standardize dockerfiles [Pipeline] echo 19:17:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:54 19:17:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:17:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:54 latest: Pulling from edgex-devops/git-semver 19:17:54 31603596830f: Pulling fs layer 19:17:54 2a8b12db71e7: Pulling fs layer 19:17:54 6ca5941a6612: Pulling fs layer 19:17:54 ecc8261a40a4: Pulling fs layer 19:17:54 ecc8261a40a4: Waiting 19:17:54 2a8b12db71e7: Verifying Checksum 19:17:54 2a8b12db71e7: Download complete 19:17:54 31603596830f: Verifying Checksum 19:17:54 31603596830f: Download complete 19:17:55 ecc8261a40a4: Verifying Checksum 19:17:55 ecc8261a40a4: Download complete 19:17:55 6ca5941a6612: Verifying Checksum 19:17:55 6ca5941a6612: Download complete 19:17:55 31603596830f: Pull complete 19:17:55 2a8b12db71e7: Pull complete 19:17:56 6ca5941a6612: Pull complete 19:17:56 ecc8261a40a4: Pull complete 19:17:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:17:56 prd-centos7-docker-4c-2g-16589 does not seem to be running inside a container 19:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:17:58 $ docker top bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:59 [ssh-agent] Looking for ssh-agent implementation... 19:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:59 $ docker exec bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba ssh-agent 19:17:59 SSH_AUTH_SOCK=/tmp/ssh-WRcbNUrhOCDW/agent.11 19:17:59 SSH_AGENT_PID=16 19:17:59 Running ssh-add (command line suppressed) 19:17:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_8485344925221359533.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_8485344925221359533.key) 19:17:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:00 + git tag --points-at HEAD [Pipeline] } 19:18:00 $ docker exec --env ******** --env ******** bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba ssh-agent -k 19:18:00 unset SSH_AUTH_SOCK; 19:18:00 unset SSH_AGENT_PID; 19:18:00 echo Agent pid 16 killed; 19:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:18:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:01 [ssh-agent] Looking for ssh-agent implementation... 19:18:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:01 $ docker exec bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba ssh-agent 19:18:01 SSH_AUTH_SOCK=/tmp/ssh-FfdxObByOiSQ/agent.44 19:18:01 SSH_AGENT_PID=49 19:18:01 Running ssh-add (command line suppressed) 19:18:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_5163613046714282641.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_5163613046714282641.key) 19:18:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:01 + git semver init 19:18:01 # -> Open(): unable to determine branch for HEAD 19:18:01 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.git 19:18:01 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-158 19:18:01 # $SEMVER_REMOTE_NAME = origin 19:18:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:18:01 # $SEMVER_USER_NAME = edgex-jenkins 19:18:01 # $SEMVER_BRANCH = PR-158 19:18:01 # $SEMVER_TEMP = /tmp/semver-269695772 19:18:01 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:18:03 # '/tmp/semver-269695772' -> '/w/workspace/foundry_device-virtual-go_PR-158/.semver' 19:18:03 # -> Force: false 19:18:03 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.semver [Pipeline] } 19:18:03 $ docker exec --env ******** --env ******** bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba ssh-agent -k 19:18:03 unset SSH_AUTH_SOCK; 19:18:03 unset SSH_AGENT_PID; 19:18:03 echo Agent pid 49 killed; 19:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:18:04 + git semver [Pipeline] } 19:18:04 $ docker stop --time=1 bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba 19:18:05 $ docker rm -f bde1cecbc4f919be61336cf1279d95f805cb93d578ef3c04637fa025528d52ba [Pipeline] // withDockerContainer [Pipeline] sh 19:18:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:18:06 Stashed 1 file(s) [Pipeline] echo 19:18:06 [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 19:18:23 Still waiting to schedule task 19:18:23 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16564’ is offline; ‘prd-centos7-docker-4c-2g-16567’ is offline; ‘prd-centos7-docker-4c-2g-16571’ is offline; ‘prd-centos7-docker-4c-2g-16577’ is offline; ‘prd-centos7-docker-4c-2g-16579’ is offline; ‘prd-centos7-docker-4c-2g-16582’ is offline; ‘prd-centos7-docker-4c-2g-16586’ is offline; ‘prd-centos7-docker-4c-2g-16591’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-16583’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16581’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16585’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16590’ doesn’t have label ‘centos7-docker-4c-2g’ 19:18:23 Still waiting to schedule task 19:18:23 ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16564’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16567’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16571’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16577’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16579’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16582’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16586’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16591’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-16583’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16581’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16585’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16590’ is offline 19:19:47 Running on prd-centos7-docker-4c-2g-16592 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 19:19:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:19:49 using credential edgex-jenkins-ssh 19:19:49 Cloning the remote Git repository 19:19:49 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:19:49 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:19:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:19:49 > git --version # timeout=10 19:19:49 > git --version # 'git version 2.24.3' 19:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:19:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:19:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:19:50 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 19:19:50 Merge succeeded, producing e73fe6918ff61e26496115ae3c80a841750f15d3 19:19:50 Checking out Revision e73fe6918ff61e26496115ae3c80a841750f15d3 (PR-158) 19:19:50 > git config core.sparsecheckout # timeout=10 19:19:50 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 19:19:50 > git remote # timeout=10 19:19:50 > git config --get remote.origin.url # timeout=10 19:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:50 > git merge 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 19:19:50 > git rev-parse HEAD^{commit} # timeout=10 19:19:51 > git config core.sparsecheckout # timeout=10 19:19:51 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 19:19:54 Commit message: "ci: standardize dockerfiles" 19:19:54 > git --version # timeout=10 19:19:54 > git --version # 'git version 2.24.3' 19:19:54 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:19:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:19:56 + sudo service docker restart 19:19:56 + true 19:19:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:19:58 provisioning config files... 19:19:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8454557597027737884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:58 ---> docker-login.sh 19:19:58 nexus3.edgexfoundry.org:10001 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 nexus3.edgexfoundry.org:10002 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 nexus3.edgexfoundry.org:10003 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 nexus3.edgexfoundry.org:10004 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 docker.io 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 ---> docker-login.sh ends [Pipeline] } 19:19:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:00 ========================================================= 19:20:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:20:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:20:00 + 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 . 19:20:00 Sending build context to Docker daemon 489kB 19:20:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:20:00 Step 2/8 : FROM ${BASE} 19:20:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:20:01 188c0c94c7c5: Pulling fs layer 19:20:01 0ef7d3d256c8: Pulling fs layer 19:20:01 de9db76c5a1d: Pulling fs layer 19:20:01 bca2f99d35d6: Pulling fs layer 19:20:01 93359f2a8cfa: Pulling fs layer 19:20:01 7c6f9722023f: Pulling fs layer 19:20:01 a35cf1a2eb13: Pulling fs layer 19:20:01 93359f2a8cfa: Waiting 19:20:01 7c6f9722023f: Waiting 19:20:01 a35cf1a2eb13: Waiting 19:20:01 bca2f99d35d6: Waiting 19:20:01 de9db76c5a1d: Verifying Checksum 19:20:01 de9db76c5a1d: Download complete 19:20:01 0ef7d3d256c8: Verifying Checksum 19:20:01 0ef7d3d256c8: Download complete 19:20:01 93359f2a8cfa: Download complete 19:20:01 7c6f9722023f: Verifying Checksum 19:20:01 7c6f9722023f: Download complete 19:20:01 188c0c94c7c5: Verifying Checksum 19:20:01 188c0c94c7c5: Download complete 19:20:02 188c0c94c7c5: Pull complete 19:20:02 0ef7d3d256c8: Pull complete 19:20:02 de9db76c5a1d: Pull complete 19:20:03 a35cf1a2eb13: Verifying Checksum 19:20:03 a35cf1a2eb13: Download complete 19:20:03 bca2f99d35d6: Verifying Checksum 19:20:03 bca2f99d35d6: Download complete 19:20:09 bca2f99d35d6: Pull complete 19:20:09 93359f2a8cfa: Pull complete 19:20:09 7c6f9722023f: Pull complete 19:20:14 a35cf1a2eb13: Pull complete 19:20:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:20:14 ---> a62c8e92a672 19:20:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:20:15 ---> Running in b176ecd793ef 19:20:15 Removing intermediate container b176ecd793ef 19:20:15 ---> 0deaf7357ef6 19:20:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:15 ---> Running in c6bd31335864 19:20:16 Removing intermediate container c6bd31335864 19:20:16 ---> ec89691ac692 19:20:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:20:16 ---> Running in 6e531b6c1bdf 19:20:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:20:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:20:18 (1/14) Installing libmagic (5.38-r0) 19:20:19 (2/14) Installing file (5.38-r0) 19:20:19 (3/14) Installing libc-dev (0.7.2-r3) 19:20:19 (4/14) Installing g++ (9.3.0-r2) 19:20:23 (5/14) Installing fortify-headers (1.1-r0) 19:20:23 (6/14) Installing patch (2.7.6-r6) 19:20:23 (7/14) Installing build-base (0.5-r2) 19:20:23 (8/14) Installing openssh-keygen (8.3_p1-r1) 19:20:23 (9/14) Installing libedit (20191231.3.1-r0) 19:20:23 (10/14) Installing openssh-client (8.3_p1-r1) 19:20:23 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 19:20:23 (12/14) Installing openssh-server-common (8.3_p1-r1) 19:20:23 (13/14) Installing openssh-server (8.3_p1-r1) 19:20:24 (14/14) Installing openssh (8.3_p1-r1) 19:20:24 Executing busybox-1.31.1-r19.trigger 19:20:24 OK: 237 MiB in 53 packages 19:20:27 Removing intermediate container 6e531b6c1bdf 19:20:27 ---> 6fe1fee72a19 19:20:27 Step 6/8 : WORKDIR /device-virtual-go 19:20:27 ---> Running in 0f0df6affa87 19:20:27 Removing intermediate container 0f0df6affa87 19:20:27 ---> 0dd983944a95 19:20:27 Step 7/8 : COPY . . 19:20:28 ---> 05e35e6346f8 19:20:28 Step 8/8 : RUN go mod download 19:20:28 ---> Running in 22209d7d16d9 19:20:50 Removing intermediate container 22209d7d16d9 19:20:50 ---> c3021c7769d4 19:20:50 Successfully built c3021c7769d4 19:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:20:50 + docker inspect -f . ci-base-image-x86_64 19:20:50 . [Pipeline] withDockerContainer 19:20:50 prd-centos7-docker-4c-2g-16592 does not seem to be running inside a container 19:20:50 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:51 $ docker top be9f1ad52b90ba3465b863ff83c59d215f63c40a202f78258c479fbe60dcd322 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:52 + go version 19:20:52 go version go1.15.5 linux/amd64 [Pipeline] } 19:20:52 $ docker stop --time=1 be9f1ad52b90ba3465b863ff83c59d215f63c40a202f78258c479fbe60dcd322 19:20:53 $ docker rm -f be9f1ad52b90ba3465b863ff83c59d215f63c40a202f78258c479fbe60dcd322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:20:54 + docker inspect -f . ci-base-image-x86_64 19:20:54 . [Pipeline] withDockerContainer 19:20:54 prd-centos7-docker-4c-2g-16592 does not seem to be running inside a container 19:20:54 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:55 $ docker top 34453d264155de470fdc8ab23c5d33c57790b57c772d616dd7014a2a31579b45 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:56 + make test 19:20:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:20:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:21:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:21:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.354s coverage: 64.4% of statements 19:21:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:21:16 gofmt -l . 19:21:16 [ "`gofmt -l .`" = "" ] 19:21:16 ./bin/test-attribution-txt.sh 19:21:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:21:16 $ docker stop --time=1 34453d264155de470fdc8ab23c5d33c57790b57c772d616dd7014a2a31579b45 19:21:18 $ docker rm -f 34453d264155de470fdc8ab23c5d33c57790b57c772d616dd7014a2a31579b45 [Pipeline] // withDockerContainer [Pipeline] sh 19:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:21:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:21:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:21:20 + ls -al . 19:21:20 total 124 19:21:20 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 17 19:21 . 19:21:20 drwxrwxr-x. 4 jenkins jenkins 28 Dec 17 19:19 .. 19:21:20 -rw-rw-r--. 1 jenkins jenkins 6713 Dec 17 19:19 Attribution.txt 19:21:20 drwxrwxr-x. 2 jenkins jenkins 64 Dec 17 19:19 bin 19:21:20 drwxrwxr-x. 3 jenkins jenkins 32 Dec 17 19:19 cmd 19:21:20 -rw-r--r--. 1 jenkins jenkins 47242 Dec 17 19:21 coverage.out 19:21:20 -rw-rw-r--. 1 jenkins jenkins 1851 Dec 17 19:19 Dockerfile 19:21:20 -rw-rw-r--. 1 jenkins jenkins 961 Dec 17 19:19 Dockerfile.build 19:21:20 drwxrwxr-x. 8 jenkins jenkins 179 Dec 17 19:19 .git 19:21:20 drwxrwxr-x. 2 jenkins jenkins 60 Dec 17 19:19 .github 19:21:20 -rw-rw-r--. 1 jenkins jenkins 258 Dec 17 19:19 .gitignore 19:21:20 -rw-r--r--. 1 jenkins jenkins 862 Dec 17 19:21 go.mod 19:21:20 -rw-r--r--. 1 jenkins jenkins 16358 Dec 17 19:21 go.sum 19:21:20 drwxrwxr-x. 3 jenkins jenkins 20 Dec 17 19:19 internal 19:21:20 -rw-rw-r--. 1 jenkins jenkins 660 Dec 17 19:19 Jenkinsfile 19:21:20 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 17 19:19 LICENSE 19:21:20 -rw-rw-r--. 1 jenkins jenkins 873 Dec 17 19:19 Makefile 19:21:20 -rw-rw-r--. 1 jenkins jenkins 918 Dec 17 19:19 README.md 19:21:20 -rw-rw-r--. 1 jenkins jenkins 5 Dec 17 19:18 VERSION 19:21:20 -rw-rw-r--. 1 jenkins jenkins 235 Dec 17 19:19 version.go [Pipeline] isUnix [Pipeline] sh 19:21:21 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e73fe6918ff61e26496115ae3c80a841750f15d3 --label arch=amd64 --label version=0.0.0 . 19:21:21 Sending build context to Docker daemon 554kB 19:21:21 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 19:21:21 Step 2/22 : FROM ${BASE} AS builder 19:21:21 ---> c3021c7769d4 19:21:21 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:21:21 ---> Running in fed0686b1290 19:21:21 Removing intermediate container fed0686b1290 19:21:21 ---> 583d9bcc525b 19:21:21 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:21:21 ---> Running in 6711c933b1b3 19:21:22 Removing intermediate container 6711c933b1b3 19:21:22 ---> 65e3ced162b4 19:21:22 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:21:22 ---> Running in a49cb88f89ac 19:21:22 Removing intermediate container a49cb88f89ac 19:21:22 ---> a316e6237002 19:21:22 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:22 ---> Running in 3f0db6750b5b 19:21:23 Removing intermediate container 3f0db6750b5b 19:21:23 ---> 332e8fe77451 19:21:23 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:21:23 ---> Running in 1933b6120561 19:21:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:21:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:21:24 OK: 237 MiB in 53 packages 19:21:25 Removing intermediate container 1933b6120561 19:21:25 ---> ae1c3704daf2 19:21:25 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:21:25 ---> Running in 453403ecab16 19:21:25 Removing intermediate container 453403ecab16 19:21:25 ---> ca30b451b667 19:21:25 Step 9/22 : COPY . . 19:21:26 ---> 0ff57ae7e3ea 19:21:26 Step 10/22 : ARG MAKE='make build' 19:21:26 ---> Running in bb147ec25bf6 19:21:26 Removing intermediate container bb147ec25bf6 19:21:26 ---> f6bab1eec4da 19:21:26 Step 11/22 : RUN $MAKE 19:21:26 ---> Running in a290b3beb4ef 19:21:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:21:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:21:42 Removing intermediate container a290b3beb4ef 19:21:42 ---> eb1b568dbe6a 19:21:42 Step 12/22 : FROM alpine:3.12 19:21:42 3.12: Pulling from library/alpine 19:21:42 801bfaa63ef2: Pulling fs layer 19:21:43 801bfaa63ef2: Verifying Checksum 19:21:43 801bfaa63ef2: Download complete 19:21:43 801bfaa63ef2: Pull complete 19:21:43 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:21:43 Status: Downloaded newer image for alpine:3.12 19:21:43 ---> 389fef711851 19:21:43 Step 13/22 : ENV APP_PORT=49990 19:21:43 ---> Running in a3d1a1775f5b 19:21:43 Removing intermediate container a3d1a1775f5b 19:21:43 ---> 4097b98394c0 19:21:43 Step 14/22 : EXPOSE $APP_PORT 19:21:43 ---> Running in d61d0a7fcd00 19:21:44 Removing intermediate container d61d0a7fcd00 19:21:44 ---> 09c7cc233a34 19:21:44 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:21:44 ---> 1c2070db30f9 19:21:44 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:21:44 ---> 171e4cc59ebe 19:21:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:21:44 ---> 18d24d79d851 19:21:44 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:21:45 ---> Running in ac89f2fc4dbb 19:21:45 Removing intermediate container ac89f2fc4dbb 19:21:45 ---> 5a324f11e347 19:21:45 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:21:45 ---> Running in 98b5aae28508 19:21:45 Removing intermediate container 98b5aae28508 19:21:45 ---> e1d4edb6ef03 19:21:45 Step 20/22 : LABEL arch=amd64 19:21:45 ---> Running in adfba903a430 19:21:45 Removing intermediate container adfba903a430 19:21:45 ---> c0159f14f318 19:21:45 Step 21/22 : LABEL git_sha=e73fe6918ff61e26496115ae3c80a841750f15d3 19:21:45 ---> Running in d960d9b6756c 19:21:45 Removing intermediate container d960d9b6756c 19:21:45 ---> 9d68510ecd02 19:21:45 Step 22/22 : LABEL version=0.0.0 19:21:45 ---> Running in 3ab37be2b532 19:21:45 Removing intermediate container 3ab37be2b532 19:21:45 ---> a245bebee738 19:21:45 [Warning] One or more build-args [ARCH] were not consumed 19:21:45 Successfully built a245bebee738 19:21:45 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] } 19:22:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16595 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 19:22:25 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:22:30 using credential edgex-jenkins-ssh 19:22:30 Cloning the remote Git repository 19:22:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:22:31 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:22:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:22:31 > git --version # timeout=10 19:22:31 > git --version # 'git version 2.17.1' 19:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:22:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:22:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:22:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:22:33 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 19:22:33 Merge succeeded, producing e73fe6918ff61e26496115ae3c80a841750f15d3 19:22:33 Checking out Revision e73fe6918ff61e26496115ae3c80a841750f15d3 (PR-158) 19:22:33 > git config core.sparsecheckout # timeout=10 19:22:33 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 19:22:33 > git remote # timeout=10 19:22:33 > git config --get remote.origin.url # timeout=10 19:22:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:33 > git merge 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 19:22:33 > git rev-parse HEAD^{commit} # timeout=10 19:22:33 > git config core.sparsecheckout # timeout=10 19:22:33 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 19:22:37 Commit message: "ci: standardize dockerfiles" 19:22:37 > git --version # timeout=10 19:22:37 > git --version # 'git version 2.17.1' 19:22:37 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:22:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:22:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:22:40 + sudo+ service docker restart 19:22:40 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:22:43 provisioning config files... 19:22:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2737499567179570945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:43 ---> docker-login.sh 19:22:43 nexus3.edgexfoundry.org:10001 19:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:45 Configure a credential helper to remove this warning. See 19:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:45 19:22:45 Login Succeeded 19:22:45 nexus3.edgexfoundry.org:10002 19:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:45 Configure a credential helper to remove this warning. See 19:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:45 19:22:45 Login Succeeded 19:22:45 nexus3.edgexfoundry.org:10003 19:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:46 Configure a credential helper to remove this warning. See 19:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:46 19:22:46 Login Succeeded 19:22:46 nexus3.edgexfoundry.org:10004 19:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:46 Configure a credential helper to remove this warning. See 19:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:46 19:22:46 Login Succeeded 19:22:46 docker.io 19:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:47 Configure a credential helper to remove this warning. See 19:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:47 19:22:47 Login Succeeded 19:22:47 ---> docker-login.sh ends [Pipeline] } 19:22:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:22:47 ========================================================= 19:22:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:22:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:22:48 + 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 . 19:22:48 Sending build context to Docker daemon 487.9kB 19:22:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:22:48 Step 2/8 : FROM ${BASE} 19:22:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:22:48 5f621e34cdf4: Pulling fs layer 19:22:48 a4357932f1b6: Pulling fs layer 19:22:48 18c013af1878: Pulling fs layer 19:22:48 00ac8860ef70: Pulling fs layer 19:22:48 63d7cb157983: Pulling fs layer 19:22:48 b116817d02f9: Pulling fs layer 19:22:48 745a02a5169b: Pulling fs layer 19:22:48 63d7cb157983: Waiting 19:22:48 b116817d02f9: Waiting 19:22:48 745a02a5169b: Waiting 19:22:48 00ac8860ef70: Waiting 19:22:48 18c013af1878: Download complete 19:22:48 a4357932f1b6: Verifying Checksum 19:22:48 a4357932f1b6: Download complete 19:22:48 63d7cb157983: Verifying Checksum 19:22:48 63d7cb157983: Download complete 19:22:48 b116817d02f9: Verifying Checksum 19:22:48 b116817d02f9: Download complete 19:22:49 5f621e34cdf4: Verifying Checksum 19:22:49 5f621e34cdf4: Download complete 19:22:49 5f621e34cdf4: Pull complete 19:22:50 a4357932f1b6: Pull complete 19:22:50 18c013af1878: Pull complete 19:22:51 745a02a5169b: Verifying Checksum 19:22:51 745a02a5169b: Download complete 19:22:52 00ac8860ef70: Verifying Checksum 19:22:52 00ac8860ef70: Download complete 19:23:02 00ac8860ef70: Pull complete 19:23:02 63d7cb157983: Pull complete 19:23:03 b116817d02f9: Pull complete 19:23:07 745a02a5169b: Pull complete 19:23:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:23:07 ---> b7e6874047d6 19:23:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:23:10 ---> Running in 5ac1cc74af9c 19:23:10 Removing intermediate container 5ac1cc74af9c 19:23:10 ---> 2f17dc45c3d5 19:23:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:23:10 ---> Running in c3ce5c2a8b01 19:23:13 Removing intermediate container c3ce5c2a8b01 19:23:13 ---> 9cd31defe117 19:23:13 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:23:13 ---> Running in 609c970ec772 19:23:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:23:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:23:15 (1/14) Installing libmagic (5.38-r0) 19:23:15 (2/14) Installing file (5.38-r0) 19:23:16 (3/14) Installing libc-dev (0.7.2-r3) 19:23:16 (4/14) Installing g++ (9.3.0-r2) 19:23:19 (5/14) Installing fortify-headers (1.1-r0) 19:23:19 (6/14) Installing patch (2.7.6-r6) 19:23:19 (7/14) Installing build-base (0.5-r2) 19:23:19 (8/14) Installing openssh-keygen (8.3_p1-r1) 19:23:19 (9/14) Installing libedit (20191231.3.1-r0) 19:23:20 (10/14) Installing openssh-client (8.3_p1-r1) 19:23:20 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 19:23:20 (12/14) Installing openssh-server-common (8.3_p1-r1) 19:23:20 (13/14) Installing openssh-server (8.3_p1-r1) 19:23:20 (14/14) Installing openssh (8.3_p1-r1) 19:23:20 Executing busybox-1.31.1-r19.trigger 19:23:20 OK: 221 MiB in 53 packages 19:23:24 Removing intermediate container 609c970ec772 19:23:24 ---> f3781127bdad 19:23:24 Step 6/8 : WORKDIR /device-virtual-go 19:23:24 ---> Running in 658d9f026b5d 19:23:25 Removing intermediate container 658d9f026b5d 19:23:25 ---> 17439b4e356b 19:23:25 Step 7/8 : COPY . . 19:23:26 ---> e4500323bbed 19:23:26 Step 8/8 : RUN go mod download 19:23:26 ---> Running in 727926adb821 19:23:48 Removing intermediate container 727926adb821 19:23:48 ---> 6f6c11f3a95e 19:23:48 Successfully built 6f6c11f3a95e 19:23:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:23:48 + docker inspect -f . ci-base-image-arm64 19:23:48 . [Pipeline] withDockerContainer 19:23:49 prd-ubuntu18.04-docker-arm64-4c-16g-16595 does not seem to be running inside a container 19:23:49 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:23:50 $ docker top c1917310abec0995fdaf37b68bcba427ef6a6a896dadf4cad7fe201d1d959b02 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:51 + go version 19:23:51 go version go1.15.5 linux/arm64 [Pipeline] } 19:23:51 $ docker stop --time=1 c1917310abec0995fdaf37b68bcba427ef6a6a896dadf4cad7fe201d1d959b02 19:23:53 $ docker rm -f c1917310abec0995fdaf37b68bcba427ef6a6a896dadf4cad7fe201d1d959b02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:23:55 + docker inspect -f . ci-base-image-arm64 19:23:55 . [Pipeline] withDockerContainer 19:23:55 prd-ubuntu18.04-docker-arm64-4c-16g-16595 does not seem to be running inside a container 19:23:55 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:23:57 $ docker top 256ec90e82306440fac7a6d4c17c838be140d2b2a518c029aadcf1aaf2ab8a54 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:58 + make test 19:23:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:23:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:24:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:24:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.419s coverage: 64.4% of statements 19:24:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:24:54 gofmt -l . 19:24:54 [ "`gofmt -l .`" = "" ] 19:24:54 ./bin/test-attribution-txt.sh 19:24:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:24:56 $ docker stop --time=1 256ec90e82306440fac7a6d4c17c838be140d2b2a518c029aadcf1aaf2ab8a54 19:24:58 $ docker rm -f 256ec90e82306440fac7a6d4c17c838be140d2b2a518c029aadcf1aaf2ab8a54 [Pipeline] // withDockerContainer [Pipeline] sh 19:24:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:24:59 Warning: overwriting stash ‘coverage-report’ 19:25:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:01 + ls -al . 19:25:01 total 148 19:25:01 drwxrwxr-x 7 jenkins jenkins 4096 Dec 17 19:24 . 19:25:01 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:22 .. 19:25:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:22 .git 19:25:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:22 .github 19:25:01 -rw-rw-r-- 1 jenkins jenkins 258 Dec 17 19:22 .gitignore 19:25:01 -rw-rw-r-- 1 jenkins jenkins 6713 Dec 17 19:22 Attribution.txt 19:25:01 -rw-rw-r-- 1 jenkins jenkins 1851 Dec 17 19:22 Dockerfile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 961 Dec 17 19:22 Dockerfile.build 19:25:01 -rw-rw-r-- 1 jenkins jenkins 660 Dec 17 19:22 Jenkinsfile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 17 19:22 LICENSE 19:25:01 -rw-rw-r-- 1 jenkins jenkins 873 Dec 17 19:22 Makefile 19:25:01 -rw-rw-r-- 1 jenkins jenkins 918 Dec 17 19:22 README.md 19:25:01 -rw-rw-r-- 1 jenkins jenkins 5 Dec 17 19:18 VERSION 19:25:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:22 bin 19:25:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 19:22 cmd 19:25:01 -rw-r--r-- 1 jenkins jenkins 47242 Dec 17 19:24 coverage.out 19:25:01 -rw-r--r-- 1 jenkins jenkins 862 Dec 17 19:24 go.mod 19:25:01 -rw-r--r-- 1 jenkins jenkins 16358 Dec 17 19:24 go.sum 19:25:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 19:22 internal 19:25:01 -rw-rw-r-- 1 jenkins jenkins 235 Dec 17 19:22 version.go [Pipeline] isUnix [Pipeline] sh 19:25:02 + 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=e73fe6918ff61e26496115ae3c80a841750f15d3 --label arch=arm64 --label version=0.0.0 . 19:25:02 Sending build context to Docker daemon 553kB 19:25:02 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 19:25:02 Step 2/22 : FROM ${BASE} AS builder 19:25:02 ---> 6f6c11f3a95e 19:25:02 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:25:02 ---> Running in d58e2685861c 19:25:03 Removing intermediate container d58e2685861c 19:25:03 ---> 92b7d4202d37 19:25:03 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:25:03 ---> Running in 114162a3ec6e 19:25:03 Removing intermediate container 114162a3ec6e 19:25:03 ---> c230fe3dc911 19:25:03 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:25:03 ---> Running in 87a3645c10a0 19:25:04 Removing intermediate container 87a3645c10a0 19:25:04 ---> 8f5c7cd6a68b 19:25:04 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:04 ---> Running in 5d51b2c2770f 19:25:06 Removing intermediate container 5d51b2c2770f 19:25:06 ---> 7b7bd8334741 19:25:06 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:06 ---> Running in 8dadcdb0bfe3 19:25:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:25:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:25:09 OK: 221 MiB in 53 packages 19:25:10 Removing intermediate container 8dadcdb0bfe3 19:25:10 ---> 8b01ab22f9e4 19:25:10 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:25:10 ---> Running in 65094c98cec2 19:25:10 Removing intermediate container 65094c98cec2 19:25:10 ---> 5a1dfcfcff1a 19:25:10 Step 9/22 : COPY . . 19:25:11 ---> c28e4391075e 19:25:11 Step 10/22 : ARG MAKE='make build' 19:25:11 ---> Running in 839b9026a572 19:25:12 Removing intermediate container 839b9026a572 19:25:12 ---> 5746e2b30d04 19:25:12 Step 11/22 : RUN $MAKE 19:25:12 ---> Running in ff0b2aae97fd 19:25:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:25:52 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:25:53 Removing intermediate container ff0b2aae97fd 19:25:53 ---> c6c0f560d292 19:25:53 Step 12/22 : FROM alpine:3.12 19:25:54 3.12: Pulling from library/alpine 19:25:54 159e5727ea61: Pulling fs layer 19:25:54 159e5727ea61: Download complete 19:25:55 159e5727ea61: Pull complete 19:25:55 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:25:55 Status: Downloaded newer image for alpine:3.12 19:25:55 ---> afeebe901d6b 19:25:55 Step 13/22 : ENV APP_PORT=49990 19:25:55 ---> Running in 992a26e9599d 19:25:55 Removing intermediate container 992a26e9599d 19:25:55 ---> 3d6c987fef34 19:25:55 Step 14/22 : EXPOSE $APP_PORT 19:25:55 ---> Running in 7487eb8d3457 19:25:56 Removing intermediate container 7487eb8d3457 19:25:56 ---> f89e27c8b887 19:25:56 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:25:57 ---> 2eaa5e46f335 19:25:57 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:25:58 ---> 1045712cb299 19:25:58 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:25:59 ---> bc6af2b0721c 19:25:59 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:25:59 ---> Running in 46c6574dec06 19:25:59 Removing intermediate container 46c6574dec06 19:25:59 ---> 0faec020373a 19:25:59 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:25:59 ---> Running in ea95fc06546e 19:26:00 Removing intermediate container ea95fc06546e 19:26:00 ---> ab7fdecb7064 19:26:00 Step 20/22 : LABEL arch=arm64 19:26:00 ---> Running in 05103b616120 19:26:00 Removing intermediate container 05103b616120 19:26:00 ---> 6be7b793638a 19:26:00 Step 21/22 : LABEL git_sha=e73fe6918ff61e26496115ae3c80a841750f15d3 19:26:00 ---> Running in f9403207ca03 19:26:01 Removing intermediate container f9403207ca03 19:26:01 ---> b934ff88b882 19:26:01 Step 22/22 : LABEL version=0.0.0 19:26:01 ---> Running in dd7f030821e3 19:26:02 Removing intermediate container dd7f030821e3 19:26:02 ---> 7c0f03492dca 19:26:02 [Warning] One or more build-args [ARCH] were not consumed 19:26:02 Successfully built 7c0f03492dca 19:26:02 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 19:26:04 provisioning config files... 19:26:04 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config9067004917886688785tmp [Pipeline] { [Pipeline] sh 19:26:05 + set +x 19:26:05 + curl -s https://codecov.io/bash 19:26:05 + bash -s -- 19:26:05 19:26:05 _____ _ 19:26:05 / ____| | | 19:26:05 | | ___ __| | ___ ___ _____ __ 19:26:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:26:05 | |___| (_) | (_| | __/ (_| (_) \ V / 19:26:05 \_____\___/ \__,_|\___|\___\___/ \_/ 19:26:05 Bash-20201130-cc6d3fe 19:26:05 19:26:05 19:26:05 ==> Jenkins CI detected. 19:26:05 project root: . 19:26:05 --> token set from env 19:26:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:26:05 ==> Running gcov in . (disable via -X gcov) 19:26:05 ==> Python coveragepy not found 19:26:05 ==> Searching for coverage reports in: 19:26:05 + . 19:26:05 -> Found 1 reports 19:26:05 ==> Detecting git/mercurial file structure 19:26:05 ==> Reading reports 19:26:05 + ./coverage.out bytes=47242 19:26:05 ==> Appending adjustments 19:26:05 https://docs.codecov.io/docs/fixing-reports 19:26:05 + Found adjustments 19:26:05 ==> Gzipping contents 19:26:05 8.0K /tmp/codecov.o4VArb.gz 19:26:05 ==> Uploading reports 19:26:05 url: https://codecov.io 19:26:05 query: branch=PR-158&commit=e73fe6918ff61e26496115ae3c80a841750f15d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 19:26:05 -> Pinging Codecov 19:26:05 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-158&commit=e73fe6918ff61e26496115ae3c80a841750f15d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 19:26:06 -> Uploading to 19:26:06 https://storage.googleapis.com/codecov/v4/raw/2020-12-17/5E52B4B073DB2E39498172D8E973AA87/e73fe6918ff61e26496115ae3c80a841750f15d3/afc93b29-8052-4732-9731-e54af82d9f05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T192605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3b47ddda88c08333be9105a81470dafe45281abc9c707ff916fb1b8086f5a80 19:26:06 % Total % Received % Xferd Average Speed Time Time Time Current 19:26:06 Dload Upload Total Spent Left Speed 19:26:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5802 0 0 100 5802 0 14776 --:--:-- --:--:-- --:--:-- 14801 19:26:06 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e73fe6918ff61e26496115ae3c80a841750f15d3 [Pipeline] } 19:26:06 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 19:26:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:26:10 ---> package-listing.sh 19:26:10 ++ facter osfamily 19:26:10 ++ tr '[:upper:]' '[:lower:]' 19:26:10 + OS_FAMILY=redhat 19:26:10 + workspace=/w/workspace/foundry_device-virtual-go_PR-158 19:26:10 + START_PACKAGES=/tmp/packages_start.txt 19:26:10 + END_PACKAGES=/tmp/packages_end.txt 19:26:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:26:10 + PACKAGES=/tmp/packages_start.txt 19:26:10 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 19:26:10 + PACKAGES=/tmp/packages_end.txt 19:26:10 + case "${OS_FAMILY}" in 19:26:10 + rpm -qa 19:26:10 + sort 19:26:15 + '[' -f /tmp/packages_start.txt ']' 19:26:15 + '[' -f /tmp/packages_end.txt ']' 19:26:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:26:15 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 19:26:15 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-158/archives/ 19:26:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-158/archives/ [Pipeline] echo 19:26:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:26:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:26:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:26:16 19:26:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:26:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:26:17 alpine: Pulling from edgex-lftools-log-publisher 19:26:17 df20fa9351a1: Pulling fs layer 19:26:17 36b3adc4ff6f: Pulling fs layer 19:26:17 8ad3a11d3b57: Pulling fs layer 19:26:17 46f8f816bc3b: Pulling fs layer 19:26:17 93b61091891f: Pulling fs layer 19:26:17 93b9cdb0e59b: Pulling fs layer 19:26:17 5e14af77c1be: Pulling fs layer 19:26:17 01666e4c0597: Pulling fs layer 19:26:17 aa168da1d23b: Pulling fs layer 19:26:17 5e14af77c1be: Waiting 19:26:17 46f8f816bc3b: Waiting 19:26:17 01666e4c0597: Waiting 19:26:17 93b61091891f: Waiting 19:26:17 93b9cdb0e59b: Waiting 19:26:17 aa168da1d23b: Waiting 19:26:17 36b3adc4ff6f: Download complete 19:26:17 46f8f816bc3b: Verifying Checksum 19:26:17 46f8f816bc3b: Download complete 19:26:17 df20fa9351a1: Verifying Checksum 19:26:17 93b9cdb0e59b: Verifying Checksum 19:26:17 93b9cdb0e59b: Download complete 19:26:17 93b61091891f: Download complete 19:26:17 5e14af77c1be: Verifying Checksum 19:26:17 5e14af77c1be: Download complete 19:26:17 01666e4c0597: Verifying Checksum 19:26:17 01666e4c0597: Download complete 19:26:17 df20fa9351a1: Pull complete 19:26:17 36b3adc4ff6f: Pull complete 19:26:18 8ad3a11d3b57: Verifying Checksum 19:26:18 8ad3a11d3b57: Download complete 19:26:19 8ad3a11d3b57: Pull complete 19:26:19 46f8f816bc3b: Pull complete 19:26:19 93b61091891f: Pull complete 19:26:20 aa168da1d23b: Verifying Checksum 19:26:20 aa168da1d23b: Download complete 19:26:20 93b9cdb0e59b: Pull complete 19:26:21 5e14af77c1be: Pull complete 19:26:21 01666e4c0597: Pull complete 19:26:29 aa168da1d23b: Pull complete 19:26:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:26:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:26:29 prd-centos7-docker-4c-2g-16589 does not seem to be running inside a container 19:26:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:26:32 $ docker top fe7e2e2e8821ad36f5667e12d391d48d0ea0115ce94146653fb32d1ded6cf38a -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:33 + touch /tmp/pre-build-complete [Pipeline] sh 19:26:33 + mkdir -p /var/log/sa [Pipeline] sh 19:26:34 + ls /var/log/sa-host 19:26:34 + sadf -c /var/log/sa-host/sa17 19:26:34 file_magic: OK 19:26:34 HZ: Using current value: 100 19:26:34 file_header: OK 19:26:34 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 19:26:34 Statistics: 19:26:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:26:34 File successfully converted to sysstat format version 12.2.1 19:26:34 + sadf -c /var/log/sa-host/sa23 19:26:34 file_magic: OK 19:26:34 HZ: Using current value: 100 19:26:34 file_header: OK 19:26:34 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 19:26:34 Statistics: 19:26:34 Hnuu...uuuununununu... 19:26:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:34 provisioning config files... 19:26:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2336471960747156373tmp [Pipeline] { [Pipeline] echo 19:26:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:26:35 ---> create-netrc.sh [Pipeline] } 19:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:26:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:26:35 ---> python-tools-install.sh [Pipeline] echo 19:26:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:26:36 ---> sudo-logs.sh 19:26:36 Archiving 'sudo' log.. [Pipeline] echo 19:26:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:26:36 ---> job-cost.sh 19:26:36 lf-activate-venv: SKIPPING 19:26:36 INFO: No Stack... 19:26:37 INFO: Retrieving Pricing Info for: v1-standard-2 19:26:38 INFO: Archiving Costs [Pipeline] echo 19:26:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:26:38 ---> logs-deploy.sh 19:26:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-158/1 19:26:38 INFO: archiving workspace using pattern(s): 19:26:40 Archives upload complete. 19:26:40 INFO: archiving logs to Nexus 19:26:41 ---> uname -a: 19:26:41 Linux prd-centos7-docker-4c-2g-16589.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 19:26:41 19:26:41 19:26:41 ---> lscpu: 19:26:41 Architecture: x86_64 19:26:41 CPU op-mode(s): 32-bit, 64-bit 19:26:41 Byte Order: Little Endian 19:26:41 Address sizes: 40 bits physical, 48 bits virtual 19:26:41 CPU(s): 4 19:26:41 On-line CPU(s) list: 0-3 19:26:41 Thread(s) per core: 1 19:26:41 Core(s) per socket: 1 19:26:41 Socket(s): 4 19:26:41 NUMA node(s): 1 19:26:41 Vendor ID: GenuineIntel 19:26:41 CPU family: 6 19:26:41 Model: 44 19:26:41 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:26:41 Stepping: 1 19:26:41 CPU MHz: 2933.438 19:26:41 BogoMIPS: 5866.87 19:26:41 Virtualization: VT-x 19:26:41 Hypervisor vendor: KVM 19:26:41 Virtualization type: full 19:26:41 L1d cache: 128 KiB 19:26:41 L1i cache: 128 KiB 19:26:41 L2 cache: 16 MiB 19:26:41 L3 cache: 64 MiB 19:26:41 NUMA node0 CPU(s): 0-3 19:26:41 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:26:41 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:26:41 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:26:41 Vulnerability Meltdown: Mitigation; PTI 19:26:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:26:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:26:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:26:41 Vulnerability Srbds: Not affected 19:26:41 Vulnerability Tsx async abort: Not affected 19:26:41 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 19:26:41 19:26:41 19:26:41 ---> nproc: 19:26:41 4 19:26:41 19:26:41 19:26:41 ---> df -h: 19:26:41 Filesystem Size Used Available Use% Mounted on 19:26:41 overlay 50.0G 7.3G 42.7G 15% / 19:26:41 tmpfs 64.0M 0 64.0M 0% /dev 19:26:41 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:26:41 shm 64.0M 0 64.0M 0% /dev/shm 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158@tmp 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 19:26:41 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 19:26:41 19:26:41 19:26:41 ---> free -m: 19:26:41 total used free shared buff/cache available 19:26:41 Mem: 1837 709 78 0 1049 1022 19:26:41 Swap: 1023 0 1023 19:26:41 19:26:41 19:26:41 ---> ip addr: 19:26:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:26:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:26:41 inet 127.0.0.1/8 scope host lo 19:26:41 valid_lft forever preferred_lft forever 19:26:41 inet6 ::1/128 scope host 19:26:41 valid_lft forever preferred_lft forever 19:26:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:26:41 link/ether fa:16:3e:1d:8f:1e brd ff:ff:ff:ff:ff:ff 19:26:41 inet 10.30.122.140/23 brd 10.30.123.255 scope global dynamic eth0 19:26:41 valid_lft 85825sec preferred_lft 85825sec 19:26:41 inet6 fe80::f816:3eff:fe1d:8f1e/64 scope link 19:26:41 valid_lft forever preferred_lft forever 19:26:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:26:41 link/ether 02:42:30:c4:7d:c0 brd ff:ff:ff:ff:ff:ff 19:26:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:26:41 valid_lft forever preferred_lft forever 19:26:41 inet6 fe80::42:30ff:fec4:7dc0/64 scope link 19:26:41 valid_lft forever preferred_lft forever 19:26:41 19:26:41 19:26:41 ---> sar -b -r -n DEV: 19:26:41 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:26:41 19:26:41 19:16:54 LINUX RESTART (4 CPU) 19:26:41 19:26:41 19:18:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:26:41 19:19:01 5.71 0.45 5.26 0.00 34.23 139.34 0.00 19:26:41 19:20:01 0.73 0.00 0.73 0.00 0.00 11.24 0.00 19:26:41 19:21:01 0.15 0.00 0.15 0.00 0.00 1.75 0.00 19:26:41 19:22:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 19:26:41 19:23:01 0.28 0.00 0.28 0.00 0.00 3.81 0.00 19:26:41 19:24:01 0.27 0.00 0.27 0.00 0.00 3.26 0.00 19:26:41 19:25:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 19:26:41 19:26:01 0.20 0.00 0.20 0.00 0.00 2.56 0.00 19:26:41 Average: 0.98 0.06 0.92 0.00 4.29 20.92 0.00 19:26:41 19:26:41 19:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:26:41 19:19:01 155156 0 570328 30.31 2620 1153440 1115860 38.08 394024 1133768 20 19:26:41 19:20:01 156332 0 569144 30.25 2620 1153448 1085140 37.03 402608 1124752 8 19:26:41 19:21:01 156232 0 569240 30.25 2620 1153452 1085164 37.03 402876 1124644 8 19:26:41 19:22:01 155132 0 570340 30.31 2620 1153452 1085008 37.03 408056 1120252 8 19:26:41 19:23:01 155284 0 570180 30.30 2620 1153460 1085092 37.03 402892 1125992 20 19:26:41 19:24:01 154932 0 570528 30.32 2620 1153464 1085176 37.04 403228 1125992 20 19:26:41 19:25:01 155660 0 569772 30.28 2620 1153492 1085008 37.03 402504 1126000 28 19:26:41 19:26:01 155340 0 570112 30.30 2620 1153472 1085008 37.03 402324 1125992 16 19:26:41 Average: 155508 0 569956 30.29 2620 1153460 1088932 37.16 402314 1125924 16 19:26:41 19:26:41 19:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:26:41 19:19:01 eth0 16.46 10.52 17.61 4.48 0.00 0.00 0.00 0.00 19:26:41 19:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:19:01 docker0 1.61 1.38 0.34 3.49 0.00 0.00 0.00 0.00 19:26:41 19:20:01 eth0 1.51 0.32 0.36 0.20 0.00 0.00 0.00 0.00 19:26:41 19:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:21:01 eth0 1.50 0.52 0.60 0.39 0.00 0.00 0.00 0.00 19:26:41 19:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:22:01 eth0 0.83 0.08 0.07 0.01 0.00 0.00 0.00 0.00 19:26:41 19:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:23:01 eth0 1.38 0.43 0.46 0.27 0.00 0.00 0.00 0.00 19:26:41 19:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:24:01 eth0 0.70 0.53 0.39 0.21 0.00 0.00 0.00 0.00 19:26:41 19:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:25:01 eth0 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:26:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 19:26:41 19:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 19:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 Average: eth0 2.82 1.57 2.44 0.70 0.00 0.00 0.00 0.00 19:26:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:41 Average: docker0 0.20 0.17 0.04 0.44 0.00 0.00 0.00 0.00 19:26:41 19:26:41 19:26:41 ---> sar -P ALL: 19:26:41 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:26:41 19:26:41 19:16:54 LINUX RESTART (4 CPU) 19:26:41 19:26:41 19:18:01 CPU %user %nice %system %iowait %steal %idle 19:26:41 19:19:01 all 0.80 0.00 0.35 0.08 0.02 98.75 19:26:41 19:19:01 0 0.75 0.00 0.30 0.03 0.02 98.90 19:26:41 19:19:01 1 1.00 0.00 0.35 0.02 0.02 98.62 19:26:41 19:19:01 2 0.62 0.00 0.50 0.02 0.03 98.83 19:26:41 19:19:01 3 0.82 0.00 0.27 0.25 0.00 98.67 19:26:41 19:20:01 all 0.17 0.00 0.04 0.00 0.02 99.78 19:26:41 19:20:01 0 0.03 0.00 0.03 0.00 0.03 99.90 19:26:41 19:20:01 1 0.07 0.00 0.05 0.00 0.00 99.88 19:26:41 19:20:01 2 0.51 0.00 0.05 0.00 0.02 99.42 19:26:41 19:20:01 3 0.05 0.00 0.03 0.00 0.02 99.90 19:26:41 19:21:01 all 0.18 0.00 0.03 0.00 0.01 99.77 19:26:41 19:21:01 0 0.05 0.00 0.05 0.00 0.00 99.90 19:26:41 19:21:01 1 0.07 0.00 0.03 0.00 0.02 99.88 19:26:41 19:21:01 2 0.58 0.00 0.02 0.00 0.02 99.38 19:26:41 19:21:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:26:41 19:22:01 all 0.13 0.00 0.04 0.00 0.00 99.83 19:26:41 19:22:01 0 0.03 0.00 0.00 0.00 0.00 99.97 19:26:41 19:22:01 1 0.03 0.00 0.07 0.00 0.02 99.88 19:26:41 19:22:01 2 0.43 0.00 0.08 0.00 0.00 99.48 19:26:41 19:22:01 3 0.00 0.00 0.02 0.00 0.00 99.98 19:26:41 19:23:01 all 0.06 0.00 0.08 0.00 0.03 99.83 19:26:41 19:23:01 0 0.05 0.00 0.02 0.00 0.02 99.92 19:26:41 19:23:01 1 0.08 0.00 0.13 0.00 0.03 99.75 19:26:41 19:23:01 2 0.05 0.00 0.10 0.00 0.02 99.83 19:26:41 19:23:01 3 0.05 0.00 0.08 0.00 0.03 99.83 19:26:41 19:24:01 all 0.05 0.00 0.03 0.00 0.00 99.92 19:26:41 19:24:01 0 0.10 0.00 0.03 0.00 0.00 99.87 19:26:41 19:24:01 1 0.05 0.00 0.05 0.00 0.00 99.90 19:26:41 19:24:01 2 0.02 0.00 0.03 0.00 0.00 99.95 19:26:41 19:24:01 3 0.03 0.00 0.02 0.00 0.00 99.95 19:26:41 19:25:01 all 0.10 0.00 0.05 0.00 0.00 99.85 19:26:41 19:25:01 0 0.03 0.00 0.03 0.00 0.00 99.93 19:26:41 19:25:01 1 0.08 0.00 0.07 0.00 0.00 99.85 19:26:41 19:25:01 2 0.07 0.00 0.03 0.00 0.00 99.90 19:26:41 19:25:01 3 0.22 0.00 0.05 0.00 0.00 99.73 19:26:41 19:26:01 all 0.15 0.00 0.03 0.00 0.00 99.81 19:26:41 19:26:01 0 0.03 0.00 0.02 0.00 0.00 99.95 19:26:41 19:26:01 1 0.07 0.00 0.07 0.00 0.00 99.87 19:26:41 19:26:01 2 0.02 0.00 0.03 0.00 0.00 99.95 19:26:41 19:26:01 3 0.50 0.00 0.02 0.00 0.00 99.48 19:26:41 Average: all 0.20 0.00 0.08 0.01 0.01 99.69 19:26:41 Average: 0 0.14 0.00 0.06 0.00 0.01 99.79 19:26:41 Average: 1 0.18 0.00 0.10 0.00 0.01 99.70 19:26:41 Average: 2 0.29 0.00 0.11 0.00 0.01 99.59 19:26:41 Average: 3 0.21 0.00 0.06 0.03 0.01 99.68 19:26:41 19:26:41 19:26:41