Pull request #170 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 hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f rather than 74fd1828a412d32bf9c049029e39ad817b496e4b Obtained Jenkinsfile from aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-170/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-170/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30516’ Running on prd-centos7-docker-4c-2g-30523 in /w/workspace/foundry_device-virtual-go_PR-170 [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-170 # 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/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # 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 aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 Commit message: "build: bump SDK version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:46:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:46:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:46:49 ========================================================= 08:46:49 EdgeX Global Pipelines Version Info 08:46:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:46:51 ------------------- 08:46:51 stable info: 08:46:51 ------------------- 08:46:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:51 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 08:46:51 Message: update stable to v1.0.184 08:46:52 ------------------- 08:46:52 experimental info: 08:46:52 ------------------- 08:46:52 Commited By: **** collab-it+edgex@linuxfoundation.org 08:46:52 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:46:52 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:46:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:46:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:46:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:46:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74fd182 [Pipeline] echo 08:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:46:57 provisioning config files... 08:46:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config2504125036637114104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:57 ---> docker-login.sh 08:46:57 nexus3.edgexfoundry.org:10001 08:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:58 Configure a credential helper to remove this warning. See 08:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:58 08:46:58 Login Succeeded 08:46:58 nexus3.edgexfoundry.org:10002 08:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:58 Configure a credential helper to remove this warning. See 08:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:58 08:46:58 Login Succeeded 08:46:58 nexus3.edgexfoundry.org:10003 08:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:58 Configure a credential helper to remove this warning. See 08:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:58 08:46:58 Login Succeeded 08:46:58 nexus3.edgexfoundry.org:10004 08:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:58 Configure a credential helper to remove this warning. See 08:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:58 08:46:58 Login Succeeded 08:46:58 docker.io 08:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:58 Configure a credential helper to remove this warning. See 08:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:58 08:46:58 Login Succeeded 08:46:58 ---> docker-login.sh ends [Pipeline] } 08:46:59 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 08:47:00 + git log --format=format:%s -1 74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] echo 08:47:00 GIT_COMMIT: 74fd1828a412d32bf9c049029e39ad817b496e4b, Commit Message: build: bump SDK version [Pipeline] echo 08:47:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:01 08:47:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:47:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:01 latest: Pulling from edgex-devops/git-semver 08:47:01 31603596830f: Pulling fs layer 08:47:01 2a8b12db71e7: Pulling fs layer 08:47:01 6ca5941a6612: Pulling fs layer 08:47:01 ecc8261a40a4: Pulling fs layer 08:47:01 ecc8261a40a4: Waiting 08:47:01 2a8b12db71e7: Download complete 08:47:01 31603596830f: Download complete 08:47:02 ecc8261a40a4: Verifying Checksum 08:47:02 ecc8261a40a4: Download complete 08:47:02 6ca5941a6612: Verifying Checksum 08:47:02 6ca5941a6612: Download complete 08:47:02 31603596830f: Pull complete 08:47:02 2a8b12db71e7: Pull complete 08:47:03 6ca5941a6612: Pull complete 08:47:03 ecc8261a40a4: Pull complete 08:47:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:47:03 prd-centos7-docker-4c-2g-30523 does not seem to be running inside a container 08:47:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-170 -v /w/workspace/foundry_device-virtual-go_PR-170:/w/workspace/foundry_device-virtual-go_PR-170:rw,z -v /w/workspace/foundry_device-virtual-go_PR-170@tmp:/w/workspace/foundry_device-virtual-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:47:05 $ docker top 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:47:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:06 [ssh-agent] Looking for ssh-agent implementation... 08:47:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:06 $ docker exec 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent 08:47:06 SSH_AUTH_SOCK=/tmp/ssh-TiJzYrHmCl3d/agent.11 08:47:06 SSH_AGENT_PID=16 08:47:06 Running ssh-add (command line suppressed) 08:47:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_8679657522897477090.key (/w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_8679657522897477090.key) 08:47:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:07 + git tag --points-at HEAD [Pipeline] } 08:47:07 $ docker exec --env ******** --env ******** 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent -k 08:47:07 unset SSH_AUTH_SOCK; 08:47:07 unset SSH_AGENT_PID; 08:47:07 echo Agent pid 16 killed; 08:47:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:47:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:07 [ssh-agent] Looking for ssh-agent implementation... 08:47:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:07 $ docker exec 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent 08:47:08 SSH_AUTH_SOCK=/tmp/ssh-MtcbSX8HyoJM/agent.44 08:47:08 SSH_AGENT_PID=49 08:47:08 Running ssh-add (command line suppressed) 08:47:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_4618581896756867678.key (/w/workspace/foundry_device-virtual-go_PR-170@tmp/private_key_4618581896756867678.key) 08:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:08 + git semver init 08:47:08 # -> Open(): unable to determine branch for HEAD 08:47:08 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-170/.git 08:47:08 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-170 08:47:08 # $SEMVER_REMOTE_NAME = origin 08:47:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:47:08 # $SEMVER_USER_NAME = edgex-jenkins 08:47:08 # $SEMVER_BRANCH = PR-170 08:47:08 # $SEMVER_TEMP = /tmp/semver-213914822 08:47:08 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:47:09 # '/tmp/semver-213914822' -> '/w/workspace/foundry_device-virtual-go_PR-170/.semver' 08:47:09 # -> Force: false 08:47:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-170/.semver [Pipeline] } 08:47:09 $ docker exec --env ******** --env ******** 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 ssh-agent -k 08:47:09 unset SSH_AUTH_SOCK; 08:47:09 unset SSH_AGENT_PID; 08:47:09 echo Agent pid 49 killed; 08:47:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:10 + git semver [Pipeline] } 08:47:10 $ docker stop --time=1 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 08:47:11 $ docker rm -f 1b735e841d0adde01868e573fa8dd1187901f7da30dc0539867152e1e9772b78 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:47:12 Stashed 1 file(s) [Pipeline] echo 08:47:12 [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 08:47:28 Still waiting to schedule task 08:47:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:47:28 Still waiting to schedule task 08:47:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:49:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30524 in /w/workspace/foundry_device-virtual-go_PR-170 [Pipeline] { [Pipeline] ws 08:49:12 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:49:17 using credential edgex-jenkins-ssh 08:49:18 Cloning the remote Git repository 08:49:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:49:18 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:49:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:18 > git --version # timeout=10 08:49:18 > git --version # 'git version 2.17.1' 08:49:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:19 Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b 08:49:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:19 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:19 > git config core.sparsecheckout # timeout=10 08:49:19 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 08:49:20 > git remote # timeout=10 08:49:20 > git config --get remote.origin.url # timeout=10 08:49:20 Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b 08:49:20 Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) 08:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:20 > git merge aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 08:49:20 > git rev-parse HEAD^{commit} # timeout=10 08:49:20 > git config core.sparsecheckout # timeout=10 08:49:20 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 08:49:24 Commit message: "build: bump SDK version" 08:49:24 > git --version # timeout=10 08:49:24 > git --version # 'git version 2.17.1' 08:49:24 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:49:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:49:27 + true 08:49:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:49:30 provisioning config files... 08:49:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8979618059887939552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:31 ---> docker-login.sh 08:49:31 nexus3.edgexfoundry.org:10001 08:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:32 Configure a credential helper to remove this warning. See 08:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:32 08:49:32 Login Succeeded 08:49:32 nexus3.edgexfoundry.org:10002 08:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:32 Configure a credential helper to remove this warning. See 08:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:32 08:49:32 Login Succeeded 08:49:32 nexus3.edgexfoundry.org:10003 08:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:33 Configure a credential helper to remove this warning. See 08:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:33 08:49:33 Login Succeeded 08:49:33 nexus3.edgexfoundry.org:10004 08:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:34 Configure a credential helper to remove this warning. See 08:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:34 08:49:34 Login Succeeded 08:49:34 docker.io 08:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:34 Configure a credential helper to remove this warning. See 08:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:34 08:49:34 Login Succeeded 08:49:34 ---> docker-login.sh ends [Pipeline] } 08:49:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:49:35 ========================================================= 08:49:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:49:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:49:35 + 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 . 08:49:36 Sending build context to Docker daemon 481.8kB 08:49:36 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:49:36 Step 2/8 : FROM ${BASE} 08:49:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:49:36 5f621e34cdf4: Pulling fs layer 08:49:36 a4357932f1b6: Pulling fs layer 08:49:36 18c013af1878: Pulling fs layer 08:49:36 00ac8860ef70: Pulling fs layer 08:49:36 63d7cb157983: Pulling fs layer 08:49:36 b116817d02f9: Pulling fs layer 08:49:36 745a02a5169b: Pulling fs layer 08:49:36 63d7cb157983: Waiting 08:49:36 b116817d02f9: Waiting 08:49:36 00ac8860ef70: Waiting 08:49:36 745a02a5169b: Waiting 08:49:36 18c013af1878: Verifying Checksum 08:49:36 18c013af1878: Download complete 08:49:36 a4357932f1b6: Verifying Checksum 08:49:36 a4357932f1b6: Download complete 08:49:36 63d7cb157983: Download complete 08:49:37 b116817d02f9: Verifying Checksum 08:49:37 b116817d02f9: Download complete 08:49:37 5f621e34cdf4: Verifying Checksum 08:49:37 5f621e34cdf4: Download complete 08:49:37 5f621e34cdf4: Pull complete 08:49:38 a4357932f1b6: Pull complete 08:49:38 18c013af1878: Pull complete 08:49:39 745a02a5169b: Verifying Checksum 08:49:39 745a02a5169b: Download complete 08:49:40 00ac8860ef70: Verifying Checksum 08:49:40 00ac8860ef70: Download complete 08:49:45 Running on prd-centos7-docker-4c-2g-30525 in /w/workspace/foundry_device-virtual-go_PR-170 [Pipeline] { [Pipeline] ws 08:49:46 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:49:48 using credential edgex-jenkins-ssh 08:49:48 Cloning the remote Git repository 08:49:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:49:48 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:49:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:48 > git --version # timeout=10 08:49:48 > git --version # 'git version 2.24.3' 08:49:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:49 Merging remotes/origin/master commit aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f into PR head commit 74fd1828a412d32bf9c049029e39ad817b496e4b 08:49:49 Merge succeeded, producing 74fd1828a412d32bf9c049029e39ad817b496e4b 08:49:49 Checking out Revision 74fd1828a412d32bf9c049029e39ad817b496e4b (PR-170) 08:49:49 > git config core.sparsecheckout # timeout=10 08:49:49 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 08:49:49 > git remote # timeout=10 08:49:49 > git config --get remote.origin.url # timeout=10 08:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:49 > git merge aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 08:49:49 > git rev-parse HEAD^{commit} # timeout=10 08:49:49 > git config core.sparsecheckout # timeout=10 08:49:49 > git checkout -f 74fd1828a412d32bf9c049029e39ad817b496e4b # timeout=10 08:49:50 00ac8860ef70: Pull complete 08:49:51 63d7cb157983: Pull complete 08:49:51 b116817d02f9: Pull complete 08:49:53 Commit message: "build: bump SDK version" 08:49:53 > git --version # timeout=10 08:49:53 > git --version # 'git version 2.24.3' 08:49:53 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:54 745a02a5169b: Pull complete 08:49:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:49:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:49:54 ---> b7e6874047d6 08:49:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:49:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:49:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:49:55 + sudo service docker restart 08:49:55 + true 08:49:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:49:56 provisioning config files... 08:49:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1106493198673476086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:57 ---> docker-login.sh 08:49:57 nexus3.edgexfoundry.org:10001 08:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:57 Configure a credential helper to remove this warning. See 08:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:57 08:49:57 Login Succeeded 08:49:57 nexus3.edgexfoundry.org:10002 08:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:57 ---> Running in 5cba71daa7a9 08:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:57 Configure a credential helper to remove this warning. See 08:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:57 08:49:57 Login Succeeded 08:49:57 nexus3.edgexfoundry.org:10003 08:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:57 Configure a credential helper to remove this warning. See 08:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:57 08:49:57 Login Succeeded 08:49:57 nexus3.edgexfoundry.org:10004 08:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:58 Configure a credential helper to remove this warning. See 08:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:58 08:49:58 Login Succeeded 08:49:58 docker.io 08:49:58 Removing intermediate container 5cba71daa7a9 08:49:58 ---> 4e38d741c93b 08:49:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:58 ---> Running in 9cea9765fe33 08:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:58 Configure a credential helper to remove this warning. See 08:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:58 08:49:58 Login Succeeded 08:49:58 ---> docker-login.sh ends [Pipeline] } 08:49:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:49:59 ========================================================= 08:49:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:49:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:49:59 + 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 . 08:49:59 Sending build context to Docker daemon 482.8kB 08:49:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:49:59 Step 2/8 : FROM ${BASE} 08:49:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:49:59 188c0c94c7c5: Pulling fs layer 08:49:59 0ef7d3d256c8: Pulling fs layer 08:49:59 de9db76c5a1d: Pulling fs layer 08:49:59 bca2f99d35d6: Pulling fs layer 08:49:59 93359f2a8cfa: Pulling fs layer 08:49:59 7c6f9722023f: Pulling fs layer 08:49:59 a35cf1a2eb13: Pulling fs layer 08:49:59 93359f2a8cfa: Waiting 08:49:59 7c6f9722023f: Waiting 08:49:59 a35cf1a2eb13: Waiting 08:49:59 bca2f99d35d6: Waiting 08:49:59 de9db76c5a1d: Verifying Checksum 08:49:59 de9db76c5a1d: Download complete 08:49:59 0ef7d3d256c8: Download complete 08:49:59 93359f2a8cfa: Verifying Checksum 08:49:59 93359f2a8cfa: Download complete 08:49:59 7c6f9722023f: Download complete 08:49:59 188c0c94c7c5: Verifying Checksum 08:49:59 188c0c94c7c5: Download complete 08:50:00 188c0c94c7c5: Pull complete 08:50:00 0ef7d3d256c8: Pull complete 08:50:00 de9db76c5a1d: Pull complete 08:50:00 Removing intermediate container 9cea9765fe33 08:50:00 ---> 91fd545715fa 08:50:00 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:50:00 ---> Running in 75f462922904 08:50:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:50:01 a35cf1a2eb13: Verifying Checksum 08:50:01 a35cf1a2eb13: Download complete 08:50:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:50:02 bca2f99d35d6: Verifying Checksum 08:50:02 bca2f99d35d6: Download complete 08:50:03 (1/14) Installing libmagic (5.38-r0) 08:50:04 (2/14) Installing file (5.38-r0) 08:50:04 (3/14) Installing libc-dev (0.7.2-r3) 08:50:04 (4/14) Installing g++ (9.3.0-r2) 08:50:07 bca2f99d35d6: Pull complete 08:50:07 93359f2a8cfa: Pull complete 08:50:07 7c6f9722023f: Pull complete 08:50:14 (5/14) Installing fortify-headers (1.1-r0) 08:50:14 (6/14) Installing patch (2.7.6-r6) 08:50:14 (7/14) Installing build-base (0.5-r2) 08:50:14 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:50:14 (9/14) Installing libedit (20191231.3.1-r0) 08:50:14 (10/14) Installing openssh-client (8.3_p1-r1) 08:50:14 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:50:14 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:50:14 a35cf1a2eb13: Pull complete 08:50:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:50:14 ---> a62c8e92a672 08:50:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:50:14 (13/14) Installing openssh-server (8.3_p1-r1) 08:50:14 (14/14) Installing openssh (8.3_p1-r1) 08:50:14 ---> Running in 381fc393b19a 08:50:14 Executing busybox-1.31.1-r19.trigger 08:50:14 OK: 221 MiB in 53 packages 08:50:14 Removing intermediate container 381fc393b19a 08:50:14 ---> 0a829eb9490c 08:50:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:14 ---> Running in 87667266612e 08:50:15 Removing intermediate container 87667266612e 08:50:15 ---> 369b6d9de497 08:50:15 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:50:16 ---> Running in ffcd18a47bb7 08:50:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:50:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:50:18 (1/14) Installing libmagic (5.38-r0) 08:50:18 (2/14) Installing file (5.38-r0) 08:50:18 (3/14) Installing libc-dev (0.7.2-r3) 08:50:18 (4/14) Installing g++ (9.3.0-r2) 08:50:19 Removing intermediate container 75f462922904 08:50:19 ---> 137f73cefd24 08:50:19 Step 6/8 : WORKDIR /device-virtual-go 08:50:19 ---> Running in 73a79855dfa8 08:50:19 Removing intermediate container 73a79855dfa8 08:50:19 ---> 1afcbd3c5465 08:50:19 Step 7/8 : COPY . . 08:50:20 ---> 68b417c30a74 08:50:20 Step 8/8 : RUN go mod download 08:50:20 ---> Running in 08b2b9485a6b 08:50:25 (5/14) Installing fortify-headers (1.1-r0) 08:50:25 (6/14) Installing patch (2.7.6-r6) 08:50:25 (7/14) Installing build-base (0.5-r2) 08:50:25 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:50:25 (9/14) Installing libedit (20191231.3.1-r0) 08:50:25 (10/14) Installing openssh-client (8.3_p1-r1) 08:50:25 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:50:25 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:50:25 (13/14) Installing openssh-server (8.3_p1-r1) 08:50:25 (14/14) Installing openssh (8.3_p1-r1) 08:50:25 Executing busybox-1.31.1-r19.trigger 08:50:25 OK: 237 MiB in 53 packages 08:50:29 Removing intermediate container ffcd18a47bb7 08:50:29 ---> 97c7f1dc1f2f 08:50:29 Step 6/8 : WORKDIR /device-virtual-go 08:50:29 ---> Running in 3aaab3cb3183 08:50:29 Removing intermediate container 3aaab3cb3183 08:50:29 ---> 5cc7b614f440 08:50:29 Step 7/8 : COPY . . 08:50:29 ---> 66bae2a09450 08:50:29 Step 8/8 : RUN go mod download 08:50:29 ---> Running in 85de3c4129d7 08:50:46 Removing intermediate container 08b2b9485a6b 08:50:46 ---> d34b7f5ac483 08:50:46 Successfully built d34b7f5ac483 08:50:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:50:47 + docker inspect -f . ci-base-image-arm64 08:50:47 . [Pipeline] withDockerContainer 08:50:47 prd-ubuntu18.04-docker-arm64-4c-16g-30524 does not seem to be running inside a container 08:50: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:49 $ docker top 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:50 + go version 08:50:50 go version go1.15.5 linux/arm64 [Pipeline] } 08:50:50 $ docker stop --time=1 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 08:50:52 $ docker rm -f 01bb07c93cc6f480b1feea071f5f6610b1a7586418ff895d35227675dd81c9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:53 + docker inspect -f . ci-base-image-arm64 08:50:53 . [Pipeline] withDockerContainer 08:50:53 prd-ubuntu18.04-docker-arm64-4c-16g-30524 does not seem to be running inside a container 08:50:53 $ 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-arm64 cat 08:50:55 $ docker top fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:56 Removing intermediate container 85de3c4129d7 08:50:56 ---> e5693fe11ea1 08:50:56 Successfully built e5693fe11ea1 08:50:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:50:56 + make test 08:50:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:50:56 + docker inspect -f . ci-base-image-x86_64 08:50:56 . [Pipeline] withDockerContainer 08:50:56 prd-centos7-docker-4c-2g-30525 does not seem to be running inside a container 08:50:57 $ 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 08:50:57 $ docker top 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab -eo pid,comm [Pipeline] { 08:50:58 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] sh 08:50:58 + go version 08:50:58 go version go1.15.5 linux/amd64 [Pipeline] } 08:50:58 $ docker stop --time=1 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab 08:50:59 $ docker rm -f 0f02f47e56ee9f925cdc35c83178b49cbe98fbcfe488dcc4cbdbce12a780a1ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:51:01 + docker inspect -f . ci-base-image-x86_64 08:51:01 . [Pipeline] withDockerContainer 08:51:01 prd-centos7-docker-4c-2g-30525 does not seem to be running inside a container 08:51:01 $ 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 08:51:01 $ docker top f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:02 + make test 08:51:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:51:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:51:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:51:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.359s coverage: 63.8% of statements 08:51:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:51:23 gofmt -l . 08:51:23 [ "`gofmt -l .`" = "" ] 08:51:23 ./bin/test-attribution-txt.sh 08:51:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:51:24 $ docker stop --time=1 f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 08:51:26 $ docker rm -f f868f0c3a1e143c4ff88d7c97033caa1e525943cb4cd9e54980fbc4ccb2b3fb0 [Pipeline] // withDockerContainer [Pipeline] sh 08:51:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:51:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:51:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:51:30 + ls -al . 08:51:30 total 128 08:51:30 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 19 08:51 . 08:51:30 drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 08:49 .. 08:51:30 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 19 08:49 Attribution.txt 08:51:30 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:49 bin 08:51:30 drwxrwxr-x. 3 jenkins jenkins 32 Mar 19 08:49 cmd 08:51:30 -rw-r--r--. 1 jenkins jenkins 47247 Mar 19 08:51 coverage.out 08:51:30 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 19 08:49 Dockerfile 08:51:30 -rw-rw-r--. 1 jenkins jenkins 961 Mar 19 08:49 Dockerfile.build 08:51:30 drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 08:49 .git 08:51:30 drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:49 .github 08:51:30 -rw-rw-r--. 1 jenkins jenkins 258 Mar 19 08:49 .gitignore 08:51:30 -rw-r--r--. 1 jenkins jenkins 809 Mar 19 08:51 go.mod 08:51:30 -rw-r--r--. 1 jenkins jenkins 20118 Mar 19 08:51 go.sum 08:51:30 drwxrwxr-x. 3 jenkins jenkins 20 Mar 19 08:49 internal 08:51:30 -rw-rw-r--. 1 jenkins jenkins 660 Mar 19 08:49 Jenkinsfile 08:51:30 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 19 08:49 LICENSE 08:51:30 -rw-rw-r--. 1 jenkins jenkins 873 Mar 19 08:49 Makefile 08:51:30 -rw-rw-r--. 1 jenkins jenkins 918 Mar 19 08:49 README.md 08:51:30 -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 08:47 VERSION 08:51:30 -rw-rw-r--. 1 jenkins jenkins 235 Mar 19 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:51:30 + 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=74fd1828a412d32bf9c049029e39ad817b496e4b --label arch=amd64 --label version=0.0.0 . 08:51:30 Sending build context to Docker daemon 551.9kB 08:51:30 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 08:51:30 Step 2/22 : FROM ${BASE} AS builder 08:51:30 ---> e5693fe11ea1 08:51:30 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:51:30 ---> Running in af5f425e487f 08:51:30 Removing intermediate container af5f425e487f 08:51:30 ---> f482536895fc 08:51:30 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:51:31 ---> Running in 6eb6d66858da 08:51:31 Removing intermediate container 6eb6d66858da 08:51:31 ---> 3a3e59db1851 08:51:31 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:51:31 ---> Running in d34c4e0cf446 08:51:31 Removing intermediate container d34c4e0cf446 08:51:31 ---> fe8d6da645b1 08:51:31 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:31 ---> Running in 073d33289f31 08:51:32 Removing intermediate container 073d33289f31 08:51:32 ---> 933d4d2fcb0d 08:51:32 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:51:32 ---> Running in 463c4c8ac97a 08:51:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:51:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:51:34 OK: 237 MiB in 53 packages 08:51:34 Removing intermediate container 463c4c8ac97a 08:51:34 ---> a3c5f36372c4 08:51:34 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:51:34 ---> Running in c9f3774a7c23 08:51:34 Removing intermediate container c9f3774a7c23 08:51:34 ---> 15f8cf361cd9 08:51:34 Step 9/22 : COPY . . 08:51:35 ---> 5792e9880a2a 08:51:35 Step 10/22 : ARG MAKE='make build' 08:51:35 ---> Running in 237ae6c52db1 08:51:35 Removing intermediate container 237ae6c52db1 08:51:35 ---> 3e18e818cc47 08:51:35 Step 11/22 : RUN $MAKE 08:51:36 ---> Running in 407248d42315 08:51:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:51:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:51:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.446s coverage: 63.8% of statements 08:51:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:51:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:51:51 Removing intermediate container 407248d42315 08:51:51 ---> 2b72b6742abf 08:51:51 Step 12/22 : FROM alpine:3.12 08:51:51 gofmt -l . 08:51:51 [ "`gofmt -l .`" = "" ] 08:51:51 3.12: Pulling from library/alpine 08:51:52 ./bin/test-attribution-txt.sh 08:51:52 f84cab65f19f: Pulling fs layer 08:51:52 f84cab65f19f: Verifying Checksum 08:51:52 f84cab65f19f: Download complete 08:51:52 f84cab65f19f: Pull complete 08:51:52 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 08:51:52 Status: Downloaded newer image for alpine:3.12 08:51:52 ---> 88dd2752d2ea 08:51:52 Step 13/22 : ENV APP_PORT=49990 08:51:52 ---> Running in ee6c835277c6 08:51:52 Removing intermediate container ee6c835277c6 08:51:52 ---> 0dd5c77ab98b 08:51:52 Step 14/22 : EXPOSE $APP_PORT 08:51:52 ---> Running in 1193795a11f6 08:51:52 Removing intermediate container 1193795a11f6 08:51:52 ---> db298e4b0bf3 08:51:52 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:51:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:51:53 $ docker stop --time=1 fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 08:51:54 ---> 743c5cfa30ab 08:51:54 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:51:54 ---> 99208d8d78d3 08:51:54 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:51:54 ---> 623e3c058f7e 08:51:54 Step 18/22 : ENTRYPOINT ["/device-virtual"] 08:51:54 ---> Running in 943942c63ab9 08:51:54 Removing intermediate container 943942c63ab9 08:51:54 ---> 6476be778fe4 08:51:54 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:51:54 ---> Running in 63294e7e0909 08:51:54 Removing intermediate container 63294e7e0909 08:51:54 ---> 53f892c896d7 08:51:54 Step 20/22 : LABEL arch=amd64 08:51:54 ---> Running in 3a88e1b2a6a0 08:51:55 Removing intermediate container 3a88e1b2a6a0 08:51:55 ---> 4da47e292ba9 08:51:55 Step 21/22 : LABEL git_sha=74fd1828a412d32bf9c049029e39ad817b496e4b 08:51:55 ---> Running in ddfe61902617 08:51:55 Removing intermediate container ddfe61902617 08:51:55 ---> ad4bfeea623b 08:51:55 Step 22/22 : LABEL version=0.0.0 08:51:55 ---> Running in b468bc8ea746 08:51:55 Removing intermediate container b468bc8ea746 08:51:55 ---> 9e5e54592275 08:51:55 [Warning] One or more build-args [ARCH] were not consumed 08:51:55 Successfully built 9e5e54592275 08:51:55 Successfully tagged docker-device-virtual-go:latest 08:51:56 $ docker rm -f fe0cd680e2346c3d7ca4c51d84b91a9535919d423e5702bf83bb37adaff704b6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 08:51:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:51:57 Warning: overwriting stash ‘coverage-report’ Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 08:51:57 Stashed 1 file(s) [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } 08:51:58 ---> job-cost.sh 08:51:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SBob [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:51:59 + ls -al . 08:51:59 total 152 08:51:59 drwxrwxr-x 7 jenkins jenkins 4096 Mar 19 08:51 . 08:51:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:49 .. 08:51:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:49 .git 08:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:49 .github 08:51:59 -rw-rw-r-- 1 jenkins jenkins 258 Mar 19 08:49 .gitignore 08:51:59 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 19 08:49 Attribution.txt 08:51:59 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 19 08:49 Dockerfile 08:51:59 -rw-rw-r-- 1 jenkins jenkins 961 Mar 19 08:49 Dockerfile.build 08:51:59 -rw-rw-r-- 1 jenkins jenkins 660 Mar 19 08:49 Jenkinsfile 08:51:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 08:49 LICENSE 08:51:59 -rw-rw-r-- 1 jenkins jenkins 873 Mar 19 08:49 Makefile 08:51:59 -rw-rw-r-- 1 jenkins jenkins 918 Mar 19 08:49 README.md 08:51:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 08:47 VERSION 08:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:49 bin 08:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:49 cmd 08:51:59 -rw-r--r-- 1 jenkins jenkins 47247 Mar 19 08:51 coverage.out 08:51:59 -rw-r--r-- 1 jenkins jenkins 809 Mar 19 08:51 go.mod 08:51:59 -rw-r--r-- 1 jenkins jenkins 20118 Mar 19 08:51 go.sum 08:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 08:49 internal 08:51:59 -rw-rw-r-- 1 jenkins jenkins 235 Mar 19 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:51:59 + 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=74fd1828a412d32bf9c049029e39ad817b496e4b --label arch=arm64 --label version=0.0.0 . 08:52:00 Sending build context to Docker daemon 550.9kB 08:52:00 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 08:52:00 Step 2/22 : FROM ${BASE} AS builder 08:52:00 ---> d34b7f5ac483 08:52:00 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:52:00 ---> Running in 81d4d1ce7a12 08:52:01 Removing intermediate container 81d4d1ce7a12 08:52:01 ---> f708a3047a11 08:52:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:52:01 ---> Running in 630554b813de 08:52:01 Removing intermediate container 630554b813de 08:52:01 ---> 12855ea11fd9 08:52:01 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:52:01 ---> Running in 775c57d0e4f8 08:52:01 Removing intermediate container 775c57d0e4f8 08:52:01 ---> e518618ac677 08:52:01 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:02 ---> Running in b06b4f41c99b 08:52:04 Removing intermediate container b06b4f41c99b 08:52:04 ---> 32a02078f851 08:52:04 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:04 ---> Running in 5d8f3f9032c7 08:52:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:52:06 OK: 221 MiB in 53 packages 08:52:07 Removing intermediate container 5d8f3f9032c7 08:52:07 ---> d4e9542e24ee 08:52:07 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:52:07 ---> Running in 018d3d75a6f8 08:52:08 Removing intermediate container 018d3d75a6f8 08:52:08 ---> 55a4cf58b484 08:52:08 Step 9/22 : COPY . . 08:52:09 ---> 97b64f1c26a4 08:52:09 Step 10/22 : ARG MAKE='make build' 08:52:09 ---> Running in 18cff9b9d1c7 08:52:09 Removing intermediate container 18cff9b9d1c7 08:52:09 ---> 21d34a147d76 08:52:09 Step 11/22 : RUN $MAKE 08:52:09 ---> Running in f0a2a389ffce 08:52:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:52:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:52:39 lf-activate-venv(): INFO: Adding /tmp/venv-SBob/bin to PATH 08:52:39 INFO: No Stack... 08:52:39 INFO: Retrieving Pricing Info for: v1-standard-2 08:52:40 INFO: Archiving Costs [Pipeline] sh 08:52:40 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 08:52:40 + cut -d, -f6 [Pipeline] lock 08:52:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] 08:52:41 Resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] did not exist. Created. 08:52:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:52:41 + echo total: 0.029999999329447746 [Pipeline] stash 08:52:41 Stashed 1 file(s) [Pipeline] } 08:52:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:52:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:52:51 Removing intermediate container f0a2a389ffce 08:52:51 ---> 2ca550c2d0a8 08:52:51 Step 12/22 : FROM alpine:3.12 08:52:51 3.12: Pulling from library/alpine 08:52:51 dce8679b510e: Pulling fs layer 08:52:51 dce8679b510e: Verifying Checksum 08:52:51 dce8679b510e: Download complete 08:52:52 dce8679b510e: Pull complete 08:52:52 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 08:52:52 Status: Downloaded newer image for alpine:3.12 08:52:52 ---> d10569e2745f 08:52:52 Step 13/22 : ENV APP_PORT=49990 08:52:52 ---> Running in 7d9bd8a3927f 08:52:53 Removing intermediate container 7d9bd8a3927f 08:52:53 ---> 70e5c638c4db 08:52:53 Step 14/22 : EXPOSE $APP_PORT 08:52:53 ---> Running in 70ec5c66f5de 08:52:53 Removing intermediate container 70ec5c66f5de 08:52:53 ---> 6dc65b92aecf 08:52:53 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:52:54 ---> 34c738aaca60 08:52:54 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:52:55 ---> cb68f4bc764f 08:52:55 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:52:56 ---> c4f010774eae 08:52:56 Step 18/22 : ENTRYPOINT ["/device-virtual"] 08:52:56 ---> Running in 514caac03523 08:52:57 Removing intermediate container 514caac03523 08:52:57 ---> 0d7262719dea 08:52:57 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:52:57 ---> Running in 216d740c675d 08:52:57 Removing intermediate container 216d740c675d 08:52:57 ---> 3ef8691a26f7 08:52:57 Step 20/22 : LABEL arch=arm64 08:52:57 ---> Running in 86b235c56c1f 08:52:58 Removing intermediate container 86b235c56c1f 08:52:58 ---> f3803db0a44e 08:52:58 Step 21/22 : LABEL git_sha=74fd1828a412d32bf9c049029e39ad817b496e4b 08:52:58 ---> Running in 9c565977110e 08:52:58 Removing intermediate container 9c565977110e 08:52:58 ---> 9438bbfadb43 08:52:58 Step 22/22 : LABEL version=0.0.0 08:52:58 ---> Running in 75f26e3c52e2 08:52:59 Removing intermediate container 75f26e3c52e2 08:52:59 ---> 9ea225517ed5 08:52:59 [Warning] One or more build-args [ARCH] were not consumed 08:52:59 Successfully built 9ea225517ed5 08:52:59 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 Post stage [Pipeline] libraryResource [Pipeline] sh 08:53:00 ---> job-cost.sh 08:53:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1ZBy 08:53:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:55:16 lf-activate-venv(): INFO: Adding /tmp/venv-1ZBy/bin to PATH 08:55:16 INFO: No Stack... 08:55:16 INFO: Retrieving Pricing Info for: lf-standard-4 08:55:16 INFO: Archiving Costs [Pipeline] sh 08:55:16 + cut -d, -f6 08:55:16 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 08:55:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] 08:55:16 Resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] did not exist. Created. 08:55:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:55:17 /w/workspace/device-virtual-go/1@tmp/durable-e2ff52ad/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-e2ff52ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:55:17 + echo total: 0.20999999344348907 [Pipeline] stash 08:55:17 Warning: overwriting stash ‘stack-cost’ 08:55:17 Stashed 1 file(s) [Pipeline] } 08:55:17 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-170-1-stack-cost] [Pipeline] // lock [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 08:55:20 provisioning config files... 08:55:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config3400892602307209382tmp [Pipeline] { [Pipeline] sh 08:55:20 + set +x 08:55:20 + curl -s https://codecov.io/bash 08:55:20 + bash -s -- 08:55:20 08:55:20 _____ _ 08:55:20 / ____| | | 08:55:20 | | ___ __| | ___ ___ _____ __ 08:55:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:55:20 | |___| (_) | (_| | __/ (_| (_) \ V / 08:55:20 \_____\___/ \__,_|\___|\___\___/ \_/ 08:55:20 Bash-20210309-2b87ace 08:55:20 08:55:20 08:55:20 ==> git version 2.24.3 found 08:55:20 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 08:55:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:55:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:55:20 ==> Jenkins CI detected. 08:55:20 project root: . 08:55:20 --> token set from env 08:55:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:55:20 ==> Running gcov in . (disable via -X gcov) 08:55:20 ==> Python coveragepy not found 08:55:20 ==> Searching for coverage reports in: 08:55:20 + . 08:55:20 -> Found 1 reports 08:55:20 ==> Detecting git/mercurial file structure 08:55:20 ==> Reading reports 08:55:20 + ./coverage.out bytes=47247 08:55:20 ==> Appending adjustments 08:55:20 https://docs.codecov.io/docs/fixing-reports 08:55:21 + Found adjustments 08:55:21 ==> Gzipping contents 08:55:21 8.0K /tmp/codecov.xzbEyN.gz 08:55:21 ==> Uploading reports 08:55:21 url: https://codecov.io 08:55:21 query: branch=PR-170&commit=74fd1828a412d32bf9c049029e39ad817b496e4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=170&job=&cmd_args= 08:55:21 -> Pinging Codecov 08:55:21 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-170&commit=74fd1828a412d32bf9c049029e39ad817b496e4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=170&job=&cmd_args= 08:55:21 -> Uploading to 08:55:21 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/5E52B4B073DB2E39498172D8E973AA87/74fd1828a412d32bf9c049029e39ad817b496e4b/356138e4-29f0-45cd-b30b-0c026f6da2e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T085521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dd9b5591a1fb04444f48e64f770fe8526c5ac6b3c43b60031be09af785360e 08:55:21 % Total % Received % Xferd Average Speed Time Time Time Current 08:55:21 Dload Upload Total Spent Left Speed 08:55:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5762 0 0 100 5762 0 13079 --:--:-- --:--:-- --:--:-- 13065 08:55:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/74fd1828a412d32bf9c049029e39ad817b496e4b [Pipeline] } 08:55:21 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] { (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 08:55:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:55:26 ---> package-listing.sh 08:55:26 ++ facter osfamily 08:55:26 ++ tr '[:upper:]' '[:lower:]' 08:55:26 + OS_FAMILY=redhat 08:55:26 + workspace=/w/workspace/foundry_device-virtual-go_PR-170 08:55:26 + START_PACKAGES=/tmp/packages_start.txt 08:55:26 + END_PACKAGES=/tmp/packages_end.txt 08:55:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:55:26 + PACKAGES=/tmp/packages_start.txt 08:55:26 + '[' /w/workspace/foundry_device-virtual-go_PR-170 ']' 08:55:26 + PACKAGES=/tmp/packages_end.txt 08:55:26 + case "${OS_FAMILY}" in 08:55:26 + rpm -qa 08:55:26 + sort 08:55:31 + '[' -f /tmp/packages_start.txt ']' 08:55:31 + '[' -f /tmp/packages_end.txt ']' 08:55:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:55:31 + '[' /w/workspace/foundry_device-virtual-go_PR-170 ']' 08:55:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-170/archives/ 08:55:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-170/archives/ [Pipeline] echo 08:55:31 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:55:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:55:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:55:32 08:55:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:55:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:55:32 alpine: Pulling from edgex-lftools-log-publisher 08:55:32 df20fa9351a1: Pulling fs layer 08:55:32 36b3adc4ff6f: Pulling fs layer 08:55:32 8ad3a11d3b57: Pulling fs layer 08:55:32 46f8f816bc3b: Pulling fs layer 08:55:32 93b61091891f: Pulling fs layer 08:55:32 93b9cdb0e59b: Pulling fs layer 08:55:32 5e14af77c1be: Pulling fs layer 08:55:32 01666e4c0597: Pulling fs layer 08:55:32 aa168da1d23b: Pulling fs layer 08:55:32 46f8f816bc3b: Waiting 08:55:32 93b61091891f: Waiting 08:55:32 5e14af77c1be: Waiting 08:55:32 01666e4c0597: Waiting 08:55:32 aa168da1d23b: Waiting 08:55:32 93b9cdb0e59b: Waiting 08:55:32 36b3adc4ff6f: Download complete 08:55:32 46f8f816bc3b: Verifying Checksum 08:55:32 46f8f816bc3b: Download complete 08:55:32 df20fa9351a1: Verifying Checksum 08:55:32 df20fa9351a1: Download complete 08:55:32 93b9cdb0e59b: Verifying Checksum 08:55:32 93b9cdb0e59b: Download complete 08:55:32 5e14af77c1be: Verifying Checksum 08:55:32 5e14af77c1be: Download complete 08:55:32 93b61091891f: Verifying Checksum 08:55:32 93b61091891f: Download complete 08:55:32 01666e4c0597: Verifying Checksum 08:55:32 01666e4c0597: Download complete 08:55:33 df20fa9351a1: Pull complete 08:55:33 36b3adc4ff6f: Pull complete 08:55:33 8ad3a11d3b57: Verifying Checksum 08:55:33 8ad3a11d3b57: Download complete 08:55:34 8ad3a11d3b57: Pull complete 08:55:34 46f8f816bc3b: Pull complete 08:55:35 93b61091891f: Pull complete 08:55:35 aa168da1d23b: Verifying Checksum 08:55:35 aa168da1d23b: Download complete 08:55:35 93b9cdb0e59b: Pull complete 08:55:35 5e14af77c1be: Pull complete 08:55:35 01666e4c0597: Pull complete 08:55:42 aa168da1d23b: Pull complete 08:55:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:55:42 prd-centos7-docker-4c-2g-30523 does not seem to be running inside a container 08:55:42 $ 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-170/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-170 -v /w/workspace/foundry_device-virtual-go_PR-170:/w/workspace/foundry_device-virtual-go_PR-170:rw,z -v /w/workspace/foundry_device-virtual-go_PR-170@tmp:/w/workspace/foundry_device-virtual-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:55:46 $ docker top ba3a1aea796a0965eb68da57bf1c3992f94162dde10a921e642791833af61174 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:46 + touch /tmp/pre-build-complete [Pipeline] sh 08:55:47 + mkdir -p /var/log/sa [Pipeline] sh 08:55:47 + ls /var/log/sa-host 08:55:47 + sadf -c /var/log/sa-host/sa19 08:55:47 file_magic: OK 08:55:47 HZ: Using current value: 100 08:55:47 file_header: OK 08:55:47 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 08:55:47 Statistics: 08:55:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:55:47 File successfully converted to sysstat format version 12.2.1 08:55:47 + sadf -c /var/log/sa-host/sa23 08:55:47 file_magic: OK 08:55:47 HZ: Using current value: 100 08:55:47 file_header: OK 08:55:47 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 08:55:47 Statistics: 08:55:47 Hnuu...uuuununununu... 08:55:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:55:48 provisioning config files... 08:55:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-170@tmp/config7499165839672035690tmp [Pipeline] { [Pipeline] echo 08:55:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:55:48 ---> create-netrc.sh [Pipeline] } 08:55:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:55:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:55:49 ---> python-tools-install.sh [Pipeline] echo 08:55:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:55:49 ---> sudo-logs.sh 08:55:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:55:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:55:50 ---> job-cost.sh 08:55:50 lf-activate-venv: SKIPPING 08:55:50 DEBUG: total: 0.20999999344348907 08:55:50 INFO: Retrieving Stack Cost... 08:55:50 INFO: Retrieving Pricing Info for: v1-standard-2 08:55:51 INFO: Archiving Costs [Pipeline] echo 08:55:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:55:51 ---> logs-deploy.sh 08:55:51 lf-activate-venv: SKIPPING 08:55:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-170/1 08:55:51 INFO: archiving workspace using pattern(s): 08:55:53 Archives upload complete. 08:55:53 INFO: archiving logs to Nexus 08:55:54 ---> uname -a: 08:55:54 Linux prd-centos7-docker-4c-2g-30523.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:55:54 08:55:54 08:55:54 ---> lscpu: 08:55:54 Architecture: x86_64 08:55:54 CPU op-mode(s): 32-bit, 64-bit 08:55:54 Byte Order: Little Endian 08:55:54 Address sizes: 40 bits physical, 48 bits virtual 08:55:54 CPU(s): 4 08:55:54 On-line CPU(s) list: 0-3 08:55:54 Thread(s) per core: 1 08:55:54 Core(s) per socket: 1 08:55:54 Socket(s): 4 08:55:54 NUMA node(s): 1 08:55:54 Vendor ID: GenuineIntel 08:55:54 CPU family: 6 08:55:54 Model: 44 08:55:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:55:54 Stepping: 1 08:55:54 CPU MHz: 2933.438 08:55:54 BogoMIPS: 5866.87 08:55:54 Virtualization: VT-x 08:55:54 Hypervisor vendor: KVM 08:55:54 Virtualization type: full 08:55:54 L1d cache: 128 KiB 08:55:54 L1i cache: 128 KiB 08:55:54 L2 cache: 16 MiB 08:55:54 L3 cache: 64 MiB 08:55:54 NUMA node0 CPU(s): 0-3 08:55:54 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:55:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:55:54 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:55:54 Vulnerability Meltdown: Mitigation; PTI 08:55:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:55:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:55:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:55:54 Vulnerability Srbds: Not affected 08:55:54 Vulnerability Tsx async abort: Not affected 08:55:54 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 08:55:54 08:55:54 08:55:54 ---> nproc: 08:55:54 4 08:55:54 08:55:54 08:55:54 ---> df -h: 08:55:54 Filesystem Size Used Available Use% Mounted on 08:55:54 overlay 50.0G 7.3G 42.7G 15% / 08:55:54 tmpfs 64.0M 0 64.0M 0% /dev 08:55:54 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:55:54 shm 64.0M 0 64.0M 0% /dev/shm 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-170 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-170@tmp 08:55:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:55:54 08:55:54 08:55:54 ---> free -m: 08:55:54 total used free shared buff/cache available 08:55:54 Mem: 1837 697 92 0 1047 1035 08:55:54 Swap: 1023 1 1022 08:55:54 08:55:54 08:55:54 ---> ip addr: 08:55:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:55:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:55:54 inet 127.0.0.1/8 scope host lo 08:55:54 valid_lft forever preferred_lft forever 08:55:54 inet6 ::1/128 scope host 08:55:54 valid_lft forever preferred_lft forever 08:55:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:55:54 link/ether fa:16:3e:52:ca:dd brd ff:ff:ff:ff:ff:ff 08:55:54 inet 10.30.122.224/23 brd 10.30.123.255 scope global dynamic eth0 08:55:54 valid_lft 85818sec preferred_lft 85818sec 08:55:54 inet6 fe80::f816:3eff:fe52:cadd/64 scope link 08:55:54 valid_lft forever preferred_lft forever 08:55:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:55:54 link/ether 02:42:c1:39:47:44 brd ff:ff:ff:ff:ff:ff 08:55:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:55:54 valid_lft forever preferred_lft forever 08:55:54 inet6 fe80::42:c1ff:fe39:4744/64 scope link 08:55:54 valid_lft forever preferred_lft forever 08:55:54 08:55:54 08:55:54 ---> sar -b -r -n DEV: 08:55:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/19/21 _x86_64_ (4 CPU) 08:55:54 08:55:54 08:46:00 LINUX RESTART (4 CPU) 08:55:54 08:55:54 08:47:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:55:54 08:48:01 23.02 5.64 17.38 0.00 1239.68 2980.11 0.00 08:55:54 08:49:01 0.42 0.00 0.42 0.00 0.00 7.23 0.00 08:55:54 08:50:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 08:55:54 08:51:01 0.23 0.00 0.23 0.00 0.00 2.05 0.00 08:55:54 08:52:01 0.30 0.00 0.30 0.00 0.00 4.73 0.00 08:55:54 08:53:01 0.25 0.00 0.25 0.00 0.00 2.50 0.00 08:55:54 08:54:01 0.37 0.00 0.37 0.00 0.00 5.21 0.00 08:55:54 08:55:01 0.55 0.00 0.55 0.00 0.00 4.86 0.00 08:55:54 Average: 3.13 0.69 2.44 0.00 152.76 370.92 0.00 08:55:54 08:55:54 08:47:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:55:54 08:48:01 162288 0 578796 30.76 2620 1137840 1100340 37.55 397036 1123592 24 08:55:54 08:49:01 166740 0 574336 30.52 2620 1137848 1072988 36.62 400428 1116752 8 08:55:54 08:50:01 165968 0 575104 30.57 2620 1137852 1073144 36.62 398240 1119712 12 08:55:54 08:51:01 164640 0 576432 30.64 2620 1137852 1072988 36.62 400600 1118872 12 08:55:54 08:52:01 164264 0 576800 30.66 2620 1137860 1073096 36.62 406804 1113240 8 08:55:54 08:53:01 164804 0 576256 30.63 2620 1137864 1072988 36.62 406368 1113240 16 08:55:54 08:54:01 164936 0 576120 30.62 2620 1137868 1072988 36.62 406248 1113240 8 08:55:54 08:55:01 164896 0 576156 30.62 2620 1137872 1072988 36.62 406884 1112608 8 08:55:54 Average: 164817 0 576250 30.63 2620 1137857 1076440 36.74 402826 1116407 12 08:55:54 08:55:54 08:47:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:55:54 08:48:01 eth0 32.58 23.61 32.10 18.49 0.00 0.00 0.00 0.00 08:55:54 08:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:48:01 docker0 2.03 1.61 0.37 4.02 0.00 0.00 0.00 0.00 08:55:54 08:49:01 eth0 0.70 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:55:54 08:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:50:01 eth0 1.47 0.67 0.58 0.40 0.00 0.00 0.00 0.00 08:55:54 08:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:51:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:55:54 08:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:52:01 eth0 0.25 0.17 0.14 0.07 0.00 0.00 0.00 0.00 08:55:54 08:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:53:01 eth0 0.07 0.03 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:54:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:55:54 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:55:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:55:54 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 Average: eth0 4.36 3.06 4.06 2.34 0.00 0.00 0.00 0.00 08:55:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:55:54 Average: docker0 0.25 0.20 0.05 0.50 0.00 0.00 0.00 0.00 08:55:54 08:55:54 08:55:54 ---> sar -P ALL: 08:55:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/19/21 _x86_64_ (4 CPU) 08:55:54 08:55:54 08:46:00 LINUX RESTART (4 CPU) 08:55:54 08:55:54 08:47:02 CPU %user %nice %system %iowait %steal %idle 08:55:54 08:48:01 all 1.83 0.00 1.38 0.43 0.03 96.34 08:55:54 08:48:01 0 1.99 0.00 1.17 0.07 0.02 96.75 08:55:54 08:48:01 1 1.87 0.00 1.67 0.24 0.03 96.19 08:55:54 08:48:01 2 1.87 0.00 1.67 0.31 0.02 96.13 08:55:54 08:48:01 3 1.57 0.00 0.99 1.11 0.03 96.30 08:55:54 08:49:01 all 0.15 0.00 0.05 0.00 0.00 99.80 08:55:54 08:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:55:54 08:49:01 1 0.05 0.00 0.05 0.00 0.00 99.90 08:55:54 08:49:01 2 0.45 0.00 0.08 0.00 0.00 99.47 08:55:54 08:49:01 3 0.05 0.00 0.05 0.00 0.02 99.88 08:55:54 08:50:01 all 0.15 0.00 0.06 0.00 0.02 99.77 08:55:54 08:50:01 0 0.05 0.00 0.07 0.00 0.00 99.88 08:55:54 08:50:01 1 0.38 0.00 0.05 0.00 0.02 99.55 08:55:54 08:50:01 2 0.12 0.00 0.07 0.00 0.05 99.77 08:55:54 08:50:01 3 0.05 0.00 0.05 0.00 0.02 99.88 08:55:54 08:51:01 all 0.13 0.00 0.04 0.00 0.00 99.82 08:55:54 08:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:55:54 08:51:01 1 0.12 0.00 0.02 0.00 0.00 99.87 08:55:54 08:51:01 2 0.35 0.00 0.05 0.00 0.00 99.60 08:55:54 08:51:01 3 0.05 0.00 0.08 0.00 0.00 99.87 08:55:54 08:52:01 all 0.18 0.00 0.05 0.00 0.00 99.78 08:55:54 08:52:01 0 0.05 0.00 0.03 0.00 0.00 99.92 08:55:54 08:52:01 1 0.10 0.00 0.08 0.00 0.00 99.82 08:55:54 08:52:01 2 0.52 0.00 0.03 0.00 0.00 99.45 08:55:54 08:52:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:55:54 08:53:01 all 0.14 0.00 0.04 0.00 0.00 99.82 08:55:54 08:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:55:54 08:53:01 1 0.02 0.00 0.03 0.00 0.00 99.95 08:55:54 08:53:01 2 0.48 0.00 0.07 0.00 0.00 99.45 08:55:54 08:53:01 3 0.05 0.00 0.03 0.00 0.00 99.92 08:55:54 08:54:01 all 0.11 0.00 0.04 0.00 0.01 99.84 08:55:54 08:54:01 0 0.02 0.00 0.02 0.00 0.02 99.95 08:55:54 08:54:01 1 0.05 0.00 0.03 0.00 0.00 99.92 08:55:54 08:54:01 2 0.33 0.00 0.05 0.00 0.00 99.62 08:55:54 08:54:01 3 0.03 0.00 0.07 0.00 0.02 99.88 08:55:54 08:55:01 all 0.15 0.00 0.03 0.00 0.00 99.81 08:55:54 08:55:01 0 0.00 0.00 0.02 0.00 0.00 99.98 08:55:54 08:55:01 1 0.05 0.00 0.05 0.00 0.02 99.88 08:55:54 08:55:01 2 0.52 0.00 0.03 0.00 0.00 99.45 08:55:54 08:55:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:55:54 Average: all 0.35 0.00 0.21 0.05 0.01 99.38 08:55:54 Average: 0 0.27 0.00 0.17 0.01 0.00 99.55 08:55:54 Average: 1 0.33 0.00 0.24 0.03 0.01 99.39 08:55:54 Average: 2 0.58 0.00 0.25 0.04 0.01 99.12 08:55:54 Average: 3 0.23 0.00 0.17 0.14 0.01 99.46 08:55:54 08:55:54 08:55:54