Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d9cac7b544984367de20437773925dcf3f7e06d 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-ssh8339860663256851553.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-ssh2422667315796215244.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-ssh6704739563763918825.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-ssh6705417225227840575.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-ssh1328882520562194148.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-339 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 > 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-ssh4087872300122329121.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 Commit message: "Merge pull request #214 from hahattan/config-update" > git rev-list --no-walk eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T02:45:27.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T02:45:27.472Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T02:45:27.499Z] ========================================================= [2021-05-26T02:45:27.499Z] EdgeX Global Pipelines Version Info [2021-05-26T02:45:27.499Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:45:28.943Z] ------------------- [2021-05-26T02:45:28.943Z] stable info: [2021-05-26T02:45:28.943Z] ------------------- [2021-05-26T02:45:28.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T02:45:28.943Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T02:45:28.943Z] Message: update stable to v1.0.192 [2021-05-26T02:45:29.530Z] ------------------- [2021-05-26T02:45:29.530Z] experimental info: [2021-05-26T02:45:29.530Z] ------------------- [2021-05-26T02:45:29.530Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T02:45:29.530Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T02:45:29.530Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T02:45:29.660Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-26T02:45:29.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-26T02:45:29.711Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T02:45:29.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T02:45:29.760Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T02:45:29.785Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T02:45:29.809Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T02:45:29.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T02:45:29.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T02:45:29.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T02:45:29.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T02:45:29.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-26T02:45:29.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T02:45:29.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T02:45:30.008Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T02:45:30.032Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T02:45:30.057Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T02:45:30.084Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T02:45:30.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T02:45:30.132Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T02:45:30.155Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T02:45:30.179Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T02:45:30.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T02:45:30.227Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T02:45:30.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T02:45:30.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T02:45:30.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-26T02:45:30.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-26T02:45:30.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-26T02:45:30.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] echo [2021-05-26T02:45:30.391Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d9cac7 [Pipeline] echo [2021-05-26T02:45:30.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:45:30.491Z] provisioning config files... [2021-05-26T02:45:30.510Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7675769229752515095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:45:30.832Z] ---> docker-login.sh [2021-05-26T02:45:30.832Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:45:31.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:45:31.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:45:31.777Z] Configure a credential helper to remove this warning. See [2021-05-26T02:45:31.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:45:31.777Z] [2021-05-26T02:45:31.777Z] Login Succeeded [2021-05-26T02:45:31.777Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:45:31.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:45:31.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:45:31.777Z] Configure a credential helper to remove this warning. See [2021-05-26T02:45:31.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:45:31.777Z] [2021-05-26T02:45:31.777Z] Login Succeeded [2021-05-26T02:45:31.777Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:45:32.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:45:32.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:45:32.039Z] Configure a credential helper to remove this warning. See [2021-05-26T02:45:32.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:45:32.039Z] [2021-05-26T02:45:32.039Z] Login Succeeded [2021-05-26T02:45:32.039Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:45:32.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:45:32.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:45:32.039Z] Configure a credential helper to remove this warning. See [2021-05-26T02:45:32.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:45:32.039Z] [2021-05-26T02:45:32.039Z] Login Succeeded [2021-05-26T02:45:32.039Z] docker.io [2021-05-26T02:45:32.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:45:32.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:45:32.563Z] Configure a credential helper to remove this warning. See [2021-05-26T02:45:32.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:45:32.563Z] [2021-05-26T02:45:32.563Z] Login Succeeded [2021-05-26T02:45:32.563Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:45:32.575Z] 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-26T02:45:33.026Z] + git log --format=format:%s -1 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] echo [2021-05-26T02:45:33.123Z] GIT_COMMIT: 8d9cac7b544984367de20437773925dcf3f7e06d, Commit Message: Merge pull request #214 from hahattan/config-update [Pipeline] echo [2021-05-26T02:45:33.137Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:45:34.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:45:34.103Z] [2021-05-26T02:45:34.103Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:45:34.423Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:45:34.423Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T02:45:34.423Z] 31603596830f: Pulling fs layer [2021-05-26T02:45:34.423Z] 54011a49482f: Pulling fs layer [2021-05-26T02:45:34.423Z] a6820b24f6d8: Pulling fs layer [2021-05-26T02:45:34.423Z] f581987b2513: Pulling fs layer [2021-05-26T02:45:34.423Z] f581987b2513: Waiting [2021-05-26T02:45:34.423Z] 54011a49482f: Verifying Checksum [2021-05-26T02:45:34.423Z] 54011a49482f: Download complete [2021-05-26T02:45:34.684Z] 31603596830f: Verifying Checksum [2021-05-26T02:45:34.684Z] 31603596830f: Download complete [2021-05-26T02:45:34.684Z] f581987b2513: Verifying Checksum [2021-05-26T02:45:34.684Z] f581987b2513: Download complete [2021-05-26T02:45:34.684Z] a6820b24f6d8: Verifying Checksum [2021-05-26T02:45:34.684Z] a6820b24f6d8: Download complete [2021-05-26T02:45:34.684Z] 31603596830f: Pull complete [2021-05-26T02:45:34.952Z] 54011a49482f: Pull complete [2021-05-26T02:45:35.534Z] a6820b24f6d8: Pull complete [2021-05-26T02:45:35.794Z] f581987b2513: Pull complete [2021-05-26T02:45:35.794Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T02:45:35.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:45:35.794Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T02:45:35.872Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:45:35.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:45:37.273Z] $ docker top a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:45:37.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:45:37.398Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:45:37.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:45:37.504Z] $ docker exec a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent [2021-05-26T02:45:37.610Z] SSH_AUTH_SOCK=/tmp/ssh-c96hXW8aWJFU/agent.13 [2021-05-26T02:45:37.610Z] SSH_AGENT_PID=20 [2021-05-26T02:45:37.618Z] Running ssh-add (command line suppressed) [2021-05-26T02:45:37.721Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_658146310765410944.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_658146310765410944.key) [2021-05-26T02:45:37.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:45:38.033Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T02:45:38.056Z] $ docker exec --env ******** --env ******** a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent -k [2021-05-26T02:45:38.146Z] unset SSH_AUTH_SOCK; [2021-05-26T02:45:38.147Z] unset SSH_AGENT_PID; [2021-05-26T02:45:38.147Z] echo Agent pid 20 killed; [2021-05-26T02:45:38.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T02:45:38.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:45:38.202Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:45:38.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:45:38.310Z] $ docker exec a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent [2021-05-26T02:45:38.418Z] SSH_AUTH_SOCK=/tmp/ssh-o54rnxA8Yknn/agent.54 [2021-05-26T02:45:38.418Z] SSH_AGENT_PID=61 [2021-05-26T02:45:38.424Z] Running ssh-add (command line suppressed) [2021-05-26T02:45:38.520Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8916676909507891317.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8916676909507891317.key) [2021-05-26T02:45:38.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:45:38.838Z] + git semver init [2021-05-26T02:45:38.838Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:45:38.838Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-26T02:45:38.838Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-26T02:45:38.838Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:45:38.838Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:45:38.838Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:45:38.838Z] # $SEMVER_BRANCH = master [2021-05-26T02:45:38.838Z] # $SEMVER_TEMP = /tmp/semver-485701111 [2021-05-26T02:45:38.838Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-26T02:45:39.796Z] # '/tmp/semver-485701111' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-26T02:45:39.796Z] # -> Force: false [2021-05-26T02:45:39.796Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-26T02:45:39.810Z] $ docker exec --env ******** --env ******** a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent -k [2021-05-26T02:45:39.901Z] unset SSH_AUTH_SOCK; [2021-05-26T02:45:39.902Z] unset SSH_AGENT_PID; [2021-05-26T02:45:39.902Z] echo Agent pid 61 killed; [2021-05-26T02:45:39.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:45:40.258Z] + git semver [Pipeline] } [2021-05-26T02:45:40.274Z] $ docker stop --time=1 a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce [2021-05-26T02:45:41.672Z] $ docker rm -f a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:45:42.042Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T02:45:42.310Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T02:45:42.313Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.19 [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-26T02:45:57.512Z] Still waiting to schedule task [2021-05-26T02:45:57.513Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-26T02:45:57.516Z] Still waiting to schedule task [2021-05-26T02:45:57.517Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-26T02:47:41.919Z] Running on prd-centos7-docker-4c-2g-342 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-26T02:47:41.939Z] Running in /w/workspace/device-virtual-go/59 [Pipeline] { [Pipeline] checkout [2021-05-26T02:47:42.049Z] Selected Git installation does not exist. Using Default [2021-05-26T02:47:42.049Z] The recommended git tool is: NONE [2021-05-26T02:47:44.360Z] using credential edgex-jenkins-ssh [2021-05-26T02:47:44.395Z] Cloning the remote Git repository [2021-05-26T02:47:44.218Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-26T02:47:44.293Z] > git init /w/workspace/device-virtual-go/59 # timeout=10 [2021-05-26T02:47:44.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-26T02:47:44.336Z] > git --version # timeout=10 [2021-05-26T02:47:44.347Z] > git --version # 'git version 2.24.4' [2021-05-26T02:47:44.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T02:47:44.373Z] [INFO] Currently running in a labeled security context [2021-05-26T02:47:44.382Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T02:47:44.382Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/59@tmp/jenkins-gitclient-ssh7583825508973330484.key [2021-05-26T02:47:44.422Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:47:45.870Z] Avoid second fetch [2021-05-26T02:47:45.870Z] Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) [2021-05-26T02:47:45.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-26T02:47:45.672Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:47:45.734Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T02:47:45.745Z] > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 [2021-05-26T02:47:49.490Z] Commit message: "Merge pull request #214 from hahattan/config-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:47:50.493Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:47:50.832Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:47:51.137Z] + sudo service docker restart [2021-05-26T02:47:51.137Z] + true [2021-05-26T02:47:51.137Z] Redirecting to /bin/systemctl restart docker.service [2021-05-26T02:48:05.224Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-26T02:48:05.247Z] Running in /w/workspace/device-virtual-go/59 [Pipeline] { [Pipeline] checkout [2021-05-26T02:48:05.467Z] Selected Git installation does not exist. Using Default [2021-05-26T02:48:05.468Z] The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:48:08.038Z] provisioning config files... [2021-05-26T02:48:08.080Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config6351124098043900226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:48:08.426Z] ---> docker-login.sh [2021-05-26T02:48:08.426Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:48:08.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:08.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:08.694Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:08.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:08.694Z] [2021-05-26T02:48:08.694Z] Login Succeeded [2021-05-26T02:48:08.694Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:48:08.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:08.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:08.694Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:08.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:08.694Z] [2021-05-26T02:48:08.694Z] Login Succeeded [2021-05-26T02:48:08.694Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:48:08.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:08.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:08.959Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:08.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:08.959Z] [2021-05-26T02:48:08.959Z] Login Succeeded [2021-05-26T02:48:08.959Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:48:08.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:09.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:09.222Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:09.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:09.222Z] [2021-05-26T02:48:09.222Z] Login Succeeded [2021-05-26T02:48:09.222Z] docker.io [2021-05-26T02:48:09.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:09.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:09.483Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:09.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:09.483Z] [2021-05-26T02:48:09.483Z] Login Succeeded [2021-05-26T02:48:09.483Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:48:09.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T02:48:09.677Z] ========================================================= [2021-05-26T02:48:09.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T02:48:09.678Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:48:09.996Z] + 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-26T02:48:09.996Z] Sending build context to Docker daemon 8.585MB [2021-05-26T02:48:09.996Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:48:09.996Z] Step 2/8 : FROM ${BASE} [2021-05-26T02:48:10.261Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T02:48:10.261Z] 540db60ca938: Pulling fs layer [2021-05-26T02:48:10.261Z] adcc1eea9eea: Pulling fs layer [2021-05-26T02:48:10.261Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T02:48:10.261Z] 0510c868ecb4: Pulling fs layer [2021-05-26T02:48:10.261Z] afea3b2eda06: Pulling fs layer [2021-05-26T02:48:10.261Z] 7809a108b3ef: Pulling fs layer [2021-05-26T02:48:10.261Z] f706445af74f: Pulling fs layer [2021-05-26T02:48:10.261Z] afea3b2eda06: Waiting [2021-05-26T02:48:10.261Z] 7809a108b3ef: Waiting [2021-05-26T02:48:10.261Z] f706445af74f: Waiting [2021-05-26T02:48:10.261Z] 0510c868ecb4: Waiting [2021-05-26T02:48:10.261Z] 4c4ab2625f07: Download complete [2021-05-26T02:48:10.261Z] adcc1eea9eea: Verifying Checksum [2021-05-26T02:48:10.261Z] adcc1eea9eea: Download complete [2021-05-26T02:48:10.261Z] afea3b2eda06: Verifying Checksum [2021-05-26T02:48:10.261Z] afea3b2eda06: Download complete [2021-05-26T02:48:10.261Z] 540db60ca938: Verifying Checksum [2021-05-26T02:48:10.261Z] 540db60ca938: Download complete [2021-05-26T02:48:10.261Z] 7809a108b3ef: Verifying Checksum [2021-05-26T02:48:10.261Z] 7809a108b3ef: Download complete [2021-05-26T02:48:10.529Z] 540db60ca938: Pull complete [2021-05-26T02:48:10.529Z] adcc1eea9eea: Pull complete [2021-05-26T02:48:10.793Z] 4c4ab2625f07: Pull complete [2021-05-26T02:48:12.193Z] f706445af74f: Verifying Checksum [2021-05-26T02:48:12.193Z] f706445af74f: Download complete [2021-05-26T02:48:12.463Z] 0510c868ecb4: Verifying Checksum [2021-05-26T02:48:12.463Z] 0510c868ecb4: Download complete [2021-05-26T02:48:12.517Z] using credential edgex-jenkins-ssh [2021-05-26T02:48:12.534Z] Cloning the remote Git repository [2021-05-26T02:48:12.632Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-26T02:48:12.876Z] > git init /w/workspace/device-virtual-go/59 # timeout=10 [2021-05-26T02:48:12.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-26T02:48:12.962Z] > git --version # timeout=10 [2021-05-26T02:48:12.975Z] > git --version # 'git version 2.17.1' [2021-05-26T02:48:12.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T02:48:13.080Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:48:14.724Z] Avoid second fetch [2021-05-26T02:48:14.724Z] Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) [2021-05-26T02:48:14.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-26T02:48:14.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:48:14.738Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T02:48:14.754Z] > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 [2021-05-26T02:48:16.767Z] 0510c868ecb4: Pull complete [2021-05-26T02:48:16.767Z] afea3b2eda06: Pull complete [2021-05-26T02:48:16.767Z] 7809a108b3ef: Pull complete [2021-05-26T02:48:17.725Z] f706445af74f: Pull complete [2021-05-26T02:48:17.725Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T02:48:17.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T02:48:17.725Z] ---> b068be0155e3 [2021-05-26T02:48:17.725Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-26T02:48:18.883Z] Commit message: "Merge pull request #214 from hahattan/config-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:48:20.019Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:48:20.425Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:48:20.833Z] + sudo service docker restart [2021-05-26T02:48:20.833Z] + true [2021-05-26T02:48:21.972Z] ---> Running in 77b055cfe49c [2021-05-26T02:48:21.972Z] Removing intermediate container 77b055cfe49c [2021-05-26T02:48:21.972Z] ---> 624b07e162c4 [2021-05-26T02:48:21.972Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:48:21.972Z] ---> Running in 7066969d9ba0 [2021-05-26T02:48:22.545Z] Removing intermediate container 7066969d9ba0 [2021-05-26T02:48:22.545Z] ---> bcebc9cf8098 [2021-05-26T02:48:22.545Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-26T02:48:22.545Z] ---> Running in 7e3ea8405b76 [2021-05-26T02:48:23.124Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:48:24.074Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:48:24.335Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T02:48:24.335Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T02:48:24.596Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T02:48:24.596Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T02:48:24.596Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T02:48:24.862Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T02:48:24.862Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T02:48:25.125Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T02:48:25.387Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T02:48:25.387Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T02:48:25.387Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T02:48:25.650Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T02:48:25.650Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T02:48:25.650Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T02:48:25.650Z] OK: 156 MiB in 53 packages [2021-05-26T02:48:26.236Z] Removing intermediate container 7e3ea8405b76 [2021-05-26T02:48:26.236Z] ---> e3554f92549f [2021-05-26T02:48:26.236Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-26T02:48:26.236Z] ---> Running in bc5649635c39 [2021-05-26T02:48:26.236Z] Removing intermediate container bc5649635c39 [2021-05-26T02:48:26.236Z] ---> ce9db03b4e65 [2021-05-26T02:48:26.236Z] Step 7/8 : COPY . . [2021-05-26T02:48:26.815Z] ---> 7a4e5925ed6d [2021-05-26T02:48:26.815Z] Step 8/8 : RUN go mod download [2021-05-26T02:48:26.815Z] ---> Running in c7e90258d38b [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:48:39.164Z] provisioning config files... [2021-05-26T02:48:39.189Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config2704889116989112677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:48:39.576Z] ---> docker-login.sh [2021-05-26T02:48:39.576Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:48:40.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:40.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:40.829Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:40.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:40.829Z] [2021-05-26T02:48:40.829Z] Login Succeeded [2021-05-26T02:48:40.829Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:48:41.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:41.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:41.427Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:41.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:41.427Z] [2021-05-26T02:48:41.427Z] Login Succeeded [2021-05-26T02:48:41.427Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:48:41.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:41.760Z] Removing intermediate container c7e90258d38b [2021-05-26T02:48:41.760Z] ---> 51f56494f278 [2021-05-26T02:48:41.760Z] Successfully built 51f56494f278 [2021-05-26T02:48:41.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:48:41.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:41.978Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:41.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:41.978Z] [2021-05-26T02:48:41.978Z] Login Succeeded [2021-05-26T02:48:41.978Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:48:42.083Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T02:48:42.083Z] . [Pipeline] withDockerContainer [2021-05-26T02:48:42.170Z] prd-centos7-docker-4c-2g-342 does not seem to be running inside a container [2021-05-26T02:48:42.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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-26T02:48:42.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:42.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:42.603Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:42.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:42.603Z] [2021-05-26T02:48:42.603Z] Login Succeeded [2021-05-26T02:48:42.603Z] docker.io [2021-05-26T02:48:42.628Z] $ docker top de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T02:48:42.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:48:43.022Z] + go version [2021-05-26T02:48:43.022Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T02:48:43.034Z] $ docker stop --time=1 de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 [2021-05-26T02:48:43.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:48:43.475Z] Configure a credential helper to remove this warning. See [2021-05-26T02:48:43.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:48:43.475Z] [2021-05-26T02:48:43.475Z] Login Succeeded [2021-05-26T02:48:43.475Z] ---> docker-login.sh ends [2021-05-26T02:48:44.239Z] $ docker rm -f de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-26T02:48:44.318Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-26T02:48:44.639Z] ========================================================= [2021-05-26T02:48:44.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T02:48:44.639Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:48:44.760Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T02:48:44.760Z] . [Pipeline] withDockerContainer [2021-05-26T02:48:44.847Z] prd-centos7-docker-4c-2g-342 does not seem to be running inside a container [2021-05-26T02:48:44.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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-26T02:48:44.992Z] + 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-26T02:48:45.264Z] Sending build context to Docker daemon 8.584MB [2021-05-26T02:48:45.264Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:48:45.264Z] Step 2/8 : FROM ${BASE} [2021-05-26T02:48:45.296Z] $ docker top 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T02:48:45.538Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T02:48:45.538Z] 595b0fe564bb: Pulling fs layer [2021-05-26T02:48:45.538Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T02:48:45.538Z] 316046926c0a: Pulling fs layer [2021-05-26T02:48:45.538Z] 4ebd0625c992: Pulling fs layer [2021-05-26T02:48:45.538Z] 207e8628e3a3: Pulling fs layer [2021-05-26T02:48:45.538Z] c791037a9be2: Pulling fs layer [2021-05-26T02:48:45.538Z] ffd874e62e21: Pulling fs layer [2021-05-26T02:48:45.538Z] 4ebd0625c992: Waiting [2021-05-26T02:48:45.538Z] 207e8628e3a3: Waiting [2021-05-26T02:48:45.538Z] c791037a9be2: Waiting [2021-05-26T02:48:45.538Z] ffd874e62e21: Waiting [2021-05-26T02:48:45.538Z] 316046926c0a: Verifying Checksum [2021-05-26T02:48:45.538Z] 316046926c0a: Download complete [2021-05-26T02:48:45.538Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T02:48:45.538Z] 7186ed65a4f7: Download complete [2021-05-26T02:48:45.538Z] 207e8628e3a3: Verifying Checksum [2021-05-26T02:48:45.538Z] 207e8628e3a3: Download complete [2021-05-26T02:48:45.731Z] + go mod tidy [2021-05-26T02:48:45.813Z] c791037a9be2: Verifying Checksum [2021-05-26T02:48:45.813Z] c791037a9be2: Download complete [2021-05-26T02:48:45.813Z] 595b0fe564bb: Verifying Checksum [2021-05-26T02:48:45.813Z] 595b0fe564bb: Download complete [Pipeline] sh [2021-05-26T02:48:46.315Z] + make test [2021-05-26T02:48:46.315Z] go mod tidy [2021-05-26T02:48:46.431Z] 595b0fe564bb: Pull complete [2021-05-26T02:48:46.584Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T02:48:46.855Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-26T02:48:47.043Z] 7186ed65a4f7: Pull complete [2021-05-26T02:48:47.660Z] 316046926c0a: Pull complete [2021-05-26T02:48:48.269Z] ffd874e62e21: Verifying Checksum [2021-05-26T02:48:48.269Z] ffd874e62e21: Download complete [2021-05-26T02:48:49.249Z] 4ebd0625c992: Verifying Checksum [2021-05-26T02:48:49.249Z] 4ebd0625c992: Download complete [2021-05-26T02:48:59.402Z] 4ebd0625c992: Pull complete [2021-05-26T02:48:59.402Z] 207e8628e3a3: Pull complete [2021-05-26T02:48:59.694Z] c791037a9be2: Pull complete [2021-05-26T02:49:04.042Z] ffd874e62e21: Pull complete [2021-05-26T02:49:04.042Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T02:49:04.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T02:49:04.042Z] ---> cfc18b08335c [2021-05-26T02:49:04.042Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-26T02:49:06.034Z] ---> Running in 34695e1304af [2021-05-26T02:49:06.308Z] Removing intermediate container 34695e1304af [2021-05-26T02:49:06.308Z] ---> b5bc2adb87de [2021-05-26T02:49:06.308Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:49:06.308Z] ---> Running in d63dfcb76985 [2021-05-26T02:49:08.950Z] Removing intermediate container d63dfcb76985 [2021-05-26T02:49:08.950Z] ---> 9ed45213ef13 [2021-05-26T02:49:08.950Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-26T02:49:08.950Z] ---> Running in 81e6cad3b1c1 [2021-05-26T02:49:09.047Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-26T02:49:09.048Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.300s coverage: 63.8% of statements [2021-05-26T02:49:09.048Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T02:49:09.931Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:49:10.915Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:49:11.896Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T02:49:11.896Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T02:49:11.896Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T02:49:12.168Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T02:49:12.168Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T02:49:12.168Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T02:49:12.439Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T02:49:12.709Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T02:49:12.709Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T02:49:12.980Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T02:49:12.980Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T02:49:13.251Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T02:49:13.251Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T02:49:13.251Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T02:49:13.251Z] OK: 145 MiB in 53 packages [2021-05-26T02:49:14.717Z] Removing intermediate container 81e6cad3b1c1 [2021-05-26T02:49:14.717Z] ---> 4184cccd5818 [2021-05-26T02:49:14.717Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-26T02:49:14.994Z] ---> Running in 73d26bd6dffa [2021-05-26T02:49:15.591Z] Removing intermediate container 73d26bd6dffa [2021-05-26T02:49:15.591Z] ---> 3221081d0bbe [2021-05-26T02:49:15.591Z] Step 7/8 : COPY . . [2021-05-26T02:49:15.676Z] gofmt -l . [2021-05-26T02:49:15.677Z] [ "`gofmt -l .`" = "" ] [2021-05-26T02:49:15.677Z] ./bin/test-attribution-txt.sh [2021-05-26T02:49:16.252Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-26T02:49:16.533Z] $ docker stop --time=1 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 [2021-05-26T02:49:16.572Z] ---> a0f40c50b160 [2021-05-26T02:49:16.572Z] Step 8/8 : RUN go mod download [2021-05-26T02:49:16.845Z] ---> Running in 2c6a12a85594 [2021-05-26T02:49:18.262Z] $ docker rm -f 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:49:18.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T02:49:18.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T02:49:21.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T02:49:21.675Z] + ls -al . [2021-05-26T02:49:21.675Z] total 132 [2021-05-26T02:49:21.675Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 26 02:49 . [2021-05-26T02:49:21.675Z] drwxrwxr-x. 4 jenkins jenkins 30 May 26 02:47 .. [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 26 02:47 Attribution.txt [2021-05-26T02:49:21.675Z] drwxrwxr-x. 2 jenkins jenkins 64 May 26 02:47 bin [2021-05-26T02:49:21.675Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 02:47 cmd [2021-05-26T02:49:21.675Z] -rw-r--r--. 1 jenkins jenkins 47247 May 26 02:49 coverage.out [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 26 02:47 Dockerfile [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 998 May 26 02:47 Dockerfile.build [2021-05-26T02:49:21.675Z] drwxrwxr-x. 8 jenkins jenkins 162 May 26 02:47 .git [2021-05-26T02:49:21.675Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 02:47 .github [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 277 May 26 02:47 .gitignore [2021-05-26T02:49:21.675Z] -rw-r--r--. 1 jenkins jenkins 809 May 26 02:49 go.mod [2021-05-26T02:49:21.675Z] -rw-r--r--. 1 jenkins jenkins 23431 May 26 02:48 go.sum [2021-05-26T02:49:21.675Z] drwxrwxr-x. 3 jenkins jenkins 20 May 26 02:47 internal [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 660 May 26 02:47 Jenkinsfile [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 02:47 LICENSE [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 905 May 26 02:47 Makefile [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 26 02:47 README.md [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 12 May 26 02:45 VERSION [2021-05-26T02:49:21.675Z] -rw-rw-r--. 1 jenkins jenkins 235 May 26 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:21.981Z] + 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=8d9cac7b544984367de20437773925dcf3f7e06d --label arch=amd64 --label version=1.3.2-dev.19 . [2021-05-26T02:49:21.981Z] Sending build context to Docker daemon 8.657MB [2021-05-26T02:49:21.981Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:49:21.981Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-26T02:49:21.981Z] ---> 51f56494f278 [2021-05-26T02:49:21.981Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T02:49:22.243Z] ---> Running in e13c9544445c [2021-05-26T02:49:22.243Z] Removing intermediate container e13c9544445c [2021-05-26T02:49:22.243Z] ---> 512534290d88 [2021-05-26T02:49:22.243Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T02:49:22.243Z] ---> Running in 4c6fbf1aa93d [2021-05-26T02:49:22.243Z] Removing intermediate container 4c6fbf1aa93d [2021-05-26T02:49:22.243Z] ---> d290379e0424 [2021-05-26T02:49:22.243Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-26T02:49:22.243Z] ---> Running in 15d03e1b99ff [2021-05-26T02:49:22.513Z] Removing intermediate container 15d03e1b99ff [2021-05-26T02:49:22.513Z] ---> cfb6fc907ffc [2021-05-26T02:49:22.513Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:49:22.513Z] ---> Running in b9f8fdcd0a9a [2021-05-26T02:49:23.095Z] Removing intermediate container b9f8fdcd0a9a [2021-05-26T02:49:23.095Z] ---> d6c88488558f [2021-05-26T02:49:23.095Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T02:49:23.095Z] ---> Running in 6c619c1c8eb4 [2021-05-26T02:49:23.368Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:49:23.941Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:49:24.520Z] OK: 156 MiB in 53 packages [2021-05-26T02:49:24.785Z] Removing intermediate container 6c619c1c8eb4 [2021-05-26T02:49:24.785Z] ---> 6b1b58e3a0a3 [2021-05-26T02:49:24.785Z] Step 8/26 : COPY . . [2021-05-26T02:49:25.373Z] ---> 40040cf23bb0 [2021-05-26T02:49:25.373Z] Step 9/26 : RUN go mod tidy [2021-05-26T02:49:25.373Z] ---> Running in 33cfc66e28c8 [2021-05-26T02:49:25.962Z] Removing intermediate container 33cfc66e28c8 [2021-05-26T02:49:25.962Z] ---> a6c85e88b48c [2021-05-26T02:49:25.962Z] Step 10/26 : RUN go mod download [2021-05-26T02:49:25.962Z] ---> Running in e0378e373de6 [2021-05-26T02:49:26.540Z] Removing intermediate container e0378e373de6 [2021-05-26T02:49:26.540Z] ---> b19ccb2bc2b3 [2021-05-26T02:49:26.540Z] Step 11/26 : ARG MAKE='make build' [2021-05-26T02:49:26.802Z] ---> Running in 486baa231db8 [2021-05-26T02:49:26.802Z] Removing intermediate container 486baa231db8 [2021-05-26T02:49:26.802Z] ---> c171852b95f0 [2021-05-26T02:49:26.802Z] Step 12/26 : RUN $MAKE [2021-05-26T02:49:26.802Z] ---> Running in d5edd9676cb8 [2021-05-26T02:49:27.069Z] go mod tidy [2021-05-26T02:49:27.335Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.19" -o cmd/device-virtual ./cmd [2021-05-26T02:49:43.691Z] Removing intermediate container 2c6a12a85594 [2021-05-26T02:49:43.691Z] ---> b7ef25e44844 [2021-05-26T02:49:43.691Z] Successfully built b7ef25e44844 [2021-05-26T02:49:43.691Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:44.040Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T02:49:44.041Z] . [Pipeline] withDockerContainer [2021-05-26T02:49:44.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2021-05-26T02:49:44.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T02:49:45.616Z] Removing intermediate container d5edd9676cb8 [2021-05-26T02:49:45.616Z] ---> f8cf051ad496 [2021-05-26T02:49:45.616Z] Step 13/26 : FROM alpine:3.12 [2021-05-26T02:49:45.616Z] 3.12: Pulling from library/alpine [2021-05-26T02:49:45.616Z] 339de151aab4: Pulling fs layer [2021-05-26T02:49:45.878Z] 339de151aab4: Verifying Checksum [2021-05-26T02:49:45.878Z] 339de151aab4: Download complete [2021-05-26T02:49:45.878Z] 339de151aab4: Pull complete [2021-05-26T02:49:45.878Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T02:49:45.878Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T02:49:45.878Z] ---> 13621d1b12d4 [2021-05-26T02:49:45.878Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-26T02:49:46.024Z] $ docker top d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b -eo pid,comm [2021-05-26T02:49:46.140Z] ---> Running in bfad91997c73 [2021-05-26T02:49:46.140Z] Removing intermediate container bfad91997c73 [2021-05-26T02:49:46.140Z] ---> 2b4fc36f67db [2021-05-26T02:49:46.140Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:49:46.140Z] ---> Running in 79a66caea053 [Pipeline] { [Pipeline] sh [2021-05-26T02:49:46.729Z] Removing intermediate container 79a66caea053 [2021-05-26T02:49:46.729Z] ---> a535e0c8644c [2021-05-26T02:49:46.729Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T02:49:46.729Z] ---> Running in e145ad0ee436 [2021-05-26T02:49:46.990Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:49:46.992Z] + go version [2021-05-26T02:49:46.992Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T02:49:47.022Z] $ docker stop --time=1 d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b [2021-05-26T02:49:47.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:49:48.142Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T02:49:48.142Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T02:49:48.142Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T02:49:48.142Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T02:49:48.887Z] $ docker rm -f d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b [2021-05-26T02:49:49.094Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T02:49:49.094Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T02:49:49.094Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T02:49:49.094Z] OK: 8 MiB in 20 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:49.530Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T02:49:49.531Z] . [Pipeline] withDockerContainer [2021-05-26T02:49:49.673Z] Removing intermediate container e145ad0ee436 [2021-05-26T02:49:49.673Z] ---> c43d2dfe2cfe [2021-05-26T02:49:49.673Z] Step 17/26 : WORKDIR / [2021-05-26T02:49:49.673Z] ---> Running in 18b29ccde1c2 [2021-05-26T02:49:49.673Z] Removing intermediate container 18b29ccde1c2 [2021-05-26T02:49:49.673Z] ---> 77ef2747a4d9 [2021-05-26T02:49:49.673Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-26T02:49:49.778Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2021-05-26T02:49:49.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T02:49:49.937Z] ---> 1281167c7a8f [2021-05-26T02:49:49.937Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-26T02:49:49.937Z] ---> 454209b4f9c4 [2021-05-26T02:49:49.937Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-26T02:49:50.519Z] ---> 35d047324ac7 [2021-05-26T02:49:50.519Z] Step 21/26 : EXPOSE 59900 [2021-05-26T02:49:50.519Z] ---> Running in bd9ffeb1f733 [2021-05-26T02:49:50.783Z] Removing intermediate container bd9ffeb1f733 [2021-05-26T02:49:50.783Z] ---> d14e580e2766 [2021-05-26T02:49:50.783Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-26T02:49:50.783Z] ---> Running in 9834203fae47 [2021-05-26T02:49:50.783Z] Removing intermediate container 9834203fae47 [2021-05-26T02:49:50.783Z] ---> 67260248fbd7 [2021-05-26T02:49:50.783Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-26T02:49:50.783Z] ---> Running in ce05da16f562 [2021-05-26T02:49:51.048Z] Removing intermediate container ce05da16f562 [2021-05-26T02:49:51.048Z] ---> 5c3382662de0 [2021-05-26T02:49:51.048Z] Step 24/26 : LABEL arch=amd64 [2021-05-26T02:49:51.048Z] ---> Running in f1dbb49acee5 [2021-05-26T02:49:51.048Z] Removing intermediate container f1dbb49acee5 [2021-05-26T02:49:51.048Z] ---> 97c245c7489b [2021-05-26T02:49:51.048Z] Step 25/26 : LABEL git_sha=8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:49:51.048Z] ---> Running in e72dfcd2ba39 [2021-05-26T02:49:51.315Z] Removing intermediate container e72dfcd2ba39 [2021-05-26T02:49:51.315Z] ---> 7bf4a751bc1a [2021-05-26T02:49:51.315Z] Step 26/26 : LABEL version=1.3.2-dev.19 [2021-05-26T02:49:51.315Z] ---> Running in 884f2e68f1fc [2021-05-26T02:49:51.315Z] Removing intermediate container 884f2e68f1fc [2021-05-26T02:49:51.315Z] ---> 06d44b78c8ca [2021-05-26T02:49:51.315Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T02:49:51.315Z] Successfully built 06d44b78c8ca [2021-05-26T02:49:51.315Z] Successfully tagged device-virtual:latest [2021-05-26T02:49:51.430Z] $ docker top fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:49:51.974Z] provisioning config files... [2021-05-26T02:49:51.989Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config7837490655234142335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:49:52.312Z] ---> docker-login.sh [2021-05-26T02:49:52.312Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:49:52.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:49:52.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:49:52.312Z] Configure a credential helper to remove this warning. See [2021-05-26T02:49:52.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:49:52.312Z] [2021-05-26T02:49:52.312Z] Login Succeeded [2021-05-26T02:49:52.312Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:49:52.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:49:52.389Z] + go mod tidy [2021-05-26T02:49:52.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:49:52.584Z] Configure a credential helper to remove this warning. See [2021-05-26T02:49:52.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:49:52.584Z] [2021-05-26T02:49:52.584Z] Login Succeeded [2021-05-26T02:49:52.584Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:49:52.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:49:52.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:49:52.584Z] Configure a credential helper to remove this warning. See [2021-05-26T02:49:52.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:49:52.584Z] [2021-05-26T02:49:52.584Z] Login Succeeded [2021-05-26T02:49:52.584Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:49:52.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:49:52.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:49:52.853Z] Configure a credential helper to remove this warning. See [2021-05-26T02:49:52.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:49:52.853Z] [2021-05-26T02:49:52.853Z] Login Succeeded [2021-05-26T02:49:52.853Z] docker.io [2021-05-26T02:49:52.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-05-26T02:49:53.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:49:53.125Z] Configure a credential helper to remove this warning. See [2021-05-26T02:49:53.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:49:53.125Z] [2021-05-26T02:49:53.125Z] Login Succeeded [2021-05-26T02:49:53.125Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:49:53.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:49:53.218Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-05-26T02:49:53.218Z] 8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:49:53.218Z] latest [2021-05-26T02:49:53.218Z] 1.3.2-dev.19 [2021-05-26T02:49:53.218Z] 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:49:53.218Z] master [2021-05-26T02:49:53.218Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:53.586Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:53.656Z] + make test [2021-05-26T02:49:53.656Z] go mod tidy [2021-05-26T02:49:53.898Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:49:53.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-26T02:49:53.898Z] cffd17613119: Preparing [2021-05-26T02:49:53.898Z] c50226be4684: Preparing [2021-05-26T02:49:53.898Z] 2920c0f52f58: Preparing [2021-05-26T02:49:53.898Z] 72ee43f984ca: Preparing [2021-05-26T02:49:53.898Z] 7c5cafee32b9: Preparing [2021-05-26T02:49:53.898Z] 32f366d666a5: Preparing [2021-05-26T02:49:53.898Z] 32f366d666a5: Waiting [2021-05-26T02:49:53.936Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T02:49:54.159Z] c50226be4684: Pushed [2021-05-26T02:49:54.159Z] 32f366d666a5: Layer already exists [2021-05-26T02:49:54.159Z] 7c5cafee32b9: Pushed [2021-05-26T02:49:54.159Z] 72ee43f984ca: Pushed [2021-05-26T02:49:54.159Z] 2920c0f52f58: Pushed [2021-05-26T02:49:55.426Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-26T02:49:56.111Z] cffd17613119: Pushed [2021-05-26T02:49:56.376Z] 8d9cac7b544984367de20437773925dcf3f7e06d: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:56.701Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:57.030Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-26T02:49:57.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-26T02:49:57.030Z] cffd17613119: Preparing [2021-05-26T02:49:57.030Z] c50226be4684: Preparing [2021-05-26T02:49:57.030Z] 2920c0f52f58: Preparing [2021-05-26T02:49:57.030Z] 72ee43f984ca: Preparing [2021-05-26T02:49:57.030Z] 7c5cafee32b9: Preparing [2021-05-26T02:49:57.030Z] 32f366d666a5: Preparing [2021-05-26T02:49:57.030Z] 32f366d666a5: Waiting [2021-05-26T02:49:57.030Z] cffd17613119: Layer already exists [2021-05-26T02:49:57.030Z] 72ee43f984ca: Layer already exists [2021-05-26T02:49:57.030Z] 7c5cafee32b9: Layer already exists [2021-05-26T02:49:57.030Z] 2920c0f52f58: Layer already exists [2021-05-26T02:49:57.030Z] c50226be4684: Layer already exists [2021-05-26T02:49:57.030Z] 32f366d666a5: Layer already exists [2021-05-26T02:49:57.030Z] latest: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:57.370Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:57.676Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 [2021-05-26T02:49:57.676Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-26T02:49:57.676Z] cffd17613119: Preparing [2021-05-26T02:49:57.676Z] c50226be4684: Preparing [2021-05-26T02:49:57.676Z] 2920c0f52f58: Preparing [2021-05-26T02:49:57.676Z] 72ee43f984ca: Preparing [2021-05-26T02:49:57.676Z] 7c5cafee32b9: Preparing [2021-05-26T02:49:57.676Z] 32f366d666a5: Preparing [2021-05-26T02:49:57.676Z] 32f366d666a5: Waiting [2021-05-26T02:49:57.676Z] cffd17613119: Layer already exists [2021-05-26T02:49:57.676Z] 72ee43f984ca: Layer already exists [2021-05-26T02:49:57.676Z] c50226be4684: Layer already exists [2021-05-26T02:49:57.676Z] 2920c0f52f58: Layer already exists [2021-05-26T02:49:57.676Z] 7c5cafee32b9: Layer already exists [2021-05-26T02:49:57.676Z] 32f366d666a5: Layer already exists [2021-05-26T02:49:57.676Z] 1.3.2-dev.19: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:57.992Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:58.293Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:49:58.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-26T02:49:58.293Z] cffd17613119: Preparing [2021-05-26T02:49:58.293Z] c50226be4684: Preparing [2021-05-26T02:49:58.293Z] 2920c0f52f58: Preparing [2021-05-26T02:49:58.293Z] 72ee43f984ca: Preparing [2021-05-26T02:49:58.293Z] 7c5cafee32b9: Preparing [2021-05-26T02:49:58.293Z] 32f366d666a5: Preparing [2021-05-26T02:49:58.293Z] 32f366d666a5: Waiting [2021-05-26T02:49:58.293Z] c50226be4684: Layer already exists [2021-05-26T02:49:58.293Z] 7c5cafee32b9: Layer already exists [2021-05-26T02:49:58.293Z] 2920c0f52f58: Layer already exists [2021-05-26T02:49:58.293Z] cffd17613119: Layer already exists [2021-05-26T02:49:58.293Z] 72ee43f984ca: Layer already exists [2021-05-26T02:49:58.293Z] 32f366d666a5: Layer already exists [2021-05-26T02:49:58.293Z] 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:58.608Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:49:58.912Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-05-26T02:49:58.912Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-26T02:49:58.912Z] cffd17613119: Preparing [2021-05-26T02:49:58.912Z] c50226be4684: Preparing [2021-05-26T02:49:58.912Z] 2920c0f52f58: Preparing [2021-05-26T02:49:58.912Z] 72ee43f984ca: Preparing [2021-05-26T02:49:58.912Z] 7c5cafee32b9: Preparing [2021-05-26T02:49:58.912Z] 32f366d666a5: Preparing [2021-05-26T02:49:58.912Z] 32f366d666a5: Waiting [2021-05-26T02:49:58.912Z] c50226be4684: Layer already exists [2021-05-26T02:49:58.912Z] 72ee43f984ca: Layer already exists [2021-05-26T02:49:58.912Z] 2920c0f52f58: Layer already exists [2021-05-26T02:49:58.912Z] 7c5cafee32b9: Layer already exists [2021-05-26T02:49:58.912Z] cffd17613119: Layer already exists [2021-05-26T02:49:58.912Z] 32f366d666a5: Layer already exists [2021-05-26T02:49:58.912Z] master: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:49:59.001Z] ===================================================== [Pipeline] echo [2021-05-26T02:49:59.018Z] taggedImages: [2021-05-26T02:49:59.018Z] - nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:49:59.018Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-26T02:49:59.018Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 [2021-05-26T02:49:59.018Z] - nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:49:59.018Z] - 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-26T02:49:59.661Z] ---> job-cost.sh [2021-05-26T02:49:59.662Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f07X [2021-05-26T02:50:09.731Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T02:50:22.010Z] lf-activate-venv(): INFO: Adding /tmp/venv-f07X/bin to PATH [2021-05-26T02:50:22.011Z] INFO: No Stack... [2021-05-26T02:50:22.966Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T02:50:23.544Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T02:50:23.839Z] + cat /w/workspace/device-virtual-go/59/archives/cost.csv [2021-05-26T02:50:23.839Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T02:50:23.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [2021-05-26T02:50:23.889Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] did not exist. Created. [2021-05-26T02:50:23.889Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T02:50:24.225Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T02:50:24.335Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T02:50:24.344Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T02:51:03.650Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-26T02:51:03.650Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.748s coverage: 63.8% of statements [2021-05-26T02:51:03.650Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T02:51:30.483Z] gofmt -l . [2021-05-26T02:51:30.483Z] [ "`gofmt -l .`" = "" ] [2021-05-26T02:51:30.483Z] ./bin/test-attribution-txt.sh [2021-05-26T02:51:30.483Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-26T02:51:30.514Z] $ docker stop --time=1 fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 [2021-05-26T02:51:32.534Z] $ docker rm -f fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:51:33.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T02:51:33.457Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T02:51:33.957Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:51:34.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T02:51:34.725Z] + ls -al . [2021-05-26T02:51:34.725Z] total 156 [2021-05-26T02:51:34.725Z] drwxrwxr-x 7 jenkins jenkins 4096 May 26 02:51 . [2021-05-26T02:51:34.725Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 02:48 .. [2021-05-26T02:51:34.725Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 02:48 .git [2021-05-26T02:51:34.725Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:48 .github [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 277 May 26 02:48 .gitignore [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 26 02:48 Attribution.txt [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 26 02:48 Dockerfile [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 998 May 26 02:48 Dockerfile.build [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 660 May 26 02:48 Jenkinsfile [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 02:48 LICENSE [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 905 May 26 02:48 Makefile [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 26 02:48 README.md [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 12 May 26 02:45 VERSION [2021-05-26T02:51:34.725Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:48 bin [2021-05-26T02:51:34.725Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:48 cmd [2021-05-26T02:51:34.725Z] -rw-r--r-- 1 jenkins jenkins 47247 May 26 02:50 coverage.out [2021-05-26T02:51:34.725Z] -rw-r--r-- 1 jenkins jenkins 809 May 26 02:51 go.mod [2021-05-26T02:51:34.725Z] -rw-r--r-- 1 jenkins jenkins 23431 May 26 02:49 go.sum [2021-05-26T02:51:34.725Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:48 internal [2021-05-26T02:51:34.725Z] -rw-rw-r-- 1 jenkins jenkins 235 May 26 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:51:35.067Z] + 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=8d9cac7b544984367de20437773925dcf3f7e06d --label arch=arm64 --label version=1.3.2-dev.19 . [2021-05-26T02:51:35.660Z] Sending build context to Docker daemon 8.656MB [2021-05-26T02:51:35.660Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:51:35.660Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-26T02:51:35.660Z] ---> b7ef25e44844 [2021-05-26T02:51:35.660Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T02:51:35.933Z] ---> Running in 94fa45e117c4 [2021-05-26T02:51:36.210Z] Removing intermediate container 94fa45e117c4 [2021-05-26T02:51:36.210Z] ---> 38de4380073d [2021-05-26T02:51:36.210Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T02:51:36.484Z] ---> Running in a0d06268deb1 [2021-05-26T02:51:37.079Z] Removing intermediate container a0d06268deb1 [2021-05-26T02:51:37.079Z] ---> 68f5290a4df1 [2021-05-26T02:51:37.079Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-26T02:51:37.079Z] ---> Running in 804cf122f4d1 [2021-05-26T02:51:37.674Z] Removing intermediate container 804cf122f4d1 [2021-05-26T02:51:37.674Z] ---> 109d7877f6bd [2021-05-26T02:51:37.674Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:51:37.674Z] ---> Running in 67210ab3db23 [2021-05-26T02:51:39.645Z] Removing intermediate container 67210ab3db23 [2021-05-26T02:51:39.645Z] ---> ef743f84339a [2021-05-26T02:51:39.645Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T02:51:39.918Z] ---> Running in 72606420aa6b [2021-05-26T02:51:40.908Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:51:41.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:51:42.879Z] OK: 145 MiB in 53 packages [2021-05-26T02:51:43.868Z] Removing intermediate container 72606420aa6b [2021-05-26T02:51:43.868Z] ---> 1e57123f4b86 [2021-05-26T02:51:43.868Z] Step 8/26 : COPY . . [2021-05-26T02:51:45.308Z] ---> c0e4ff040208 [2021-05-26T02:51:45.308Z] Step 9/26 : RUN go mod tidy [2021-05-26T02:51:45.308Z] ---> Running in 86c0e40e1be1 [2021-05-26T02:51:48.697Z] Removing intermediate container 86c0e40e1be1 [2021-05-26T02:51:48.697Z] ---> 5da6043c5e21 [2021-05-26T02:51:48.697Z] Step 10/26 : RUN go mod download [2021-05-26T02:51:48.697Z] ---> Running in cb38880548bc [2021-05-26T02:51:50.675Z] Removing intermediate container cb38880548bc [2021-05-26T02:51:50.675Z] ---> 8251b2ae4f54 [2021-05-26T02:51:50.675Z] Step 11/26 : ARG MAKE='make build' [2021-05-26T02:51:50.675Z] ---> Running in b574edda33c8 [2021-05-26T02:51:51.276Z] Removing intermediate container b574edda33c8 [2021-05-26T02:51:51.276Z] ---> 250d7ab08cb5 [2021-05-26T02:51:51.276Z] Step 12/26 : RUN $MAKE [2021-05-26T02:51:51.276Z] ---> Running in f593b9ad944d [2021-05-26T02:51:52.716Z] go mod tidy [2021-05-26T02:51:52.994Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.19" -o cmd/device-virtual ./cmd [2021-05-26T02:52:49.595Z] Removing intermediate container f593b9ad944d [2021-05-26T02:52:49.595Z] ---> b074678af9b2 [2021-05-26T02:52:49.595Z] Step 13/26 : FROM alpine:3.12 [2021-05-26T02:52:49.595Z] 3.12: Pulling from library/alpine [2021-05-26T02:52:49.595Z] d2f70382dc9a: Pulling fs layer [2021-05-26T02:52:49.595Z] d2f70382dc9a: Verifying Checksum [2021-05-26T02:52:49.595Z] d2f70382dc9a: Download complete [2021-05-26T02:52:49.595Z] d2f70382dc9a: Pull complete [2021-05-26T02:52:49.595Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T02:52:49.595Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T02:52:49.595Z] ---> 9852663dfa18 [2021-05-26T02:52:49.595Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-26T02:52:49.595Z] ---> Running in f154a7f4424d [2021-05-26T02:52:49.595Z] Removing intermediate container f154a7f4424d [2021-05-26T02:52:49.595Z] ---> 39848bad1fb7 [2021-05-26T02:52:49.595Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:52:49.595Z] ---> Running in 3fbbca4e2a7a [2021-05-26T02:52:49.595Z] Removing intermediate container 3fbbca4e2a7a [2021-05-26T02:52:49.595Z] ---> 39c384dae3e7 [2021-05-26T02:52:49.595Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T02:52:49.595Z] ---> Running in 22111ec1fbd5 [2021-05-26T02:52:49.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:52:49.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:52:49.595Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T02:52:49.595Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T02:52:49.595Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T02:52:49.595Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T02:52:49.595Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T02:52:49.595Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T02:52:49.595Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T02:52:49.595Z] OK: 8 MiB in 20 packages [2021-05-26T02:52:50.574Z] Removing intermediate container 22111ec1fbd5 [2021-05-26T02:52:50.574Z] ---> 6dcc418e692d [2021-05-26T02:52:50.574Z] Step 17/26 : WORKDIR / [2021-05-26T02:52:50.574Z] ---> Running in 4c68987c36f1 [2021-05-26T02:52:51.174Z] Removing intermediate container 4c68987c36f1 [2021-05-26T02:52:51.174Z] ---> b7b4c95830a0 [2021-05-26T02:52:51.174Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-26T02:52:51.775Z] ---> 37c9f3309c71 [2021-05-26T02:52:51.775Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-26T02:52:52.762Z] ---> ba1fa00c2b8e [2021-05-26T02:52:52.762Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-26T02:52:54.194Z] ---> 433372cc0dec [2021-05-26T02:52:54.194Z] Step 21/26 : EXPOSE 59900 [2021-05-26T02:52:54.468Z] ---> Running in 223a8b7cea0f [2021-05-26T02:52:54.740Z] Removing intermediate container 223a8b7cea0f [2021-05-26T02:52:54.740Z] ---> 88b562bc3f9d [2021-05-26T02:52:54.740Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-26T02:52:55.012Z] ---> Running in 3a6ad40a0dbb [2021-05-26T02:52:55.609Z] Removing intermediate container 3a6ad40a0dbb [2021-05-26T02:52:55.609Z] ---> 009f62c7b411 [2021-05-26T02:52:55.609Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-26T02:52:55.609Z] ---> Running in 291bf0fc6c5a [2021-05-26T02:52:56.204Z] Removing intermediate container 291bf0fc6c5a [2021-05-26T02:52:56.204Z] ---> 9d6c76235a71 [2021-05-26T02:52:56.204Z] Step 24/26 : LABEL arch=arm64 [2021-05-26T02:52:56.204Z] ---> Running in f92443181761 [2021-05-26T02:52:56.799Z] Removing intermediate container f92443181761 [2021-05-26T02:52:56.799Z] ---> 8e9a6bbed575 [2021-05-26T02:52:56.799Z] Step 25/26 : LABEL git_sha=8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:52:56.799Z] ---> Running in 069a00673d9e [2021-05-26T02:52:57.394Z] Removing intermediate container 069a00673d9e [2021-05-26T02:52:57.394Z] ---> 12213b71b80f [2021-05-26T02:52:57.394Z] Step 26/26 : LABEL version=1.3.2-dev.19 [2021-05-26T02:52:57.394Z] ---> Running in 973e18d8ad42 [2021-05-26T02:52:57.988Z] Removing intermediate container 973e18d8ad42 [2021-05-26T02:52:57.988Z] ---> 138c82ce10dc [2021-05-26T02:52:57.988Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T02:52:57.988Z] Successfully built 138c82ce10dc [2021-05-26T02:52:57.988Z] 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-26T02:52:58.137Z] provisioning config files... [2021-05-26T02:52:58.158Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config7950674800459001151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:52:58.516Z] ---> docker-login.sh [2021-05-26T02:52:58.516Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:52:58.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:52:59.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:52:59.063Z] Configure a credential helper to remove this warning. See [2021-05-26T02:52:59.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:52:59.063Z] [2021-05-26T02:52:59.063Z] Login Succeeded [2021-05-26T02:52:59.063Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:52:59.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:52:59.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:52:59.608Z] Configure a credential helper to remove this warning. See [2021-05-26T02:52:59.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:52:59.608Z] [2021-05-26T02:52:59.608Z] Login Succeeded [2021-05-26T02:52:59.608Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:52:59.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:00.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:00.157Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:00.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:00.157Z] [2021-05-26T02:53:00.157Z] Login Succeeded [2021-05-26T02:53:00.157Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:53:00.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:00.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:00.458Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:00.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:00.458Z] [2021-05-26T02:53:00.458Z] Login Succeeded [2021-05-26T02:53:00.458Z] docker.io [2021-05-26T02:53:01.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:01.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:01.341Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:01.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:01.341Z] [2021-05-26T02:53:01.341Z] Login Succeeded [2021-05-26T02:53:01.341Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:53:01.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:53:01.467Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-05-26T02:53:01.467Z] 8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:53:01.467Z] latest [2021-05-26T02:53:01.467Z] 1.3.2-dev.19 [2021-05-26T02:53:01.467Z] 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:53:01.467Z] master [2021-05-26T02:53:01.467Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:01.889Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:02.291Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:53:02.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-26T02:53:02.291Z] 13db9dc90b0a: Preparing [2021-05-26T02:53:02.291Z] 2fe61dc762e2: Preparing [2021-05-26T02:53:02.291Z] 860bc218c0d0: Preparing [2021-05-26T02:53:02.291Z] 2ca50fdce503: Preparing [2021-05-26T02:53:02.291Z] 8f8446af04d9: Preparing [2021-05-26T02:53:02.291Z] 3fbe34a1663b: Preparing [2021-05-26T02:53:02.291Z] 3fbe34a1663b: Waiting [2021-05-26T02:53:02.580Z] 8f8446af04d9: Pushed [2021-05-26T02:53:02.580Z] 860bc218c0d0: Pushed [2021-05-26T02:53:02.580Z] 2fe61dc762e2: Pushed [2021-05-26T02:53:02.580Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:53:04.806Z] 2ca50fdce503: Pushed [2021-05-26T02:53:07.412Z] 13db9dc90b0a: Pushed [2021-05-26T02:53:07.682Z] 8d9cac7b544984367de20437773925dcf3f7e06d: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:08.027Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:08.365Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-26T02:53:08.365Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-26T02:53:08.365Z] 13db9dc90b0a: Preparing [2021-05-26T02:53:08.365Z] 2fe61dc762e2: Preparing [2021-05-26T02:53:08.365Z] 860bc218c0d0: Preparing [2021-05-26T02:53:08.365Z] 2ca50fdce503: Preparing [2021-05-26T02:53:08.365Z] 8f8446af04d9: Preparing [2021-05-26T02:53:08.365Z] 3fbe34a1663b: Preparing [2021-05-26T02:53:08.365Z] 3fbe34a1663b: Waiting [2021-05-26T02:53:08.366Z] 860bc218c0d0: Layer already exists [2021-05-26T02:53:08.366Z] 2fe61dc762e2: Layer already exists [2021-05-26T02:53:08.366Z] 13db9dc90b0a: Layer already exists [2021-05-26T02:53:08.366Z] 8f8446af04d9: Layer already exists [2021-05-26T02:53:08.366Z] 2ca50fdce503: Layer already exists [2021-05-26T02:53:08.366Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:53:08.656Z] latest: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:09.002Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:09.338Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 [2021-05-26T02:53:09.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-26T02:53:09.338Z] 13db9dc90b0a: Preparing [2021-05-26T02:53:09.338Z] 2fe61dc762e2: Preparing [2021-05-26T02:53:09.338Z] 860bc218c0d0: Preparing [2021-05-26T02:53:09.338Z] 2ca50fdce503: Preparing [2021-05-26T02:53:09.338Z] 8f8446af04d9: Preparing [2021-05-26T02:53:09.338Z] 3fbe34a1663b: Preparing [2021-05-26T02:53:09.338Z] 860bc218c0d0: Layer already exists [2021-05-26T02:53:09.338Z] 2fe61dc762e2: Layer already exists [2021-05-26T02:53:09.338Z] 8f8446af04d9: Layer already exists [2021-05-26T02:53:09.338Z] 2ca50fdce503: Layer already exists [2021-05-26T02:53:09.338Z] 13db9dc90b0a: Layer already exists [2021-05-26T02:53:09.338Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:53:09.608Z] 1.3.2-dev.19: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:09.954Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:10.295Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:53:10.295Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-26T02:53:10.295Z] 13db9dc90b0a: Preparing [2021-05-26T02:53:10.295Z] 2fe61dc762e2: Preparing [2021-05-26T02:53:10.295Z] 860bc218c0d0: Preparing [2021-05-26T02:53:10.295Z] 2ca50fdce503: Preparing [2021-05-26T02:53:10.295Z] 8f8446af04d9: Preparing [2021-05-26T02:53:10.295Z] 3fbe34a1663b: Preparing [2021-05-26T02:53:10.295Z] 3fbe34a1663b: Waiting [2021-05-26T02:53:10.295Z] 860bc218c0d0: Layer already exists [2021-05-26T02:53:10.295Z] 2ca50fdce503: Layer already exists [2021-05-26T02:53:10.295Z] 8f8446af04d9: Layer already exists [2021-05-26T02:53:10.295Z] 2fe61dc762e2: Layer already exists [2021-05-26T02:53:10.295Z] 13db9dc90b0a: Layer already exists [2021-05-26T02:53:10.567Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:53:10.567Z] 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:10.918Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:11.260Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-05-26T02:53:11.260Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-26T02:53:11.260Z] 13db9dc90b0a: Preparing [2021-05-26T02:53:11.260Z] 2fe61dc762e2: Preparing [2021-05-26T02:53:11.260Z] 860bc218c0d0: Preparing [2021-05-26T02:53:11.260Z] 2ca50fdce503: Preparing [2021-05-26T02:53:11.260Z] 8f8446af04d9: Preparing [2021-05-26T02:53:11.260Z] 3fbe34a1663b: Preparing [2021-05-26T02:53:11.260Z] 3fbe34a1663b: Waiting [2021-05-26T02:53:11.260Z] 8f8446af04d9: Layer already exists [2021-05-26T02:53:11.260Z] 2ca50fdce503: Layer already exists [2021-05-26T02:53:11.260Z] 2fe61dc762e2: Layer already exists [2021-05-26T02:53:11.260Z] 13db9dc90b0a: Layer already exists [2021-05-26T02:53:11.260Z] 860bc218c0d0: Layer already exists [2021-05-26T02:53:11.260Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:53:11.532Z] master: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:53:11.601Z] ===================================================== [Pipeline] echo [2021-05-26T02:53:11.618Z] taggedImages: [2021-05-26T02:53:11.618Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d [2021-05-26T02:53:11.618Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-26T02:53:11.618Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 [2021-05-26T02:53:11.618Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [2021-05-26T02:53:11.618Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:53:12.023Z] ---> job-cost.sh [2021-05-26T02:53:12.023Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2QWf [2021-05-26T02:53:50.975Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T02:55:12.701Z] lf-activate-venv(): INFO: Adding /tmp/venv-2QWf/bin to PATH [2021-05-26T02:55:12.701Z] INFO: No Stack... [2021-05-26T02:55:14.120Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T02:55:14.708Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T02:55:15.046Z] + cut -d, -f6 [2021-05-26T02:55:15.046Z] + cat /w/workspace/device-virtual-go/59/archives/cost.csv [Pipeline] lock [2021-05-26T02:55:15.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [2021-05-26T02:55:15.122Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] did not exist. Created. [2021-05-26T02:55:15.122Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T02:55:15.490Z] /w/workspace/device-virtual-go/59@tmp/durable-8f1e7dd8/script.sh: 1: /w/workspace/device-virtual-go/59@tmp/durable-8f1e7dd8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T02:55:15.832Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T02:55:15.851Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T02:55:15.996Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T02:55:16.009Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-59-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-26T02:55:16.514Z] provisioning config files... [2021-05-26T02:55:16.527Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8960226354401544618tmp [Pipeline] { [Pipeline] sh [2021-05-26T02:55:16.846Z] + set +x [2021-05-26T02:55:16.846Z] + bash -s -- [2021-05-26T02:55:16.846Z] + curl -s https://codecov.io/bash [2021-05-26T02:55:16.846Z] [2021-05-26T02:55:16.846Z] _____ _ [2021-05-26T02:55:16.846Z] / ____| | | [2021-05-26T02:55:16.846Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T02:55:16.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T02:55:16.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T02:55:16.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T02:55:16.846Z] Bash-1.0.3 [2021-05-26T02:55:16.846Z] [2021-05-26T02:55:16.846Z] [2021-05-26T02:55:16.846Z] ==> git version 2.24.4 found [2021-05-26T02:55:16.846Z] ==> 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-26T02:55:16.846Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T02:55:16.846Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T02:55:16.846Z] ==> Jenkins CI detected. [2021-05-26T02:55:16.846Z] project root: . [2021-05-26T02:55:16.846Z] --> token set from env [2021-05-26T02:55:16.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T02:55:16.846Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T02:55:16.846Z] ==> Python coveragepy not found [2021-05-26T02:55:16.846Z] ==> Searching for coverage reports in: [2021-05-26T02:55:16.846Z] + . [2021-05-26T02:55:16.846Z] -> Found 1 reports [2021-05-26T02:55:16.846Z] ==> Detecting git/mercurial file structure [2021-05-26T02:55:17.107Z] ==> Reading reports [2021-05-26T02:55:17.107Z] + ./coverage.out bytes=47247 [2021-05-26T02:55:17.107Z] ==> Appending adjustments [2021-05-26T02:55:17.107Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T02:55:17.107Z] + Found adjustments [2021-05-26T02:55:17.107Z] ==> Gzipping contents [2021-05-26T02:55:17.107Z] 8.0K /tmp/codecov.777HkM.gz [2021-05-26T02:55:17.107Z] ==> Uploading reports [2021-05-26T02:55:17.107Z] url: https://codecov.io [2021-05-26T02:55:17.107Z] query: branch=master&commit=8d9cac7b544984367de20437773925dcf3f7e06d&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T02:55:17.107Z] -> Pinging Codecov [2021-05-26T02:55:17.107Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=8d9cac7b544984367de20437773925dcf3f7e06d&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T02:55:17.678Z] -> Uploading to [2021-05-26T02:55:17.678Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/5E52B4B073DB2E39498172D8E973AA87/8d9cac7b544984367de20437773925dcf3f7e06d/f24d096e-5095-4058-a2f4-ab1b5dea7282.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T025517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0407f02e9c7a8b8f712897413fa6cf4fa3aab8e898aa98e7e5630ff064a60f6 [2021-05-26T02:55:17.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T02:55:17.678Z] Dload Upload Total Spent Left Speed [2021-05-26T02:55:17.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5751 0 0 100 5751 0 17466 --:--:-- --:--:-- --:--:-- 17427 [2021-05-26T02:55:17.939Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] } [2021-05-26T02:55:17.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-26T02:55:18.648Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-26T02:55:18.663Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:18.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:55:18.991Z] [2021-05-26T02:55:18.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:19.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:55:19.311Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-26T02:55:19.311Z] 188c0c94c7c5: Pulling fs layer [2021-05-26T02:55:19.311Z] 0ef7d3d256c8: Pulling fs layer [2021-05-26T02:55:19.311Z] de9db76c5a1d: Pulling fs layer [2021-05-26T02:55:19.311Z] 0eba1c9be4d2: Pulling fs layer [2021-05-26T02:55:19.311Z] 0d57e429df01: Pulling fs layer [2021-05-26T02:55:19.311Z] 4e4be7b47b0d: Pulling fs layer [2021-05-26T02:55:19.311Z] e1f770b5df2f: Pulling fs layer [2021-05-26T02:55:19.311Z] 85a0685a4137: Pulling fs layer [2021-05-26T02:55:19.311Z] 0d57e429df01: Waiting [2021-05-26T02:55:19.311Z] 4e4be7b47b0d: Waiting [2021-05-26T02:55:19.311Z] e1f770b5df2f: Waiting [2021-05-26T02:55:19.311Z] 85a0685a4137: Waiting [2021-05-26T02:55:19.311Z] 0eba1c9be4d2: Waiting [2021-05-26T02:55:19.311Z] de9db76c5a1d: Verifying Checksum [2021-05-26T02:55:19.311Z] de9db76c5a1d: Download complete [2021-05-26T02:55:19.311Z] 0ef7d3d256c8: Verifying Checksum [2021-05-26T02:55:19.311Z] 0ef7d3d256c8: Download complete [2021-05-26T02:55:19.311Z] 0d57e429df01: Verifying Checksum [2021-05-26T02:55:19.311Z] 0d57e429df01: Download complete [2021-05-26T02:55:19.311Z] 4e4be7b47b0d: Verifying Checksum [2021-05-26T02:55:19.311Z] 4e4be7b47b0d: Download complete [2021-05-26T02:55:19.311Z] 188c0c94c7c5: Verifying Checksum [2021-05-26T02:55:19.311Z] 188c0c94c7c5: Download complete [2021-05-26T02:55:19.572Z] 188c0c94c7c5: Pull complete [2021-05-26T02:55:19.833Z] 0ef7d3d256c8: Pull complete [2021-05-26T02:55:19.833Z] de9db76c5a1d: Pull complete [2021-05-26T02:55:21.217Z] e1f770b5df2f: Verifying Checksum [2021-05-26T02:55:21.217Z] e1f770b5df2f: Download complete [2021-05-26T02:55:23.140Z] 0eba1c9be4d2: Verifying Checksum [2021-05-26T02:55:23.140Z] 0eba1c9be4d2: Download complete [2021-05-26T02:55:23.140Z] 85a0685a4137: Verifying Checksum [2021-05-26T02:55:23.140Z] 85a0685a4137: Download complete [2021-05-26T02:55:26.445Z] 0eba1c9be4d2: Pull complete [2021-05-26T02:55:26.445Z] 0d57e429df01: Pull complete [2021-05-26T02:55:26.445Z] 4e4be7b47b0d: Pull complete [2021-05-26T02:55:26.708Z] e1f770b5df2f: Pull complete [2021-05-26T02:55:30.047Z] 85a0685a4137: Pull complete [2021-05-26T02:55:30.047Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-26T02:55:30.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:55:30.047Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-26T02:55:30.160Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:55:30.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-26T02:55:32.658Z] $ docker top 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T02:55:32.750Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-26T02:55:33.047Z] + set -o pipefail [2021-05-26T02:55:33.047Z] + snyk monitor '--org=edgex-jenkins' [2021-05-26T02:55:38.341Z] [2021-05-26T02:55:38.341Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-26T02:55:38.341Z] [2021-05-26T02:55:38.341Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/b4d80036-96f8-4970-8664-866bde51747c [2021-05-26T02:55:38.341Z] [2021-05-26T02:55:38.341Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-26T02:55:38.341Z] [2021-05-26T02:55:38.341Z] [Pipeline] } [2021-05-26T02:55:38.355Z] $ docker stop --time=1 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd [2021-05-26T02:55:40.424Z] $ docker rm -f 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd [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-26T02:55:41.296Z] + git log --format=format:%s -1 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:41.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:55:41.607Z] . [Pipeline] withDockerContainer [2021-05-26T02:55:41.677Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:55:41.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:55:42.052Z] $ docker top 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:55:42.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:55:42.175Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:55:42.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:55:42.285Z] $ docker exec 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 ssh-agent [2021-05-26T02:55:42.392Z] SSH_AUTH_SOCK=/tmp/ssh-u7Hw9Xt6L9th/agent.14 [2021-05-26T02:55:42.392Z] SSH_AGENT_PID=20 [2021-05-26T02:55:42.398Z] Running ssh-add (command line suppressed) [2021-05-26T02:55:42.500Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8994180147460436444.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8994180147460436444.key) [2021-05-26T02:55:42.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:55:42.821Z] + git semver tag [2021-05-26T02:55:42.821Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:55:42.821Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-26T02:55:42.821Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-26T02:55:42.821Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:55:42.821Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:55:42.821Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:55:42.821Z] # $SEMVER_BRANCH = master [2021-05-26T02:55:42.821Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-26T02:55:42.821Z] # 8d9cac7b544984367de20437773925dcf3f7e06d HEAD [2021-05-26T02:55:42.821Z] # -> Force: false [2021-05-26T02:55:42.821Z] # 52ce9d3bd8d048d028ccc984fdd11a4886890bdf refs/tags/v1.3.2-dev.19 [Pipeline] } [2021-05-26T02:55:42.831Z] $ docker exec --env ******** --env ******** 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 ssh-agent -k [2021-05-26T02:55:42.927Z] unset SSH_AUTH_SOCK; [2021-05-26T02:55:42.927Z] unset SSH_AGENT_PID; [2021-05-26T02:55:42.927Z] echo Agent pid 20 killed; [2021-05-26T02:55:42.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:55:43.272Z] + git semver [Pipeline] } [2021-05-26T02:55:43.288Z] $ docker stop --time=1 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 [2021-05-26T02:55:44.464Z] $ docker rm -f 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:44.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:55:44.951Z] [2021-05-26T02:55:44.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:45.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:55:45.266Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-26T02:55:45.266Z] ab5ef0e58194: Pulling fs layer [2021-05-26T02:55:45.266Z] 9712f1f96733: Pulling fs layer [2021-05-26T02:55:45.266Z] 63f879dbbcfc: Pulling fs layer [2021-05-26T02:55:45.266Z] 0d9ebad4ef96: Pulling fs layer [2021-05-26T02:55:45.266Z] e9a5061849ea: Pulling fs layer [2021-05-26T02:55:45.266Z] d747dcd14b5f: Pulling fs layer [2021-05-26T02:55:45.266Z] 2de7ff778b66: Pulling fs layer [2021-05-26T02:55:45.266Z] 0d9ebad4ef96: Waiting [2021-05-26T02:55:45.266Z] e9a5061849ea: Waiting [2021-05-26T02:55:45.266Z] d747dcd14b5f: Waiting [2021-05-26T02:55:45.266Z] 2de7ff778b66: Waiting [2021-05-26T02:55:45.266Z] 9712f1f96733: Download complete [2021-05-26T02:55:46.645Z] 63f879dbbcfc: Verifying Checksum [2021-05-26T02:55:46.645Z] 63f879dbbcfc: Download complete [2021-05-26T02:55:46.645Z] e9a5061849ea: Verifying Checksum [2021-05-26T02:55:46.645Z] e9a5061849ea: Download complete [2021-05-26T02:55:46.645Z] d747dcd14b5f: Verifying Checksum [2021-05-26T02:55:46.645Z] d747dcd14b5f: Download complete [2021-05-26T02:55:47.215Z] 2de7ff778b66: Verifying Checksum [2021-05-26T02:55:47.215Z] 2de7ff778b66: Download complete [2021-05-26T02:55:47.215Z] 0d9ebad4ef96: Verifying Checksum [2021-05-26T02:55:47.215Z] 0d9ebad4ef96: Download complete [2021-05-26T02:55:47.215Z] ab5ef0e58194: Verifying Checksum [2021-05-26T02:55:47.215Z] ab5ef0e58194: Download complete [2021-05-26T02:55:49.803Z] ab5ef0e58194: Pull complete [2021-05-26T02:55:49.803Z] 9712f1f96733: Pull complete [2021-05-26T02:55:50.755Z] 63f879dbbcfc: Pull complete [2021-05-26T02:55:54.089Z] 0d9ebad4ef96: Pull complete [2021-05-26T02:55:54.089Z] e9a5061849ea: Pull complete [2021-05-26T02:55:54.089Z] d747dcd14b5f: Pull complete [2021-05-26T02:55:55.048Z] 2de7ff778b66: Pull complete [2021-05-26T02:55:55.048Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-26T02:55:55.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:55:55.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-26T02:55:55.115Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:55:55.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-26T02:56:00.387Z] $ docker top ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:56:00.475Z] provisioning config files... [2021-05-26T02:56:00.487Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4904271028285731257tmp [2021-05-26T02:56:00.501Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3459894088482453939tmp [2021-05-26T02:56:00.518Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7190366219518830087tmp [Pipeline] { [Pipeline] echo [2021-05-26T02:56:00.543Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:00.971Z] ---> sigul-configuration.sh [2021-05-26T02:56:00.971Z] gpg: directory `/root/.gnupg' created [2021-05-26T02:56:00.971Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-26T02:56:00.971Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-26T02:56:00.971Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-26T02:56:00.971Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-26T02:56:00.971Z] gpg: CAST5 encrypted data [2021-05-26T02:56:00.971Z] gpg: encrypted with 1 passphrase [2021-05-26T02:56:00.971Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-26T02:56:01.297Z] + mkdir /home/jenkins [2021-05-26T02:56:01.297Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-26T02:56:01.596Z] + 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-26T02:56:01.607Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:01.909Z] ---> sigul-install.sh [2021-05-26T02:56:08.495Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-26T02:56:08.788Z] + git tag --list [2021-05-26T02:56:08.788Z] v1.0.0 [2021-05-26T02:56:08.788Z] v1.1.0 [2021-05-26T02:56:08.788Z] v1.1.1 [2021-05-26T02:56:08.788Z] v1.2.1 [2021-05-26T02:56:08.788Z] v1.2.2 [2021-05-26T02:56:08.788Z] v1.2.3 [2021-05-26T02:56:08.788Z] v1.3.0 [2021-05-26T02:56:08.788Z] v1.3.1 [2021-05-26T02:56:08.788Z] v1.3.1-dev.1 [2021-05-26T02:56:08.788Z] v1.3.1-dev.2 [2021-05-26T02:56:08.788Z] v1.3.1-dev.3 [2021-05-26T02:56:08.788Z] v1.3.1-dev.4 [2021-05-26T02:56:08.788Z] v1.3.1-dev.5 [2021-05-26T02:56:08.788Z] v1.3.2-dev.1 [2021-05-26T02:56:08.788Z] v1.3.2-dev.10 [2021-05-26T02:56:08.788Z] v1.3.2-dev.11 [2021-05-26T02:56:08.788Z] v1.3.2-dev.12 [2021-05-26T02:56:08.788Z] v1.3.2-dev.13 [2021-05-26T02:56:08.788Z] v1.3.2-dev.14 [2021-05-26T02:56:08.788Z] v1.3.2-dev.15 [2021-05-26T02:56:08.788Z] v1.3.2-dev.16 [2021-05-26T02:56:08.788Z] v1.3.2-dev.17 [2021-05-26T02:56:08.788Z] v1.3.2-dev.18 [2021-05-26T02:56:08.788Z] v1.3.2-dev.19 [2021-05-26T02:56:08.788Z] v1.3.2-dev.2 [2021-05-26T02:56:08.788Z] v1.3.2-dev.3 [2021-05-26T02:56:08.788Z] v1.3.2-dev.4 [2021-05-26T02:56:08.788Z] v1.3.2-dev.5 [2021-05-26T02:56:08.788Z] v1.3.2-dev.6 [2021-05-26T02:56:08.788Z] v1.3.2-dev.7 [2021-05-26T02:56:08.788Z] v1.3.2-dev.8 [2021-05-26T02:56:08.788Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-26T02:56:09.085Z] + lftools sign git-tag v1.3.2-dev.19 [2021-05-26T02:56:09.664Z] Signing Git tag with Sigul... [2021-05-26T02:56:09.664Z] Signing v1.3.2-dev.19 [Pipeline] echo [2021-05-26T02:56:10.614Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:10.905Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-26T02:56:10.914Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-26T02:56:10.943Z] $ docker stop --time=1 ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe [2021-05-26T02:56:12.438Z] $ docker rm -f ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:56:12.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:56:12.926Z] . [Pipeline] withDockerContainer [2021-05-26T02:56:12.994Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:56:13.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:56:13.411Z] $ docker top 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:56:13.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:56:13.576Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:56:13.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:56:13.685Z] $ docker exec 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f ssh-agent [2021-05-26T02:56:13.792Z] SSH_AUTH_SOCK=/tmp/ssh-0JlUndhhozjO/agent.14 [2021-05-26T02:56:13.792Z] SSH_AGENT_PID=20 [2021-05-26T02:56:13.797Z] Running ssh-add (command line suppressed) [2021-05-26T02:56:13.897Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6708099888343074879.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6708099888343074879.key) [2021-05-26T02:56:13.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:56:14.217Z] + git semver bump pre [2021-05-26T02:56:14.217Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:56:14.217Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-26T02:56:14.217Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-26T02:56:14.217Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:56:14.217Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:56:14.217Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:56:14.217Z] # $SEMVER_BRANCH = master [2021-05-26T02:56:14.217Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-26T02:56:14.217Z] 1.3.2-dev.20 [Pipeline] } [2021-05-26T02:56:14.228Z] $ docker exec --env ******** --env ******** 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f ssh-agent -k [2021-05-26T02:56:14.318Z] unset SSH_AUTH_SOCK; [2021-05-26T02:56:14.318Z] unset SSH_AGENT_PID; [2021-05-26T02:56:14.319Z] echo Agent pid 20 killed; [2021-05-26T02:56:14.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:56:14.687Z] + git semver [Pipeline] } [2021-05-26T02:56:14.702Z] $ docker stop --time=1 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f [2021-05-26T02:56:15.886Z] $ docker rm -f 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:56:16.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:56:16.287Z] . [Pipeline] withDockerContainer [2021-05-26T02:56:16.365Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:56:16.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:56:16.774Z] $ docker top c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:56:16.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:56:16.916Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:56:17.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:56:17.037Z] $ docker exec c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 ssh-agent [2021-05-26T02:56:17.146Z] SSH_AUTH_SOCK=/tmp/ssh-c6ipw3kKOgQx/agent.13 [2021-05-26T02:56:17.147Z] SSH_AGENT_PID=20 [2021-05-26T02:56:17.151Z] Running ssh-add (command line suppressed) [2021-05-26T02:56:17.252Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7138869709608527862.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7138869709608527862.key) [2021-05-26T02:56:17.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:56:17.563Z] + git semver push [2021-05-26T02:56:17.563Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:56:17.563Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-26T02:56:17.563Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-26T02:56:17.563Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:56:17.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:56:17.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:56:17.563Z] # $SEMVER_BRANCH = master [2021-05-26T02:56:17.563Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-26T02:56:21.785Z] $ docker exec --env ******** --env ******** c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 ssh-agent -k [2021-05-26T02:56:21.877Z] unset SSH_AUTH_SOCK; [2021-05-26T02:56:21.879Z] unset SSH_AGENT_PID; [2021-05-26T02:56:21.879Z] echo Agent pid 20 killed; [2021-05-26T02:56:21.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:56:22.236Z] + git semver [Pipeline] } [2021-05-26T02:56:22.251Z] $ docker stop --time=1 c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 [2021-05-26T02:56:23.504Z] $ docker rm -f c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 [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-26T02:56:24.430Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:25.108Z] ---> package-listing.sh [2021-05-26T02:56:25.108Z] ++ facter osfamily [2021-05-26T02:56:25.108Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T02:56:25.108Z] + OS_FAMILY=redhat [2021-05-26T02:56:25.108Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-26T02:56:25.108Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T02:56:25.108Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T02:56:25.108Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T02:56:25.109Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T02:56:25.109Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-26T02:56:25.109Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T02:56:25.109Z] + case "${OS_FAMILY}" in [2021-05-26T02:56:25.109Z] + sort [2021-05-26T02:56:25.109Z] + rpm -qa [2021-05-26T02:56:26.093Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T02:56:26.093Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T02:56:26.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T02:56:26.093Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-26T02:56:26.093Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-26T02:56:26.093Z] + 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-26T02:56:26.107Z] 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-26T02:56:26.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:56:26.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:56:26.958Z] [2021-05-26T02:56:26.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:56:27.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:56:27.271Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T02:56:27.271Z] df20fa9351a1: Pulling fs layer [2021-05-26T02:56:27.271Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T02:56:27.271Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T02:56:27.271Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T02:56:27.271Z] 93b61091891f: Pulling fs layer [2021-05-26T02:56:27.271Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T02:56:27.271Z] 5e14af77c1be: Pulling fs layer [2021-05-26T02:56:27.271Z] 01666e4c0597: Pulling fs layer [2021-05-26T02:56:27.271Z] aa168da1d23b: Pulling fs layer [2021-05-26T02:56:27.271Z] 46f8f816bc3b: Waiting [2021-05-26T02:56:27.271Z] 93b9cdb0e59b: Waiting [2021-05-26T02:56:27.271Z] 5e14af77c1be: Waiting [2021-05-26T02:56:27.271Z] 01666e4c0597: Waiting [2021-05-26T02:56:27.271Z] aa168da1d23b: Waiting [2021-05-26T02:56:27.271Z] 93b61091891f: Waiting [2021-05-26T02:56:27.271Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T02:56:27.271Z] 36b3adc4ff6f: Download complete [2021-05-26T02:56:27.271Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T02:56:27.271Z] 46f8f816bc3b: Download complete [2021-05-26T02:56:27.271Z] df20fa9351a1: Verifying Checksum [2021-05-26T02:56:27.271Z] df20fa9351a1: Download complete [2021-05-26T02:56:27.271Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T02:56:27.271Z] 93b9cdb0e59b: Download complete [2021-05-26T02:56:27.533Z] 5e14af77c1be: Verifying Checksum [2021-05-26T02:56:27.533Z] 5e14af77c1be: Download complete [2021-05-26T02:56:27.533Z] 93b61091891f: Verifying Checksum [2021-05-26T02:56:27.533Z] 93b61091891f: Download complete [2021-05-26T02:56:27.533Z] 01666e4c0597: Verifying Checksum [2021-05-26T02:56:27.533Z] 01666e4c0597: Download complete [2021-05-26T02:56:27.533Z] df20fa9351a1: Pull complete [2021-05-26T02:56:27.533Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T02:56:27.533Z] 8ad3a11d3b57: Download complete [2021-05-26T02:56:27.797Z] 36b3adc4ff6f: Pull complete [2021-05-26T02:56:28.061Z] 8ad3a11d3b57: Pull complete [2021-05-26T02:56:28.328Z] 46f8f816bc3b: Pull complete [2021-05-26T02:56:28.592Z] 93b61091891f: Pull complete [2021-05-26T02:56:28.592Z] 93b9cdb0e59b: Pull complete [2021-05-26T02:56:28.592Z] 5e14af77c1be: Pull complete [2021-05-26T02:56:28.854Z] 01666e4c0597: Pull complete [2021-05-26T02:56:29.124Z] aa168da1d23b: Verifying Checksum [2021-05-26T02:56:29.124Z] aa168da1d23b: Download complete [2021-05-26T02:56:33.354Z] aa168da1d23b: Pull complete [2021-05-26T02:56:33.354Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T02:56:33.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:56:33.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T02:56:33.442Z] prd-centos7-docker-4c-2g-339 does not seem to be running inside a container [2021-05-26T02:56:33.486Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T02:56:35.716Z] $ docker top b823eba52fbcdcc8f05d109035d38765fab517fdf54b4e6b22a3cfadfa21503c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T02:56:36.095Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T02:56:36.394Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T02:56:36.692Z] + ls /var/log/sa-host [2021-05-26T02:56:36.692Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T02:56:36.692Z] file_magic: OK [2021-05-26T02:56:36.692Z] HZ: Using current value: 100 [2021-05-26T02:56:36.692Z] file_header: OK [2021-05-26T02:56:36.692Z] 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-26T02:56:36.692Z] Statistics: [2021-05-26T02:56:36.692Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T02:56:36.692Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T02:56:36.692Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T02:56:36.692Z] file_magic: OK [2021-05-26T02:56:36.692Z] HZ: Using current value: 100 [2021-05-26T02:56:36.692Z] file_header: OK [2021-05-26T02:56:36.692Z] 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-26T02:56:36.692Z] Statistics: [2021-05-26T02:56:36.692Z] 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-26T02:56:36.692Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:56:37.319Z] provisioning config files... [2021-05-26T02:56:37.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3221755849235276158tmp [Pipeline] { [Pipeline] echo [2021-05-26T02:56:37.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:37.651Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T02:56:37.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T02:56:37.710Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:38.012Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T02:56:38.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:38.317Z] ---> sudo-logs.sh [2021-05-26T02:56:38.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T02:56:38.368Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:38.671Z] ---> job-cost.sh [2021-05-26T02:56:38.672Z] lf-activate-venv: SKIPPING [2021-05-26T02:56:38.672Z] DEBUG: total: 0.18000000715255737 [2021-05-26T02:56:38.672Z] INFO: Retrieving Stack Cost... [2021-05-26T02:56:39.616Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T02:56:40.189Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T02:56:40.201Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:56:40.501Z] ---> logs-deploy.sh [2021-05-26T02:56:40.501Z] lf-activate-venv: SKIPPING [2021-05-26T02:56:40.501Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/59 [2021-05-26T02:56:40.501Z] INFO: archiving workspace using pattern(s): [2021-05-26T02:56:41.450Z] Archives upload complete. [2021-05-26T02:56:41.450Z] INFO: archiving logs to Nexus