Pull request #148 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 iain-anderson for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 1e15b455509d433b72705dad7fc3c723af5422e0 rather than 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 Obtained Jenkinsfile from 1e15b455509d433b72705dad7fc3c723af5422e0 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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-148/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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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-148/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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12329 in /w/workspace/foundry_device-virtual-go_PR-148 [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-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1e15b455509d433b72705dad7fc3c723af5422e0 into PR head commit 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 Merge succeeded, producing 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 Checking out Revision 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 (PR-148) > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # 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 1e15b455509d433b72705dad7fc3c723af5422e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # timeout=10 Commit message: "build: update go-mod-core-contracts to 0.1.111" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:39:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:39:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:39:06 ========================================================= 00:39:06 EdgeX Global Pipelines Version Info 00:39:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:39:08 ------------------- 00:39:08 stable info: 00:39:08 ------------------- 00:39:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:39:08 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 00:39:08 Message: update stable to v1.0.162 00:39:09 ------------------- 00:39:09 experimental info: 00:39:09 ------------------- 00:39:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:39:09 Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b 00:39:09 Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:39:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:39:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:39:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:39:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:39:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:39:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:39:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:39:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:39:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:39:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo 00:39:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo 00:39:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 [Pipeline] echo 00:39:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fc4ffb [Pipeline] echo 00:39:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:39:15 provisioning config files... 00:39:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-148@tmp/config4738721935216305653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:16 ---> docker-login.sh 00:39:16 nexus3.edgexfoundry.org:10001 00:39:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:16 Configure a credential helper to remove this warning. See 00:39:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:16 00:39:16 Login Succeeded 00:39:16 nexus3.edgexfoundry.org:10002 00:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:17 Configure a credential helper to remove this warning. See 00:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:17 00:39:17 Login Succeeded 00:39:17 nexus3.edgexfoundry.org:10003 00:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:17 Configure a credential helper to remove this warning. See 00:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:17 00:39:17 Login Succeeded 00:39:17 nexus3.edgexfoundry.org:10004 00:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:17 Configure a credential helper to remove this warning. See 00:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:17 00:39:17 Login Succeeded 00:39:17 docker.io 00:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:39:18 Configure a credential helper to remove this warning. See 00:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:39:18 00:39:18 Login Succeeded 00:39:18 ---> docker-login.sh ends [Pipeline] } 00:39:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:19 + git log --format=format:%s -1 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 [Pipeline] echo 00:39:19 GIT_COMMIT: 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4, Commit Message: build: update go-mod-core-contracts to 0.1.111 [Pipeline] echo 00:39:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:39:20 00:39:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:39:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:39:20 latest: Pulling from edgex-devops/git-semver 00:39:20 31603596830f: Pulling fs layer 00:39:20 2a8b12db71e7: Pulling fs layer 00:39:20 6ca5941a6612: Pulling fs layer 00:39:20 ecc8261a40a4: Pulling fs layer 00:39:20 ecc8261a40a4: Waiting 00:39:20 2a8b12db71e7: Verifying Checksum 00:39:20 2a8b12db71e7: Download complete 00:39:21 31603596830f: Download complete 00:39:21 ecc8261a40a4: Verifying Checksum 00:39:21 ecc8261a40a4: Download complete 00:39:21 6ca5941a6612: Verifying Checksum 00:39:21 6ca5941a6612: Download complete 00:39:21 31603596830f: Pull complete 00:39:21 2a8b12db71e7: Pull complete 00:39:23 6ca5941a6612: Pull complete 00:39:23 ecc8261a40a4: Pull complete 00:39:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:39:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:39:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:39:23 prd-centos7-docker-4c-2g-12329 does not seem to be running inside a container 00:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-148 -v /w/workspace/foundry_device-virtual-go_PR-148:/w/workspace/foundry_device-virtual-go_PR-148:rw,z -v /w/workspace/foundry_device-virtual-go_PR-148@tmp:/w/workspace/foundry_device-virtual-go_PR-148@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 00:39:26 $ docker top 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:39:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:39:26 [ssh-agent] Looking for ssh-agent implementation... 00:39:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:39:27 $ docker exec 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 ssh-agent 00:39:27 SSH_AUTH_SOCK=/tmp/ssh-XGTGQYH6O7eG/agent.11 00:39:27 SSH_AGENT_PID=16 00:39:27 Running ssh-add (command line suppressed) 00:39:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-148@tmp/private_key_4457025632343404567.key (/w/workspace/foundry_device-virtual-go_PR-148@tmp/private_key_4457025632343404567.key) 00:39:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:39:28 + git tag --points-at HEAD [Pipeline] } 00:39:28 $ docker exec --env ******** --env ******** 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 ssh-agent -k 00:39:28 unset SSH_AUTH_SOCK; 00:39:28 unset SSH_AGENT_PID; 00:39:28 echo Agent pid 16 killed; 00:39:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:39:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:39:28 [ssh-agent] Looking for ssh-agent implementation... 00:39:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:39:28 $ docker exec 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 ssh-agent 00:39:29 SSH_AUTH_SOCK=/tmp/ssh-tHAGKANi1QQg/agent.45 00:39:29 SSH_AGENT_PID=50 00:39:29 Running ssh-add (command line suppressed) 00:39:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-148@tmp/private_key_8939458972266026894.key (/w/workspace/foundry_device-virtual-go_PR-148@tmp/private_key_8939458972266026894.key) 00:39:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:39:30 + git semver init 00:39:30 # -> Open(): unable to determine branch for HEAD 00:39:30 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-148/.git 00:39:30 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-148 00:39:30 # $SEMVER_REMOTE_NAME = origin 00:39:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:39:30 # $SEMVER_USER_NAME = edgex-jenkins 00:39:30 # $SEMVER_BRANCH = PR-148 00:39:30 # $SEMVER_TEMP = /tmp/semver-160604952 00:39:30 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:39:30 # '/tmp/semver-160604952' -> '/w/workspace/foundry_device-virtual-go_PR-148/.semver' 00:39:30 # -> Force: false 00:39:30 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-148/.semver [Pipeline] } 00:39:30 $ docker exec --env ******** --env ******** 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 ssh-agent -k 00:39:31 unset SSH_AUTH_SOCK; 00:39:31 unset SSH_AGENT_PID; 00:39:31 echo Agent pid 50 killed; 00:39:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:39:31 + git semver [Pipeline] } 00:39:31 $ docker stop --time=1 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 00:39:33 $ docker rm -f 26a7c63d0e8eb23f258f3251ee3b42be24f9442ec2a4c9fcb6593c9e389febe5 [Pipeline] // withDockerContainer [Pipeline] sh 00:39:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:39:34 Stashed 1 file(s) [Pipeline] echo 00:39:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:39:50 Still waiting to schedule task 00:39:50 ‘prd-centos7-docker-4c-2g-12330’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-12317’ doesn’t have label ‘centos7-docker-4c-2g’ 00:39:50 Still waiting to schedule task 00:39:50 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:41:30 Running on prd-centos7-docker-4c-2g-12331 in /w/workspace/foundry_device-virtual-go_PR-148 [Pipeline] { [Pipeline] ws 00:41:30 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 00:41:37 using credential edgex-jenkins-ssh 00:41:37 Cloning the remote Git repository 00:41:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:41:37 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:41:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:41:37 > git --version # timeout=10 00:41:37 > git --version # 'git version 2.16.5' 00:41:37 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:38 Merging remotes/origin/master commit 1e15b455509d433b72705dad7fc3c723af5422e0 into PR head commit 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:41:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:41:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:41:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:41:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:41:38 > git config core.sparsecheckout # timeout=10 00:41:38 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # timeout=10 00:41:39 Merge succeeded, producing 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:41:39 Checking out Revision 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 (PR-148) 00:41:39 > git remote # timeout=10 00:41:39 > git config --get remote.origin.url # timeout=10 00:41:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:39 > git merge 1e15b455509d433b72705dad7fc3c723af5422e0 # timeout=10 00:41:39 > git rev-parse HEAD^{commit} # timeout=10 00:41:39 > git config core.sparsecheckout # timeout=10 00:41:39 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # timeout=10 00:41:43 Commit message: "build: update go-mod-core-contracts to 0.1.111" 00:41:43 > git --version # timeout=10 00:41:43 > git --version # 'git version 2.16.5' 00:41:43 fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:41:44 provisioning config files... 00:41:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3088391340015733056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:45 ---> docker-login.sh 00:41:45 nexus3.edgexfoundry.org:10001 00:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:46 Configure a credential helper to remove this warning. See 00:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:46 00:41:46 Login Succeeded 00:41:46 nexus3.edgexfoundry.org:10002 00:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:46 Configure a credential helper to remove this warning. See 00:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:46 00:41:46 Login Succeeded 00:41:46 nexus3.edgexfoundry.org:10003 00:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:46 Configure a credential helper to remove this warning. See 00:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:46 00:41:46 Login Succeeded 00:41:46 nexus3.edgexfoundry.org:10004 00:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:46 Configure a credential helper to remove this warning. See 00:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:46 00:41:46 Login Succeeded 00:41:46 docker.io 00:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:47 Configure a credential helper to remove this warning. See 00:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:47 00:41:47 Login Succeeded 00:41:47 ---> docker-login.sh ends [Pipeline] } 00:41:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:41:48 ========================================================= 00:41:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:41:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:41:48 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:41:49 Sending build context to Docker daemon 472.6kB 00:41:49 Step 1/8 : ARG BASE=golang:1.15-alpine 00:41:49 Step 2/8 : FROM ${BASE} 00:41:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:41:49 df20fa9351a1: Pulling fs layer 00:41:49 ed8968b2872e: Pulling fs layer 00:41:49 a92cc7c5fd73: Pulling fs layer 00:41:49 e871e8e8d7a9: Pulling fs layer 00:41:49 e73272ec9a57: Pulling fs layer 00:41:49 1e910a182e73: Pulling fs layer 00:41:49 4e634b169226: Pulling fs layer 00:41:49 e871e8e8d7a9: Waiting 00:41:49 e73272ec9a57: Waiting 00:41:49 1e910a182e73: Waiting 00:41:49 4e634b169226: Waiting 00:41:49 a92cc7c5fd73: Verifying Checksum 00:41:49 a92cc7c5fd73: Download complete 00:41:49 ed8968b2872e: Verifying Checksum 00:41:49 ed8968b2872e: Download complete 00:41:49 e73272ec9a57: Verifying Checksum 00:41:49 e73272ec9a57: Download complete 00:41:49 1e910a182e73: Verifying Checksum 00:41:49 1e910a182e73: Download complete 00:41:49 df20fa9351a1: Download complete 00:41:50 df20fa9351a1: Pull complete 00:41:50 ed8968b2872e: Pull complete 00:41:50 a92cc7c5fd73: Pull complete 00:41:53 4e634b169226: Verifying Checksum 00:41:53 4e634b169226: Download complete 00:41:54 e871e8e8d7a9: Verifying Checksum 00:41:54 e871e8e8d7a9: Download complete 00:42:01 e871e8e8d7a9: Pull complete 00:42:01 e73272ec9a57: Pull complete 00:42:01 1e910a182e73: Pull complete 00:42:09 4e634b169226: Pull complete 00:42:09 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 00:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:42:09 ---> f7629b54cfaa 00:42:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:42:09 ---> Running in e1b045cec3a9 00:42:09 Removing intermediate container e1b045cec3a9 00:42:09 ---> fdff20a46289 00:42:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:42:09 ---> Running in b38d8be1edac 00:42:10 Removing intermediate container b38d8be1edac 00:42:10 ---> 44c74e795520 00:42:10 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:42:10 ---> Running in dc4f664a6df5 00:42:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:42:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:42:12 (1/14) Installing libmagic (5.38-r0) 00:42:12 (2/14) Installing file (5.38-r0) 00:42:13 (3/14) Installing libc-dev (0.7.2-r3) 00:42:13 (4/14) Installing g++ (9.3.0-r2) 00:42:19 (5/14) Installing fortify-headers (1.1-r0) 00:42:19 (6/14) Installing patch (2.7.6-r6) 00:42:19 (7/14) Installing build-base (0.5-r2) 00:42:19 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:42:19 (9/14) Installing libedit (20191231.3.1-r0) 00:42:19 (10/14) Installing openssh-client (8.3_p1-r0) 00:42:20 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:42:20 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:42:20 (13/14) Installing openssh-server (8.3_p1-r0) 00:42:20 (14/14) Installing openssh (8.3_p1-r0) 00:42:20 Executing busybox-1.31.1-r16.trigger 00:42:20 OK: 237 MiB in 53 packages 00:42:24 Removing intermediate container dc4f664a6df5 00:42:24 ---> dcdf0a134a64 00:42:24 Step 6/8 : WORKDIR /device-virtual-go 00:42:24 ---> Running in 1a8b3c3c0c78 00:42:24 Removing intermediate container 1a8b3c3c0c78 00:42:24 ---> 568d16913cbe 00:42:24 Step 7/8 : COPY . . 00:42:24 ---> 258e7f6d5fd9 00:42:24 Step 8/8 : RUN go mod download 00:42:24 ---> Running in 39612dbd1c25 00:42:46 Removing intermediate container 39612dbd1c25 00:42:46 ---> bce819e261d4 00:42:46 Successfully built bce819e261d4 00:42:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:42:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12332 in /w/workspace/foundry_device-virtual-go_PR-148 [Pipeline] { [Pipeline] ws 00:42:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 00:42:47 + docker inspect -f . ci-base-image-x86_64 [Pipeline] checkout 00:42:47 . [Pipeline] withDockerContainer 00:42:47 prd-centos7-docker-4c-2g-12331 does not seem to be running inside a container 00:42:47 $ 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-x86_64 cat 00:42:48 $ docker top 0d37816944b2609fd5e1a265e01a619d813d40f04eea757af656673ca87f7322 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:49 + go version 00:42:49 go version go1.15.2 linux/amd64 [Pipeline] } 00:42:49 $ docker stop --time=1 0d37816944b2609fd5e1a265e01a619d813d40f04eea757af656673ca87f7322 00:42:51 $ docker rm -f 0d37816944b2609fd5e1a265e01a619d813d40f04eea757af656673ca87f7322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:42:52 + docker inspect -f . ci-base-image-x86_64 00:42:52 . [Pipeline] withDockerContainer 00:42:52 using credential edgex-jenkins-ssh 00:42:52 Cloning the remote Git repository 00:42:52 prd-centos7-docker-4c-2g-12331 does not seem to be running inside a container 00:42:52 $ 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-x86_64 cat 00:42:52 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:42:52 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:42:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:42:52 > git --version # timeout=10 00:42:52 > git --version # 'git version 2.17.1' 00:42:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:42:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:42:53 $ docker top dbd81a836d057c8cccb3476e828cf7e76688b219a476d7d04c35d1728bfeb48e -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:54 Merging remotes/origin/master commit 1e15b455509d433b72705dad7fc3c723af5422e0 into PR head commit 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:42:54 + make test 00:42:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:42:54 Merge succeeded, producing 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:42:54 Checking out Revision 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 (PR-148) 00:42:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:42:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:42:54 > git config core.sparsecheckout # timeout=10 00:42:54 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # timeout=10 00:42:54 > git remote # timeout=10 00:42:54 > git config --get remote.origin.url # timeout=10 00:42:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:54 > git merge 1e15b455509d433b72705dad7fc3c723af5422e0 # timeout=10 00:42:54 > git rev-parse HEAD^{commit} # timeout=10 00:42:54 > git config core.sparsecheckout # timeout=10 00:42:54 > git checkout -f 7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 # timeout=10 00:42:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:42:59 Commit message: "build: update go-mod-core-contracts to 0.1.111" 00:42:59 > git --version # timeout=10 00:42:59 > git --version # 'git version 2.17.1' 00:42:59 fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:43:00 provisioning config files... 00:43:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5101769888307398816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:01 ---> docker-login.sh 00:43:01 nexus3.edgexfoundry.org:10001 00:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:02 Configure a credential helper to remove this warning. See 00:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:02 00:43:02 Login Succeeded 00:43:02 nexus3.edgexfoundry.org:10002 00:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:03 Configure a credential helper to remove this warning. See 00:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:03 00:43:03 Login Succeeded 00:43:03 nexus3.edgexfoundry.org:10003 00:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:04 Configure a credential helper to remove this warning. See 00:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:04 00:43:04 Login Succeeded 00:43:04 nexus3.edgexfoundry.org:10004 00:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:04 Configure a credential helper to remove this warning. See 00:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:04 00:43:04 Login Succeeded 00:43:04 docker.io 00:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:05 Configure a credential helper to remove this warning. See 00:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:05 00:43:05 Login Succeeded 00:43:05 ---> docker-login.sh ends [Pipeline] } 00:43:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:06 ========================================================= 00:43:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:43:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:43:06 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:43:07 Sending build context to Docker daemon 472.6kB 00:43:07 Step 1/8 : ARG BASE=golang:1.15-alpine 00:43:07 Step 2/8 : FROM ${BASE} 00:43:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:43:07 b538f80385f9: Pulling fs layer 00:43:07 74f711af9a0d: Pulling fs layer 00:43:07 99f96fe45779: Pulling fs layer 00:43:07 8529a6b9a6be: Pulling fs layer 00:43:07 45590311c82a: Pulling fs layer 00:43:07 69ca0ff8b7b3: Pulling fs layer 00:43:07 209524e5b208: Pulling fs layer 00:43:07 8529a6b9a6be: Waiting 00:43:07 45590311c82a: Waiting 00:43:07 69ca0ff8b7b3: Waiting 00:43:07 209524e5b208: Waiting 00:43:07 74f711af9a0d: Verifying Checksum 00:43:07 74f711af9a0d: Download complete 00:43:07 b538f80385f9: Verifying Checksum 00:43:07 b538f80385f9: Download complete 00:43:07 45590311c82a: Verifying Checksum 00:43:07 45590311c82a: Download complete 00:43:07 69ca0ff8b7b3: Verifying Checksum 00:43:07 69ca0ff8b7b3: Download complete 00:43:07 99f96fe45779: Verifying Checksum 00:43:07 99f96fe45779: Download complete 00:43:08 b538f80385f9: Pull complete 00:43:08 74f711af9a0d: Pull complete 00:43:09 99f96fe45779: Pull complete 00:43:10 209524e5b208: Verifying Checksum 00:43:10 209524e5b208: Download complete 00:43:11 8529a6b9a6be: Verifying Checksum 00:43:11 8529a6b9a6be: Download complete 00:43:21 8529a6b9a6be: Pull complete 00:43:21 45590311c82a: Pull complete 00:43:21 69ca0ff8b7b3: Pull complete 00:43:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:43:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.595s coverage: 64.4% of statements 00:43:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:43:25 209524e5b208: Pull complete 00:43:25 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 00:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:43:25 ---> 5bddaf1c2fca 00:43:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:43:27 ---> Running in a16fb90e51a1 00:43:28 Removing intermediate container a16fb90e51a1 00:43:28 ---> 68c5f4568916 00:43:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:28 ---> Running in a70fd4269477 00:43:29 gofmt -l . 00:43:29 [ "`gofmt -l .`" = "" ] 00:43:29 ./bin/test-attribution-txt.sh 00:43:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:43:30 $ docker stop --time=1 dbd81a836d057c8cccb3476e828cf7e76688b219a476d7d04c35d1728bfeb48e 00:43:31 Removing intermediate container a70fd4269477 00:43:31 ---> a5404b0fc1f4 00:43:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:43:31 ---> Running in 7fc98d5cdd4c 00:43:32 $ docker rm -f dbd81a836d057c8cccb3476e828cf7e76688b219a476d7d04c35d1728bfeb48e 00:43:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 00:43:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:33 Stashed 1 file(s) 00:43:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 00:43:34 (1/14) Installing libmagic (5.38-r0) 00:43:34 (2/14) Installing file (5.38-r0) 00:43:34 (3/14) Installing libc-dev (0.7.2-r3) 00:43:34 (4/14) Installing g++ (9.3.0-r2) [Pipeline] sh 00:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:36 + ls -al . 00:43:36 total 124 00:43:36 drwxrwxr-x. 7 jenkins jenkins 4096 Nov 17 00:43 . 00:43:36 drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 00:41 .. 00:43:36 -rw-rw-r--. 1 jenkins jenkins 6713 Nov 17 00:41 Attribution.txt 00:43:36 drwxrwxr-x. 2 jenkins jenkins 64 Nov 17 00:41 bin 00:43:36 drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 00:41 cmd 00:43:36 -rw-r--r--. 1 jenkins jenkins 47242 Nov 17 00:43 coverage.out 00:43:36 -rw-rw-r--. 1 jenkins jenkins 1834 Nov 17 00:41 Dockerfile 00:43:36 -rw-rw-r--. 1 jenkins jenkins 957 Nov 17 00:41 Dockerfile.build 00:43:36 drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 00:41 .git 00:43:36 drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 00:41 .github 00:43:36 -rw-rw-r--. 1 jenkins jenkins 258 Nov 17 00:41 .gitignore 00:43:36 -rw-r--r--. 1 jenkins jenkins 856 Nov 17 00:43 go.mod 00:43:36 -rw-r--r--. 1 jenkins jenkins 16151 Nov 17 00:43 go.sum 00:43:36 drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 00:41 internal 00:43:36 -rw-rw-r--. 1 jenkins jenkins 660 Nov 17 00:41 Jenkinsfile 00:43:36 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 00:41 LICENSE 00:43:36 -rw-rw-r--. 1 jenkins jenkins 873 Nov 17 00:41 Makefile 00:43:36 -rw-rw-r--. 1 jenkins jenkins 918 Nov 17 00:41 README.md 00:43:36 -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 00:39 VERSION 00:43:36 -rw-rw-r--. 1 jenkins jenkins 235 Nov 17 00:41 version.go [Pipeline] isUnix [Pipeline] sh 00:43:37 + 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=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 --label arch=amd64 --label version=0.0.0 . 00:43:37 Sending build context to Docker daemon 537.6kB 00:43:37 Step 1/22 : ARG BASE=golang:1.15-alpine 00:43:37 Step 2/22 : FROM ${BASE} AS builder 00:43:37 ---> bce819e261d4 00:43:37 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:43:37 ---> Running in 44c9d68678c2 00:43:37 Removing intermediate container 44c9d68678c2 00:43:37 ---> f70997ab359c 00:43:37 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:43:37 ---> Running in 8e7608bea0f6 00:43:38 Removing intermediate container 8e7608bea0f6 00:43:38 ---> e5304427c411 00:43:38 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:43:38 ---> Running in 3bbf1eee7597 00:43:38 Removing intermediate container 3bbf1eee7597 00:43:38 ---> 626b2bdf1b80 00:43:38 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:38 ---> Running in 835405d59550 00:43:39 Removing intermediate container 835405d59550 00:43:39 ---> e0b96c03227b 00:43:39 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:39 ---> Running in 2381b6cd98f6 00:43:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:43:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:43:43 OK: 237 MiB in 53 packages 00:43:43 Removing intermediate container 2381b6cd98f6 00:43:43 ---> 282314776a52 00:43:43 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:43:43 ---> Running in 6f2b8d15b1ef 00:43:43 Removing intermediate container 6f2b8d15b1ef 00:43:43 ---> 8ebcc6007ded 00:43:43 Step 9/22 : COPY . . 00:43:44 ---> 52e03bd38a02 00:43:44 Step 10/22 : ARG MAKE='make build' 00:43:44 ---> Running in 970c2ffa6395 00:43:44 Removing intermediate container 970c2ffa6395 00:43:44 ---> 84a764f8f789 00:43:44 Step 11/22 : RUN $MAKE 00:43:44 ---> Running in a27c4f3f505d 00:43:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:43:53 (5/14) Installing fortify-headers (1.1-r0) 00:43:53 (6/14) Installing patch (2.7.6-r6) 00:43:53 (7/14) Installing build-base (0.5-r2) 00:43:53 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:43:53 (9/14) Installing libedit (20191231.3.1-r0) 00:43:53 (10/14) Installing openssh-client (8.3_p1-r0) 00:43:53 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:43:54 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:43:54 (13/14) Installing openssh-server (8.3_p1-r0) 00:43:54 (14/14) Installing openssh (8.3_p1-r0) 00:43:54 Executing busybox-1.31.1-r16.trigger 00:43:54 OK: 221 MiB in 53 packages 00:43:58 Removing intermediate container 7fc98d5cdd4c 00:43:58 ---> e8a3c6df44e1 00:43:58 Step 6/8 : WORKDIR /device-virtual-go 00:43:58 ---> Running in 751e0e31bf1e 00:43:59 Removing intermediate container 751e0e31bf1e 00:43:59 ---> e5a069c4629c 00:43:59 Step 7/8 : COPY . . 00:44:00 ---> e5fa83dbb54f 00:44:00 Step 8/8 : RUN go mod download 00:44:00 ---> Running in 291580325f62 00:44:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:44:08 Removing intermediate container a27c4f3f505d 00:44:08 ---> 81f64daf42e3 00:44:08 Step 12/22 : FROM alpine 00:44:08 latest: Pulling from library/alpine 00:44:08 188c0c94c7c5: Pulling fs layer 00:44:09 188c0c94c7c5: Verifying Checksum 00:44:09 188c0c94c7c5: Download complete 00:44:09 188c0c94c7c5: Pull complete 00:44:09 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 00:44:09 Status: Downloaded newer image for alpine:latest 00:44:09 ---> d6e46aa2470d 00:44:09 Step 13/22 : ENV APP_PORT=49990 00:44:09 ---> Running in d9494483d88f 00:44:09 Removing intermediate container d9494483d88f 00:44:09 ---> f15000a4d80f 00:44:09 Step 14/22 : EXPOSE $APP_PORT 00:44:10 ---> Running in 26af98741a16 00:44:10 Removing intermediate container 26af98741a16 00:44:10 ---> a557c5ab7332 00:44:10 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:44:11 ---> 4c74d71ca558 00:44:11 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:44:11 ---> 32b984159b95 00:44:11 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:44:12 ---> ab2c36dae212 00:44:12 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:44:12 ---> Running in 7ed99e577890 00:44:12 Removing intermediate container 7ed99e577890 00:44:12 ---> ffcee51a119b 00:44:12 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:44:12 ---> Running in 2fbd70d84c9f 00:44:12 Removing intermediate container 2fbd70d84c9f 00:44:12 ---> 73e422b45f94 00:44:12 Step 20/22 : LABEL arch=amd64 00:44:12 ---> Running in aace39898325 00:44:13 Removing intermediate container aace39898325 00:44:13 ---> 699ac48fc5da 00:44:13 Step 21/22 : LABEL git_sha=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:44:13 ---> Running in 46b7285404b8 00:44:13 Removing intermediate container 46b7285404b8 00:44:13 ---> c5c5feb4aee8 00:44:13 Step 22/22 : LABEL version=0.0.0 00:44:13 ---> Running in 41e9b2840ba2 00:44:13 Removing intermediate container 41e9b2840ba2 00:44:13 ---> 2ccc500712ef 00:44:13 [Warning] One or more build-args [ARCH] were not consumed 00:44:13 Successfully built 2ccc500712ef 00:44:13 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] } 00:44:27 Removing intermediate container 291580325f62 00:44:27 ---> 7f601931e54f 00:44:27 Successfully built 7f601931e54f 00:44:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:44:27 + docker inspect -f . ci-base-image-arm64 00:44:27 . [Pipeline] withDockerContainer 00:44:27 prd-ubuntu18.04-docker-arm64-4c-16g-12332 does not seem to be running inside a container 00:44:28 $ 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 ******** ci-base-image-arm64 cat 00:44:30 $ docker top e724c332b2a485476dff77210d85ff86964428764c9c65621db8b55140d0d028 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:31 + go version 00:44:31 go version go1.15.2 linux/arm64 [Pipeline] } 00:44:31 $ docker stop --time=1 e724c332b2a485476dff77210d85ff86964428764c9c65621db8b55140d0d028 00:44:33 $ docker rm -f e724c332b2a485476dff77210d85ff86964428764c9c65621db8b55140d0d028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:34 + docker inspect -f . ci-base-image-arm64 00:44:34 . [Pipeline] withDockerContainer 00:44:35 prd-ubuntu18.04-docker-arm64-4c-16g-12332 does not seem to be running inside a container 00:44:35 $ 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 ******** ci-base-image-arm64 cat 00:44:37 $ docker top 9f9a438cd6851ac5ff8126cda7bccf9299ae3b67bb8bdcb58e41affa84ba6e20 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:38 + make test 00:44:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:44:40 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:45:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:45:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.616s coverage: 64.4% of statements 00:45:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:45:37 gofmt -l . 00:45:37 [ "`gofmt -l .`" = "" ] 00:45:37 ./bin/test-attribution-txt.sh 00:45:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:45:38 $ docker stop --time=1 9f9a438cd6851ac5ff8126cda7bccf9299ae3b67bb8bdcb58e41affa84ba6e20 00:45:40 $ docker rm -f 9f9a438cd6851ac5ff8126cda7bccf9299ae3b67bb8bdcb58e41affa84ba6e20 [Pipeline] // withDockerContainer [Pipeline] sh 00:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:45:41 Warning: overwriting stash ‘coverage-report’ 00:45:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:45:43 + ls -al . 00:45:43 total 148 00:45:43 drwxrwxr-x 7 jenkins jenkins 4096 Nov 17 00:45 . 00:45:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 00:42 .. 00:45:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 00:42 .git 00:45:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 00:42 .github 00:45:43 -rw-rw-r-- 1 jenkins jenkins 258 Nov 17 00:42 .gitignore 00:45:43 -rw-rw-r-- 1 jenkins jenkins 6713 Nov 17 00:42 Attribution.txt 00:45:43 -rw-rw-r-- 1 jenkins jenkins 1834 Nov 17 00:42 Dockerfile 00:45:43 -rw-rw-r-- 1 jenkins jenkins 957 Nov 17 00:42 Dockerfile.build 00:45:43 -rw-rw-r-- 1 jenkins jenkins 660 Nov 17 00:42 Jenkinsfile 00:45:43 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 00:42 LICENSE 00:45:43 -rw-rw-r-- 1 jenkins jenkins 873 Nov 17 00:42 Makefile 00:45:43 -rw-rw-r-- 1 jenkins jenkins 918 Nov 17 00:42 README.md 00:45:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 00:39 VERSION 00:45:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 00:42 bin 00:45:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 00:42 cmd 00:45:43 -rw-r--r-- 1 jenkins jenkins 47242 Nov 17 00:45 coverage.out 00:45:43 -rw-r--r-- 1 jenkins jenkins 856 Nov 17 00:45 go.mod 00:45:43 -rw-r--r-- 1 jenkins jenkins 16151 Nov 17 00:45 go.sum 00:45:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 00:42 internal 00:45:43 -rw-rw-r-- 1 jenkins jenkins 235 Nov 17 00:42 version.go [Pipeline] isUnix [Pipeline] sh 00:45:44 + 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=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 --label arch=arm64 --label version=0.0.0 . 00:45:44 Sending build context to Docker daemon 537.6kB 00:45:44 Step 1/22 : ARG BASE=golang:1.15-alpine 00:45:44 Step 2/22 : FROM ${BASE} AS builder 00:45:44 ---> 7f601931e54f 00:45:44 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:45:44 ---> Running in 12c7cedd621f 00:45:45 Removing intermediate container 12c7cedd621f 00:45:45 ---> 3555354c0bd8 00:45:45 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:45:45 ---> Running in b7924fb48f3c 00:45:45 Removing intermediate container b7924fb48f3c 00:45:45 ---> 57b8f6ec5280 00:45:45 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:45:45 ---> Running in d868ad53c0d5 00:45:46 Removing intermediate container d868ad53c0d5 00:45:46 ---> f961e4d79696 00:45:46 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:45:46 ---> Running in 27ce74b5c749 00:45:49 Removing intermediate container 27ce74b5c749 00:45:49 ---> 711388520c9b 00:45:49 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:49 ---> Running in 40fb9e31de1d 00:45:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:45:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:45:52 OK: 221 MiB in 53 packages 00:45:53 Removing intermediate container 40fb9e31de1d 00:45:53 ---> c7e4a19f4342 00:45:53 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:45:53 ---> Running in e309828c2bf7 00:45:54 Removing intermediate container e309828c2bf7 00:45:54 ---> 533002f55b96 00:45:54 Step 9/22 : COPY . . 00:45:55 ---> 85090e66d461 00:45:55 Step 10/22 : ARG MAKE='make build' 00:45:55 ---> Running in 763353e520ba 00:45:56 Removing intermediate container 763353e520ba 00:45:56 ---> 4d634ecb07e4 00:45:56 Step 11/22 : RUN $MAKE 00:45:56 ---> Running in d68f1fff55a3 00:45:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:46:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:46:38 Removing intermediate container d68f1fff55a3 00:46:38 ---> 3e158bd92836 00:46:38 Step 12/22 : FROM alpine 00:46:40 latest: Pulling from library/alpine 00:46:40 5f621e34cdf4: Pulling fs layer 00:46:40 5f621e34cdf4: Verifying Checksum 00:46:40 5f621e34cdf4: Download complete 00:46:41 5f621e34cdf4: Pull complete 00:46:41 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 00:46:41 Status: Downloaded newer image for alpine:latest 00:46:41 ---> 2e77e061c27f 00:46:41 Step 13/22 : ENV APP_PORT=49990 00:46:41 ---> Running in 1859de69b6d7 00:46:41 Removing intermediate container 1859de69b6d7 00:46:41 ---> c29241b05047 00:46:41 Step 14/22 : EXPOSE $APP_PORT 00:46:41 ---> Running in 15a645c64ea6 00:46:42 Removing intermediate container 15a645c64ea6 00:46:42 ---> 717920bbf2d8 00:46:42 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:46:43 ---> 212d6af8b848 00:46:43 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:46:44 ---> e2beb574f9fc 00:46:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:46:45 ---> d797b5312cb1 00:46:45 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:46:45 ---> Running in 5b8baebfc311 00:46:45 Removing intermediate container 5b8baebfc311 00:46:45 ---> 8843c6aeaaac 00:46:45 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:46:45 ---> Running in dd75683805ed 00:46:46 Removing intermediate container dd75683805ed 00:46:46 ---> ad101d370dae 00:46:46 Step 20/22 : LABEL arch=arm64 00:46:46 ---> Running in fd3f1a3b254d 00:46:46 Removing intermediate container fd3f1a3b254d 00:46:46 ---> a9eb18fa2006 00:46:46 Step 21/22 : LABEL git_sha=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 00:46:46 ---> Running in 28dbce2d423b 00:46:47 Removing intermediate container 28dbce2d423b 00:46:47 ---> dae5591360ae 00:46:47 Step 22/22 : LABEL version=0.0.0 00:46:47 ---> Running in 26eefab87a24 00:46:48 Removing intermediate container 26eefab87a24 00:46:48 ---> 97a71849d681 00:46:48 [Warning] One or more build-args [ARCH] were not consumed 00:46:48 Successfully built 97a71849d681 00:46:48 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:46:50 provisioning config files... 00:46:50 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-148@tmp/config6299062933094027470tmp [Pipeline] { [Pipeline] sh 00:46:51 + set +x 00:46:51 + curl -s https://codecov.io/bash 00:46:51 + bash -s -- 00:46:51 00:46:51 _____ _ 00:46:51 / ____| | | 00:46:51 | | ___ __| | ___ ___ _____ __ 00:46:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:46:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:46:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:46:51 Bash-20201116-eea08d9 00:46:51 00:46:51 00:46:51 ==> Jenkins CI detected. 00:46:51 project root: . 00:46:51 --> token set from env 00:46:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:46:51 ==> Running gcov in . (disable via -X gcov) 00:46:51 ==> Python coveragepy not found 00:46:51 ==> Searching for coverage reports in: 00:46:51 + . 00:46:51 -> Found 1 reports 00:46:51 ==> Detecting git/mercurial file structure 00:46:51 ==> Reading reports 00:46:51 + ./coverage.out bytes=47242 00:46:51 ==> Appending adjustments 00:46:51 https://docs.codecov.io/docs/fixing-reports 00:46:51 + Found adjustments 00:46:51 ==> Gzipping contents 00:46:51 ==> Uploading reports 00:46:51 url: https://codecov.io 00:46:51 query: branch=PR-148&commit=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=148&job=&cmd_args= 00:46:51 -> Pinging Codecov 00:46:51 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-148&commit=7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=148&job=&cmd_args= 00:46:52 -> Uploading to 00:46:52 https://storage.googleapis.com/codecov/v4/raw/2020-11-17/5E52B4B073DB2E39498172D8E973AA87/7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4/a7707032-b62d-4f16-ba9a-caf09e52d9a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201117T004652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4af3a26eb60d85086e519bcc97533373615d076478b86e5e41aff7565e5f4ec 00:46:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:52 Dload Upload Total Spent Left Speed 00:46:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5808 0 0 100 5808 0 12838 --:--:-- --:--:-- --:--:-- 12849 00:46:53 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7fc4ffb8d862dafb8501f6c24bbbcd4d7a78cfb4 [Pipeline] } 00:46:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:46:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:46:58 ---> package-listing.sh 00:46:58 ++ facter osfamily 00:46:58 ++ tr '[:upper:]' '[:lower:]' 00:46:58 + OS_FAMILY=redhat 00:46:58 + workspace=/w/workspace/foundry_device-virtual-go_PR-148 00:46:58 + START_PACKAGES=/tmp/packages_start.txt 00:46:58 + END_PACKAGES=/tmp/packages_end.txt 00:46:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:46:58 + PACKAGES=/tmp/packages_start.txt 00:46:58 + '[' /w/workspace/foundry_device-virtual-go_PR-148 ']' 00:46:58 + PACKAGES=/tmp/packages_end.txt 00:46:58 + case "${OS_FAMILY}" in 00:46:58 + rpm -qa 00:46:58 + sort 00:47:03 + '[' -f /tmp/packages_start.txt ']' 00:47:03 + '[' -f /tmp/packages_end.txt ']' 00:47:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:47:03 + '[' /w/workspace/foundry_device-virtual-go_PR-148 ']' 00:47:03 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-148/archives/ 00:47:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-148/archives/ [Pipeline] echo 00:47:03 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:47:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:04 00:47:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:47:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:04 alpine: Pulling from edgex-lftools-log-publisher 00:47:04 df20fa9351a1: Pulling fs layer 00:47:04 36b3adc4ff6f: Pulling fs layer 00:47:04 8ad3a11d3b57: Pulling fs layer 00:47:04 46f8f816bc3b: Pulling fs layer 00:47:04 93b61091891f: Pulling fs layer 00:47:04 93b9cdb0e59b: Pulling fs layer 00:47:04 5e14af77c1be: Pulling fs layer 00:47:04 01666e4c0597: Pulling fs layer 00:47:04 aa168da1d23b: Pulling fs layer 00:47:04 46f8f816bc3b: Waiting 00:47:04 93b61091891f: Waiting 00:47:04 93b9cdb0e59b: Waiting 00:47:04 5e14af77c1be: Waiting 00:47:04 aa168da1d23b: Waiting 00:47:04 36b3adc4ff6f: Verifying Checksum 00:47:04 36b3adc4ff6f: Download complete 00:47:04 46f8f816bc3b: Verifying Checksum 00:47:04 46f8f816bc3b: Download complete 00:47:04 df20fa9351a1: Verifying Checksum 00:47:04 df20fa9351a1: Download complete 00:47:04 93b9cdb0e59b: Verifying Checksum 00:47:04 93b9cdb0e59b: Download complete 00:47:04 5e14af77c1be: Verifying Checksum 00:47:04 5e14af77c1be: Download complete 00:47:04 01666e4c0597: Download complete 00:47:04 93b61091891f: Verifying Checksum 00:47:04 93b61091891f: Download complete 00:47:05 df20fa9351a1: Pull complete 00:47:05 36b3adc4ff6f: Pull complete 00:47:05 8ad3a11d3b57: Verifying Checksum 00:47:05 8ad3a11d3b57: Download complete 00:47:07 8ad3a11d3b57: Pull complete 00:47:07 46f8f816bc3b: Pull complete 00:47:07 93b61091891f: Pull complete 00:47:08 93b9cdb0e59b: Pull complete 00:47:08 5e14af77c1be: Pull complete 00:47:08 01666e4c0597: Pull complete 00:47:10 aa168da1d23b: Verifying Checksum 00:47:10 aa168da1d23b: Download complete 00:47:21 aa168da1d23b: Pull complete 00:47:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:47:21 prd-centos7-docker-4c-2g-12329 does not seem to be running inside a container 00:47:21 $ 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-148/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-148 -v /w/workspace/foundry_device-virtual-go_PR-148:/w/workspace/foundry_device-virtual-go_PR-148:rw,z -v /w/workspace/foundry_device-virtual-go_PR-148@tmp:/w/workspace/foundry_device-virtual-go_PR-148@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 00:47:25 $ docker top 1f1f6c5e7062907e396a19f094e0bbc24387371c5b9bad393464021edc34d264 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:26 + touch /tmp/pre-build-complete [Pipeline] sh 00:47:26 + mkdir -p /var/log/sa [Pipeline] sh 00:47:26 + ls /var/log/sa-host 00:47:26 + sadf -c /var/log/sa-host/sa05 00:47:26 file_magic: OK 00:47:26 HZ: Using current value: 100 00:47:26 file_header: OK 00:47:26 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:47:26 Statistics: 00:47:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:47:26 File successfully converted to sysstat format version 12.2.1 00:47:26 + sadf -c /var/log/sa-host/sa17 00:47:26 file_magic: OK 00:47:26 HZ: Using current value: 100 00:47:26 file_header: OK 00:47:26 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:47:26 Statistics: 00:47:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:47:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:27 provisioning config files... 00:47:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-148@tmp/config2639228784644672629tmp [Pipeline] { [Pipeline] echo 00:47:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:47:28 ---> create-netrc.sh [Pipeline] } 00:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:47:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:47:28 ---> python-tools-install.sh [Pipeline] echo 00:47:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:47:29 ---> sudo-logs.sh 00:47:29 Archiving 'sudo' log.. [Pipeline] echo 00:47:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:47:29 ---> job-cost.sh 00:47:29 lf-activate-venv: SKIPPING 00:47:29 INFO: No Stack... 00:47:30 INFO: Retrieving Pricing Info for: v1-standard-2 00:47:31 INFO: Archiving Costs [Pipeline] echo 00:47:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:47:31 ---> logs-deploy.sh 00:47:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-148/1 00:47:31 INFO: archiving workspace using pattern(s): 00:47:33 Archives upload complete. 00:47:33 INFO: archiving logs to Nexus 00:47:35 ---> uname -a: 00:47:35 Linux prd-centos7-docker-4c-2g-12329.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 00:47:35 00:47:35 00:47:35 ---> lscpu: 00:47:35 Architecture: x86_64 00:47:35 CPU op-mode(s): 32-bit, 64-bit 00:47:35 Byte Order: Little Endian 00:47:35 Address sizes: 40 bits physical, 48 bits virtual 00:47:35 CPU(s): 4 00:47:35 On-line CPU(s) list: 0-3 00:47:35 Thread(s) per core: 1 00:47:35 Core(s) per socket: 1 00:47:35 Socket(s): 4 00:47:35 NUMA node(s): 1 00:47:35 Vendor ID: GenuineIntel 00:47:35 CPU family: 6 00:47:35 Model: 44 00:47:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:47:35 Stepping: 1 00:47:35 CPU MHz: 2933.438 00:47:35 BogoMIPS: 5866.87 00:47:35 Virtualization: VT-x 00:47:35 Hypervisor vendor: KVM 00:47:35 Virtualization type: full 00:47:35 L1d cache: 128 KiB 00:47:35 L1i cache: 128 KiB 00:47:35 L2 cache: 16 MiB 00:47:35 L3 cache: 64 MiB 00:47:35 NUMA node0 CPU(s): 0-3 00:47:35 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:47:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:47:35 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:47:35 Vulnerability Meltdown: Mitigation; PTI 00:47:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:47:35 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:47:35 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:47:35 Vulnerability Tsx async abort: Not affected 00:47:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:47:35 00:47:35 00:47:35 ---> nproc: 00:47:35 4 00:47:35 00:47:35 00:47:35 ---> df -h: 00:47:35 Filesystem Size Used Available Use% Mounted on 00:47:35 overlay 50.0G 7.2G 42.8G 14% / 00:47:35 tmpfs 64.0M 0 64.0M 0% /dev 00:47:35 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:47:35 shm 64.0M 0 64.0M 0% /dev/shm 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/foundry_device-virtual-go_PR-148@tmp 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 00:47:35 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/foundry_device-virtual-go_PR-148 00:47:35 00:47:35 00:47:35 ---> free -m: 00:47:35 total used free shared buff/cache available 00:47:35 Mem: 1837 680 100 0 1056 1054 00:47:35 Swap: 1023 1 1022 00:47:35 00:47:35 00:47:35 ---> ip addr: 00:47:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:47:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:47:35 inet 127.0.0.1/8 scope host lo 00:47:35 valid_lft forever preferred_lft forever 00:47:35 inet6 ::1/128 scope host 00:47:35 valid_lft forever preferred_lft forever 00:47:35 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:47:35 link/ether fa:16:3e:54:93:f7 brd ff:ff:ff:ff:ff:ff 00:47:35 inet 10.30.123.151/23 brd 10.30.123.255 scope global dynamic eth0 00:47:35 valid_lft 85850sec preferred_lft 85850sec 00:47:35 inet6 fe80::f816:3eff:fe54:93f7/64 scope link 00:47:35 valid_lft forever preferred_lft forever 00:47:35 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:47:35 link/ether 02:42:25:c9:83:6b brd ff:ff:ff:ff:ff:ff 00:47:35 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:47:35 valid_lft forever preferred_lft forever 00:47:35 inet6 fe80::42:25ff:fec9:836b/64 scope link 00:47:35 valid_lft forever preferred_lft forever 00:47:35 00:47:35 00:47:35 ---> sar -b -r -n DEV: 00:47:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/17/20 _x86_64_ (4 CPU) 00:47:35 00:47:35 00:38:07 LINUX RESTART (4 CPU) 00:47:35 00:47:35 00:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:47:35 00:40:01 41.75 11.79 29.96 0.00 4478.08 2145.29 0.00 00:47:35 00:41:01 1.53 0.00 1.53 0.00 0.00 22.00 0.00 00:47:35 00:42:01 0.30 0.00 0.30 0.00 0.00 3.93 0.00 00:47:35 00:43:01 0.28 0.00 0.28 0.00 0.00 3.48 0.00 00:47:35 00:44:02 0.23 0.00 0.23 0.00 0.00 2.93 0.00 00:47:35 00:45:01 0.30 0.00 0.30 0.00 0.00 3.72 0.00 00:47:35 00:46:01 0.28 0.02 0.27 0.00 0.13 3.48 0.00 00:47:35 00:47:01 35.40 35.20 0.20 0.00 3758.72 2.96 0.00 00:47:35 Average: 10.04 5.89 4.15 0.00 1032.15 274.26 0.00 00:47:35 00:47:35 00:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:47:35 00:40:01 171212 0 559484 29.74 2620 1148240 1129136 38.54 435216 1115036 12 00:47:35 00:41:01 179744 0 550948 29.28 2620 1148244 1063928 36.31 430200 1112888 8 00:47:35 00:42:01 179184 0 551496 29.31 2620 1148256 1064084 36.32 430940 1112892 8 00:47:35 00:43:01 175624 0 555056 29.50 2620 1148256 1064264 36.32 436496 1110320 8 00:47:35 00:44:02 176712 0 553960 29.44 2620 1148264 1064132 36.32 440996 1105228 16 00:47:35 00:45:01 176244 0 554424 29.47 2620 1148268 1064180 36.32 441204 1105228 8 00:47:35 00:46:01 177928 0 552732 29.38 2620 1148276 1063928 36.31 435880 1109192 8 00:47:35 00:47:01 64484 0 582892 30.98 2620 1231560 1099300 37.52 458116 1194320 140 00:47:35 Average: 162642 0 557624 29.64 2620 1158670 1076619 36.74 438631 1120638 26 00:47:35 00:47:35 00:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:47:35 00:40:01 eth0 96.11 72.73 452.98 45.38 0.00 0.00 0.00 0.00 00:47:35 00:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:40:01 docker0 1.31 1.30 0.32 3.39 0.00 0.00 0.00 0.00 00:47:35 00:41:01 eth0 1.17 0.10 0.11 0.07 0.00 0.00 0.00 0.00 00:47:35 00:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:42:01 eth0 2.33 0.55 0.59 0.22 0.00 0.00 0.00 0.00 00:47:35 00:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:43:01 eth0 2.01 0.90 0.87 0.57 0.00 0.00 0.00 0.00 00:47:35 00:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:44:02 eth0 1.90 0.12 0.29 0.10 0.00 0.00 0.00 0.00 00:47:35 00:44:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:44:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:45:01 eth0 0.49 0.27 0.27 0.17 0.00 0.00 0.00 0.00 00:47:35 00:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:46:01 eth0 0.27 0.08 0.03 0.04 0.00 0.00 0.00 0.00 00:47:35 00:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:47:01 eth0 9.05 5.81 9.28 3.43 0.00 0.00 0.00 0.00 00:47:35 00:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 00:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 Average: eth0 14.20 10.10 58.22 6.26 0.00 0.00 0.00 0.00 00:47:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:47:35 Average: docker0 0.16 0.16 0.04 0.42 0.00 0.00 0.00 0.00 00:47:35 00:47:35 00:47:35 ---> sar -P ALL: 00:47:35 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/17/20 _x86_64_ (4 CPU) 00:47:35 00:47:35 00:38:07 LINUX RESTART (4 CPU) 00:47:35 00:47:35 00:39:01 CPU %user %nice %system %iowait %steal %idle 00:47:35 00:40:01 all 2.96 0.00 2.38 1.18 4.47 89.02 00:47:35 00:40:01 0 2.33 0.00 2.04 1.86 4.52 89.24 00:47:35 00:40:01 1 3.16 0.00 2.26 0.17 4.73 89.68 00:47:35 00:40:01 2 3.48 0.00 2.62 0.98 4.38 88.54 00:47:35 00:40:01 3 2.85 0.00 2.60 1.70 4.25 88.60 00:47:35 00:41:01 all 0.13 0.00 0.06 0.00 0.25 99.55 00:47:35 00:41:01 0 0.03 0.00 0.03 0.02 0.08 99.83 00:47:35 00:41:01 1 0.07 0.00 0.12 0.00 0.38 99.43 00:47:35 00:41:01 2 0.03 0.00 0.05 0.00 0.08 99.83 00:47:35 00:41:01 3 0.40 0.00 0.05 0.00 0.45 99.10 00:47:35 00:42:01 all 0.12 0.00 0.03 0.00 0.14 99.71 00:47:35 00:42:01 0 0.03 0.00 0.02 0.00 0.12 99.83 00:47:35 00:42:01 1 0.05 0.00 0.03 0.00 0.18 99.73 00:47:35 00:42:01 2 0.03 0.00 0.03 0.00 0.15 99.78 00:47:35 00:42:01 3 0.35 0.00 0.03 0.00 0.12 99.50 00:47:35 00:43:01 all 0.11 0.00 0.04 0.00 0.52 99.33 00:47:35 00:43:01 0 0.02 0.00 0.03 0.00 0.35 99.60 00:47:35 00:43:01 1 0.03 0.00 0.07 0.00 0.46 99.44 00:47:35 00:43:01 2 0.03 0.00 0.03 0.00 0.43 99.50 00:47:35 00:43:01 3 0.35 0.00 0.03 0.00 0.83 98.79 00:47:35 00:44:02 all 0.11 0.00 0.06 0.00 0.57 99.27 00:47:35 00:44:02 0 0.02 0.00 0.02 0.00 0.42 99.55 00:47:35 00:44:02 1 0.03 0.00 0.13 0.00 0.55 99.29 00:47:35 00:44:02 2 0.08 0.00 0.05 0.00 0.70 99.17 00:47:35 00:44:02 3 0.30 0.00 0.03 0.00 0.61 99.05 00:47:35 00:45:01 all 0.14 0.00 0.03 0.00 0.11 99.72 00:47:35 00:45:01 0 0.05 0.00 0.03 0.00 0.05 99.86 00:47:35 00:45:01 1 0.39 0.00 0.02 0.00 0.10 99.49 00:47:35 00:45:01 2 0.05 0.00 0.05 0.00 0.19 99.71 00:47:35 00:45:01 3 0.05 0.00 0.03 0.00 0.12 99.80 00:47:35 00:46:01 all 0.12 0.00 0.04 0.00 0.10 99.73 00:47:35 00:46:01 0 0.03 0.00 0.02 0.00 0.07 99.88 00:47:35 00:46:01 1 0.37 0.00 0.05 0.00 0.07 99.52 00:47:35 00:46:01 2 0.05 0.00 0.05 0.00 0.22 99.68 00:47:35 00:46:01 3 0.05 0.00 0.05 0.00 0.07 99.83 00:47:35 00:47:01 all 0.79 0.00 0.39 0.68 0.50 97.64 00:47:35 00:47:01 0 1.37 0.00 0.60 1.54 0.40 96.08 00:47:35 00:47:01 1 0.42 0.00 0.25 0.35 0.47 98.52 00:47:35 00:47:01 2 0.40 0.00 0.30 0.45 0.63 98.22 00:47:35 00:47:01 3 0.98 0.00 0.42 0.40 0.48 97.72 00:47:35 Average: all 0.56 0.00 0.38 0.23 0.83 97.99 00:47:35 Average: 0 0.49 0.00 0.35 0.43 0.75 97.98 00:47:35 Average: 1 0.56 0.00 0.37 0.06 0.87 98.14 00:47:35 Average: 2 0.52 0.00 0.40 0.18 0.85 98.05 00:47:35 Average: 3 0.67 0.00 0.41 0.26 0.87 97.80 00:47:35 00:47:35 00:47:35