Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f702dbdc581d304739c2d941e7f0fa4986f2eae4 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1893437526845760365.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2088925417348990081.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6052488753369481777.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7653123473822332198.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7866521739003696364.key > 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 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-47 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh6449433619547447268.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f702dbdc581d304739c2d941e7f0fa4986f2eae4 (master) > 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 core.sparsecheckout # timeout=10 > git checkout -f f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 Commit message: "Merge pull request #219 from hahattan/issue-218" > git rev-list --no-walk a9406b88c5d39c328343188705a9257517158750 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:25:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:25:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:25:47 ========================================================= 05:25:47 EdgeX Global Pipelines Version Info 05:25:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:25:48 ------------------- 05:25:48 stable info: 05:25:48 ------------------- 05:25:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:25:48 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:25:48 Message: update stable to v1.0.192 05:25:49 ------------------- 05:25:49 experimental info: 05:25:49 ------------------- 05:25:49 Commited By: **** collab-it+edgex@linuxfoundation.org 05:25:49 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:25:49 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:25:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f702dbd [Pipeline] echo 05:25:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:50 provisioning config files... 05:25:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3056579942222277577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:50 ---> docker-login.sh 05:25:50 nexus3.edgexfoundry.org:10001 05:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:50 Configure a credential helper to remove this warning. See 05:25:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:50 05:25:50 Login Succeeded 05:25:50 nexus3.edgexfoundry.org:10002 05:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:51 Configure a credential helper to remove this warning. See 05:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:51 05:25:51 Login Succeeded 05:25:51 nexus3.edgexfoundry.org:10003 05:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:51 Configure a credential helper to remove this warning. See 05:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:51 05:25:51 Login Succeeded 05:25:51 nexus3.edgexfoundry.org:10004 05:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:51 Configure a credential helper to remove this warning. See 05:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:51 05:25:51 Login Succeeded 05:25:51 docker.io 05:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:51 Configure a credential helper to remove this warning. See 05:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:51 05:25:51 Login Succeeded 05:25:51 ---> docker-login.sh ends [Pipeline] } 05:25:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:52 + git log --format=format:%s -1 f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] echo 05:25:52 GIT_COMMIT: f702dbdc581d304739c2d941e7f0fa4986f2eae4, Commit Message: Merge pull request #219 from hahattan/issue-218 [Pipeline] echo 05:25:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:25:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:53 05:25:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:25:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:53 latest: Pulling from edgex-devops/git-semver 05:25:53 31603596830f: Pulling fs layer 05:25:53 54011a49482f: Pulling fs layer 05:25:53 a6820b24f6d8: Pulling fs layer 05:25:53 f581987b2513: Pulling fs layer 05:25:53 f581987b2513: Waiting 05:25:53 54011a49482f: Verifying Checksum 05:25:53 54011a49482f: Download complete 05:25:53 31603596830f: Verifying Checksum 05:25:53 31603596830f: Download complete 05:25:53 f581987b2513: Verifying Checksum 05:25:53 f581987b2513: Download complete 05:25:53 a6820b24f6d8: Verifying Checksum 05:25:53 a6820b24f6d8: Download complete 05:25:54 31603596830f: Pull complete 05:25:54 54011a49482f: Pull complete 05:25:54 a6820b24f6d8: Pull complete 05:25:54 f581987b2513: Pull complete 05:25:54 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:25:55 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:25:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:25:56 $ docker top 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:25:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:56 [ssh-agent] Looking for ssh-agent implementation... 05:25:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:56 $ docker exec 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e ssh-agent 05:25:56 SSH_AUTH_SOCK=/tmp/ssh-t1m1zl82DQNc/agent.13 05:25:56 SSH_AGENT_PID=19 05:25:56 Running ssh-add (command line suppressed) 05:25:56 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1249478822521540382.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1249478822521540382.key) 05:25:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:56 + git tag --points-at HEAD [Pipeline] } 05:25:56 $ docker exec --env ******** --env ******** 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e ssh-agent -k 05:25:57 unset SSH_AUTH_SOCK; 05:25:57 unset SSH_AGENT_PID; 05:25:57 echo Agent pid 19 killed; 05:25:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:25:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:57 [ssh-agent] Looking for ssh-agent implementation... 05:25:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:57 $ docker exec 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e ssh-agent 05:25:57 SSH_AUTH_SOCK=/tmp/ssh-G2Ka6EDIWfQ1/agent.52 05:25:57 SSH_AGENT_PID=58 05:25:57 Running ssh-add (command line suppressed) 05:25:57 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5595300836672619092.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5595300836672619092.key) 05:25:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:57 + git semver init 05:25:57 # -> Open(): unable to determine branch for HEAD 05:25:57 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:25:57 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:25:57 # $SEMVER_REMOTE_NAME = origin 05:25:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:25:57 # $SEMVER_USER_NAME = edgex-jenkins 05:25:57 # $SEMVER_BRANCH = master 05:25:57 # $SEMVER_TEMP = /tmp/semver-146261899 05:25:57 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:25:58 # '/tmp/semver-146261899' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 05:25:58 # -> Force: false 05:25:58 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:25:58 $ docker exec --env ******** --env ******** 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e ssh-agent -k 05:25:58 unset SSH_AUTH_SOCK; 05:25:58 unset SSH_AGENT_PID; 05:25:58 echo Agent pid 58 killed; 05:25:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:25:59 + git semver [Pipeline] } 05:25:59 $ docker stop --time=1 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e 05:26:00 $ docker rm -f 9e5f600e2544e356c3b8c178b85664d8620276ce4765c136fe8f4b8bf806b31e [Pipeline] // withDockerContainer [Pipeline] sh 05:26:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:26:01 Stashed 1 file(s) [Pipeline] echo 05:26:01 [edgeXSemver]: initialized semver on version 1.3.2-dev.21 [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 05:26:16 Still waiting to schedule task 05:26:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:26:16 Still waiting to schedule task 05:26:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:28:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-48 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:28:22 Running in /w/workspace/device-virtual-go/61 [Pipeline] { [Pipeline] checkout 05:28:22 The recommended git tool is: git 05:28:28 using credential edgex-jenkins-ssh 05:28:28 Cloning the remote Git repository 05:28:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:28:28 > git init /w/workspace/device-virtual-go/61 # timeout=10 05:28:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:28:28 > git --version # timeout=10 05:28:28 > git --version # 'git version 2.17.1' 05:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:29 Avoid second fetch 05:28:29 Checking out Revision f702dbdc581d304739c2d941e7f0fa4986f2eae4 (master) 05:28:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:28:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:29 > git config core.sparsecheckout # timeout=10 05:28:29 > git checkout -f f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 05:28:34 Commit message: "Merge pull request #219 from hahattan/issue-218" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:28:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:28:39 + sudo service docker+ restart 05:28:39 true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:57 provisioning config files... 05:28:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config6881119328027892720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:58 ---> docker-login.sh 05:28:58 nexus3.edgexfoundry.org:10001 05:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:59 Configure a credential helper to remove this warning. See 05:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:59 05:28:59 Login Succeeded 05:28:59 nexus3.edgexfoundry.org:10002 05:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:59 Configure a credential helper to remove this warning. See 05:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:59 05:28:59 Login Succeeded 05:28:59 nexus3.edgexfoundry.org:10003 05:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:00 Configure a credential helper to remove this warning. See 05:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:00 05:29:00 Login Succeeded 05:29:00 nexus3.edgexfoundry.org:10004 05:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:00 Configure a credential helper to remove this warning. See 05:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:00 05:29:00 Login Succeeded 05:29:00 docker.io 05:29:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:01 Configure a credential helper to remove this warning. See 05:29:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:01 05:29:01 Login Succeeded 05:29:01 ---> docker-login.sh ends [Pipeline] } 05:29:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:29:02 ========================================================= 05:29:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:29:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:29:02 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:29:03 Sending build context to Docker daemon 8.59MB 05:29:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:29:03 Step 2/8 : FROM ${BASE} 05:29:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:29:03 595b0fe564bb: Pulling fs layer 05:29:03 7186ed65a4f7: Pulling fs layer 05:29:03 316046926c0a: Pulling fs layer 05:29:03 4ebd0625c992: Pulling fs layer 05:29:03 207e8628e3a3: Pulling fs layer 05:29:03 c791037a9be2: Pulling fs layer 05:29:03 4ebd0625c992: Waiting 05:29:03 ffd874e62e21: Pulling fs layer 05:29:03 207e8628e3a3: Waiting 05:29:03 ffd874e62e21: Waiting 05:29:03 c791037a9be2: Waiting 05:29:03 316046926c0a: Verifying Checksum 05:29:03 316046926c0a: Download complete 05:29:03 7186ed65a4f7: Verifying Checksum 05:29:03 7186ed65a4f7: Download complete 05:29:03 207e8628e3a3: Download complete 05:29:03 595b0fe564bb: Verifying Checksum 05:29:03 595b0fe564bb: Download complete 05:29:03 c791037a9be2: Download complete 05:29:03 595b0fe564bb: Pull complete 05:29:04 7186ed65a4f7: Pull complete 05:29:04 316046926c0a: Pull complete 05:29:06 Running on prd-centos7-docker-4c-2g-49 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:29:06 Running in /w/workspace/device-virtual-go/61 [Pipeline] { [Pipeline] checkout 05:29:06 ffd874e62e21: Verifying Checksum 05:29:06 ffd874e62e21: Download complete 05:29:06 The recommended git tool is: git 05:29:07 4ebd0625c992: Verifying Checksum 05:29:07 4ebd0625c992: Download complete 05:29:08 using credential edgex-jenkins-ssh 05:29:08 Cloning the remote Git repository 05:29:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:29:08 > git init /w/workspace/device-virtual-go/61 # timeout=10 05:29:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:29:08 > git --version # timeout=10 05:29:08 > git --version # 'git version 2.24.4' 05:29:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:29:08 [INFO] Currently running in a labeled security context 05:29:08 [INFO] Currently SELinux is 'enforcing' on the host 05:29:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/61@tmp/jenkins-gitclient-ssh3112608970187733080.key 05:29:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:09 Avoid second fetch 05:29:09 Checking out Revision f702dbdc581d304739c2d941e7f0fa4986f2eae4 (master) 05:29:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:29:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:29:09 > git config core.sparsecheckout # timeout=10 05:29:09 > git checkout -f f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 05:29:13 Commit message: "Merge pull request #219 from hahattan/issue-218" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:29:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:29:15 + sudo service docker restart 05:29:15 + true 05:29:15 Redirecting to /bin/systemctl restart docker.service 05:29:17 4ebd0625c992: Pull complete 05:29:17 207e8628e3a3: Pull complete 05:29:18 c791037a9be2: Pull complete 05:29:21 ffd874e62e21: Pull complete 05:29:22 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:29:22 ---> cfc18b08335c 05:29:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:29:24 ---> Running in 20c2abb1259c 05:29:24 Removing intermediate container 20c2abb1259c 05:29:24 ---> cc1dd56edce1 05:29:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:24 ---> Running in 04e15621a683 05:29:27 Removing intermediate container 04e15621a683 05:29:27 ---> fa9bab8105d7 05:29:27 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:29:27 ---> Running in a7caf9e94763 05:29:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:29:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:29:30 (1/13) Installing libc-dev (0.7.2-r3) 05:29:30 (2/13) Installing libsodium (1.0.18-r0) 05:29:30 (3/13) Installing pkgconf (1.7.3-r0) 05:29:30 (4/13) Installing libsodium-dev (1.0.18-r0) 05:29:30 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:29:30 (6/13) Installing libedit (20191231.3.1-r1) 05:29:30 (7/13) Installing openssh-client (8.4_p1-r3) 05:29:31 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:29:31 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:29:31 (10/13) Installing openssh-server (8.4_p1-r3) 05:29:31 (11/13) Installing openssh (8.4_p1-r3) 05:29:31 (12/13) Installing libzmq (4.3.3-r1) 05:29:31 (13/13) Installing zeromq-dev (4.3.3-r1) 05:29:32 Executing busybox-1.32.1-r6.trigger 05:29:32 OK: 145 MiB in 53 packages 05:29:33 Removing intermediate container a7caf9e94763 05:29:33 ---> 0bf93715ad44 05:29:33 Step 6/8 : WORKDIR /device-virtual-go 05:29:33 ---> Running in 6e875d1594bc [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:33 provisioning config files... 05:29:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config2544556160297931018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:34 Removing intermediate container 6e875d1594bc 05:29:34 ---> 97586eba986c 05:29:34 Step 7/8 : COPY . . 05:29:34 ---> docker-login.sh 05:29:34 nexus3.edgexfoundry.org:10001 05:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:34 Configure a credential helper to remove this warning. See 05:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:34 05:29:34 Login Succeeded 05:29:34 nexus3.edgexfoundry.org:10002 05:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:34 Configure a credential helper to remove this warning. See 05:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:34 05:29:34 Login Succeeded 05:29:34 nexus3.edgexfoundry.org:10003 05:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:34 Configure a credential helper to remove this warning. See 05:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:34 05:29:34 Login Succeeded 05:29:34 nexus3.edgexfoundry.org:10004 05:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:35 ---> e9e4274ef56e 05:29:35 Step 8/8 : RUN go mod download 05:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:35 Configure a credential helper to remove this warning. See 05:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:35 05:29:35 Login Succeeded 05:29:35 docker.io 05:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:35 ---> Running in 4f6e55279ae3 05:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:35 Configure a credential helper to remove this warning. See 05:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:35 05:29:35 Login Succeeded 05:29:35 ---> docker-login.sh ends [Pipeline] } 05:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:29:35 ========================================================= 05:29:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:29:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:29:36 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:29:36 Sending build context to Docker daemon 8.591MB 05:29:36 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:29:36 Step 2/8 : FROM ${BASE} 05:29:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:29:36 540db60ca938: Pulling fs layer 05:29:36 adcc1eea9eea: Pulling fs layer 05:29:36 4c4ab2625f07: Pulling fs layer 05:29:36 0510c868ecb4: Pulling fs layer 05:29:36 afea3b2eda06: Pulling fs layer 05:29:36 7809a108b3ef: Pulling fs layer 05:29:36 f706445af74f: Pulling fs layer 05:29:36 afea3b2eda06: Waiting 05:29:36 7809a108b3ef: Waiting 05:29:36 f706445af74f: Waiting 05:29:36 0510c868ecb4: Waiting 05:29:36 4c4ab2625f07: Verifying Checksum 05:29:36 4c4ab2625f07: Download complete 05:29:36 adcc1eea9eea: Verifying Checksum 05:29:36 adcc1eea9eea: Download complete 05:29:36 afea3b2eda06: Verifying Checksum 05:29:36 afea3b2eda06: Download complete 05:29:36 540db60ca938: Verifying Checksum 05:29:36 540db60ca938: Download complete 05:29:36 7809a108b3ef: Verifying Checksum 05:29:36 7809a108b3ef: Download complete 05:29:36 540db60ca938: Pull complete 05:29:36 adcc1eea9eea: Pull complete 05:29:37 4c4ab2625f07: Pull complete 05:29:37 f706445af74f: Verifying Checksum 05:29:37 f706445af74f: Download complete 05:29:38 0510c868ecb4: Verifying Checksum 05:29:38 0510c868ecb4: Download complete 05:29:42 0510c868ecb4: Pull complete 05:29:42 afea3b2eda06: Pull complete 05:29:42 7809a108b3ef: Pull complete 05:29:43 f706445af74f: Pull complete 05:29:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:29:43 ---> b068be0155e3 05:29:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:29:53 ---> Running in e42e71e0f06e 05:29:53 Removing intermediate container e42e71e0f06e 05:29:53 ---> b046707bb429 05:29:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:53 ---> Running in f81123b4c7ce 05:29:54 Removing intermediate container f81123b4c7ce 05:29:54 ---> 54266bfb556c 05:29:54 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:29:54 ---> Running in 7ccdb4b9948d 05:29:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:29:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:29:55 (1/13) Installing libc-dev (0.7.2-r3) 05:29:56 (2/13) Installing libsodium (1.0.18-r0) 05:29:56 (3/13) Installing pkgconf (1.7.3-r0) 05:29:56 (4/13) Installing libsodium-dev (1.0.18-r0) 05:29:56 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:29:56 (6/13) Installing libedit (20191231.3.1-r1) 05:29:56 (7/13) Installing openssh-client (8.4_p1-r3) 05:29:56 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:29:56 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:29:56 (10/13) Installing openssh-server (8.4_p1-r3) 05:29:56 (11/13) Installing openssh (8.4_p1-r3) 05:29:57 (12/13) Installing libzmq (4.3.3-r1) 05:29:57 (13/13) Installing zeromq-dev (4.3.3-r1) 05:29:57 Executing busybox-1.32.1-r6.trigger 05:29:57 OK: 156 MiB in 53 packages 05:29:57 Removing intermediate container 7ccdb4b9948d 05:29:57 ---> e9cb25d1bcf3 05:29:57 Step 6/8 : WORKDIR /device-virtual-go 05:29:57 ---> Running in d0d2632ab4f1 05:29:57 Removing intermediate container d0d2632ab4f1 05:29:57 ---> 57329eb228ff 05:29:57 Step 7/8 : COPY . . 05:29:58 ---> 9532d027ba04 05:29:58 Step 8/8 : RUN go mod download 05:29:58 ---> Running in a762640efb08 05:30:07 Removing intermediate container 4f6e55279ae3 05:30:07 ---> 279418f75a68 05:30:07 Successfully built 279418f75a68 05:30:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:30:08 + docker inspect -f . ci-base-image-arm64 05:30:08 . [Pipeline] withDockerContainer 05:30:08 prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container 05:30:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 ******** ci-base-image-arm64 cat 05:30:10 $ docker top 342d045a136f8f5a671b784c6792f5d60ab68d5c489279f0fe75ccfb2de16e54 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:11 + go version 05:30:11 go version go1.16.3 linux/arm64 [Pipeline] } 05:30:11 $ docker stop --time=1 342d045a136f8f5a671b784c6792f5d60ab68d5c489279f0fe75ccfb2de16e54 05:30:13 $ docker rm -f 342d045a136f8f5a671b784c6792f5d60ab68d5c489279f0fe75ccfb2de16e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:14 + docker inspect -f . ci-base-image-arm64 05:30:14 . [Pipeline] withDockerContainer 05:30:14 prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container 05:30:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 ******** ci-base-image-arm64 cat 05:30:16 $ docker top bf4a685f30b459b2d0955dee2c585d170e87d1d9cc9213144746a8fd32009172 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:17 + go mod tidy [Pipeline] sh 05:30:18 + make test 05:30:18 go mod tidy 05:30:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:30:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:30:25 Removing intermediate container a762640efb08 05:30:25 ---> 154b334ac79d 05:30:25 Successfully built 154b334ac79d 05:30:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker inspect -f . ci-base-image-x86_64 05:30:25 . [Pipeline] withDockerContainer 05:30:25 prd-centos7-docker-4c-2g-49 does not seem to be running inside a container 05:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 ******** ci-base-image-x86_64 cat 05:30:26 $ docker top aa9133fa81432815f9383368c6863fa6af03c38d25a0c32f97432f29d7211081 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:26 + go version 05:30:26 go version go1.16.3 linux/amd64 [Pipeline] } 05:30:26 $ docker stop --time=1 aa9133fa81432815f9383368c6863fa6af03c38d25a0c32f97432f29d7211081 05:30:27 $ docker rm -f aa9133fa81432815f9383368c6863fa6af03c38d25a0c32f97432f29d7211081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:28 + docker inspect -f . ci-base-image-x86_64 05:30:28 . [Pipeline] withDockerContainer 05:30:28 prd-centos7-docker-4c-2g-49 does not seem to be running inside a container 05:30:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 ******** ci-base-image-x86_64 cat 05:30:28 $ docker top 8ca17b12dcbcd577c9812f567b46001f5ccf3e08746b8e1f140b2fb25162f56b -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:29 + go mod tidy [Pipeline] sh 05:30:29 + make test 05:30:29 go mod tidy 05:30:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:30:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:30:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:30:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.274s coverage: 63.8% of statements 05:30:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:30:57 gofmt -l . 05:30:57 [ "`gofmt -l .`" = "" ] 05:30:57 ./bin/test-attribution-txt.sh 05:30:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:30:58 $ docker stop --time=1 8ca17b12dcbcd577c9812f567b46001f5ccf3e08746b8e1f140b2fb25162f56b 05:31:01 $ docker rm -f 8ca17b12dcbcd577c9812f567b46001f5ccf3e08746b8e1f140b2fb25162f56b [Pipeline] // withDockerContainer [Pipeline] sh 05:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:31:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:31:04 + ls -al . 05:31:04 total 132 05:31:04 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 2 05:30 . 05:31:04 drwxrwxr-x. 4 jenkins jenkins 30 Jun 2 05:29 .. 05:31:04 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 2 05:29 Attribution.txt 05:31:04 drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 05:29 bin 05:31:04 drwxrwxr-x. 3 jenkins jenkins 32 Jun 2 05:29 cmd 05:31:04 -rw-r--r--. 1 jenkins jenkins 47247 Jun 2 05:30 coverage.out 05:31:04 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 2 05:29 Dockerfile 05:31:04 -rw-rw-r--. 1 jenkins jenkins 998 Jun 2 05:29 Dockerfile.build 05:31:04 drwxrwxr-x. 8 jenkins jenkins 162 Jun 2 05:29 .git 05:31:04 drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 05:29 .github 05:31:04 -rw-rw-r--. 1 jenkins jenkins 277 Jun 2 05:29 .gitignore 05:31:04 -rw-r--r--. 1 jenkins jenkins 809 Jun 2 05:30 go.mod 05:31:04 -rw-r--r--. 1 jenkins jenkins 23431 Jun 2 05:30 go.sum 05:31:04 drwxrwxr-x. 3 jenkins jenkins 20 Jun 2 05:29 internal 05:31:04 -rw-rw-r--. 1 jenkins jenkins 660 Jun 2 05:29 Jenkinsfile 05:31:04 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 2 05:29 LICENSE 05:31:04 -rw-rw-r--. 1 jenkins jenkins 905 Jun 2 05:29 Makefile 05:31:04 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 2 05:29 README.md 05:31:04 -rw-rw-r--. 1 jenkins jenkins 12 Jun 2 05:26 VERSION 05:31:04 -rw-rw-r--. 1 jenkins jenkins 235 Jun 2 05:29 version.go [Pipeline] isUnix [Pipeline] sh 05:31:05 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f702dbdc581d304739c2d941e7f0fa4986f2eae4 --label arch=amd64 --label version=1.3.2-dev.21 . 05:31:05 Sending build context to Docker daemon 8.664MB 05:31:05 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 05:31:05 Step 2/26 : FROM ${BASE} AS builder 05:31:05 ---> 154b334ac79d 05:31:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:31:05 ---> Running in a5c20224a578 05:31:05 Removing intermediate container a5c20224a578 05:31:05 ---> 98b98dc87713 05:31:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:31:05 ---> Running in 43c331447f43 05:31:05 Removing intermediate container 43c331447f43 05:31:05 ---> ca6df6260c16 05:31:05 Step 5/26 : WORKDIR /device-virtual-go 05:31:05 ---> Running in 9a8e83c99ada 05:31:05 Removing intermediate container 9a8e83c99ada 05:31:05 ---> 150bdcec0269 05:31:05 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:31:05 ---> Running in 918427b9f002 05:31:06 Removing intermediate container 918427b9f002 05:31:06 ---> accd32653c02 05:31:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:31:06 ---> Running in 65a9789aa6a0 05:31:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:31:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:31:08 OK: 156 MiB in 53 packages 05:31:08 Removing intermediate container 65a9789aa6a0 05:31:08 ---> 2f6d783cf0f9 05:31:08 Step 8/26 : COPY . . 05:31:09 ---> df6111a3af96 05:31:09 Step 9/26 : RUN go mod tidy 05:31:09 ---> Running in a8cac025f669 05:31:09 Removing intermediate container a8cac025f669 05:31:09 ---> 70214ee2159f 05:31:09 Step 10/26 : RUN go mod download 05:31:09 ---> Running in a70f3d549ff9 05:31:10 Removing intermediate container a70f3d549ff9 05:31:10 ---> fe44885cffb5 05:31:10 Step 11/26 : ARG MAKE='make build' 05:31:10 ---> Running in d175c8f8aba6 05:31:10 Removing intermediate container d175c8f8aba6 05:31:10 ---> 4723f97c7bed 05:31:10 Step 12/26 : RUN $MAKE 05:31:10 ---> Running in bd88c74e2b6d 05:31:10 go mod tidy 05:31:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.21" -o cmd/device-virtual ./cmd 05:31:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:31:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.686s coverage: 63.8% of statements 05:31:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:31:29 Removing intermediate container bd88c74e2b6d 05:31:29 ---> a3e53fe22a83 05:31:29 Step 13/26 : FROM alpine:3.12 05:31:30 3.12: Pulling from library/alpine 05:31:30 339de151aab4: Pulling fs layer 05:31:30 339de151aab4: Verifying Checksum 05:31:30 339de151aab4: Download complete 05:31:30 339de151aab4: Pull complete 05:31:30 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:31:30 Status: Downloaded newer image for alpine:3.12 05:31:30 ---> 13621d1b12d4 05:31:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:31:30 ---> Running in e51100ee4e55 05:31:30 Removing intermediate container e51100ee4e55 05:31:30 ---> 13a4095d51ff 05:31:30 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:31:30 ---> Running in 85a36c892105 05:31:31 Removing intermediate container 85a36c892105 05:31:31 ---> 4e962f09bd7a 05:31:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:31:31 ---> Running in 209ffe5d1f77 05:31:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:31:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:31:32 (1/6) Installing dumb-init (1.2.2-r1) 05:31:33 (2/6) Installing libgcc (9.3.0-r2) 05:31:33 (3/6) Installing libsodium (1.0.18-r0) 05:31:33 (4/6) Installing libstdc++ (9.3.0-r2) 05:31:34 (5/6) Installing libzmq (4.3.3-r0) 05:31:34 (6/6) Installing zeromq (4.3.3-r0) 05:31:34 Executing busybox-1.31.1-r20.trigger 05:31:34 OK: 8 MiB in 20 packages 05:31:34 Removing intermediate container 209ffe5d1f77 05:31:34 ---> c39043b6f556 05:31:34 Step 17/26 : WORKDIR / 05:31:34 ---> Running in afe74de0e294 05:31:34 Removing intermediate container afe74de0e294 05:31:34 ---> 818059a61a74 05:31:34 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:31:34 ---> 913d13a020e8 05:31:34 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:31:35 ---> 66d38b71f59d 05:31:35 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:31:35 ---> 4e233a393fa7 05:31:35 Step 21/26 : EXPOSE 59900 05:31:35 ---> Running in be3ca619b63d 05:31:35 Removing intermediate container be3ca619b63d 05:31:35 ---> 011cca209fb9 05:31:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:31:35 ---> Running in c2ac19db25fc 05:31:35 Removing intermediate container c2ac19db25fc 05:31:35 ---> 1c467fcaa3e2 05:31:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:31:36 ---> Running in e7ecbebd6da5 05:31:36 Removing intermediate container e7ecbebd6da5 05:31:36 ---> 76a4cb1e6906 05:31:36 Step 24/26 : LABEL arch=amd64 05:31:36 ---> Running in 55961d6a5fdf 05:31:36 Removing intermediate container 55961d6a5fdf 05:31:36 ---> 60ae3be6ef35 05:31:36 Step 25/26 : LABEL git_sha=f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:31:36 ---> Running in a0f4c790d7d7 05:31:36 Removing intermediate container a0f4c790d7d7 05:31:36 ---> 66ec50a1dd1d 05:31:36 Step 26/26 : LABEL version=1.3.2-dev.21 05:31:36 ---> Running in 34bdd419390e 05:31:36 Removing intermediate container 34bdd419390e 05:31:36 ---> 2fe2d78aba05 05:31:36 [Warning] One or more build-args [ARCH] were not consumed 05:31:36 Successfully built 2fe2d78aba05 05:31:36 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:36 provisioning config files... 05:31:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config6193318000220904796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:37 ---> docker-login.sh 05:31:37 nexus3.edgexfoundry.org:10001 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 nexus3.edgexfoundry.org:10002 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 nexus3.edgexfoundry.org:10003 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 nexus3.edgexfoundry.org:10004 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 docker.io 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 ---> docker-login.sh ends [Pipeline] } 05:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:31:38 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 05:31:38 f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:31:38 latest 05:31:38 1.3.2-dev.21 05:31:38 f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:31:38 master 05:31:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:31:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] isUnix [Pipeline] sh 05:31:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:31:38 fab31dbff8cc: Preparing 05:31:38 e0e90220e9f6: Preparing 05:31:38 634613c71f84: Preparing 05:31:38 e8ea6746953b: Preparing 05:31:38 0ad6c745e06e: Preparing 05:31:38 32f366d666a5: Preparing 05:31:38 32f366d666a5: Waiting 05:31:38 0ad6c745e06e: Pushed 05:31:38 634613c71f84: Pushed 05:31:38 32f366d666a5: Layer already exists 05:31:38 e0e90220e9f6: Pushed 05:31:38 e8ea6746953b: Pushed 05:31:40 fab31dbff8cc: Pushed 05:31:40 f702dbdc581d304739c2d941e7f0fa4986f2eae4: digest: sha256:a860ea39f9abf9b47764cf26364928ae49b5120b5e00d6eacf0621ec1f7aef1a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:31:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 05:31:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 05:31:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:31:40 fab31dbff8cc: Preparing 05:31:40 e0e90220e9f6: Preparing 05:31:40 634613c71f84: Preparing 05:31:40 e8ea6746953b: Preparing 05:31:40 0ad6c745e06e: Preparing 05:31:40 32f366d666a5: Preparing 05:31:40 32f366d666a5: Waiting 05:31:40 634613c71f84: Layer already exists 05:31:40 e8ea6746953b: Layer already exists 05:31:40 e0e90220e9f6: Layer already exists 05:31:40 fab31dbff8cc: Layer already exists 05:31:40 0ad6c745e06e: Layer already exists 05:31:40 32f366d666a5: Layer already exists 05:31:40 latest: digest: sha256:a860ea39f9abf9b47764cf26364928ae49b5120b5e00d6eacf0621ec1f7aef1a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:31:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh 05:31:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.21 05:31:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:31:41 fab31dbff8cc: Preparing 05:31:41 e0e90220e9f6: Preparing 05:31:41 634613c71f84: Preparing 05:31:41 e8ea6746953b: Preparing 05:31:41 0ad6c745e06e: Preparing 05:31:41 32f366d666a5: Preparing 05:31:41 32f366d666a5: Waiting 05:31:41 fab31dbff8cc: Layer already exists 05:31:41 634613c71f84: Layer already exists 05:31:41 e0e90220e9f6: Layer already exists 05:31:41 e8ea6746953b: Layer already exists 05:31:41 0ad6c745e06e: Layer already exists 05:31:41 32f366d666a5: Layer already exists 05:31:41 1.3.2-dev.21: digest: sha256:a860ea39f9abf9b47764cf26364928ae49b5120b5e00d6eacf0621ec1f7aef1a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:31:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh 05:31:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:31:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:31:42 fab31dbff8cc: Preparing 05:31:42 e0e90220e9f6: Preparing 05:31:42 634613c71f84: Preparing 05:31:42 e8ea6746953b: Preparing 05:31:42 0ad6c745e06e: Preparing 05:31:42 32f366d666a5: Preparing 05:31:42 32f366d666a5: Waiting 05:31:42 0ad6c745e06e: Layer already exists 05:31:42 e0e90220e9f6: Layer already exists 05:31:42 fab31dbff8cc: Layer already exists 05:31:42 e8ea6746953b: Layer already exists 05:31:42 634613c71f84: Layer already exists 05:31:42 32f366d666a5: Layer already exists 05:31:42 f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21: digest: sha256:a860ea39f9abf9b47764cf26364928ae49b5120b5e00d6eacf0621ec1f7aef1a size: 1572 [Pipeline] isUnix [Pipeline] sh 05:31:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 05:31:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 05:31:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:31:42 fab31dbff8cc: Preparing 05:31:42 e0e90220e9f6: Preparing 05:31:42 634613c71f84: Preparing 05:31:42 e8ea6746953b: Preparing 05:31:42 0ad6c745e06e: Preparing 05:31:42 32f366d666a5: Preparing 05:31:42 32f366d666a5: Waiting 05:31:42 634613c71f84: Layer already exists 05:31:42 e0e90220e9f6: Layer already exists 05:31:42 0ad6c745e06e: Layer already exists 05:31:42 fab31dbff8cc: Layer already exists 05:31:42 e8ea6746953b: Layer already exists 05:31:42 32f366d666a5: Layer already exists 05:31:42 master: digest: sha256:a860ea39f9abf9b47764cf26364928ae49b5120b5e00d6eacf0621ec1f7aef1a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:31:42 ===================================================== [Pipeline] echo 05:31:42 taggedImages: 05:31:42 - nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:31:42 - nexus3.edgexfoundry.org:10004/device-virtual:latest 05:31:42 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.21 05:31:42 - nexus3.edgexfoundry.org:10004/device-virtual:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:31:42 - nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:31:43 ---> job-cost.sh 05:31:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RIfM 05:31:50 gofmt -l . 05:31:50 [ "`gofmt -l .`" = "" ] 05:31:50 ./bin/test-attribution-txt.sh 05:31:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:31:52 $ docker stop --time=1 bf4a685f30b459b2d0955dee2c585d170e87d1d9cc9213144746a8fd32009172 05:31:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:31:54 $ docker rm -f bf4a685f30b459b2d0955dee2c585d170e87d1d9cc9213144746a8fd32009172 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:31:55 Warning: overwriting stash ‘coverage-report’ 05:31:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:31:57 + ls -al . 05:31:57 total 156 05:31:57 drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 05:31 . 05:31:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 05:28 .. 05:31:57 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 05:28 .git 05:31:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:28 .github 05:31:57 -rw-rw-r-- 1 jenkins jenkins 277 Jun 2 05:28 .gitignore 05:31:57 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 2 05:28 Attribution.txt 05:31:57 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 2 05:28 Dockerfile 05:31:57 -rw-rw-r-- 1 jenkins jenkins 998 Jun 2 05:28 Dockerfile.build 05:31:57 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 05:28 Jenkinsfile 05:31:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 05:28 LICENSE 05:31:57 -rw-rw-r-- 1 jenkins jenkins 905 Jun 2 05:28 Makefile 05:31:57 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 2 05:28 README.md 05:31:57 -rw-rw-r-- 1 jenkins jenkins 12 Jun 2 05:26 VERSION 05:31:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:28 bin 05:31:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:28 cmd 05:31:57 -rw-r--r-- 1 jenkins jenkins 47247 Jun 2 05:31 coverage.out 05:31:57 -rw-r--r-- 1 jenkins jenkins 809 Jun 2 05:31 go.mod 05:31:57 -rw-r--r-- 1 jenkins jenkins 23431 Jun 2 05:30 go.sum 05:31:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:28 internal 05:31:57 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 05:28 version.go [Pipeline] isUnix [Pipeline] sh 05:31:57 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f702dbdc581d304739c2d941e7f0fa4986f2eae4 --label arch=arm64 --label version=1.3.2-dev.21 . 05:31:57 Sending build context to Docker daemon 8.663MB 05:31:58 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 05:31:58 Step 2/26 : FROM ${BASE} AS builder 05:31:58 ---> 279418f75a68 05:31:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:31:58 ---> Running in ccce960a524d 05:31:58 Removing intermediate container ccce960a524d 05:31:58 ---> 46296a75232b 05:31:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:31:58 ---> Running in 1648564a80b4 05:31:59 Removing intermediate container 1648564a80b4 05:31:59 ---> 389b8afb2a3c 05:31:59 Step 5/26 : WORKDIR /device-virtual-go 05:31:59 ---> Running in ed1c17cb800e 05:32:00 Removing intermediate container ed1c17cb800e 05:32:00 ---> ce75f8e848bc 05:32:00 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:32:00 ---> Running in 2e699a0231af 05:32:02 Removing intermediate container 2e699a0231af 05:32:02 ---> b14b2694b29b 05:32:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:32:02 ---> Running in 4f4809a5dad5 05:32:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:32:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:32:05 OK: 145 MiB in 53 packages 05:32:05 lf-activate-venv(): INFO: Adding /tmp/venv-RIfM/bin to PATH 05:32:05 INFO: No Stack... 05:32:06 Removing intermediate container 4f4809a5dad5 05:32:06 ---> d3644266468a 05:32:06 Step 8/26 : COPY . . 05:32:06 INFO: Retrieving Pricing Info for: v3-standard-2 05:32:07 INFO: Archiving Costs [Pipeline] sh 05:32:07 + cat /w/workspace/device-virtual-go/61/archives/cost.csv 05:32:07 + cut -d, -f6 05:32:07 ---> 06c26c604e50 05:32:07 Step 9/26 : RUN go mod tidy 05:32:07 ---> Running in 71634f28e8ae [Pipeline] lock 05:32:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] 05:32:07 Resource [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] did not exist. Created. 05:32:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:32:08 + echo total: 0.05999999865889549 [Pipeline] stash 05:32:08 Stashed 1 file(s) [Pipeline] } 05:32:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:32:10 Removing intermediate container 71634f28e8ae 05:32:10 ---> 5767b5dc2d09 05:32:10 Step 10/26 : RUN go mod download 05:32:10 ---> Running in 0cd223af86bd 05:32:13 Removing intermediate container 0cd223af86bd 05:32:13 ---> 137050f5379a 05:32:13 Step 11/26 : ARG MAKE='make build' 05:32:13 ---> Running in 7a82b8d11728 05:32:13 Removing intermediate container 7a82b8d11728 05:32:13 ---> fca68006c1df 05:32:13 Step 12/26 : RUN $MAKE 05:32:13 ---> Running in 43a946172bd8 05:32:14 go mod tidy 05:32:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.21" -o cmd/device-virtual ./cmd 05:33:11 Removing intermediate container 43a946172bd8 05:33:11 ---> be1e65bb9be4 05:33:11 Step 13/26 : FROM alpine:3.12 05:33:11 3.12: Pulling from library/alpine 05:33:11 d2f70382dc9a: Pulling fs layer 05:33:11 d2f70382dc9a: Verifying Checksum 05:33:11 d2f70382dc9a: Download complete 05:33:11 d2f70382dc9a: Pull complete 05:33:11 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:33:11 Status: Downloaded newer image for alpine:3.12 05:33:11 ---> 9852663dfa18 05:33:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:33:11 ---> Running in 34eb1b006c8d 05:33:11 Removing intermediate container 34eb1b006c8d 05:33:11 ---> 69e8de18aa9d 05:33:11 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:33:11 ---> Running in 17e68bbf4484 05:33:11 Removing intermediate container 17e68bbf4484 05:33:11 ---> f07e8f84bb4d 05:33:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:33:11 ---> Running in f99f424f8527 05:33:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:33:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:33:12 (1/6) Installing dumb-init (1.2.2-r1) 05:33:12 (2/6) Installing libgcc (9.3.0-r2) 05:33:12 (3/6) Installing libsodium (1.0.18-r0) 05:33:12 (4/6) Installing libstdc++ (9.3.0-r2) 05:33:12 (5/6) Installing libzmq (4.3.3-r0) 05:33:12 (6/6) Installing zeromq (4.3.3-r0) 05:33:12 Executing busybox-1.31.1-r20.trigger 05:33:13 OK: 8 MiB in 20 packages 05:33:14 Removing intermediate container f99f424f8527 05:33:14 ---> 2276dda94c81 05:33:14 Step 17/26 : WORKDIR / 05:33:14 ---> Running in 8eba717ce027 05:33:14 Removing intermediate container 8eba717ce027 05:33:14 ---> 3d7fc32185da 05:33:14 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:33:15 ---> 60bcd66b4e7c 05:33:15 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:33:16 ---> 63fb2c6e0941 05:33:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:33:17 ---> 14a2c659b550 05:33:17 Step 21/26 : EXPOSE 59900 05:33:17 ---> Running in a32193d270fa 05:33:18 Removing intermediate container a32193d270fa 05:33:18 ---> e82b80d97dd5 05:33:18 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:33:18 ---> Running in 07a95a8d07d7 05:33:19 Removing intermediate container 07a95a8d07d7 05:33:19 ---> b5302d8ede9a 05:33:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:33:19 ---> Running in bbf2a2178a0c 05:33:19 Removing intermediate container bbf2a2178a0c 05:33:19 ---> 12f3f111de08 05:33:19 Step 24/26 : LABEL arch=arm64 05:33:20 ---> Running in 5e64d5e4900f 05:33:20 Removing intermediate container 5e64d5e4900f 05:33:20 ---> 6aea209b0ee4 05:33:20 Step 25/26 : LABEL git_sha=f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:33:20 ---> Running in a4e77f160d49 05:33:21 Removing intermediate container a4e77f160d49 05:33:21 ---> 9f90818ae4a0 05:33:21 Step 26/26 : LABEL version=1.3.2-dev.21 05:33:21 ---> Running in 5d0aa0c12d5c 05:33:21 Removing intermediate container 5d0aa0c12d5c 05:33:21 ---> c485c5ad86c2 05:33:21 [Warning] One or more build-args [ARCH] were not consumed 05:33:21 Successfully built c485c5ad86c2 05:33:21 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:22 provisioning config files... 05:33:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config5131200575377985894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:22 ---> docker-login.sh 05:33:22 nexus3.edgexfoundry.org:10001 05:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:23 Configure a credential helper to remove this warning. See 05:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:23 05:33:23 Login Succeeded 05:33:23 nexus3.edgexfoundry.org:10002 05:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:23 Configure a credential helper to remove this warning. See 05:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:23 05:33:23 Login Succeeded 05:33:23 nexus3.edgexfoundry.org:10003 05:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:24 Configure a credential helper to remove this warning. See 05:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:24 05:33:24 Login Succeeded 05:33:24 nexus3.edgexfoundry.org:10004 05:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:24 Configure a credential helper to remove this warning. See 05:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:24 05:33:24 Login Succeeded 05:33:24 docker.io 05:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:25 Configure a credential helper to remove this warning. See 05:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:25 05:33:25 Login Succeeded 05:33:25 ---> docker-login.sh ends [Pipeline] } 05:33:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:25 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 05:33:25 f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:33:25 latest 05:33:25 1.3.2-dev.21 05:33:25 f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:33:25 master 05:33:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:33:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] isUnix [Pipeline] sh 05:33:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:33:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:33:26 6040f0271b2e: Preparing 05:33:26 fcbef0d639db: Preparing 05:33:26 4a640a5425e9: Preparing 05:33:26 912311f283ba: Preparing 05:33:26 79f1a88bf733: Preparing 05:33:26 3fbe34a1663b: Preparing 05:33:26 3fbe34a1663b: Waiting 05:33:26 fcbef0d639db: Pushed 05:33:26 79f1a88bf733: Pushed 05:33:26 4a640a5425e9: Pushed 05:33:26 3fbe34a1663b: Layer already exists 05:33:27 912311f283ba: Pushed 05:33:30 6040f0271b2e: Pushed 05:33:30 f702dbdc581d304739c2d941e7f0fa4986f2eae4: digest: sha256:735f6cd749bd134fa5a42755f90832aecf7ea33d5a08c4d06f9338c87a4f5739 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:33:30 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:33:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:33:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:33:31 6040f0271b2e: Preparing 05:33:31 fcbef0d639db: Preparing 05:33:31 4a640a5425e9: Preparing 05:33:31 912311f283ba: Preparing 05:33:31 79f1a88bf733: Preparing 05:33:31 3fbe34a1663b: Preparing 05:33:31 3fbe34a1663b: Waiting 05:33:31 79f1a88bf733: Layer already exists 05:33:31 912311f283ba: Layer already exists 05:33:31 6040f0271b2e: Layer already exists 05:33:31 fcbef0d639db: Layer already exists 05:33:31 4a640a5425e9: Layer already exists 05:33:31 3fbe34a1663b: Layer already exists 05:33:31 latest: digest: sha256:735f6cd749bd134fa5a42755f90832aecf7ea33d5a08c4d06f9338c87a4f5739 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:33:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh 05:33:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.21 05:33:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:33:32 6040f0271b2e: Preparing 05:33:32 fcbef0d639db: Preparing 05:33:32 4a640a5425e9: Preparing 05:33:32 912311f283ba: Preparing 05:33:32 79f1a88bf733: Preparing 05:33:32 3fbe34a1663b: Preparing 05:33:32 3fbe34a1663b: Waiting 05:33:32 4a640a5425e9: Layer already exists 05:33:32 912311f283ba: Layer already exists 05:33:32 fcbef0d639db: Layer already exists 05:33:32 6040f0271b2e: Layer already exists 05:33:32 79f1a88bf733: Layer already exists 05:33:32 3fbe34a1663b: Layer already exists 05:33:32 1.3.2-dev.21: digest: sha256:735f6cd749bd134fa5a42755f90832aecf7ea33d5a08c4d06f9338c87a4f5739 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:33:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 [Pipeline] isUnix [Pipeline] sh 05:33:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:33:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:33:33 6040f0271b2e: Preparing 05:33:33 fcbef0d639db: Preparing 05:33:33 4a640a5425e9: Preparing 05:33:33 912311f283ba: Preparing 05:33:33 79f1a88bf733: Preparing 05:33:33 3fbe34a1663b: Preparing 05:33:33 3fbe34a1663b: Waiting 05:33:33 79f1a88bf733: Layer already exists 05:33:33 fcbef0d639db: Layer already exists 05:33:33 912311f283ba: Layer already exists 05:33:33 4a640a5425e9: Layer already exists 05:33:33 6040f0271b2e: Layer already exists 05:33:33 3fbe34a1663b: Layer already exists 05:33:33 f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21: digest: sha256:735f6cd749bd134fa5a42755f90832aecf7ea33d5a08c4d06f9338c87a4f5739 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:33:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 05:33:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 05:33:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:33:34 6040f0271b2e: Preparing 05:33:34 fcbef0d639db: Preparing 05:33:34 4a640a5425e9: Preparing 05:33:34 912311f283ba: Preparing 05:33:34 79f1a88bf733: Preparing 05:33:34 3fbe34a1663b: Preparing 05:33:34 3fbe34a1663b: Waiting 05:33:34 4a640a5425e9: Layer already exists 05:33:34 6040f0271b2e: Layer already exists 05:33:34 79f1a88bf733: Layer already exists 05:33:34 fcbef0d639db: Layer already exists 05:33:34 912311f283ba: Layer already exists 05:33:34 3fbe34a1663b: Layer already exists 05:33:34 master: digest: sha256:735f6cd749bd134fa5a42755f90832aecf7ea33d5a08c4d06f9338c87a4f5739 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:34 ===================================================== [Pipeline] echo 05:33:34 taggedImages: 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.21 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f702dbdc581d304739c2d941e7f0fa4986f2eae4-1.3.2-dev.21 05:33:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:33:35 ---> job-cost.sh 05:33:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ya2t 05:34:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:35:50 lf-activate-venv(): INFO: Adding /tmp/venv-Ya2t/bin to PATH 05:35:50 INFO: No Stack... 05:35:50 INFO: Retrieving Pricing Info for: v2-standard-4 05:35:50 INFO: Archiving Costs [Pipeline] sh 05:35:51 + cat /w/workspace/device-virtual-go/61/archives/cost.csv 05:35:51 + cut -d, -f6 [Pipeline] lock 05:35:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] 05:35:51 Resource [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] did not exist. Created. 05:35:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:35:51 /w/workspace/device-virtual-go/61@tmp/durable-668e8e6a/script.sh: 1: /w/workspace/device-virtual-go/61@tmp/durable-668e8e6a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:35:52 + echo total: 0.18000000715255737 [Pipeline] stash 05:35:52 Warning: overwriting stash ‘stack-cost’ 05:35:52 Stashed 1 file(s) [Pipeline] } 05:35:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-61-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] configFileProvider 05:35:53 provisioning config files... 05:35:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3945106539284561808tmp [Pipeline] { [Pipeline] sh 05:35:53 + set +x 05:35:53 + curl -s https://codecov.io/bash 05:35:53 + bash -s -- 05:35:53 05:35:53 _____ _ 05:35:53 / ____| | | 05:35:53 | | ___ __| | ___ ___ _____ __ 05:35:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:35:53 | |___| (_) | (_| | __/ (_| (_) \ V / 05:35:53 \_____\___/ \__,_|\___|\___\___/ \_/ 05:35:53 Bash-1.0.3 05:35:53 05:35:53 05:35:53 ==> git version 2.24.4 found 05:35:53 ==> 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 05:35:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:35:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:35:53 ==> Jenkins CI detected. 05:35:53 project root: . 05:35:53 --> token set from env 05:35:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:35:53 ==> Running gcov in . (disable via -X gcov) 05:35:53 ==> Python coveragepy not found 05:35:53 ==> Searching for coverage reports in: 05:35:53 + . 05:35:53 -> Found 1 reports 05:35:53 ==> Detecting git/mercurial file structure 05:35:53 ==> Reading reports 05:35:53 + ./coverage.out bytes=47247 05:35:53 ==> Appending adjustments 05:35:53 https://docs.codecov.io/docs/fixing-reports 05:35:53 + Found adjustments 05:35:53 ==> Gzipping contents 05:35:53 8.0K /tmp/codecov.Fx9Da5.gz 05:35:53 ==> Uploading reports 05:35:53 url: https://codecov.io 05:35:53 query: branch=master&commit=f702dbdc581d304739c2d941e7f0fa4986f2eae4&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:35:53 -> Pinging Codecov 05:35:53 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=f702dbdc581d304739c2d941e7f0fa4986f2eae4&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:35:54 -> Uploading to 05:35:54 https://storage.googleapis.com/codecov/v4/raw/2021-06-02/5E52B4B073DB2E39498172D8E973AA87/f702dbdc581d304739c2d941e7f0fa4986f2eae4/3f316a68-59be-4d5e-ab5b-0bb41c8dcccb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T053554Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e1a7deba97fb1155021fd79129970474610c40ee54538f711fc6c208493f681 05:35:54 % Total % Received % Xferd Average Speed Time Time Time Current 05:35:54 Dload Upload Total Spent Left Speed 05:35:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5790 0 0 100 5790 0 13110 --:--:-- --:--:-- --:--:-- 13099 05:35:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] } 05:35:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:35:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:35:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:35:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:35:56 05:35:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:35:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:35:56 188c0c94c7c5: Pulling fs layer 05:35:56 0ef7d3d256c8: Pulling fs layer 05:35:56 de9db76c5a1d: Pulling fs layer 05:35:56 0eba1c9be4d2: Pulling fs layer 05:35:56 0d57e429df01: Pulling fs layer 05:35:56 4e4be7b47b0d: Pulling fs layer 05:35:56 e1f770b5df2f: Pulling fs layer 05:35:56 85a0685a4137: Pulling fs layer 05:35:56 4e4be7b47b0d: Waiting 05:35:56 e1f770b5df2f: Waiting 05:35:56 85a0685a4137: Waiting 05:35:56 0eba1c9be4d2: Waiting 05:35:56 0d57e429df01: Waiting 05:35:56 de9db76c5a1d: Verifying Checksum 05:35:56 de9db76c5a1d: Download complete 05:35:56 0ef7d3d256c8: Verifying Checksum 05:35:56 0ef7d3d256c8: Download complete 05:35:56 0d57e429df01: Verifying Checksum 05:35:56 0d57e429df01: Download complete 05:35:56 188c0c94c7c5: Verifying Checksum 05:35:56 188c0c94c7c5: Download complete 05:35:56 4e4be7b47b0d: Verifying Checksum 05:35:56 4e4be7b47b0d: Download complete 05:35:56 188c0c94c7c5: Pull complete 05:35:56 0ef7d3d256c8: Pull complete 05:35:56 de9db76c5a1d: Pull complete 05:35:57 e1f770b5df2f: Verifying Checksum 05:35:57 e1f770b5df2f: Download complete 05:35:59 0eba1c9be4d2: Verifying Checksum 05:35:59 0eba1c9be4d2: Download complete 05:35:59 85a0685a4137: Verifying Checksum 05:35:59 85a0685a4137: Download complete 05:36:02 0eba1c9be4d2: Pull complete 05:36:02 0d57e429df01: Pull complete 05:36:02 4e4be7b47b0d: Pull complete 05:36:03 e1f770b5df2f: Pull complete 05:36:06 85a0685a4137: Pull complete 05:36:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:36:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:36:06 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:36:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:36:08 $ docker top bc9575fe476df4d4568f9ad88f2abb06b85e992190ca3d47e136fea75e368f94 -eo pid,comm [Pipeline] { [Pipeline] echo 05:36:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:36:08 + set -o pipefail 05:36:08 + snyk monitor '--org=edgex-jenkins' 05:36:16 05:36:16 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 05:36:16 05:36:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e2205fc8-6c87-460c-b656-34381e2f33c6 05:36:16 05:36:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:36:16 05:36:16 [Pipeline] } 05:36:16 $ docker stop --time=1 bc9575fe476df4d4568f9ad88f2abb06b85e992190ca3d47e136fea75e368f94 05:36:18 $ docker rm -f bc9575fe476df4d4568f9ad88f2abb06b85e992190ca3d47e136fea75e368f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:36:20 + git log --format=format:%s -1 f702dbdc581d304739c2d941e7f0fa4986f2eae4 [Pipeline] isUnix [Pipeline] sh 05:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:36:20 . [Pipeline] withDockerContainer 05:36:20 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:36:20 $ docker top 23c14e9b33d65e21fc519482371737261ba01c0cf1528ad07997786c935c9480 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:21 [ssh-agent] Looking for ssh-agent implementation... 05:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:21 $ docker exec 23c14e9b33d65e21fc519482371737261ba01c0cf1528ad07997786c935c9480 ssh-agent 05:36:21 SSH_AUTH_SOCK=/tmp/ssh-YQkozfE0EwEV/agent.14 05:36:21 SSH_AGENT_PID=20 05:36:21 Running ssh-add (command line suppressed) 05:36:21 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1449898254427069251.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1449898254427069251.key) 05:36:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:21 + git semver tag 05:36:21 # -> Open(): unable to determine branch for HEAD 05:36:21 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:36:21 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:36:21 # $SEMVER_REMOTE_NAME = origin 05:36:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:36:21 # $SEMVER_USER_NAME = edgex-jenkins 05:36:21 # $SEMVER_BRANCH = master 05:36:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:36:21 # f702dbdc581d304739c2d941e7f0fa4986f2eae4 HEAD 05:36:21 # -> Force: false 05:36:21 # 5284b4bf900d8387cdd6d4354d1b62a3d520c754 refs/tags/v1.3.2-dev.21 [Pipeline] } 05:36:21 $ docker exec --env ******** --env ******** 23c14e9b33d65e21fc519482371737261ba01c0cf1528ad07997786c935c9480 ssh-agent -k 05:36:21 unset SSH_AUTH_SOCK; 05:36:21 unset SSH_AGENT_PID; 05:36:21 echo Agent pid 20 killed; 05:36:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:36:22 + git semver [Pipeline] } 05:36:22 $ docker stop --time=1 23c14e9b33d65e21fc519482371737261ba01c0cf1528ad07997786c935c9480 05:36:23 $ docker rm -f 23c14e9b33d65e21fc519482371737261ba01c0cf1528ad07997786c935c9480 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:36:23 05:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:36:24 0.23.1-centos7: Pulling from edgex-lftools 05:36:24 ab5ef0e58194: Pulling fs layer 05:36:24 9712f1f96733: Pulling fs layer 05:36:24 63f879dbbcfc: Pulling fs layer 05:36:24 0d9ebad4ef96: Pulling fs layer 05:36:24 e9a5061849ea: Pulling fs layer 05:36:24 d747dcd14b5f: Pulling fs layer 05:36:24 2de7ff778b66: Pulling fs layer 05:36:24 0d9ebad4ef96: Waiting 05:36:24 e9a5061849ea: Waiting 05:36:24 d747dcd14b5f: Waiting 05:36:24 2de7ff778b66: Waiting 05:36:24 9712f1f96733: Verifying Checksum 05:36:24 9712f1f96733: Download complete 05:36:25 63f879dbbcfc: Verifying Checksum 05:36:25 63f879dbbcfc: Download complete 05:36:25 e9a5061849ea: Verifying Checksum 05:36:25 e9a5061849ea: Download complete 05:36:25 d747dcd14b5f: Verifying Checksum 05:36:25 d747dcd14b5f: Download complete 05:36:26 2de7ff778b66: Verifying Checksum 05:36:26 2de7ff778b66: Download complete 05:36:26 0d9ebad4ef96: Verifying Checksum 05:36:26 0d9ebad4ef96: Download complete 05:36:26 ab5ef0e58194: Verifying Checksum 05:36:26 ab5ef0e58194: Download complete 05:36:29 ab5ef0e58194: Pull complete 05:36:29 9712f1f96733: Pull complete 05:36:30 63f879dbbcfc: Pull complete 05:36:34 0d9ebad4ef96: Pull complete 05:36:34 e9a5061849ea: Pull complete 05:36:34 d747dcd14b5f: Pull complete 05:36:35 2de7ff778b66: Pull complete 05:36:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:36:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:36:35 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:36:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:36:38 $ docker top b71e5eb061b87da2390ed74494a815d662aca3d58cfbccdb81a58a487b7b816f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:36:38 provisioning config files... 05:36:38 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2719216646004982692tmp 05:36:38 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2470459156126458024tmp 05:36:38 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5641204336567252865tmp [Pipeline] { [Pipeline] echo 05:36:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:36:39 ---> sigul-configuration.sh 05:36:39 gpg: directory `/root/.gnupg' created 05:36:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:36:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:36:39 gpg: keyring `/root/.gnupg/secring.gpg' created 05:36:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:36:39 gpg: CAST5 encrypted data 05:36:39 gpg: encrypted with 1 passphrase 05:36:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:36:39 + mkdir /home/jenkins 05:36:39 + mkdir /home/jenkins/sigul [Pipeline] sh 05:36:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:36:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:36:40 ---> sigul-install.sh 05:36:44 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:36:44 + git tag --list 05:36:44 v1.0.0 05:36:44 v1.1.0 05:36:44 v1.1.1 05:36:44 v1.2.1 05:36:44 v1.2.2 05:36:44 v1.2.3 05:36:44 v1.3.0 05:36:44 v1.3.1 05:36:44 v1.3.1-dev.1 05:36:44 v1.3.1-dev.2 05:36:44 v1.3.1-dev.3 05:36:44 v1.3.1-dev.4 05:36:44 v1.3.1-dev.5 05:36:44 v1.3.2-dev.1 05:36:44 v1.3.2-dev.10 05:36:44 v1.3.2-dev.11 05:36:44 v1.3.2-dev.12 05:36:44 v1.3.2-dev.13 05:36:44 v1.3.2-dev.14 05:36:44 v1.3.2-dev.15 05:36:44 v1.3.2-dev.16 05:36:44 v1.3.2-dev.17 05:36:44 v1.3.2-dev.18 05:36:44 v1.3.2-dev.19 05:36:44 v1.3.2-dev.2 05:36:44 v1.3.2-dev.20 05:36:44 v1.3.2-dev.21 05:36:44 v1.3.2-dev.3 05:36:44 v1.3.2-dev.4 05:36:44 v1.3.2-dev.5 05:36:44 v1.3.2-dev.6 05:36:44 v1.3.2-dev.7 05:36:44 v1.3.2-dev.8 05:36:44 v1.3.2-dev.9 [Pipeline] sh 05:36:44 + lftools sign git-tag v1.3.2-dev.21 05:36:45 Signing Git tag with Sigul... 05:36:45 Signing v1.3.2-dev.21 [Pipeline] echo 05:36:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:36:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:36:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:36:46 $ docker stop --time=1 b71e5eb061b87da2390ed74494a815d662aca3d58cfbccdb81a58a487b7b816f 05:36:48 $ docker rm -f b71e5eb061b87da2390ed74494a815d662aca3d58cfbccdb81a58a487b7b816f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:36:48 . [Pipeline] withDockerContainer 05:36:48 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:36:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:36:49 $ docker top c926c5af17521d70a5336ce6a5db4b2c57662840ebe77977e03d29daf2479b5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:49 [ssh-agent] Looking for ssh-agent implementation... 05:36:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:49 $ docker exec c926c5af17521d70a5336ce6a5db4b2c57662840ebe77977e03d29daf2479b5e ssh-agent 05:36:49 SSH_AUTH_SOCK=/tmp/ssh-Z0dFuF7z3cbT/agent.13 05:36:49 SSH_AGENT_PID=20 05:36:49 Running ssh-add (command line suppressed) 05:36:49 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6156398413506404075.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6156398413506404075.key) 05:36:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:50 + git semver bump pre 05:36:50 # -> Open(): unable to determine branch for HEAD 05:36:50 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:36:50 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:36:50 # $SEMVER_REMOTE_NAME = origin 05:36:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:36:50 # $SEMVER_USER_NAME = edgex-jenkins 05:36:50 # $SEMVER_BRANCH = master 05:36:50 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:36:50 1.3.2-dev.22 [Pipeline] } 05:36:50 $ docker exec --env ******** --env ******** c926c5af17521d70a5336ce6a5db4b2c57662840ebe77977e03d29daf2479b5e ssh-agent -k 05:36:50 unset SSH_AUTH_SOCK; 05:36:50 unset SSH_AGENT_PID; 05:36:50 echo Agent pid 20 killed; 05:36:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:36:50 + git semver [Pipeline] } 05:36:50 $ docker stop --time=1 c926c5af17521d70a5336ce6a5db4b2c57662840ebe77977e03d29daf2479b5e 05:36:51 $ docker rm -f c926c5af17521d70a5336ce6a5db4b2c57662840ebe77977e03d29daf2479b5e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:36:52 . [Pipeline] withDockerContainer 05:36:52 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:36:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:36:52 $ docker top f6b446b65057ad37c45f830231c6f2cd85b87c6617c05d46808abac19bbd5591 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:52 [ssh-agent] Looking for ssh-agent implementation... 05:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:53 $ docker exec f6b446b65057ad37c45f830231c6f2cd85b87c6617c05d46808abac19bbd5591 ssh-agent 05:36:53 SSH_AUTH_SOCK=/tmp/ssh-XyQsonywfPHd/agent.13 05:36:53 SSH_AGENT_PID=20 05:36:53 Running ssh-add (command line suppressed) 05:36:53 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7615604287740228924.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7615604287740228924.key) 05:36:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:53 + git semver push 05:36:53 # -> Open(): unable to determine branch for HEAD 05:36:53 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:36:53 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:36:53 # $SEMVER_REMOTE_NAME = origin 05:36:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:36:53 # $SEMVER_USER_NAME = edgex-jenkins 05:36:53 # $SEMVER_BRANCH = master 05:36:53 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:36:58 $ docker exec --env ******** --env ******** f6b446b65057ad37c45f830231c6f2cd85b87c6617c05d46808abac19bbd5591 ssh-agent -k 05:36:58 unset SSH_AUTH_SOCK; 05:36:58 unset SSH_AGENT_PID; 05:36:58 echo Agent pid 20 killed; 05:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:36:59 + git semver [Pipeline] } 05:36:59 $ docker stop --time=1 f6b446b65057ad37c45f830231c6f2cd85b87c6617c05d46808abac19bbd5591 05:37:00 $ docker rm -f f6b446b65057ad37c45f830231c6f2cd85b87c6617c05d46808abac19bbd5591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 05:37:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:37:02 ---> package-listing.sh 05:37:02 ++ facter osfamily 05:37:02 ++ tr '[:upper:]' '[:lower:]' 05:37:02 + OS_FAMILY=redhat 05:37:02 + workspace=/w/workspace/foundry_device-virtual-go_master 05:37:02 + START_PACKAGES=/tmp/packages_start.txt 05:37:02 + END_PACKAGES=/tmp/packages_end.txt 05:37:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:37:02 + PACKAGES=/tmp/packages_start.txt 05:37:02 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:37:02 + PACKAGES=/tmp/packages_end.txt 05:37:02 + case "${OS_FAMILY}" in 05:37:02 + sort 05:37:02 + rpm -qa 05:37:03 + '[' -f /tmp/packages_start.txt ']' 05:37:03 + '[' -f /tmp/packages_end.txt ']' 05:37:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:37:03 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:37:03 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 05:37:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 05:37:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:37:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:37:04 05:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:37:04 alpine: Pulling from edgex-lftools-log-publisher 05:37:04 df20fa9351a1: Pulling fs layer 05:37:04 36b3adc4ff6f: Pulling fs layer 05:37:04 8ad3a11d3b57: Pulling fs layer 05:37:04 46f8f816bc3b: Pulling fs layer 05:37:04 93b61091891f: Pulling fs layer 05:37:04 93b9cdb0e59b: Pulling fs layer 05:37:04 5e14af77c1be: Pulling fs layer 05:37:04 01666e4c0597: Pulling fs layer 05:37:04 aa168da1d23b: Pulling fs layer 05:37:04 46f8f816bc3b: Waiting 05:37:04 93b61091891f: Waiting 05:37:04 93b9cdb0e59b: Waiting 05:37:04 5e14af77c1be: Waiting 05:37:04 01666e4c0597: Waiting 05:37:04 aa168da1d23b: Waiting 05:37:04 36b3adc4ff6f: Verifying Checksum 05:37:04 36b3adc4ff6f: Download complete 05:37:04 46f8f816bc3b: Verifying Checksum 05:37:04 46f8f816bc3b: Download complete 05:37:04 df20fa9351a1: Verifying Checksum 05:37:04 df20fa9351a1: Download complete 05:37:04 93b9cdb0e59b: Verifying Checksum 05:37:04 93b9cdb0e59b: Download complete 05:37:04 5e14af77c1be: Verifying Checksum 05:37:04 5e14af77c1be: Download complete 05:37:04 01666e4c0597: Verifying Checksum 05:37:04 01666e4c0597: Download complete 05:37:04 93b61091891f: Verifying Checksum 05:37:04 93b61091891f: Download complete 05:37:04 8ad3a11d3b57: Verifying Checksum 05:37:04 8ad3a11d3b57: Download complete 05:37:04 df20fa9351a1: Pull complete 05:37:05 36b3adc4ff6f: Pull complete 05:37:05 8ad3a11d3b57: Pull complete 05:37:05 46f8f816bc3b: Pull complete 05:37:05 93b61091891f: Pull complete 05:37:06 93b9cdb0e59b: Pull complete 05:37:06 5e14af77c1be: Pull complete 05:37:06 01666e4c0597: Pull complete 05:37:06 aa168da1d23b: Verifying Checksum 05:37:06 aa168da1d23b: Download complete 05:37:10 aa168da1d23b: Pull complete 05:37:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:37:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:37:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:37:11 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 05:37:11 $ 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_master/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_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:37:13 $ docker top e6f596e384de16ebc94aaab7d7e0cf7e04413977d793a0913f1e1ff91fde3205 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:13 + touch /tmp/pre-build-complete [Pipeline] sh 05:37:13 + mkdir -p /var/log/sa [Pipeline] sh 05:37:14 + ls /var/log/sa-host 05:37:14 + sadf -c /var/log/sa-host/sa02 05:37:14 file_magic: OK 05:37:14 HZ: Using current value: 100 05:37:14 file_header: OK 05:37:14 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 05:37:14 Statistics: 05:37:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:37:14 File successfully converted to sysstat format version 12.2.1 05:37:14 + sadf -c /var/log/sa-host/sa05 05:37:14 file_magic: OK 05:37:14 HZ: Using current value: 100 05:37:14 file_header: OK 05:37:14 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 05:37:14 Statistics: 05:37:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:37:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:14 provisioning config files... 05:37:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4526667304973336642tmp [Pipeline] { [Pipeline] echo 05:37:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:37:14 ---> create-netrc.sh [Pipeline] } 05:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:37:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:37:15 ---> python-tools-install.sh [Pipeline] echo 05:37:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:37:15 ---> sudo-logs.sh 05:37:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:37:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:37:15 ---> job-cost.sh 05:37:15 lf-activate-venv: SKIPPING 05:37:15 DEBUG: total: 0.18000000715255737 05:37:15 INFO: Retrieving Stack Cost... 05:37:17 INFO: Retrieving Pricing Info for: v3-standard-2 05:37:17 INFO: Archiving Costs [Pipeline] echo 05:37:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:37:17 ---> logs-deploy.sh 05:37:17 lf-activate-venv: SKIPPING 05:37:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/61 05:37:17 INFO: archiving workspace using pattern(s): 05:37:18 Archives upload complete. 05:37:18 INFO: archiving logs to Nexus 05:37:19 ---> uname -a: 05:37:19 Linux prd-centos7-docker-4c-2g-47.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 05:37:19 05:37:19 05:37:19 ---> lscpu: 05:37:19 Architecture: x86_64 05:37:19 CPU op-mode(s): 32-bit, 64-bit 05:37:19 Byte Order: Little Endian 05:37:19 Address sizes: 40 bits physical, 48 bits virtual 05:37:19 CPU(s): 2 05:37:19 On-line CPU(s) list: 0,1 05:37:19 Thread(s) per core: 1 05:37:19 Core(s) per socket: 1 05:37:19 Socket(s): 2 05:37:19 NUMA node(s): 1 05:37:19 Vendor ID: AuthenticAMD 05:37:19 CPU family: 23 05:37:19 Model: 49 05:37:19 Model name: AMD EPYC-Rome Processor 05:37:19 Stepping: 0 05:37:19 CPU MHz: 2800.000 05:37:19 BogoMIPS: 5600.00 05:37:19 Virtualization: AMD-V 05:37:19 Hypervisor vendor: KVM 05:37:19 Virtualization type: full 05:37:19 L1d cache: 64 KiB 05:37:19 L1i cache: 64 KiB 05:37:19 L2 cache: 1 MiB 05:37:19 L3 cache: 32 MiB 05:37:19 NUMA node0 CPU(s): 0,1 05:37:19 Vulnerability Itlb multihit: Not affected 05:37:19 Vulnerability L1tf: Not affected 05:37:19 Vulnerability Mds: Not affected 05:37:19 Vulnerability Meltdown: Not affected 05:37:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:37:19 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:37:19 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:37:19 Vulnerability Srbds: Not affected 05:37:19 Vulnerability Tsx async abort: Not affected 05:37:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 05:37:19 05:37:19 05:37:19 ---> nproc: 05:37:19 2 05:37:19 05:37:19 05:37:19 ---> df -h: 05:37:19 Filesystem Size Used Available Use% Mounted on 05:37:19 overlay 40.0G 8.9G 31.1G 22% / 05:37:19 tmpfs 64.0M 0 64.0M 0% /dev 05:37:19 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 05:37:19 shm 64.0M 0 64.0M 0% /dev/shm 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 05:37:19 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 05:37:19 05:37:19 05:37:19 ---> free -m: 05:37:19 total used free shared buff/cache available 05:37:19 Mem: 7821 1267 3153 0 3399 6472 05:37:19 Swap: 1023 0 1023 05:37:19 05:37:19 05:37:19 ---> ip addr: 05:37:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:37:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:37:19 inet 127.0.0.1/8 scope host lo 05:37:19 valid_lft forever preferred_lft forever 05:37:19 inet6 ::1/128 scope host 05:37:19 valid_lft forever preferred_lft forever 05:37:19 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:37:19 link/ether fa:16:3e:99:df:6b brd ff:ff:ff:ff:ff:ff 05:37:19 inet 10.30.123.19/23 brd 10.30.123.255 scope global dynamic eth0 05:37:19 valid_lft 85678sec preferred_lft 85678sec 05:37:19 inet6 fe80::f816:3eff:fe99:df6b/64 scope link 05:37:19 valid_lft forever preferred_lft forever 05:37:19 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:37:19 link/ether 02:42:60:0c:ff:5e brd ff:ff:ff:ff:ff:ff 05:37:19 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:37:19 valid_lft forever preferred_lft forever 05:37:19 inet6 fe80::42:60ff:fe0c:ff5e/64 scope link 05:37:19 valid_lft forever preferred_lft forever 05:37:19 05:37:19 05:37:19 ---> sar -b -r -n DEV: 05:37:19 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/02/21 _x86_64_ (2 CPU) 05:37:19 05:37:19 05:25:05 LINUX RESTART (2 CPU) 05:37:19 05:37:19 05:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:37:19 05:27:01 3.65 0.03 3.61 0.00 1.07 120.77 0.00 05:37:19 05:28:01 0.52 0.00 0.52 0.00 0.00 8.78 0.00 05:37:19 05:29:01 0.35 0.00 0.35 0.00 0.00 4.81 0.00 05:37:19 05:30:01 0.22 0.00 0.22 0.00 0.00 3.98 0.00 05:37:19 05:31:01 0.33 0.00 0.33 0.00 0.00 5.38 0.00 05:37:19 05:32:01 0.33 0.00 0.33 0.00 0.00 5.13 0.00 05:37:19 05:33:01 0.28 0.00 0.28 0.00 0.00 5.26 0.00 05:37:19 05:34:01 0.32 0.00 0.32 0.00 0.00 4.61 0.00 05:37:19 05:35:01 0.23 0.00 0.23 0.00 0.00 3.46 0.00 05:37:19 05:36:01 3.80 0.03 3.76 0.00 3.73 808.26 0.00 05:37:19 05:37:01 204.58 0.07 204.51 0.00 3.46 60003.65 0.00 05:37:19 Average: 19.52 0.01 19.50 0.00 0.75 5545.27 0.00 05:37:19 05:37:19 05:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:37:19 05:27:01 5465456 0 788676 9.85 2620 1752188 1211128 13.37 564716 1581000 12 05:37:19 05:28:01 5463932 0 790192 9.87 2620 1752196 1208044 13.34 568120 1578964 8 05:37:19 05:29:01 5462156 0 791968 9.89 2620 1752196 1208368 13.34 568284 1580772 12 05:37:19 05:30:01 5459960 0 794156 9.92 2620 1752204 1208380 13.34 569524 1581368 8 05:37:19 05:31:01 5458768 0 795344 9.93 2620 1752208 1208224 13.34 570052 1582740 0 05:37:19 05:32:01 5459340 0 794772 9.92 2620 1752208 1208104 13.34 569592 1582740 20 05:37:19 05:33:01 5458336 0 795768 9.94 2620 1752216 1208044 13.34 570100 1582740 16 05:37:19 05:34:01 5448236 0 805864 10.06 2620 1752220 1208044 13.34 580648 1582740 8 05:37:19 05:35:01 5447528 0 806568 10.07 2620 1752224 1208044 13.34 580900 1582740 8 05:37:19 05:36:01 4761964 0 938552 11.72 2620 2305804 1607080 17.74 822608 1976932 424424 05:37:19 05:37:01 3751832 0 1180188 14.74 2620 3074300 1225676 13.53 919444 2702816 20 05:37:19 Average: 5239773 0 843823 10.54 2620 1922724 1246285 13.76 625817 1719596 38594 05:37:19 05:37:19 05:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:37:19 05:27:01 eth0 0.33 0.10 0.02 0.02 0.00 0.00 0.00 0.00 05:37:19 05:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:28:01 eth0 0.57 0.08 0.06 0.01 0.00 0.00 0.00 0.00 05:37:19 05:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:29:01 eth0 4.56 1.87 3.56 0.30 0.00 0.00 0.00 0.00 05:37:19 05:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:30:01 eth0 0.42 0.27 0.26 0.20 0.00 0.00 0.00 0.00 05:37:19 05:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:31:01 eth0 0.17 0.15 0.08 0.07 0.00 0.00 0.00 0.00 05:37:19 05:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:32:01 eth0 0.20 0.18 0.09 0.01 0.00 0.00 0.00 0.00 05:37:19 05:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:33:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:37:19 05:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:34:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:37:19 05:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:35:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:37:19 05:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:36:01 eth0 436.59 400.40 4074.16 30.14 0.00 0.00 0.00 0.00 05:37:19 05:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:37:01 eth0 577.71 512.59 3930.85 63.96 0.00 0.00 0.00 0.00 05:37:19 05:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 05:37:01 docker0 106.43 113.87 7.97 663.15 0.00 0.00 0.00 0.00 05:37:19 Average: eth0 92.83 83.29 728.32 8.62 0.00 0.00 0.00 0.00 05:37:19 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:37:19 Average: docker0 9.68 10.36 0.72 60.31 0.00 0.00 0.00 0.00 05:37:19 05:37:19 05:37:19 ---> sar -P ALL: 05:37:19 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/02/21 _x86_64_ (2 CPU) 05:37:19 05:37:19 05:25:05 LINUX RESTART (2 CPU) 05:37:19 05:37:19 05:26:01 CPU %user %nice %system %iowait %steal %idle 05:37:19 05:27:01 all 0.16 0.00 0.09 0.00 0.03 99.72 05:37:19 05:27:01 0 0.20 0.00 0.08 0.00 0.02 99.70 05:37:19 05:27:01 1 0.12 0.00 0.10 0.00 0.03 99.75 05:37:19 05:28:01 all 0.10 0.00 0.07 0.00 0.04 99.79 05:37:19 05:28:01 0 0.17 0.00 0.10 0.00 0.05 99.68 05:37:19 05:28:01 1 0.03 0.00 0.03 0.00 0.03 99.90 05:37:19 05:29:01 all 0.16 0.00 0.06 0.00 0.04 99.74 05:37:19 05:29:01 0 0.20 0.00 0.05 0.00 0.03 99.72 05:37:19 05:29:01 1 0.12 0.00 0.07 0.00 0.05 99.77 05:37:19 05:30:01 all 0.13 0.00 0.06 0.00 0.02 99.80 05:37:19 05:30:01 0 0.18 0.00 0.05 0.00 0.02 99.75 05:37:19 05:30:01 1 0.07 0.00 0.07 0.00 0.02 99.85 05:37:19 05:31:01 all 0.10 0.00 0.06 0.00 0.04 99.80 05:37:19 05:31:01 0 0.13 0.00 0.03 0.00 0.03 99.80 05:37:19 05:31:01 1 0.07 0.00 0.08 0.00 0.05 99.80 05:37:19 05:32:01 all 0.14 0.00 0.04 0.00 0.05 99.77 05:37:19 05:32:01 0 0.10 0.00 0.03 0.00 0.03 99.83 05:37:19 05:32:01 1 0.18 0.00 0.05 0.00 0.07 99.70 05:37:19 05:33:01 all 0.10 0.00 0.05 0.00 0.03 99.82 05:37:19 05:33:01 0 0.05 0.00 0.05 0.00 0.03 99.87 05:37:19 05:33:01 1 0.15 0.00 0.05 0.00 0.03 99.77 05:37:19 05:34:01 all 0.05 0.00 0.05 0.00 0.05 99.85 05:37:19 05:34:01 0 0.05 0.00 0.05 0.00 0.03 99.87 05:37:19 05:34:01 1 0.05 0.00 0.05 0.00 0.07 99.83 05:37:19 05:35:01 all 0.11 0.00 0.06 0.00 0.04 99.79 05:37:19 05:35:01 0 0.13 0.00 0.05 0.00 0.03 99.78 05:37:19 05:35:01 1 0.08 0.00 0.07 0.00 0.05 99.80 05:37:19 05:36:01 all 4.00 0.00 1.65 0.02 0.04 94.29 05:37:19 05:36:01 0 4.07 0.00 1.66 0.02 0.03 94.22 05:37:19 05:36:01 1 3.93 0.00 1.64 0.02 0.05 94.37 05:37:19 05:37:01 all 21.58 0.00 10.16 3.36 0.11 64.79 05:37:19 05:37:01 0 20.16 0.00 9.84 3.15 0.11 66.74 05:37:19 05:37:01 1 23.00 0.00 10.47 3.58 0.11 62.84 05:37:19 05:37:19 Average: CPU %user %nice %system %iowait %steal %idle 05:37:19 Average: all 2.33 0.00 1.08 0.29 0.04 96.25 05:37:19 Average: 0 2.23 0.00 1.05 0.28 0.04 96.40 05:37:19 Average: 1 2.43 0.00 1.11 0.31 0.05 96.10 05:37:19 05:37:19 05:37:19