Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 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-ssh8719970064737440205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5371290155089621428.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh3638697197195217075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh5926249126455201658.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh1976431309834396121.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1162 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-ssh8885453014147921285.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" > git rev-list --no-walk dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:19:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:19:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:19:33 ========================================================= 10:19:33 EdgeX Global Pipelines Version Info 10:19:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:19:35 ------------------- 10:19:35 stable info: 10:19:35 ------------------- 10:19:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:19:35 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:19:35 Message: update stable to v1.0.195 10:19:35 ------------------- 10:19:35 experimental info: 10:19:35 ------------------- 10:19:35 Commited By: **** collab-it+edgex@linuxfoundation.org 10:19:35 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 10:19:35 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:19:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f458d0 [Pipeline] echo 10:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:36 provisioning config files... 10:19:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5238160000482719684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:37 ---> docker-login.sh 10:19:37 nexus3.edgexfoundry.org:10001 10:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:37 Configure a credential helper to remove this warning. See 10:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:37 10:19:37 Login Succeeded 10:19:37 nexus3.edgexfoundry.org:10002 10:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:38 Configure a credential helper to remove this warning. See 10:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:38 10:19:38 Login Succeeded 10:19:38 nexus3.edgexfoundry.org:10003 10:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:38 Configure a credential helper to remove this warning. See 10:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:38 10:19:38 Login Succeeded 10:19:38 nexus3.edgexfoundry.org:10004 10:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:38 Configure a credential helper to remove this warning. See 10:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:38 10:19:38 Login Succeeded 10:19:38 docker.io 10:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:38 Configure a credential helper to remove this warning. See 10:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:38 10:19:38 Login Succeeded 10:19:38 ---> docker-login.sh ends [Pipeline] } 10:19:38 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 10:19:41 + git log --format=format:%s -1 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] echo 10:19:41 GIT_COMMIT: 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3, Commit Message: Merge pull request #228 from weichou1229/update-core-contracts [Pipeline] echo 10:19:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:19:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:42 10:19:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:19:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:42 latest: Pulling from edgex-devops/git-semver 10:19:42 31603596830f: Pulling fs layer 10:19:42 54011a49482f: Pulling fs layer 10:19:42 a6820b24f6d8: Pulling fs layer 10:19:42 f581987b2513: Pulling fs layer 10:19:42 f581987b2513: Waiting 10:19:42 54011a49482f: Verifying Checksum 10:19:42 54011a49482f: Download complete 10:19:42 31603596830f: Download complete 10:19:43 f581987b2513: Verifying Checksum 10:19:43 f581987b2513: Download complete 10:19:43 31603596830f: Pull complete 10:19:43 54011a49482f: Pull complete 10:19:43 a6820b24f6d8: Verifying Checksum 10:19:43 a6820b24f6d8: Download complete 10:19:44 a6820b24f6d8: Pull complete 10:19:44 f581987b2513: Pull complete 10:19:44 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 10:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:19:44 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:19:44 $ 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 10:19:46 $ docker top ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:46 [ssh-agent] Looking for ssh-agent implementation... 10:19:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:46 $ docker exec ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent 10:19:46 SSH_AUTH_SOCK=/tmp/ssh-xoHqqxziPbz6/agent.14 10:19:46 SSH_AGENT_PID=20 10:19:46 Running ssh-add (command line suppressed) 10:19:46 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5433638777959631230.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5433638777959631230.key) 10:19:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:46 + git tag --points-at HEAD [Pipeline] } 10:19:46 $ docker exec --env ******** --env ******** ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent -k 10:19:46 unset SSH_AUTH_SOCK; 10:19:46 unset SSH_AGENT_PID; 10:19:46 echo Agent pid 20 killed; 10:19:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:19:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:47 [ssh-agent] Looking for ssh-agent implementation... 10:19:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:47 $ docker exec ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent 10:19:47 SSH_AUTH_SOCK=/tmp/ssh-kETXuvIGBMzu/agent.54 10:19:47 SSH_AGENT_PID=61 10:19:47 Running ssh-add (command line suppressed) 10:19:47 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7741206282076650277.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7741206282076650277.key) 10:19:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:47 + git semver init 10:19:47 # -> Open(): unable to determine branch for HEAD 10:19:47 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:19:47 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:19:47 # $SEMVER_REMOTE_NAME = origin 10:19:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:19:47 # $SEMVER_USER_NAME = edgex-jenkins 10:19:47 # $SEMVER_BRANCH = master 10:19:47 # $SEMVER_TEMP = /tmp/semver-227960374 10:19:47 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 10:19:50 # '/tmp/semver-227960374' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 10:19:50 # -> Force: false 10:19:50 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 10:19:50 $ docker exec --env ******** --env ******** ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent -k 10:19:50 unset SSH_AUTH_SOCK; 10:19:50 unset SSH_AGENT_PID; 10:19:50 echo Agent pid 61 killed; 10:19:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:50 + git semver [Pipeline] } 10:19:50 $ docker stop --time=1 ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 10:19:52 $ docker rm -f ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 [Pipeline] // withDockerContainer [Pipeline] sh 10:19:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:19:52 Stashed 1 file(s) [Pipeline] echo 10:19:52 [edgeXSemver]: initialized semver on version 1.3.2-dev.28 [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 10:20:08 Still waiting to schedule task 10:20:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:20:08 Still waiting to schedule task 10:20:08 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1160’ is offline 10:22:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1163 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 10:22:11 Running in /w/workspace/device-virtual-go/68 [Pipeline] { [Pipeline] checkout 10:22:11 The recommended git tool is: git 10:22:17 using credential edgex-jenkins-ssh 10:22:17 Cloning the remote Git repository 10:22:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:22:17 > git init /w/workspace/device-virtual-go/68 # timeout=10 10:22:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:22:17 > git --version # timeout=10 10:22:17 > git --version # 'git version 2.17.1' 10:22:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:19 Avoid second fetch 10:22:19 Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) 10:22:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:22:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:19 > git config core.sparsecheckout # timeout=10 10:22:19 > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 10:22:23 Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:22:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:22:25 + + truesudo 10:22:25 service docker restart 10:22:31 Running on prd-centos7-docker-4c-2g-1164 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 10:22:31 Running in /w/workspace/device-virtual-go/68 [Pipeline] { [Pipeline] checkout 10:22:31 The recommended git tool is: git 10:22:34 using credential edgex-jenkins-ssh 10:22:34 Cloning the remote Git repository 10:22:35 Avoid second fetch 10:22:35 Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) 10:22:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:22:34 > git init /w/workspace/device-virtual-go/68 # timeout=10 10:22:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:22:34 > git --version # timeout=10 10:22:34 > git --version # 'git version 2.24.4' 10:22:34 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:34 [INFO] Currently running in a labeled security context 10:22:34 [INFO] Currently SELinux is 'enforcing' on the host 10:22:34 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/68@tmp/jenkins-gitclient-ssh945742217209038869.key 10:22:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:22:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:35 > git config core.sparsecheckout # timeout=10 10:22:35 > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 10:22:38 Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:22:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:22:40 + sudo service docker restart 10:22:40 + true 10:22:40 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:46 provisioning config files... 10:22:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config532496630783261456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:46 ---> docker-login.sh 10:22:46 nexus3.edgexfoundry.org:10001 10:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:47 Configure a credential helper to remove this warning. See 10:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:47 10:22:47 Login Succeeded 10:22:47 nexus3.edgexfoundry.org:10002 10:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:48 Configure a credential helper to remove this warning. See 10:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:48 10:22:48 Login Succeeded 10:22:48 nexus3.edgexfoundry.org:10003 10:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:48 Configure a credential helper to remove this warning. See 10:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:48 10:22:48 Login Succeeded 10:22:48 nexus3.edgexfoundry.org:10004 10:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:49 Configure a credential helper to remove this warning. See 10:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:49 10:22:49 Login Succeeded 10:22:49 docker.io 10:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:50 Configure a credential helper to remove this warning. See 10:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:50 10:22:50 Login Succeeded 10:22:50 ---> docker-login.sh ends [Pipeline] } 10:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:22:50 ========================================================= 10:22:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 10:22:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:22:50 + 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 . 10:22:51 Sending build context to Docker daemon 8.619MB 10:22:51 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 10:22:51 Step 2/8 : FROM ${BASE} 10:22:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:22:51 595b0fe564bb: Pulling fs layer 10:22:51 3088b5b3c5c0: Pulling fs layer 10:22:51 5b7225fbf94c: Pulling fs layer 10:22:51 ba82ee9f976e: Pulling fs layer 10:22:51 506bd15cee9f: Pulling fs layer 10:22:51 75a0a4a0db45: Pulling fs layer 10:22:51 618dc40b7e24: Pulling fs layer 10:22:51 ba82ee9f976e: Waiting 10:22:51 506bd15cee9f: Waiting 10:22:51 75a0a4a0db45: Waiting 10:22:51 618dc40b7e24: Waiting 10:22:51 5b7225fbf94c: Download complete 10:22:51 3088b5b3c5c0: Download complete 10:22:51 595b0fe564bb: Verifying Checksum 10:22:51 595b0fe564bb: Download complete 10:22:51 75a0a4a0db45: Verifying Checksum 10:22:51 75a0a4a0db45: Download complete 10:22:52 595b0fe564bb: Pull complete 10:22:53 3088b5b3c5c0: Pull complete 10:22:53 5b7225fbf94c: Pull complete 10:22:54 618dc40b7e24: Verifying Checksum 10:22:54 618dc40b7e24: Download complete 10:22:55 ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:58 provisioning config files... 10:22:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config8577992128973461818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:58 ---> docker-login.sh 10:22:58 nexus3.edgexfoundry.org:10001 10:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:59 Configure a credential helper to remove this warning. See 10:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:59 10:22:59 Login Succeeded 10:22:59 nexus3.edgexfoundry.org:10002 10:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:59 Configure a credential helper to remove this warning. See 10:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:59 10:22:59 Login Succeeded 10:22:59 nexus3.edgexfoundry.org:10003 10:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:59 Configure a credential helper to remove this warning. See 10:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:59 10:22:59 Login Succeeded 10:22:59 nexus3.edgexfoundry.org:10004 10:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:22:59 Configure a credential helper to remove this warning. See 10:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:22:59 10:22:59 Login Succeeded 10:22:59 docker.io 10:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:02 Configure a credential helper to remove this warning. See 10:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:02 10:23:02 Login Succeeded 10:23:02 ---> docker-login.sh ends [Pipeline] } 10:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:23:02 ========================================================= 10:23:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 10:23:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:23:02 + 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 . 10:23:02 Sending build context to Docker daemon 8.62MB 10:23:02 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 10:23:02 Step 2/8 : FROM ${BASE} 10:23:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 10:23:02 540db60ca938: Pulling fs layer 10:23:02 adcc1eea9eea: Pulling fs layer 10:23:02 4c4ab2625f07: Pulling fs layer 10:23:02 0510c868ecb4: Pulling fs layer 10:23:02 afea3b2eda06: Pulling fs layer 10:23:02 7809a108b3ef: Pulling fs layer 10:23:02 f706445af74f: Pulling fs layer 10:23:02 0510c868ecb4: Waiting 10:23:02 afea3b2eda06: Waiting 10:23:02 7809a108b3ef: Waiting 10:23:02 f706445af74f: Waiting 10:23:02 4c4ab2625f07: Verifying Checksum 10:23:02 4c4ab2625f07: Download complete 10:23:02 adcc1eea9eea: Verifying Checksum 10:23:02 adcc1eea9eea: Download complete 10:23:02 afea3b2eda06: Verifying Checksum 10:23:02 afea3b2eda06: Download complete 10:23:02 540db60ca938: Verifying Checksum 10:23:02 540db60ca938: Download complete 10:23:02 7809a108b3ef: Verifying Checksum 10:23:02 7809a108b3ef: Download complete 10:23:02 540db60ca938: Pull complete 10:23:03 adcc1eea9eea: Pull complete 10:23:03 4c4ab2625f07: Pull complete 10:23:04 f706445af74f: Verifying Checksum 10:23:04 f706445af74f: Download complete 10:23:04 0510c868ecb4: Verifying Checksum 10:23:04 0510c868ecb4: Download complete 10:23:06 ba82ee9f976e: Pull complete 10:23:06 506bd15cee9f: Pull complete 10:23:06 75a0a4a0db45: Pull complete 10:23:08 0510c868ecb4: Pull complete 10:23:08 afea3b2eda06: Pull complete 10:23:08 7809a108b3ef: Pull complete 10:23:09 618dc40b7e24: Pull complete 10:23:09 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 10:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 10:23:09 ---> a36622ca3599 10:23:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 10:23:09 f706445af74f: Pull complete 10:23:09 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 10:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 10:23:09 ---> b068be0155e3 10:23:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 10:23:11 ---> Running in d2b95e3a91e2 10:23:11 Removing intermediate container d2b95e3a91e2 10:23:11 ---> 58e5881f7544 10:23:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:12 ---> Running in 786a8b73cb24 10:23:14 Removing intermediate container 786a8b73cb24 10:23:14 ---> 70944dee6aab 10:23:14 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 10:23:14 ---> Running in ab2f268ee547 10:23:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:23:16 ---> Running in 8d46c441ba70 10:23:16 Removing intermediate container 8d46c441ba70 10:23:16 ---> 4e92215f47ec 10:23:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:16 ---> Running in 343f2af89dcd 10:23:16 Removing intermediate container 343f2af89dcd 10:23:16 ---> 1e76b1c96a52 10:23:16 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 10:23:16 ---> Running in 1f5ea4c82067 10:23:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:23:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:23:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:23:17 (1/13) Installing libc-dev (0.7.2-r3) 10:23:17 (2/13) Installing libsodium (1.0.18-r0) 10:23:17 (3/13) Installing pkgconf (1.7.3-r0) 10:23:18 (4/13) Installing libsodium-dev (1.0.18-r0) 10:23:18 (5/13) Installing openssh-keygen (8.4_p1-r3) 10:23:18 (6/13) Installing libedit (20191231.3.1-r1) 10:23:18 (7/13) Installing openssh-client (8.4_p1-r3) 10:23:18 (1/13) Installing libc-dev (0.7.2-r3) 10:23:18 (2/13) Installing libsodium (1.0.18-r0) 10:23:18 (3/13) Installing pkgconf (1.7.3-r0) 10:23:18 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 10:23:18 (9/13) Installing openssh-server-common (8.4_p1-r3) 10:23:19 (4/13) Installing libsodium-dev (1.0.18-r0) 10:23:19 (5/13) Installing openssh-keygen (8.4_p1-r3) 10:23:19 (6/13) Installing libedit (20191231.3.1-r1) 10:23:19 (10/13) Installing openssh-server (8.4_p1-r3) 10:23:19 (11/13) Installing openssh (8.4_p1-r3) 10:23:19 (7/13) Installing openssh-client (8.4_p1-r3) 10:23:19 (12/13) Installing libzmq (4.3.3-r1) 10:23:19 (13/13) Installing zeromq-dev (4.3.3-r1) 10:23:19 Executing busybox-1.32.1-r6.trigger 10:23:19 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 10:23:19 (9/13) Installing openssh-server-common (8.4_p1-r3) 10:23:19 OK: 145 MiB in 53 packages 10:23:19 (10/13) Installing openssh-server (8.4_p1-r3) 10:23:19 (11/13) Installing openssh (8.4_p1-r3) 10:23:19 (12/13) Installing libzmq (4.3.3-r1) 10:23:20 (13/13) Installing zeromq-dev (4.3.3-r1) 10:23:20 Executing busybox-1.32.1-r6.trigger 10:23:20 OK: 156 MiB in 53 packages 10:23:20 Removing intermediate container 1f5ea4c82067 10:23:20 ---> 6704406b04fc 10:23:20 Step 6/8 : WORKDIR /device-virtual-go 10:23:20 ---> Running in d4d19c56e265 10:23:20 Removing intermediate container d4d19c56e265 10:23:20 ---> ec12e6a6cb49 10:23:20 Step 7/8 : COPY . . 10:23:20 ---> 1f60462ad8d8 10:23:20 Step 8/8 : RUN go mod download 10:23:20 ---> Running in d6b6cb7dd7be 10:23:21 Removing intermediate container ab2f268ee547 10:23:21 ---> 7dcecc5f05ab 10:23:21 Step 6/8 : WORKDIR /device-virtual-go 10:23:21 ---> Running in 518e3f459277 10:23:21 Removing intermediate container 518e3f459277 10:23:21 ---> 1bec38628963 10:23:21 Step 7/8 : COPY . . 10:23:22 ---> 218f3c56f2cc 10:23:22 Step 8/8 : RUN go mod download 10:23:22 ---> Running in 92e9303c80e6 10:23:35 Removing intermediate container d6b6cb7dd7be 10:23:35 ---> 088c522b8109 10:23:35 Successfully built 088c522b8109 10:23:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:23:36 + docker inspect -f . ci-base-image-x86_64 10:23:36 . [Pipeline] withDockerContainer 10:23:36 prd-centos7-docker-4c-2g-1164 does not seem to be running inside a container 10:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@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 ******** ci-base-image-x86_64 cat 10:23:37 $ docker top ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:37 + go version 10:23:37 go version go1.16.3 linux/amd64 [Pipeline] } 10:23:37 $ docker stop --time=1 ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 10:23:38 $ docker rm -f ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:23:39 + docker inspect -f . ci-base-image-x86_64 10:23:39 . [Pipeline] withDockerContainer 10:23:39 prd-centos7-docker-4c-2g-1164 does not seem to be running inside a container 10:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@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 ******** ci-base-image-x86_64 cat 10:23:39 $ docker top c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:40 + go mod tidy [Pipeline] sh 10:23:40 + make test 10:23:40 go mod tidy 10:23:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:23:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:23:50 Removing intermediate container 92e9303c80e6 10:23:50 ---> 72ed01bab887 10:23:50 Successfully built 72ed01bab887 10:23:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:23:50 + docker inspect -f . ci-base-image-arm64 10:23:50 . [Pipeline] withDockerContainer 10:23:50 prd-ubuntu18.04-docker-arm64-4c-16g-1163 does not seem to be running inside a container 10:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@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 10:23:52 $ docker top ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:53 + go version 10:23:53 go version go1.16.5 linux/arm64 [Pipeline] } 10:23:53 $ docker stop --time=1 ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc 10:23:55 $ docker rm -f ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:23:56 + docker inspect -f . ci-base-image-arm64 10:23:56 . [Pipeline] withDockerContainer 10:23:56 prd-ubuntu18.04-docker-arm64-4c-16g-1163 does not seem to be running inside a container 10:23:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@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 10:23:57 $ docker top 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:58 + go mod tidy [Pipeline] sh 10:24:00 + make test 10:24:00 go mod tidy 10:24:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:24:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:24:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:24:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.265s coverage: 63.8% of statements 10:24:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:24:07 gofmt -l . 10:24:07 [ "`gofmt -l .`" = "" ] 10:24:07 ./bin/test-attribution-txt.sh 10:24:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:24:08 $ docker stop --time=1 c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c 10:24:10 $ docker rm -f c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c [Pipeline] // withDockerContainer [Pipeline] sh 10:24:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:15 + ls -al . 10:24:15 total 132 10:24:15 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 24 10:24 . 10:24:15 drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 10:22 .. 10:24:15 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 24 10:22 Attribution.txt 10:24:15 drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 10:22 bin 10:24:15 drwxrwxr-x. 3 jenkins jenkins 32 Jun 24 10:22 cmd 10:24:15 -rw-r--r--. 1 jenkins jenkins 47257 Jun 24 10:24 coverage.out 10:24:15 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 24 10:22 Dockerfile 10:24:15 -rw-rw-r--. 1 jenkins jenkins 998 Jun 24 10:22 Dockerfile.build 10:24:15 drwxrwxr-x. 8 jenkins jenkins 162 Jun 24 10:22 .git 10:24:15 drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 10:22 .github 10:24:15 -rw-rw-r--. 1 jenkins jenkins 277 Jun 24 10:22 .gitignore 10:24:15 -rw-r--r--. 1 jenkins jenkins 810 Jun 24 10:24 go.mod 10:24:15 -rw-r--r--. 1 jenkins jenkins 23135 Jun 24 10:23 go.sum 10:24:15 drwxrwxr-x. 3 jenkins jenkins 20 Jun 24 10:22 internal 10:24:15 -rw-rw-r--. 1 jenkins jenkins 660 Jun 24 10:22 Jenkinsfile 10:24:15 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 24 10:22 LICENSE 10:24:15 -rw-rw-r--. 1 jenkins jenkins 905 Jun 24 10:22 Makefile 10:24:15 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 24 10:22 README.md 10:24:15 -rw-rw-r--. 1 jenkins jenkins 12 Jun 24 10:19 VERSION 10:24:15 -rw-rw-r--. 1 jenkins jenkins 235 Jun 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh 10:24:15 + 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=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 --label arch=amd64 --label version=1.3.2-dev.28 . 10:24:15 Sending build context to Docker daemon 8.692MB 10:24:15 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 10:24:15 Step 2/26 : FROM ${BASE} AS builder 10:24:15 ---> 088c522b8109 10:24:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:24:15 ---> Running in 3a2e593703f1 10:24:15 Removing intermediate container 3a2e593703f1 10:24:15 ---> a9aeef44ad45 10:24:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:24:15 ---> Running in fe00c5ac8dd8 10:24:15 Removing intermediate container fe00c5ac8dd8 10:24:15 ---> 2c175f3f971f 10:24:15 Step 5/26 : WORKDIR /device-virtual-go 10:24:15 ---> Running in ac7d5d009f96 10:24:15 Removing intermediate container ac7d5d009f96 10:24:15 ---> fe5d891ff7ea 10:24:15 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:15 ---> Running in b5ed4776ea3c 10:24:16 Removing intermediate container b5ed4776ea3c 10:24:16 ---> ca7b52707b62 10:24:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:16 ---> Running in ea9b82d72bfe 10:24:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:24:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:24:17 OK: 156 MiB in 53 packages 10:24:17 Removing intermediate container ea9b82d72bfe 10:24:17 ---> 7e22c45e5196 10:24:17 Step 8/26 : COPY . . 10:24:18 ---> 6bebba16d9b3 10:24:18 Step 9/26 : RUN go mod tidy 10:24:18 ---> Running in a787d0953a58 10:24:19 Removing intermediate container a787d0953a58 10:24:19 ---> ec68ec32e625 10:24:19 Step 10/26 : RUN go mod download 10:24:19 ---> Running in eb2817158fe6 10:24:19 Removing intermediate container eb2817158fe6 10:24:19 ---> 45941a9adcb3 10:24:19 Step 11/26 : ARG MAKE='make build' 10:24:19 ---> Running in 4c42db2f6dfd 10:24:19 Removing intermediate container 4c42db2f6dfd 10:24:19 ---> d72e805042eb 10:24:19 Step 12/26 : RUN $MAKE 10:24:19 ---> Running in e57342e98604 10:24:19 go mod tidy 10:24:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.28" -o cmd/device-virtual ./cmd 10:24:35 Removing intermediate container e57342e98604 10:24:35 ---> 6300c1cb0aae 10:24:35 Step 13/26 : FROM alpine:3.12 10:24:35 3.12: Pulling from library/alpine 10:24:36 339de151aab4: Pulling fs layer 10:24:36 339de151aab4: Verifying Checksum 10:24:36 339de151aab4: Download complete 10:24:36 339de151aab4: Pull complete 10:24:36 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 10:24:36 Status: Downloaded newer image for alpine:3.12 10:24:36 ---> 13621d1b12d4 10:24:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:24:36 ---> Running in 06cc56f1d79b 10:24:36 Removing intermediate container 06cc56f1d79b 10:24:36 ---> 9d7c7ce98abb 10:24:36 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:36 ---> Running in a9d47fd4bf07 10:24:36 Removing intermediate container a9d47fd4bf07 10:24:36 ---> 8050fdd73d07 10:24:36 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:24:36 ---> Running in 82731655f062 10:24:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:24:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:24:38 (1/6) Installing dumb-init (1.2.2-r1) 10:24:38 (2/6) Installing libgcc (9.3.0-r2) 10:24:38 (3/6) Installing libsodium (1.0.18-r0) 10:24:38 (4/6) Installing libstdc++ (9.3.0-r2) 10:24:39 (5/6) Installing libzmq (4.3.3-r0) 10:24:39 (6/6) Installing zeromq (4.3.3-r0) 10:24:39 Executing busybox-1.31.1-r20.trigger 10:24:39 OK: 8 MiB in 20 packages 10:24:40 Removing intermediate container 82731655f062 10:24:40 ---> ad3aa28a3b89 10:24:40 Step 17/26 : WORKDIR / 10:24:40 ---> Running in 098cc9a14cfa 10:24:40 Removing intermediate container 098cc9a14cfa 10:24:40 ---> 579f16251a6b 10:24:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:24:40 ---> 2f12d265c46e 10:24:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:24:40 ---> ae76b9b88568 10:24:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:24:40 ---> 7c6db518ed34 10:24:40 Step 21/26 : EXPOSE 59900 10:24:40 ---> Running in a79d390a7545 10:24:41 Removing intermediate container a79d390a7545 10:24:41 ---> 41de62ba67bf 10:24:41 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:24:41 ---> Running in c8a3c06d62fa 10:24:41 Removing intermediate container c8a3c06d62fa 10:24:41 ---> 6740ddd5bff2 10:24:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:41 ---> Running in 34bd65f8c358 10:24:41 Removing intermediate container 34bd65f8c358 10:24:41 ---> e25895d7a153 10:24:41 Step 24/26 : LABEL arch=amd64 10:24:41 ---> Running in fb7311470d00 10:24:41 Removing intermediate container fb7311470d00 10:24:41 ---> a33c9f55f2c7 10:24:41 Step 25/26 : LABEL git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:24:41 ---> Running in 4e87d4bd56f0 10:24:41 Removing intermediate container 4e87d4bd56f0 10:24:41 ---> f200ade30d76 10:24:41 Step 26/26 : LABEL version=1.3.2-dev.28 10:24:41 ---> Running in 8f616eb9fc58 10:24:41 Removing intermediate container 8f616eb9fc58 10:24:41 ---> d5f6ad0a6473 10:24:41 [Warning] One or more build-args [ARCH] were not consumed 10:24:41 Successfully built d5f6ad0a6473 10:24:41 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:41 provisioning config files... 10:24:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config9011138262145895023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:42 ---> docker-login.sh 10:24:42 nexus3.edgexfoundry.org:10001 10:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:42 Configure a credential helper to remove this warning. See 10:24:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:42 10:24:42 Login Succeeded 10:24:42 nexus3.edgexfoundry.org:10002 10:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:42 Configure a credential helper to remove this warning. See 10:24:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:42 10:24:42 Login Succeeded 10:24:42 nexus3.edgexfoundry.org:10003 10:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:42 Configure a credential helper to remove this warning. See 10:24:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:42 10:24:42 Login Succeeded 10:24:42 nexus3.edgexfoundry.org:10004 10:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:42 Configure a credential helper to remove this warning. See 10:24:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:42 10:24:42 Login Succeeded 10:24:42 docker.io 10:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:43 Configure a credential helper to remove this warning. See 10:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:43 10:24:43 Login Succeeded 10:24:43 ---> docker-login.sh ends [Pipeline] } 10:24:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:24:43 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 10:24:43 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:24:43 latest 10:24:43 1.3.2-dev.28 10:24:43 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:24:43 master 10:24:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:24:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh 10:24:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:24:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:24:43 8d1d60b379c9: Preparing 10:24:43 9d118c6d25fa: Preparing 10:24:43 79e4a126b836: Preparing 10:24:43 2042f064d7f7: Preparing 10:24:43 50936a6faae3: Preparing 10:24:43 32f366d666a5: Preparing 10:24:43 32f366d666a5: Waiting 10:24:44 79e4a126b836: Pushed 10:24:44 32f366d666a5: Layer already exists 10:24:44 9d118c6d25fa: Pushed 10:24:44 50936a6faae3: Pushed 10:24:44 2042f064d7f7: Pushed 10:24:45 8d1d60b379c9: Pushed 10:24:45 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh 10:24:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 10:24:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 10:24:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:24:46 8d1d60b379c9: Preparing 10:24:46 9d118c6d25fa: Preparing 10:24:46 79e4a126b836: Preparing 10:24:46 2042f064d7f7: Preparing 10:24:46 50936a6faae3: Preparing 10:24:46 32f366d666a5: Preparing 10:24:46 32f366d666a5: Waiting 10:24:46 50936a6faae3: Layer already exists 10:24:46 8d1d60b379c9: Layer already exists 10:24:46 79e4a126b836: Layer already exists 10:24:46 2042f064d7f7: Layer already exists 10:24:46 9d118c6d25fa: Layer already exists 10:24:46 32f366d666a5: Layer already exists 10:24:46 latest: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh 10:24:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh 10:24:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 10:24:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:24:46 8d1d60b379c9: Preparing 10:24:46 9d118c6d25fa: Preparing 10:24:46 79e4a126b836: Preparing 10:24:46 2042f064d7f7: Preparing 10:24:46 50936a6faae3: Preparing 10:24:46 32f366d666a5: Preparing 10:24:46 32f366d666a5: Waiting 10:24:46 8d1d60b379c9: Layer already exists 10:24:46 50936a6faae3: Layer already exists 10:24:46 2042f064d7f7: Layer already exists 10:24:46 79e4a126b836: Layer already exists 10:24:46 9d118c6d25fa: Layer already exists 10:24:46 32f366d666a5: Layer already exists 10:24:46 1.3.2-dev.28: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh 10:24:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh 10:24:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:24:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:24:47 8d1d60b379c9: Preparing 10:24:47 9d118c6d25fa: Preparing 10:24:47 79e4a126b836: Preparing 10:24:47 2042f064d7f7: Preparing 10:24:47 50936a6faae3: Preparing 10:24:47 32f366d666a5: Preparing 10:24:47 32f366d666a5: Waiting 10:24:47 79e4a126b836: Layer already exists 10:24:47 9d118c6d25fa: Layer already exists 10:24:47 8d1d60b379c9: Layer already exists 10:24:47 50936a6faae3: Layer already exists 10:24:47 2042f064d7f7: Layer already exists 10:24:47 32f366d666a5: Layer already exists 10:24:47 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh 10:24:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 10:24:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 10:24:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:24:48 8d1d60b379c9: Preparing 10:24:48 9d118c6d25fa: Preparing 10:24:48 79e4a126b836: Preparing 10:24:48 2042f064d7f7: Preparing 10:24:48 50936a6faae3: Preparing 10:24:48 32f366d666a5: Preparing 10:24:48 2042f064d7f7: Layer already exists 10:24:48 9d118c6d25fa: Layer already exists 10:24:48 8d1d60b379c9: Layer already exists 10:24:48 79e4a126b836: Layer already exists 10:24:48 50936a6faae3: Layer already exists 10:24:48 32f366d666a5: Layer already exists 10:24:48 master: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:24:48 ===================================================== [Pipeline] echo 10:24:48 taggedImages: 10:24:48 - nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:24:48 - nexus3.edgexfoundry.org:10004/device-virtual:latest 10:24:48 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 10:24:48 - nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:24:48 - 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 10:24:48 ---> job-cost.sh 10:24:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ynl 10:24:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:25:11 lf-activate-venv(): INFO: Adding /tmp/venv-5ynl/bin to PATH 10:25:11 INFO: No Stack... 10:25:11 INFO: Retrieving Pricing Info for: v3-standard-2 10:25:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:25:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.718s coverage: 63.8% of statements 10:25:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:25:11 INFO: Archiving Costs [Pipeline] sh 10:25:12 + cat /w/workspace/device-virtual-go/68/archives/cost.csv 10:25:12 + cut -d, -f6 [Pipeline] lock 10:25:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] 10:25:12 Resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] did not exist. Created. 10:25:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:25:12 + echo total: 0.05999999865889549 [Pipeline] stash 10:25:12 Stashed 1 file(s) [Pipeline] } 10:25:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:25:33 gofmt -l . 10:25:33 [ "`gofmt -l .`" = "" ] 10:25:33 ./bin/test-attribution-txt.sh 10:25:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:25:35 $ docker stop --time=1 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa 10:25:37 $ docker rm -f 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa [Pipeline] // withDockerContainer [Pipeline] sh 10:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:25:38 Warning: overwriting stash ‘coverage-report’ 10:25:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:25:39 + ls -al . 10:25:39 total 156 10:25:39 drwxrwxr-x 7 jenkins jenkins 4096 Jun 24 10:25 . 10:25:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 10:22 .. 10:25:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 10:22 .git 10:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 10:22 .github 10:25:39 -rw-rw-r-- 1 jenkins jenkins 277 Jun 24 10:22 .gitignore 10:25:39 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 24 10:22 Attribution.txt 10:25:39 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 24 10:22 Dockerfile 10:25:39 -rw-rw-r-- 1 jenkins jenkins 998 Jun 24 10:22 Dockerfile.build 10:25:39 -rw-rw-r-- 1 jenkins jenkins 660 Jun 24 10:22 Jenkinsfile 10:25:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 24 10:22 LICENSE 10:25:39 -rw-rw-r-- 1 jenkins jenkins 905 Jun 24 10:22 Makefile 10:25:39 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 24 10:22 README.md 10:25:39 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 10:19 VERSION 10:25:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 10:22 bin 10:25:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 10:22 cmd 10:25:39 -rw-r--r-- 1 jenkins jenkins 47257 Jun 24 10:25 coverage.out 10:25:39 -rw-r--r-- 1 jenkins jenkins 810 Jun 24 10:25 go.mod 10:25:39 -rw-r--r-- 1 jenkins jenkins 23135 Jun 24 10:23 go.sum 10:25:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 10:22 internal 10:25:39 -rw-rw-r-- 1 jenkins jenkins 235 Jun 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh 10:25:40 + 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=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 --label arch=arm64 --label version=1.3.2-dev.28 . 10:25:40 Sending build context to Docker daemon 8.691MB 10:25:40 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 10:25:40 Step 2/26 : FROM ${BASE} AS builder 10:25:40 ---> 72ed01bab887 10:25:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:25:41 ---> Running in e05f82c1fcd3 10:25:41 Removing intermediate container e05f82c1fcd3 10:25:41 ---> e565bb7238b4 10:25:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:25:41 ---> Running in f989f670233b 10:25:41 Removing intermediate container f989f670233b 10:25:41 ---> 96b4ec28b1b3 10:25:41 Step 5/26 : WORKDIR /device-virtual-go 10:25:42 ---> Running in 81641f4a19fc 10:25:42 Removing intermediate container 81641f4a19fc 10:25:42 ---> 0a6245c7a889 10:25:42 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:25:42 ---> Running in aca0ba83ec99 10:25:44 Removing intermediate container aca0ba83ec99 10:25:44 ---> 3437639ab3f9 10:25:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:44 ---> Running in edc216aaee29 10:25:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:25:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:25:47 OK: 145 MiB in 53 packages 10:25:48 Removing intermediate container edc216aaee29 10:25:48 ---> c499108b5c5f 10:25:48 Step 8/26 : COPY . . 10:25:49 ---> 72df19201000 10:25:49 Step 9/26 : RUN go mod tidy 10:25:49 ---> Running in 61c6c6ac558d 10:25:52 Removing intermediate container 61c6c6ac558d 10:25:52 ---> e6f668da9305 10:25:52 Step 10/26 : RUN go mod download 10:25:52 ---> Running in 5a93b47de139 10:25:55 Removing intermediate container 5a93b47de139 10:25:55 ---> 056d0fcfb3e8 10:25:55 Step 11/26 : ARG MAKE='make build' 10:25:55 ---> Running in 68b672510f7a 10:25:55 Removing intermediate container 68b672510f7a 10:25:55 ---> 6cc133e28318 10:25:55 Step 12/26 : RUN $MAKE 10:25:55 ---> Running in 266ce6475b79 10:25:57 go mod tidy 10:25:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.28" -o cmd/device-virtual ./cmd 10:26:54 Removing intermediate container 266ce6475b79 10:26:54 ---> 9d4971d5cf52 10:26:54 Step 13/26 : FROM alpine:3.12 10:26:54 3.12: Pulling from library/alpine 10:26:54 d2f70382dc9a: Pulling fs layer 10:26:54 d2f70382dc9a: Verifying Checksum 10:26:54 d2f70382dc9a: Download complete 10:26:54 d2f70382dc9a: Pull complete 10:26:54 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 10:26:54 Status: Downloaded newer image for alpine:3.12 10:26:54 ---> c4fd0aeabfcf 10:26:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:26:54 ---> Running in 2016f6cd6124 10:26:54 Removing intermediate container 2016f6cd6124 10:26:54 ---> 4c7ccdc9fcfd 10:26:54 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:54 ---> Running in e76a445fd6dc 10:26:54 Removing intermediate container e76a445fd6dc 10:26:54 ---> f841e68d6051 10:26:54 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:26:54 ---> Running in 0716138182cf 10:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:26:54 (1/6) Installing dumb-init (1.2.2-r1) 10:26:54 (2/6) Installing libgcc (9.3.0-r2) 10:26:54 (3/6) Installing libsodium (1.0.18-r0) 10:26:54 (4/6) Installing libstdc++ (9.3.0-r2) 10:26:54 (5/6) Installing libzmq (4.3.3-r0) 10:26:54 (6/6) Installing zeromq (4.3.3-r0) 10:26:54 Executing busybox-1.31.1-r20.trigger 10:26:54 OK: 8 MiB in 20 packages 10:26:55 Removing intermediate container 0716138182cf 10:26:55 ---> 961a23036895 10:26:55 Step 17/26 : WORKDIR / 10:26:55 ---> Running in d0352bb845d5 10:26:55 Removing intermediate container d0352bb845d5 10:26:55 ---> 97911c4c228c 10:26:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:26:56 ---> 12e016b72f57 10:26:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:26:57 ---> 3f01953d7631 10:26:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:26:58 ---> 274d895f3671 10:26:58 Step 21/26 : EXPOSE 59900 10:26:58 ---> Running in 757487b20484 10:26:59 Removing intermediate container 757487b20484 10:26:59 ---> 08b49d353681 10:26:59 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:26:59 ---> Running in c99e2ba458a8 10:27:00 Removing intermediate container c99e2ba458a8 10:27:00 ---> 34bf048a7b1c 10:27:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:27:00 ---> Running in 47aa8c207d79 10:27:00 Removing intermediate container 47aa8c207d79 10:27:00 ---> c6368120004e 10:27:00 Step 24/26 : LABEL arch=arm64 10:27:00 ---> Running in e419ae0a4aad 10:27:01 Removing intermediate container e419ae0a4aad 10:27:01 ---> b367e5444e1a 10:27:01 Step 25/26 : LABEL git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:27:01 ---> Running in f4fdf8a7fc44 10:27:01 Removing intermediate container f4fdf8a7fc44 10:27:01 ---> 9364d169e42e 10:27:01 Step 26/26 : LABEL version=1.3.2-dev.28 10:27:01 ---> Running in 10c80f426760 10:27:02 Removing intermediate container 10c80f426760 10:27:02 ---> 522389415dd5 10:27:02 [Warning] One or more build-args [ARCH] were not consumed 10:27:02 Successfully built 522389415dd5 10:27:02 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 10:27:02 provisioning config files... 10:27:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config2852433236268668760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:03 ---> docker-login.sh 10:27:03 nexus3.edgexfoundry.org:10001 10:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:03 Configure a credential helper to remove this warning. See 10:27:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:03 10:27:03 Login Succeeded 10:27:03 nexus3.edgexfoundry.org:10002 10:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:04 Configure a credential helper to remove this warning. See 10:27:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:04 10:27:04 Login Succeeded 10:27:04 nexus3.edgexfoundry.org:10003 10:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:04 Configure a credential helper to remove this warning. See 10:27:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:04 10:27:04 Login Succeeded 10:27:04 nexus3.edgexfoundry.org:10004 10:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:05 Configure a credential helper to remove this warning. See 10:27:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:05 10:27:05 Login Succeeded 10:27:05 docker.io 10:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:06 Configure a credential helper to remove this warning. See 10:27:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:06 10:27:06 Login Succeeded 10:27:06 ---> docker-login.sh ends [Pipeline] } 10:27:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:27:06 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 10:27:06 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:27:06 latest 10:27:06 1.3.2-dev.28 10:27:06 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:27:06 master 10:27:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh 10:27:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:27:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:27:07 6dc2ec880978: Preparing 10:27:07 de2987bf3078: Preparing 10:27:07 3ecd89d54444: Preparing 10:27:07 1a66f3b4dfc5: Preparing 10:27:07 84aba8cf6ef6: Preparing 10:27:07 3fbe34a1663b: Preparing 10:27:07 84aba8cf6ef6: Pushed 10:27:07 3ecd89d54444: Pushed 10:27:07 de2987bf3078: Pushed 10:27:07 3fbe34a1663b: Layer already exists 10:27:08 1a66f3b4dfc5: Pushed 10:27:10 6dc2ec880978: Pushed 10:27:10 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh 10:27:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:27:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:27:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:27:11 6dc2ec880978: Preparing 10:27:11 de2987bf3078: Preparing 10:27:11 3ecd89d54444: Preparing 10:27:11 1a66f3b4dfc5: Preparing 10:27:11 84aba8cf6ef6: Preparing 10:27:11 3fbe34a1663b: Preparing 10:27:11 3fbe34a1663b: Waiting 10:27:11 de2987bf3078: Layer already exists 10:27:11 1a66f3b4dfc5: Layer already exists 10:27:11 84aba8cf6ef6: Layer already exists 10:27:11 3ecd89d54444: Layer already exists 10:27:11 6dc2ec880978: Layer already exists 10:27:11 3fbe34a1663b: Layer already exists 10:27:11 latest: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh 10:27:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh 10:27:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 10:27:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:27:12 6dc2ec880978: Preparing 10:27:12 de2987bf3078: Preparing 10:27:12 3ecd89d54444: Preparing 10:27:12 1a66f3b4dfc5: Preparing 10:27:12 84aba8cf6ef6: Preparing 10:27:12 3fbe34a1663b: Preparing 10:27:12 3fbe34a1663b: Waiting 10:27:12 3ecd89d54444: Layer already exists 10:27:12 84aba8cf6ef6: Layer already exists 10:27:12 1a66f3b4dfc5: Layer already exists 10:27:12 6dc2ec880978: Layer already exists 10:27:12 de2987bf3078: Layer already exists 10:27:12 3fbe34a1663b: Layer already exists 10:27:12 1.3.2-dev.28: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh 10:27:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh 10:27:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:27:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:27:13 6dc2ec880978: Preparing 10:27:13 de2987bf3078: Preparing 10:27:13 3ecd89d54444: Preparing 10:27:13 1a66f3b4dfc5: Preparing 10:27:13 84aba8cf6ef6: Preparing 10:27:13 3fbe34a1663b: Preparing 10:27:13 3fbe34a1663b: Waiting 10:27:13 6dc2ec880978: Layer already exists 10:27:13 1a66f3b4dfc5: Layer already exists 10:27:13 3ecd89d54444: Layer already exists 10:27:13 84aba8cf6ef6: Layer already exists 10:27:13 de2987bf3078: Layer already exists 10:27:13 3fbe34a1663b: Layer already exists 10:27:13 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh 10:27:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 10:27:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 10:27:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:27:14 6dc2ec880978: Preparing 10:27:14 de2987bf3078: Preparing 10:27:14 3ecd89d54444: Preparing 10:27:14 1a66f3b4dfc5: Preparing 10:27:14 84aba8cf6ef6: Preparing 10:27:14 3fbe34a1663b: Preparing 10:27:14 3fbe34a1663b: Waiting 10:27:14 84aba8cf6ef6: Layer already exists 10:27:14 3ecd89d54444: Layer already exists 10:27:14 6dc2ec880978: Layer already exists 10:27:14 de2987bf3078: Layer already exists 10:27:14 1a66f3b4dfc5: Layer already exists 10:27:14 3fbe34a1663b: Layer already exists 10:27:14 master: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:27:14 ===================================================== [Pipeline] echo 10:27:15 taggedImages: 10:27:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 10:27:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:27:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 10:27:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 10:27:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:27:15 ---> job-cost.sh 10:27:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nbln 10:27:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:29:16 lf-activate-venv(): INFO: Adding /tmp/venv-Nbln/bin to PATH 10:29:16 INFO: No Stack... 10:29:16 INFO: Retrieving Pricing Info for: v2-standard-4 10:29:16 INFO: Archiving Costs [Pipeline] sh 10:29:17 + cat /w/workspace/device-virtual-go/68/archives/cost.csv 10:29:17 + cut -d, -f6 [Pipeline] lock 10:29:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] 10:29:17 Resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] did not exist. Created. 10:29:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:17 /w/workspace/device-virtual-go/68@tmp/durable-1813bddd/script.sh: 1: /w/workspace/device-virtual-go/68@tmp/durable-1813bddd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:29:18 + echo total: 0.18000000715255737 [Pipeline] stash 10:29:18 Warning: overwriting stash ‘stack-cost’ 10:29:18 Stashed 1 file(s) [Pipeline] } 10:29:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-68-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 10:29:21 provisioning config files... 10:29:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8426275937639744206tmp [Pipeline] { [Pipeline] sh 10:29:22 + set +x 10:29:22 + curl -s https://codecov.io/bash 10:29:22 + bash -s -- 10:29:23 10:29:23 _____ _ 10:29:23 / ____| | | 10:29:23 | | ___ __| | ___ ___ _____ __ 10:29:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:29:23 | |___| (_) | (_| | __/ (_| (_) \ V / 10:29:23 \_____\___/ \__,_|\___|\___\___/ \_/ 10:29:23 Bash-1.0.3 10:29:23 10:29:23 10:29:23 ==> git version 2.24.4 found 10:29:23 ==> 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 10:29:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:29:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:29:23 ==> Jenkins CI detected. 10:29:23 project root: . 10:29:23 --> token set from env 10:29:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:29:23 ==> Running gcov in . (disable via -X gcov) 10:29:23 ==> Python coveragepy not found 10:29:23 ==> Searching for coverage reports in: 10:29:23 + . 10:29:23 -> Found 1 reports 10:29:23 ==> Detecting git/mercurial file structure 10:29:23 ==> Reading reports 10:29:23 + ./coverage.out bytes=47257 10:29:23 ==> Appending adjustments 10:29:23 https://docs.codecov.io/docs/fixing-reports 10:29:23 + Found adjustments 10:29:23 ==> Gzipping contents 10:29:23 8.0K /tmp/codecov.u2zBVN.gz 10:29:23 ==> Uploading reports 10:29:23 url: https://codecov.io 10:29:23 query: branch=master&commit=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:29:23 -> Pinging Codecov 10:29:23 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:29:25 -> Uploading to 10:29:25 https://storage.googleapis.com/codecov/v4/raw/2021-06-24/5E52B4B073DB2E39498172D8E973AA87/7f458d0c4f91ec8abf0d5b080d00395b52de4bf3/dd1888bc-5aa2-4a45-8719-25c4763e5636.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T102924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=898b918d0acb9869acb4c2cc753aa0a36ac9f94ff1546c7a55cd89f99a6f5cad 10:29:25 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:25 Dload Upload Total Spent Left Speed 10:29:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5805 0 0 100 5805 0 14584 --:--:-- --:--:-- --:--:-- 14622 10:29:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] } 10:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:29:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:29:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:29:26 10:29:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 10:29:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:29:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:29:26 188c0c94c7c5: Pulling fs layer 10:29:26 0ef7d3d256c8: Pulling fs layer 10:29:26 de9db76c5a1d: Pulling fs layer 10:29:26 0eba1c9be4d2: Pulling fs layer 10:29:26 0d57e429df01: Pulling fs layer 10:29:26 4e4be7b47b0d: Pulling fs layer 10:29:26 e1f770b5df2f: Pulling fs layer 10:29:26 85a0685a4137: Pulling fs layer 10:29:26 0d57e429df01: Waiting 10:29:26 4e4be7b47b0d: Waiting 10:29:26 e1f770b5df2f: Waiting 10:29:26 85a0685a4137: Waiting 10:29:26 0eba1c9be4d2: Waiting 10:29:26 de9db76c5a1d: Verifying Checksum 10:29:26 de9db76c5a1d: Download complete 10:29:26 0ef7d3d256c8: Verifying Checksum 10:29:26 0ef7d3d256c8: Download complete 10:29:26 0d57e429df01: Verifying Checksum 10:29:26 0d57e429df01: Download complete 10:29:26 188c0c94c7c5: Verifying Checksum 10:29:26 188c0c94c7c5: Download complete 10:29:26 4e4be7b47b0d: Verifying Checksum 10:29:26 4e4be7b47b0d: Download complete 10:29:26 188c0c94c7c5: Pull complete 10:29:27 0ef7d3d256c8: Pull complete 10:29:27 de9db76c5a1d: Pull complete 10:29:28 e1f770b5df2f: Verifying Checksum 10:29:28 e1f770b5df2f: Download complete 10:29:30 0eba1c9be4d2: Verifying Checksum 10:29:30 0eba1c9be4d2: Download complete 10:29:30 85a0685a4137: Verifying Checksum 10:29:30 85a0685a4137: Download complete 10:29:33 0eba1c9be4d2: Pull complete 10:29:33 0d57e429df01: Pull complete 10:29:33 4e4be7b47b0d: Pull complete 10:29:34 e1f770b5df2f: Pull complete 10:29:37 85a0685a4137: Pull complete 10:29:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 10:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:29:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 10:29:37 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:29:37 $ 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 10:29:40 $ docker top 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 -eo pid,comm [Pipeline] { [Pipeline] echo 10:29:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 10:29:40 + set -o pipefail 10:29:40 + snyk monitor '--org=edgex-jenkins' 10:29:50 10:29:50 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 10:29:50 10:29:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e50cd1d3-016f-4e24-bd99-b369d429edf0 10:29:50 10:29:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:29:50 10:29:50 [Pipeline] } 10:29:50 $ docker stop --time=1 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 10:29:52 $ docker rm -f 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 [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 10:29:53 + git log --format=format:%s -1 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh 10:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:29:53 . [Pipeline] withDockerContainer 10:29:54 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:29:54 $ 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 10:29:54 $ docker top d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:29:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:29:54 [ssh-agent] Looking for ssh-agent implementation... 10:29:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:29:54 $ docker exec d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 ssh-agent 10:29:54 SSH_AUTH_SOCK=/tmp/ssh-VUSK2AuYlzhV/agent.13 10:29:54 SSH_AGENT_PID=20 10:29:54 Running ssh-add (command line suppressed) 10:29:54 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5380065490140774003.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5380065490140774003.key) 10:29:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:29:55 + git semver tag 10:29:55 # -> Open(): unable to determine branch for HEAD 10:29:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:29:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:29:55 # $SEMVER_REMOTE_NAME = origin 10:29:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:29:55 # $SEMVER_USER_NAME = edgex-jenkins 10:29:55 # $SEMVER_BRANCH = master 10:29:55 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 10:29:55 # 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 HEAD 10:29:55 # -> Force: false 10:29:55 # 8d651dbd72ea0ba7b34e6bafae3f9eaebd8f19a6 refs/tags/v1.3.2-dev.28 [Pipeline] } 10:29:55 $ docker exec --env ******** --env ******** d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 ssh-agent -k 10:29:55 unset SSH_AUTH_SOCK; 10:29:55 unset SSH_AGENT_PID; 10:29:55 echo Agent pid 20 killed; 10:29:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:29:55 + git semver [Pipeline] } 10:29:55 $ docker stop --time=1 d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 10:29:56 $ docker rm -f d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:29:57 10:29:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:29:57 0.23.1-centos7: Pulling from edgex-lftools 10:29:57 ab5ef0e58194: Pulling fs layer 10:29:57 9712f1f96733: Pulling fs layer 10:29:57 63f879dbbcfc: Pulling fs layer 10:29:57 0d9ebad4ef96: Pulling fs layer 10:29:57 e9a5061849ea: Pulling fs layer 10:29:57 d747dcd14b5f: Pulling fs layer 10:29:57 2de7ff778b66: Pulling fs layer 10:29:57 e9a5061849ea: Waiting 10:29:57 d747dcd14b5f: Waiting 10:29:57 2de7ff778b66: Waiting 10:29:57 0d9ebad4ef96: Waiting 10:29:57 9712f1f96733: Verifying Checksum 10:29:57 9712f1f96733: Download complete 10:29:59 63f879dbbcfc: Verifying Checksum 10:29:59 63f879dbbcfc: Download complete 10:29:59 e9a5061849ea: Verifying Checksum 10:29:59 e9a5061849ea: Download complete 10:29:59 d747dcd14b5f: Verifying Checksum 10:29:59 d747dcd14b5f: Download complete 10:29:59 2de7ff778b66: Verifying Checksum 10:29:59 2de7ff778b66: Download complete 10:29:59 0d9ebad4ef96: Verifying Checksum 10:29:59 0d9ebad4ef96: Download complete 10:29:59 ab5ef0e58194: Verifying Checksum 10:29:59 ab5ef0e58194: Download complete 10:30:02 ab5ef0e58194: Pull complete 10:30:02 9712f1f96733: Pull complete 10:30:05 63f879dbbcfc: Pull complete 10:30:06 0d9ebad4ef96: Pull complete 10:30:06 e9a5061849ea: Pull complete 10:30:06 d747dcd14b5f: Pull complete 10:30:07 2de7ff778b66: Pull complete 10:30:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:30:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:30:08 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:30:08 $ 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 10:30:12 $ docker top 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:30:12 provisioning config files... 10:30:12 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5961116083683412310tmp 10:30:12 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5592269214406634467tmp 10:30:12 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4435865539115167076tmp [Pipeline] { [Pipeline] echo 10:30:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:30:12 ---> sigul-configuration.sh 10:30:12 gpg: directory `/root/.gnupg' created 10:30:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:30:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:30:12 gpg: keyring `/root/.gnupg/secring.gpg' created 10:30:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:30:12 gpg: CAST5 encrypted data 10:30:12 gpg: encrypted with 1 passphrase 10:30:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:30:13 + mkdir /home/jenkins 10:30:13 + mkdir /home/jenkins/sigul [Pipeline] sh 10:30:13 + 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 10:30:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:30:13 ---> sigul-install.sh 10:30:19 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:30:19 + git tag --list 10:30:19 v1.0.0 10:30:19 v1.1.0 10:30:19 v1.1.1 10:30:19 v1.2.1 10:30:19 v1.2.2 10:30:19 v1.2.3 10:30:19 v1.3.0 10:30:19 v1.3.1 10:30:19 v1.3.1-dev.1 10:30:19 v1.3.1-dev.2 10:30:19 v1.3.1-dev.3 10:30:19 v1.3.1-dev.4 10:30:19 v1.3.1-dev.5 10:30:19 v1.3.2-dev.1 10:30:19 v1.3.2-dev.10 10:30:19 v1.3.2-dev.11 10:30:19 v1.3.2-dev.12 10:30:19 v1.3.2-dev.13 10:30:19 v1.3.2-dev.14 10:30:19 v1.3.2-dev.15 10:30:19 v1.3.2-dev.16 10:30:19 v1.3.2-dev.17 10:30:19 v1.3.2-dev.18 10:30:19 v1.3.2-dev.19 10:30:19 v1.3.2-dev.2 10:30:19 v1.3.2-dev.20 10:30:19 v1.3.2-dev.21 10:30:19 v1.3.2-dev.22 10:30:19 v1.3.2-dev.23 10:30:19 v1.3.2-dev.24 10:30:19 v1.3.2-dev.25 10:30:19 v1.3.2-dev.26 10:30:19 v1.3.2-dev.27 10:30:19 v1.3.2-dev.28 10:30:19 v1.3.2-dev.3 10:30:19 v1.3.2-dev.4 10:30:19 v1.3.2-dev.5 10:30:19 v1.3.2-dev.6 10:30:19 v1.3.2-dev.7 10:30:19 v1.3.2-dev.8 10:30:19 v1.3.2-dev.9 [Pipeline] sh 10:30:19 + lftools sign git-tag v1.3.2-dev.28 10:30:20 Signing Git tag with Sigul... 10:30:20 Signing v1.3.2-dev.28 [Pipeline] echo 10:30:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:30:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:30:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:30:21 $ docker stop --time=1 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 10:30:23 $ docker rm -f 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:30:24 . [Pipeline] withDockerContainer 10:30:24 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:30:24 $ 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 10:30:24 $ docker top bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:30:24 [ssh-agent] Looking for ssh-agent implementation... 10:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:30:25 $ docker exec bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 ssh-agent 10:30:25 SSH_AUTH_SOCK=/tmp/ssh-PpFE0IqkZqjX/agent.13 10:30:25 SSH_AGENT_PID=19 10:30:25 Running ssh-add (command line suppressed) 10:30:25 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2110044407674492451.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2110044407674492451.key) 10:30:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:30:25 + git semver bump pre 10:30:25 # -> Open(): unable to determine branch for HEAD 10:30:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:30:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:30:25 # $SEMVER_REMOTE_NAME = origin 10:30:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:30:25 # $SEMVER_USER_NAME = edgex-jenkins 10:30:25 # $SEMVER_BRANCH = master 10:30:25 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 10:30:25 1.3.2-dev.29 [Pipeline] } 10:30:25 $ docker exec --env ******** --env ******** bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 ssh-agent -k 10:30:25 unset SSH_AUTH_SOCK; 10:30:25 unset SSH_AGENT_PID; 10:30:25 echo Agent pid 19 killed; 10:30:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:30:26 + git semver [Pipeline] } 10:30:26 $ docker stop --time=1 bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 10:30:27 $ docker rm -f bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:30:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:30:27 . [Pipeline] withDockerContainer 10:30:27 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:30:27 $ 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 10:30:28 $ docker top 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:30:28 [ssh-agent] Looking for ssh-agent implementation... 10:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:30:28 $ docker exec 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c ssh-agent 10:30:28 SSH_AUTH_SOCK=/tmp/ssh-BCGGmfky5eqj/agent.13 10:30:28 SSH_AGENT_PID=19 10:30:28 Running ssh-add (command line suppressed) 10:30:28 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5895782898506580068.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5895782898506580068.key) 10:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:30:28 + git semver push 10:30:28 # -> Open(): unable to determine branch for HEAD 10:30:28 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 10:30:28 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 10:30:28 # $SEMVER_REMOTE_NAME = origin 10:30:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:30:28 # $SEMVER_USER_NAME = edgex-jenkins 10:30:28 # $SEMVER_BRANCH = master 10:30:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 10:30:34 $ docker exec --env ******** --env ******** 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c ssh-agent -k 10:30:34 unset SSH_AUTH_SOCK; 10:30:34 unset SSH_AGENT_PID; 10:30:34 echo Agent pid 19 killed; 10:30:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:30:34 + git semver [Pipeline] } 10:30:34 $ docker stop --time=1 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c 10:30:35 $ docker rm -f 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c [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 10:30:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:30:37 ---> package-listing.sh 10:30:37 ++ facter osfamily 10:30:37 ++ tr '[:upper:]' '[:lower:]' 10:30:38 + OS_FAMILY=redhat 10:30:38 + workspace=/w/workspace/foundry_device-virtual-go_master 10:30:38 + START_PACKAGES=/tmp/packages_start.txt 10:30:38 + END_PACKAGES=/tmp/packages_end.txt 10:30:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:30:38 + PACKAGES=/tmp/packages_start.txt 10:30:38 + '[' /w/workspace/foundry_device-virtual-go_master ']' 10:30:38 + PACKAGES=/tmp/packages_end.txt 10:30:38 + case "${OS_FAMILY}" in 10:30:38 + sort 10:30:38 + rpm -qa 10:30:38 + '[' -f /tmp/packages_start.txt ']' 10:30:38 + '[' -f /tmp/packages_end.txt ']' 10:30:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:30:38 + '[' /w/workspace/foundry_device-virtual-go_master ']' 10:30:38 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 10:30:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 10:30:38 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 10:30:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:30:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:30:39 10:30:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:30:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:30:39 alpine: Pulling from edgex-lftools-log-publisher 10:30:39 df20fa9351a1: Pulling fs layer 10:30:39 36b3adc4ff6f: Pulling fs layer 10:30:39 8ad3a11d3b57: Pulling fs layer 10:30:39 46f8f816bc3b: Pulling fs layer 10:30:39 93b61091891f: Pulling fs layer 10:30:39 93b9cdb0e59b: Pulling fs layer 10:30:39 5e14af77c1be: Pulling fs layer 10:30:39 01666e4c0597: Pulling fs layer 10:30:39 aa168da1d23b: Pulling fs layer 10:30:39 46f8f816bc3b: Waiting 10:30:39 93b61091891f: Waiting 10:30:39 93b9cdb0e59b: Waiting 10:30:39 5e14af77c1be: Waiting 10:30:39 01666e4c0597: Waiting 10:30:39 aa168da1d23b: Waiting 10:30:39 36b3adc4ff6f: Verifying Checksum 10:30:39 36b3adc4ff6f: Download complete 10:30:39 46f8f816bc3b: Verifying Checksum 10:30:39 46f8f816bc3b: Download complete 10:30:39 df20fa9351a1: Verifying Checksum 10:30:39 df20fa9351a1: Download complete 10:30:40 93b9cdb0e59b: Verifying Checksum 10:30:40 93b9cdb0e59b: Download complete 10:30:40 5e14af77c1be: Verifying Checksum 10:30:40 5e14af77c1be: Download complete 10:30:40 93b61091891f: Verifying Checksum 10:30:40 93b61091891f: Download complete 10:30:40 01666e4c0597: Verifying Checksum 10:30:40 01666e4c0597: Download complete 10:30:40 df20fa9351a1: Pull complete 10:30:40 8ad3a11d3b57: Verifying Checksum 10:30:40 8ad3a11d3b57: Download complete 10:30:40 36b3adc4ff6f: Pull complete 10:30:40 8ad3a11d3b57: Pull complete 10:30:40 46f8f816bc3b: Pull complete 10:30:40 93b61091891f: Pull complete 10:30:40 93b9cdb0e59b: Pull complete 10:30:41 5e14af77c1be: Pull complete 10:30:41 01666e4c0597: Pull complete 10:30:41 aa168da1d23b: Verifying Checksum 10:30:41 aa168da1d23b: Download complete 10:30:45 aa168da1d23b: Pull complete 10:30:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:30:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:30:46 prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container 10:30:46 $ 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 10:30:49 $ docker top 0fbc5fc304eba153db72030af2f58332b626e571e8ca084d62bc168d00907a58 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:49 + touch /tmp/pre-build-complete [Pipeline] sh 10:30:49 + mkdir -p /var/log/sa [Pipeline] sh 10:30:50 + ls /var/log/sa-host 10:30:50 + sadf -c /var/log/sa-host/sa05 10:30:50 file_magic: OK 10:30:50 HZ: Using current value: 100 10:30:50 file_header: OK 10:30:50 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 10:30:50 Statistics: 10:30:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:30:50 File successfully converted to sysstat format version 12.2.1 10:30:50 + sadf -c /var/log/sa-host/sa24 10:30:50 file_magic: OK 10:30:50 HZ: Using current value: 100 10:30:50 file_header: OK 10:30:50 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 10:30:50 Statistics: 10:30:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:30:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:53 provisioning config files... 10:30:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1888858242396569474tmp [Pipeline] { [Pipeline] echo 10:30:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:30:53 ---> create-netrc.sh [Pipeline] } 10:30:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:30:53 ---> python-tools-install.sh [Pipeline] echo 10:30:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:30:54 ---> sudo-logs.sh 10:30:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:30:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:30:54 ---> job-cost.sh 10:30:54 lf-activate-venv: SKIPPING 10:30:54 DEBUG: total: 0.18000000715255737 10:30:54 INFO: Retrieving Stack Cost... 10:30:55 INFO: Retrieving Pricing Info for: v3-standard-2 10:30:55 INFO: Archiving Costs [Pipeline] echo 10:30:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:30:56 ---> logs-deploy.sh 10:30:56 lf-activate-venv: SKIPPING 10:30:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/68 10:30:56 INFO: archiving workspace using pattern(s): 10:30:57 Archives upload complete. 10:30:57 INFO: archiving logs to Nexus 10:30:57 ---> uname -a: 10:30:57 Linux prd-centos7-docker-4c-2g-1162.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 10:30:57 10:30:57 10:30:57 ---> lscpu: 10:30:57 Architecture: x86_64 10:30:57 CPU op-mode(s): 32-bit, 64-bit 10:30:57 Byte Order: Little Endian 10:30:57 Address sizes: 40 bits physical, 48 bits virtual 10:30:57 CPU(s): 2 10:30:57 On-line CPU(s) list: 0,1 10:30:57 Thread(s) per core: 1 10:30:57 Core(s) per socket: 1 10:30:57 Socket(s): 2 10:30:57 NUMA node(s): 1 10:30:57 Vendor ID: AuthenticAMD 10:30:57 CPU family: 23 10:30:57 Model: 49 10:30:57 Model name: AMD EPYC-Rome Processor 10:30:57 Stepping: 0 10:30:57 CPU MHz: 2800.000 10:30:57 BogoMIPS: 5600.00 10:30:57 Virtualization: AMD-V 10:30:57 Hypervisor vendor: KVM 10:30:57 Virtualization type: full 10:30:57 L1d cache: 64 KiB 10:30:57 L1i cache: 64 KiB 10:30:57 L2 cache: 1 MiB 10:30:57 L3 cache: 32 MiB 10:30:57 NUMA node0 CPU(s): 0,1 10:30:57 Vulnerability Itlb multihit: Not affected 10:30:57 Vulnerability L1tf: Not affected 10:30:57 Vulnerability Mds: Not affected 10:30:57 Vulnerability Meltdown: Not affected 10:30:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:30:57 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:30:57 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:30:57 Vulnerability Srbds: Not affected 10:30:57 Vulnerability Tsx async abort: Not affected 10:30:57 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 10:30:57 10:30:57 10:30:57 ---> nproc: 10:30:57 2 10:30:57 10:30:57 10:30:57 ---> df -h: 10:30:57 Filesystem Size Used Available Use% Mounted on 10:30:57 overlay 40.0G 8.9G 31.1G 22% / 10:30:57 tmpfs 64.0M 0 64.0M 0% /dev 10:30:57 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 10:30:57 shm 64.0M 0 64.0M 0% /dev/shm 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 10:30:57 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 10:30:57 10:30:57 10:30:57 ---> free -m: 10:30:57 total used free shared buff/cache available 10:30:57 Mem: 7821 1175 3248 0 3397 6564 10:30:57 Swap: 1023 0 1023 10:30:57 10:30:57 10:30:57 ---> ip addr: 10:30:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:30:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:30:57 inet 127.0.0.1/8 scope host lo 10:30:57 valid_lft forever preferred_lft forever 10:30:57 inet6 ::1/128 scope host 10:30:57 valid_lft forever preferred_lft forever 10:30:57 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:30:57 link/ether fa:16:3e:7e:fa:8e brd ff:ff:ff:ff:ff:ff 10:30:57 inet 10.30.123.103/23 brd 10.30.123.255 scope global dynamic eth0 10:30:57 valid_lft 85679sec preferred_lft 85679sec 10:30:57 inet6 fe80::f816:3eff:fe7e:fa8e/64 scope link 10:30:57 valid_lft forever preferred_lft forever 10:30:57 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:30:57 link/ether 02:42:48:ca:01:8d brd ff:ff:ff:ff:ff:ff 10:30:57 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:30:57 valid_lft forever preferred_lft forever 10:30:57 inet6 fe80::42:48ff:feca:18d/64 scope link 10:30:57 valid_lft forever preferred_lft forever 10:30:57 10:30:57 10:30:57 ---> sar -b -r -n DEV: 10:30:57 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) 10:30:57 10:30:57 10:18:46 LINUX RESTART (2 CPU) 10:30:57 10:30:57 10:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:30:57 10:20:01 226.02 93.67 132.35 0.00 10648.68 40718.12 0.00 10:30:57 10:21:01 2.63 0.00 2.63 0.00 0.00 61.45 0.00 10:30:57 10:22:01 0.38 0.00 0.38 0.00 0.00 6.08 0.00 10:30:57 10:23:01 0.23 0.00 0.23 0.00 0.00 3.60 0.00 10:30:57 10:24:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 10:30:57 10:25:01 0.32 0.00 0.32 0.00 0.00 3.53 0.00 10:30:57 10:26:01 0.32 0.00 0.32 0.00 0.00 4.01 0.00 10:30:57 10:27:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 10:30:57 10:28:01 0.28 0.00 0.28 0.00 0.00 3.48 0.00 10:30:57 10:29:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 10:30:57 10:30:01 110.12 0.03 110.09 0.00 3.73 32304.08 0.00 10:30:57 Average: 31.01 8.52 22.49 0.00 968.80 6648.83 0.00 10:30:57 10:30:57 10:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:30:57 10:20:01 5445920 0 811132 10.13 2620 1749260 1300552 14.36 584292 1579180 128 10:30:57 10:21:01 5459836 0 797208 9.95 2620 1749268 1200140 13.25 572128 1579144 20 10:30:57 10:22:01 5455776 0 801268 10.00 2620 1749268 1200464 13.25 572184 1582776 8 10:30:57 10:23:01 5455152 0 801880 10.01 2620 1749280 1200540 13.25 573260 1582776 16 10:30:57 10:24:01 5457084 0 799944 9.99 2620 1749284 1200204 13.25 570608 1583568 8 10:30:57 10:25:01 5455492 0 801536 10.01 2620 1749284 1200300 13.25 571088 1584928 8 10:30:57 10:26:01 5455736 0 801284 10.00 2620 1749292 1200252 13.25 570824 1584928 8 10:30:57 10:27:01 5454280 0 802736 10.02 2620 1749296 1200204 13.25 572320 1584928 8 10:30:57 10:28:01 5442520 0 814492 10.17 2620 1749300 1200204 13.25 584188 1584928 8 10:30:57 10:29:01 5442388 0 814620 10.17 2620 1749304 1200204 13.25 586264 1582856 8 10:30:57 10:30:01 4120968 0 1017108 12.70 2620 2868236 1596200 17.62 910032 2464008 400668 10:30:57 Average: 5331377 0 823928 10.29 2620 1851007 1245388 13.75 606108 1663093 36444 10:30:57 10:30:57 10:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:30:57 10:20:01 eth0 702.66 540.68 1334.56 118.59 0.00 0.00 0.00 0.00 10:30:57 10:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:20:01 docker0 63.27 47.27 4.87 139.58 0.00 0.00 0.00 0.00 10:30:57 10:21:01 eth0 0.62 0.08 0.04 0.05 0.00 0.00 0.00 0.00 10:30:57 10:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:22:01 eth0 3.78 1.52 3.15 0.10 0.00 0.00 0.00 0.00 10:30:57 10:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:23:01 eth0 1.07 0.50 0.55 0.39 0.00 0.00 0.00 0.00 10:30:57 10:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:24:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:30:57 10:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:25:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 10:30:57 10:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:26:01 eth0 0.22 0.20 0.07 0.01 0.00 0.00 0.00 0.00 10:30:57 10:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:27:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:30:57 10:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:28:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 10:30:57 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:29:01 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:30:01 eth0 850.01 781.20 7693.58 68.29 0.00 0.00 0.00 0.00 10:30:57 10:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 10:30:01 docker0 69.71 71.67 5.69 409.09 0.00 0.00 0.00 0.00 10:30:57 Average: eth0 141.76 120.46 821.32 17.05 0.00 0.00 0.00 0.00 10:30:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:30:57 Average: docker0 12.09 10.82 0.96 49.89 0.00 0.00 0.00 0.00 10:30:57 10:30:57 10:30:57 ---> sar -P ALL: 10:30:57 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/24/21 _x86_64_ (2 CPU) 10:30:57 10:30:57 10:18:46 LINUX RESTART (2 CPU) 10:30:57 10:30:57 10:19:01 CPU %user %nice %system %iowait %steal %idle 10:30:57 10:20:01 all 21.97 0.00 8.52 14.47 0.10 54.95 10:30:57 10:20:01 0 22.50 0.00 8.71 14.65 0.09 54.05 10:30:57 10:20:01 1 21.43 0.00 8.33 14.30 0.10 55.84 10:30:57 10:21:01 all 0.06 0.00 0.03 0.00 0.03 99.87 10:30:57 10:21:01 0 0.10 0.00 0.05 0.00 0.05 99.80 10:30:57 10:21:01 1 0.02 0.00 0.02 0.00 0.02 99.95 10:30:57 10:22:01 all 0.07 0.00 0.05 0.00 0.06 99.82 10:30:57 10:22:01 0 0.08 0.00 0.07 0.00 0.07 99.78 10:30:57 10:22:01 1 0.05 0.00 0.03 0.00 0.05 99.87 10:30:57 10:23:01 all 0.03 0.00 0.02 0.00 0.03 99.92 10:30:57 10:23:01 0 0.05 0.00 0.02 0.00 0.03 99.90 10:30:57 10:23:01 1 0.02 0.00 0.02 0.00 0.03 99.93 10:30:57 10:24:01 all 0.08 0.00 0.03 0.00 0.03 99.87 10:30:57 10:24:01 0 0.13 0.00 0.03 0.00 0.03 99.80 10:30:57 10:24:01 1 0.02 0.00 0.02 0.00 0.03 99.93 10:30:57 10:25:01 all 0.08 0.00 0.03 0.01 0.05 99.82 10:30:57 10:25:01 0 0.12 0.00 0.02 0.00 0.03 99.83 10:30:57 10:25:01 1 0.05 0.00 0.05 0.02 0.07 99.82 10:30:57 10:26:01 all 0.10 0.00 0.02 0.00 0.03 99.86 10:30:57 10:26:01 0 0.18 0.00 0.02 0.00 0.03 99.77 10:30:57 10:26:01 1 0.02 0.00 0.02 0.00 0.02 99.95 10:30:57 10:27:01 all 0.13 0.00 0.03 0.00 0.03 99.81 10:30:57 10:27:01 0 0.23 0.00 0.05 0.00 0.02 99.70 10:30:57 10:27:01 1 0.03 0.00 0.02 0.00 0.03 99.92 10:30:57 10:28:01 all 0.09 0.00 0.03 0.00 0.04 99.84 10:30:57 10:28:01 0 0.15 0.00 0.03 0.00 0.02 99.80 10:30:57 10:28:01 1 0.03 0.00 0.02 0.00 0.07 99.88 10:30:57 10:29:01 all 0.08 0.00 0.03 0.00 0.03 99.85 10:30:57 10:29:01 0 0.13 0.00 0.03 0.00 0.02 99.82 10:30:57 10:29:01 1 0.03 0.00 0.03 0.00 0.05 99.88 10:30:57 10:30:01 all 14.30 0.00 5.97 2.43 0.08 77.22 10:30:57 10:30:01 0 14.78 0.00 6.46 2.79 0.05 75.93 10:30:57 10:30:01 1 13.82 0.00 5.49 2.08 0.10 78.51 10:30:57 10:30:57 Average: CPU %user %nice %system %iowait %steal %idle 10:30:57 Average: all 3.25 0.00 1.30 1.48 0.05 93.93 10:30:57 Average: 0 3.38 0.00 1.36 1.53 0.04 93.69 10:30:57 Average: 1 3.12 0.00 1.23 1.44 0.05 94.16 10:30:57 10:30:57 10:30:57