Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 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-ssh3017879520357389726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8759404485236803115.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh911206060506066402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3649093930177050563.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2797829751895610895.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-50 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git Avoid second fetch Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) > 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-ssh1799115300580181798.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 Commit message: "Merge pull request #213 from hahattan/sdk" > git rev-list --no-walk 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-25T04:21:17.290Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T04:21:17.372Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T04:21:17.400Z] ========================================================= [2021-05-25T04:21:17.400Z] EdgeX Global Pipelines Version Info [2021-05-25T04:21:17.400Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:21:18.816Z] ------------------- [2021-05-25T04:21:18.816Z] stable info: [2021-05-25T04:21:18.816Z] ------------------- [2021-05-25T04:21:18.816Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T04:21:18.816Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T04:21:18.816Z] Message: update stable to v1.0.192 [2021-05-25T04:21:19.389Z] ------------------- [2021-05-25T04:21:19.389Z] experimental info: [2021-05-25T04:21:19.389Z] ------------------- [2021-05-25T04:21:19.390Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T04:21:19.390Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T04:21:19.390Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T04:21:19.534Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-25T04:21:19.557Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-25T04:21:19.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T04:21:19.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T04:21:19.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T04:21:19.640Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T04:21:19.662Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T04:21:19.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T04:21:19.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-25T04:21:19.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T04:21:19.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T04:21:19.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-25T04:21:19.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T04:21:19.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T04:21:19.837Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T04:21:19.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T04:21:19.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T04:21:19.903Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T04:21:19.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T04:21:19.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T04:21:19.990Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-25T04:21:20.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-25T04:21:20.053Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T04:21:20.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T04:21:20.129Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T04:21:20.152Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T04:21:20.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-25T04:21:20.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-25T04:21:20.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-25T04:21:20.243Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] echo [2021-05-25T04:21:20.266Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb590ed [Pipeline] echo [2021-05-25T04:21:20.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:21:20.360Z] provisioning config files... [2021-05-25T04:21:20.381Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5253313473569447789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:21:20.699Z] ---> docker-login.sh [2021-05-25T04:21:20.699Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:21:20.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:21:20.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:21:20.960Z] Configure a credential helper to remove this warning. See [2021-05-25T04:21:20.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:21:20.960Z] [2021-05-25T04:21:20.960Z] Login Succeeded [2021-05-25T04:21:20.960Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:21:20.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:21:21.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:21:21.220Z] Configure a credential helper to remove this warning. See [2021-05-25T04:21:21.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:21:21.220Z] [2021-05-25T04:21:21.220Z] Login Succeeded [2021-05-25T04:21:21.220Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:21:21.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:21:21.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:21:21.220Z] Configure a credential helper to remove this warning. See [2021-05-25T04:21:21.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:21:21.220Z] [2021-05-25T04:21:21.220Z] Login Succeeded [2021-05-25T04:21:21.220Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:21:21.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:21:21.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:21:21.485Z] Configure a credential helper to remove this warning. See [2021-05-25T04:21:21.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:21:21.485Z] [2021-05-25T04:21:21.485Z] Login Succeeded [2021-05-25T04:21:21.485Z] docker.io [2021-05-25T04:21:21.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:21:21.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:21:21.746Z] Configure a credential helper to remove this warning. See [2021-05-25T04:21:21.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:21:21.746Z] [2021-05-25T04:21:21.746Z] Login Succeeded [2021-05-25T04:21:21.746Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:21:21.755Z] 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-05-25T04:21:22.219Z] + git log --format=format:%s -1 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] echo [2021-05-25T04:21:22.258Z] GIT_COMMIT: eb590ed696e9e9466b4ef6c3e58a00375ee0ca86, Commit Message: Merge pull request #213 from hahattan/sdk [Pipeline] echo [2021-05-25T04:21:22.271Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:21:23.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:21:23.184Z] [2021-05-25T04:21:23.184Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:21:23.505Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:21:23.506Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T04:21:23.506Z] 31603596830f: Pulling fs layer [2021-05-25T04:21:23.506Z] 54011a49482f: Pulling fs layer [2021-05-25T04:21:23.506Z] a6820b24f6d8: Pulling fs layer [2021-05-25T04:21:23.506Z] f581987b2513: Pulling fs layer [2021-05-25T04:21:23.506Z] f581987b2513: Waiting [2021-05-25T04:21:23.506Z] 54011a49482f: Verifying Checksum [2021-05-25T04:21:23.506Z] 54011a49482f: Download complete [2021-05-25T04:21:23.769Z] 31603596830f: Download complete [2021-05-25T04:21:23.769Z] f581987b2513: Verifying Checksum [2021-05-25T04:21:23.769Z] f581987b2513: Download complete [2021-05-25T04:21:23.769Z] a6820b24f6d8: Verifying Checksum [2021-05-25T04:21:23.769Z] a6820b24f6d8: Download complete [2021-05-25T04:21:23.769Z] 31603596830f: Pull complete [2021-05-25T04:21:24.035Z] 54011a49482f: Pull complete [2021-05-25T04:21:24.615Z] a6820b24f6d8: Pull complete [2021-05-25T04:21:24.615Z] f581987b2513: Pull complete [2021-05-25T04:21:24.615Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T04:21:24.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:21:24.615Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T04:21:24.691Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:21:24.731Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T04:21:26.049Z] $ docker top 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T04:21:26.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:21:26.177Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:21:26.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:21:26.285Z] $ docker exec 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent [2021-05-25T04:21:26.396Z] SSH_AUTH_SOCK=/tmp/ssh-b0hSgDZAJIxg/agent.14 [2021-05-25T04:21:26.396Z] SSH_AGENT_PID=20 [2021-05-25T04:21:26.404Z] Running ssh-add (command line suppressed) [2021-05-25T04:21:26.497Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_753623350221244338.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_753623350221244338.key) [2021-05-25T04:21:26.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:21:26.842Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T04:21:26.853Z] $ docker exec --env ******** --env ******** 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent -k [2021-05-25T04:21:26.952Z] unset SSH_AUTH_SOCK; [2021-05-25T04:21:26.952Z] unset SSH_AGENT_PID; [2021-05-25T04:21:26.952Z] echo Agent pid 20 killed; [2021-05-25T04:21:26.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T04:21:27.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:21:27.005Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:21:27.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:21:27.115Z] $ docker exec 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent [2021-05-25T04:21:27.225Z] SSH_AUTH_SOCK=/tmp/ssh-Z7ULy7CjjMvY/agent.54 [2021-05-25T04:21:27.225Z] SSH_AGENT_PID=60 [2021-05-25T04:21:27.231Z] Running ssh-add (command line suppressed) [2021-05-25T04:21:27.318Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_536547762737849215.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_536547762737849215.key) [2021-05-25T04:21:27.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:21:27.646Z] + git semver init [2021-05-25T04:21:27.646Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T04:21:27.646Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-25T04:21:27.646Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-25T04:21:27.646Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T04:21:27.646Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T04:21:27.646Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T04:21:27.646Z] # $SEMVER_BRANCH = master [2021-05-25T04:21:27.646Z] # $SEMVER_TEMP = /tmp/semver-938457662 [2021-05-25T04:21:27.646Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-25T04:21:28.601Z] # '/tmp/semver-938457662' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-25T04:21:28.601Z] # -> Force: false [2021-05-25T04:21:28.601Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-25T04:21:28.612Z] $ docker exec --env ******** --env ******** 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent -k [2021-05-25T04:21:28.706Z] unset SSH_AUTH_SOCK; [2021-05-25T04:21:28.706Z] unset SSH_AGENT_PID; [2021-05-25T04:21:28.706Z] echo Agent pid 60 killed; [2021-05-25T04:21:28.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T04:21:29.074Z] + git semver [Pipeline] } [2021-05-25T04:21:29.086Z] $ docker stop --time=1 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 [2021-05-25T04:21:30.476Z] $ docker rm -f 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:21:30.856Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T04:21:31.124Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T04:21:31.128Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.18 [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-05-25T04:21:46.323Z] Still waiting to schedule task [2021-05-25T04:21:46.324Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T04:21:46.325Z] Still waiting to schedule task [2021-05-25T04:21:46.326Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-25T04:23:44.939Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-25T04:23:44.962Z] Running in /w/workspace/device-virtual-go/58 [Pipeline] { [Pipeline] checkout [2021-05-25T04:23:45.237Z] Selected Git installation does not exist. Using Default [2021-05-25T04:23:45.237Z] The recommended git tool is: NONE [2021-05-25T04:23:50.252Z] using credential edgex-jenkins-ssh [2021-05-25T04:23:50.271Z] Cloning the remote Git repository [2021-05-25T04:23:50.322Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:23:50.432Z] > git init /w/workspace/device-virtual-go/58 # timeout=10 [2021-05-25T04:23:50.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:23:50.498Z] > git --version # timeout=10 [2021-05-25T04:23:50.514Z] > git --version # 'git version 2.17.1' [2021-05-25T04:23:50.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:23:50.648Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:23:52.484Z] Avoid second fetch [2021-05-25T04:23:52.485Z] Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) [2021-05-25T04:23:52.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:23:52.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:23:52.504Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:23:52.515Z] > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 [2021-05-25T04:23:56.721Z] Commit message: "Merge pull request #213 from hahattan/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:23:58.239Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:23:58.663Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:23:59.009Z] + true [2021-05-25T04:23:59.009Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:24:17.418Z] provisioning config files... [2021-05-25T04:24:17.457Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config5379723171301353005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:24:17.861Z] ---> docker-login.sh [2021-05-25T04:24:17.862Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:24:18.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:18.536Z] Running on prd-centos7-docker-4c-2g-52 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-25T04:24:18.555Z] Running in /w/workspace/device-virtual-go/58 [Pipeline] { [Pipeline] checkout [2021-05-25T04:24:18.740Z] Selected Git installation does not exist. Using Default [2021-05-25T04:24:18.740Z] The recommended git tool is: NONE [2021-05-25T04:24:19.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:19.075Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:19.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:19.075Z] [2021-05-25T04:24:19.075Z] Login Succeeded [2021-05-25T04:24:19.075Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:24:19.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:19.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:19.629Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:19.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:19.629Z] [2021-05-25T04:24:19.629Z] Login Succeeded [2021-05-25T04:24:19.629Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:24:19.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:20.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:20.181Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:20.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:20.181Z] [2021-05-25T04:24:20.181Z] Login Succeeded [2021-05-25T04:24:20.181Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:24:20.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:20.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:20.731Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:20.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:20.731Z] [2021-05-25T04:24:20.731Z] Login Succeeded [2021-05-25T04:24:20.731Z] docker.io [2021-05-25T04:24:21.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:21.228Z] using credential edgex-jenkins-ssh [2021-05-25T04:24:21.241Z] Cloning the remote Git repository [2021-05-25T04:24:21.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:21.606Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:21.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:21.606Z] [2021-05-25T04:24:21.606Z] Login Succeeded [2021-05-25T04:24:21.606Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:24:21.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T04:24:21.926Z] ========================================================= [2021-05-25T04:24:21.926Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T04:24:21.926Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:24:21.028Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:24:21.110Z] > git init /w/workspace/device-virtual-go/58 # timeout=10 [2021-05-25T04:24:21.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-25T04:24:21.146Z] > git --version # timeout=10 [2021-05-25T04:24:21.158Z] > git --version # 'git version 2.24.4' [2021-05-25T04:24:21.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T04:24:21.185Z] [INFO] Currently running in a labeled security context [2021-05-25T04:24:21.185Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T04:24:21.185Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/58@tmp/jenkins-gitclient-ssh8252003788932507093.key [2021-05-25T04:24:21.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:24:22.272Z] + 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-05-25T04:24:22.365Z] Avoid second fetch [2021-05-25T04:24:22.366Z] Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) [2021-05-25T04:24:22.547Z] Sending build context to Docker daemon 8.581MB [2021-05-25T04:24:22.818Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:24:22.818Z] Step 2/8 : FROM ${BASE} [2021-05-25T04:24:22.818Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T04:24:22.818Z] 595b0fe564bb: Pulling fs layer [2021-05-25T04:24:22.818Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T04:24:22.818Z] 316046926c0a: Pulling fs layer [2021-05-25T04:24:22.818Z] 4ebd0625c992: Pulling fs layer [2021-05-25T04:24:22.818Z] 207e8628e3a3: Pulling fs layer [2021-05-25T04:24:22.818Z] c791037a9be2: Pulling fs layer [2021-05-25T04:24:22.818Z] ffd874e62e21: Pulling fs layer [2021-05-25T04:24:22.818Z] 4ebd0625c992: Waiting [2021-05-25T04:24:22.818Z] 207e8628e3a3: Waiting [2021-05-25T04:24:22.818Z] c791037a9be2: Waiting [2021-05-25T04:24:22.818Z] ffd874e62e21: Waiting [2021-05-25T04:24:22.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-25T04:24:22.195Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T04:24:22.220Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T04:24:22.232Z] > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 [2021-05-25T04:24:23.091Z] 316046926c0a: Download complete [2021-05-25T04:24:23.091Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T04:24:23.091Z] 7186ed65a4f7: Download complete [2021-05-25T04:24:23.091Z] 207e8628e3a3: Download complete [2021-05-25T04:24:23.091Z] 595b0fe564bb: Verifying Checksum [2021-05-25T04:24:23.091Z] 595b0fe564bb: Download complete [2021-05-25T04:24:23.091Z] c791037a9be2: Verifying Checksum [2021-05-25T04:24:23.091Z] c791037a9be2: Download complete [2021-05-25T04:24:23.688Z] 595b0fe564bb: Pull complete [2021-05-25T04:24:24.291Z] 7186ed65a4f7: Pull complete [2021-05-25T04:24:24.570Z] 316046926c0a: Pull complete [2021-05-25T04:24:25.553Z] ffd874e62e21: Verifying Checksum [2021-05-25T04:24:25.553Z] ffd874e62e21: Download complete [2021-05-25T04:24:25.960Z] Commit message: "Merge pull request #213 from hahattan/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:24:26.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:24:27.004Z] 4ebd0625c992: Verifying Checksum [2021-05-25T04:24:27.004Z] 4ebd0625c992: Download complete [2021-05-25T04:24:27.278Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T04:24:27.575Z] + sudo service docker restart [2021-05-25T04:24:27.575Z] + true [2021-05-25T04:24:27.575Z] Redirecting to /bin/systemctl restart docker.service [2021-05-25T04:24:37.153Z] 4ebd0625c992: Pull complete [2021-05-25T04:24:37.425Z] 207e8628e3a3: Pull complete [2021-05-25T04:24:38.019Z] c791037a9be2: Pull complete [2021-05-25T04:24:42.337Z] ffd874e62e21: Pull complete [2021-05-25T04:24:42.337Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T04:24:42.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T04:24:42.337Z] ---> cfc18b08335c [2021-05-25T04:24:42.337Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-25T04:24:43.794Z] ---> Running in 22e381bd36ea [2021-05-25T04:24:44.411Z] Removing intermediate container 22e381bd36ea [2021-05-25T04:24:44.411Z] ---> c850c5f14bfc [2021-05-25T04:24:44.411Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:24:44.411Z] ---> Running in f03fff4f9947 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:24:45.756Z] provisioning config files... [2021-05-25T04:24:45.772Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config5493831432168797314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:24:46.100Z] ---> docker-login.sh [2021-05-25T04:24:46.100Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:24:46.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:46.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:46.365Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:46.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:46.365Z] [2021-05-25T04:24:46.365Z] Login Succeeded [2021-05-25T04:24:46.365Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:24:46.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:46.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:46.629Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:46.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:46.629Z] [2021-05-25T04:24:46.629Z] Login Succeeded [2021-05-25T04:24:46.629Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:24:46.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:46.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:46.629Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:46.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:46.629Z] [2021-05-25T04:24:46.629Z] Login Succeeded [2021-05-25T04:24:46.629Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:24:46.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:46.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:46.893Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:46.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:46.893Z] [2021-05-25T04:24:46.893Z] Login Succeeded [2021-05-25T04:24:46.893Z] docker.io [2021-05-25T04:24:47.030Z] Removing intermediate container f03fff4f9947 [2021-05-25T04:24:47.030Z] ---> 3e1fd09c888f [2021-05-25T04:24:47.030Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T04:24:47.030Z] ---> Running in f60ae1e68439 [2021-05-25T04:24:47.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:24:47.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:24:47.426Z] Configure a credential helper to remove this warning. See [2021-05-25T04:24:47.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:24:47.426Z] [2021-05-25T04:24:47.426Z] Login Succeeded [2021-05-25T04:24:47.426Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:24:47.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T04:24:47.622Z] ========================================================= [2021-05-25T04:24:47.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T04:24:47.622Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:24:47.960Z] + 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-05-25T04:24:47.960Z] Sending build context to Docker daemon 8.582MB [2021-05-25T04:24:47.960Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:24:47.960Z] Step 2/8 : FROM ${BASE} [2021-05-25T04:24:48.009Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:24:48.224Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T04:24:48.224Z] 540db60ca938: Pulling fs layer [2021-05-25T04:24:48.224Z] adcc1eea9eea: Pulling fs layer [2021-05-25T04:24:48.224Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T04:24:48.224Z] 0510c868ecb4: Pulling fs layer [2021-05-25T04:24:48.224Z] afea3b2eda06: Pulling fs layer [2021-05-25T04:24:48.224Z] 7809a108b3ef: Pulling fs layer [2021-05-25T04:24:48.224Z] f706445af74f: Pulling fs layer [2021-05-25T04:24:48.224Z] 0510c868ecb4: Waiting [2021-05-25T04:24:48.224Z] afea3b2eda06: Waiting [2021-05-25T04:24:48.224Z] 7809a108b3ef: Waiting [2021-05-25T04:24:48.224Z] f706445af74f: Waiting [2021-05-25T04:24:48.224Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T04:24:48.224Z] 4c4ab2625f07: Download complete [2021-05-25T04:24:48.224Z] adcc1eea9eea: Verifying Checksum [2021-05-25T04:24:48.224Z] adcc1eea9eea: Download complete [2021-05-25T04:24:48.224Z] afea3b2eda06: Verifying Checksum [2021-05-25T04:24:48.224Z] afea3b2eda06: Download complete [2021-05-25T04:24:48.224Z] 540db60ca938: Verifying Checksum [2021-05-25T04:24:48.224Z] 540db60ca938: Download complete [2021-05-25T04:24:48.224Z] 7809a108b3ef: Verifying Checksum [2021-05-25T04:24:48.224Z] 7809a108b3ef: Download complete [2021-05-25T04:24:48.489Z] 540db60ca938: Pull complete [2021-05-25T04:24:48.489Z] adcc1eea9eea: Pull complete [2021-05-25T04:24:48.754Z] 4c4ab2625f07: Pull complete [2021-05-25T04:24:48.982Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:24:50.144Z] f706445af74f: Verifying Checksum [2021-05-25T04:24:50.144Z] f706445af74f: Download complete [2021-05-25T04:24:50.411Z] 0510c868ecb4: Verifying Checksum [2021-05-25T04:24:50.411Z] 0510c868ecb4: Download complete [2021-05-25T04:24:52.355Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T04:24:52.355Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T04:24:52.355Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T04:24:52.355Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T04:24:52.626Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T04:24:52.899Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T04:24:53.170Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-25T04:24:54.653Z] 0510c868ecb4: Pull complete [2021-05-25T04:24:54.653Z] afea3b2eda06: Pull complete [2021-05-25T04:24:54.653Z] 7809a108b3ef: Pull complete [2021-05-25T04:24:55.134Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-25T04:24:55.134Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T04:24:55.134Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T04:24:55.615Z] f706445af74f: Pull complete [2021-05-25T04:24:55.615Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T04:24:55.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T04:24:55.616Z] ---> b068be0155e3 [2021-05-25T04:24:55.616Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-25T04:24:55.723Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-25T04:24:55.994Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T04:24:56.269Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T04:24:56.269Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T04:24:56.269Z] OK: 145 MiB in 53 packages [2021-05-25T04:24:57.706Z] Removing intermediate container f60ae1e68439 [2021-05-25T04:24:57.706Z] ---> a08e4a3c5ac0 [2021-05-25T04:24:57.706Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-25T04:24:57.979Z] ---> Running in ca893453d2cf [2021-05-25T04:24:58.592Z] Removing intermediate container ca893453d2cf [2021-05-25T04:24:58.592Z] ---> 15decbea2393 [2021-05-25T04:24:58.592Z] Step 7/8 : COPY . . [2021-05-25T04:24:59.570Z] ---> 8e26ffaa0de8 [2021-05-25T04:24:59.570Z] Step 8/8 : RUN go mod download [2021-05-25T04:24:59.837Z] ---> Running in 208011a8637f [2021-05-25T04:24:59.837Z] Removing intermediate container 208011a8637f [2021-05-25T04:24:59.837Z] ---> a4b6793f5353 [2021-05-25T04:24:59.837Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:24:59.837Z] ---> Running in 1adafac02427 [2021-05-25T04:24:59.843Z] ---> Running in 425f49270d25 [2021-05-25T04:25:00.102Z] Removing intermediate container 1adafac02427 [2021-05-25T04:25:00.102Z] ---> badbaaedf004 [2021-05-25T04:25:00.102Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T04:25:00.102Z] ---> Running in a81bf9b83fff [2021-05-25T04:25:00.363Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:25:01.308Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:25:02.253Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T04:25:02.253Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T04:25:02.253Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T04:25:02.515Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T04:25:02.515Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T04:25:02.515Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T04:25:02.777Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-25T04:25:03.039Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-25T04:25:03.039Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T04:25:03.039Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T04:25:03.300Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-25T04:25:03.300Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T04:25:03.300Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T04:25:03.564Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T04:25:03.564Z] OK: 156 MiB in 53 packages [2021-05-25T04:25:03.827Z] Removing intermediate container a81bf9b83fff [2021-05-25T04:25:03.827Z] ---> 9ccfbbace2c4 [2021-05-25T04:25:03.827Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-25T04:25:03.827Z] ---> Running in 78489b56b56c [2021-05-25T04:25:04.090Z] Removing intermediate container 78489b56b56c [2021-05-25T04:25:04.090Z] ---> bdd7acee45c0 [2021-05-25T04:25:04.090Z] Step 7/8 : COPY . . [2021-05-25T04:25:04.357Z] ---> c3e6c8c53420 [2021-05-25T04:25:04.357Z] Step 8/8 : RUN go mod download [2021-05-25T04:25:04.357Z] ---> Running in aac3d5f78c84 [2021-05-25T04:25:16.630Z] Removing intermediate container aac3d5f78c84 [2021-05-25T04:25:16.630Z] ---> 7125d9a88abe [2021-05-25T04:25:16.630Z] Successfully built 7125d9a88abe [2021-05-25T04:25:16.630Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:25:16.941Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T04:25:16.941Z] . [Pipeline] withDockerContainer [2021-05-25T04:25:17.031Z] prd-centos7-docker-4c-2g-52 does not seem to be running inside a container [2021-05-25T04:25:17.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T04:25:17.459Z] $ docker top 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:25:17.851Z] + go version [2021-05-25T04:25:17.851Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T04:25:17.860Z] $ docker stop --time=1 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d [2021-05-25T04:25:19.035Z] $ docker rm -f 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:25:19.507Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T04:25:19.507Z] . [Pipeline] withDockerContainer [2021-05-25T04:25:19.590Z] prd-centos7-docker-4c-2g-52 does not seem to be running inside a container [2021-05-25T04:25:19.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T04:25:20.018Z] $ docker top 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:25:20.420Z] + go mod tidy [Pipeline] sh [2021-05-25T04:25:20.990Z] + make test [2021-05-25T04:25:20.990Z] go mod tidy [2021-05-25T04:25:21.255Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T04:25:21.520Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-25T04:25:32.172Z] Removing intermediate container 425f49270d25 [2021-05-25T04:25:32.172Z] ---> 41e17177edd6 [2021-05-25T04:25:32.172Z] Successfully built 41e17177edd6 [2021-05-25T04:25:32.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:25:32.515Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T04:25:32.515Z] . [Pipeline] withDockerContainer [2021-05-25T04:25:32.784Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-05-25T04:25:32.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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-05-25T04:25:34.516Z] $ docker top 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:25:35.485Z] + go version [2021-05-25T04:25:35.485Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-25T04:25:35.507Z] $ docker stop --time=1 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be [2021-05-25T04:25:37.330Z] $ docker rm -f 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:25:38.021Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T04:25:38.021Z] . [Pipeline] withDockerContainer [2021-05-25T04:25:38.280Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-05-25T04:25:38.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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-05-25T04:25:39.971Z] $ docker top 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:25:40.937Z] + go mod tidy [Pipeline] sh [2021-05-25T04:25:42.204Z] + make test [2021-05-25T04:25:42.205Z] go mod tidy [2021-05-25T04:25:42.804Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T04:25:43.677Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-25T04:25:43.677Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.270s coverage: 63.8% of statements [2021-05-25T04:25:43.677Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T04:25:44.247Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-25T04:25:50.365Z] gofmt -l . [2021-05-25T04:25:50.365Z] [ "`gofmt -l .`" = "" ] [2021-05-25T04:25:50.365Z] ./bin/test-attribution-txt.sh [2021-05-25T04:25:50.365Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T04:25:50.374Z] $ docker stop --time=1 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f [2021-05-25T04:25:51.852Z] $ docker rm -f 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:25:52.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T04:25:52.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-25T04:25:55.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T04:25:55.300Z] + ls -al . [2021-05-25T04:25:55.300Z] total 132 [2021-05-25T04:25:55.300Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 25 04:25 . [2021-05-25T04:25:55.300Z] drwxrwxr-x. 4 jenkins jenkins 30 May 25 04:24 .. [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 25 04:24 Attribution.txt [2021-05-25T04:25:55.300Z] drwxrwxr-x. 2 jenkins jenkins 64 May 25 04:24 bin [2021-05-25T04:25:55.300Z] drwxrwxr-x. 3 jenkins jenkins 32 May 25 04:24 cmd [2021-05-25T04:25:55.300Z] -rw-r--r--. 1 jenkins jenkins 47247 May 25 04:25 coverage.out [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 25 04:24 Dockerfile [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 998 May 25 04:24 Dockerfile.build [2021-05-25T04:25:55.300Z] drwxrwxr-x. 8 jenkins jenkins 162 May 25 04:24 .git [2021-05-25T04:25:55.300Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 04:24 .github [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 277 May 25 04:24 .gitignore [2021-05-25T04:25:55.300Z] -rw-r--r--. 1 jenkins jenkins 809 May 25 04:25 go.mod [2021-05-25T04:25:55.300Z] -rw-r--r--. 1 jenkins jenkins 23431 May 25 04:25 go.sum [2021-05-25T04:25:55.300Z] drwxrwxr-x. 3 jenkins jenkins 20 May 25 04:24 internal [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 660 May 25 04:24 Jenkinsfile [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 25 04:24 LICENSE [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 905 May 25 04:24 Makefile [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 25 04:24 README.md [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 12 May 25 04:21 VERSION [2021-05-25T04:25:55.300Z] -rw-rw-r--. 1 jenkins jenkins 235 May 25 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:25:55.607Z] + 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=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 --label arch=amd64 --label version=1.3.2-dev.18 . [2021-05-25T04:25:55.607Z] Sending build context to Docker daemon 8.654MB [2021-05-25T04:25:55.607Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:25:55.607Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-25T04:25:55.607Z] ---> 7125d9a88abe [2021-05-25T04:25:55.607Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T04:25:55.871Z] ---> Running in 816c6bb4f516 [2021-05-25T04:25:55.871Z] Removing intermediate container 816c6bb4f516 [2021-05-25T04:25:55.871Z] ---> cae017bd8c81 [2021-05-25T04:25:55.871Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T04:25:55.871Z] ---> Running in 8861d01bec82 [2021-05-25T04:25:55.871Z] Removing intermediate container 8861d01bec82 [2021-05-25T04:25:55.871Z] ---> 2d89a5bc5e65 [2021-05-25T04:25:55.871Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-25T04:25:56.135Z] ---> Running in e36671f05117 [2021-05-25T04:25:56.135Z] Removing intermediate container e36671f05117 [2021-05-25T04:25:56.135Z] ---> b274e65e4485 [2021-05-25T04:25:56.135Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:25:56.135Z] ---> Running in 8b7052a44aad [2021-05-25T04:25:56.717Z] Removing intermediate container 8b7052a44aad [2021-05-25T04:25:56.717Z] ---> 0cd7a30d18e5 [2021-05-25T04:25:56.717Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T04:25:56.717Z] ---> Running in eb4abd37c3c2 [2021-05-25T04:25:56.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:25:57.928Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:25:58.190Z] OK: 156 MiB in 53 packages [2021-05-25T04:25:58.452Z] Removing intermediate container eb4abd37c3c2 [2021-05-25T04:25:58.452Z] ---> 31adc7d0d993 [2021-05-25T04:25:58.452Z] Step 8/26 : COPY . . [2021-05-25T04:25:59.030Z] ---> 23a18fa86012 [2021-05-25T04:25:59.030Z] Step 9/26 : RUN go mod tidy [2021-05-25T04:25:59.030Z] ---> Running in 8f5b20470a26 [2021-05-25T04:25:59.605Z] Removing intermediate container 8f5b20470a26 [2021-05-25T04:25:59.605Z] ---> 43ecf2f1467e [2021-05-25T04:25:59.605Z] Step 10/26 : RUN go mod download [2021-05-25T04:25:59.605Z] ---> Running in bb296e4134b7 [2021-05-25T04:26:00.179Z] Removing intermediate container bb296e4134b7 [2021-05-25T04:26:00.179Z] ---> 439a214ba511 [2021-05-25T04:26:00.179Z] Step 11/26 : ARG MAKE='make build' [2021-05-25T04:26:00.179Z] ---> Running in 7a37371a56b5 [2021-05-25T04:26:00.444Z] Removing intermediate container 7a37371a56b5 [2021-05-25T04:26:00.444Z] ---> 64536377930f [2021-05-25T04:26:00.444Z] Step 12/26 : RUN $MAKE [2021-05-25T04:26:00.444Z] ---> Running in d8650e2219dd [2021-05-25T04:26:00.712Z] go mod tidy [2021-05-25T04:26:00.980Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.18" -o cmd/device-virtual ./cmd [2021-05-25T04:26:19.340Z] Removing intermediate container d8650e2219dd [2021-05-25T04:26:19.340Z] ---> e970202e7d5c [2021-05-25T04:26:19.340Z] Step 13/26 : FROM alpine:3.12 [2021-05-25T04:26:19.340Z] 3.12: Pulling from library/alpine [2021-05-25T04:26:19.340Z] 339de151aab4: Pulling fs layer [2021-05-25T04:26:19.340Z] 339de151aab4: Download complete [2021-05-25T04:26:19.340Z] 339de151aab4: Pull complete [2021-05-25T04:26:19.340Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T04:26:19.340Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T04:26:19.340Z] ---> 13621d1b12d4 [2021-05-25T04:26:19.340Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-25T04:26:19.340Z] ---> Running in 7963c8dbcc1c [2021-05-25T04:26:19.340Z] Removing intermediate container 7963c8dbcc1c [2021-05-25T04:26:19.340Z] ---> fda42017804b [2021-05-25T04:26:19.340Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:26:19.340Z] ---> Running in 9bad696c0290 [2021-05-25T04:26:19.340Z] Removing intermediate container 9bad696c0290 [2021-05-25T04:26:19.340Z] ---> c1e0aab3a952 [2021-05-25T04:26:19.340Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T04:26:19.340Z] ---> Running in 9ba9a677cfff [2021-05-25T04:26:19.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T04:26:19.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T04:26:19.340Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T04:26:19.602Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T04:26:19.602Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T04:26:19.602Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T04:26:20.548Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T04:26:20.548Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T04:26:20.813Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T04:26:20.813Z] OK: 8 MiB in 20 packages [2021-05-25T04:26:21.075Z] Removing intermediate container 9ba9a677cfff [2021-05-25T04:26:21.075Z] ---> ccccefdd80cb [2021-05-25T04:26:21.075Z] Step 17/26 : WORKDIR / [2021-05-25T04:26:21.075Z] ---> Running in 3cc5c616a953 [2021-05-25T04:26:21.075Z] Removing intermediate container 3cc5c616a953 [2021-05-25T04:26:21.075Z] ---> 882c413dde65 [2021-05-25T04:26:21.075Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-25T04:26:21.340Z] ---> 2d1627274113 [2021-05-25T04:26:21.340Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-25T04:26:21.340Z] ---> 12408289328e [2021-05-25T04:26:21.340Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-25T04:26:21.914Z] ---> e4a9fda85719 [2021-05-25T04:26:21.914Z] Step 21/26 : EXPOSE 59900 [2021-05-25T04:26:21.914Z] ---> Running in a80b4ee53599 [2021-05-25T04:26:21.914Z] Removing intermediate container a80b4ee53599 [2021-05-25T04:26:21.914Z] ---> db944be2a7f6 [2021-05-25T04:26:21.914Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-25T04:26:21.914Z] ---> Running in dee5000463b5 [2021-05-25T04:26:22.174Z] Removing intermediate container dee5000463b5 [2021-05-25T04:26:22.174Z] ---> 9c14bfbadd98 [2021-05-25T04:26:22.174Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T04:26:22.174Z] ---> Running in c6006d4b0236 [2021-05-25T04:26:22.174Z] Removing intermediate container c6006d4b0236 [2021-05-25T04:26:22.174Z] ---> 225d49b24173 [2021-05-25T04:26:22.174Z] Step 24/26 : LABEL arch=amd64 [2021-05-25T04:26:22.174Z] ---> Running in e4152b96b01f [2021-05-25T04:26:22.174Z] Removing intermediate container e4152b96b01f [2021-05-25T04:26:22.174Z] ---> aafd793ae8b3 [2021-05-25T04:26:22.174Z] Step 25/26 : LABEL git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:26:22.437Z] ---> Running in cc6d6f7a5ac3 [2021-05-25T04:26:22.437Z] Removing intermediate container cc6d6f7a5ac3 [2021-05-25T04:26:22.437Z] ---> 223840a70dcf [2021-05-25T04:26:22.437Z] Step 26/26 : LABEL version=1.3.2-dev.18 [2021-05-25T04:26:22.437Z] ---> Running in 5b7fe5390b8f [2021-05-25T04:26:22.437Z] Removing intermediate container 5b7fe5390b8f [2021-05-25T04:26:22.437Z] ---> 2ca9a111bffb [2021-05-25T04:26:22.437Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T04:26:22.437Z] Successfully built 2ca9a111bffb [2021-05-25T04:26:22.437Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:26:22.575Z] provisioning config files... [2021-05-25T04:26:22.588Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config692795180626194392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:26:22.916Z] ---> docker-login.sh [2021-05-25T04:26:22.916Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:26:22.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:26:22.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:26:22.916Z] Configure a credential helper to remove this warning. See [2021-05-25T04:26:22.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:26:22.916Z] [2021-05-25T04:26:22.916Z] Login Succeeded [2021-05-25T04:26:22.916Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:26:23.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:26:23.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:26:23.182Z] Configure a credential helper to remove this warning. See [2021-05-25T04:26:23.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:26:23.182Z] [2021-05-25T04:26:23.182Z] Login Succeeded [2021-05-25T04:26:23.182Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:26:23.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:26:23.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:26:23.182Z] Configure a credential helper to remove this warning. See [2021-05-25T04:26:23.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:26:23.182Z] [2021-05-25T04:26:23.182Z] Login Succeeded [2021-05-25T04:26:23.182Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:26:23.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:26:23.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:26:23.443Z] Configure a credential helper to remove this warning. See [2021-05-25T04:26:23.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:26:23.443Z] [2021-05-25T04:26:23.443Z] Login Succeeded [2021-05-25T04:26:23.443Z] docker.io [2021-05-25T04:26:23.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:26:23.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:26:23.704Z] Configure a credential helper to remove this warning. See [2021-05-25T04:26:23.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:26:23.704Z] [2021-05-25T04:26:23.704Z] Login Succeeded [2021-05-25T04:26:23.704Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:26:23.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-25T04:26:23.801Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-05-25T04:26:23.801Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:26:23.801Z] latest [2021-05-25T04:26:23.801Z] 1.3.2-dev.18 [2021-05-25T04:26:23.801Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:26:23.801Z] master [2021-05-25T04:26:23.801Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:24.167Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:24.473Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:26:24.473Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-25T04:26:24.473Z] e41a13cd1565: Preparing [2021-05-25T04:26:24.473Z] 5ec895ea3c89: Preparing [2021-05-25T04:26:24.473Z] 3289f601c0c9: Preparing [2021-05-25T04:26:24.473Z] 07f6ebd13119: Preparing [2021-05-25T04:26:24.473Z] e1093347c125: Preparing [2021-05-25T04:26:24.473Z] 32f366d666a5: Preparing [2021-05-25T04:26:24.473Z] 32f366d666a5: Waiting [2021-05-25T04:26:24.739Z] e1093347c125: Pushed [2021-05-25T04:26:24.739Z] 07f6ebd13119: Pushed [2021-05-25T04:26:24.739Z] 32f366d666a5: Layer already exists [2021-05-25T04:26:24.739Z] 3289f601c0c9: Pushed [2021-05-25T04:26:24.739Z] 5ec895ea3c89: Pushed [2021-05-25T04:26:26.137Z] e41a13cd1565: Pushed [2021-05-25T04:26:26.400Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:26.707Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:27.003Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-25T04:26:27.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-25T04:26:27.003Z] e41a13cd1565: Preparing [2021-05-25T04:26:27.003Z] 5ec895ea3c89: Preparing [2021-05-25T04:26:27.003Z] 3289f601c0c9: Preparing [2021-05-25T04:26:27.003Z] 07f6ebd13119: Preparing [2021-05-25T04:26:27.003Z] e1093347c125: Preparing [2021-05-25T04:26:27.003Z] 32f366d666a5: Preparing [2021-05-25T04:26:27.003Z] 32f366d666a5: Waiting [2021-05-25T04:26:27.003Z] 5ec895ea3c89: Layer already exists [2021-05-25T04:26:27.003Z] 07f6ebd13119: Layer already exists [2021-05-25T04:26:27.003Z] 3289f601c0c9: Layer already exists [2021-05-25T04:26:27.003Z] e1093347c125: Layer already exists [2021-05-25T04:26:27.003Z] e41a13cd1565: Layer already exists [2021-05-25T04:26:27.003Z] 32f366d666a5: Layer already exists [2021-05-25T04:26:27.003Z] latest: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:27.315Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:27.615Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 [2021-05-25T04:26:27.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-25T04:26:27.616Z] e41a13cd1565: Preparing [2021-05-25T04:26:27.616Z] 5ec895ea3c89: Preparing [2021-05-25T04:26:27.616Z] 3289f601c0c9: Preparing [2021-05-25T04:26:27.616Z] 07f6ebd13119: Preparing [2021-05-25T04:26:27.616Z] e1093347c125: Preparing [2021-05-25T04:26:27.616Z] 32f366d666a5: Preparing [2021-05-25T04:26:27.616Z] 32f366d666a5: Waiting [2021-05-25T04:26:27.616Z] 3289f601c0c9: Layer already exists [2021-05-25T04:26:27.616Z] 07f6ebd13119: Layer already exists [2021-05-25T04:26:27.616Z] 5ec895ea3c89: Layer already exists [2021-05-25T04:26:27.616Z] e41a13cd1565: Layer already exists [2021-05-25T04:26:27.616Z] e1093347c125: Layer already exists [2021-05-25T04:26:27.616Z] 32f366d666a5: Layer already exists [2021-05-25T04:26:27.616Z] 1.3.2-dev.18: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:27.931Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:28.232Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:26:28.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-25T04:26:28.233Z] e41a13cd1565: Preparing [2021-05-25T04:26:28.233Z] 5ec895ea3c89: Preparing [2021-05-25T04:26:28.233Z] 3289f601c0c9: Preparing [2021-05-25T04:26:28.233Z] 07f6ebd13119: Preparing [2021-05-25T04:26:28.233Z] e1093347c125: Preparing [2021-05-25T04:26:28.233Z] 32f366d666a5: Preparing [2021-05-25T04:26:28.233Z] 32f366d666a5: Waiting [2021-05-25T04:26:28.233Z] 07f6ebd13119: Layer already exists [2021-05-25T04:26:28.233Z] 3289f601c0c9: Layer already exists [2021-05-25T04:26:28.233Z] 5ec895ea3c89: Layer already exists [2021-05-25T04:26:28.233Z] e41a13cd1565: Layer already exists [2021-05-25T04:26:28.233Z] e1093347c125: Layer already exists [2021-05-25T04:26:28.233Z] 32f366d666a5: Layer already exists [2021-05-25T04:26:28.233Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:28.539Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:26:28.858Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-05-25T04:26:28.858Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-25T04:26:28.858Z] e41a13cd1565: Preparing [2021-05-25T04:26:28.858Z] 5ec895ea3c89: Preparing [2021-05-25T04:26:28.858Z] 3289f601c0c9: Preparing [2021-05-25T04:26:28.858Z] 07f6ebd13119: Preparing [2021-05-25T04:26:28.858Z] e1093347c125: Preparing [2021-05-25T04:26:28.858Z] 32f366d666a5: Preparing [2021-05-25T04:26:28.858Z] 32f366d666a5: Waiting [2021-05-25T04:26:28.858Z] 5ec895ea3c89: Layer already exists [2021-05-25T04:26:28.858Z] 07f6ebd13119: Layer already exists [2021-05-25T04:26:28.858Z] 3289f601c0c9: Layer already exists [2021-05-25T04:26:28.858Z] e41a13cd1565: Layer already exists [2021-05-25T04:26:28.858Z] e1093347c125: Layer already exists [2021-05-25T04:26:28.858Z] 32f366d666a5: Layer already exists [2021-05-25T04:26:28.858Z] master: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-25T04:26:28.923Z] ===================================================== [Pipeline] echo [2021-05-25T04:26:28.940Z] taggedImages: [2021-05-25T04:26:28.940Z] - nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:26:28.940Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-25T04:26:28.940Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 [2021-05-25T04:26:28.940Z] - nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:26:28.940Z] - 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-05-25T04:26:29.527Z] ---> job-cost.sh [2021-05-25T04:26:29.527Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WCWO [2021-05-25T04:26:39.544Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T04:26:51.812Z] lf-activate-venv(): INFO: Adding /tmp/venv-WCWO/bin to PATH [2021-05-25T04:26:51.812Z] INFO: No Stack... [2021-05-25T04:26:51.812Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T04:26:52.311Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-25T04:26:52.311Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.720s coverage: 63.8% of statements [2021-05-25T04:26:52.311Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T04:26:52.384Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T04:26:52.676Z] + cat /w/workspace/device-virtual-go/58/archives/cost.csv [2021-05-25T04:26:52.676Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T04:26:52.703Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [2021-05-25T04:26:52.713Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] did not exist. Created. [2021-05-25T04:26:52.713Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T04:26:53.032Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T04:26:53.098Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T04:26:53.111Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-25T04:27:19.137Z] gofmt -l . [2021-05-25T04:27:19.137Z] [ "`gofmt -l .`" = "" ] [2021-05-25T04:27:19.137Z] ./bin/test-attribution-txt.sh [2021-05-25T04:27:19.137Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T04:27:19.156Z] $ docker stop --time=1 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac [2021-05-25T04:27:21.096Z] $ docker rm -f 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T04:27:21.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T04:27:22.018Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T04:27:22.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T04:27:22.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T04:27:23.323Z] + ls -al . [2021-05-25T04:27:23.323Z] total 156 [2021-05-25T04:27:23.323Z] drwxrwxr-x 7 jenkins jenkins 4096 May 25 04:27 . [2021-05-25T04:27:23.323Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 04:23 .. [2021-05-25T04:27:23.323Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 04:23 .git [2021-05-25T04:27:23.323Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:23 .github [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 277 May 25 04:23 .gitignore [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 25 04:23 Attribution.txt [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 25 04:23 Dockerfile [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 998 May 25 04:23 Dockerfile.build [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 660 May 25 04:23 Jenkinsfile [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 04:23 LICENSE [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 905 May 25 04:23 Makefile [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 25 04:23 README.md [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 12 May 25 04:21 VERSION [2021-05-25T04:27:23.323Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:23 bin [2021-05-25T04:27:23.323Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:23 cmd [2021-05-25T04:27:23.323Z] -rw-r--r-- 1 jenkins jenkins 47247 May 25 04:26 coverage.out [2021-05-25T04:27:23.323Z] -rw-r--r-- 1 jenkins jenkins 809 May 25 04:27 go.mod [2021-05-25T04:27:23.323Z] -rw-r--r-- 1 jenkins jenkins 23431 May 25 04:25 go.sum [2021-05-25T04:27:23.323Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:23 internal [2021-05-25T04:27:23.323Z] -rw-rw-r-- 1 jenkins jenkins 235 May 25 04:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:27:23.669Z] + 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=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 --label arch=arm64 --label version=1.3.2-dev.18 . [2021-05-25T04:27:24.269Z] Sending build context to Docker daemon 8.653MB [2021-05-25T04:27:24.269Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T04:27:24.269Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-25T04:27:24.269Z] ---> 41e17177edd6 [2021-05-25T04:27:24.269Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T04:27:24.542Z] ---> Running in a981298ca3f3 [2021-05-25T04:27:25.134Z] Removing intermediate container a981298ca3f3 [2021-05-25T04:27:25.134Z] ---> 85dc2d92f3b2 [2021-05-25T04:27:25.134Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T04:27:25.134Z] ---> Running in 6d4df8ea69c1 [2021-05-25T04:27:25.729Z] Removing intermediate container 6d4df8ea69c1 [2021-05-25T04:27:25.729Z] ---> b73bbd77aa39 [2021-05-25T04:27:25.729Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-25T04:27:25.729Z] ---> Running in 31c2a6f22a42 [2021-05-25T04:27:26.340Z] Removing intermediate container 31c2a6f22a42 [2021-05-25T04:27:26.340Z] ---> 2b8b1471463c [2021-05-25T04:27:26.340Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:27:26.340Z] ---> Running in d89fe76b698b [2021-05-25T04:27:28.311Z] Removing intermediate container d89fe76b698b [2021-05-25T04:27:28.311Z] ---> 5c509adcbd71 [2021-05-25T04:27:28.311Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T04:27:28.589Z] ---> Running in 2e8c06a84b67 [2021-05-25T04:27:30.026Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:27:30.617Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:27:31.600Z] OK: 145 MiB in 53 packages [2021-05-25T04:27:32.589Z] Removing intermediate container 2e8c06a84b67 [2021-05-25T04:27:32.589Z] ---> 328b6c1ff709 [2021-05-25T04:27:32.589Z] Step 8/26 : COPY . . [2021-05-25T04:27:34.017Z] ---> 1d9eb4e5ffbc [2021-05-25T04:27:34.017Z] Step 9/26 : RUN go mod tidy [2021-05-25T04:27:34.017Z] ---> Running in 1b4b233a50f9 [2021-05-25T04:27:36.642Z] Removing intermediate container 1b4b233a50f9 [2021-05-25T04:27:36.642Z] ---> b4df7d915d36 [2021-05-25T04:27:36.642Z] Step 10/26 : RUN go mod download [2021-05-25T04:27:36.923Z] ---> Running in 508485ebf40a [2021-05-25T04:27:39.538Z] Removing intermediate container 508485ebf40a [2021-05-25T04:27:39.538Z] ---> 8895a9761ba2 [2021-05-25T04:27:39.538Z] Step 11/26 : ARG MAKE='make build' [2021-05-25T04:27:39.538Z] ---> Running in bd484636f35f [2021-05-25T04:27:39.809Z] Removing intermediate container bd484636f35f [2021-05-25T04:27:39.809Z] ---> 6974fb433081 [2021-05-25T04:27:39.809Z] Step 12/26 : RUN $MAKE [2021-05-25T04:27:40.080Z] ---> Running in b5c2803b1d67 [2021-05-25T04:27:41.068Z] go mod tidy [2021-05-25T04:27:41.668Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.18" -o cmd/device-virtual ./cmd [2021-05-25T04:28:38.207Z] Removing intermediate container b5c2803b1d67 [2021-05-25T04:28:38.207Z] ---> a62360c7eae7 [2021-05-25T04:28:38.207Z] Step 13/26 : FROM alpine:3.12 [2021-05-25T04:28:38.207Z] 3.12: Pulling from library/alpine [2021-05-25T04:28:38.207Z] d2f70382dc9a: Pulling fs layer [2021-05-25T04:28:38.207Z] d2f70382dc9a: Download complete [2021-05-25T04:28:38.207Z] d2f70382dc9a: Pull complete [2021-05-25T04:28:38.207Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T04:28:38.207Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T04:28:38.207Z] ---> 9852663dfa18 [2021-05-25T04:28:38.207Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-25T04:28:38.207Z] ---> Running in a50bfd17b751 [2021-05-25T04:28:38.207Z] Removing intermediate container a50bfd17b751 [2021-05-25T04:28:38.207Z] ---> 8e002d753083 [2021-05-25T04:28:38.208Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T04:28:38.208Z] ---> Running in 150acd6e49ae [2021-05-25T04:28:38.208Z] Removing intermediate container 150acd6e49ae [2021-05-25T04:28:38.208Z] ---> 2ae217606e7b [2021-05-25T04:28:38.208Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T04:28:38.208Z] ---> Running in 1b44ed34d583 [2021-05-25T04:28:38.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T04:28:38.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T04:28:38.208Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T04:28:38.208Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T04:28:38.208Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T04:28:38.208Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T04:28:38.208Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T04:28:38.208Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T04:28:38.208Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T04:28:38.208Z] OK: 8 MiB in 20 packages [2021-05-25T04:28:38.800Z] Removing intermediate container 1b44ed34d583 [2021-05-25T04:28:38.800Z] ---> 88688fdc4471 [2021-05-25T04:28:38.800Z] Step 17/26 : WORKDIR / [2021-05-25T04:28:39.072Z] ---> Running in 3fefd6ba1c9f [2021-05-25T04:28:39.666Z] Removing intermediate container 3fefd6ba1c9f [2021-05-25T04:28:39.666Z] ---> 7abc5f46a4ec [2021-05-25T04:28:39.666Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-25T04:28:40.268Z] ---> 6afcc864af6c [2021-05-25T04:28:40.268Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-25T04:28:41.248Z] ---> b13d274ac087 [2021-05-25T04:28:41.248Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-25T04:28:42.681Z] ---> 07c3c13bc9ca [2021-05-25T04:28:42.681Z] Step 21/26 : EXPOSE 59900 [2021-05-25T04:28:42.681Z] ---> Running in 63d65b67ab50 [2021-05-25T04:28:43.277Z] Removing intermediate container 63d65b67ab50 [2021-05-25T04:28:43.277Z] ---> f5a50aaaca99 [2021-05-25T04:28:43.277Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-25T04:28:43.277Z] ---> Running in 6d37e6079c3b [2021-05-25T04:28:44.712Z] Removing intermediate container 6d37e6079c3b [2021-05-25T04:28:44.712Z] ---> b8b82976dadc [2021-05-25T04:28:44.712Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T04:28:44.986Z] ---> Running in 7f44f64e7d80 [2021-05-25T04:28:45.582Z] Removing intermediate container 7f44f64e7d80 [2021-05-25T04:28:45.582Z] ---> 66918a41542d [2021-05-25T04:28:45.582Z] Step 24/26 : LABEL arch=arm64 [2021-05-25T04:28:45.582Z] ---> Running in d804caea6711 [2021-05-25T04:28:46.178Z] Removing intermediate container d804caea6711 [2021-05-25T04:28:46.178Z] ---> 8cdf25dceaac [2021-05-25T04:28:46.178Z] Step 25/26 : LABEL git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:28:46.178Z] ---> Running in 2f8e1d35cadd [2021-05-25T04:28:46.774Z] Removing intermediate container 2f8e1d35cadd [2021-05-25T04:28:46.774Z] ---> 21c90a3aaa98 [2021-05-25T04:28:46.774Z] Step 26/26 : LABEL version=1.3.2-dev.18 [2021-05-25T04:28:46.774Z] ---> Running in a1cace56c90b [2021-05-25T04:28:47.368Z] Removing intermediate container a1cace56c90b [2021-05-25T04:28:47.368Z] ---> b546c134dca5 [2021-05-25T04:28:47.368Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T04:28:47.368Z] Successfully built b546c134dca5 [2021-05-25T04:28:47.368Z] 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-05-25T04:28:47.528Z] provisioning config files... [2021-05-25T04:28:47.549Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config4976922510184986878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:28:47.911Z] ---> docker-login.sh [2021-05-25T04:28:47.911Z] nexus3.edgexfoundry.org:10001 [2021-05-25T04:28:48.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:28:48.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:28:48.461Z] Configure a credential helper to remove this warning. See [2021-05-25T04:28:48.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:28:48.461Z] [2021-05-25T04:28:48.461Z] Login Succeeded [2021-05-25T04:28:48.461Z] nexus3.edgexfoundry.org:10002 [2021-05-25T04:28:48.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:28:49.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:28:49.009Z] Configure a credential helper to remove this warning. See [2021-05-25T04:28:49.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:28:49.009Z] [2021-05-25T04:28:49.009Z] Login Succeeded [2021-05-25T04:28:49.009Z] nexus3.edgexfoundry.org:10003 [2021-05-25T04:28:49.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:28:49.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:28:49.558Z] Configure a credential helper to remove this warning. See [2021-05-25T04:28:49.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:28:49.559Z] [2021-05-25T04:28:49.559Z] Login Succeeded [2021-05-25T04:28:49.559Z] nexus3.edgexfoundry.org:10004 [2021-05-25T04:28:49.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:28:50.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:28:50.105Z] Configure a credential helper to remove this warning. See [2021-05-25T04:28:50.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:28:50.105Z] [2021-05-25T04:28:50.105Z] Login Succeeded [2021-05-25T04:28:50.105Z] docker.io [2021-05-25T04:28:50.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T04:28:50.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T04:28:50.648Z] Configure a credential helper to remove this warning. See [2021-05-25T04:28:50.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T04:28:50.648Z] [2021-05-25T04:28:50.648Z] Login Succeeded [2021-05-25T04:28:50.648Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T04:28:50.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-25T04:28:50.745Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-05-25T04:28:50.745Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:28:50.745Z] latest [2021-05-25T04:28:50.745Z] 1.3.2-dev.18 [2021-05-25T04:28:50.745Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:28:50.745Z] master [2021-05-25T04:28:50.745Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:51.139Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:51.487Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:28:51.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-25T04:28:51.487Z] 35eb70d21a89: Preparing [2021-05-25T04:28:51.487Z] 35d24aa2898e: Preparing [2021-05-25T04:28:51.487Z] aa127be8a5dd: Preparing [2021-05-25T04:28:51.487Z] 213e5710bc37: Preparing [2021-05-25T04:28:51.487Z] ecb43abcf492: Preparing [2021-05-25T04:28:51.487Z] 3fbe34a1663b: Preparing [2021-05-25T04:28:51.487Z] 3fbe34a1663b: Waiting [2021-05-25T04:28:51.771Z] 35d24aa2898e: Pushed [2021-05-25T04:28:51.771Z] ecb43abcf492: Pushed [2021-05-25T04:28:51.771Z] aa127be8a5dd: Pushed [2021-05-25T04:28:52.055Z] 3fbe34a1663b: Layer already exists [2021-05-25T04:28:52.328Z] 213e5710bc37: Pushed [2021-05-25T04:28:55.699Z] 35eb70d21a89: Pushed [2021-05-25T04:28:55.699Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:56.047Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:56.393Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-25T04:28:56.393Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-25T04:28:56.393Z] 35eb70d21a89: Preparing [2021-05-25T04:28:56.393Z] 35d24aa2898e: Preparing [2021-05-25T04:28:56.393Z] aa127be8a5dd: Preparing [2021-05-25T04:28:56.393Z] 213e5710bc37: Preparing [2021-05-25T04:28:56.393Z] ecb43abcf492: Preparing [2021-05-25T04:28:56.393Z] 3fbe34a1663b: Preparing [2021-05-25T04:28:56.393Z] 3fbe34a1663b: Waiting [2021-05-25T04:28:56.672Z] aa127be8a5dd: Layer already exists [2021-05-25T04:28:56.672Z] 213e5710bc37: Layer already exists [2021-05-25T04:28:56.672Z] 35d24aa2898e: Layer already exists [2021-05-25T04:28:56.672Z] 35eb70d21a89: Layer already exists [2021-05-25T04:28:56.672Z] ecb43abcf492: Layer already exists [2021-05-25T04:28:56.672Z] 3fbe34a1663b: Layer already exists [2021-05-25T04:28:56.672Z] latest: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:57.022Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:57.360Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 [2021-05-25T04:28:57.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-25T04:28:57.360Z] 35eb70d21a89: Preparing [2021-05-25T04:28:57.360Z] 35d24aa2898e: Preparing [2021-05-25T04:28:57.360Z] aa127be8a5dd: Preparing [2021-05-25T04:28:57.360Z] 213e5710bc37: Preparing [2021-05-25T04:28:57.360Z] ecb43abcf492: Preparing [2021-05-25T04:28:57.360Z] 3fbe34a1663b: Preparing [2021-05-25T04:28:57.360Z] 3fbe34a1663b: Waiting [2021-05-25T04:28:57.360Z] ecb43abcf492: Layer already exists [2021-05-25T04:28:57.360Z] aa127be8a5dd: Layer already exists [2021-05-25T04:28:57.360Z] 213e5710bc37: Layer already exists [2021-05-25T04:28:57.360Z] 35d24aa2898e: Layer already exists [2021-05-25T04:28:57.360Z] 35eb70d21a89: Layer already exists [2021-05-25T04:28:57.360Z] 3fbe34a1663b: Layer already exists [2021-05-25T04:28:57.632Z] 1.3.2-dev.18: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:57.977Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:58.323Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:28:58.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-25T04:28:58.323Z] 35eb70d21a89: Preparing [2021-05-25T04:28:58.323Z] 35d24aa2898e: Preparing [2021-05-25T04:28:58.323Z] aa127be8a5dd: Preparing [2021-05-25T04:28:58.323Z] 213e5710bc37: Preparing [2021-05-25T04:28:58.323Z] ecb43abcf492: Preparing [2021-05-25T04:28:58.324Z] 3fbe34a1663b: Preparing [2021-05-25T04:28:58.324Z] 3fbe34a1663b: Waiting [2021-05-25T04:28:58.324Z] 35d24aa2898e: Layer already exists [2021-05-25T04:28:58.324Z] ecb43abcf492: Layer already exists [2021-05-25T04:28:58.324Z] 35eb70d21a89: Layer already exists [2021-05-25T04:28:58.324Z] 213e5710bc37: Layer already exists [2021-05-25T04:28:58.324Z] aa127be8a5dd: Layer already exists [2021-05-25T04:28:58.324Z] 3fbe34a1663b: Layer already exists [2021-05-25T04:28:58.595Z] eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:58.937Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:28:59.274Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-05-25T04:28:59.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-25T04:28:59.274Z] 35eb70d21a89: Preparing [2021-05-25T04:28:59.274Z] 35d24aa2898e: Preparing [2021-05-25T04:28:59.274Z] aa127be8a5dd: Preparing [2021-05-25T04:28:59.274Z] 213e5710bc37: Preparing [2021-05-25T04:28:59.274Z] ecb43abcf492: Preparing [2021-05-25T04:28:59.274Z] 3fbe34a1663b: Preparing [2021-05-25T04:28:59.274Z] 3fbe34a1663b: Waiting [2021-05-25T04:28:59.274Z] ecb43abcf492: Layer already exists [2021-05-25T04:28:59.274Z] 213e5710bc37: Layer already exists [2021-05-25T04:28:59.274Z] aa127be8a5dd: Layer already exists [2021-05-25T04:28:59.274Z] 35eb70d21a89: Layer already exists [2021-05-25T04:28:59.274Z] 35d24aa2898e: Layer already exists [2021-05-25T04:28:59.274Z] 3fbe34a1663b: Layer already exists [2021-05-25T04:28:59.547Z] master: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-25T04:28:59.620Z] ===================================================== [Pipeline] echo [2021-05-25T04:28:59.639Z] taggedImages: [2021-05-25T04:28:59.639Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [2021-05-25T04:28:59.639Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-25T04:28:59.639Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 [2021-05-25T04:28:59.639Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [2021-05-25T04:28:59.639Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:29:00.032Z] ---> job-cost.sh [2021-05-25T04:29:00.032Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-K5pG [2021-05-25T04:29:39.000Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T04:31:00.732Z] lf-activate-venv(): INFO: Adding /tmp/venv-K5pG/bin to PATH [2021-05-25T04:31:00.733Z] INFO: No Stack... [2021-05-25T04:31:00.733Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T04:31:00.733Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T04:31:01.079Z] + cat /w/workspace/device-virtual-go/58/archives/cost.csv [2021-05-25T04:31:01.080Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T04:31:01.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [2021-05-25T04:31:01.151Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] did not exist. Created. [2021-05-25T04:31:01.152Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T04:31:01.524Z] /w/workspace/device-virtual-go/58@tmp/durable-f5b71e29/script.sh: 1: /w/workspace/device-virtual-go/58@tmp/durable-f5b71e29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-25T04:31:01.869Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T04:31:01.900Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T04:31:02.064Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T04:31:02.073Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-58-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-05-25T04:31:02.814Z] provisioning config files... [2021-05-25T04:31:02.824Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3442682609793850739tmp [Pipeline] { [Pipeline] sh [2021-05-25T04:31:03.164Z] + set +x [2021-05-25T04:31:03.164Z] + bash -s -- [2021-05-25T04:31:03.164Z] + curl -s https://codecov.io/bash [2021-05-25T04:31:03.164Z] [2021-05-25T04:31:03.164Z] _____ _ [2021-05-25T04:31:03.164Z] / ____| | | [2021-05-25T04:31:03.164Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T04:31:03.164Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T04:31:03.164Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T04:31:03.164Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T04:31:03.164Z] Bash-1.0.3 [2021-05-25T04:31:03.164Z] [2021-05-25T04:31:03.164Z] [2021-05-25T04:31:03.164Z] ==> git version 2.24.4 found [2021-05-25T04:31:03.164Z] ==> 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-05-25T04:31:03.164Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T04:31:03.164Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T04:31:03.164Z] ==> Jenkins CI detected. [2021-05-25T04:31:03.164Z] project root: . [2021-05-25T04:31:03.164Z] --> token set from env [2021-05-25T04:31:03.164Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T04:31:03.164Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T04:31:03.164Z] ==> Python coveragepy not found [2021-05-25T04:31:03.164Z] ==> Searching for coverage reports in: [2021-05-25T04:31:03.164Z] + . [2021-05-25T04:31:03.437Z] -> Found 1 reports [2021-05-25T04:31:03.437Z] ==> Detecting git/mercurial file structure [2021-05-25T04:31:03.437Z] ==> Reading reports [2021-05-25T04:31:03.437Z] + ./coverage.out bytes=47247 [2021-05-25T04:31:03.437Z] ==> Appending adjustments [2021-05-25T04:31:03.437Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T04:31:03.437Z] + Found adjustments [2021-05-25T04:31:03.437Z] ==> Gzipping contents [2021-05-25T04:31:03.437Z] 8.0K /tmp/codecov.dyPHoE.gz [2021-05-25T04:31:03.437Z] ==> Uploading reports [2021-05-25T04:31:03.438Z] url: https://codecov.io [2021-05-25T04:31:03.438Z] query: branch=master&commit=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-25T04:31:03.438Z] -> Pinging Codecov [2021-05-25T04:31:03.438Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-25T04:31:03.702Z] -> Uploading to [2021-05-25T04:31:03.702Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/5E52B4B073DB2E39498172D8E973AA87/eb590ed696e9e9466b4ef6c3e58a00375ee0ca86/d5130ebd-0011-46c0-9507-c34d86110f54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T043103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=604c75557a89fb01e221ac8663b8f52790e0491cd064f9610496b3ea2fce7e5f [2021-05-25T04:31:03.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T04:31:03.702Z] Dload Upload Total Spent Left Speed [2021-05-25T04:31:04.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5780 0 0 100 5780 0 14917 --:--:-- --:--:-- --:--:-- 14896 [2021-05-25T04:31:04.227Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] } [2021-05-25T04:31:04.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-25T04:31:04.989Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-25T04:31:05.010Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:31:05.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-25T04:31:05.318Z] [2021-05-25T04:31:05.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:31:05.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-25T04:31:05.634Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-25T04:31:05.634Z] 188c0c94c7c5: Pulling fs layer [2021-05-25T04:31:05.634Z] 0ef7d3d256c8: Pulling fs layer [2021-05-25T04:31:05.634Z] de9db76c5a1d: Pulling fs layer [2021-05-25T04:31:05.634Z] 0eba1c9be4d2: Pulling fs layer [2021-05-25T04:31:05.634Z] 0d57e429df01: Pulling fs layer [2021-05-25T04:31:05.634Z] 4e4be7b47b0d: Pulling fs layer [2021-05-25T04:31:05.634Z] e1f770b5df2f: Pulling fs layer [2021-05-25T04:31:05.634Z] 85a0685a4137: Pulling fs layer [2021-05-25T04:31:05.634Z] 0d57e429df01: Waiting [2021-05-25T04:31:05.634Z] 4e4be7b47b0d: Waiting [2021-05-25T04:31:05.634Z] e1f770b5df2f: Waiting [2021-05-25T04:31:05.634Z] 85a0685a4137: Waiting [2021-05-25T04:31:05.634Z] 0eba1c9be4d2: Waiting [2021-05-25T04:31:05.634Z] de9db76c5a1d: Verifying Checksum [2021-05-25T04:31:05.634Z] de9db76c5a1d: Download complete [2021-05-25T04:31:05.634Z] 0ef7d3d256c8: Verifying Checksum [2021-05-25T04:31:05.634Z] 0ef7d3d256c8: Download complete [2021-05-25T04:31:05.634Z] 0d57e429df01: Verifying Checksum [2021-05-25T04:31:05.634Z] 0d57e429df01: Download complete [2021-05-25T04:31:05.904Z] 188c0c94c7c5: Verifying Checksum [2021-05-25T04:31:05.904Z] 188c0c94c7c5: Download complete [2021-05-25T04:31:05.904Z] 4e4be7b47b0d: Verifying Checksum [2021-05-25T04:31:05.904Z] 4e4be7b47b0d: Download complete [2021-05-25T04:31:05.904Z] 188c0c94c7c5: Pull complete [2021-05-25T04:31:06.168Z] 0ef7d3d256c8: Pull complete [2021-05-25T04:31:06.168Z] de9db76c5a1d: Pull complete [2021-05-25T04:31:07.555Z] e1f770b5df2f: Verifying Checksum [2021-05-25T04:31:07.555Z] e1f770b5df2f: Download complete [2021-05-25T04:31:09.475Z] 0eba1c9be4d2: Verifying Checksum [2021-05-25T04:31:09.475Z] 0eba1c9be4d2: Download complete [2021-05-25T04:31:09.475Z] 85a0685a4137: Verifying Checksum [2021-05-25T04:31:09.475Z] 85a0685a4137: Download complete [2021-05-25T04:31:12.800Z] 0eba1c9be4d2: Pull complete [2021-05-25T04:31:12.801Z] 0d57e429df01: Pull complete [2021-05-25T04:31:12.801Z] 4e4be7b47b0d: Pull complete [2021-05-25T04:31:13.061Z] e1f770b5df2f: Pull complete [2021-05-25T04:31:16.381Z] 85a0685a4137: Pull complete [2021-05-25T04:31:16.381Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-25T04:31:16.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-25T04:31:16.381Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-25T04:31:16.456Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:31:16.490Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-25T04:31:20.270Z] $ docker top e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-25T04:31:20.360Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-25T04:31:20.653Z] + set -o pipefail [2021-05-25T04:31:20.653Z] + snyk monitor '--org=edgex-jenkins' [2021-05-25T04:31:30.674Z] [2021-05-25T04:31:30.674Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-25T04:31:30.674Z] [2021-05-25T04:31:30.674Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/d55ce7b3-601a-4b9d-8479-89ebde270f0f [2021-05-25T04:31:30.674Z] [2021-05-25T04:31:30.674Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-25T04:31:30.674Z] [2021-05-25T04:31:30.674Z] [Pipeline] } [2021-05-25T04:31:30.683Z] $ docker stop --time=1 e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce [2021-05-25T04:31:33.340Z] $ docker rm -f e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce [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-05-25T04:31:34.173Z] + git log --format=format:%s -1 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:31:34.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:31:34.483Z] . [Pipeline] withDockerContainer [2021-05-25T04:31:34.558Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:31:34.595Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T04:31:34.950Z] $ docker top b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T04:31:35.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:31:35.077Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:31:35.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:31:35.201Z] $ docker exec b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde ssh-agent [2021-05-25T04:31:35.317Z] SSH_AUTH_SOCK=/tmp/ssh-rZZlB20qQ1uv/agent.15 [2021-05-25T04:31:35.317Z] SSH_AGENT_PID=22 [2021-05-25T04:31:35.323Z] Running ssh-add (command line suppressed) [2021-05-25T04:31:35.427Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2002326587477941764.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2002326587477941764.key) [2021-05-25T04:31:35.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:31:35.748Z] + git semver tag [2021-05-25T04:31:35.748Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T04:31:35.748Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-25T04:31:35.748Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-25T04:31:35.748Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T04:31:35.748Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T04:31:35.748Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T04:31:35.748Z] # $SEMVER_BRANCH = master [2021-05-25T04:31:35.748Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-25T04:31:35.748Z] # eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 HEAD [2021-05-25T04:31:35.748Z] # -> Force: false [2021-05-25T04:31:35.748Z] # ac328824c6eae69bc93f9c5ebe090b526c6e92f3 refs/tags/v1.3.2-dev.18 [Pipeline] } [2021-05-25T04:31:35.755Z] $ docker exec --env ******** --env ******** b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde ssh-agent -k [2021-05-25T04:31:35.886Z] unset SSH_AUTH_SOCK; [2021-05-25T04:31:35.887Z] unset SSH_AGENT_PID; [2021-05-25T04:31:35.887Z] echo Agent pid 22 killed; [2021-05-25T04:31:35.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T04:31:36.237Z] + git semver [Pipeline] } [2021-05-25T04:31:36.249Z] $ docker stop --time=1 b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde [2021-05-25T04:31:37.436Z] $ docker rm -f b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:31:37.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-25T04:31:37.922Z] [2021-05-25T04:31:37.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:31:38.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-25T04:31:38.233Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-25T04:31:38.233Z] ab5ef0e58194: Pulling fs layer [2021-05-25T04:31:38.233Z] 9712f1f96733: Pulling fs layer [2021-05-25T04:31:38.233Z] 63f879dbbcfc: Pulling fs layer [2021-05-25T04:31:38.233Z] 0d9ebad4ef96: Pulling fs layer [2021-05-25T04:31:38.233Z] e9a5061849ea: Pulling fs layer [2021-05-25T04:31:38.233Z] d747dcd14b5f: Pulling fs layer [2021-05-25T04:31:38.233Z] 2de7ff778b66: Pulling fs layer [2021-05-25T04:31:38.233Z] 0d9ebad4ef96: Waiting [2021-05-25T04:31:38.233Z] e9a5061849ea: Waiting [2021-05-25T04:31:38.233Z] d747dcd14b5f: Waiting [2021-05-25T04:31:38.233Z] 2de7ff778b66: Waiting [2021-05-25T04:31:38.233Z] 9712f1f96733: Verifying Checksum [2021-05-25T04:31:38.233Z] 9712f1f96733: Download complete [2021-05-25T04:31:39.619Z] 63f879dbbcfc: Verifying Checksum [2021-05-25T04:31:39.619Z] 63f879dbbcfc: Download complete [2021-05-25T04:31:39.619Z] e9a5061849ea: Verifying Checksum [2021-05-25T04:31:39.619Z] e9a5061849ea: Download complete [2021-05-25T04:31:39.619Z] d747dcd14b5f: Verifying Checksum [2021-05-25T04:31:39.619Z] d747dcd14b5f: Download complete [2021-05-25T04:31:39.882Z] 2de7ff778b66: Verifying Checksum [2021-05-25T04:31:39.882Z] 2de7ff778b66: Download complete [2021-05-25T04:31:40.141Z] 0d9ebad4ef96: Verifying Checksum [2021-05-25T04:31:40.141Z] 0d9ebad4ef96: Download complete [2021-05-25T04:31:40.407Z] ab5ef0e58194: Verifying Checksum [2021-05-25T04:31:40.407Z] ab5ef0e58194: Download complete [2021-05-25T04:31:42.999Z] ab5ef0e58194: Pull complete [2021-05-25T04:31:42.999Z] 9712f1f96733: Pull complete [2021-05-25T04:31:43.944Z] 63f879dbbcfc: Pull complete [2021-05-25T04:31:47.289Z] 0d9ebad4ef96: Pull complete [2021-05-25T04:31:47.289Z] e9a5061849ea: Pull complete [2021-05-25T04:31:47.289Z] d747dcd14b5f: Pull complete [2021-05-25T04:31:48.240Z] 2de7ff778b66: Pull complete [2021-05-25T04:31:48.240Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-25T04:31:48.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-25T04:31:48.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-25T04:31:48.315Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:31:48.347Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-25T04:31:54.345Z] $ docker top 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:31:54.447Z] provisioning config files... [2021-05-25T04:31:54.458Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6857913280613634144tmp [2021-05-25T04:31:54.480Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8810541746124854229tmp [2021-05-25T04:31:54.496Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6159360108321891947tmp [Pipeline] { [Pipeline] echo [2021-05-25T04:31:54.525Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:31:54.819Z] ---> sigul-configuration.sh [2021-05-25T04:31:54.819Z] gpg: directory `/root/.gnupg' created [2021-05-25T04:31:54.819Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-25T04:31:54.819Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-25T04:31:54.819Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-25T04:31:54.819Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-25T04:31:54.819Z] gpg: CAST5 encrypted data [2021-05-25T04:31:54.819Z] gpg: encrypted with 1 passphrase [2021-05-25T04:31:54.819Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-25T04:31:55.113Z] + mkdir /home/jenkins [2021-05-25T04:31:55.113Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-25T04:31:55.406Z] + 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-05-25T04:31:55.415Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:31:55.715Z] ---> sigul-install.sh [2021-05-25T04:32:01.006Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-25T04:32:01.305Z] + git tag --list [2021-05-25T04:32:01.305Z] v1.0.0 [2021-05-25T04:32:01.305Z] v1.1.0 [2021-05-25T04:32:01.305Z] v1.1.1 [2021-05-25T04:32:01.305Z] v1.2.1 [2021-05-25T04:32:01.305Z] v1.2.2 [2021-05-25T04:32:01.305Z] v1.2.3 [2021-05-25T04:32:01.305Z] v1.3.0 [2021-05-25T04:32:01.305Z] v1.3.1 [2021-05-25T04:32:01.305Z] v1.3.1-dev.1 [2021-05-25T04:32:01.305Z] v1.3.1-dev.2 [2021-05-25T04:32:01.305Z] v1.3.1-dev.3 [2021-05-25T04:32:01.305Z] v1.3.1-dev.4 [2021-05-25T04:32:01.305Z] v1.3.1-dev.5 [2021-05-25T04:32:01.305Z] v1.3.2-dev.1 [2021-05-25T04:32:01.305Z] v1.3.2-dev.10 [2021-05-25T04:32:01.305Z] v1.3.2-dev.11 [2021-05-25T04:32:01.305Z] v1.3.2-dev.12 [2021-05-25T04:32:01.305Z] v1.3.2-dev.13 [2021-05-25T04:32:01.305Z] v1.3.2-dev.14 [2021-05-25T04:32:01.305Z] v1.3.2-dev.15 [2021-05-25T04:32:01.305Z] v1.3.2-dev.16 [2021-05-25T04:32:01.305Z] v1.3.2-dev.17 [2021-05-25T04:32:01.305Z] v1.3.2-dev.18 [2021-05-25T04:32:01.305Z] v1.3.2-dev.2 [2021-05-25T04:32:01.305Z] v1.3.2-dev.3 [2021-05-25T04:32:01.305Z] v1.3.2-dev.4 [2021-05-25T04:32:01.305Z] v1.3.2-dev.5 [2021-05-25T04:32:01.305Z] v1.3.2-dev.6 [2021-05-25T04:32:01.305Z] v1.3.2-dev.7 [2021-05-25T04:32:01.305Z] v1.3.2-dev.8 [2021-05-25T04:32:01.305Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-25T04:32:01.608Z] + lftools sign git-tag v1.3.2-dev.18 [2021-05-25T04:32:02.185Z] Signing Git tag with Sigul... [2021-05-25T04:32:02.185Z] Signing v1.3.2-dev.18 [Pipeline] echo [2021-05-25T04:32:02.764Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:03.071Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-25T04:32:03.081Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-25T04:32:03.109Z] $ docker stop --time=1 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 [2021-05-25T04:32:05.227Z] $ docker rm -f 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:32:05.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:32:05.726Z] . [Pipeline] withDockerContainer [2021-05-25T04:32:05.942Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:32:06.155Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T04:32:06.534Z] $ docker top ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T04:32:06.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:32:06.662Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:32:06.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:32:06.785Z] $ docker exec ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf ssh-agent [2021-05-25T04:32:06.904Z] SSH_AUTH_SOCK=/tmp/ssh-5pRJS9f17Ofj/agent.12 [2021-05-25T04:32:06.904Z] SSH_AGENT_PID=18 [2021-05-25T04:32:06.910Z] Running ssh-add (command line suppressed) [2021-05-25T04:32:07.002Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8209321720244914818.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8209321720244914818.key) [2021-05-25T04:32:07.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:32:07.332Z] + git semver bump pre [2021-05-25T04:32:07.333Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T04:32:07.333Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-25T04:32:07.333Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-25T04:32:07.333Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T04:32:07.333Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T04:32:07.333Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T04:32:07.333Z] # $SEMVER_BRANCH = master [2021-05-25T04:32:07.333Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-25T04:32:07.333Z] 1.3.2-dev.19 [Pipeline] } [2021-05-25T04:32:07.341Z] $ docker exec --env ******** --env ******** ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf ssh-agent -k [2021-05-25T04:32:07.446Z] unset SSH_AUTH_SOCK; [2021-05-25T04:32:07.446Z] unset SSH_AGENT_PID; [2021-05-25T04:32:07.446Z] echo Agent pid 18 killed; [2021-05-25T04:32:07.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T04:32:07.813Z] + git semver [Pipeline] } [2021-05-25T04:32:07.827Z] $ docker stop --time=1 ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf [2021-05-25T04:32:09.013Z] $ docker rm -f ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:32:09.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T04:32:09.400Z] . [Pipeline] withDockerContainer [2021-05-25T04:32:09.469Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:32:09.506Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T04:32:09.834Z] $ docker top da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T04:32:09.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T04:32:09.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T04:32:10.061Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T04:32:10.060Z] $ docker exec da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 ssh-agent [2021-05-25T04:32:10.173Z] SSH_AUTH_SOCK=/tmp/ssh-Ks0DQ52K2v5l/agent.15 [2021-05-25T04:32:10.173Z] SSH_AGENT_PID=21 [2021-05-25T04:32:10.179Z] Running ssh-add (command line suppressed) [2021-05-25T04:32:10.269Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4465186227768881136.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4465186227768881136.key) [2021-05-25T04:32:10.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T04:32:10.588Z] + git semver push [2021-05-25T04:32:10.589Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T04:32:10.589Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-25T04:32:10.589Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-25T04:32:10.589Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T04:32:10.589Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T04:32:10.589Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T04:32:10.589Z] # $SEMVER_BRANCH = master [2021-05-25T04:32:10.589Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-25T04:32:14.810Z] $ docker exec --env ******** --env ******** da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 ssh-agent -k [2021-05-25T04:32:14.909Z] unset SSH_AUTH_SOCK; [2021-05-25T04:32:14.910Z] unset SSH_AGENT_PID; [2021-05-25T04:32:14.910Z] echo Agent pid 21 killed; [2021-05-25T04:32:14.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T04:32:15.287Z] + git semver [Pipeline] } [2021-05-25T04:32:15.300Z] $ docker stop --time=1 da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 [2021-05-25T04:32:16.503Z] $ docker rm -f da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 [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-05-25T04:32:17.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:18.198Z] ---> package-listing.sh [2021-05-25T04:32:18.198Z] ++ facter osfamily [2021-05-25T04:32:18.198Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T04:32:18.459Z] + OS_FAMILY=redhat [2021-05-25T04:32:18.459Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-25T04:32:18.459Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T04:32:18.459Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T04:32:18.459Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T04:32:18.459Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T04:32:18.459Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-25T04:32:18.459Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T04:32:18.459Z] + case "${OS_FAMILY}" in [2021-05-25T04:32:18.459Z] + rpm -qa [2021-05-25T04:32:18.459Z] + sort [2021-05-25T04:32:19.034Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T04:32:19.034Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T04:32:19.034Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T04:32:19.034Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-25T04:32:19.034Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-25T04:32:19.034Z] + 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-05-25T04:32:19.053Z] 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-05-25T04:32:19.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:32:19.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:32:19.922Z] [2021-05-25T04:32:19.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T04:32:20.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:32:20.251Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T04:32:20.251Z] df20fa9351a1: Pulling fs layer [2021-05-25T04:32:20.251Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T04:32:20.251Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T04:32:20.251Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T04:32:20.251Z] 93b61091891f: Pulling fs layer [2021-05-25T04:32:20.251Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T04:32:20.251Z] 5e14af77c1be: Pulling fs layer [2021-05-25T04:32:20.251Z] 01666e4c0597: Pulling fs layer [2021-05-25T04:32:20.251Z] aa168da1d23b: Pulling fs layer [2021-05-25T04:32:20.251Z] 46f8f816bc3b: Waiting [2021-05-25T04:32:20.251Z] 93b9cdb0e59b: Waiting [2021-05-25T04:32:20.251Z] 5e14af77c1be: Waiting [2021-05-25T04:32:20.251Z] 93b61091891f: Waiting [2021-05-25T04:32:20.251Z] 01666e4c0597: Waiting [2021-05-25T04:32:20.251Z] aa168da1d23b: Waiting [2021-05-25T04:32:20.251Z] 36b3adc4ff6f: Verifying Checksum [2021-05-25T04:32:20.251Z] 36b3adc4ff6f: Download complete [2021-05-25T04:32:20.251Z] 46f8f816bc3b: Verifying Checksum [2021-05-25T04:32:20.251Z] 46f8f816bc3b: Download complete [2021-05-25T04:32:20.251Z] df20fa9351a1: Verifying Checksum [2021-05-25T04:32:20.251Z] df20fa9351a1: Download complete [2021-05-25T04:32:20.516Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T04:32:20.516Z] 93b9cdb0e59b: Download complete [2021-05-25T04:32:20.516Z] 5e14af77c1be: Verifying Checksum [2021-05-25T04:32:20.516Z] 5e14af77c1be: Download complete [2021-05-25T04:32:20.516Z] 93b61091891f: Verifying Checksum [2021-05-25T04:32:20.516Z] 93b61091891f: Download complete [2021-05-25T04:32:20.516Z] 01666e4c0597: Verifying Checksum [2021-05-25T04:32:20.516Z] 01666e4c0597: Download complete [2021-05-25T04:32:20.516Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T04:32:20.516Z] 8ad3a11d3b57: Download complete [2021-05-25T04:32:20.516Z] df20fa9351a1: Pull complete [2021-05-25T04:32:20.780Z] 36b3adc4ff6f: Pull complete [2021-05-25T04:32:21.044Z] 8ad3a11d3b57: Pull complete [2021-05-25T04:32:21.044Z] 46f8f816bc3b: Pull complete [2021-05-25T04:32:21.307Z] 93b61091891f: Pull complete [2021-05-25T04:32:21.567Z] 93b9cdb0e59b: Pull complete [2021-05-25T04:32:21.567Z] 5e14af77c1be: Pull complete [2021-05-25T04:32:21.567Z] 01666e4c0597: Pull complete [2021-05-25T04:32:22.518Z] aa168da1d23b: Verifying Checksum [2021-05-25T04:32:22.518Z] aa168da1d23b: Download complete [2021-05-25T04:32:26.774Z] aa168da1d23b: Pull complete [2021-05-25T04:32:26.774Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T04:32:26.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T04:32:26.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T04:32:26.845Z] prd-centos7-docker-4c-2g-50 does not seem to be running inside a container [2021-05-25T04:32:26.887Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-25T04:32:30.253Z] $ docker top 3a244c9b4555a885d776dee9120d5586ed814355e28f676263960022c0c902b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T04:32:30.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T04:32:30.928Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T04:32:31.224Z] + ls /var/log/sa-host [2021-05-25T04:32:31.224Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T04:32:31.224Z] file_magic: OK [2021-05-25T04:32:31.224Z] HZ: Using current value: 100 [2021-05-25T04:32:31.224Z] file_header: OK [2021-05-25T04:32:31.224Z] 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-05-25T04:32:31.224Z] Statistics: [2021-05-25T04:32:31.224Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T04:32:31.224Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T04:32:31.224Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T04:32:31.224Z] file_magic: OK [2021-05-25T04:32:31.224Z] HZ: Using current value: 100 [2021-05-25T04:32:31.224Z] file_header: OK [2021-05-25T04:32:31.224Z] 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-05-25T04:32:31.224Z] Statistics: [2021-05-25T04:32:31.224Z] 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-05-25T04:32:31.224Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T04:32:31.850Z] provisioning config files... [2021-05-25T04:32:31.865Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1687386160267777022tmp [Pipeline] { [Pipeline] echo [2021-05-25T04:32:31.886Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:32.180Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T04:32:32.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T04:32:32.215Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:32.532Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T04:32:32.542Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:32.846Z] ---> sudo-logs.sh [2021-05-25T04:32:32.846Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T04:32:32.872Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:33.166Z] ---> job-cost.sh [2021-05-25T04:32:33.166Z] lf-activate-venv: SKIPPING [2021-05-25T04:32:33.166Z] DEBUG: total: 0.18000000715255737 [2021-05-25T04:32:33.166Z] INFO: Retrieving Stack Cost... [2021-05-25T04:32:34.106Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T04:32:34.677Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T04:32:34.690Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T04:32:34.998Z] ---> logs-deploy.sh [2021-05-25T04:32:34.998Z] lf-activate-venv: SKIPPING [2021-05-25T04:32:34.998Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/58 [2021-05-25T04:32:34.998Z] INFO: archiving workspace using pattern(s): [2021-05-25T04:32:35.951Z] Archives upload complete. [2021-05-25T04:32:36.212Z] INFO: archiving logs to Nexus