Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 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-ssh873205856705586551.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-ssh6895634055223617063.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-ssh1923068271747673922.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-ssh386842122272564638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-ssh7980947905111242341.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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-824 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 Avoid second fetch Checking out Revision dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 (master) 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-ssh1373936319699781075.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 > git config core.sparsecheckout # timeout=10 > git checkout -f dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 # timeout=10 Commit message: "Merge pull request #227 from hahattan/bump" > git rev-list --no-walk 9c30a40d80097a97dbd8155a5edd602def4d59f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:04 ========================================================= 02:53:04 EdgeX Global Pipelines Version Info 02:53:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:06 ------------------- 02:53:06 stable info: 02:53:06 ------------------- 02:53:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:53:06 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:53:06 Message: update stable to v1.0.195 02:53:07 ------------------- 02:53:07 experimental info: 02:53:07 ------------------- 02:53:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:07 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:53:07 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:53:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbe2230 [Pipeline] echo 02:53:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:08 provisioning config files... 02:53:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1691306811453553602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:08 ---> docker-login.sh 02:53:08 nexus3.edgexfoundry.org:10001 02:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:08 Configure a credential helper to remove this warning. See 02:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:08 02:53:08 Login Succeeded 02:53:08 nexus3.edgexfoundry.org:10002 02:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:08 Configure a credential helper to remove this warning. See 02:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:08 02:53:08 Login Succeeded 02:53:08 nexus3.edgexfoundry.org:10003 02:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:09 Configure a credential helper to remove this warning. See 02:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:09 02:53:09 Login Succeeded 02:53:09 nexus3.edgexfoundry.org:10004 02:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:09 Configure a credential helper to remove this warning. See 02:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:09 02:53:09 Login Succeeded 02:53:09 docker.io 02:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:09 Configure a credential helper to remove this warning. See 02:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:09 02:53:09 Login Succeeded 02:53:09 ---> docker-login.sh ends [Pipeline] } 02:53:09 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 02:53:10 + git log --format=format:%s -1 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] echo 02:53:10 GIT_COMMIT: dbe2230dab2cfb6b0568b89c91ed9776e212a8b1, Commit Message: Merge pull request #227 from hahattan/bump [Pipeline] echo 02:53:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:53:11 02:53:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:53:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:53:11 latest: Pulling from edgex-devops/git-semver 02:53:11 31603596830f: Pulling fs layer 02:53:11 54011a49482f: Pulling fs layer 02:53:11 a6820b24f6d8: Pulling fs layer 02:53:11 f581987b2513: Pulling fs layer 02:53:11 f581987b2513: Waiting 02:53:11 54011a49482f: Verifying Checksum 02:53:11 54011a49482f: Download complete 02:53:11 31603596830f: Verifying Checksum 02:53:11 31603596830f: Download complete 02:53:11 f581987b2513: Verifying Checksum 02:53:11 f581987b2513: Download complete 02:53:11 a6820b24f6d8: Verifying Checksum 02:53:11 a6820b24f6d8: Download complete 02:53:11 31603596830f: Pull complete 02:53:12 54011a49482f: Pull complete 02:53:12 a6820b24f6d8: Pull complete 02:53:12 f581987b2513: Pull complete 02:53:12 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:53:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:53:12 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 02:53:12 $ 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 02:53:13 $ docker top f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:14 [ssh-agent] Looking for ssh-agent implementation... 02:53:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:14 $ docker exec f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 ssh-agent 02:53:14 SSH_AUTH_SOCK=/tmp/ssh-P72jD2ZS8WkY/agent.14 02:53:14 SSH_AGENT_PID=21 02:53:14 Running ssh-add (command line suppressed) 02:53:14 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2369714390063718103.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2369714390063718103.key) 02:53:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:14 + git tag --points-at HEAD [Pipeline] } 02:53:14 $ docker exec --env ******** --env ******** f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 ssh-agent -k 02:53:14 unset SSH_AUTH_SOCK; 02:53:14 unset SSH_AGENT_PID; 02:53:14 echo Agent pid 21 killed; 02:53:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:14 [ssh-agent] Looking for ssh-agent implementation... 02:53:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:14 $ docker exec f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 ssh-agent 02:53:15 SSH_AUTH_SOCK=/tmp/ssh-dhdukHUMDAuQ/agent.54 02:53:15 SSH_AGENT_PID=61 02:53:15 Running ssh-add (command line suppressed) 02:53:15 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6010950480910849832.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6010950480910849832.key) 02:53:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:15 + git semver init 02:53:15 # -> Open(): unable to determine branch for HEAD 02:53:15 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:53:15 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:53:15 # $SEMVER_REMOTE_NAME = origin 02:53:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:53:15 # $SEMVER_USER_NAME = edgex-jenkins 02:53:15 # $SEMVER_BRANCH = master 02:53:15 # $SEMVER_TEMP = /tmp/semver-581718403 02:53:15 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:53:16 # '/tmp/semver-581718403' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 02:53:16 # -> Force: false 02:53:16 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:53:16 $ docker exec --env ******** --env ******** f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 ssh-agent -k 02:53:16 unset SSH_AUTH_SOCK; 02:53:16 unset SSH_AGENT_PID; 02:53:16 echo Agent pid 61 killed; 02:53:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:16 + git semver [Pipeline] } 02:53:16 $ docker stop --time=1 f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 02:53:18 $ docker rm -f f590941b7b9eeff6f060f84496a896fbcc49e2f414890a690f889965dbb0b599 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:18 Stashed 1 file(s) [Pipeline] echo 02:53:18 [edgeXSemver]: initialized semver on version 1.3.2-dev.27 [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 02:53:34 Still waiting to schedule task 02:53:34 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-824’ 02:53:34 Still waiting to schedule task 02:53:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:55:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-825 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:55:37 Running in /w/workspace/device-virtual-go/67 [Pipeline] { [Pipeline] checkout 02:55:37 The recommended git tool is: git 02:55:42 using credential edgex-jenkins-ssh 02:55:42 Cloning the remote Git repository 02:55:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:55:42 > git init /w/workspace/device-virtual-go/67 # timeout=10 02:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:55:42 > git --version # timeout=10 02:55:42 > git --version # 'git version 2.17.1' 02:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:55:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:55:44 Avoid second fetch 02:55:44 Checking out Revision dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 (master) 02:55:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:55:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:55:44 > git config core.sparsecheckout # timeout=10 02:55:44 > git checkout -f dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 # timeout=10 02:55:48 Commit message: "Merge pull request #227 from hahattan/bump" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:55:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:55:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:55:51 + sudo service docker restart 02:55:51 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:09 provisioning config files... 02:56:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/67@tmp/config4975942986548679075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:09 ---> docker-login.sh 02:56:09 nexus3.edgexfoundry.org:10001 02:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:11 Configure a credential helper to remove this warning. See 02:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:11 02:56:11 Login Succeeded 02:56:11 nexus3.edgexfoundry.org:10002 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:11 Configure a credential helper to remove this warning. See 02:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:11 02:56:11 Login Succeeded 02:56:11 nexus3.edgexfoundry.org:10003 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:12 Configure a credential helper to remove this warning. See 02:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:12 02:56:12 Login Succeeded 02:56:12 nexus3.edgexfoundry.org:10004 02:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:12 Configure a credential helper to remove this warning. See 02:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:12 02:56:12 Login Succeeded 02:56:12 docker.io 02:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:13 Configure a credential helper to remove this warning. See 02:56:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:13 02:56:13 Login Succeeded 02:56:13 ---> docker-login.sh ends [Pipeline] } 02:56:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:13 ========================================================= 02:56:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:56:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:56:14 + 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 . 02:56:14 Sending build context to Docker daemon 8.615MB 02:56:14 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:56:14 Step 2/8 : FROM ${BASE} 02:56:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:56:14 595b0fe564bb: Pulling fs layer 02:56:14 3088b5b3c5c0: Pulling fs layer 02:56:14 5b7225fbf94c: Pulling fs layer 02:56:14 ba82ee9f976e: Pulling fs layer 02:56:14 506bd15cee9f: Pulling fs layer 02:56:14 75a0a4a0db45: Pulling fs layer 02:56:14 618dc40b7e24: Pulling fs layer 02:56:14 506bd15cee9f: Waiting 02:56:14 75a0a4a0db45: Waiting 02:56:14 618dc40b7e24: Waiting 02:56:14 ba82ee9f976e: Waiting 02:56:14 5b7225fbf94c: Verifying Checksum 02:56:14 5b7225fbf94c: Download complete 02:56:14 3088b5b3c5c0: Verifying Checksum 02:56:14 3088b5b3c5c0: Download complete 02:56:15 506bd15cee9f: Verifying Checksum 02:56:15 506bd15cee9f: Download complete 02:56:15 75a0a4a0db45: Verifying Checksum 02:56:15 75a0a4a0db45: Download complete 02:56:15 595b0fe564bb: Verifying Checksum 02:56:15 595b0fe564bb: Download complete 02:56:15 595b0fe564bb: Pull complete 02:56:16 3088b5b3c5c0: Pull complete 02:56:16 5b7225fbf94c: Pull complete 02:56:17 618dc40b7e24: Verifying Checksum 02:56:17 618dc40b7e24: Download complete 02:56:18 ba82ee9f976e: Verifying Checksum 02:56:18 ba82ee9f976e: Download complete 02:56:19 Running on prd-centos7-docker-4c-2g-826 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:56:19 Running in /w/workspace/device-virtual-go/67 [Pipeline] { [Pipeline] checkout 02:56:20 The recommended git tool is: git 02:56:22 using credential edgex-jenkins-ssh 02:56:22 Cloning the remote Git repository 02:56:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:56:22 > git init /w/workspace/device-virtual-go/67 # timeout=10 02:56:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:56:22 > git --version # timeout=10 02:56:22 > git --version # 'git version 2.24.4' 02:56:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:22 [INFO] Currently running in a labeled security context 02:56:22 [INFO] Currently SELinux is 'enforcing' on the host 02:56:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/67@tmp/jenkins-gitclient-ssh2607724316969438726.key 02:56:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:23 Avoid second fetch 02:56:23 Checking out Revision dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 (master) 02:56:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:56:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:23 > git config core.sparsecheckout # timeout=10 02:56:23 > git checkout -f dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 # timeout=10 02:56:27 Commit message: "Merge pull request #227 from hahattan/bump" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:56:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:56:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:56:28 + sudo service docker restart 02:56:28 + true 02:56:28 Redirecting to /bin/systemctl restart docker.service 02:56:31 ba82ee9f976e: Pull complete 02:56:31 506bd15cee9f: Pull complete 02:56:31 75a0a4a0db45: Pull complete 02:56:33 618dc40b7e24: Pull complete 02:56:33 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 02:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:56:33 ---> a36622ca3599 02:56:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:56:35 ---> Running in 4d8146957808 02:56:36 Removing intermediate container 4d8146957808 02:56:36 ---> 231cdaad46a9 02:56:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:56:36 ---> Running in 6d82d89dfc1a 02:56:39 Removing intermediate container 6d82d89dfc1a 02:56:39 ---> 1dca3820f93b 02:56:39 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 02:56:39 ---> Running in d8fc5789e64d 02:56:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:56:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:56:42 (1/13) Installing libc-dev (0.7.2-r3) 02:56:42 (2/13) Installing libsodium (1.0.18-r0) 02:56:42 (3/13) Installing pkgconf (1.7.3-r0) 02:56:42 (4/13) Installing libsodium-dev (1.0.18-r0) 02:56:42 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:56:42 (6/13) Installing libedit (20191231.3.1-r1) 02:56:42 (7/13) Installing openssh-client (8.4_p1-r3) 02:56:42 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:56:42 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:56:42 (10/13) Installing openssh-server (8.4_p1-r3) 02:56:43 (11/13) Installing openssh (8.4_p1-r3) 02:56:43 (12/13) Installing libzmq (4.3.3-r1) 02:56:43 (13/13) Installing zeromq-dev (4.3.3-r1) 02:56:43 Executing busybox-1.32.1-r6.trigger 02:56:43 OK: 145 MiB in 53 packages 02:56:44 Removing intermediate container d8fc5789e64d 02:56:44 ---> 9ce1e42b38e0 02:56:44 Step 6/8 : WORKDIR /device-virtual-go 02:56:44 ---> Running in 0c035beebbd3 02:56:45 Removing intermediate container 0c035beebbd3 02:56:45 ---> 4e287817079e 02:56:45 Step 7/8 : COPY . . 02:56:46 ---> 5d9782534be1 02:56:46 Step 8/8 : RUN go mod download 02:56:46 ---> Running in 8a774d9ff1a3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:47 provisioning config files... 02:56:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/67@tmp/config6425246308976824058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:47 ---> docker-login.sh 02:56:47 nexus3.edgexfoundry.org:10001 02:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:47 Configure a credential helper to remove this warning. See 02:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:47 02:56:47 Login Succeeded 02:56:47 nexus3.edgexfoundry.org:10002 02:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:47 Configure a credential helper to remove this warning. See 02:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:47 02:56:47 Login Succeeded 02:56:47 nexus3.edgexfoundry.org:10003 02:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:48 Configure a credential helper to remove this warning. See 02:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:48 02:56:48 Login Succeeded 02:56:48 nexus3.edgexfoundry.org:10004 02:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:48 Configure a credential helper to remove this warning. See 02:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:48 02:56:48 Login Succeeded 02:56:48 docker.io 02:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:48 Configure a credential helper to remove this warning. See 02:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:48 02:56:48 Login Succeeded 02:56:48 ---> docker-login.sh ends [Pipeline] } 02:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:48 ========================================================= 02:56:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:56:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:56:49 + 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 . 02:56:49 Sending build context to Docker daemon 8.616MB 02:56:49 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:56:49 Step 2/8 : FROM ${BASE} 02:56:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:56:49 540db60ca938: Pulling fs layer 02:56:49 adcc1eea9eea: Pulling fs layer 02:56:49 4c4ab2625f07: Pulling fs layer 02:56:49 0510c868ecb4: Pulling fs layer 02:56:49 afea3b2eda06: Pulling fs layer 02:56:49 7809a108b3ef: Pulling fs layer 02:56:49 f706445af74f: Pulling fs layer 02:56:49 afea3b2eda06: Waiting 02:56:49 7809a108b3ef: Waiting 02:56:49 f706445af74f: Waiting 02:56:49 0510c868ecb4: Waiting 02:56:49 4c4ab2625f07: Download complete 02:56:49 adcc1eea9eea: Verifying Checksum 02:56:49 adcc1eea9eea: Download complete 02:56:49 afea3b2eda06: Verifying Checksum 02:56:49 afea3b2eda06: Download complete 02:56:49 7809a108b3ef: Verifying Checksum 02:56:49 7809a108b3ef: Download complete 02:56:49 540db60ca938: Verifying Checksum 02:56:49 540db60ca938: Download complete 02:56:49 540db60ca938: Pull complete 02:56:49 adcc1eea9eea: Pull complete 02:56:49 4c4ab2625f07: Pull complete 02:56:51 f706445af74f: Verifying Checksum 02:56:51 f706445af74f: Download complete 02:56:51 0510c868ecb4: Verifying Checksum 02:56:51 0510c868ecb4: Download complete 02:56:54 0510c868ecb4: Pull complete 02:56:55 afea3b2eda06: Pull complete 02:56:55 7809a108b3ef: Pull complete 02:56:57 f706445af74f: Pull complete 02:56:57 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 02:56:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:56:57 ---> b068be0155e3 02:56:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:57:03 ---> Running in 203e6a68dfe1 02:57:03 Removing intermediate container 203e6a68dfe1 02:57:03 ---> 829947eb64d1 02:57:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:57:03 ---> Running in 634e236e0a08 02:57:03 Removing intermediate container 634e236e0a08 02:57:03 ---> 987860c6d635 02:57:03 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 02:57:03 ---> Running in fed8afab734b 02:57:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:57:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:57:05 (1/13) Installing libc-dev (0.7.2-r3) 02:57:05 (2/13) Installing libsodium (1.0.18-r0) 02:57:05 (3/13) Installing pkgconf (1.7.3-r0) 02:57:05 (4/13) Installing libsodium-dev (1.0.18-r0) 02:57:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:57:06 (6/13) Installing libedit (20191231.3.1-r1) 02:57:06 (7/13) Installing openssh-client (8.4_p1-r3) 02:57:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:57:06 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:57:06 (10/13) Installing openssh-server (8.4_p1-r3) 02:57:06 (11/13) Installing openssh (8.4_p1-r3) 02:57:06 (12/13) Installing libzmq (4.3.3-r1) 02:57:06 (13/13) Installing zeromq-dev (4.3.3-r1) 02:57:07 Executing busybox-1.32.1-r6.trigger 02:57:07 OK: 156 MiB in 53 packages 02:57:07 Removing intermediate container fed8afab734b 02:57:07 ---> f92fbdd90eb5 02:57:07 Step 6/8 : WORKDIR /device-virtual-go 02:57:07 ---> Running in de99a3d76a75 02:57:07 Removing intermediate container de99a3d76a75 02:57:07 ---> 4fc774f71f22 02:57:07 Step 7/8 : COPY . . 02:57:08 ---> a31895780a9a 02:57:08 Step 8/8 : RUN go mod download 02:57:08 ---> Running in abe68195e860 02:57:19 Removing intermediate container 8a774d9ff1a3 02:57:19 ---> dfd4f095f376 02:57:19 Successfully built dfd4f095f376 02:57:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:57:19 + docker inspect -f . ci-base-image-arm64 02:57:19 . [Pipeline] withDockerContainer 02:57:20 prd-ubuntu18.04-docker-arm64-4c-16g-825 does not seem to be running inside a container 02:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/67 -v /w/workspace/device-virtual-go/67:/w/workspace/device-virtual-go/67:rw,z -v /w/workspace/device-virtual-go/67@tmp:/w/workspace/device-virtual-go/67@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-arm64 cat 02:57:21 $ docker top ed9dd9a9d068f6036e0c1e1f123c93d68a7a1f45bd7c3946f56f3222971c0fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:22 + go version 02:57:22 go version go1.16.5 linux/arm64 [Pipeline] } 02:57:22 $ docker stop --time=1 ed9dd9a9d068f6036e0c1e1f123c93d68a7a1f45bd7c3946f56f3222971c0fe7 02:57:23 Removing intermediate container abe68195e860 02:57:23 ---> bd6a90a5baf5 02:57:23 Successfully built bd6a90a5baf5 02:57:23 Successfully tagged ci-base-image-x86_64:latest 02:57:24 $ docker rm -f ed9dd9a9d068f6036e0c1e1f123c93d68a7a1f45bd7c3946f56f3222971c0fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:57:25 + docker inspect -f . ci-base-image-x86_64 02:57:25 . [Pipeline] withDockerContainer 02:57:25 prd-centos7-docker-4c-2g-826 does not seem to be running inside a container 02:57:25 + docker inspect -f . ci-base-image-arm64 02:57:25 . 02:57:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/67 -v /w/workspace/device-virtual-go/67:/w/workspace/device-virtual-go/67:rw,z -v /w/workspace/device-virtual-go/67@tmp:/w/workspace/device-virtual-go/67@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 02:57:25 $ docker top b503fa9a425ce0953726e41bc28d932b9bfcd62ac47a73ac7dbda4433ca0b219 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 02:57:26 prd-ubuntu18.04-docker-arm64-4c-16g-825 does not seem to be running inside a container 02:57:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/67 -v /w/workspace/device-virtual-go/67:/w/workspace/device-virtual-go/67:rw,z -v /w/workspace/device-virtual-go/67@tmp:/w/workspace/device-virtual-go/67@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-arm64 cat 02:57:27 $ docker top b8d18a0d0e4586448ee97b943750e30945e840c35f32f85bb985dd80dddc079a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:57:28 + go version 02:57:28 go version go1.16.3 linux/amd64 [Pipeline] } 02:57:28 $ docker stop --time=1 b503fa9a425ce0953726e41bc28d932b9bfcd62ac47a73ac7dbda4433ca0b219 02:57:28 + go mod tidy 02:57:29 $ docker rm -f b503fa9a425ce0953726e41bc28d932b9bfcd62ac47a73ac7dbda4433ca0b219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:57:30 + docker inspect -f . ci-base-image-x86_64 02:57:30 . [Pipeline] withDockerContainer 02:57:30 prd-centos7-docker-4c-2g-826 does not seem to be running inside a container 02:57:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/67 -v /w/workspace/device-virtual-go/67:/w/workspace/device-virtual-go/67:rw,z -v /w/workspace/device-virtual-go/67@tmp:/w/workspace/device-virtual-go/67@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 02:57:30 + make test 02:57:30 go mod tidy 02:57:30 $ docker top bf968a59f586a73d8efbee0ef97ec9a757aa163f3f0a554f89afa0a8d98f037d -eo pid,comm 02:57:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] { [Pipeline] sh 02:57:31 + go mod tidy [Pipeline] sh 02:57:31 + make test 02:57:31 go mod tidy 02:57:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:57:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:57:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:57:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:57:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.302s coverage: 63.8% of statements 02:57:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:58:03 gofmt -l . 02:58:03 [ "`gofmt -l .`" = "" ] 02:58:03 ./bin/test-attribution-txt.sh 02:58:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:58:03 $ docker stop --time=1 bf968a59f586a73d8efbee0ef97ec9a757aa163f3f0a554f89afa0a8d98f037d 02:58:04 $ docker rm -f bf968a59f586a73d8efbee0ef97ec9a757aa163f3f0a554f89afa0a8d98f037d [Pipeline] // withDockerContainer [Pipeline] sh 02:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:58:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:58:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:58:08 + ls -al . 02:58:08 total 132 02:58:08 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 23 02:58 . 02:58:08 drwxrwxr-x. 4 jenkins jenkins 30 Jun 23 02:56 .. 02:58:08 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 23 02:56 Attribution.txt 02:58:08 drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 02:56 bin 02:58:08 drwxrwxr-x. 3 jenkins jenkins 32 Jun 23 02:56 cmd 02:58:08 -rw-r--r--. 1 jenkins jenkins 47257 Jun 23 02:57 coverage.out 02:58:08 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 23 02:56 Dockerfile 02:58:08 -rw-rw-r--. 1 jenkins jenkins 998 Jun 23 02:56 Dockerfile.build 02:58:08 drwxrwxr-x. 8 jenkins jenkins 162 Jun 23 02:56 .git 02:58:08 drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 02:56 .github 02:58:08 -rw-rw-r--. 1 jenkins jenkins 277 Jun 23 02:56 .gitignore 02:58:08 -rw-r--r--. 1 jenkins jenkins 810 Jun 23 02:58 go.mod 02:58:08 -rw-r--r--. 1 jenkins jenkins 22922 Jun 23 02:57 go.sum 02:58:08 drwxrwxr-x. 3 jenkins jenkins 20 Jun 23 02:56 internal 02:58:08 -rw-rw-r--. 1 jenkins jenkins 660 Jun 23 02:56 Jenkinsfile 02:58:08 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 02:56 LICENSE 02:58:08 -rw-rw-r--. 1 jenkins jenkins 905 Jun 23 02:56 Makefile 02:58:08 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 23 02:56 README.md 02:58:08 -rw-rw-r--. 1 jenkins jenkins 12 Jun 23 02:53 VERSION 02:58:08 -rw-rw-r--. 1 jenkins jenkins 235 Jun 23 02:56 version.go [Pipeline] isUnix [Pipeline] sh 02:58:08 + 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=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 --label arch=amd64 --label version=1.3.2-dev.27 . 02:58:08 Sending build context to Docker daemon 8.688MB 02:58:08 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 02:58:08 Step 2/26 : FROM ${BASE} AS builder 02:58:08 ---> bd6a90a5baf5 02:58:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:58:08 ---> Running in cd60dea99bac 02:58:08 Removing intermediate container cd60dea99bac 02:58:08 ---> ec5d91059c8a 02:58:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:58:08 ---> Running in e04fd3035d91 02:58:08 Removing intermediate container e04fd3035d91 02:58:08 ---> c0c41934e46d 02:58:08 Step 5/26 : WORKDIR /device-virtual-go 02:58:08 ---> Running in bf1ffbb31cf3 02:58:08 Removing intermediate container bf1ffbb31cf3 02:58:08 ---> 9b083f4cc160 02:58:08 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:58:08 ---> Running in 20cd4f14071f 02:58:09 Removing intermediate container 20cd4f14071f 02:58:09 ---> b7166a8e9d1d 02:58:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:58:09 ---> Running in 7fd23361bef9 02:58:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:58:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:58:11 OK: 156 MiB in 53 packages 02:58:11 Removing intermediate container 7fd23361bef9 02:58:11 ---> 2aad7b6c60f4 02:58:11 Step 8/26 : COPY . . 02:58:11 ---> 77176fc53fb7 02:58:11 Step 9/26 : RUN go mod tidy 02:58:11 ---> Running in 1c4840578ba8 02:58:12 Removing intermediate container 1c4840578ba8 02:58:12 ---> 0e94938161fc 02:58:12 Step 10/26 : RUN go mod download 02:58:12 ---> Running in bac6b4b1e8c2 02:58:13 Removing intermediate container bac6b4b1e8c2 02:58:13 ---> bf47d4076137 02:58:13 Step 11/26 : ARG MAKE='make build' 02:58:13 ---> Running in 46dab5bb8e87 02:58:13 Removing intermediate container 46dab5bb8e87 02:58:13 ---> 2f095a0b7d7b 02:58:13 Step 12/26 : RUN $MAKE 02:58:13 ---> Running in 06b669887d26 02:58:13 go mod tidy 02:58:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.27" -o cmd/device-virtual ./cmd 02:58:32 Removing intermediate container 06b669887d26 02:58:32 ---> 5428d850f9cc 02:58:32 Step 13/26 : FROM alpine:3.12 02:58:32 3.12: Pulling from library/alpine 02:58:32 339de151aab4: Pulling fs layer 02:58:32 339de151aab4: Verifying Checksum 02:58:32 339de151aab4: Download complete 02:58:32 339de151aab4: Pull complete 02:58:32 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 02:58:32 Status: Downloaded newer image for alpine:3.12 02:58:32 ---> 13621d1b12d4 02:58:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:58:32 ---> Running in 209d4ff0217f 02:58:32 Removing intermediate container 209d4ff0217f 02:58:32 ---> 36298011c7bf 02:58:32 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:58:32 ---> Running in 22359f85cd19 02:58:32 Removing intermediate container 22359f85cd19 02:58:32 ---> bfdd88c924e7 02:58:32 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:58:32 ---> Running in fd461f3b8e17 02:58:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:58:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:58:33 (1/6) Installing dumb-init (1.2.2-r1) 02:58:33 (2/6) Installing libgcc (9.3.0-r2) 02:58:33 (3/6) Installing libsodium (1.0.18-r0) 02:58:33 (4/6) Installing libstdc++ (9.3.0-r2) 02:58:34 (5/6) Installing libzmq (4.3.3-r0) 02:58:34 (6/6) Installing zeromq (4.3.3-r0) 02:58:34 Executing busybox-1.31.1-r20.trigger 02:58:34 OK: 8 MiB in 20 packages 02:58:34 Removing intermediate container fd461f3b8e17 02:58:34 ---> ce872869a772 02:58:34 Step 17/26 : WORKDIR / 02:58:34 ---> Running in 53f5d72984be 02:58:34 Removing intermediate container 53f5d72984be 02:58:34 ---> 0098f205b970 02:58:34 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:58:35 ---> 8f73e6a0f025 02:58:35 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:58:35 ---> 3606de37af86 02:58:35 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:58:35 ---> 47a6003e3725 02:58:35 Step 21/26 : EXPOSE 59900 02:58:35 ---> Running in 3828dc921e87 02:58:35 Removing intermediate container 3828dc921e87 02:58:35 ---> 4a92122589b0 02:58:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:58:35 ---> Running in 0a2630c48ab2 02:58:35 Removing intermediate container 0a2630c48ab2 02:58:35 ---> adfaf6070bd5 02:58:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:58:35 ---> Running in 3e5472301d0e 02:58:36 Removing intermediate container 3e5472301d0e 02:58:36 ---> 8fc8ab1afebe 02:58:36 Step 24/26 : LABEL arch=amd64 02:58:36 ---> Running in 51073aefadc7 02:58:36 Removing intermediate container 51073aefadc7 02:58:36 ---> d82e02fb8cb0 02:58:36 Step 25/26 : LABEL git_sha=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 02:58:36 ---> Running in 5e443d03d8fa 02:58:36 Removing intermediate container 5e443d03d8fa 02:58:36 ---> e5fc756e0af4 02:58:36 Step 26/26 : LABEL version=1.3.2-dev.27 02:58:36 ---> Running in f872acd5969c 02:58:36 Removing intermediate container f872acd5969c 02:58:36 ---> 71a96f6372f0 02:58:36 [Warning] One or more build-args [ARCH] were not consumed 02:58:36 Successfully built 71a96f6372f0 02:58:36 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:58:36 provisioning config files... 02:58:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/67@tmp/config1451829172164498376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:36 ---> docker-login.sh 02:58:36 nexus3.edgexfoundry.org:10001 02:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:36 Configure a credential helper to remove this warning. See 02:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:36 02:58:36 Login Succeeded 02:58:36 nexus3.edgexfoundry.org:10002 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 nexus3.edgexfoundry.org:10003 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 nexus3.edgexfoundry.org:10004 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 docker.io 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:38 Configure a credential helper to remove this warning. See 02:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:38 02:58:38 Login Succeeded 02:58:38 ---> docker-login.sh ends [Pipeline] } 02:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:38 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:58:38 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 02:58:38 latest 02:58:38 1.3.2-dev.27 02:58:38 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 02:58:38 master 02:58:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:58:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] isUnix [Pipeline] sh 02:58:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 02:58:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:58:39 775008c142aa: Preparing 02:58:39 524efcea9edc: Preparing 02:58:39 80e493506f5e: Preparing 02:58:39 11582a760cc7: Preparing 02:58:39 e9b43c4af114: Preparing 02:58:39 32f366d666a5: Preparing 02:58:39 32f366d666a5: Waiting 02:58:39 524efcea9edc: Pushed 02:58:39 32f366d666a5: Layer already exists 02:58:39 e9b43c4af114: Pushed 02:58:39 11582a760cc7: Pushed 02:58:39 80e493506f5e: Pushed 02:58:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:58:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.689s coverage: 63.8% of statements 02:58:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:58:41 775008c142aa: Pushed 02:58:41 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1: digest: sha256:92ebc1a370fecd866e0427e81d557d15938a501a8756c50ff3aeefb0b1c8a631 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:58:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 02:58:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:58:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:58:42 775008c142aa: Preparing 02:58:42 524efcea9edc: Preparing 02:58:42 80e493506f5e: Preparing 02:58:42 11582a760cc7: Preparing 02:58:42 e9b43c4af114: Preparing 02:58:42 32f366d666a5: Preparing 02:58:42 32f366d666a5: Waiting 02:58:42 775008c142aa: Layer already exists 02:58:42 e9b43c4af114: Layer already exists 02:58:42 524efcea9edc: Layer already exists 02:58:42 11582a760cc7: Layer already exists 02:58:42 80e493506f5e: Layer already exists 02:58:42 32f366d666a5: Layer already exists 02:58:42 latest: digest: sha256:92ebc1a370fecd866e0427e81d557d15938a501a8756c50ff3aeefb0b1c8a631 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:58:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.27 [Pipeline] isUnix [Pipeline] sh 02:58:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.27 02:58:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:58:43 775008c142aa: Preparing 02:58:43 524efcea9edc: Preparing 02:58:43 80e493506f5e: Preparing 02:58:43 11582a760cc7: Preparing 02:58:43 e9b43c4af114: Preparing 02:58:43 32f366d666a5: Preparing 02:58:43 32f366d666a5: Waiting 02:58:43 524efcea9edc: Layer already exists 02:58:43 775008c142aa: Layer already exists 02:58:43 11582a760cc7: Layer already exists 02:58:43 e9b43c4af114: Layer already exists 02:58:43 80e493506f5e: Layer already exists 02:58:43 32f366d666a5: Layer already exists 02:58:43 1.3.2-dev.27: digest: sha256:92ebc1a370fecd866e0427e81d557d15938a501a8756c50ff3aeefb0b1c8a631 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:58:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 [Pipeline] isUnix [Pipeline] sh 02:58:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 02:58:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:58:43 775008c142aa: Preparing 02:58:43 524efcea9edc: Preparing 02:58:43 80e493506f5e: Preparing 02:58:43 11582a760cc7: Preparing 02:58:43 e9b43c4af114: Preparing 02:58:43 32f366d666a5: Preparing 02:58:43 32f366d666a5: Waiting 02:58:43 e9b43c4af114: Layer already exists 02:58:43 775008c142aa: Layer already exists 02:58:43 80e493506f5e: Layer already exists 02:58:43 524efcea9edc: Layer already exists 02:58:43 11582a760cc7: Layer already exists 02:58:43 32f366d666a5: Layer already exists 02:58:43 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27: digest: sha256:92ebc1a370fecd866e0427e81d557d15938a501a8756c50ff3aeefb0b1c8a631 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:58:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 02:58:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 02:58:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:58:44 775008c142aa: Preparing 02:58:44 524efcea9edc: Preparing 02:58:44 80e493506f5e: Preparing 02:58:44 11582a760cc7: Preparing 02:58:44 e9b43c4af114: Preparing 02:58:44 32f366d666a5: Preparing 02:58:44 32f366d666a5: Waiting 02:58:44 524efcea9edc: Layer already exists 02:58:44 11582a760cc7: Layer already exists 02:58:44 80e493506f5e: Layer already exists 02:58:44 775008c142aa: Layer already exists 02:58:44 e9b43c4af114: Layer already exists 02:58:44 32f366d666a5: Layer already exists 02:58:44 master: digest: sha256:92ebc1a370fecd866e0427e81d557d15938a501a8756c50ff3aeefb0b1c8a631 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:44 ===================================================== [Pipeline] echo 02:58:44 taggedImages: 02:58:44 - nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 02:58:44 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:58:44 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.27 02:58:44 - nexus3.edgexfoundry.org:10004/device-virtual:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 02:58:44 - 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 02:58:45 ---> job-cost.sh 02:58:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-udvP 02:58:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:59:02 gofmt -l . 02:59:02 [ "`gofmt -l .`" = "" ] 02:59:02 ./bin/test-attribution-txt.sh 02:59:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:59:02 $ docker stop --time=1 b8d18a0d0e4586448ee97b943750e30945e840c35f32f85bb985dd80dddc079a 02:59:04 $ docker rm -f b8d18a0d0e4586448ee97b943750e30945e840c35f32f85bb985dd80dddc079a [Pipeline] // withDockerContainer [Pipeline] sh 02:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:05 Warning: overwriting stash ‘coverage-report’ 02:59:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:06 + ls -al . 02:59:06 total 156 02:59:06 drwxrwxr-x 7 jenkins jenkins 4096 Jun 23 02:59 . 02:59:06 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 02:55 .. 02:59:06 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 02:55 .git 02:59:06 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 02:55 .github 02:59:06 -rw-rw-r-- 1 jenkins jenkins 277 Jun 23 02:55 .gitignore 02:59:06 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 23 02:55 Attribution.txt 02:59:06 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 23 02:55 Dockerfile 02:59:06 -rw-rw-r-- 1 jenkins jenkins 998 Jun 23 02:55 Dockerfile.build 02:59:06 -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 02:55 Jenkinsfile 02:59:06 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 02:55 LICENSE 02:59:06 -rw-rw-r-- 1 jenkins jenkins 905 Jun 23 02:55 Makefile 02:59:06 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 23 02:55 README.md 02:59:06 -rw-rw-r-- 1 jenkins jenkins 12 Jun 23 02:53 VERSION 02:59:06 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 02:55 bin 02:59:06 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 02:55 cmd 02:59:06 -rw-r--r-- 1 jenkins jenkins 47257 Jun 23 02:58 coverage.out 02:59:06 -rw-r--r-- 1 jenkins jenkins 810 Jun 23 02:59 go.mod 02:59:06 -rw-r--r-- 1 jenkins jenkins 22922 Jun 23 02:57 go.sum 02:59:06 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 02:55 internal 02:59:06 -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 02:55 version.go [Pipeline] isUnix [Pipeline] sh 02:59:06 + 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=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 --label arch=arm64 --label version=1.3.2-dev.27 . 02:59:07 Sending build context to Docker daemon 8.687MB 02:59:07 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 02:59:07 Step 2/26 : FROM ${BASE} AS builder 02:59:07 ---> dfd4f095f376 02:59:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:59:07 ---> Running in c1dd6dc485fa 02:59:08 Removing intermediate container c1dd6dc485fa 02:59:08 ---> 3fe8ae6f63d3 02:59:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:59:08 ---> Running in c83cae52c044 02:59:08 Removing intermediate container c83cae52c044 02:59:08 ---> 12e12731a0d8 02:59:08 Step 5/26 : WORKDIR /device-virtual-go 02:59:08 ---> Running in b422a27a30c2 02:59:09 Removing intermediate container b422a27a30c2 02:59:09 ---> 777b125f63e1 02:59:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:59:09 ---> Running in 608e297e22f0 02:59:10 lf-activate-venv(): INFO: Adding /tmp/venv-udvP/bin to PATH 02:59:10 INFO: No Stack... 02:59:10 INFO: Retrieving Pricing Info for: v3-standard-2 02:59:11 INFO: Archiving Costs [Pipeline] sh 02:59:11 Removing intermediate container 608e297e22f0 02:59:11 ---> 4fc41f4f95e4 02:59:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:11 + cat /w/workspace/device-virtual-go/67/archives/cost.csv 02:59:11 + cut -d, -f6 [Pipeline] lock 02:59:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] 02:59:11 Resource [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] did not exist. Created. 02:59:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:59:11 ---> Running in 25236eb4fca2 02:59:11 + echo total: 0.05999999865889549 [Pipeline] stash 02:59:12 Stashed 1 file(s) [Pipeline] } 02:59:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:59:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:59:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:59:14 OK: 145 MiB in 53 packages 02:59:15 Removing intermediate container 25236eb4fca2 02:59:15 ---> 20cf12f2ad9d 02:59:15 Step 8/26 : COPY . . 02:59:17 ---> 90ecfefb7bb8 02:59:17 Step 9/26 : RUN go mod tidy 02:59:17 ---> Running in ec8f117bf289 02:59:19 Removing intermediate container ec8f117bf289 02:59:19 ---> a727be6c7bf6 02:59:19 Step 10/26 : RUN go mod download 02:59:20 ---> Running in c166f35ac667 02:59:22 Removing intermediate container c166f35ac667 02:59:22 ---> b56e7be406ae 02:59:22 Step 11/26 : ARG MAKE='make build' 02:59:22 ---> Running in 5ee668edff12 02:59:23 Removing intermediate container 5ee668edff12 02:59:23 ---> 50a33981c084 02:59:23 Step 12/26 : RUN $MAKE 02:59:23 ---> Running in 56060e9f4e8b 02:59:24 go mod tidy 02:59:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.27" -o cmd/device-virtual ./cmd 03:00:22 Removing intermediate container 56060e9f4e8b 03:00:22 ---> 0407f65d40c0 03:00:22 Step 13/26 : FROM alpine:3.12 03:00:22 3.12: Pulling from library/alpine 03:00:22 d2f70382dc9a: Pulling fs layer 03:00:22 d2f70382dc9a: Verifying Checksum 03:00:22 d2f70382dc9a: Download complete 03:00:22 d2f70382dc9a: Pull complete 03:00:22 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 03:00:22 Status: Downloaded newer image for alpine:3.12 03:00:22 ---> c4fd0aeabfcf 03:00:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:00:22 ---> Running in 0808be27a22a 03:00:22 Removing intermediate container 0808be27a22a 03:00:22 ---> 896f0b096c55 03:00:22 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:00:22 ---> Running in 085febf97fd9 03:00:22 Removing intermediate container 085febf97fd9 03:00:22 ---> da3d38dfe69c 03:00:22 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:00:22 ---> Running in c6c4d69ca4ee 03:00:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:00:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:00:22 (1/6) Installing dumb-init (1.2.2-r1) 03:00:22 (2/6) Installing libgcc (9.3.0-r2) 03:00:22 (3/6) Installing libsodium (1.0.18-r0) 03:00:22 (4/6) Installing libstdc++ (9.3.0-r2) 03:00:23 (5/6) Installing libzmq (4.3.3-r0) 03:00:23 (6/6) Installing zeromq (4.3.3-r0) 03:00:23 Executing busybox-1.31.1-r20.trigger 03:00:23 OK: 8 MiB in 20 packages 03:00:24 Removing intermediate container c6c4d69ca4ee 03:00:24 ---> b9133a509d76 03:00:24 Step 17/26 : WORKDIR / 03:00:24 ---> Running in 6ff0d9dfb440 03:00:25 Removing intermediate container 6ff0d9dfb440 03:00:25 ---> c2421f090912 03:00:25 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:00:26 ---> e78e2b3b2c8d 03:00:26 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 03:00:27 ---> 9bda0d070de0 03:00:27 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 03:00:28 ---> 63481b9f630a 03:00:28 Step 21/26 : EXPOSE 59900 03:00:29 ---> Running in adee93f90168 03:00:29 Removing intermediate container adee93f90168 03:00:29 ---> 0aadf0878ee0 03:00:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 03:00:29 ---> Running in eb4a83f0a68f 03:00:30 Removing intermediate container eb4a83f0a68f 03:00:30 ---> 32937ba84420 03:00:30 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:00:30 ---> Running in 0b858e7bc565 03:00:31 Removing intermediate container 0b858e7bc565 03:00:31 ---> 070bca6731d0 03:00:31 Step 24/26 : LABEL arch=arm64 03:00:31 ---> Running in c267e9fe02ff 03:00:31 Removing intermediate container c267e9fe02ff 03:00:31 ---> 04bc86098986 03:00:31 Step 25/26 : LABEL git_sha=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 03:00:32 ---> Running in 680eb35578ac 03:00:32 Removing intermediate container 680eb35578ac 03:00:32 ---> bbc76f153ffd 03:00:32 Step 26/26 : LABEL version=1.3.2-dev.27 03:00:33 ---> Running in 141de7328f03 03:00:33 Removing intermediate container 141de7328f03 03:00:33 ---> 98694c2689d3 03:00:33 [Warning] One or more build-args [ARCH] were not consumed 03:00:33 Successfully built 98694c2689d3 03:00:33 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 03:00:33 provisioning config files... 03:00:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/67@tmp/config2433683913585774093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:34 ---> docker-login.sh 03:00:34 nexus3.edgexfoundry.org:10001 03:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:34 Configure a credential helper to remove this warning. See 03:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:34 03:00:34 Login Succeeded 03:00:34 nexus3.edgexfoundry.org:10002 03:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:35 Configure a credential helper to remove this warning. See 03:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:35 03:00:35 Login Succeeded 03:00:35 nexus3.edgexfoundry.org:10003 03:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:35 Configure a credential helper to remove this warning. See 03:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:35 03:00:35 Login Succeeded 03:00:35 nexus3.edgexfoundry.org:10004 03:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:36 Configure a credential helper to remove this warning. See 03:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:36 03:00:36 Login Succeeded 03:00:36 docker.io 03:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:37 Configure a credential helper to remove this warning. See 03:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:37 03:00:37 Login Succeeded 03:00:37 ---> docker-login.sh ends [Pipeline] } 03:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:00:37 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 03:00:37 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 03:00:37 latest 03:00:37 1.3.2-dev.27 03:00:37 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 03:00:37 master 03:00:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:00:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] isUnix [Pipeline] sh 03:00:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 03:00:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:00:38 90d9c89a059b: Preparing 03:00:38 db8e7bf35aaa: Preparing 03:00:38 933ee218fe1c: Preparing 03:00:38 a28b714d24c9: Preparing 03:00:38 65bbe43103ac: Preparing 03:00:38 3fbe34a1663b: Preparing 03:00:38 3fbe34a1663b: Waiting 03:00:53 933ee218fe1c: Pushed 03:00:53 db8e7bf35aaa: Pushed 03:00:53 65bbe43103ac: Pushed 03:00:53 3fbe34a1663b: Layer already exists 03:00:53 a28b714d24c9: Pushed 03:00:55 90d9c89a059b: Pushed 03:00:56 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1: digest: sha256:fbcae261d5c3f97a182e2ebe550c03c5a653a7ffe4284cc7acfd0cebc4dbe61a size: 1572 [Pipeline] isUnix [Pipeline] sh 03:00:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:00:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:00:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:00:56 90d9c89a059b: Preparing 03:00:56 db8e7bf35aaa: Preparing 03:00:56 933ee218fe1c: Preparing 03:00:56 a28b714d24c9: Preparing 03:00:56 65bbe43103ac: Preparing 03:00:56 3fbe34a1663b: Preparing 03:00:56 3fbe34a1663b: Waiting 03:00:57 90d9c89a059b: Layer already exists 03:00:57 a28b714d24c9: Layer already exists 03:00:57 933ee218fe1c: Layer already exists 03:00:57 db8e7bf35aaa: Layer already exists 03:00:57 65bbe43103ac: Layer already exists 03:00:57 3fbe34a1663b: Layer already exists 03:00:57 latest: digest: sha256:fbcae261d5c3f97a182e2ebe550c03c5a653a7ffe4284cc7acfd0cebc4dbe61a size: 1572 [Pipeline] isUnix [Pipeline] sh 03:00:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.27 [Pipeline] isUnix [Pipeline] sh 03:00:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.27 03:00:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:00:57 90d9c89a059b: Preparing 03:00:57 db8e7bf35aaa: Preparing 03:00:57 933ee218fe1c: Preparing 03:00:57 a28b714d24c9: Preparing 03:00:57 65bbe43103ac: Preparing 03:00:57 3fbe34a1663b: Preparing 03:00:57 3fbe34a1663b: Waiting 03:00:58 65bbe43103ac: Layer already exists 03:00:58 933ee218fe1c: Layer already exists 03:00:58 a28b714d24c9: Layer already exists 03:00:58 90d9c89a059b: Layer already exists 03:00:58 db8e7bf35aaa: Layer already exists 03:00:58 3fbe34a1663b: Layer already exists 03:00:58 1.3.2-dev.27: digest: sha256:fbcae261d5c3f97a182e2ebe550c03c5a653a7ffe4284cc7acfd0cebc4dbe61a size: 1572 [Pipeline] isUnix [Pipeline] sh 03:00:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 [Pipeline] isUnix [Pipeline] sh 03:00:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 03:00:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:00:58 90d9c89a059b: Preparing 03:00:58 db8e7bf35aaa: Preparing 03:00:58 933ee218fe1c: Preparing 03:00:58 a28b714d24c9: Preparing 03:00:58 65bbe43103ac: Preparing 03:00:58 3fbe34a1663b: Preparing 03:00:58 3fbe34a1663b: Waiting 03:00:59 90d9c89a059b: Layer already exists 03:00:59 db8e7bf35aaa: Layer already exists 03:00:59 65bbe43103ac: Layer already exists 03:00:59 933ee218fe1c: Layer already exists 03:00:59 a28b714d24c9: Layer already exists 03:00:59 3fbe34a1663b: Layer already exists 03:00:59 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27: digest: sha256:fbcae261d5c3f97a182e2ebe550c03c5a653a7ffe4284cc7acfd0cebc4dbe61a size: 1572 [Pipeline] isUnix [Pipeline] sh 03:01:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 03:01:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 03:01:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:01:00 90d9c89a059b: Preparing 03:01:00 db8e7bf35aaa: Preparing 03:01:00 933ee218fe1c: Preparing 03:01:00 a28b714d24c9: Preparing 03:01:00 65bbe43103ac: Preparing 03:01:00 3fbe34a1663b: Preparing 03:01:00 3fbe34a1663b: Waiting 03:01:00 65bbe43103ac: Layer already exists 03:01:00 db8e7bf35aaa: Layer already exists 03:01:00 90d9c89a059b: Layer already exists 03:01:00 933ee218fe1c: Layer already exists 03:01:00 a28b714d24c9: Layer already exists 03:01:00 3fbe34a1663b: Layer already exists 03:01:00 master: digest: sha256:fbcae261d5c3f97a182e2ebe550c03c5a653a7ffe4284cc7acfd0cebc4dbe61a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:01 ===================================================== [Pipeline] echo 03:01:01 taggedImages: 03:01:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 03:01:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:01:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.27 03:01:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dbe2230dab2cfb6b0568b89c91ed9776e212a8b1-1.3.2-dev.27 03:01:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 03:01:01 ---> job-cost.sh 03:01:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TPVI 03:01:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:03:02 lf-activate-venv(): INFO: Adding /tmp/venv-TPVI/bin to PATH 03:03:02 INFO: No Stack... 03:03:03 INFO: Retrieving Pricing Info for: v2-standard-4 03:03:03 INFO: Archiving Costs [Pipeline] sh 03:03:04 + cat /w/workspace/device-virtual-go/67/archives/cost.csv 03:03:04 + cut -d, -f6 [Pipeline] lock 03:03:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] 03:03:04 Resource [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] did not exist. Created. 03:03:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:03:04 /w/workspace/device-virtual-go/67@tmp/durable-002a714b/script.sh: 1: /w/workspace/device-virtual-go/67@tmp/durable-002a714b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:03:04 + echo total: 0.18000000715255737 [Pipeline] stash 03:03:04 Warning: overwriting stash ‘stack-cost’ 03:03:04 Stashed 1 file(s) [Pipeline] } 03:03:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-67-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 03:03:05 provisioning config files... 03:03:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3914036425798704556tmp [Pipeline] { [Pipeline] sh 03:03:05 + set +x 03:03:05 + bash -s -- 03:03:05 + curl -s https://codecov.io/bash 03:03:05 03:03:05 _____ _ 03:03:05 / ____| | | 03:03:05 | | ___ __| | ___ ___ _____ __ 03:03:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:03:05 | |___| (_) | (_| | __/ (_| (_) \ V / 03:03:05 \_____\___/ \__,_|\___|\___\___/ \_/ 03:03:05 Bash-1.0.3 03:03:05 03:03:05 03:03:05 ==> git version 2.24.4 found 03:03:05 ==> 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 03:03:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:03:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:03:05 ==> Jenkins CI detected. 03:03:05 project root: . 03:03:05 --> token set from env 03:03:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:03:06 ==> Running gcov in . (disable via -X gcov) 03:03:06 ==> Python coveragepy not found 03:03:06 ==> Searching for coverage reports in: 03:03:06 + . 03:03:06 -> Found 1 reports 03:03:06 ==> Detecting git/mercurial file structure 03:03:06 ==> Reading reports 03:03:06 + ./coverage.out bytes=47257 03:03:06 ==> Appending adjustments 03:03:06 https://docs.codecov.io/docs/fixing-reports 03:03:06 + Found adjustments 03:03:06 ==> Gzipping contents 03:03:06 8.0K /tmp/codecov.bBPMOB.gz 03:03:06 ==> Uploading reports 03:03:06 url: https://codecov.io 03:03:06 query: branch=master&commit=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:03:06 -> Pinging Codecov 03:03:06 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=dbe2230dab2cfb6b0568b89c91ed9776e212a8b1&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:03:06 -> Uploading to 03:03:06 https://storage.googleapis.com/codecov/v4/raw/2021-06-23/5E52B4B073DB2E39498172D8E973AA87/dbe2230dab2cfb6b0568b89c91ed9776e212a8b1/398b1fb8-e3dc-4002-9382-f3849e1f8010.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T030306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15995451de493f8e3108afa77cb9843d493f398f80e399824427bbe172b2cd18 03:03:06 % Total % Received % Xferd Average Speed Time Time Time Current 03:03:06 Dload Upload Total Spent Left Speed 03:03:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5815 0 0 100 5815 0 17518 --:--:-- --:--:-- --:--:-- 17567 03:03:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] } 03:03:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:03:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:03:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:03:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:03:08 03:03:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:03:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:03:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:03:08 188c0c94c7c5: Pulling fs layer 03:03:08 0ef7d3d256c8: Pulling fs layer 03:03:08 de9db76c5a1d: Pulling fs layer 03:03:08 0eba1c9be4d2: Pulling fs layer 03:03:08 0d57e429df01: Pulling fs layer 03:03:08 4e4be7b47b0d: Pulling fs layer 03:03:08 e1f770b5df2f: Pulling fs layer 03:03:08 85a0685a4137: Pulling fs layer 03:03:08 0d57e429df01: Waiting 03:03:08 4e4be7b47b0d: Waiting 03:03:08 e1f770b5df2f: Waiting 03:03:08 85a0685a4137: Waiting 03:03:08 0eba1c9be4d2: Waiting 03:03:08 de9db76c5a1d: Verifying Checksum 03:03:08 de9db76c5a1d: Download complete 03:03:08 0ef7d3d256c8: Verifying Checksum 03:03:08 0ef7d3d256c8: Download complete 03:03:08 0d57e429df01: Verifying Checksum 03:03:08 0d57e429df01: Download complete 03:03:08 188c0c94c7c5: Verifying Checksum 03:03:08 188c0c94c7c5: Download complete 03:03:08 4e4be7b47b0d: Verifying Checksum 03:03:08 4e4be7b47b0d: Download complete 03:03:09 188c0c94c7c5: Pull complete 03:03:09 0ef7d3d256c8: Pull complete 03:03:09 e1f770b5df2f: Verifying Checksum 03:03:09 e1f770b5df2f: Download complete 03:03:09 de9db76c5a1d: Pull complete 03:03:11 85a0685a4137: Verifying Checksum 03:03:11 85a0685a4137: Download complete 03:03:11 0eba1c9be4d2: Verifying Checksum 03:03:11 0eba1c9be4d2: Download complete 03:03:15 0eba1c9be4d2: Pull complete 03:03:15 0d57e429df01: Pull complete 03:03:15 4e4be7b47b0d: Pull complete 03:03:15 e1f770b5df2f: Pull complete 03:03:19 85a0685a4137: Pull complete 03:03:19 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:03:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:03:19 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:03:19 $ 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 03:03:21 $ docker top 3910ae2e673619bafdb77bc61caec1cad34b31f1b179feb7047f762be138b958 -eo pid,comm [Pipeline] { [Pipeline] echo 03:03:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:03:22 + set -o pipefail 03:03:22 + snyk monitor '--org=edgex-jenkins' 03:03:28 03:03:28 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 03:03:28 03:03:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/ef74a38a-f9e4-469b-abc9-6d8f8da02207 03:03:28 03:03:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:03:28 03:03:28 [Pipeline] } 03:03:28 $ docker stop --time=1 3910ae2e673619bafdb77bc61caec1cad34b31f1b179feb7047f762be138b958 03:03:31 $ docker rm -f 3910ae2e673619bafdb77bc61caec1cad34b31f1b179feb7047f762be138b958 [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 03:03:32 + git log --format=format:%s -1 dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 [Pipeline] isUnix [Pipeline] sh 03:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:03:32 . [Pipeline] withDockerContainer 03:03:32 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:03:32 $ 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 03:03:33 $ docker top 00ded403e748eec4a4f923fcb4ffb5426cd3291a1fa2ed97521a2c80bb2ee9a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:33 [ssh-agent] Looking for ssh-agent implementation... 03:03:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:33 $ docker exec 00ded403e748eec4a4f923fcb4ffb5426cd3291a1fa2ed97521a2c80bb2ee9a2 ssh-agent 03:03:33 SSH_AUTH_SOCK=/tmp/ssh-ExMBoHmN2EAP/agent.14 03:03:33 SSH_AGENT_PID=20 03:03:33 Running ssh-add (command line suppressed) 03:03:33 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8936511896974996938.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8936511896974996938.key) 03:03:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:33 + git semver tag 03:03:33 # -> Open(): unable to determine branch for HEAD 03:03:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:03:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:03:33 # $SEMVER_REMOTE_NAME = origin 03:03:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:03:33 # $SEMVER_USER_NAME = edgex-jenkins 03:03:33 # $SEMVER_BRANCH = master 03:03:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:03:33 # dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 HEAD 03:03:33 # -> Force: false 03:03:33 # a807b2bbefc302a579a0345e0a33e953967e4860 refs/tags/v1.3.2-dev.27 [Pipeline] } 03:03:33 $ docker exec --env ******** --env ******** 00ded403e748eec4a4f923fcb4ffb5426cd3291a1fa2ed97521a2c80bb2ee9a2 ssh-agent -k 03:03:33 unset SSH_AUTH_SOCK; 03:03:33 unset SSH_AGENT_PID; 03:03:33 echo Agent pid 20 killed; 03:03:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:34 + git semver [Pipeline] } 03:03:34 $ docker stop --time=1 00ded403e748eec4a4f923fcb4ffb5426cd3291a1fa2ed97521a2c80bb2ee9a2 03:03:35 $ docker rm -f 00ded403e748eec4a4f923fcb4ffb5426cd3291a1fa2ed97521a2c80bb2ee9a2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:36 03:03:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:36 0.23.1-centos7: Pulling from edgex-lftools 03:03:36 ab5ef0e58194: Pulling fs layer 03:03:36 9712f1f96733: Pulling fs layer 03:03:36 63f879dbbcfc: Pulling fs layer 03:03:36 0d9ebad4ef96: Pulling fs layer 03:03:36 e9a5061849ea: Pulling fs layer 03:03:36 d747dcd14b5f: Pulling fs layer 03:03:36 2de7ff778b66: Pulling fs layer 03:03:36 0d9ebad4ef96: Waiting 03:03:36 e9a5061849ea: Waiting 03:03:36 d747dcd14b5f: Waiting 03:03:36 2de7ff778b66: Waiting 03:03:36 9712f1f96733: Verifying Checksum 03:03:36 9712f1f96733: Download complete 03:03:37 63f879dbbcfc: Verifying Checksum 03:03:37 63f879dbbcfc: Download complete 03:03:38 e9a5061849ea: Verifying Checksum 03:03:38 e9a5061849ea: Download complete 03:03:38 d747dcd14b5f: Download complete 03:03:38 2de7ff778b66: Verifying Checksum 03:03:38 2de7ff778b66: Download complete 03:03:38 0d9ebad4ef96: Verifying Checksum 03:03:38 0d9ebad4ef96: Download complete 03:03:38 ab5ef0e58194: Verifying Checksum 03:03:38 ab5ef0e58194: Download complete 03:03:41 ab5ef0e58194: Pull complete 03:03:41 9712f1f96733: Pull complete 03:03:42 63f879dbbcfc: Pull complete 03:03:45 0d9ebad4ef96: Pull complete 03:03:45 e9a5061849ea: Pull complete 03:03:45 d747dcd14b5f: Pull complete 03:03:46 2de7ff778b66: Pull complete 03:03:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:03:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:03:46 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:03:46 $ 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 03:03:49 $ docker top 380f86164b5925479d96e6fbeb94ffcf146e6aa409f4e52483f4a9c1b031397a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:03:49 provisioning config files... 03:03:49 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5934315667406780827tmp 03:03:49 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config38181970550320599tmp 03:03:49 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3416619090802387230tmp [Pipeline] { [Pipeline] echo 03:03:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:03:50 ---> sigul-configuration.sh 03:03:50 gpg: directory `/root/.gnupg' created 03:03:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:03:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:03:50 gpg: keyring `/root/.gnupg/secring.gpg' created 03:03:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:03:50 gpg: CAST5 encrypted data 03:03:50 gpg: encrypted with 1 passphrase 03:03:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:03:50 + mkdir /home/jenkins 03:03:50 + mkdir /home/jenkins/sigul [Pipeline] sh 03:03:50 + 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 03:03:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:03:51 ---> sigul-install.sh 03:03:55 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:03:55 + git tag --list 03:03:55 v1.0.0 03:03:55 v1.1.0 03:03:55 v1.1.1 03:03:55 v1.2.1 03:03:55 v1.2.2 03:03:55 v1.2.3 03:03:55 v1.3.0 03:03:55 v1.3.1 03:03:55 v1.3.1-dev.1 03:03:55 v1.3.1-dev.2 03:03:55 v1.3.1-dev.3 03:03:55 v1.3.1-dev.4 03:03:55 v1.3.1-dev.5 03:03:55 v1.3.2-dev.1 03:03:55 v1.3.2-dev.10 03:03:55 v1.3.2-dev.11 03:03:55 v1.3.2-dev.12 03:03:55 v1.3.2-dev.13 03:03:55 v1.3.2-dev.14 03:03:55 v1.3.2-dev.15 03:03:55 v1.3.2-dev.16 03:03:55 v1.3.2-dev.17 03:03:55 v1.3.2-dev.18 03:03:55 v1.3.2-dev.19 03:03:55 v1.3.2-dev.2 03:03:55 v1.3.2-dev.20 03:03:55 v1.3.2-dev.21 03:03:55 v1.3.2-dev.22 03:03:55 v1.3.2-dev.23 03:03:55 v1.3.2-dev.24 03:03:55 v1.3.2-dev.25 03:03:55 v1.3.2-dev.26 03:03:55 v1.3.2-dev.27 03:03:55 v1.3.2-dev.3 03:03:55 v1.3.2-dev.4 03:03:55 v1.3.2-dev.5 03:03:55 v1.3.2-dev.6 03:03:55 v1.3.2-dev.7 03:03:55 v1.3.2-dev.8 03:03:55 v1.3.2-dev.9 [Pipeline] sh 03:03:55 + lftools sign git-tag v1.3.2-dev.27 03:03:56 Signing Git tag with Sigul... 03:03:56 Signing v1.3.2-dev.27 [Pipeline] echo 03:03:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:03:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:03:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:03:57 $ docker stop --time=1 380f86164b5925479d96e6fbeb94ffcf146e6aa409f4e52483f4a9c1b031397a 03:03:59 $ docker rm -f 380f86164b5925479d96e6fbeb94ffcf146e6aa409f4e52483f4a9c1b031397a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:03:59 . [Pipeline] withDockerContainer 03:04:00 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:04:00 $ 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 03:04:00 $ docker top a5cacf1948e22d26ed5a6c783d4a1546c3c840f343c73af1acc969eedb068cbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:00 [ssh-agent] Looking for ssh-agent implementation... 03:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:01 $ docker exec a5cacf1948e22d26ed5a6c783d4a1546c3c840f343c73af1acc969eedb068cbe ssh-agent 03:04:01 SSH_AUTH_SOCK=/tmp/ssh-2hLefQT3pdOg/agent.13 03:04:01 SSH_AGENT_PID=20 03:04:01 Running ssh-add (command line suppressed) 03:04:01 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6847664423253703284.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6847664423253703284.key) 03:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:01 + git semver bump pre 03:04:01 # -> Open(): unable to determine branch for HEAD 03:04:01 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:04:01 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:04:01 # $SEMVER_REMOTE_NAME = origin 03:04:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:04:01 # $SEMVER_USER_NAME = edgex-jenkins 03:04:01 # $SEMVER_BRANCH = master 03:04:01 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:04:01 1.3.2-dev.28 [Pipeline] } 03:04:01 $ docker exec --env ******** --env ******** a5cacf1948e22d26ed5a6c783d4a1546c3c840f343c73af1acc969eedb068cbe ssh-agent -k 03:04:01 unset SSH_AUTH_SOCK; 03:04:01 unset SSH_AGENT_PID; 03:04:01 echo Agent pid 20 killed; 03:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:02 + git semver [Pipeline] } 03:04:02 $ docker stop --time=1 a5cacf1948e22d26ed5a6c783d4a1546c3c840f343c73af1acc969eedb068cbe 03:04:03 $ docker rm -f a5cacf1948e22d26ed5a6c783d4a1546c3c840f343c73af1acc969eedb068cbe [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:04:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:03 . [Pipeline] withDockerContainer 03:04:03 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:04:03 $ 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 03:04:04 $ docker top fb5671f51755711144d6b81dd59ac995889869763d224f4a958f7b771e8d626f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:04 [ssh-agent] Looking for ssh-agent implementation... 03:04:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:04 $ docker exec fb5671f51755711144d6b81dd59ac995889869763d224f4a958f7b771e8d626f ssh-agent 03:04:04 SSH_AUTH_SOCK=/tmp/ssh-4apjrWrWqOyK/agent.13 03:04:04 SSH_AGENT_PID=20 03:04:04 Running ssh-add (command line suppressed) 03:04:04 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6762917359527518566.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6762917359527518566.key) 03:04:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:04 + git semver push 03:04:04 # -> Open(): unable to determine branch for HEAD 03:04:04 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:04:04 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:04:04 # $SEMVER_REMOTE_NAME = origin 03:04:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:04:04 # $SEMVER_USER_NAME = edgex-jenkins 03:04:04 # $SEMVER_BRANCH = master 03:04:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 03:04:10 $ docker exec --env ******** --env ******** fb5671f51755711144d6b81dd59ac995889869763d224f4a958f7b771e8d626f ssh-agent -k 03:04:10 unset SSH_AUTH_SOCK; 03:04:10 unset SSH_AGENT_PID; 03:04:10 echo Agent pid 20 killed; 03:04:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:10 + git semver [Pipeline] } 03:04:10 $ docker stop --time=1 fb5671f51755711144d6b81dd59ac995889869763d224f4a958f7b771e8d626f 03:04:11 $ docker rm -f fb5671f51755711144d6b81dd59ac995889869763d224f4a958f7b771e8d626f [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 03:04:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:04:13 ---> package-listing.sh 03:04:13 ++ tr '[:upper:]' '[:lower:]' 03:04:13 ++ facter osfamily 03:04:13 + OS_FAMILY=redhat 03:04:13 + workspace=/w/workspace/foundry_device-virtual-go_master 03:04:13 + START_PACKAGES=/tmp/packages_start.txt 03:04:13 + END_PACKAGES=/tmp/packages_end.txt 03:04:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:04:13 + PACKAGES=/tmp/packages_start.txt 03:04:13 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:04:13 + PACKAGES=/tmp/packages_end.txt 03:04:13 + case "${OS_FAMILY}" in 03:04:13 + rpm -qa 03:04:13 + sort 03:04:14 + '[' -f /tmp/packages_start.txt ']' 03:04:14 + '[' -f /tmp/packages_end.txt ']' 03:04:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:04:14 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:04:14 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 03:04:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 03:04:14 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 03:04:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:04:15 03:04:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:04:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:04:15 alpine: Pulling from edgex-lftools-log-publisher 03:04:15 df20fa9351a1: Pulling fs layer 03:04:15 36b3adc4ff6f: Pulling fs layer 03:04:15 8ad3a11d3b57: Pulling fs layer 03:04:15 46f8f816bc3b: Pulling fs layer 03:04:15 93b61091891f: Pulling fs layer 03:04:15 93b9cdb0e59b: Pulling fs layer 03:04:15 5e14af77c1be: Pulling fs layer 03:04:15 01666e4c0597: Pulling fs layer 03:04:15 aa168da1d23b: Pulling fs layer 03:04:15 46f8f816bc3b: Waiting 03:04:15 93b61091891f: Waiting 03:04:15 93b9cdb0e59b: Waiting 03:04:15 5e14af77c1be: Waiting 03:04:15 01666e4c0597: Waiting 03:04:15 aa168da1d23b: Waiting 03:04:15 36b3adc4ff6f: Verifying Checksum 03:04:15 36b3adc4ff6f: Download complete 03:04:15 46f8f816bc3b: Verifying Checksum 03:04:15 46f8f816bc3b: Download complete 03:04:15 df20fa9351a1: Verifying Checksum 03:04:15 df20fa9351a1: Download complete 03:04:15 93b9cdb0e59b: Verifying Checksum 03:04:15 93b9cdb0e59b: Download complete 03:04:15 5e14af77c1be: Verifying Checksum 03:04:15 5e14af77c1be: Download complete 03:04:15 01666e4c0597: Verifying Checksum 03:04:15 01666e4c0597: Download complete 03:04:15 93b61091891f: Verifying Checksum 03:04:15 93b61091891f: Download complete 03:04:15 df20fa9351a1: Pull complete 03:04:15 36b3adc4ff6f: Pull complete 03:04:15 8ad3a11d3b57: Verifying Checksum 03:04:15 8ad3a11d3b57: Download complete 03:04:16 8ad3a11d3b57: Pull complete 03:04:16 46f8f816bc3b: Pull complete 03:04:16 93b61091891f: Pull complete 03:04:16 93b9cdb0e59b: Pull complete 03:04:16 5e14af77c1be: Pull complete 03:04:17 01666e4c0597: Pull complete 03:04:17 aa168da1d23b: Verifying Checksum 03:04:17 aa168da1d23b: Download complete 03:04:21 aa168da1d23b: Pull complete 03:04:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:04:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:04:21 prd-centos7-docker-4c-2g-824 does not seem to be running inside a container 03:04:22 $ 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 03:04:24 $ docker top dcbb32bec8e14f099ce2a203198f3a746f49b6d68ad46b4388b2a43ad80cf026 -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:24 + touch /tmp/pre-build-complete [Pipeline] sh 03:04:25 + mkdir -p /var/log/sa [Pipeline] sh 03:04:25 + ls /var/log/sa-host 03:04:25 + sadf -c /var/log/sa-host/sa05 03:04:25 file_magic: OK 03:04:25 HZ: Using current value: 100 03:04:25 file_header: OK 03:04:25 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 03:04:25 Statistics: 03:04:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:04:25 File successfully converted to sysstat format version 12.2.1 03:04:25 + sadf -c /var/log/sa-host/sa23 03:04:25 file_magic: OK 03:04:25 HZ: Using current value: 100 03:04:25 file_header: OK 03:04:25 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 03:04:25 Statistics: 03:04:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:04:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:04:25 provisioning config files... 03:04:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8464921322679439315tmp [Pipeline] { [Pipeline] echo 03:04:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:04:26 ---> create-netrc.sh [Pipeline] } 03:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:04:26 ---> python-tools-install.sh [Pipeline] echo 03:04:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:04:27 ---> sudo-logs.sh 03:04:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:04:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:04:27 ---> job-cost.sh 03:04:27 lf-activate-venv: SKIPPING 03:04:27 DEBUG: total: 0.18000000715255737 03:04:27 INFO: Retrieving Stack Cost... 03:04:28 INFO: Retrieving Pricing Info for: v3-standard-2 03:04:29 INFO: Archiving Costs [Pipeline] echo 03:04:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:04:29 ---> logs-deploy.sh 03:04:29 lf-activate-venv: SKIPPING 03:04:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/67 03:04:29 INFO: archiving workspace using pattern(s): 03:04:30 Archives upload complete. 03:04:30 INFO: archiving logs to Nexus 03:04:30 ---> uname -a: 03:04:30 Linux prd-centos7-docker-4c-2g-824.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 03:04:30 03:04:30 03:04:30 ---> lscpu: 03:04:30 Architecture: x86_64 03:04:30 CPU op-mode(s): 32-bit, 64-bit 03:04:30 Byte Order: Little Endian 03:04:30 Address sizes: 40 bits physical, 48 bits virtual 03:04:30 CPU(s): 2 03:04:30 On-line CPU(s) list: 0,1 03:04:30 Thread(s) per core: 1 03:04:30 Core(s) per socket: 1 03:04:30 Socket(s): 2 03:04:30 NUMA node(s): 1 03:04:30 Vendor ID: AuthenticAMD 03:04:30 CPU family: 23 03:04:30 Model: 49 03:04:30 Model name: AMD EPYC-Rome Processor 03:04:30 Stepping: 0 03:04:30 CPU MHz: 2800.000 03:04:30 BogoMIPS: 5600.00 03:04:30 Virtualization: AMD-V 03:04:30 Hypervisor vendor: KVM 03:04:30 Virtualization type: full 03:04:30 L1d cache: 64 KiB 03:04:30 L1i cache: 64 KiB 03:04:30 L2 cache: 1 MiB 03:04:30 L3 cache: 32 MiB 03:04:30 NUMA node0 CPU(s): 0,1 03:04:30 Vulnerability Itlb multihit: Not affected 03:04:30 Vulnerability L1tf: Not affected 03:04:30 Vulnerability Mds: Not affected 03:04:30 Vulnerability Meltdown: Not affected 03:04:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:04:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:04:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:04:30 Vulnerability Srbds: Not affected 03:04:30 Vulnerability Tsx async abort: Not affected 03:04:30 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 03:04:30 03:04:30 03:04:30 ---> nproc: 03:04:30 2 03:04:30 03:04:30 03:04:30 ---> df -h: 03:04:30 Filesystem Size Used Available Use% Mounted on 03:04:30 overlay 40.0G 8.9G 31.1G 22% / 03:04:30 tmpfs 64.0M 0 64.0M 0% /dev 03:04:30 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 03:04:30 shm 64.0M 0 64.0M 0% /dev/shm 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 03:04:30 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 03:04:30 03:04:30 03:04:31 ---> free -m: 03:04:31 total used free shared buff/cache available 03:04:31 Mem: 7821 1291 3129 0 3400 6449 03:04:31 Swap: 1023 0 1023 03:04:31 03:04:31 03:04:31 ---> ip addr: 03:04:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:04:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:04:31 inet 127.0.0.1/8 scope host lo 03:04:31 valid_lft forever preferred_lft forever 03:04:31 inet6 ::1/128 scope host 03:04:31 valid_lft forever preferred_lft forever 03:04:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:04:31 link/ether fa:16:3e:1b:56:15 brd ff:ff:ff:ff:ff:ff 03:04:31 inet 10.30.122.185/23 brd 10.30.123.255 scope global dynamic eth0 03:04:31 valid_lft 85681sec preferred_lft 85681sec 03:04:31 inet6 fe80::f816:3eff:fe1b:5615/64 scope link 03:04:31 valid_lft forever preferred_lft forever 03:04:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:04:31 link/ether 02:42:b4:a3:fa:f5 brd ff:ff:ff:ff:ff:ff 03:04:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:04:31 valid_lft forever preferred_lft forever 03:04:31 inet6 fe80::42:b4ff:fea3:faf5/64 scope link 03:04:31 valid_lft forever preferred_lft forever 03:04:31 03:04:31 03:04:31 ---> sar -b -r -n DEV: 03:04:31 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 03:04:31 03:04:31 02:52:22 LINUX RESTART (2 CPU) 03:04:31 03:04:31 02:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:04:31 02:54:01 75.23 3.55 71.69 0.00 2600.53 3887.76 0.00 03:04:31 02:55:01 0.43 0.00 0.43 0.00 0.00 7.51 0.00 03:04:31 02:56:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 03:04:31 02:57:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 03:04:31 02:58:01 0.27 0.00 0.27 0.00 0.00 3.66 0.00 03:04:31 02:59:01 0.38 0.00 0.38 0.00 0.00 5.16 0.00 03:04:31 03:00:01 0.15 0.00 0.15 0.00 0.00 2.15 0.00 03:04:31 03:01:01 0.28 0.02 0.27 0.00 0.13 3.35 0.00 03:04:31 03:02:01 0.43 0.10 0.33 0.00 1.73 4.75 0.00 03:04:31 03:03:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 03:04:31 03:04:01 213.67 0.05 213.62 0.00 4.00 58875.55 0.00 03:04:31 Average: 26.50 0.34 26.16 0.00 236.97 5709.62 0.00 03:04:31 03:04:31 02:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:04:31 02:54:01 5439140 0 814864 10.17 2620 1752316 1295096 14.30 591468 1577628 20 03:04:31 02:55:01 5449984 0 804012 10.04 2620 1752324 1204976 13.30 583092 1577764 20 03:04:31 02:56:01 5446984 0 807012 10.08 2620 1752324 1205228 13.31 585804 1578416 20 03:04:31 02:57:01 5444880 0 809112 10.10 2620 1752328 1205288 13.31 586700 1579016 16 03:04:31 02:58:01 5445968 0 808016 10.09 2620 1752336 1205096 13.30 579616 1585080 16 03:04:31 02:59:01 5445208 0 808776 10.10 2620 1752336 1205048 13.30 580420 1585080 12 03:04:31 03:00:01 5443080 0 810892 10.12 2620 1752348 1204976 13.30 582668 1585080 16 03:04:31 03:01:01 5435108 0 818860 10.22 2620 1752352 1207316 13.33 590052 1585080 8 03:04:31 03:02:01 5431788 0 822056 10.26 2620 1752476 1205484 13.31 595212 1583500 16 03:04:31 03:03:01 5428904 0 824936 10.30 2620 1752480 1205568 13.31 598520 1583500 16 03:04:31 03:04:01 3669296 0 1262508 15.76 2620 3074516 1950876 21.54 984972 2713488 48 03:04:31 Average: 5280031 0 853731 10.66 2620 1872558 1281359 14.15 623502 1684876 19 03:04:31 03:04:31 02:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:04:31 02:54:01 eth0 174.57 155.91 566.70 30.43 0.00 0.00 0.00 0.00 03:04:31 02:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:54:01 docker0 51.22 36.03 4.46 138.67 0.00 0.00 0.00 0.00 03:04:31 02:55:01 eth0 0.78 0.05 0.06 0.00 0.00 0.00 0.00 0.00 03:04:31 02:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:56:01 eth0 1.03 0.47 0.32 0.21 0.00 0.00 0.00 0.00 03:04:31 02:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:57:01 eth0 0.52 0.32 0.27 0.20 0.00 0.00 0.00 0.00 03:04:31 02:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:58:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 03:04:31 02:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:59:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 03:04:31 02:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 02:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:00:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:04:31 03:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:01:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:04:31 03:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:02:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:04:31 03:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:03:01 eth0 0.63 0.20 0.13 0.07 0.00 0.00 0.00 0.00 03:04:31 03:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:04:01 vethc3a9352 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:04:01 eth0 1031.25 934.19 8007.13 160.49 0.00 0.00 0.00 0.00 03:04:31 03:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 03:04:01 docker0 106.90 116.54 7.83 675.66 0.00 0.00 0.00 0.00 03:04:31 Average: vethc3a9352 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 Average: eth0 109.97 99.26 779.62 17.41 0.00 0.00 0.00 0.00 03:04:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:04:31 Average: docker0 14.38 13.87 1.12 74.04 0.00 0.00 0.00 0.00 03:04:31 03:04:31 03:04:31 ---> sar -P ALL: 03:04:31 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/23/21 _x86_64_ (2 CPU) 03:04:31 03:04:31 02:52:22 LINUX RESTART (2 CPU) 03:04:31 03:04:31 02:53:01 CPU %user %nice %system %iowait %steal %idle 03:04:31 02:54:01 all 4.36 0.00 1.99 2.10 0.06 91.49 03:04:31 02:54:01 0 4.29 0.00 1.90 1.41 0.05 92.36 03:04:31 02:54:01 1 4.43 0.00 2.08 2.79 0.07 90.63 03:04:31 02:55:01 all 0.05 0.00 0.06 0.00 0.04 99.85 03:04:31 02:55:01 0 0.05 0.00 0.07 0.00 0.03 99.85 03:04:31 02:55:01 1 0.05 0.00 0.05 0.00 0.05 99.85 03:04:31 02:56:01 all 0.13 0.00 0.03 0.00 0.04 99.79 03:04:31 02:56:01 0 0.05 0.00 0.03 0.00 0.03 99.88 03:04:31 02:56:01 1 0.22 0.00 0.03 0.00 0.05 99.70 03:04:31 02:57:01 all 0.12 0.00 0.04 0.00 0.03 99.81 03:04:31 02:57:01 0 0.03 0.00 0.05 0.00 0.05 99.87 03:04:31 02:57:01 1 0.20 0.00 0.03 0.00 0.02 99.75 03:04:31 02:58:01 all 0.17 0.00 0.03 0.00 0.03 99.77 03:04:31 02:58:01 0 0.05 0.00 0.03 0.00 0.03 99.88 03:04:31 02:58:01 1 0.28 0.00 0.02 0.00 0.03 99.67 03:04:31 02:59:01 all 0.08 0.00 0.02 0.00 0.05 99.85 03:04:31 02:59:01 0 0.02 0.00 0.00 0.00 0.05 99.93 03:04:31 02:59:01 1 0.15 0.00 0.03 0.00 0.05 99.77 03:04:31 03:00:01 all 0.08 0.00 0.03 0.00 0.03 99.85 03:04:31 03:00:01 0 0.03 0.00 0.03 0.00 0.02 99.92 03:04:31 03:00:01 1 0.13 0.00 0.03 0.00 0.05 99.78 03:04:31 03:01:01 all 0.12 0.00 0.03 0.00 0.04 99.81 03:04:31 03:01:01 0 0.02 0.00 0.02 0.00 0.03 99.93 03:04:31 03:01:01 1 0.22 0.00 0.05 0.00 0.05 99.68 03:04:31 03:02:01 all 0.11 0.00 0.04 0.00 0.03 99.82 03:04:31 03:02:01 0 0.05 0.00 0.05 0.00 0.05 99.85 03:04:31 03:02:01 1 0.17 0.00 0.03 0.00 0.02 99.78 03:04:31 03:03:01 all 0.06 0.00 0.03 0.00 0.03 99.87 03:04:31 03:03:01 0 0.02 0.00 0.05 0.00 0.03 99.90 03:04:31 03:03:01 1 0.10 0.00 0.02 0.00 0.03 99.85 03:04:31 03:04:01 all 24.36 0.00 10.00 3.84 0.11 61.70 03:04:31 03:04:01 0 26.36 0.00 9.95 3.30 0.11 60.29 03:04:31 03:04:01 1 22.39 0.00 10.05 4.36 0.11 63.10 03:04:31 03:04:31 Average: CPU %user %nice %system %iowait %steal %idle 03:04:31 Average: all 2.58 0.00 1.07 0.52 0.05 95.79 03:04:31 Average: 0 2.67 0.00 1.05 0.41 0.04 95.82 03:04:31 Average: 1 2.48 0.00 1.09 0.63 0.05 95.76 03:04:31 03:04:31 03:04:31