Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9bccc4cec06c773c2a00f105ea4d68f813f72a03 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-ssh2106392780805767009.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh3893471206275191169.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh4688201988162389168.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh5473959827931968577.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-ssh5029794089632064700.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-232 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh3365197516621569046.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk 8a9f53767de23efea08b28f521ee9bca65565c85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T16:13:55.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T16:13:55.202Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T16:13:55.238Z] ========================================================= [2021-06-10T16:13:55.238Z] EdgeX Global Pipelines Version Info [2021-06-10T16:13:55.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:13:56.724Z] ------------------- [2021-06-10T16:13:56.724Z] stable info: [2021-06-10T16:13:56.724Z] ------------------- [2021-06-10T16:13:56.724Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T16:13:56.724Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T16:13:56.724Z] Message: update stable to v1.0.194 [2021-06-10T16:13:57.300Z] ------------------- [2021-06-10T16:13:57.300Z] experimental info: [2021-06-10T16:13:57.300Z] ------------------- [2021-06-10T16:13:57.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T16:13:57.300Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T16:13:57.300Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T16:13:57.446Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-10T16:13:57.475Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-10T16:13:57.503Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T16:13:57.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T16:13:57.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T16:13:57.595Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T16:13:57.624Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T16:13:57.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T16:13:57.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-10T16:13:57.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T16:13:57.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T16:13:57.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-10T16:13:57.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T16:13:57.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T16:13:57.928Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T16:13:57.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T16:13:57.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T16:13:58.008Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T16:13:58.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T16:13:58.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T16:13:58.077Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-10T16:13:58.099Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-10T16:13:58.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T16:13:58.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T16:13:58.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T16:13:58.215Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T16:13:58.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-10T16:13:58.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-10T16:13:58.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-10T16:13:58.385Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] echo [2021-06-10T16:13:58.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bccc4c [Pipeline] echo [2021-06-10T16:13:58.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:13:58.550Z] provisioning config files... [2021-06-10T16:13:58.577Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6677164085070112788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:13:58.910Z] ---> docker-login.sh [2021-06-10T16:13:58.910Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:13:58.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:13:59.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:13:59.179Z] Configure a credential helper to remove this warning. See [2021-06-10T16:13:59.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:13:59.179Z] [2021-06-10T16:13:59.179Z] Login Succeeded [2021-06-10T16:13:59.179Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:13:59.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:13:59.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:13:59.447Z] Configure a credential helper to remove this warning. See [2021-06-10T16:13:59.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:13:59.447Z] [2021-06-10T16:13:59.447Z] Login Succeeded [2021-06-10T16:13:59.447Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:13:59.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:13:59.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:13:59.447Z] Configure a credential helper to remove this warning. See [2021-06-10T16:13:59.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:13:59.447Z] [2021-06-10T16:13:59.447Z] Login Succeeded [2021-06-10T16:13:59.447Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:13:59.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:13:59.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:13:59.713Z] Configure a credential helper to remove this warning. See [2021-06-10T16:13:59.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:13:59.713Z] [2021-06-10T16:13:59.713Z] Login Succeeded [2021-06-10T16:13:59.713Z] docker.io [2021-06-10T16:13:59.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:13:59.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:13:59.974Z] Configure a credential helper to remove this warning. See [2021-06-10T16:13:59.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:13:59.974Z] [2021-06-10T16:13:59.974Z] Login Succeeded [2021-06-10T16:13:59.974Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:13:59.984Z] 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 [2021-06-10T16:14:00.630Z] + git log --format=format:%s -1 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] echo [2021-06-10T16:14:00.671Z] GIT_COMMIT: 9bccc4cec06c773c2a00f105ea4d68f813f72a03, Commit Message: Merge pull request #221 from lenny-intel/PublishTopicPrefix [Pipeline] echo [2021-06-10T16:14:00.685Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:14:01.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:14:01.795Z] [2021-06-10T16:14:01.795Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:14:02.123Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:14:02.124Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T16:14:02.124Z] 31603596830f: Pulling fs layer [2021-06-10T16:14:02.124Z] 54011a49482f: Pulling fs layer [2021-06-10T16:14:02.124Z] a6820b24f6d8: Pulling fs layer [2021-06-10T16:14:02.124Z] f581987b2513: Pulling fs layer [2021-06-10T16:14:02.124Z] f581987b2513: Waiting [2021-06-10T16:14:02.124Z] 54011a49482f: Verifying Checksum [2021-06-10T16:14:02.124Z] 54011a49482f: Download complete [2021-06-10T16:14:02.386Z] 31603596830f: Verifying Checksum [2021-06-10T16:14:02.386Z] 31603596830f: Download complete [2021-06-10T16:14:02.386Z] f581987b2513: Verifying Checksum [2021-06-10T16:14:02.386Z] f581987b2513: Download complete [2021-06-10T16:14:02.386Z] a6820b24f6d8: Verifying Checksum [2021-06-10T16:14:02.386Z] a6820b24f6d8: Download complete [2021-06-10T16:14:02.386Z] 31603596830f: Pull complete [2021-06-10T16:14:02.652Z] 54011a49482f: Pull complete [2021-06-10T16:14:03.231Z] a6820b24f6d8: Pull complete [2021-06-10T16:14:03.495Z] f581987b2513: Pull complete [2021-06-10T16:14:03.495Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T16:14:03.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:14:03.495Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T16:14:03.600Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:14:03.648Z] $ 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 [2021-06-10T16:14:05.079Z] $ docker top 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:14:05.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:14:05.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:14:05.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:14:05.356Z] $ docker exec 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent [2021-06-10T16:14:05.484Z] SSH_AUTH_SOCK=/tmp/ssh-Jb9uohb97EUV/agent.14 [2021-06-10T16:14:05.484Z] SSH_AGENT_PID=20 [2021-06-10T16:14:05.493Z] Running ssh-add (command line suppressed) [2021-06-10T16:14:05.598Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8054570209996642714.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8054570209996642714.key) [2021-06-10T16:14:05.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:14:05.923Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T16:14:05.934Z] $ docker exec --env ******** --env ******** 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent -k [2021-06-10T16:14:06.039Z] unset SSH_AUTH_SOCK; [2021-06-10T16:14:06.040Z] unset SSH_AGENT_PID; [2021-06-10T16:14:06.040Z] echo Agent pid 20 killed; [2021-06-10T16:14:06.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T16:14:06.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:14:06.148Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:14:06.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:14:06.272Z] $ docker exec 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent [2021-06-10T16:14:06.393Z] SSH_AUTH_SOCK=/tmp/ssh-N05j01TtlJBx/agent.54 [2021-06-10T16:14:06.393Z] SSH_AGENT_PID=60 [2021-06-10T16:14:06.399Z] Running ssh-add (command line suppressed) [2021-06-10T16:14:06.505Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8696008646416262387.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8696008646416262387.key) [2021-06-10T16:14:06.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:14:06.839Z] + git semver init [2021-06-10T16:14:06.839Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:14:06.839Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-10T16:14:06.839Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-10T16:14:06.839Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:14:06.839Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:14:06.839Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:14:06.839Z] # $SEMVER_BRANCH = master [2021-06-10T16:14:06.839Z] # $SEMVER_TEMP = /tmp/semver-845568980 [2021-06-10T16:14:06.839Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-10T16:14:07.808Z] # '/tmp/semver-845568980' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-06-10T16:14:07.809Z] # -> Force: false [2021-06-10T16:14:07.809Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-10T16:14:07.816Z] $ docker exec --env ******** --env ******** 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent -k [2021-06-10T16:14:07.932Z] unset SSH_AUTH_SOCK; [2021-06-10T16:14:07.933Z] unset SSH_AGENT_PID; [2021-06-10T16:14:07.934Z] echo Agent pid 60 killed; [2021-06-10T16:14:07.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:14:08.291Z] + git semver [Pipeline] } [2021-06-10T16:14:08.306Z] $ docker stop --time=1 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a [2021-06-10T16:14:09.737Z] $ docker rm -f 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:14:10.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T16:14:10.438Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T16:14:10.442Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.23 [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 [2021-06-10T16:14:25.715Z] Still waiting to schedule task [2021-06-10T16:14:25.717Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-232’ [2021-06-10T16:14:25.719Z] Still waiting to schedule task [2021-06-10T16:14:25.720Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-10T16:16:40.557Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-233 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-10T16:16:40.578Z] Running in /w/workspace/device-virtual-go/63 [Pipeline] { [Pipeline] checkout [2021-06-10T16:16:40.783Z] The recommended git tool is: git [2021-06-10T16:16:44.394Z] Running on prd-centos7-docker-4c-2g-234 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-10T16:16:44.415Z] Running in /w/workspace/device-virtual-go/63 [Pipeline] { [Pipeline] checkout [2021-06-10T16:16:44.526Z] The recommended git tool is: git [2021-06-10T16:16:46.062Z] using credential edgex-jenkins-ssh [2021-06-10T16:16:46.084Z] Cloning the remote Git repository [2021-06-10T16:16:46.795Z] using credential edgex-jenkins-ssh [2021-06-10T16:16:46.808Z] Cloning the remote Git repository [2021-06-10T16:16:46.172Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-10T16:16:46.295Z] > git init /w/workspace/device-virtual-go/63 # timeout=10 [2021-06-10T16:16:46.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-10T16:16:46.373Z] > git --version # timeout=10 [2021-06-10T16:16:46.390Z] > git --version # 'git version 2.17.1' [2021-06-10T16:16:46.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T16:16:46.485Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:16:46.645Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-10T16:16:46.709Z] > git init /w/workspace/device-virtual-go/63 # timeout=10 [2021-06-10T16:16:46.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-10T16:16:46.736Z] > git --version # timeout=10 [2021-06-10T16:16:46.756Z] > git --version # 'git version 2.24.4' [2021-06-10T16:16:46.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T16:16:46.791Z] [INFO] Currently running in a labeled security context [2021-06-10T16:16:46.791Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T16:16:46.791Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/63@tmp/jenkins-gitclient-ssh6223016361779068531.key [2021-06-10T16:16:46.805Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:16:47.811Z] Avoid second fetch [2021-06-10T16:16:47.812Z] Checking out Revision 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) [2021-06-10T16:16:48.168Z] Avoid second fetch [2021-06-10T16:16:48.169Z] Checking out Revision 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) [2021-06-10T16:16:47.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-10T16:16:47.705Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:16:47.720Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T16:16:47.727Z] > git checkout -f 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 [2021-06-10T16:16:48.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-10T16:16:48.152Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:16:48.196Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T16:16:48.213Z] > git checkout -f 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 [2021-06-10T16:16:51.344Z] Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T16:16:52.186Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:16:52.390Z] Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" [2021-06-10T16:16:52.514Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-06-10T16:16:52.814Z] + sudo service docker restart [2021-06-10T16:16:52.814Z] + true [2021-06-10T16:16:52.814Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] sh [2021-06-10T16:16:53.800Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:16:54.207Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:16:54.560Z] + true [2021-06-10T16:16:54.560Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:17:10.996Z] provisioning config files... [2021-06-10T16:17:11.011Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config2565748141003679078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:17:11.334Z] ---> docker-login.sh [2021-06-10T16:17:11.334Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:17:11.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:11.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:11.603Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:11.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:11.603Z] [2021-06-10T16:17:11.603Z] Login Succeeded [2021-06-10T16:17:11.603Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:17:11.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:11.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:11.867Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:11.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:11.867Z] [2021-06-10T16:17:11.867Z] Login Succeeded [2021-06-10T16:17:11.867Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:17:11.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:11.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:11.867Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:11.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:11.867Z] [2021-06-10T16:17:11.867Z] Login Succeeded [2021-06-10T16:17:11.867Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:17:12.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:12.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:12.127Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:12.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:12.127Z] [2021-06-10T16:17:12.127Z] Login Succeeded [2021-06-10T16:17:12.127Z] docker.io [2021-06-10T16:17:12.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:12.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:12.389Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:12.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:12.389Z] [2021-06-10T16:17:12.389Z] Login Succeeded [2021-06-10T16:17:12.389Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:17:12.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T16:17:12.582Z] ========================================================= [2021-06-10T16:17:12.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T16:17:12.583Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2021-06-10T16:17:12.909Z] + 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 . [2021-06-10T16:17:12.909Z] Sending build context to Docker daemon 8.599MB [2021-06-10T16:17:12.909Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:17:12.909Z] Step 2/8 : FROM ${BASE} [2021-06-10T16:17:12.909Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T16:17:12.909Z] 540db60ca938: Pulling fs layer [2021-06-10T16:17:12.909Z] adcc1eea9eea: Pulling fs layer [2021-06-10T16:17:12.909Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T16:17:12.909Z] 0510c868ecb4: Pulling fs layer [2021-06-10T16:17:12.909Z] afea3b2eda06: Pulling fs layer [2021-06-10T16:17:12.909Z] 7809a108b3ef: Pulling fs layer [2021-06-10T16:17:12.909Z] f706445af74f: Pulling fs layer [2021-06-10T16:17:12.909Z] 0510c868ecb4: Waiting [2021-06-10T16:17:12.909Z] 7809a108b3ef: Waiting [2021-06-10T16:17:12.909Z] f706445af74f: Waiting [2021-06-10T16:17:12.909Z] afea3b2eda06: Waiting [2021-06-10T16:17:12.909Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T16:17:12.909Z] 4c4ab2625f07: Download complete [2021-06-10T16:17:12.909Z] adcc1eea9eea: Verifying Checksum [2021-06-10T16:17:12.909Z] adcc1eea9eea: Download complete [Pipeline] configFileProvider [2021-06-10T16:17:12.919Z] provisioning config files... [2021-06-10T16:17:12.944Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config4260976231883153690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:17:13.174Z] afea3b2eda06: Download complete [2021-06-10T16:17:13.174Z] 540db60ca938: Verifying Checksum [2021-06-10T16:17:13.174Z] 540db60ca938: Download complete [2021-06-10T16:17:13.174Z] 540db60ca938: Pull complete [2021-06-10T16:17:13.327Z] ---> docker-login.sh [2021-06-10T16:17:13.327Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:17:13.447Z] 7809a108b3ef: Verifying Checksum [2021-06-10T16:17:13.447Z] 7809a108b3ef: Download complete [2021-06-10T16:17:13.447Z] adcc1eea9eea: Pull complete [2021-06-10T16:17:13.447Z] 4c4ab2625f07: Pull complete [2021-06-10T16:17:14.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:14.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:14.585Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:14.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:14.585Z] [2021-06-10T16:17:14.585Z] Login Succeeded [2021-06-10T16:17:14.585Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:17:14.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:15.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:15.133Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:15.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:15.133Z] [2021-06-10T16:17:15.133Z] Login Succeeded [2021-06-10T16:17:15.133Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:17:15.389Z] f706445af74f: Verifying Checksum [2021-06-10T16:17:15.389Z] f706445af74f: Download complete [2021-06-10T16:17:15.652Z] 0510c868ecb4: Verifying Checksum [2021-06-10T16:17:15.652Z] 0510c868ecb4: Download complete [2021-06-10T16:17:15.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:15.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:15.731Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:15.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:15.731Z] [2021-06-10T16:17:15.731Z] Login Succeeded [2021-06-10T16:17:15.731Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:17:16.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:16.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:16.280Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:16.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:16.280Z] [2021-06-10T16:17:16.280Z] Login Succeeded [2021-06-10T16:17:16.280Z] docker.io [2021-06-10T16:17:16.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:17:17.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:17:17.172Z] Configure a credential helper to remove this warning. See [2021-06-10T16:17:17.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:17:17.172Z] [2021-06-10T16:17:17.172Z] Login Succeeded [2021-06-10T16:17:17.172Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:17:17.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T16:17:17.477Z] ========================================================= [2021-06-10T16:17:17.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T16:17:17.477Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:17:17.820Z] + 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 . [2021-06-10T16:17:18.097Z] Sending build context to Docker daemon 8.598MB [2021-06-10T16:17:18.368Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:17:18.368Z] Step 2/8 : FROM ${BASE} [2021-06-10T16:17:18.368Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T16:17:18.368Z] 595b0fe564bb: Pulling fs layer [2021-06-10T16:17:18.368Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T16:17:18.368Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T16:17:18.368Z] ba82ee9f976e: Pulling fs layer [2021-06-10T16:17:18.368Z] 506bd15cee9f: Pulling fs layer [2021-06-10T16:17:18.368Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T16:17:18.368Z] 618dc40b7e24: Pulling fs layer [2021-06-10T16:17:18.368Z] ba82ee9f976e: Waiting [2021-06-10T16:17:18.368Z] 506bd15cee9f: Waiting [2021-06-10T16:17:18.368Z] 75a0a4a0db45: Waiting [2021-06-10T16:17:18.368Z] 618dc40b7e24: Waiting [2021-06-10T16:17:18.643Z] 5b7225fbf94c: Download complete [2021-06-10T16:17:18.643Z] 3088b5b3c5c0: Verifying Checksum [2021-06-10T16:17:18.643Z] 3088b5b3c5c0: Download complete [2021-06-10T16:17:18.643Z] 506bd15cee9f: Verifying Checksum [2021-06-10T16:17:18.643Z] 506bd15cee9f: Download complete [2021-06-10T16:17:18.643Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T16:17:18.643Z] 75a0a4a0db45: Download complete [2021-06-10T16:17:18.643Z] 595b0fe564bb: Download complete [2021-06-10T16:17:19.241Z] 595b0fe564bb: Pull complete [2021-06-10T16:17:19.841Z] 3088b5b3c5c0: Pull complete [2021-06-10T16:17:19.931Z] 0510c868ecb4: Pull complete [2021-06-10T16:17:19.931Z] afea3b2eda06: Pull complete [2021-06-10T16:17:19.931Z] 7809a108b3ef: Pull complete [2021-06-10T16:17:20.115Z] 5b7225fbf94c: Pull complete [2021-06-10T16:17:20.396Z] 618dc40b7e24: Verifying Checksum [2021-06-10T16:17:20.396Z] 618dc40b7e24: Download complete [2021-06-10T16:17:20.889Z] f706445af74f: Pull complete [2021-06-10T16:17:20.890Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T16:17:20.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T16:17:20.890Z] ---> b068be0155e3 [2021-06-10T16:17:20.890Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-10T16:17:21.829Z] ba82ee9f976e: Verifying Checksum [2021-06-10T16:17:21.829Z] ba82ee9f976e: Download complete [2021-06-10T16:17:34.239Z] ba82ee9f976e: Pull complete [2021-06-10T16:17:34.239Z] 506bd15cee9f: Pull complete [2021-06-10T16:17:34.239Z] 75a0a4a0db45: Pull complete [2021-06-10T16:17:36.878Z] 618dc40b7e24: Pull complete [2021-06-10T16:17:36.878Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T16:17:36.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T16:17:36.878Z] ---> a36622ca3599 [2021-06-10T16:17:36.878Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-10T16:17:38.873Z] ---> Running in d466d890ca91 [2021-06-10T16:17:39.147Z] Removing intermediate container d466d890ca91 [2021-06-10T16:17:39.147Z] ---> 89a0e2e12d9c [2021-06-10T16:17:39.147Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:17:39.422Z] ---> Running in 9230aecd1c65 [2021-06-10T16:17:42.057Z] Removing intermediate container 9230aecd1c65 [2021-06-10T16:17:42.057Z] ---> fd8447e08551 [2021-06-10T16:17:42.057Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T16:17:42.057Z] ---> Running in b43e261423b2 [2021-06-10T16:17:42.896Z] ---> Running in c033cd5ddf89 [2021-06-10T16:17:42.896Z] Removing intermediate container c033cd5ddf89 [2021-06-10T16:17:42.896Z] ---> 654fb8ac5189 [2021-06-10T16:17:42.896Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:17:42.896Z] ---> Running in b6f1eac774bf [2021-06-10T16:17:42.896Z] Removing intermediate container b6f1eac774bf [2021-06-10T16:17:42.896Z] ---> 37c0e06ea18c [2021-06-10T16:17:42.896Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T16:17:42.896Z] ---> Running in 98356d1235c8 [2021-06-10T16:17:42.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:17:42.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:17:42.896Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-10T16:17:42.896Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-10T16:17:42.896Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-10T16:17:42.896Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-10T16:17:43.042Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:17:43.160Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-10T16:17:43.160Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-10T16:17:43.160Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-10T16:17:43.426Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-10T16:17:43.687Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-10T16:17:43.688Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-10T16:17:43.688Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-10T16:17:43.950Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-10T16:17:44.212Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-10T16:17:44.212Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T16:17:44.212Z] OK: 156 MiB in 53 packages [2021-06-10T16:17:44.476Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:17:44.789Z] Removing intermediate container 98356d1235c8 [2021-06-10T16:17:44.789Z] ---> e9d01fe1d86e [2021-06-10T16:17:44.789Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-10T16:17:44.789Z] ---> Running in 4203c0dfb36a [2021-06-10T16:17:45.055Z] Removing intermediate container 4203c0dfb36a [2021-06-10T16:17:45.055Z] ---> 624b1a0c6ec9 [2021-06-10T16:17:45.055Z] Step 7/8 : COPY . . [2021-06-10T16:17:45.071Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-10T16:17:45.071Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-10T16:17:45.071Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-10T16:17:45.341Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-10T16:17:45.341Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-10T16:17:45.341Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-10T16:17:45.622Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-10T16:17:45.637Z] ---> 9830fec26d5f [2021-06-10T16:17:45.637Z] Step 8/8 : RUN go mod download [2021-06-10T16:17:45.637Z] ---> Running in 1ab0f779a9f3 [2021-06-10T16:17:45.897Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-10T16:17:45.897Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-10T16:17:46.172Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-10T16:17:46.172Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-10T16:17:46.448Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-10T16:17:46.448Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-10T16:17:46.448Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T16:17:46.448Z] OK: 145 MiB in 53 packages [2021-06-10T16:17:47.898Z] Removing intermediate container b43e261423b2 [2021-06-10T16:17:47.898Z] ---> 7f2b342f9b4a [2021-06-10T16:17:47.898Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-10T16:17:48.179Z] ---> Running in 57c38b6260d6 [2021-06-10T16:17:48.787Z] Removing intermediate container 57c38b6260d6 [2021-06-10T16:17:48.787Z] ---> 8a89623ebfd0 [2021-06-10T16:17:48.787Z] Step 7/8 : COPY . . [2021-06-10T16:17:49.772Z] ---> 77b62e930110 [2021-06-10T16:17:49.772Z] Step 8/8 : RUN go mod download [2021-06-10T16:17:50.063Z] ---> Running in b628f2f3245a [2021-06-10T16:18:03.793Z] Removing intermediate container 1ab0f779a9f3 [2021-06-10T16:18:03.793Z] ---> a4ee2a54cf26 [2021-06-10T16:18:03.793Z] Successfully built a4ee2a54cf26 [2021-06-10T16:18:03.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:04.107Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T16:18:04.108Z] . [Pipeline] withDockerContainer [2021-06-10T16:18:04.192Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-06-10T16:18:04.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 [2021-06-10T16:18:04.661Z] $ docker top e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:18:05.047Z] + go version [2021-06-10T16:18:05.047Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T16:18:05.055Z] $ docker stop --time=1 e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 [2021-06-10T16:18:06.247Z] $ docker rm -f e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:06.855Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T16:18:06.855Z] . [Pipeline] withDockerContainer [2021-06-10T16:18:06.941Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-06-10T16:18:07.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 [2021-06-10T16:18:07.862Z] $ docker top 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:18:08.250Z] + go mod tidy [Pipeline] sh [2021-06-10T16:18:08.808Z] + make test [2021-06-10T16:18:08.808Z] go mod tidy [2021-06-10T16:18:08.808Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-10T16:18:09.382Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-10T16:18:17.151Z] Removing intermediate container b628f2f3245a [2021-06-10T16:18:17.151Z] ---> b82314561aa6 [2021-06-10T16:18:17.151Z] Successfully built b82314561aa6 [2021-06-10T16:18:17.151Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:17.496Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T16:18:17.496Z] . [Pipeline] withDockerContainer [2021-06-10T16:18:17.717Z] prd-ubuntu18.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2021-06-10T16:18:17.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T16:18:19.355Z] $ docker top ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:18:20.335Z] + go version [2021-06-10T16:18:20.335Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T16:18:20.363Z] $ docker stop --time=1 ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 [2021-06-10T16:18:22.154Z] $ docker rm -f ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:22.943Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T16:18:22.943Z] . [Pipeline] withDockerContainer [2021-06-10T16:18:23.201Z] prd-ubuntu18.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2021-06-10T16:18:23.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T16:18:24.801Z] $ docker top 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:18:25.733Z] + go mod tidy [Pipeline] sh [2021-06-10T16:18:26.999Z] + make test [2021-06-10T16:18:26.999Z] go mod tidy [2021-06-10T16:18:27.607Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-10T16:18:29.044Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-10T16:18:31.449Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-10T16:18:31.450Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.278s coverage: 63.8% of statements [2021-06-10T16:18:31.450Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T16:18:39.638Z] gofmt -l . [2021-06-10T16:18:39.638Z] [ "`gofmt -l .`" = "" ] [2021-06-10T16:18:39.638Z] ./bin/test-attribution-txt.sh [2021-06-10T16:18:39.638Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T16:18:39.646Z] $ docker stop --time=1 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed [2021-06-10T16:18:41.225Z] $ docker rm -f 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:18:41.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T16:18:41.875Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-10T16:18:44.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T16:18:44.769Z] + ls -al . [2021-06-10T16:18:44.769Z] total 132 [2021-06-10T16:18:44.769Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 10 16:18 . [2021-06-10T16:18:44.769Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 10 16:16 .. [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 10 16:16 Attribution.txt [2021-06-10T16:18:44.769Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 10 16:16 bin [2021-06-10T16:18:44.769Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 10 16:16 cmd [2021-06-10T16:18:44.769Z] -rw-r--r--. 1 jenkins jenkins 47247 Jun 10 16:18 coverage.out [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 10 16:16 Dockerfile [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 10 16:16 Dockerfile.build [2021-06-10T16:18:44.769Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 10 16:16 .git [2021-06-10T16:18:44.769Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 16:16 .github [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 10 16:16 .gitignore [2021-06-10T16:18:44.769Z] -rw-r--r--. 1 jenkins jenkins 809 Jun 10 16:18 go.mod [2021-06-10T16:18:44.769Z] -rw-r--r--. 1 jenkins jenkins 23009 Jun 10 16:18 go.sum [2021-06-10T16:18:44.769Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 10 16:16 internal [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 10 16:16 Jenkinsfile [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 10 16:16 LICENSE [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 10 16:16 Makefile [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 10 16:16 README.md [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 10 16:14 VERSION [2021-06-10T16:18:44.769Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 10 16:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:45.076Z] + 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=9bccc4cec06c773c2a00f105ea4d68f813f72a03 --label arch=amd64 --label version=1.3.2-dev.23 . [2021-06-10T16:18:45.077Z] Sending build context to Docker daemon 8.67MB [2021-06-10T16:18:45.077Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:18:45.077Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-10T16:18:45.077Z] ---> a4ee2a54cf26 [2021-06-10T16:18:45.077Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-10T16:18:45.340Z] ---> Running in c262430f40ba [2021-06-10T16:18:45.340Z] Removing intermediate container c262430f40ba [2021-06-10T16:18:45.340Z] ---> 181b84c20a74 [2021-06-10T16:18:45.340Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-10T16:18:45.340Z] ---> Running in a9cd17e89cf9 [2021-06-10T16:18:45.607Z] Removing intermediate container a9cd17e89cf9 [2021-06-10T16:18:45.607Z] ---> 6ae3cc8958cc [2021-06-10T16:18:45.607Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-10T16:18:45.607Z] ---> Running in 3a8912e8b460 [2021-06-10T16:18:45.607Z] Removing intermediate container 3a8912e8b460 [2021-06-10T16:18:45.607Z] ---> b89f41b51c1f [2021-06-10T16:18:45.607Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:18:45.607Z] ---> Running in af7b1364c9ce [2021-06-10T16:18:46.187Z] Removing intermediate container af7b1364c9ce [2021-06-10T16:18:46.187Z] ---> 7c2a7deab2da [2021-06-10T16:18:46.187Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-10T16:18:46.187Z] ---> Running in 57dea3d33a39 [2021-06-10T16:18:46.448Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:18:47.390Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:18:47.657Z] OK: 156 MiB in 53 packages [2021-06-10T16:18:47.918Z] Removing intermediate container 57dea3d33a39 [2021-06-10T16:18:47.918Z] ---> 52b29c606acb [2021-06-10T16:18:47.918Z] Step 8/26 : COPY . . [2021-06-10T16:18:48.180Z] ---> 53b57741796d [2021-06-10T16:18:48.180Z] Step 9/26 : RUN go mod tidy [2021-06-10T16:18:48.180Z] ---> Running in ec86c3baa296 [2021-06-10T16:18:49.138Z] Removing intermediate container ec86c3baa296 [2021-06-10T16:18:49.138Z] ---> a43b3e6d0f37 [2021-06-10T16:18:49.138Z] Step 10/26 : RUN go mod download [2021-06-10T16:18:49.138Z] ---> Running in a4c2289f4960 [2021-06-10T16:18:49.400Z] Removing intermediate container a4c2289f4960 [2021-06-10T16:18:49.400Z] ---> 2c3fa9db28dc [2021-06-10T16:18:49.400Z] Step 11/26 : ARG MAKE='make build' [2021-06-10T16:18:49.400Z] ---> Running in fda67005299a [2021-06-10T16:18:49.664Z] Removing intermediate container fda67005299a [2021-06-10T16:18:49.664Z] ---> 1c6c18633f38 [2021-06-10T16:18:49.664Z] Step 12/26 : RUN $MAKE [2021-06-10T16:18:49.664Z] ---> Running in 446e5ae42f60 [2021-06-10T16:18:49.932Z] go mod tidy [2021-06-10T16:18:50.198Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.23" -o cmd/device-virtual ./cmd [2021-06-10T16:19:08.469Z] Removing intermediate container 446e5ae42f60 [2021-06-10T16:19:08.469Z] ---> 2d2d7ac31447 [2021-06-10T16:19:08.469Z] Step 13/26 : FROM alpine:3.12 [2021-06-10T16:19:08.731Z] 3.12: Pulling from library/alpine [2021-06-10T16:19:08.731Z] 339de151aab4: Pulling fs layer [2021-06-10T16:19:08.994Z] 339de151aab4: Verifying Checksum [2021-06-10T16:19:08.994Z] 339de151aab4: Download complete [2021-06-10T16:19:08.994Z] 339de151aab4: Pull complete [2021-06-10T16:19:08.994Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T16:19:08.994Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T16:19:08.994Z] ---> 13621d1b12d4 [2021-06-10T16:19:08.994Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-10T16:19:09.256Z] ---> Running in d9698e405344 [2021-06-10T16:19:09.256Z] Removing intermediate container d9698e405344 [2021-06-10T16:19:09.256Z] ---> 8aba2f0983e3 [2021-06-10T16:19:09.256Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:19:09.256Z] ---> Running in 21bf44e47baf [2021-06-10T16:19:09.834Z] Removing intermediate container 21bf44e47baf [2021-06-10T16:19:09.834Z] ---> 17217f254015 [2021-06-10T16:19:09.834Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-10T16:19:09.834Z] ---> Running in 4b2a41437a6d [2021-06-10T16:19:10.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:19:10.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:19:10.925Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-10T16:19:11.187Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-10T16:19:11.187Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-10T16:19:11.187Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-10T16:19:12.128Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-10T16:19:12.128Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-10T16:19:12.128Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T16:19:12.128Z] OK: 8 MiB in 20 packages [2021-06-10T16:19:12.702Z] Removing intermediate container 4b2a41437a6d [2021-06-10T16:19:12.702Z] ---> 4a9e9f8cd8aa [2021-06-10T16:19:12.702Z] Step 17/26 : WORKDIR / [2021-06-10T16:19:12.702Z] ---> Running in 109dca2a8854 [2021-06-10T16:19:12.702Z] Removing intermediate container 109dca2a8854 [2021-06-10T16:19:12.702Z] ---> 2fc00ba1f212 [2021-06-10T16:19:12.702Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-10T16:19:12.966Z] ---> f15f89a861ae [2021-06-10T16:19:12.966Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-10T16:19:12.966Z] ---> e97cf91394ae [2021-06-10T16:19:12.966Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-10T16:19:13.537Z] ---> 7ec483f04f89 [2021-06-10T16:19:13.537Z] Step 21/26 : EXPOSE 59900 [2021-06-10T16:19:13.537Z] ---> Running in c76354425fc4 [2021-06-10T16:19:13.803Z] Removing intermediate container c76354425fc4 [2021-06-10T16:19:13.803Z] ---> ac8be1a24f05 [2021-06-10T16:19:13.803Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-10T16:19:13.803Z] ---> Running in 3cc4b8c4e1a8 [2021-06-10T16:19:13.803Z] Removing intermediate container 3cc4b8c4e1a8 [2021-06-10T16:19:13.803Z] ---> 18ccb64fa977 [2021-06-10T16:19:13.803Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T16:19:13.803Z] ---> Running in d0647bfd35ab [2021-06-10T16:19:13.803Z] Removing intermediate container d0647bfd35ab [2021-06-10T16:19:13.803Z] ---> cdb9390b172b [2021-06-10T16:19:13.803Z] Step 24/26 : LABEL arch=amd64 [2021-06-10T16:19:13.803Z] ---> Running in 80f99bf90c2d [2021-06-10T16:19:14.087Z] Removing intermediate container 80f99bf90c2d [2021-06-10T16:19:14.087Z] ---> 26daff33979c [2021-06-10T16:19:14.087Z] Step 25/26 : LABEL git_sha=9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:19:14.087Z] ---> Running in 8bd986a36237 [2021-06-10T16:19:14.087Z] Removing intermediate container 8bd986a36237 [2021-06-10T16:19:14.087Z] ---> f279c8a0f041 [2021-06-10T16:19:14.087Z] Step 26/26 : LABEL version=1.3.2-dev.23 [2021-06-10T16:19:14.087Z] ---> Running in f01b1bcac16a [2021-06-10T16:19:14.348Z] Removing intermediate container f01b1bcac16a [2021-06-10T16:19:14.348Z] ---> 292d9f629573 [2021-06-10T16:19:14.348Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-10T16:19:14.348Z] Successfully built 292d9f629573 [2021-06-10T16:19:14.348Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:19:14.568Z] provisioning config files... [2021-06-10T16:19:14.581Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config1172671959616112624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:19:14.897Z] ---> docker-login.sh [2021-06-10T16:19:14.897Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:19:14.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:14.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:14.897Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:14.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:14.897Z] [2021-06-10T16:19:14.897Z] Login Succeeded [2021-06-10T16:19:14.897Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:19:14.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:15.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:15.160Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:15.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:15.160Z] [2021-06-10T16:19:15.160Z] Login Succeeded [2021-06-10T16:19:15.160Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:19:15.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:15.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:15.160Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:15.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:15.160Z] [2021-06-10T16:19:15.160Z] Login Succeeded [2021-06-10T16:19:15.160Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:19:15.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:15.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:15.423Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:15.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:15.423Z] [2021-06-10T16:19:15.423Z] Login Succeeded [2021-06-10T16:19:15.423Z] docker.io [2021-06-10T16:19:15.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:15.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:15.684Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:15.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:15.684Z] [2021-06-10T16:19:15.684Z] Login Succeeded [2021-06-10T16:19:15.684Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:19:15.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:19:15.767Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-06-10T16:19:15.767Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:19:15.767Z] latest [2021-06-10T16:19:15.767Z] 1.3.2-dev.23 [2021-06-10T16:19:15.767Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:19:15.767Z] master [2021-06-10T16:19:15.767Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:16.121Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:16.423Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:19:16.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-10T16:19:16.423Z] 99dbcffe4c82: Preparing [2021-06-10T16:19:16.423Z] dca25ac5b816: Preparing [2021-06-10T16:19:16.423Z] 93b1d4bfbc3c: Preparing [2021-06-10T16:19:16.423Z] 30d258793bcf: Preparing [2021-06-10T16:19:16.423Z] 75cf20c9e4d5: Preparing [2021-06-10T16:19:16.423Z] 32f366d666a5: Preparing [2021-06-10T16:19:16.423Z] 32f366d666a5: Waiting [2021-06-10T16:19:16.689Z] 75cf20c9e4d5: Pushed [2021-06-10T16:19:16.689Z] dca25ac5b816: Pushed [2021-06-10T16:19:16.689Z] 32f366d666a5: Layer already exists [2021-06-10T16:19:16.689Z] 93b1d4bfbc3c: Pushed [2021-06-10T16:19:16.689Z] 30d258793bcf: Pushed [2021-06-10T16:19:18.612Z] 99dbcffe4c82: Pushed [2021-06-10T16:19:18.612Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:18.924Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:19.221Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-10T16:19:19.221Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-10T16:19:19.221Z] 99dbcffe4c82: Preparing [2021-06-10T16:19:19.221Z] dca25ac5b816: Preparing [2021-06-10T16:19:19.221Z] 93b1d4bfbc3c: Preparing [2021-06-10T16:19:19.221Z] 30d258793bcf: Preparing [2021-06-10T16:19:19.221Z] 75cf20c9e4d5: Preparing [2021-06-10T16:19:19.221Z] 32f366d666a5: Preparing [2021-06-10T16:19:19.221Z] 32f366d666a5: Waiting [2021-06-10T16:19:19.221Z] 75cf20c9e4d5: Layer already exists [2021-06-10T16:19:19.221Z] 99dbcffe4c82: Layer already exists [2021-06-10T16:19:19.221Z] 93b1d4bfbc3c: Layer already exists [2021-06-10T16:19:19.221Z] dca25ac5b816: Layer already exists [2021-06-10T16:19:19.221Z] 30d258793bcf: Layer already exists [2021-06-10T16:19:19.221Z] 32f366d666a5: Layer already exists [2021-06-10T16:19:19.221Z] latest: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:19.527Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:19.832Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 [2021-06-10T16:19:19.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-10T16:19:19.832Z] 99dbcffe4c82: Preparing [2021-06-10T16:19:19.832Z] dca25ac5b816: Preparing [2021-06-10T16:19:19.832Z] 93b1d4bfbc3c: Preparing [2021-06-10T16:19:19.832Z] 30d258793bcf: Preparing [2021-06-10T16:19:19.832Z] 75cf20c9e4d5: Preparing [2021-06-10T16:19:19.832Z] 32f366d666a5: Preparing [2021-06-10T16:19:19.832Z] 32f366d666a5: Waiting [2021-06-10T16:19:19.832Z] 93b1d4bfbc3c: Layer already exists [2021-06-10T16:19:19.832Z] 75cf20c9e4d5: Layer already exists [2021-06-10T16:19:19.832Z] 99dbcffe4c82: Layer already exists [2021-06-10T16:19:19.832Z] 30d258793bcf: Layer already exists [2021-06-10T16:19:19.832Z] dca25ac5b816: Layer already exists [2021-06-10T16:19:19.832Z] 32f366d666a5: Layer already exists [2021-06-10T16:19:19.832Z] 1.3.2-dev.23: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:20.141Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:20.592Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:19:20.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-10T16:19:20.592Z] 99dbcffe4c82: Preparing [2021-06-10T16:19:20.592Z] dca25ac5b816: Preparing [2021-06-10T16:19:20.592Z] 93b1d4bfbc3c: Preparing [2021-06-10T16:19:20.592Z] 30d258793bcf: Preparing [2021-06-10T16:19:20.592Z] 75cf20c9e4d5: Preparing [2021-06-10T16:19:20.592Z] 32f366d666a5: Preparing [2021-06-10T16:19:20.592Z] 32f366d666a5: Waiting [2021-06-10T16:19:20.592Z] 99dbcffe4c82: Layer already exists [2021-06-10T16:19:20.592Z] 93b1d4bfbc3c: Layer already exists [2021-06-10T16:19:20.592Z] 30d258793bcf: Layer already exists [2021-06-10T16:19:20.592Z] dca25ac5b816: Layer already exists [2021-06-10T16:19:20.592Z] 75cf20c9e4d5: Layer already exists [2021-06-10T16:19:20.592Z] 32f366d666a5: Layer already exists [2021-06-10T16:19:20.592Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:20.935Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:21.235Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-06-10T16:19:21.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-10T16:19:21.235Z] 99dbcffe4c82: Preparing [2021-06-10T16:19:21.235Z] dca25ac5b816: Preparing [2021-06-10T16:19:21.235Z] 93b1d4bfbc3c: Preparing [2021-06-10T16:19:21.235Z] 30d258793bcf: Preparing [2021-06-10T16:19:21.235Z] 75cf20c9e4d5: Preparing [2021-06-10T16:19:21.235Z] 32f366d666a5: Preparing [2021-06-10T16:19:21.235Z] 32f366d666a5: Waiting [2021-06-10T16:19:21.235Z] dca25ac5b816: Layer already exists [2021-06-10T16:19:21.235Z] 30d258793bcf: Layer already exists [2021-06-10T16:19:21.235Z] 75cf20c9e4d5: Layer already exists [2021-06-10T16:19:21.235Z] 99dbcffe4c82: Layer already exists [2021-06-10T16:19:21.235Z] 93b1d4bfbc3c: Layer already exists [2021-06-10T16:19:21.235Z] 32f366d666a5: Layer already exists [2021-06-10T16:19:21.235Z] master: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:19:21.298Z] ===================================================== [Pipeline] echo [2021-06-10T16:19:21.319Z] taggedImages: [2021-06-10T16:19:21.319Z] - nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:19:21.319Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-10T16:19:21.319Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 [2021-06-10T16:19:21.319Z] - nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:19:21.319Z] - 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 [2021-06-10T16:19:22.061Z] ---> job-cost.sh [2021-06-10T16:19:22.061Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UuzL [2021-06-10T16:19:32.085Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T16:19:37.113Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-10T16:19:37.113Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.758s coverage: 63.8% of statements [2021-06-10T16:19:37.113Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T16:19:44.386Z] lf-activate-venv(): INFO: Adding /tmp/venv-UuzL/bin to PATH [2021-06-10T16:19:44.386Z] INFO: No Stack... [2021-06-10T16:19:45.329Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T16:19:45.901Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T16:19:46.205Z] + cat /w/workspace/device-virtual-go/63/archives/cost.csv [2021-06-10T16:19:46.205Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T16:19:46.239Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [2021-06-10T16:19:46.252Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] did not exist. Created. [2021-06-10T16:19:46.253Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T16:19:46.575Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T16:19:46.644Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T16:19:46.660Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T16:19:59.369Z] gofmt -l . [2021-06-10T16:19:59.369Z] [ "`gofmt -l .`" = "" ] [2021-06-10T16:19:59.369Z] ./bin/test-attribution-txt.sh [2021-06-10T16:19:59.962Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T16:20:00.267Z] $ docker stop --time=1 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 [2021-06-10T16:20:02.398Z] $ docker rm -f 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:20:03.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T16:20:03.326Z] Warning: overwriting stash ‘coverage-report’ [2021-06-10T16:20:03.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T16:20:04.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T16:20:04.645Z] + ls -al . [2021-06-10T16:20:04.645Z] total 156 [2021-06-10T16:20:04.645Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 10 16:20 . [2021-06-10T16:20:04.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:16 .. [2021-06-10T16:20:04.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 16:16 .git [2021-06-10T16:20:04.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:16 .github [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 10 16:16 .gitignore [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 10 16:16 Attribution.txt [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 10 16:16 Dockerfile [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 10 16:16 Dockerfile.build [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 10 16:16 Jenkinsfile [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 10 16:16 LICENSE [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 10 16:16 Makefile [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 10 16:16 README.md [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 10 16:14 VERSION [2021-06-10T16:20:04.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:16 bin [2021-06-10T16:20:04.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:16 cmd [2021-06-10T16:20:04.645Z] -rw-r--r-- 1 jenkins jenkins 47247 Jun 10 16:19 coverage.out [2021-06-10T16:20:04.645Z] -rw-r--r-- 1 jenkins jenkins 809 Jun 10 16:19 go.mod [2021-06-10T16:20:04.645Z] -rw-r--r-- 1 jenkins jenkins 23009 Jun 10 16:18 go.sum [2021-06-10T16:20:04.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:16 internal [2021-06-10T16:20:04.645Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 10 16:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:04.993Z] + 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=9bccc4cec06c773c2a00f105ea4d68f813f72a03 --label arch=arm64 --label version=1.3.2-dev.23 . [2021-06-10T16:20:05.589Z] Sending build context to Docker daemon 8.669MB [2021-06-10T16:20:05.589Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:20:05.589Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-10T16:20:05.589Z] ---> b82314561aa6 [2021-06-10T16:20:05.589Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-10T16:20:05.864Z] ---> Running in 6505bdda5588 [2021-06-10T16:20:06.461Z] Removing intermediate container 6505bdda5588 [2021-06-10T16:20:06.461Z] ---> c6f333f8d39d [2021-06-10T16:20:06.461Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-10T16:20:06.461Z] ---> Running in 38c315e4fc76 [2021-06-10T16:20:07.435Z] Removing intermediate container 38c315e4fc76 [2021-06-10T16:20:07.435Z] ---> 8f1dc507beea [2021-06-10T16:20:07.435Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-10T16:20:07.435Z] ---> Running in f2bf6a77c68c [2021-06-10T16:20:08.029Z] Removing intermediate container f2bf6a77c68c [2021-06-10T16:20:08.029Z] ---> 97e605a074c2 [2021-06-10T16:20:08.029Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:20:08.029Z] ---> Running in f26481cb5523 [2021-06-10T16:20:10.644Z] Removing intermediate container f26481cb5523 [2021-06-10T16:20:10.644Z] ---> 2914e7427e03 [2021-06-10T16:20:10.644Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-10T16:20:10.644Z] ---> Running in 7b589157467f [2021-06-10T16:20:11.621Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:20:12.592Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:20:13.573Z] OK: 145 MiB in 53 packages [2021-06-10T16:20:14.556Z] Removing intermediate container 7b589157467f [2021-06-10T16:20:14.556Z] ---> c289bafb1aec [2021-06-10T16:20:14.556Z] Step 8/26 : COPY . . [2021-06-10T16:20:15.988Z] ---> 145766e75d94 [2021-06-10T16:20:15.988Z] Step 9/26 : RUN go mod tidy [2021-06-10T16:20:16.261Z] ---> Running in 5bd5efee98f9 [2021-06-10T16:20:19.660Z] Removing intermediate container 5bd5efee98f9 [2021-06-10T16:20:19.661Z] ---> 02d3b1e51895 [2021-06-10T16:20:19.661Z] Step 10/26 : RUN go mod download [2021-06-10T16:20:19.661Z] ---> Running in 145d3fc466d2 [2021-06-10T16:20:22.270Z] Removing intermediate container 145d3fc466d2 [2021-06-10T16:20:22.270Z] ---> 7e83c34eb292 [2021-06-10T16:20:22.271Z] Step 11/26 : ARG MAKE='make build' [2021-06-10T16:20:22.271Z] ---> Running in 8558fd5430fa [2021-06-10T16:20:22.555Z] Removing intermediate container 8558fd5430fa [2021-06-10T16:20:22.555Z] ---> ee3da08e23f5 [2021-06-10T16:20:22.555Z] Step 12/26 : RUN $MAKE [2021-06-10T16:20:22.829Z] ---> Running in a027b3f48991 [2021-06-10T16:20:23.804Z] go mod tidy [2021-06-10T16:20:24.398Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.23" -o cmd/device-virtual ./cmd [2021-06-10T16:21:20.969Z] Removing intermediate container a027b3f48991 [2021-06-10T16:21:20.969Z] ---> a58f8217fa78 [2021-06-10T16:21:20.969Z] Step 13/26 : FROM alpine:3.12 [2021-06-10T16:21:20.969Z] 3.12: Pulling from library/alpine [2021-06-10T16:21:20.969Z] d2f70382dc9a: Pulling fs layer [2021-06-10T16:21:20.969Z] d2f70382dc9a: Download complete [2021-06-10T16:21:20.969Z] d2f70382dc9a: Pull complete [2021-06-10T16:21:20.969Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T16:21:20.969Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T16:21:20.969Z] ---> 9852663dfa18 [2021-06-10T16:21:20.969Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-10T16:21:20.969Z] ---> Running in 3eb0a571c142 [2021-06-10T16:21:20.969Z] Removing intermediate container 3eb0a571c142 [2021-06-10T16:21:20.969Z] ---> 5a8ace4c8995 [2021-06-10T16:21:20.969Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:21:20.969Z] ---> Running in 33c2230ccf32 [2021-06-10T16:21:20.969Z] Removing intermediate container 33c2230ccf32 [2021-06-10T16:21:20.969Z] ---> b6e34e649846 [2021-06-10T16:21:20.969Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-10T16:21:20.969Z] ---> Running in 681be6488689 [2021-06-10T16:21:20.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:21:20.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:21:20.969Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-10T16:21:20.969Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-10T16:21:20.969Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-10T16:21:20.969Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-10T16:21:20.969Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-10T16:21:20.969Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-10T16:21:20.969Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T16:21:20.969Z] OK: 8 MiB in 20 packages [2021-06-10T16:21:21.561Z] Removing intermediate container 681be6488689 [2021-06-10T16:21:21.561Z] ---> 5b27dbb564f5 [2021-06-10T16:21:21.561Z] Step 17/26 : WORKDIR / [2021-06-10T16:21:21.561Z] ---> Running in f2b92a4be2b0 [2021-06-10T16:21:22.158Z] Removing intermediate container f2b92a4be2b0 [2021-06-10T16:21:22.158Z] ---> 16a682fc33f3 [2021-06-10T16:21:22.158Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-10T16:21:23.137Z] ---> 1284677d5a5f [2021-06-10T16:21:23.137Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-10T16:21:23.732Z] ---> bb2b94f81086 [2021-06-10T16:21:23.732Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-10T16:21:25.173Z] ---> e1803a630c1e [2021-06-10T16:21:25.173Z] Step 21/26 : EXPOSE 59900 [2021-06-10T16:21:25.446Z] ---> Running in b72a10f731cb [2021-06-10T16:21:26.045Z] Removing intermediate container b72a10f731cb [2021-06-10T16:21:26.045Z] ---> c192c07514c5 [2021-06-10T16:21:26.045Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-10T16:21:26.045Z] ---> Running in ad3a9d3b46ba [2021-06-10T16:21:27.034Z] Removing intermediate container ad3a9d3b46ba [2021-06-10T16:21:27.034Z] ---> a379f9390285 [2021-06-10T16:21:27.034Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T16:21:27.034Z] ---> Running in 9091d221acbe [2021-06-10T16:21:27.632Z] Removing intermediate container 9091d221acbe [2021-06-10T16:21:27.633Z] ---> b50632915e10 [2021-06-10T16:21:27.633Z] Step 24/26 : LABEL arch=arm64 [2021-06-10T16:21:27.633Z] ---> Running in 48007030a7b4 [2021-06-10T16:21:28.227Z] Removing intermediate container 48007030a7b4 [2021-06-10T16:21:28.227Z] ---> 53fec8e067c1 [2021-06-10T16:21:28.227Z] Step 25/26 : LABEL git_sha=9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:21:28.227Z] ---> Running in 011e4d524dad [2021-06-10T16:21:28.822Z] Removing intermediate container 011e4d524dad [2021-06-10T16:21:28.822Z] ---> 848997b1cca2 [2021-06-10T16:21:28.822Z] Step 26/26 : LABEL version=1.3.2-dev.23 [2021-06-10T16:21:28.822Z] ---> Running in 5198dde3d9cb [2021-06-10T16:21:29.414Z] Removing intermediate container 5198dde3d9cb [2021-06-10T16:21:29.414Z] ---> d4a0e4b0a64e [2021-06-10T16:21:29.414Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-10T16:21:29.414Z] Successfully built d4a0e4b0a64e [2021-06-10T16:21:29.414Z] 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 [2021-06-10T16:21:29.655Z] provisioning config files... [2021-06-10T16:21:29.675Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config3988543380615949042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:21:30.044Z] ---> docker-login.sh [2021-06-10T16:21:30.044Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:21:30.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:30.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:30.592Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:30.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:30.592Z] [2021-06-10T16:21:30.592Z] Login Succeeded [2021-06-10T16:21:30.592Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:21:30.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:31.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:31.138Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:31.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:31.138Z] [2021-06-10T16:21:31.138Z] Login Succeeded [2021-06-10T16:21:31.138Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:21:31.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:31.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:31.688Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:31.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:31.688Z] [2021-06-10T16:21:31.688Z] Login Succeeded [2021-06-10T16:21:31.688Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:21:31.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:32.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:32.233Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:32.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:32.233Z] [2021-06-10T16:21:32.233Z] Login Succeeded [2021-06-10T16:21:32.233Z] docker.io [2021-06-10T16:21:32.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:33.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:33.098Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:33.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:33.098Z] [2021-06-10T16:21:33.098Z] Login Succeeded [2021-06-10T16:21:33.098Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:21:33.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:21:33.210Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-06-10T16:21:33.210Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:21:33.210Z] latest [2021-06-10T16:21:33.210Z] 1.3.2-dev.23 [2021-06-10T16:21:33.210Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:21:33.210Z] master [2021-06-10T16:21:33.210Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:33.615Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:33.961Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:21:33.961Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-10T16:21:33.961Z] 04f8865cfc18: Preparing [2021-06-10T16:21:33.961Z] 46d5ebab1386: Preparing [2021-06-10T16:21:33.961Z] c7dfbf60aa83: Preparing [2021-06-10T16:21:33.961Z] 882f2fbc816f: Preparing [2021-06-10T16:21:33.961Z] 68ea4d06f637: Preparing [2021-06-10T16:21:33.961Z] 3fbe34a1663b: Preparing [2021-06-10T16:21:33.961Z] 3fbe34a1663b: Waiting [2021-06-10T16:21:34.243Z] 68ea4d06f637: Pushed [2021-06-10T16:21:34.243Z] 46d5ebab1386: Pushed [2021-06-10T16:21:34.243Z] c7dfbf60aa83: Pushed [2021-06-10T16:21:34.520Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:21:35.118Z] 882f2fbc816f: Pushed [2021-06-10T16:21:37.733Z] 04f8865cfc18: Pushed [2021-06-10T16:21:38.005Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:38.357Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:38.709Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-10T16:21:38.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-10T16:21:38.709Z] 04f8865cfc18: Preparing [2021-06-10T16:21:38.709Z] 46d5ebab1386: Preparing [2021-06-10T16:21:38.709Z] c7dfbf60aa83: Preparing [2021-06-10T16:21:38.709Z] 882f2fbc816f: Preparing [2021-06-10T16:21:38.709Z] 68ea4d06f637: Preparing [2021-06-10T16:21:38.709Z] 3fbe34a1663b: Preparing [2021-06-10T16:21:38.709Z] 3fbe34a1663b: Waiting [2021-06-10T16:21:38.709Z] 46d5ebab1386: Layer already exists [2021-06-10T16:21:38.709Z] 04f8865cfc18: Layer already exists [2021-06-10T16:21:38.709Z] 882f2fbc816f: Layer already exists [2021-06-10T16:21:38.709Z] c7dfbf60aa83: Layer already exists [2021-06-10T16:21:38.709Z] 68ea4d06f637: Layer already exists [2021-06-10T16:21:38.709Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:21:38.981Z] latest: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:39.340Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:39.685Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 [2021-06-10T16:21:39.685Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-10T16:21:39.685Z] 04f8865cfc18: Preparing [2021-06-10T16:21:39.685Z] 46d5ebab1386: Preparing [2021-06-10T16:21:39.685Z] c7dfbf60aa83: Preparing [2021-06-10T16:21:39.685Z] 882f2fbc816f: Preparing [2021-06-10T16:21:39.685Z] 68ea4d06f637: Preparing [2021-06-10T16:21:39.685Z] 3fbe34a1663b: Preparing [2021-06-10T16:21:39.685Z] 3fbe34a1663b: Waiting [2021-06-10T16:21:39.685Z] 04f8865cfc18: Layer already exists [2021-06-10T16:21:39.685Z] 46d5ebab1386: Layer already exists [2021-06-10T16:21:39.685Z] 882f2fbc816f: Layer already exists [2021-06-10T16:21:39.685Z] c7dfbf60aa83: Layer already exists [2021-06-10T16:21:39.685Z] 68ea4d06f637: Layer already exists [2021-06-10T16:21:39.685Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:21:39.956Z] 1.3.2-dev.23: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:40.302Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:40.646Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:21:40.646Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-10T16:21:40.646Z] 04f8865cfc18: Preparing [2021-06-10T16:21:40.646Z] 46d5ebab1386: Preparing [2021-06-10T16:21:40.646Z] c7dfbf60aa83: Preparing [2021-06-10T16:21:40.646Z] 882f2fbc816f: Preparing [2021-06-10T16:21:40.646Z] 68ea4d06f637: Preparing [2021-06-10T16:21:40.646Z] 3fbe34a1663b: Preparing [2021-06-10T16:21:40.646Z] 3fbe34a1663b: Waiting [2021-06-10T16:21:40.646Z] 882f2fbc816f: Layer already exists [2021-06-10T16:21:40.646Z] 04f8865cfc18: Layer already exists [2021-06-10T16:21:40.646Z] 68ea4d06f637: Layer already exists [2021-06-10T16:21:40.646Z] c7dfbf60aa83: Layer already exists [2021-06-10T16:21:40.646Z] 46d5ebab1386: Layer already exists [2021-06-10T16:21:40.646Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:21:40.917Z] 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:41.265Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:41.611Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-06-10T16:21:41.611Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-10T16:21:41.611Z] 04f8865cfc18: Preparing [2021-06-10T16:21:41.611Z] 46d5ebab1386: Preparing [2021-06-10T16:21:41.611Z] c7dfbf60aa83: Preparing [2021-06-10T16:21:41.611Z] 882f2fbc816f: Preparing [2021-06-10T16:21:41.611Z] 68ea4d06f637: Preparing [2021-06-10T16:21:41.611Z] 3fbe34a1663b: Preparing [2021-06-10T16:21:41.611Z] 3fbe34a1663b: Waiting [2021-06-10T16:21:41.883Z] 04f8865cfc18: Layer already exists [2021-06-10T16:21:41.883Z] 46d5ebab1386: Layer already exists [2021-06-10T16:21:41.883Z] c7dfbf60aa83: Layer already exists [2021-06-10T16:21:41.883Z] 68ea4d06f637: Layer already exists [2021-06-10T16:21:41.883Z] 882f2fbc816f: Layer already exists [2021-06-10T16:21:41.883Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:21:41.883Z] master: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:21:41.954Z] ===================================================== [Pipeline] echo [2021-06-10T16:21:41.972Z] taggedImages: [2021-06-10T16:21:41.972Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [2021-06-10T16:21:41.972Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-10T16:21:41.972Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 [2021-06-10T16:21:41.972Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [2021-06-10T16:21:41.972Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:21:42.494Z] ---> job-cost.sh [2021-06-10T16:21:42.494Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rYOm [2021-06-10T16:22:21.466Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T16:23:43.217Z] lf-activate-venv(): INFO: Adding /tmp/venv-rYOm/bin to PATH [2021-06-10T16:23:43.217Z] INFO: No Stack... [2021-06-10T16:23:43.217Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T16:23:43.808Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T16:23:44.150Z] + cat /w/workspace/device-virtual-go/63/archives/cost.csv [2021-06-10T16:23:44.150Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T16:23:44.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [2021-06-10T16:23:44.227Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] did not exist. Created. [2021-06-10T16:23:44.227Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T16:23:44.598Z] /w/workspace/device-virtual-go/63@tmp/durable-cde889f0/script.sh: 1: /w/workspace/device-virtual-go/63@tmp/durable-cde889f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T16:23:44.949Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T16:23:44.974Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T16:23:45.136Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T16:23:45.153Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-63-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 [2021-06-10T16:23:45.896Z] provisioning config files... [2021-06-10T16:23:45.911Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5212546060951475585tmp [Pipeline] { [Pipeline] sh [2021-06-10T16:23:46.224Z] + set +x [2021-06-10T16:23:46.224Z] + curl -s https://codecov.io/bash [2021-06-10T16:23:46.224Z] + bash -s -- [2021-06-10T16:23:46.224Z] [2021-06-10T16:23:46.224Z] _____ _ [2021-06-10T16:23:46.224Z] / ____| | | [2021-06-10T16:23:46.224Z] | | ___ __| | ___ ___ _____ __ [2021-06-10T16:23:46.224Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-10T16:23:46.224Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-10T16:23:46.224Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-10T16:23:46.224Z] Bash-1.0.3 [2021-06-10T16:23:46.224Z] [2021-06-10T16:23:46.224Z] [2021-06-10T16:23:46.224Z] ==> git version 2.24.4 found [2021-06-10T16:23:46.224Z] ==> 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 [2021-06-10T16:23:46.224Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-10T16:23:46.224Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-10T16:23:46.224Z] ==> Jenkins CI detected. [2021-06-10T16:23:46.224Z] project root: . [2021-06-10T16:23:46.224Z] --> token set from env [2021-06-10T16:23:46.489Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-10T16:23:46.489Z] ==> Running gcov in . (disable via -X gcov) [2021-06-10T16:23:46.489Z] ==> Python coveragepy not found [2021-06-10T16:23:46.489Z] ==> Searching for coverage reports in: [2021-06-10T16:23:46.489Z] + . [2021-06-10T16:23:46.489Z] -> Found 1 reports [2021-06-10T16:23:46.489Z] ==> Detecting git/mercurial file structure [2021-06-10T16:23:46.489Z] ==> Reading reports [2021-06-10T16:23:46.489Z] + ./coverage.out bytes=47247 [2021-06-10T16:23:46.489Z] ==> Appending adjustments [2021-06-10T16:23:46.489Z] https://docs.codecov.io/docs/fixing-reports [2021-06-10T16:23:46.489Z] + Found adjustments [2021-06-10T16:23:46.489Z] ==> Gzipping contents [2021-06-10T16:23:46.489Z] 8.0K /tmp/codecov.L8s1sy.gz [2021-06-10T16:23:46.489Z] ==> Uploading reports [2021-06-10T16:23:46.489Z] url: https://codecov.io [2021-06-10T16:23:46.489Z] query: branch=master&commit=9bccc4cec06c773c2a00f105ea4d68f813f72a03&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-10T16:23:46.489Z] -> Pinging Codecov [2021-06-10T16:23:46.489Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=9bccc4cec06c773c2a00f105ea4d68f813f72a03&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-10T16:23:47.066Z] -> Uploading to [2021-06-10T16:23:47.066Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-10/5E52B4B073DB2E39498172D8E973AA87/9bccc4cec06c773c2a00f105ea4d68f813f72a03/41f3e0bf-b9f0-447e-aa21-5b3308b644fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T162346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66f8e7e52a5e8e0ee0b24478fb0272e83c675e0e74364f67bd4b7202e008588b [2021-06-10T16:23:47.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-10T16:23:47.066Z] Dload Upload Total Spent Left Speed [2021-06-10T16:23:47.638Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5773 0 0 100 5773 0 13270 --:--:-- --:--:-- --:--:-- 13301 [2021-06-10T16:23:47.638Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] } [2021-06-10T16:23:47.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-10T16:23:48.405Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-10T16:23:48.433Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:23:48.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:23:48.747Z] [2021-06-10T16:23:48.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:23:49.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:23:49.072Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-10T16:23:49.072Z] 188c0c94c7c5: Pulling fs layer [2021-06-10T16:23:49.072Z] 0ef7d3d256c8: Pulling fs layer [2021-06-10T16:23:49.072Z] de9db76c5a1d: Pulling fs layer [2021-06-10T16:23:49.072Z] 0eba1c9be4d2: Pulling fs layer [2021-06-10T16:23:49.072Z] 0d57e429df01: Pulling fs layer [2021-06-10T16:23:49.072Z] 4e4be7b47b0d: Pulling fs layer [2021-06-10T16:23:49.072Z] e1f770b5df2f: Pulling fs layer [2021-06-10T16:23:49.072Z] 85a0685a4137: Pulling fs layer [2021-06-10T16:23:49.072Z] 0d57e429df01: Waiting [2021-06-10T16:23:49.072Z] 4e4be7b47b0d: Waiting [2021-06-10T16:23:49.072Z] e1f770b5df2f: Waiting [2021-06-10T16:23:49.072Z] 85a0685a4137: Waiting [2021-06-10T16:23:49.072Z] 0eba1c9be4d2: Waiting [2021-06-10T16:23:49.072Z] de9db76c5a1d: Verifying Checksum [2021-06-10T16:23:49.072Z] de9db76c5a1d: Download complete [2021-06-10T16:23:49.072Z] 0ef7d3d256c8: Verifying Checksum [2021-06-10T16:23:49.072Z] 0ef7d3d256c8: Download complete [2021-06-10T16:23:49.072Z] 0d57e429df01: Verifying Checksum [2021-06-10T16:23:49.072Z] 0d57e429df01: Download complete [2021-06-10T16:23:49.072Z] 188c0c94c7c5: Verifying Checksum [2021-06-10T16:23:49.072Z] 188c0c94c7c5: Download complete [2021-06-10T16:23:49.339Z] 4e4be7b47b0d: Download complete [2021-06-10T16:23:49.339Z] 188c0c94c7c5: Pull complete [2021-06-10T16:23:49.603Z] 0ef7d3d256c8: Pull complete [2021-06-10T16:23:49.603Z] de9db76c5a1d: Pull complete [2021-06-10T16:23:50.547Z] e1f770b5df2f: Verifying Checksum [2021-06-10T16:23:50.547Z] e1f770b5df2f: Download complete [2021-06-10T16:23:52.460Z] 0eba1c9be4d2: Verifying Checksum [2021-06-10T16:23:52.460Z] 0eba1c9be4d2: Download complete [2021-06-10T16:23:52.733Z] 85a0685a4137: Verifying Checksum [2021-06-10T16:23:52.733Z] 85a0685a4137: Download complete [2021-06-10T16:23:56.086Z] 0eba1c9be4d2: Pull complete [2021-06-10T16:23:56.086Z] 0d57e429df01: Pull complete [2021-06-10T16:23:56.086Z] 4e4be7b47b0d: Pull complete [2021-06-10T16:23:56.349Z] e1f770b5df2f: Pull complete [2021-06-10T16:24:00.603Z] 85a0685a4137: Pull complete [2021-06-10T16:24:00.603Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-10T16:24:00.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:24:00.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-10T16:24:00.687Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:24:00.728Z] $ 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 [2021-06-10T16:24:03.193Z] $ docker top 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-10T16:24:03.304Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-10T16:24:03.598Z] + set -o pipefail [2021-06-10T16:24:03.598Z] + snyk monitor '--org=edgex-jenkins' [2021-06-10T16:24:15.867Z] [2021-06-10T16:24:15.867Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-06-10T16:24:15.867Z] [2021-06-10T16:24:15.867Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/6f34ac66-0e49-4699-b9b8-e183f15580de [2021-06-10T16:24:15.867Z] [2021-06-10T16:24:15.867Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-10T16:24:15.867Z] [2021-06-10T16:24:15.867Z] [Pipeline] } [2021-06-10T16:24:15.878Z] $ docker stop --time=1 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 [2021-06-10T16:24:17.771Z] $ docker rm -f 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 [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 [2021-06-10T16:24:18.895Z] + git log --format=format:%s -1 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:19.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:24:19.221Z] . [Pipeline] withDockerContainer [2021-06-10T16:24:19.308Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:24:19.345Z] $ 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 [2021-06-10T16:24:19.786Z] $ docker top a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:24:19.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:24:19.942Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:24:20.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:24:20.073Z] $ docker exec a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a ssh-agent [2021-06-10T16:24:20.200Z] SSH_AUTH_SOCK=/tmp/ssh-1LTcboWhBc0q/agent.13 [2021-06-10T16:24:20.200Z] SSH_AGENT_PID=19 [2021-06-10T16:24:20.205Z] Running ssh-add (command line suppressed) [2021-06-10T16:24:20.317Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7683989969804899450.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7683989969804899450.key) [2021-06-10T16:24:20.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:24:20.643Z] + git semver tag [2021-06-10T16:24:20.643Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:24:20.643Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-10T16:24:20.643Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-10T16:24:20.643Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:24:20.643Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:24:20.643Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:24:20.643Z] # $SEMVER_BRANCH = master [2021-06-10T16:24:20.643Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-10T16:24:20.643Z] # 9bccc4cec06c773c2a00f105ea4d68f813f72a03 HEAD [2021-06-10T16:24:20.643Z] # -> Force: false [2021-06-10T16:24:20.643Z] # af75504ed089de342498a435ebdd0cc67f2fe0c2 refs/tags/v1.3.2-dev.23 [Pipeline] } [2021-06-10T16:24:20.651Z] $ docker exec --env ******** --env ******** a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a ssh-agent -k [2021-06-10T16:24:20.756Z] unset SSH_AUTH_SOCK; [2021-06-10T16:24:20.757Z] unset SSH_AGENT_PID; [2021-06-10T16:24:20.757Z] echo Agent pid 19 killed; [2021-06-10T16:24:20.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:24:21.109Z] + git semver [Pipeline] } [2021-06-10T16:24:21.125Z] $ docker stop --time=1 a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a [2021-06-10T16:24:22.354Z] $ docker rm -f a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:22.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:24:22.844Z] [2021-06-10T16:24:22.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:23.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:24:23.184Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-10T16:24:23.184Z] ab5ef0e58194: Pulling fs layer [2021-06-10T16:24:23.184Z] 9712f1f96733: Pulling fs layer [2021-06-10T16:24:23.184Z] 63f879dbbcfc: Pulling fs layer [2021-06-10T16:24:23.184Z] 0d9ebad4ef96: Pulling fs layer [2021-06-10T16:24:23.184Z] e9a5061849ea: Pulling fs layer [2021-06-10T16:24:23.184Z] d747dcd14b5f: Pulling fs layer [2021-06-10T16:24:23.184Z] 2de7ff778b66: Pulling fs layer [2021-06-10T16:24:23.184Z] 0d9ebad4ef96: Waiting [2021-06-10T16:24:23.184Z] e9a5061849ea: Waiting [2021-06-10T16:24:23.184Z] d747dcd14b5f: Waiting [2021-06-10T16:24:23.184Z] 2de7ff778b66: Waiting [2021-06-10T16:24:23.184Z] 9712f1f96733: Verifying Checksum [2021-06-10T16:24:23.184Z] 9712f1f96733: Download complete [2021-06-10T16:24:25.099Z] 63f879dbbcfc: Verifying Checksum [2021-06-10T16:24:25.099Z] 63f879dbbcfc: Download complete [2021-06-10T16:24:25.099Z] e9a5061849ea: Verifying Checksum [2021-06-10T16:24:25.099Z] e9a5061849ea: Download complete [2021-06-10T16:24:25.099Z] d747dcd14b5f: Verifying Checksum [2021-06-10T16:24:25.099Z] d747dcd14b5f: Download complete [2021-06-10T16:24:25.362Z] 2de7ff778b66: Verifying Checksum [2021-06-10T16:24:25.362Z] 2de7ff778b66: Download complete [2021-06-10T16:24:25.628Z] ab5ef0e58194: Verifying Checksum [2021-06-10T16:24:25.628Z] ab5ef0e58194: Download complete [2021-06-10T16:24:25.899Z] 0d9ebad4ef96: Verifying Checksum [2021-06-10T16:24:25.899Z] 0d9ebad4ef96: Download complete [2021-06-10T16:24:28.535Z] ab5ef0e58194: Pull complete [2021-06-10T16:24:28.535Z] 9712f1f96733: Pull complete [2021-06-10T16:24:29.523Z] 63f879dbbcfc: Pull complete [2021-06-10T16:24:32.857Z] 0d9ebad4ef96: Pull complete [2021-06-10T16:24:33.119Z] e9a5061849ea: Pull complete [2021-06-10T16:24:33.386Z] d747dcd14b5f: Pull complete [2021-06-10T16:24:34.331Z] 2de7ff778b66: Pull complete [2021-06-10T16:24:34.331Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-10T16:24:34.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:24:34.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-10T16:24:34.408Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:24:34.452Z] $ 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 [2021-06-10T16:24:37.677Z] $ docker top 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:24:37.787Z] provisioning config files... [2021-06-10T16:24:37.795Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7636885098029430267tmp [2021-06-10T16:24:37.807Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1888963201524955419tmp [2021-06-10T16:24:37.819Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6597007634408049894tmp [Pipeline] { [Pipeline] echo [2021-06-10T16:24:37.840Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:24:38.135Z] ---> sigul-configuration.sh [2021-06-10T16:24:38.135Z] gpg: directory `/root/.gnupg' created [2021-06-10T16:24:38.135Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-10T16:24:38.135Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-10T16:24:38.135Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-10T16:24:38.135Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-10T16:24:38.135Z] gpg: CAST5 encrypted data [2021-06-10T16:24:38.135Z] gpg: encrypted with 1 passphrase [2021-06-10T16:24:38.135Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-10T16:24:38.432Z] + mkdir /home/jenkins [2021-06-10T16:24:38.432Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-10T16:24:38.732Z] + 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 [2021-06-10T16:24:38.744Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:24:39.041Z] ---> sigul-install.sh [2021-06-10T16:24:44.360Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-10T16:24:44.660Z] + git tag --list [2021-06-10T16:24:44.660Z] v1.0.0 [2021-06-10T16:24:44.660Z] v1.1.0 [2021-06-10T16:24:44.661Z] v1.1.1 [2021-06-10T16:24:44.661Z] v1.2.1 [2021-06-10T16:24:44.661Z] v1.2.2 [2021-06-10T16:24:44.661Z] v1.2.3 [2021-06-10T16:24:44.661Z] v1.3.0 [2021-06-10T16:24:44.661Z] v1.3.1 [2021-06-10T16:24:44.661Z] v1.3.1-dev.1 [2021-06-10T16:24:44.661Z] v1.3.1-dev.2 [2021-06-10T16:24:44.661Z] v1.3.1-dev.3 [2021-06-10T16:24:44.661Z] v1.3.1-dev.4 [2021-06-10T16:24:44.661Z] v1.3.1-dev.5 [2021-06-10T16:24:44.661Z] v1.3.2-dev.1 [2021-06-10T16:24:44.661Z] v1.3.2-dev.10 [2021-06-10T16:24:44.661Z] v1.3.2-dev.11 [2021-06-10T16:24:44.661Z] v1.3.2-dev.12 [2021-06-10T16:24:44.661Z] v1.3.2-dev.13 [2021-06-10T16:24:44.661Z] v1.3.2-dev.14 [2021-06-10T16:24:44.661Z] v1.3.2-dev.15 [2021-06-10T16:24:44.661Z] v1.3.2-dev.16 [2021-06-10T16:24:44.661Z] v1.3.2-dev.17 [2021-06-10T16:24:44.661Z] v1.3.2-dev.18 [2021-06-10T16:24:44.661Z] v1.3.2-dev.19 [2021-06-10T16:24:44.661Z] v1.3.2-dev.2 [2021-06-10T16:24:44.661Z] v1.3.2-dev.20 [2021-06-10T16:24:44.661Z] v1.3.2-dev.21 [2021-06-10T16:24:44.661Z] v1.3.2-dev.22 [2021-06-10T16:24:44.661Z] v1.3.2-dev.23 [2021-06-10T16:24:44.661Z] v1.3.2-dev.3 [2021-06-10T16:24:44.661Z] v1.3.2-dev.4 [2021-06-10T16:24:44.661Z] v1.3.2-dev.5 [2021-06-10T16:24:44.661Z] v1.3.2-dev.6 [2021-06-10T16:24:44.661Z] v1.3.2-dev.7 [2021-06-10T16:24:44.661Z] v1.3.2-dev.8 [2021-06-10T16:24:44.661Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-10T16:24:44.961Z] + lftools sign git-tag v1.3.2-dev.23 [2021-06-10T16:24:45.549Z] Signing Git tag with Sigul... [2021-06-10T16:24:45.549Z] Signing v1.3.2-dev.23 [Pipeline] echo [2021-06-10T16:24:46.520Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:24:46.923Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-10T16:24:46.997Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-10T16:24:47.161Z] $ docker stop --time=1 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 [2021-06-10T16:24:48.693Z] $ docker rm -f 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:49.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:24:49.415Z] . [Pipeline] withDockerContainer [2021-06-10T16:24:49.505Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:24:49.548Z] $ 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 [2021-06-10T16:24:49.964Z] $ docker top 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:24:50.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:24:50.119Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:24:50.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:24:50.258Z] $ docker exec 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 ssh-agent [2021-06-10T16:24:50.404Z] SSH_AUTH_SOCK=/tmp/ssh-7Huq3PuXhzAd/agent.15 [2021-06-10T16:24:50.404Z] SSH_AGENT_PID=22 [2021-06-10T16:24:50.410Z] Running ssh-add (command line suppressed) [2021-06-10T16:24:50.518Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4857340562517113395.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4857340562517113395.key) [2021-06-10T16:24:50.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:24:50.844Z] + git semver bump pre [2021-06-10T16:24:50.844Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:24:50.844Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-10T16:24:50.844Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-10T16:24:50.844Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:24:50.844Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:24:50.844Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:24:50.844Z] # $SEMVER_BRANCH = master [2021-06-10T16:24:50.844Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-10T16:24:50.844Z] 1.3.2-dev.24 [Pipeline] } [2021-06-10T16:24:50.851Z] $ docker exec --env ******** --env ******** 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 ssh-agent -k [2021-06-10T16:24:50.971Z] unset SSH_AUTH_SOCK; [2021-06-10T16:24:50.971Z] unset SSH_AGENT_PID; [2021-06-10T16:24:50.971Z] echo Agent pid 22 killed; [2021-06-10T16:24:50.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:24:51.322Z] + git semver [Pipeline] } [2021-06-10T16:24:51.332Z] $ docker stop --time=1 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 [2021-06-10T16:24:52.561Z] $ docker rm -f 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:52.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:24:52.981Z] . [Pipeline] withDockerContainer [2021-06-10T16:24:53.072Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:24:53.110Z] $ 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 [2021-06-10T16:24:53.531Z] $ docker top b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:24:53.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:24:53.683Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:24:53.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:24:53.832Z] $ docker exec b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f ssh-agent [2021-06-10T16:24:53.970Z] SSH_AUTH_SOCK=/tmp/ssh-Uv7INGf1tOgc/agent.13 [2021-06-10T16:24:53.970Z] SSH_AGENT_PID=20 [2021-06-10T16:24:53.976Z] Running ssh-add (command line suppressed) [2021-06-10T16:24:54.080Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6760572243015994938.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6760572243015994938.key) [2021-06-10T16:24:54.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:24:54.408Z] + git semver push [2021-06-10T16:24:54.408Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:24:54.408Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-10T16:24:54.408Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-10T16:24:54.408Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:24:54.408Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:24:54.408Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:24:54.408Z] # $SEMVER_BRANCH = master [2021-06-10T16:24:54.408Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-10T16:24:59.720Z] $ docker exec --env ******** --env ******** b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f ssh-agent -k [2021-06-10T16:24:59.836Z] unset SSH_AUTH_SOCK; [2021-06-10T16:24:59.836Z] unset SSH_AGENT_PID; [2021-06-10T16:24:59.836Z] echo Agent pid 20 killed; [2021-06-10T16:24:59.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:25:00.229Z] + git semver [Pipeline] } [2021-06-10T16:25:00.240Z] $ docker stop --time=1 b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f [2021-06-10T16:25:01.459Z] $ docker rm -f b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f [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 [2021-06-10T16:25:02.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:03.191Z] ---> package-listing.sh [2021-06-10T16:25:03.191Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T16:25:03.191Z] ++ facter osfamily [2021-06-10T16:25:03.455Z] + OS_FAMILY=redhat [2021-06-10T16:25:03.455Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-06-10T16:25:03.455Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T16:25:03.455Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T16:25:03.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T16:25:03.455Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T16:25:03.455Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-10T16:25:03.455Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T16:25:03.455Z] + case "${OS_FAMILY}" in [2021-06-10T16:25:03.455Z] + sort [2021-06-10T16:25:03.455Z] + rpm -qa [2021-06-10T16:25:04.032Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T16:25:04.032Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T16:25:04.032Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T16:25:04.032Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-10T16:25:04.032Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-06-10T16:25:04.032Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2021-06-10T16:25:04.046Z] 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 [2021-06-10T16:25:04.338Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:04.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:25:04.910Z] [2021-06-10T16:25:04.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:05.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:25:05.227Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T16:25:05.227Z] df20fa9351a1: Pulling fs layer [2021-06-10T16:25:05.227Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T16:25:05.227Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T16:25:05.227Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T16:25:05.227Z] 93b61091891f: Pulling fs layer [2021-06-10T16:25:05.227Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T16:25:05.227Z] 5e14af77c1be: Pulling fs layer [2021-06-10T16:25:05.227Z] 01666e4c0597: Pulling fs layer [2021-06-10T16:25:05.227Z] aa168da1d23b: Pulling fs layer [2021-06-10T16:25:05.227Z] 46f8f816bc3b: Waiting [2021-06-10T16:25:05.227Z] 93b61091891f: Waiting [2021-06-10T16:25:05.227Z] 93b9cdb0e59b: Waiting [2021-06-10T16:25:05.227Z] 5e14af77c1be: Waiting [2021-06-10T16:25:05.227Z] 01666e4c0597: Waiting [2021-06-10T16:25:05.227Z] aa168da1d23b: Waiting [2021-06-10T16:25:05.227Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T16:25:05.227Z] 36b3adc4ff6f: Download complete [2021-06-10T16:25:05.227Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T16:25:05.227Z] 46f8f816bc3b: Download complete [2021-06-10T16:25:05.492Z] df20fa9351a1: Verifying Checksum [2021-06-10T16:25:05.492Z] df20fa9351a1: Download complete [2021-06-10T16:25:05.492Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T16:25:05.492Z] 93b9cdb0e59b: Download complete [2021-06-10T16:25:05.492Z] 5e14af77c1be: Verifying Checksum [2021-06-10T16:25:05.492Z] 5e14af77c1be: Download complete [2021-06-10T16:25:05.492Z] 01666e4c0597: Verifying Checksum [2021-06-10T16:25:05.492Z] 01666e4c0597: Download complete [2021-06-10T16:25:05.492Z] 93b61091891f: Verifying Checksum [2021-06-10T16:25:05.492Z] 93b61091891f: Download complete [2021-06-10T16:25:05.492Z] df20fa9351a1: Pull complete [2021-06-10T16:25:05.760Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T16:25:05.760Z] 8ad3a11d3b57: Download complete [2021-06-10T16:25:05.760Z] 36b3adc4ff6f: Pull complete [2021-06-10T16:25:06.335Z] 8ad3a11d3b57: Pull complete [2021-06-10T16:25:06.335Z] 46f8f816bc3b: Pull complete [2021-06-10T16:25:06.595Z] 93b61091891f: Pull complete [2021-06-10T16:25:06.595Z] 93b9cdb0e59b: Pull complete [2021-06-10T16:25:06.856Z] 5e14af77c1be: Pull complete [2021-06-10T16:25:06.856Z] 01666e4c0597: Pull complete [2021-06-10T16:25:07.801Z] aa168da1d23b: Verifying Checksum [2021-06-10T16:25:07.801Z] aa168da1d23b: Download complete [2021-06-10T16:25:12.079Z] aa168da1d23b: Pull complete [2021-06-10T16:25:12.079Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T16:25:12.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:25:12.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T16:25:12.158Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-06-10T16:25:12.193Z] $ 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 [2021-06-10T16:25:14.086Z] $ docker top 433f289445db8a5abd877437c21b3071a7dc010e1cf219502d7450380bd538a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:25:14.493Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T16:25:14.792Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T16:25:15.088Z] + ls /var/log/sa-host [2021-06-10T16:25:15.088Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T16:25:15.088Z] file_magic: OK [2021-06-10T16:25:15.088Z] HZ: Using current value: 100 [2021-06-10T16:25:15.088Z] file_header: OK [2021-06-10T16:25:15.088Z] 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 [2021-06-10T16:25:15.088Z] Statistics: [2021-06-10T16:25:15.088Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T16:25:15.088Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T16:25:15.088Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T16:25:15.088Z] file_magic: OK [2021-06-10T16:25:15.088Z] HZ: Using current value: 100 [2021-06-10T16:25:15.088Z] file_header: OK [2021-06-10T16:25:15.088Z] 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 [2021-06-10T16:25:15.088Z] Statistics: [2021-06-10T16:25:15.088Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T16:25:15.088Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:25:15.702Z] provisioning config files... [2021-06-10T16:25:15.716Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5068179741808338463tmp [Pipeline] { [Pipeline] echo [2021-06-10T16:25:15.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:16.038Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T16:25:16.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:16.447Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T16:25:16.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:16.760Z] ---> sudo-logs.sh [2021-06-10T16:25:16.760Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T16:25:16.788Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:17.085Z] ---> job-cost.sh [2021-06-10T16:25:17.085Z] lf-activate-venv: SKIPPING [2021-06-10T16:25:17.085Z] DEBUG: total: 0.18000000715255737 [2021-06-10T16:25:17.085Z] INFO: Retrieving Stack Cost... [2021-06-10T16:25:18.029Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T16:25:18.599Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T16:25:18.614Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:18.909Z] ---> logs-deploy.sh [2021-06-10T16:25:18.909Z] lf-activate-venv: SKIPPING [2021-06-10T16:25:18.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/63 [2021-06-10T16:25:18.909Z] INFO: archiving workspace using pattern(s): [2021-06-10T16:25:19.856Z] Archives upload complete. [2021-06-10T16:25:19.856Z] INFO: archiving logs to Nexus