Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fd53acc9c14dc637ad1d0649aa2130107251e178 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-ssh2090382127066330908.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3639829289500780547.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8795945230925214737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh956705104154408808.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-ssh412594464030567956.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-64 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-ssh7632228521337393394.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 fd53acc9c14dc637ad1d0649aa2130107251e178 (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 fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" > git rev-list --no-walk 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T18:59:09.992Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T18:59:10.110Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T18:59:10.142Z] ========================================================= [2021-06-17T18:59:10.142Z] EdgeX Global Pipelines Version Info [2021-06-17T18:59:10.142Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:59:11.603Z] ------------------- [2021-06-17T18:59:11.603Z] stable info: [2021-06-17T18:59:11.603Z] ------------------- [2021-06-17T18:59:11.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T18:59:11.603Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:59:11.603Z] Message: update stable to v1.0.195 [2021-06-17T18:59:12.197Z] ------------------- [2021-06-17T18:59:12.197Z] experimental info: [2021-06-17T18:59:12.197Z] ------------------- [2021-06-17T18:59:12.197Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T18:59:12.197Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:59:12.197Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T18:59:12.331Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-17T18:59:12.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-17T18:59:12.382Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T18:59:12.408Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T18:59:12.432Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T18:59:12.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T18:59:12.480Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T18:59:12.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T18:59:12.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T18:59:12.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T18:59:12.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T18:59:12.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-17T18:59:12.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T18:59:12.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T18:59:12.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:59:12.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:59:12.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:59:12.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:59:12.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T18:59:12.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T18:59:12.819Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T18:59:12.843Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T18:59:12.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T18:59:12.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T18:59:12.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T18:59:12.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T18:59:12.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-17T18:59:12.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-17T18:59:13.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-17T18:59:13.041Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] echo [2021-06-17T18:59:13.065Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd53acc [Pipeline] echo [2021-06-17T18:59:13.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:59:13.171Z] provisioning config files... [2021-06-17T18:59:13.191Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2182150550515525262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:59:13.522Z] ---> docker-login.sh [2021-06-17T18:59:13.523Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:59:13.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:59:13.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:59:13.789Z] Configure a credential helper to remove this warning. See [2021-06-17T18:59:13.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:59:13.789Z] [2021-06-17T18:59:13.789Z] Login Succeeded [2021-06-17T18:59:13.789Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:59:13.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:59:13.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:59:13.789Z] Configure a credential helper to remove this warning. See [2021-06-17T18:59:13.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:59:13.789Z] [2021-06-17T18:59:13.789Z] Login Succeeded [2021-06-17T18:59:13.789Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:59:14.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:59:14.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:59:14.052Z] Configure a credential helper to remove this warning. See [2021-06-17T18:59:14.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:59:14.052Z] [2021-06-17T18:59:14.052Z] Login Succeeded [2021-06-17T18:59:14.052Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:59:14.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:59:14.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:59:14.052Z] Configure a credential helper to remove this warning. See [2021-06-17T18:59:14.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:59:14.052Z] [2021-06-17T18:59:14.052Z] Login Succeeded [2021-06-17T18:59:14.322Z] docker.io [2021-06-17T18:59:14.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:59:14.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:59:14.586Z] Configure a credential helper to remove this warning. See [2021-06-17T18:59:14.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:59:14.586Z] [2021-06-17T18:59:14.586Z] Login Succeeded [2021-06-17T18:59:14.586Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:59:14.596Z] 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-17T18:59:15.149Z] + git log --format=format:%s -1 fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] echo [2021-06-17T18:59:15.189Z] GIT_COMMIT: fd53acc9c14dc637ad1d0649aa2130107251e178, Commit Message: Merge pull request #224 from lenny-intel/defaut-to-publish [Pipeline] echo [2021-06-17T18:59:15.203Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:59:16.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:59:16.315Z] [2021-06-17T18:59:16.315Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:59:16.648Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:59:16.649Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T18:59:16.649Z] 31603596830f: Pulling fs layer [2021-06-17T18:59:16.649Z] 54011a49482f: Pulling fs layer [2021-06-17T18:59:16.649Z] a6820b24f6d8: Pulling fs layer [2021-06-17T18:59:16.649Z] f581987b2513: Pulling fs layer [2021-06-17T18:59:16.649Z] f581987b2513: Waiting [2021-06-17T18:59:16.649Z] 54011a49482f: Verifying Checksum [2021-06-17T18:59:16.649Z] 54011a49482f: Download complete [2021-06-17T18:59:16.649Z] 31603596830f: Verifying Checksum [2021-06-17T18:59:16.649Z] 31603596830f: Download complete [2021-06-17T18:59:16.925Z] f581987b2513: Verifying Checksum [2021-06-17T18:59:16.925Z] f581987b2513: Download complete [2021-06-17T18:59:16.925Z] a6820b24f6d8: Verifying Checksum [2021-06-17T18:59:16.925Z] a6820b24f6d8: Download complete [2021-06-17T18:59:16.925Z] 31603596830f: Pull complete [2021-06-17T18:59:17.198Z] 54011a49482f: Pull complete [2021-06-17T18:59:17.793Z] a6820b24f6d8: Pull complete [2021-06-17T18:59:18.056Z] f581987b2513: Pull complete [2021-06-17T18:59:18.056Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T18:59:18.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:59:18.056Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T18:59:18.154Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T18:59:18.206Z] $ 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-17T18:59:19.223Z] $ docker top f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:59:19.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:59:19.376Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:59:19.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:59:19.509Z] $ docker exec f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent [2021-06-17T18:59:19.634Z] SSH_AUTH_SOCK=/tmp/ssh-oH9I4acjnyTI/agent.14 [2021-06-17T18:59:19.634Z] SSH_AGENT_PID=20 [2021-06-17T18:59:19.643Z] Running ssh-add (command line suppressed) [2021-06-17T18:59:19.746Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2546125369502023364.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2546125369502023364.key) [2021-06-17T18:59:19.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:59:20.086Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T18:59:20.101Z] $ docker exec --env ******** --env ******** f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent -k [2021-06-17T18:59:20.209Z] unset SSH_AUTH_SOCK; [2021-06-17T18:59:20.210Z] unset SSH_AGENT_PID; [2021-06-17T18:59:20.210Z] echo Agent pid 20 killed; [2021-06-17T18:59:20.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T18:59:20.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:59:20.269Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:59:20.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:59:20.405Z] $ docker exec f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent [2021-06-17T18:59:20.533Z] SSH_AUTH_SOCK=/tmp/ssh-Zro4jySjtfAN/agent.55 [2021-06-17T18:59:20.533Z] SSH_AGENT_PID=61 [2021-06-17T18:59:20.539Z] Running ssh-add (command line suppressed) [2021-06-17T18:59:20.648Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8242525444424923608.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8242525444424923608.key) [2021-06-17T18:59:20.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:59:20.979Z] + git semver init [2021-06-17T18:59:20.979Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:59:20.979Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-17T18:59:20.979Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-17T18:59:20.979Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:59:20.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:59:20.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:59:20.979Z] # $SEMVER_BRANCH = master [2021-06-17T18:59:20.979Z] # $SEMVER_TEMP = /tmp/semver-381175324 [2021-06-17T18:59:20.979Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-17T18:59:21.935Z] # '/tmp/semver-381175324' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-06-17T18:59:21.935Z] # -> Force: false [2021-06-17T18:59:21.935Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-17T18:59:21.942Z] $ docker exec --env ******** --env ******** f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent -k [2021-06-17T18:59:22.057Z] unset SSH_AUTH_SOCK; [2021-06-17T18:59:22.058Z] unset SSH_AGENT_PID; [2021-06-17T18:59:22.058Z] echo Agent pid 61 killed; [2021-06-17T18:59:22.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:59:22.429Z] + git semver [Pipeline] } [2021-06-17T18:59:22.441Z] $ docker stop --time=1 f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e [2021-06-17T18:59:23.779Z] $ docker rm -f f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:59:24.161Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T18:59:24.459Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T18:59:24.462Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.25 [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-17T18:59:39.690Z] Still waiting to schedule task [2021-06-17T18:59:39.690Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-17T18:59:39.693Z] Still waiting to schedule task [2021-06-17T18:59:39.693Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-17T19:01:14.254Z] Running on prd-centos7-docker-4c-2g-68 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-17T19:01:14.272Z] Running in /w/workspace/device-virtual-go/65 [Pipeline] { [Pipeline] checkout [2021-06-17T19:01:14.394Z] The recommended git tool is: git [2021-06-17T19:01:16.498Z] using credential edgex-jenkins-ssh [2021-06-17T19:01:16.510Z] Cloning the remote Git repository [2021-06-17T19:01:16.206Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T19:01:16.344Z] > git init /w/workspace/device-virtual-go/65 # timeout=10 [2021-06-17T19:01:16.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T19:01:16.377Z] > git --version # timeout=10 [2021-06-17T19:01:17.582Z] Avoid second fetch [2021-06-17T19:01:17.583Z] Checking out Revision fd53acc9c14dc637ad1d0649aa2130107251e178 (master) [2021-06-17T19:01:16.387Z] > git --version # 'git version 2.24.4' [2021-06-17T19:01:16.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T19:01:16.410Z] [INFO] Currently running in a labeled security context [2021-06-17T19:01:16.410Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T19:01:16.411Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/65@tmp/jenkins-gitclient-ssh7197464091056840814.key [2021-06-17T19:01:16.422Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T19:01:17.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T19:01:17.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T19:01:17.311Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T19:01:17.320Z] > git checkout -f fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 [2021-06-17T19:01:20.986Z] Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T19:01:21.973Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T19:01:22.318Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T19:01:22.631Z] + true [2021-06-17T19:01:22.631Z] + sudo service docker restart [2021-06-17T19:01:22.631Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T19:01:40.816Z] provisioning config files... [2021-06-17T19:01:40.833Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config5801381703744498095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:01:41.177Z] ---> docker-login.sh [2021-06-17T19:01:41.177Z] nexus3.edgexfoundry.org:10001 [2021-06-17T19:01:41.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:01:41.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:01:41.442Z] Configure a credential helper to remove this warning. See [2021-06-17T19:01:41.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:01:41.442Z] [2021-06-17T19:01:41.442Z] Login Succeeded [2021-06-17T19:01:41.442Z] nexus3.edgexfoundry.org:10002 [2021-06-17T19:01:41.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:01:41.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:01:41.442Z] Configure a credential helper to remove this warning. See [2021-06-17T19:01:41.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:01:41.442Z] [2021-06-17T19:01:41.442Z] Login Succeeded [2021-06-17T19:01:41.442Z] nexus3.edgexfoundry.org:10003 [2021-06-17T19:01:41.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:01:41.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:01:41.707Z] Configure a credential helper to remove this warning. See [2021-06-17T19:01:41.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:01:41.707Z] [2021-06-17T19:01:41.707Z] Login Succeeded [2021-06-17T19:01:41.707Z] nexus3.edgexfoundry.org:10004 [2021-06-17T19:01:41.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:01:41.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:01:41.969Z] Configure a credential helper to remove this warning. See [2021-06-17T19:01:41.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:01:41.969Z] [2021-06-17T19:01:41.969Z] Login Succeeded [2021-06-17T19:01:41.969Z] docker.io [2021-06-17T19:01:41.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:01:42.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:01:42.230Z] Configure a credential helper to remove this warning. See [2021-06-17T19:01:42.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:01:42.231Z] [2021-06-17T19:01:42.231Z] Login Succeeded [2021-06-17T19:01:42.231Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T19:01:42.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T19:01:42.420Z] ========================================================= [2021-06-17T19:01:42.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T19:01:42.420Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:01:42.737Z] + 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-17T19:01:42.737Z] Sending build context to Docker daemon 8.609MB [2021-06-17T19:01:42.737Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T19:01:42.737Z] Step 2/8 : FROM ${BASE} [2021-06-17T19:01:43.013Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T19:01:43.013Z] 540db60ca938: Pulling fs layer [2021-06-17T19:01:43.013Z] adcc1eea9eea: Pulling fs layer [2021-06-17T19:01:43.013Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T19:01:43.013Z] 0510c868ecb4: Pulling fs layer [2021-06-17T19:01:43.013Z] afea3b2eda06: Pulling fs layer [2021-06-17T19:01:43.013Z] 7809a108b3ef: Pulling fs layer [2021-06-17T19:01:43.013Z] f706445af74f: Pulling fs layer [2021-06-17T19:01:43.013Z] 0510c868ecb4: Waiting [2021-06-17T19:01:43.013Z] afea3b2eda06: Waiting [2021-06-17T19:01:43.013Z] 7809a108b3ef: Waiting [2021-06-17T19:01:43.013Z] f706445af74f: Waiting [2021-06-17T19:01:43.013Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T19:01:43.013Z] 4c4ab2625f07: Download complete [2021-06-17T19:01:43.013Z] adcc1eea9eea: Verifying Checksum [2021-06-17T19:01:43.013Z] adcc1eea9eea: Download complete [2021-06-17T19:01:43.013Z] afea3b2eda06: Verifying Checksum [2021-06-17T19:01:43.013Z] afea3b2eda06: Download complete [2021-06-17T19:01:43.013Z] 540db60ca938: Verifying Checksum [2021-06-17T19:01:43.013Z] 540db60ca938: Download complete [2021-06-17T19:01:43.013Z] 7809a108b3ef: Verifying Checksum [2021-06-17T19:01:43.013Z] 7809a108b3ef: Download complete [2021-06-17T19:01:43.278Z] 540db60ca938: Pull complete [2021-06-17T19:01:43.278Z] adcc1eea9eea: Pull complete [2021-06-17T19:01:43.541Z] 4c4ab2625f07: Pull complete [2021-06-17T19:01:44.928Z] f706445af74f: Verifying Checksum [2021-06-17T19:01:44.928Z] f706445af74f: Download complete [2021-06-17T19:01:45.195Z] 0510c868ecb4: Verifying Checksum [2021-06-17T19:01:45.195Z] 0510c868ecb4: Download complete [2021-06-17T19:01:45.483Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-66 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-17T19:01:45.502Z] Running in /w/workspace/device-virtual-go/65 [Pipeline] { [Pipeline] checkout [2021-06-17T19:01:45.731Z] The recommended git tool is: git [2021-06-17T19:01:48.537Z] 0510c868ecb4: Pull complete [2021-06-17T19:01:48.537Z] afea3b2eda06: Pull complete [2021-06-17T19:01:48.537Z] 7809a108b3ef: Pull complete [2021-06-17T19:01:49.947Z] f706445af74f: Pull complete [2021-06-17T19:01:49.947Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T19:01:49.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T19:01:49.947Z] ---> b068be0155e3 [2021-06-17T19:01:49.947Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T19:01:51.439Z] using credential edgex-jenkins-ssh [2021-06-17T19:01:51.470Z] Cloning the remote Git repository [2021-06-17T19:01:51.511Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T19:01:51.613Z] > git init /w/workspace/device-virtual-go/65 # timeout=10 [2021-06-17T19:01:51.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T19:01:51.681Z] > git --version # timeout=10 [2021-06-17T19:01:51.704Z] > git --version # 'git version 2.17.1' [2021-06-17T19:01:51.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T19:01:51.789Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T19:01:53.425Z] Avoid second fetch [2021-06-17T19:01:53.426Z] Checking out Revision fd53acc9c14dc637ad1d0649aa2130107251e178 (master) [2021-06-17T19:01:54.186Z] ---> Running in c0ee3fb7238a [2021-06-17T19:01:54.186Z] Removing intermediate container c0ee3fb7238a [2021-06-17T19:01:54.186Z] ---> 52b959eb01aa [2021-06-17T19:01:54.186Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:01:54.186Z] ---> Running in 17bc9c1a3e26 [2021-06-17T19:01:54.186Z] Removing intermediate container 17bc9c1a3e26 [2021-06-17T19:01:54.186Z] ---> 64dcc74e9ee8 [2021-06-17T19:01:54.186Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T19:01:54.186Z] ---> Running in 9203bea58e5a [2021-06-17T19:01:54.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T19:01:53.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T19:01:53.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T19:01:53.432Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T19:01:53.457Z] > git checkout -f fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 [2021-06-17T19:01:55.394Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T19:01:55.657Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T19:01:55.918Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T19:01:55.918Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T19:01:55.918Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T19:01:56.179Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T19:01:56.179Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T19:01:56.179Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T19:01:56.439Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T19:01:56.701Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T19:01:56.701Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T19:01:56.701Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T19:01:56.962Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T19:01:56.962Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T19:01:57.225Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T19:01:57.225Z] OK: 156 MiB in 53 packages [2021-06-17T19:01:57.489Z] Removing intermediate container 9203bea58e5a [2021-06-17T19:01:57.489Z] ---> d67596147f6c [2021-06-17T19:01:57.489Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-17T19:01:57.489Z] ---> Running in 21e66db4e33c [2021-06-17T19:01:57.750Z] Removing intermediate container 21e66db4e33c [2021-06-17T19:01:57.750Z] ---> 119ed0ec2077 [2021-06-17T19:01:57.750Z] Step 7/8 : COPY . . [2021-06-17T19:01:57.759Z] Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" [2021-06-17T19:01:58.017Z] ---> 3166c5b69df6 [2021-06-17T19:01:58.017Z] Step 8/8 : RUN go mod download [2021-06-17T19:01:58.017Z] ---> Running in 269ff1a61567 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T19:01:59.083Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T19:01:59.544Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T19:01:59.893Z] + true [2021-06-17T19:01:59.893Z] + sudo service docker restart [2021-06-17T19:02:12.984Z] Removing intermediate container 269ff1a61567 [2021-06-17T19:02:12.984Z] ---> 41cab418b6db [2021-06-17T19:02:12.984Z] Successfully built 41cab418b6db [2021-06-17T19:02:12.984Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:02:13.293Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T19:02:13.293Z] . [Pipeline] withDockerContainer [2021-06-17T19:02:13.380Z] prd-centos7-docker-4c-2g-68 does not seem to be running inside a container [2021-06-17T19:02:13.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T19:02:13.822Z] $ docker top 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T19:02:14.220Z] + go version [2021-06-17T19:02:14.220Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T19:02:14.229Z] $ docker stop --time=1 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c [2021-06-17T19:02:15.409Z] $ docker rm -f 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:02:16.008Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T19:02:16.008Z] . [Pipeline] withDockerContainer [2021-06-17T19:02:16.084Z] prd-centos7-docker-4c-2g-68 does not seem to be running inside a container [2021-06-17T19:02:16.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T19:02:16.647Z] $ docker top 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T19:02:17.029Z] + go mod tidy [Pipeline] sh [2021-06-17T19:02:17.597Z] + make test [2021-06-17T19:02:17.597Z] go mod tidy [2021-06-17T19:02:17.597Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T19:02:18.191Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T19:02:18.264Z] provisioning config files... [2021-06-17T19:02:18.291Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config5076881453543090232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:02:18.691Z] ---> docker-login.sh [2021-06-17T19:02:18.691Z] nexus3.edgexfoundry.org:10001 [2021-06-17T19:02:19.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:02:19.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:02:19.950Z] Configure a credential helper to remove this warning. See [2021-06-17T19:02:19.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:02:19.950Z] [2021-06-17T19:02:19.950Z] Login Succeeded [2021-06-17T19:02:19.950Z] nexus3.edgexfoundry.org:10002 [2021-06-17T19:02:20.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:02:20.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:02:20.500Z] Configure a credential helper to remove this warning. See [2021-06-17T19:02:20.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:02:20.500Z] [2021-06-17T19:02:20.500Z] Login Succeeded [2021-06-17T19:02:20.500Z] nexus3.edgexfoundry.org:10003 [2021-06-17T19:02:20.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:02:21.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:02:21.050Z] Configure a credential helper to remove this warning. See [2021-06-17T19:02:21.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:02:21.050Z] [2021-06-17T19:02:21.050Z] Login Succeeded [2021-06-17T19:02:21.050Z] nexus3.edgexfoundry.org:10004 [2021-06-17T19:02:21.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:02:21.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:02:21.606Z] Configure a credential helper to remove this warning. See [2021-06-17T19:02:21.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:02:21.606Z] [2021-06-17T19:02:21.606Z] Login Succeeded [2021-06-17T19:02:21.606Z] docker.io [2021-06-17T19:02:22.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:02:22.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:02:22.479Z] Configure a credential helper to remove this warning. See [2021-06-17T19:02:22.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:02:22.479Z] [2021-06-17T19:02:22.479Z] Login Succeeded [2021-06-17T19:02:22.479Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T19:02:22.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T19:02:22.814Z] ========================================================= [2021-06-17T19:02:22.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T19:02:22.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:02:23.167Z] + 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-17T19:02:23.442Z] Sending build context to Docker daemon 8.608MB [2021-06-17T19:02:23.442Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T19:02:23.442Z] Step 2/8 : FROM ${BASE} [2021-06-17T19:02:23.723Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T19:02:23.723Z] 595b0fe564bb: Pulling fs layer [2021-06-17T19:02:23.723Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T19:02:23.723Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T19:02:23.723Z] ba82ee9f976e: Pulling fs layer [2021-06-17T19:02:23.723Z] 506bd15cee9f: Pulling fs layer [2021-06-17T19:02:23.723Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T19:02:23.723Z] 618dc40b7e24: Pulling fs layer [2021-06-17T19:02:23.723Z] 506bd15cee9f: Waiting [2021-06-17T19:02:23.723Z] 75a0a4a0db45: Waiting [2021-06-17T19:02:23.723Z] 618dc40b7e24: Waiting [2021-06-17T19:02:23.723Z] ba82ee9f976e: Waiting [2021-06-17T19:02:23.723Z] 3088b5b3c5c0: Download complete [2021-06-17T19:02:23.723Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T19:02:23.723Z] 5b7225fbf94c: Download complete [2021-06-17T19:02:23.998Z] 506bd15cee9f: Verifying Checksum [2021-06-17T19:02:23.998Z] 506bd15cee9f: Download complete [2021-06-17T19:02:23.998Z] 75a0a4a0db45: Download complete [2021-06-17T19:02:23.998Z] 595b0fe564bb: Verifying Checksum [2021-06-17T19:02:23.998Z] 595b0fe564bb: Download complete [2021-06-17T19:02:24.606Z] 595b0fe564bb: Pull complete [2021-06-17T19:02:25.207Z] 3088b5b3c5c0: Pull complete [2021-06-17T19:02:25.814Z] 5b7225fbf94c: Pull complete [2021-06-17T19:02:26.092Z] 618dc40b7e24: Verifying Checksum [2021-06-17T19:02:26.092Z] 618dc40b7e24: Download complete [2021-06-17T19:02:27.077Z] ba82ee9f976e: Verifying Checksum [2021-06-17T19:02:27.077Z] ba82ee9f976e: Download complete [2021-06-17T19:02:36.403Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-17T19:02:36.403Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.266s coverage: 63.8% of statements [2021-06-17T19:02:36.403Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T19:02:39.490Z] ba82ee9f976e: Pull complete [2021-06-17T19:02:39.490Z] 506bd15cee9f: Pull complete [2021-06-17T19:02:39.490Z] 75a0a4a0db45: Pull complete [2021-06-17T19:02:42.122Z] 618dc40b7e24: Pull complete [2021-06-17T19:02:42.122Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T19:02:42.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T19:02:42.122Z] ---> a36622ca3599 [2021-06-17T19:02:42.122Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T19:02:44.117Z] ---> Running in bb59d9e887e7 [2021-06-17T19:02:44.579Z] gofmt -l . [2021-06-17T19:02:44.579Z] [ "`gofmt -l .`" = "" ] [2021-06-17T19:02:44.579Z] ./bin/test-attribution-txt.sh [2021-06-17T19:02:44.579Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-17T19:02:44.590Z] $ docker stop --time=1 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 [2021-06-17T19:02:44.720Z] Removing intermediate container bb59d9e887e7 [2021-06-17T19:02:44.720Z] ---> f809570daa7a [2021-06-17T19:02:44.720Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:02:44.720Z] ---> Running in 24a4de8e74c3 [2021-06-17T19:02:46.062Z] $ docker rm -f 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T19:02:46.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T19:02:46.686Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-17T19:02:47.367Z] Removing intermediate container 24a4de8e74c3 [2021-06-17T19:02:47.367Z] ---> 1b10c4f1bc10 [2021-06-17T19:02:47.367Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T19:02:47.367Z] ---> Running in 6e9ad18a4cb8 [2021-06-17T19:02:48.351Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-06-17T19:02:49.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T19:02:49.802Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T19:02:49.814Z] + ls -al . [2021-06-17T19:02:49.814Z] total 132 [2021-06-17T19:02:49.814Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 17 19:02 . [2021-06-17T19:02:49.814Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 19:01 .. [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 17 19:01 Attribution.txt [2021-06-17T19:02:49.814Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 19:01 bin [2021-06-17T19:02:49.814Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 19:01 cmd [2021-06-17T19:02:49.814Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 17 19:02 coverage.out [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 17 19:01 Dockerfile [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 17 19:01 Dockerfile.build [2021-06-17T19:02:49.814Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 19:01 .git [2021-06-17T19:02:49.814Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 19:01 .github [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 17 19:01 .gitignore [2021-06-17T19:02:49.814Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 17 19:02 go.mod [2021-06-17T19:02:49.814Z] -rw-r--r--. 1 jenkins jenkins 23031 Jun 17 19:02 go.sum [2021-06-17T19:02:49.814Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 19:01 internal [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 17 19:01 Jenkinsfile [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 19:01 LICENSE [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 17 19:01 Makefile [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 17 19:01 README.md [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 17 18:59 VERSION [2021-06-17T19:02:49.814Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 17 19:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:02:50.120Z] + 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=fd53acc9c14dc637ad1d0649aa2130107251e178 --label arch=amd64 --label version=1.3.2-dev.25 . [2021-06-17T19:02:50.120Z] Sending build context to Docker daemon 8.681MB [2021-06-17T19:02:50.120Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T19:02:50.120Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-17T19:02:50.120Z] ---> 41cab418b6db [2021-06-17T19:02:50.120Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T19:02:50.120Z] ---> Running in 0f8f6847ecc5 [2021-06-17T19:02:50.384Z] Removing intermediate container 0f8f6847ecc5 [2021-06-17T19:02:50.384Z] ---> d9a7d06a8d36 [2021-06-17T19:02:50.384Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T19:02:50.384Z] ---> Running in 2225b36e33ad [2021-06-17T19:02:50.384Z] Removing intermediate container 2225b36e33ad [2021-06-17T19:02:50.384Z] ---> 866d7b5fad0e [2021-06-17T19:02:50.384Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-17T19:02:50.384Z] ---> Running in 13b148531221 [2021-06-17T19:02:50.384Z] Removing intermediate container 13b148531221 [2021-06-17T19:02:50.384Z] ---> 1cc3b38ee22f [2021-06-17T19:02:50.384Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:02:50.384Z] ---> Running in 26ccb9c8adb7 [2021-06-17T19:02:50.824Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T19:02:50.824Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T19:02:50.824Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T19:02:50.824Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T19:02:50.824Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T19:02:50.975Z] Removing intermediate container 26ccb9c8adb7 [2021-06-17T19:02:50.975Z] ---> 062bd147fe9a [2021-06-17T19:02:50.975Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T19:02:50.975Z] ---> Running in 6b4a129df56f [2021-06-17T19:02:51.094Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T19:02:51.094Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T19:02:51.239Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T19:02:51.685Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T19:02:51.685Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T19:02:51.956Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T19:02:51.956Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T19:02:52.183Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T19:02:52.231Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T19:02:52.503Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T19:02:52.503Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T19:02:52.503Z] OK: 145 MiB in 53 packages [2021-06-17T19:02:52.761Z] OK: 156 MiB in 53 packages [2021-06-17T19:02:52.761Z] Removing intermediate container 6b4a129df56f [2021-06-17T19:02:52.761Z] ---> 533dcfa129e4 [2021-06-17T19:02:52.761Z] Step 8/26 : COPY . . [2021-06-17T19:02:53.360Z] ---> b593a94f83c5 [2021-06-17T19:02:53.360Z] Step 9/26 : RUN go mod tidy [2021-06-17T19:02:53.360Z] ---> Running in 824b6f4611ef [2021-06-17T19:02:53.954Z] Removing intermediate container 824b6f4611ef [2021-06-17T19:02:53.954Z] ---> 29ef04c8999f [2021-06-17T19:02:53.954Z] Step 10/26 : RUN go mod download [2021-06-17T19:02:53.954Z] ---> Running in 9f379c052460 [2021-06-17T19:02:53.958Z] Removing intermediate container 6e9ad18a4cb8 [2021-06-17T19:02:53.958Z] ---> 88801d535513 [2021-06-17T19:02:53.958Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-17T19:02:53.958Z] ---> Running in b69e37f532f9 [2021-06-17T19:02:54.217Z] Removing intermediate container 9f379c052460 [2021-06-17T19:02:54.217Z] ---> 98ff138cd0af [2021-06-17T19:02:54.217Z] Step 11/26 : ARG MAKE='make build' [2021-06-17T19:02:54.217Z] ---> Running in 83eceb9c10e8 [2021-06-17T19:02:54.482Z] Removing intermediate container 83eceb9c10e8 [2021-06-17T19:02:54.482Z] ---> 7f82b0591abe [2021-06-17T19:02:54.482Z] Step 12/26 : RUN $MAKE [2021-06-17T19:02:54.482Z] ---> Running in c2227be32575 [2021-06-17T19:02:54.555Z] Removing intermediate container b69e37f532f9 [2021-06-17T19:02:54.555Z] ---> cf2e5d49f68e [2021-06-17T19:02:54.555Z] Step 7/8 : COPY . . [2021-06-17T19:02:54.752Z] go mod tidy [2021-06-17T19:02:55.033Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.25" -o cmd/device-virtual ./cmd [2021-06-17T19:02:55.544Z] ---> 3ef6d92cd7b9 [2021-06-17T19:02:55.544Z] Step 8/8 : RUN go mod download [2021-06-17T19:02:55.815Z] ---> Running in 193c17266cec [2021-06-17T19:03:10.129Z] Removing intermediate container c2227be32575 [2021-06-17T19:03:10.129Z] ---> cfc6a62dfe1d [2021-06-17T19:03:10.129Z] Step 13/26 : FROM alpine:3.12 [2021-06-17T19:03:10.404Z] 3.12: Pulling from library/alpine [2021-06-17T19:03:10.694Z] 339de151aab4: Pulling fs layer [2021-06-17T19:03:10.694Z] 339de151aab4: Verifying Checksum [2021-06-17T19:03:10.694Z] 339de151aab4: Download complete [2021-06-17T19:03:10.960Z] 339de151aab4: Pull complete [2021-06-17T19:03:10.960Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T19:03:10.960Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T19:03:10.960Z] ---> 13621d1b12d4 [2021-06-17T19:03:10.960Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-17T19:03:10.960Z] ---> Running in 458c9ac328dc [2021-06-17T19:03:10.960Z] Removing intermediate container 458c9ac328dc [2021-06-17T19:03:10.960Z] ---> 36fabd0cddd5 [2021-06-17T19:03:10.960Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:03:10.960Z] ---> Running in e691dc771b09 [2021-06-17T19:03:11.539Z] Removing intermediate container e691dc771b09 [2021-06-17T19:03:11.539Z] ---> ca6a43c85b2f [2021-06-17T19:03:11.539Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T19:03:11.539Z] ---> Running in d6f34238b584 [2021-06-17T19:03:11.804Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T19:03:12.393Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T19:03:12.653Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T19:03:12.914Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T19:03:12.914Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T19:03:12.914Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T19:03:13.855Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T19:03:13.855Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T19:03:13.855Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T19:03:13.855Z] OK: 8 MiB in 20 packages [2021-06-17T19:03:14.119Z] Removing intermediate container d6f34238b584 [2021-06-17T19:03:14.119Z] ---> c5648ad93043 [2021-06-17T19:03:14.119Z] Step 17/26 : WORKDIR / [2021-06-17T19:03:14.382Z] ---> Running in 5f936f785a6d [2021-06-17T19:03:14.382Z] Removing intermediate container 5f936f785a6d [2021-06-17T19:03:14.382Z] ---> d7053d92e94e [2021-06-17T19:03:14.382Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-17T19:03:14.382Z] ---> 93a60db4a986 [2021-06-17T19:03:14.382Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-17T19:03:14.645Z] ---> 61b2938bab14 [2021-06-17T19:03:14.646Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-17T19:03:15.219Z] ---> 2ae33ba5fba5 [2021-06-17T19:03:15.219Z] Step 21/26 : EXPOSE 59900 [2021-06-17T19:03:15.219Z] ---> Running in 3888e424c3e6 [2021-06-17T19:03:15.219Z] Removing intermediate container 3888e424c3e6 [2021-06-17T19:03:15.219Z] ---> a3e77fec8138 [2021-06-17T19:03:15.219Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-17T19:03:15.219Z] ---> Running in d72371c43e17 [2021-06-17T19:03:15.481Z] Removing intermediate container d72371c43e17 [2021-06-17T19:03:15.481Z] ---> 1abfde671eac [2021-06-17T19:03:15.481Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T19:03:15.481Z] ---> Running in 372d0d3d2323 [2021-06-17T19:03:15.481Z] Removing intermediate container 372d0d3d2323 [2021-06-17T19:03:15.481Z] ---> efa2e60b769a [2021-06-17T19:03:15.481Z] Step 24/26 : LABEL arch=amd64 [2021-06-17T19:03:15.481Z] ---> Running in 1d9c1f8d3625 [2021-06-17T19:03:15.481Z] Removing intermediate container 1d9c1f8d3625 [2021-06-17T19:03:15.481Z] ---> 04fc5909ead8 [2021-06-17T19:03:15.481Z] Step 25/26 : LABEL git_sha=fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:03:15.481Z] ---> Running in 5c5bf61e33b0 [2021-06-17T19:03:15.740Z] Removing intermediate container 5c5bf61e33b0 [2021-06-17T19:03:15.740Z] ---> acf775ba3d72 [2021-06-17T19:03:15.740Z] Step 26/26 : LABEL version=1.3.2-dev.25 [2021-06-17T19:03:15.740Z] ---> Running in 8369f3741d27 [2021-06-17T19:03:15.740Z] Removing intermediate container 8369f3741d27 [2021-06-17T19:03:15.740Z] ---> 33c12a1f0d1a [2021-06-17T19:03:15.740Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T19:03:15.740Z] Successfully built 33c12a1f0d1a [2021-06-17T19:03:15.740Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T19:03:15.926Z] provisioning config files... [2021-06-17T19:03:15.943Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config3176959054575518498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:03:16.270Z] ---> docker-login.sh [2021-06-17T19:03:16.270Z] nexus3.edgexfoundry.org:10001 [2021-06-17T19:03:16.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:03:16.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:03:16.270Z] Configure a credential helper to remove this warning. See [2021-06-17T19:03:16.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:03:16.270Z] [2021-06-17T19:03:16.270Z] Login Succeeded [2021-06-17T19:03:16.270Z] nexus3.edgexfoundry.org:10002 [2021-06-17T19:03:16.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:03:16.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:03:16.536Z] Configure a credential helper to remove this warning. See [2021-06-17T19:03:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:03:16.536Z] [2021-06-17T19:03:16.536Z] Login Succeeded [2021-06-17T19:03:16.536Z] nexus3.edgexfoundry.org:10003 [2021-06-17T19:03:16.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:03:16.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:03:16.536Z] Configure a credential helper to remove this warning. See [2021-06-17T19:03:16.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:03:16.536Z] [2021-06-17T19:03:16.536Z] Login Succeeded [2021-06-17T19:03:16.536Z] nexus3.edgexfoundry.org:10004 [2021-06-17T19:03:16.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:03:16.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:03:16.798Z] Configure a credential helper to remove this warning. See [2021-06-17T19:03:16.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:03:16.798Z] [2021-06-17T19:03:16.798Z] Login Succeeded [2021-06-17T19:03:16.798Z] docker.io [2021-06-17T19:03:16.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:03:17.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:03:17.061Z] Configure a credential helper to remove this warning. See [2021-06-17T19:03:17.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:03:17.061Z] [2021-06-17T19:03:17.061Z] Login Succeeded [2021-06-17T19:03:17.061Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T19:03:17.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T19:03:17.161Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-06-17T19:03:17.162Z] fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:03:17.162Z] latest [2021-06-17T19:03:17.162Z] 1.3.2-dev.25 [2021-06-17T19:03:17.162Z] fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:03:17.162Z] master [2021-06-17T19:03:17.162Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:17.527Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:17.855Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:03:17.855Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-17T19:03:17.855Z] cb3a314c718d: Preparing [2021-06-17T19:03:17.855Z] c23bbdf709f7: Preparing [2021-06-17T19:03:17.855Z] 76131f0a2d96: Preparing [2021-06-17T19:03:17.855Z] ba499567fc73: Preparing [2021-06-17T19:03:17.855Z] 020ea92ffb47: Preparing [2021-06-17T19:03:17.855Z] 32f366d666a5: Preparing [2021-06-17T19:03:17.855Z] 32f366d666a5: Waiting [2021-06-17T19:03:19.994Z] c23bbdf709f7: Pushed [2021-06-17T19:03:19.994Z] 32f366d666a5: Layer already exists [2021-06-17T19:03:19.994Z] 020ea92ffb47: Pushed [2021-06-17T19:03:19.994Z] ba499567fc73: Pushed [2021-06-17T19:03:19.994Z] 76131f0a2d96: Pushed [2021-06-17T19:03:19.994Z] cb3a314c718d: Pushed [2021-06-17T19:03:19.994Z] fd53acc9c14dc637ad1d0649aa2130107251e178: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:20.340Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:20.650Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-17T19:03:20.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-17T19:03:20.650Z] cb3a314c718d: Preparing [2021-06-17T19:03:20.650Z] c23bbdf709f7: Preparing [2021-06-17T19:03:20.650Z] 76131f0a2d96: Preparing [2021-06-17T19:03:20.650Z] ba499567fc73: Preparing [2021-06-17T19:03:20.650Z] 020ea92ffb47: Preparing [2021-06-17T19:03:20.650Z] 32f366d666a5: Preparing [2021-06-17T19:03:20.650Z] 32f366d666a5: Waiting [2021-06-17T19:03:20.650Z] cb3a314c718d: Layer already exists [2021-06-17T19:03:20.650Z] c23bbdf709f7: Layer already exists [2021-06-17T19:03:20.650Z] 020ea92ffb47: Layer already exists [2021-06-17T19:03:20.650Z] 76131f0a2d96: Layer already exists [2021-06-17T19:03:20.650Z] ba499567fc73: Layer already exists [2021-06-17T19:03:20.650Z] 32f366d666a5: Layer already exists [2021-06-17T19:03:20.650Z] latest: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:20.984Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:21.298Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 [2021-06-17T19:03:21.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-17T19:03:21.299Z] cb3a314c718d: Preparing [2021-06-17T19:03:21.299Z] c23bbdf709f7: Preparing [2021-06-17T19:03:21.299Z] 76131f0a2d96: Preparing [2021-06-17T19:03:21.299Z] ba499567fc73: Preparing [2021-06-17T19:03:21.299Z] 020ea92ffb47: Preparing [2021-06-17T19:03:21.299Z] 32f366d666a5: Preparing [2021-06-17T19:03:21.299Z] 32f366d666a5: Waiting [2021-06-17T19:03:21.299Z] cb3a314c718d: Layer already exists [2021-06-17T19:03:21.299Z] c23bbdf709f7: Layer already exists [2021-06-17T19:03:21.299Z] 020ea92ffb47: Layer already exists [2021-06-17T19:03:21.299Z] ba499567fc73: Layer already exists [2021-06-17T19:03:21.299Z] 76131f0a2d96: Layer already exists [2021-06-17T19:03:21.299Z] 32f366d666a5: Layer already exists [2021-06-17T19:03:21.299Z] 1.3.2-dev.25: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:21.619Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:21.933Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:03:21.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-17T19:03:21.934Z] cb3a314c718d: Preparing [2021-06-17T19:03:21.934Z] c23bbdf709f7: Preparing [2021-06-17T19:03:21.934Z] 76131f0a2d96: Preparing [2021-06-17T19:03:21.934Z] ba499567fc73: Preparing [2021-06-17T19:03:21.934Z] 020ea92ffb47: Preparing [2021-06-17T19:03:21.934Z] 32f366d666a5: Preparing [2021-06-17T19:03:21.934Z] 32f366d666a5: Waiting [2021-06-17T19:03:21.934Z] 020ea92ffb47: Layer already exists [2021-06-17T19:03:21.934Z] 76131f0a2d96: Layer already exists [2021-06-17T19:03:21.934Z] ba499567fc73: Layer already exists [2021-06-17T19:03:21.934Z] cb3a314c718d: Layer already exists [2021-06-17T19:03:21.934Z] c23bbdf709f7: Layer already exists [2021-06-17T19:03:21.934Z] 32f366d666a5: Layer already exists [2021-06-17T19:03:21.934Z] fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:22.242Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:22.557Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-06-17T19:03:22.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-17T19:03:22.557Z] cb3a314c718d: Preparing [2021-06-17T19:03:22.557Z] c23bbdf709f7: Preparing [2021-06-17T19:03:22.557Z] 76131f0a2d96: Preparing [2021-06-17T19:03:22.557Z] ba499567fc73: Preparing [2021-06-17T19:03:22.557Z] 020ea92ffb47: Preparing [2021-06-17T19:03:22.557Z] 32f366d666a5: Preparing [2021-06-17T19:03:22.557Z] 32f366d666a5: Waiting [2021-06-17T19:03:22.557Z] c23bbdf709f7: Layer already exists [2021-06-17T19:03:22.557Z] cb3a314c718d: Layer already exists [2021-06-17T19:03:22.557Z] 020ea92ffb47: Layer already exists [2021-06-17T19:03:22.557Z] ba499567fc73: Layer already exists [2021-06-17T19:03:22.558Z] 76131f0a2d96: Layer already exists [2021-06-17T19:03:22.558Z] 32f366d666a5: Layer already exists [2021-06-17T19:03:22.558Z] master: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T19:03:22.623Z] ===================================================== [Pipeline] echo [2021-06-17T19:03:22.640Z] taggedImages: [2021-06-17T19:03:22.640Z] - nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:03:22.640Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-17T19:03:22.640Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 [2021-06-17T19:03:22.640Z] - nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:03:22.640Z] - 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-17T19:03:23.398Z] ---> job-cost.sh [2021-06-17T19:03:23.398Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eDyW [2021-06-17T19:03:24.614Z] Removing intermediate container 193c17266cec [2021-06-17T19:03:24.614Z] ---> 82293dcefb88 [2021-06-17T19:03:24.614Z] Successfully built 82293dcefb88 [2021-06-17T19:03:24.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:24.955Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T19:03:24.956Z] . [Pipeline] withDockerContainer [2021-06-17T19:03:25.187Z] prd-ubuntu18.04-docker-arm64-4c-16g-66 does not seem to be running inside a container [2021-06-17T19:03:25.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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-17T19:03:26.779Z] $ docker top b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T19:03:27.781Z] + go version [2021-06-17T19:03:27.781Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T19:03:27.798Z] $ docker stop --time=1 b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 [2021-06-17T19:03:29.646Z] $ docker rm -f b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:03:30.376Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T19:03:30.376Z] . [Pipeline] withDockerContainer [2021-06-17T19:03:30.604Z] prd-ubuntu18.04-docker-arm64-4c-16g-66 does not seem to be running inside a container [2021-06-17T19:03:30.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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-17T19:03:31.574Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T19:03:32.230Z] $ docker top 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T19:03:33.207Z] + go mod tidy [Pipeline] sh [2021-06-17T19:03:34.473Z] + make test [2021-06-17T19:03:34.473Z] go mod tidy [2021-06-17T19:03:35.073Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T19:03:36.057Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-17T19:03:46.534Z] lf-activate-venv(): INFO: Adding /tmp/venv-eDyW/bin to PATH [2021-06-17T19:03:46.534Z] INFO: No Stack... [2021-06-17T19:03:46.534Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T19:03:46.534Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T19:03:46.833Z] + cut -d, -f6 [2021-06-17T19:03:46.833Z] + cat /w/workspace/device-virtual-go/65/archives/cost.csv [Pipeline] lock [2021-06-17T19:03:46.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [2021-06-17T19:03:46.873Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] did not exist. Created. [2021-06-17T19:03:46.873Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T19:03:47.200Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T19:03:47.273Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T19:03:47.284Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T19:04:44.173Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-17T19:04:44.174Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.745s coverage: 63.8% of statements [2021-06-17T19:04:44.174Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T19:05:11.080Z] gofmt -l . [2021-06-17T19:05:11.080Z] [ "`gofmt -l .`" = "" ] [2021-06-17T19:05:11.080Z] ./bin/test-attribution-txt.sh [2021-06-17T19:05:11.080Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-17T19:05:11.104Z] $ docker stop --time=1 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e [2021-06-17T19:05:13.111Z] $ docker rm -f 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T19:05:14.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T19:05:14.069Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T19:05:14.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T19:05:15.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T19:05:15.436Z] + ls -al . [2021-06-17T19:05:15.436Z] total 156 [2021-06-17T19:05:15.436Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 17 19:05 . [2021-06-17T19:05:15.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 19:01 .. [2021-06-17T19:05:15.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 19:01 .git [2021-06-17T19:05:15.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:01 .github [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 17 19:01 .gitignore [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 17 19:01 Attribution.txt [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 17 19:01 Dockerfile [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 17 19:01 Dockerfile.build [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 19:01 Jenkinsfile [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 19:01 LICENSE [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 17 19:01 Makefile [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 17 19:01 README.md [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 18:59 VERSION [2021-06-17T19:05:15.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:01 bin [2021-06-17T19:05:15.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:01 cmd [2021-06-17T19:05:15.436Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 17 19:04 coverage.out [2021-06-17T19:05:15.436Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 17 19:05 go.mod [2021-06-17T19:05:15.436Z] -rw-r--r-- 1 jenkins jenkins 23031 Jun 17 19:03 go.sum [2021-06-17T19:05:15.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:01 internal [2021-06-17T19:05:15.436Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 19:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:05:15.782Z] + 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=fd53acc9c14dc637ad1d0649aa2130107251e178 --label arch=arm64 --label version=1.3.2-dev.25 . [2021-06-17T19:05:16.387Z] Sending build context to Docker daemon 8.68MB [2021-06-17T19:05:16.387Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T19:05:16.387Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-17T19:05:16.387Z] ---> 82293dcefb88 [2021-06-17T19:05:16.387Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T19:05:16.663Z] ---> Running in cf2f5e5e1058 [2021-06-17T19:05:16.939Z] Removing intermediate container cf2f5e5e1058 [2021-06-17T19:05:16.939Z] ---> fc128bff092a [2021-06-17T19:05:16.939Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T19:05:17.216Z] ---> Running in 28379618b3b9 [2021-06-17T19:05:17.812Z] Removing intermediate container 28379618b3b9 [2021-06-17T19:05:17.813Z] ---> dbdefa4a0981 [2021-06-17T19:05:17.813Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-17T19:05:17.813Z] ---> Running in de2a981bf20a [2021-06-17T19:05:18.416Z] Removing intermediate container de2a981bf20a [2021-06-17T19:05:18.416Z] ---> 08db2b383f7f [2021-06-17T19:05:18.416Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:05:18.416Z] ---> Running in 8c7eb007b399 [2021-06-17T19:05:21.039Z] Removing intermediate container 8c7eb007b399 [2021-06-17T19:05:21.039Z] ---> 93c8d61e2c8e [2021-06-17T19:05:21.039Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T19:05:21.039Z] ---> Running in 70bb6a4fc002 [2021-06-17T19:05:22.019Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T19:05:22.997Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T19:05:23.986Z] OK: 145 MiB in 53 packages [2021-06-17T19:05:24.972Z] Removing intermediate container 70bb6a4fc002 [2021-06-17T19:05:24.972Z] ---> 7512233d41b3 [2021-06-17T19:05:24.972Z] Step 8/26 : COPY . . [2021-06-17T19:05:25.953Z] ---> 54e3bba049f4 [2021-06-17T19:05:25.953Z] Step 9/26 : RUN go mod tidy [2021-06-17T19:05:26.226Z] ---> Running in f4e28128b1ee [2021-06-17T19:05:28.868Z] Removing intermediate container f4e28128b1ee [2021-06-17T19:05:28.868Z] ---> c200a6c9fe6d [2021-06-17T19:05:28.868Z] Step 10/26 : RUN go mod download [2021-06-17T19:05:29.143Z] ---> Running in 0eccb572d4e6 [2021-06-17T19:05:31.765Z] Removing intermediate container 0eccb572d4e6 [2021-06-17T19:05:31.765Z] ---> 5491b3c30733 [2021-06-17T19:05:31.765Z] Step 11/26 : ARG MAKE='make build' [2021-06-17T19:05:31.765Z] ---> Running in 0bbc3e88f869 [2021-06-17T19:05:32.043Z] Removing intermediate container 0bbc3e88f869 [2021-06-17T19:05:32.043Z] ---> 1d05f99281b7 [2021-06-17T19:05:32.043Z] Step 12/26 : RUN $MAKE [2021-06-17T19:05:32.043Z] ---> Running in 72fb5765e38e [2021-06-17T19:05:33.477Z] go mod tidy [2021-06-17T19:05:33.753Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.25" -o cmd/device-virtual ./cmd [2021-06-17T19:06:30.351Z] Removing intermediate container 72fb5765e38e [2021-06-17T19:06:30.351Z] ---> fb0a8856a1e8 [2021-06-17T19:06:30.351Z] Step 13/26 : FROM alpine:3.12 [2021-06-17T19:06:30.351Z] 3.12: Pulling from library/alpine [2021-06-17T19:06:30.351Z] d2f70382dc9a: Pulling fs layer [2021-06-17T19:06:30.351Z] d2f70382dc9a: Download complete [2021-06-17T19:06:30.351Z] d2f70382dc9a: Pull complete [2021-06-17T19:06:30.351Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T19:06:30.351Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T19:06:30.351Z] ---> c4fd0aeabfcf [2021-06-17T19:06:30.351Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-17T19:06:30.351Z] ---> Running in ff13fc45eac3 [2021-06-17T19:06:30.351Z] Removing intermediate container ff13fc45eac3 [2021-06-17T19:06:30.351Z] ---> d41144cc6f7b [2021-06-17T19:06:30.351Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T19:06:30.351Z] ---> Running in 14b20b13eec5 [2021-06-17T19:06:30.351Z] Removing intermediate container 14b20b13eec5 [2021-06-17T19:06:30.351Z] ---> 96b783823ed3 [2021-06-17T19:06:30.351Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T19:06:30.351Z] ---> Running in 0f0ad1063bb2 [2021-06-17T19:06:30.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T19:06:30.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T19:06:30.351Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T19:06:30.351Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T19:06:30.351Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T19:06:30.351Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T19:06:30.351Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T19:06:30.351Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T19:06:30.351Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T19:06:30.351Z] OK: 8 MiB in 20 packages [2021-06-17T19:06:31.333Z] Removing intermediate container 0f0ad1063bb2 [2021-06-17T19:06:31.333Z] ---> cfd0eaa5c576 [2021-06-17T19:06:31.333Z] Step 17/26 : WORKDIR / [2021-06-17T19:06:31.333Z] ---> Running in ec3978f45df1 [2021-06-17T19:06:31.930Z] Removing intermediate container ec3978f45df1 [2021-06-17T19:06:31.930Z] ---> 2c64d9a9d7e1 [2021-06-17T19:06:31.930Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-17T19:06:32.921Z] ---> 6c557cbe048f [2021-06-17T19:06:32.921Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-17T19:06:33.515Z] ---> c1f4ad95d854 [2021-06-17T19:06:33.515Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-17T19:06:34.969Z] ---> 1a070058731d [2021-06-17T19:06:34.969Z] Step 21/26 : EXPOSE 59900 [2021-06-17T19:06:34.969Z] ---> Running in 0cbf1e46f136 [2021-06-17T19:06:35.566Z] Removing intermediate container 0cbf1e46f136 [2021-06-17T19:06:35.566Z] ---> cbf513e45aa7 [2021-06-17T19:06:35.566Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-17T19:06:35.566Z] ---> Running in 7d4484d8691b [2021-06-17T19:06:36.163Z] Removing intermediate container 7d4484d8691b [2021-06-17T19:06:36.163Z] ---> 4f89d6745565 [2021-06-17T19:06:36.163Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T19:06:36.163Z] ---> Running in 6f629211726f [2021-06-17T19:06:36.761Z] Removing intermediate container 6f629211726f [2021-06-17T19:06:36.761Z] ---> 86d3b5fdbb2b [2021-06-17T19:06:36.761Z] Step 24/26 : LABEL arch=arm64 [2021-06-17T19:06:36.761Z] ---> Running in c53b4650bc66 [2021-06-17T19:06:37.037Z] Removing intermediate container c53b4650bc66 [2021-06-17T19:06:37.037Z] ---> 3f1f40385d31 [2021-06-17T19:06:37.037Z] Step 25/26 : LABEL git_sha=fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:06:37.312Z] ---> Running in d57fbbb89e38 [2021-06-17T19:06:37.910Z] Removing intermediate container d57fbbb89e38 [2021-06-17T19:06:37.910Z] ---> ce399522e590 [2021-06-17T19:06:37.910Z] Step 26/26 : LABEL version=1.3.2-dev.25 [2021-06-17T19:06:37.910Z] ---> Running in fdeac6984fba [2021-06-17T19:06:38.508Z] Removing intermediate container fdeac6984fba [2021-06-17T19:06:38.508Z] ---> 5888c5abe68a [2021-06-17T19:06:38.508Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T19:06:38.508Z] Successfully built 5888c5abe68a [2021-06-17T19:06:38.508Z] 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-17T19:06:38.781Z] provisioning config files... [2021-06-17T19:06:38.803Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config921586785130538180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:06:39.182Z] ---> docker-login.sh [2021-06-17T19:06:39.182Z] nexus3.edgexfoundry.org:10001 [2021-06-17T19:06:39.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:06:39.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:06:39.731Z] Configure a credential helper to remove this warning. See [2021-06-17T19:06:39.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:06:39.731Z] [2021-06-17T19:06:39.731Z] Login Succeeded [2021-06-17T19:06:39.731Z] nexus3.edgexfoundry.org:10002 [2021-06-17T19:06:40.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:06:40.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:06:40.283Z] Configure a credential helper to remove this warning. See [2021-06-17T19:06:40.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:06:40.283Z] [2021-06-17T19:06:40.283Z] Login Succeeded [2021-06-17T19:06:40.283Z] nexus3.edgexfoundry.org:10003 [2021-06-17T19:06:40.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:06:40.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:06:40.838Z] Configure a credential helper to remove this warning. See [2021-06-17T19:06:40.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:06:40.838Z] [2021-06-17T19:06:40.838Z] Login Succeeded [2021-06-17T19:06:40.838Z] nexus3.edgexfoundry.org:10004 [2021-06-17T19:06:41.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:06:41.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:06:41.388Z] Configure a credential helper to remove this warning. See [2021-06-17T19:06:41.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:06:41.388Z] [2021-06-17T19:06:41.388Z] Login Succeeded [2021-06-17T19:06:41.388Z] docker.io [2021-06-17T19:06:41.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T19:06:42.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T19:06:42.261Z] Configure a credential helper to remove this warning. See [2021-06-17T19:06:42.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T19:06:42.261Z] [2021-06-17T19:06:42.261Z] Login Succeeded [2021-06-17T19:06:42.261Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T19:06:42.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T19:06:42.370Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-06-17T19:06:42.370Z] fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:06:42.370Z] latest [2021-06-17T19:06:42.370Z] 1.3.2-dev.25 [2021-06-17T19:06:42.370Z] fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:06:42.370Z] master [2021-06-17T19:06:42.370Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:42.763Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:43.114Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:06:43.115Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-17T19:06:43.115Z] 73f9ebaaf174: Preparing [2021-06-17T19:06:43.115Z] e6ad2ed2b877: Preparing [2021-06-17T19:06:43.115Z] 40653b914c00: Preparing [2021-06-17T19:06:43.115Z] 644135be4dae: Preparing [2021-06-17T19:06:43.115Z] 116dc3d1587f: Preparing [2021-06-17T19:06:43.115Z] 3fbe34a1663b: Preparing [2021-06-17T19:06:43.115Z] 3fbe34a1663b: Waiting [2021-06-17T19:06:43.391Z] 40653b914c00: Pushed [2021-06-17T19:06:43.391Z] 116dc3d1587f: Pushed [2021-06-17T19:06:43.391Z] e6ad2ed2b877: Pushed [2021-06-17T19:06:43.391Z] 3fbe34a1663b: Layer already exists [2021-06-17T19:06:43.992Z] 644135be4dae: Pushed [2021-06-17T19:06:46.609Z] 73f9ebaaf174: Pushed [2021-06-17T19:06:46.882Z] fd53acc9c14dc637ad1d0649aa2130107251e178: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:47.238Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:47.582Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-17T19:06:47.582Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-17T19:06:47.855Z] 73f9ebaaf174: Preparing [2021-06-17T19:06:47.855Z] e6ad2ed2b877: Preparing [2021-06-17T19:06:47.855Z] 40653b914c00: Preparing [2021-06-17T19:06:47.855Z] 644135be4dae: Preparing [2021-06-17T19:06:47.855Z] 116dc3d1587f: Preparing [2021-06-17T19:06:47.855Z] 3fbe34a1663b: Preparing [2021-06-17T19:06:47.855Z] 3fbe34a1663b: Waiting [2021-06-17T19:06:47.855Z] e6ad2ed2b877: Layer already exists [2021-06-17T19:06:47.855Z] 73f9ebaaf174: Layer already exists [2021-06-17T19:06:47.855Z] 116dc3d1587f: Layer already exists [2021-06-17T19:06:47.855Z] 644135be4dae: Layer already exists [2021-06-17T19:06:47.855Z] 40653b914c00: Layer already exists [2021-06-17T19:06:47.855Z] 3fbe34a1663b: Layer already exists [2021-06-17T19:06:48.128Z] latest: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:48.486Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:48.829Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 [2021-06-17T19:06:48.829Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-17T19:06:48.829Z] 73f9ebaaf174: Preparing [2021-06-17T19:06:48.829Z] e6ad2ed2b877: Preparing [2021-06-17T19:06:48.829Z] 40653b914c00: Preparing [2021-06-17T19:06:48.829Z] 644135be4dae: Preparing [2021-06-17T19:06:48.829Z] 116dc3d1587f: Preparing [2021-06-17T19:06:48.829Z] 3fbe34a1663b: Preparing [2021-06-17T19:06:48.829Z] 3fbe34a1663b: Waiting [2021-06-17T19:06:49.106Z] 40653b914c00: Layer already exists [2021-06-17T19:06:49.106Z] e6ad2ed2b877: Layer already exists [2021-06-17T19:06:49.106Z] 644135be4dae: Layer already exists [2021-06-17T19:06:49.106Z] 116dc3d1587f: Layer already exists [2021-06-17T19:06:49.106Z] 73f9ebaaf174: Layer already exists [2021-06-17T19:06:49.106Z] 3fbe34a1663b: Layer already exists [2021-06-17T19:06:49.106Z] 1.3.2-dev.25: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:49.474Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:49.820Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:06:49.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-17T19:06:49.820Z] 73f9ebaaf174: Preparing [2021-06-17T19:06:49.820Z] e6ad2ed2b877: Preparing [2021-06-17T19:06:49.820Z] 40653b914c00: Preparing [2021-06-17T19:06:49.820Z] 644135be4dae: Preparing [2021-06-17T19:06:49.820Z] 116dc3d1587f: Preparing [2021-06-17T19:06:49.820Z] 3fbe34a1663b: Preparing [2021-06-17T19:06:49.820Z] 3fbe34a1663b: Waiting [2021-06-17T19:06:50.097Z] e6ad2ed2b877: Layer already exists [2021-06-17T19:06:50.097Z] 40653b914c00: Layer already exists [2021-06-17T19:06:50.097Z] 644135be4dae: Layer already exists [2021-06-17T19:06:50.097Z] 116dc3d1587f: Layer already exists [2021-06-17T19:06:50.097Z] 73f9ebaaf174: Layer already exists [2021-06-17T19:06:50.097Z] 3fbe34a1663b: Layer already exists [2021-06-17T19:06:50.097Z] fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:50.452Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:06:50.793Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-06-17T19:06:50.793Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-17T19:06:50.793Z] 73f9ebaaf174: Preparing [2021-06-17T19:06:50.793Z] e6ad2ed2b877: Preparing [2021-06-17T19:06:50.793Z] 40653b914c00: Preparing [2021-06-17T19:06:50.793Z] 644135be4dae: Preparing [2021-06-17T19:06:50.793Z] 116dc3d1587f: Preparing [2021-06-17T19:06:50.793Z] 3fbe34a1663b: Preparing [2021-06-17T19:06:50.793Z] 3fbe34a1663b: Waiting [2021-06-17T19:06:50.793Z] 644135be4dae: Layer already exists [2021-06-17T19:06:50.793Z] 40653b914c00: Layer already exists [2021-06-17T19:06:50.793Z] e6ad2ed2b877: Layer already exists [2021-06-17T19:06:50.793Z] 73f9ebaaf174: Layer already exists [2021-06-17T19:06:51.068Z] 116dc3d1587f: Layer already exists [2021-06-17T19:06:51.068Z] 3fbe34a1663b: Layer already exists [2021-06-17T19:06:51.068Z] master: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T19:06:51.146Z] ===================================================== [Pipeline] echo [2021-06-17T19:06:51.165Z] taggedImages: [2021-06-17T19:06:51.165Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 [2021-06-17T19:06:51.165Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-17T19:06:51.165Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 [2021-06-17T19:06:51.165Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [2021-06-17T19:06:51.165Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:06:51.660Z] ---> job-cost.sh [2021-06-17T19:06:51.661Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CQGP [2021-06-17T19:07:30.632Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T19:08:52.389Z] lf-activate-venv(): INFO: Adding /tmp/venv-CQGP/bin to PATH [2021-06-17T19:08:52.389Z] INFO: No Stack... [2021-06-17T19:08:52.660Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T19:08:53.253Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T19:08:53.598Z] + cut -d, -f6 [2021-06-17T19:08:53.598Z] + cat /w/workspace/device-virtual-go/65/archives/cost.csv [Pipeline] lock [2021-06-17T19:08:53.662Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [2021-06-17T19:08:53.673Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] did not exist. Created. [2021-06-17T19:08:53.673Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T19:08:54.043Z] /w/workspace/device-virtual-go/65@tmp/durable-d4cf4b30/script.sh: 1: /w/workspace/device-virtual-go/65@tmp/durable-d4cf4b30/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T19:08:54.389Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T19:08:54.428Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T19:08:54.586Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T19:08:54.611Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-65-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-17T19:08:55.341Z] provisioning config files... [2021-06-17T19:08:55.352Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3094027466920478743tmp [Pipeline] { [Pipeline] sh [2021-06-17T19:08:55.706Z] + set +x [2021-06-17T19:08:55.706Z] + curl -s https://codecov.io/bash [2021-06-17T19:08:55.706Z] + bash -s -- [2021-06-17T19:08:55.706Z] [2021-06-17T19:08:55.706Z] _____ _ [2021-06-17T19:08:55.706Z] / ____| | | [2021-06-17T19:08:55.706Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T19:08:55.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T19:08:55.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T19:08:55.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T19:08:55.706Z] Bash-1.0.3 [2021-06-17T19:08:55.706Z] [2021-06-17T19:08:55.706Z] [2021-06-17T19:08:55.706Z] ==> git version 2.24.4 found [2021-06-17T19:08:55.706Z] ==> 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-17T19:08:55.706Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T19:08:55.706Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T19:08:55.706Z] ==> Jenkins CI detected. [2021-06-17T19:08:55.706Z] project root: . [2021-06-17T19:08:55.706Z] --> token set from env [2021-06-17T19:08:55.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T19:08:55.972Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T19:08:55.972Z] ==> Python coveragepy not found [2021-06-17T19:08:55.972Z] ==> Searching for coverage reports in: [2021-06-17T19:08:55.972Z] + . [2021-06-17T19:08:55.972Z] -> Found 1 reports [2021-06-17T19:08:55.972Z] ==> Detecting git/mercurial file structure [2021-06-17T19:08:55.972Z] ==> Reading reports [2021-06-17T19:08:55.972Z] + ./coverage.out bytes=47257 [2021-06-17T19:08:55.972Z] ==> Appending adjustments [2021-06-17T19:08:55.972Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T19:08:55.972Z] + Found adjustments [2021-06-17T19:08:55.972Z] ==> Gzipping contents [2021-06-17T19:08:55.972Z] 8.0K /tmp/codecov.ZvnTkg.gz [2021-06-17T19:08:55.972Z] ==> Uploading reports [2021-06-17T19:08:55.972Z] url: https://codecov.io [2021-06-17T19:08:55.972Z] query: branch=master&commit=fd53acc9c14dc637ad1d0649aa2130107251e178&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T19:08:55.972Z] -> Pinging Codecov [2021-06-17T19:08:55.972Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=fd53acc9c14dc637ad1d0649aa2130107251e178&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T19:08:56.556Z] -> Uploading to [2021-06-17T19:08:56.556Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/5E52B4B073DB2E39498172D8E973AA87/fd53acc9c14dc637ad1d0649aa2130107251e178/c97c763f-ce32-4f5f-bf17-4d3efb76b2b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T190856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01018bd5da9676cd5f40a1cdf3021b70274db59eae439dbde0337d38ad5aca53 [2021-06-17T19:08:56.556Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T19:08:56.556Z] Dload Upload Total Spent Left Speed [2021-06-17T19:08:56.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5806 0 0 100 5806 0 13982 --:--:-- --:--:-- --:--:-- 13956 [2021-06-17T19:08:56.817Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] } [2021-06-17T19:08:56.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-17T19:08:57.652Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-17T19:08:57.669Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:08:57.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T19:08:57.984Z] [2021-06-17T19:08:57.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:08:58.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T19:08:58.317Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-17T19:08:58.317Z] 188c0c94c7c5: Pulling fs layer [2021-06-17T19:08:58.317Z] 0ef7d3d256c8: Pulling fs layer [2021-06-17T19:08:58.317Z] de9db76c5a1d: Pulling fs layer [2021-06-17T19:08:58.317Z] 0eba1c9be4d2: Pulling fs layer [2021-06-17T19:08:58.317Z] 0d57e429df01: Pulling fs layer [2021-06-17T19:08:58.317Z] 4e4be7b47b0d: Pulling fs layer [2021-06-17T19:08:58.317Z] e1f770b5df2f: Pulling fs layer [2021-06-17T19:08:58.317Z] 85a0685a4137: Pulling fs layer [2021-06-17T19:08:58.317Z] 0d57e429df01: Waiting [2021-06-17T19:08:58.317Z] 4e4be7b47b0d: Waiting [2021-06-17T19:08:58.317Z] e1f770b5df2f: Waiting [2021-06-17T19:08:58.317Z] 85a0685a4137: Waiting [2021-06-17T19:08:58.317Z] 0eba1c9be4d2: Waiting [2021-06-17T19:08:58.317Z] de9db76c5a1d: Verifying Checksum [2021-06-17T19:08:58.317Z] de9db76c5a1d: Download complete [2021-06-17T19:08:58.317Z] 0ef7d3d256c8: Verifying Checksum [2021-06-17T19:08:58.317Z] 0ef7d3d256c8: Download complete [2021-06-17T19:08:58.317Z] 0d57e429df01: Verifying Checksum [2021-06-17T19:08:58.317Z] 0d57e429df01: Download complete [2021-06-17T19:08:58.317Z] 4e4be7b47b0d: Verifying Checksum [2021-06-17T19:08:58.317Z] 4e4be7b47b0d: Download complete [2021-06-17T19:08:58.595Z] 188c0c94c7c5: Verifying Checksum [2021-06-17T19:08:58.595Z] 188c0c94c7c5: Download complete [2021-06-17T19:08:58.595Z] 188c0c94c7c5: Pull complete [2021-06-17T19:08:58.857Z] 0ef7d3d256c8: Pull complete [2021-06-17T19:08:58.857Z] de9db76c5a1d: Pull complete [2021-06-17T19:08:59.429Z] e1f770b5df2f: Verifying Checksum [2021-06-17T19:08:59.429Z] e1f770b5df2f: Download complete [2021-06-17T19:09:01.991Z] 0eba1c9be4d2: Verifying Checksum [2021-06-17T19:09:01.991Z] 0eba1c9be4d2: Download complete [2021-06-17T19:09:01.991Z] 85a0685a4137: Verifying Checksum [2021-06-17T19:09:01.991Z] 85a0685a4137: Download complete [2021-06-17T19:09:05.348Z] 0eba1c9be4d2: Pull complete [2021-06-17T19:09:05.348Z] 0d57e429df01: Pull complete [2021-06-17T19:09:05.348Z] 4e4be7b47b0d: Pull complete [2021-06-17T19:09:05.933Z] e1f770b5df2f: Pull complete [2021-06-17T19:09:09.254Z] 85a0685a4137: Pull complete [2021-06-17T19:09:09.254Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-17T19:09:09.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T19:09:09.254Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-17T19:09:09.351Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:09:09.390Z] $ 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-17T19:09:11.799Z] $ docker top 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-17T19:09:11.906Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-17T19:09:12.202Z] + set -o pipefail [2021-06-17T19:09:12.202Z] + snyk monitor '--org=edgex-jenkins' [2021-06-17T19:09:20.362Z] [2021-06-17T19:09:20.362Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-06-17T19:09:20.362Z] [2021-06-17T19:09:20.362Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9fec6f1e-0368-4436-a875-705c738b6c2f [2021-06-17T19:09:20.362Z] [2021-06-17T19:09:20.362Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-17T19:09:20.362Z] [2021-06-17T19:09:20.362Z] [Pipeline] } [2021-06-17T19:09:20.373Z] $ docker stop --time=1 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 [2021-06-17T19:09:22.442Z] $ docker rm -f 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 [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-17T19:09:23.658Z] + git log --format=format:%s -1 fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:09:23.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T19:09:23.967Z] . [Pipeline] withDockerContainer [2021-06-17T19:09:24.050Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:09:24.086Z] $ 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-17T19:09:24.500Z] $ docker top 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T19:09:24.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T19:09:24.637Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T19:09:24.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T19:09:24.748Z] $ docker exec 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 ssh-agent [2021-06-17T19:09:24.861Z] SSH_AUTH_SOCK=/tmp/ssh-5es0OyQnn1qX/agent.14 [2021-06-17T19:09:24.861Z] SSH_AGENT_PID=20 [2021-06-17T19:09:24.868Z] Running ssh-add (command line suppressed) [2021-06-17T19:09:24.960Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1279244413492337062.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1279244413492337062.key) [2021-06-17T19:09:24.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T19:09:25.295Z] + git semver tag [2021-06-17T19:09:25.296Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T19:09:25.296Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-17T19:09:25.296Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-17T19:09:25.296Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T19:09:25.296Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T19:09:25.296Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T19:09:25.296Z] # $SEMVER_BRANCH = master [2021-06-17T19:09:25.296Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-17T19:09:25.296Z] # fd53acc9c14dc637ad1d0649aa2130107251e178 HEAD [2021-06-17T19:09:25.296Z] # -> Force: false [2021-06-17T19:09:25.296Z] # 359256a694bba90f4127a9c404e7cec1aff37426 refs/tags/v1.3.2-dev.25 [Pipeline] } [2021-06-17T19:09:25.303Z] $ docker exec --env ******** --env ******** 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 ssh-agent -k [2021-06-17T19:09:25.397Z] unset SSH_AUTH_SOCK; [2021-06-17T19:09:25.398Z] unset SSH_AGENT_PID; [2021-06-17T19:09:25.398Z] echo Agent pid 20 killed; [2021-06-17T19:09:25.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T19:09:25.757Z] + git semver [Pipeline] } [2021-06-17T19:09:25.769Z] $ docker stop --time=1 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 [2021-06-17T19:09:26.963Z] $ docker rm -f 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:09:27.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T19:09:27.485Z] [2021-06-17T19:09:27.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:09:27.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T19:09:27.823Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-17T19:09:27.823Z] ab5ef0e58194: Pulling fs layer [2021-06-17T19:09:27.823Z] 9712f1f96733: Pulling fs layer [2021-06-17T19:09:27.823Z] 63f879dbbcfc: Pulling fs layer [2021-06-17T19:09:27.823Z] 0d9ebad4ef96: Pulling fs layer [2021-06-17T19:09:27.823Z] e9a5061849ea: Pulling fs layer [2021-06-17T19:09:27.823Z] d747dcd14b5f: Pulling fs layer [2021-06-17T19:09:27.823Z] 2de7ff778b66: Pulling fs layer [2021-06-17T19:09:27.823Z] e9a5061849ea: Waiting [2021-06-17T19:09:27.823Z] d747dcd14b5f: Waiting [2021-06-17T19:09:27.823Z] 2de7ff778b66: Waiting [2021-06-17T19:09:27.823Z] 0d9ebad4ef96: Waiting [2021-06-17T19:09:27.823Z] 9712f1f96733: Verifying Checksum [2021-06-17T19:09:27.823Z] 9712f1f96733: Download complete [2021-06-17T19:09:28.768Z] 63f879dbbcfc: Verifying Checksum [2021-06-17T19:09:28.768Z] 63f879dbbcfc: Download complete [2021-06-17T19:09:29.343Z] e9a5061849ea: Verifying Checksum [2021-06-17T19:09:29.343Z] e9a5061849ea: Download complete [2021-06-17T19:09:29.343Z] d747dcd14b5f: Verifying Checksum [2021-06-17T19:09:29.343Z] d747dcd14b5f: Download complete [2021-06-17T19:09:29.607Z] 2de7ff778b66: Verifying Checksum [2021-06-17T19:09:29.607Z] 2de7ff778b66: Download complete [2021-06-17T19:09:29.607Z] 0d9ebad4ef96: Verifying Checksum [2021-06-17T19:09:29.607Z] 0d9ebad4ef96: Download complete [2021-06-17T19:09:29.877Z] ab5ef0e58194: Verifying Checksum [2021-06-17T19:09:29.877Z] ab5ef0e58194: Download complete [2021-06-17T19:09:33.212Z] ab5ef0e58194: Pull complete [2021-06-17T19:09:33.212Z] 9712f1f96733: Pull complete [2021-06-17T19:09:33.481Z] 63f879dbbcfc: Pull complete [2021-06-17T19:09:36.803Z] 0d9ebad4ef96: Pull complete [2021-06-17T19:09:37.068Z] e9a5061849ea: Pull complete [2021-06-17T19:09:37.068Z] d747dcd14b5f: Pull complete [2021-06-17T19:09:38.055Z] 2de7ff778b66: Pull complete [2021-06-17T19:09:38.055Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-17T19:09:38.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T19:09:38.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-17T19:09:38.135Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:09:38.181Z] $ 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-17T19:09:41.259Z] $ docker top 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-17T19:09:41.380Z] provisioning config files... [2021-06-17T19:09:41.393Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4803041765433552461tmp [2021-06-17T19:09:41.406Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config9163542569019120716tmp [2021-06-17T19:09:41.419Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7084421837937529674tmp [Pipeline] { [Pipeline] echo [2021-06-17T19:09:41.450Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:09:41.752Z] ---> sigul-configuration.sh [2021-06-17T19:09:41.752Z] gpg: directory `/root/.gnupg' created [2021-06-17T19:09:41.753Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-17T19:09:41.753Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-17T19:09:41.753Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-17T19:09:41.753Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-17T19:09:41.753Z] gpg: CAST5 encrypted data [2021-06-17T19:09:41.753Z] gpg: encrypted with 1 passphrase [2021-06-17T19:09:41.753Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-17T19:09:42.055Z] + mkdir /home/jenkins [2021-06-17T19:09:42.055Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-17T19:09:42.352Z] + 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-17T19:09:42.365Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:09:42.664Z] ---> sigul-install.sh [2021-06-17T19:09:46.882Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-17T19:09:47.178Z] + git tag --list [2021-06-17T19:09:47.178Z] v1.0.0 [2021-06-17T19:09:47.178Z] v1.1.0 [2021-06-17T19:09:47.178Z] v1.1.1 [2021-06-17T19:09:47.178Z] v1.2.1 [2021-06-17T19:09:47.178Z] v1.2.2 [2021-06-17T19:09:47.178Z] v1.2.3 [2021-06-17T19:09:47.178Z] v1.3.0 [2021-06-17T19:09:47.178Z] v1.3.1 [2021-06-17T19:09:47.178Z] v1.3.1-dev.1 [2021-06-17T19:09:47.178Z] v1.3.1-dev.2 [2021-06-17T19:09:47.178Z] v1.3.1-dev.3 [2021-06-17T19:09:47.178Z] v1.3.1-dev.4 [2021-06-17T19:09:47.178Z] v1.3.1-dev.5 [2021-06-17T19:09:47.178Z] v1.3.2-dev.1 [2021-06-17T19:09:47.178Z] v1.3.2-dev.10 [2021-06-17T19:09:47.178Z] v1.3.2-dev.11 [2021-06-17T19:09:47.178Z] v1.3.2-dev.12 [2021-06-17T19:09:47.178Z] v1.3.2-dev.13 [2021-06-17T19:09:47.178Z] v1.3.2-dev.14 [2021-06-17T19:09:47.178Z] v1.3.2-dev.15 [2021-06-17T19:09:47.178Z] v1.3.2-dev.16 [2021-06-17T19:09:47.178Z] v1.3.2-dev.17 [2021-06-17T19:09:47.178Z] v1.3.2-dev.18 [2021-06-17T19:09:47.178Z] v1.3.2-dev.19 [2021-06-17T19:09:47.178Z] v1.3.2-dev.2 [2021-06-17T19:09:47.178Z] v1.3.2-dev.20 [2021-06-17T19:09:47.178Z] v1.3.2-dev.21 [2021-06-17T19:09:47.178Z] v1.3.2-dev.22 [2021-06-17T19:09:47.178Z] v1.3.2-dev.23 [2021-06-17T19:09:47.178Z] v1.3.2-dev.24 [2021-06-17T19:09:47.178Z] v1.3.2-dev.25 [2021-06-17T19:09:47.178Z] v1.3.2-dev.3 [2021-06-17T19:09:47.178Z] v1.3.2-dev.4 [2021-06-17T19:09:47.178Z] v1.3.2-dev.5 [2021-06-17T19:09:47.178Z] v1.3.2-dev.6 [2021-06-17T19:09:47.178Z] v1.3.2-dev.7 [2021-06-17T19:09:47.178Z] v1.3.2-dev.8 [2021-06-17T19:09:47.178Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-17T19:09:47.484Z] + lftools sign git-tag v1.3.2-dev.25 [2021-06-17T19:09:48.065Z] Signing Git tag with Sigul... [2021-06-17T19:09:48.065Z] Signing v1.3.2-dev.25 [Pipeline] echo [2021-06-17T19:09:49.024Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:09:49.328Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-17T19:09:49.338Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-17T19:09:49.367Z] $ docker stop --time=1 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e [2021-06-17T19:09:50.824Z] $ docker rm -f 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:09:51.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T19:09:51.539Z] . [Pipeline] withDockerContainer [2021-06-17T19:09:51.624Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:09:51.674Z] $ 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-17T19:09:52.072Z] $ docker top 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T19:09:52.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T19:09:52.233Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T19:09:52.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T19:09:52.353Z] $ docker exec 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de ssh-agent [2021-06-17T19:09:52.523Z] SSH_AUTH_SOCK=/tmp/ssh-xCqfstgNGcEF/agent.13 [2021-06-17T19:09:52.523Z] SSH_AGENT_PID=19 [2021-06-17T19:09:52.532Z] Running ssh-add (command line suppressed) [2021-06-17T19:09:52.639Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1143974165309371196.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1143974165309371196.key) [2021-06-17T19:09:52.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T19:09:52.972Z] + git semver bump pre [2021-06-17T19:09:52.972Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T19:09:52.972Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-17T19:09:52.972Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-17T19:09:52.972Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T19:09:52.972Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T19:09:52.972Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T19:09:52.972Z] # $SEMVER_BRANCH = master [2021-06-17T19:09:52.972Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-17T19:09:52.972Z] 1.3.2-dev.26 [Pipeline] } [2021-06-17T19:09:52.980Z] $ docker exec --env ******** --env ******** 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de ssh-agent -k [2021-06-17T19:09:53.083Z] unset SSH_AUTH_SOCK; [2021-06-17T19:09:53.084Z] unset SSH_AGENT_PID; [2021-06-17T19:09:53.084Z] echo Agent pid 19 killed; [2021-06-17T19:09:53.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T19:09:53.453Z] + git semver [Pipeline] } [2021-06-17T19:09:53.466Z] $ docker stop --time=1 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de [2021-06-17T19:09:54.659Z] $ docker rm -f 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:09:55.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T19:09:55.045Z] . [Pipeline] withDockerContainer [2021-06-17T19:09:55.122Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:09:55.162Z] $ 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-17T19:09:55.527Z] $ docker top 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T19:09:55.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T19:09:55.672Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T19:09:55.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T19:09:55.787Z] $ docker exec 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb ssh-agent [2021-06-17T19:09:55.918Z] SSH_AUTH_SOCK=/tmp/ssh-k0Ze08oCnHSB/agent.14 [2021-06-17T19:09:55.918Z] SSH_AGENT_PID=19 [2021-06-17T19:09:55.924Z] Running ssh-add (command line suppressed) [2021-06-17T19:09:56.021Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2300240937439229947.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2300240937439229947.key) [2021-06-17T19:09:56.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T19:09:56.347Z] + git semver push [2021-06-17T19:09:56.347Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T19:09:56.347Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-17T19:09:56.347Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-17T19:09:56.347Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T19:09:56.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T19:09:56.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T19:09:56.347Z] # $SEMVER_BRANCH = master [2021-06-17T19:09:56.347Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-17T19:10:01.662Z] $ docker exec --env ******** --env ******** 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb ssh-agent -k [2021-06-17T19:10:01.775Z] unset SSH_AUTH_SOCK; [2021-06-17T19:10:01.775Z] unset SSH_AGENT_PID; [2021-06-17T19:10:01.775Z] echo Agent pid 19 killed; [2021-06-17T19:10:01.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T19:10:02.146Z] + git semver [Pipeline] } [2021-06-17T19:10:02.160Z] $ docker stop --time=1 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb [2021-06-17T19:10:03.471Z] $ docker rm -f 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb [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-17T19:10:05.027Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:05.598Z] ---> package-listing.sh [2021-06-17T19:10:05.599Z] ++ facter osfamily [2021-06-17T19:10:05.599Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T19:10:05.863Z] + OS_FAMILY=redhat [2021-06-17T19:10:05.863Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-06-17T19:10:05.864Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T19:10:05.864Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T19:10:05.864Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T19:10:05.864Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T19:10:05.864Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-17T19:10:05.864Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T19:10:05.864Z] + case "${OS_FAMILY}" in [2021-06-17T19:10:05.864Z] + rpm -qa [2021-06-17T19:10:05.864Z] + sort [2021-06-17T19:10:06.439Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T19:10:06.439Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T19:10:06.439Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T19:10:06.439Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-17T19:10:06.439Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-06-17T19:10:06.439Z] + 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-17T19:10:06.456Z] 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-17T19:10:06.744Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:10:07.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T19:10:07.320Z] [2021-06-17T19:10:07.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T19:10:07.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T19:10:07.641Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T19:10:07.641Z] df20fa9351a1: Pulling fs layer [2021-06-17T19:10:07.641Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T19:10:07.641Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T19:10:07.641Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T19:10:07.641Z] 93b61091891f: Pulling fs layer [2021-06-17T19:10:07.641Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T19:10:07.641Z] 5e14af77c1be: Pulling fs layer [2021-06-17T19:10:07.641Z] 01666e4c0597: Pulling fs layer [2021-06-17T19:10:07.641Z] aa168da1d23b: Pulling fs layer [2021-06-17T19:10:07.641Z] 93b61091891f: Waiting [2021-06-17T19:10:07.641Z] 93b9cdb0e59b: Waiting [2021-06-17T19:10:07.641Z] 5e14af77c1be: Waiting [2021-06-17T19:10:07.641Z] 01666e4c0597: Waiting [2021-06-17T19:10:07.641Z] aa168da1d23b: Waiting [2021-06-17T19:10:07.641Z] 46f8f816bc3b: Waiting [2021-06-17T19:10:07.641Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T19:10:07.641Z] 36b3adc4ff6f: Download complete [2021-06-17T19:10:07.641Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T19:10:07.641Z] 46f8f816bc3b: Download complete [2021-06-17T19:10:07.641Z] df20fa9351a1: Verifying Checksum [2021-06-17T19:10:07.641Z] df20fa9351a1: Download complete [2021-06-17T19:10:07.905Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T19:10:07.905Z] 93b9cdb0e59b: Download complete [2021-06-17T19:10:07.905Z] 93b61091891f: Verifying Checksum [2021-06-17T19:10:07.905Z] 93b61091891f: Download complete [2021-06-17T19:10:07.905Z] 01666e4c0597: Verifying Checksum [2021-06-17T19:10:07.905Z] 01666e4c0597: Download complete [2021-06-17T19:10:07.905Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T19:10:07.905Z] 8ad3a11d3b57: Download complete [2021-06-17T19:10:07.905Z] df20fa9351a1: Pull complete [2021-06-17T19:10:07.905Z] 36b3adc4ff6f: Pull complete [2021-06-17T19:10:08.167Z] 5e14af77c1be: Verifying Checksum [2021-06-17T19:10:08.167Z] 5e14af77c1be: Download complete [2021-06-17T19:10:08.432Z] 8ad3a11d3b57: Pull complete [2021-06-17T19:10:08.695Z] 46f8f816bc3b: Pull complete [2021-06-17T19:10:08.959Z] 93b61091891f: Pull complete [2021-06-17T19:10:08.959Z] 93b9cdb0e59b: Pull complete [2021-06-17T19:10:08.959Z] 5e14af77c1be: Pull complete [2021-06-17T19:10:08.959Z] 01666e4c0597: Pull complete [2021-06-17T19:10:09.534Z] aa168da1d23b: Verifying Checksum [2021-06-17T19:10:09.534Z] aa168da1d23b: Download complete [2021-06-17T19:10:13.779Z] aa168da1d23b: Pull complete [2021-06-17T19:10:13.779Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T19:10:13.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T19:10:13.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T19:10:13.865Z] prd-centos7-docker-4c-2g-64 does not seem to be running inside a container [2021-06-17T19:10:13.917Z] $ 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-17T19:10:15.918Z] $ docker top 02946624179b388088cd300b38a3a43ece2f6d66d6fca5349c9439f79157bb49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T19:10:16.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T19:10:16.617Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T19:10:16.914Z] + ls /var/log/sa-host [2021-06-17T19:10:16.914Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T19:10:16.914Z] file_magic: OK [2021-06-17T19:10:16.914Z] HZ: Using current value: 100 [2021-06-17T19:10:16.914Z] file_header: OK [2021-06-17T19:10:16.914Z] 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-17T19:10:16.914Z] Statistics: [2021-06-17T19:10:16.914Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T19:10:16.914Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T19:10:16.914Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T19:10:16.914Z] file_magic: OK [2021-06-17T19:10:16.914Z] HZ: Using current value: 100 [2021-06-17T19:10:16.914Z] file_header: OK [2021-06-17T19:10:16.914Z] 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-17T19:10:16.914Z] Statistics: [2021-06-17T19:10:16.914Z] 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-17T19:10:16.914Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T19:10:17.606Z] provisioning config files... [2021-06-17T19:10:17.619Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1791244096648086774tmp [Pipeline] { [Pipeline] echo [2021-06-17T19:10:17.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:17.956Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T19:10:17.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:18.430Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T19:10:18.441Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:18.741Z] ---> sudo-logs.sh [2021-06-17T19:10:18.741Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T19:10:18.777Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:19.070Z] ---> job-cost.sh [2021-06-17T19:10:19.071Z] lf-activate-venv: SKIPPING [2021-06-17T19:10:19.071Z] DEBUG: total: 0.18000000715255737 [2021-06-17T19:10:19.071Z] INFO: Retrieving Stack Cost... [2021-06-17T19:10:20.015Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T19:10:20.275Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T19:10:20.288Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T19:10:20.582Z] ---> logs-deploy.sh [2021-06-17T19:10:20.582Z] lf-activate-venv: SKIPPING [2021-06-17T19:10:20.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/65 [2021-06-17T19:10:20.582Z] INFO: archiving workspace using pattern(s): [2021-06-17T19:10:21.527Z] Archives upload complete. [2021-06-17T19:10:21.527Z] INFO: archiving logs to Nexus