Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from abb441d7d1970f82b841c2bc1ba1938b3ed69869 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-12361 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision abb441d7d1970f82b841c2bc1ba1938b3ed69869 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f abb441d7d1970f82b841c2bc1ba1938b3ed69869 # timeout=10 Commit message: "Merge pull request #148 from iain-anderson/master" > git rev-list --no-walk 1e15b455509d433b72705dad7fc3c723af5422e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-17T02:55:07.824Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-17T02:55:08.108Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-17T02:55:08.233Z] ========================================================= [2020-11-17T02:55:08.233Z] EdgeX Global Pipelines Version Info [2020-11-17T02:55:08.233Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-17T02:55:10.220Z] ------------------- [2020-11-17T02:55:10.220Z] stable info: [2020-11-17T02:55:10.220Z] ------------------- [2020-11-17T02:55:10.220Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-17T02:55:10.220Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-17T02:55:10.220Z] Message: update stable to v1.0.162 [2020-11-17T02:55:10.796Z] ------------------- [2020-11-17T02:55:10.797Z] experimental info: [2020-11-17T02:55:10.797Z] ------------------- [2020-11-17T02:55:10.797Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-17T02:55:10.797Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-17T02:55:10.797Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-17T02:55:11.236Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-11-17T02:55:11.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-11-17T02:55:11.449Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-17T02:55:11.552Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-17T02:55:11.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-17T02:55:11.773Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-17T02:55:11.897Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-17T02:55:12.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-17T02:55:12.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-17T02:55:12.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-17T02:55:12.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-17T02:55:12.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-11-17T02:55:12.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-17T02:55:12.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-17T02:55:12.876Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-17T02:55:12.978Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-17T02:55:13.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-17T02:55:13.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-17T02:55:13.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-17T02:55:13.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-17T02:55:13.601Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-17T02:55:13.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-17T02:55:13.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-17T02:55:13.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-17T02:55:14.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-17T02:55:14.202Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-17T02:55:14.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-17T02:55:14.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-17T02:55:14.543Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-17T02:55:14.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] echo [2020-11-17T02:55:14.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abb441d [Pipeline] echo [2020-11-17T02:55:14.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T02:55:15.104Z] provisioning config files... [2020-11-17T02:55:15.158Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8514457872271554919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T02:55:15.543Z] ---> docker-login.sh [2020-11-17T02:55:15.543Z] nexus3.edgexfoundry.org:10001 [2020-11-17T02:55:15.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:55:16.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:55:16.073Z] Configure a credential helper to remove this warning. See [2020-11-17T02:55:16.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:55:16.073Z] [2020-11-17T02:55:16.073Z] Login Succeeded [2020-11-17T02:55:16.073Z] nexus3.edgexfoundry.org:10002 [2020-11-17T02:55:16.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:55:16.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:55:16.338Z] Configure a credential helper to remove this warning. See [2020-11-17T02:55:16.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:55:16.338Z] [2020-11-17T02:55:16.338Z] Login Succeeded [2020-11-17T02:55:16.338Z] nexus3.edgexfoundry.org:10003 [2020-11-17T02:55:16.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:55:16.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:55:16.338Z] Configure a credential helper to remove this warning. See [2020-11-17T02:55:16.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:55:16.338Z] [2020-11-17T02:55:16.338Z] Login Succeeded [2020-11-17T02:55:16.608Z] nexus3.edgexfoundry.org:10004 [2020-11-17T02:55:16.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:55:16.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:55:16.608Z] Configure a credential helper to remove this warning. See [2020-11-17T02:55:16.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:55:16.608Z] [2020-11-17T02:55:16.608Z] Login Succeeded [2020-11-17T02:55:16.608Z] docker.io [2020-11-17T02:55:16.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:55:17.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:55:17.139Z] Configure a credential helper to remove this warning. See [2020-11-17T02:55:17.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:55:17.139Z] [2020-11-17T02:55:17.139Z] Login Succeeded [2020-11-17T02:55:17.139Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T02:55:17.150Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-17T02:55:18.003Z] + git log --format=format:%s -1 abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] echo [2020-11-17T02:55:18.074Z] GIT_COMMIT: abb441d7d1970f82b841c2bc1ba1938b3ed69869, Commit Message: Merge pull request #148 from iain-anderson/master [Pipeline] echo [2020-11-17T02:55:18.126Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:55:19.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T02:55:19.124Z] [2020-11-17T02:55:19.124Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:55:19.481Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T02:55:19.481Z] latest: Pulling from edgex-devops/git-semver [2020-11-17T02:55:19.481Z] 31603596830f: Pulling fs layer [2020-11-17T02:55:19.481Z] 2a8b12db71e7: Pulling fs layer [2020-11-17T02:55:19.481Z] 6ca5941a6612: Pulling fs layer [2020-11-17T02:55:19.481Z] ecc8261a40a4: Pulling fs layer [2020-11-17T02:55:19.481Z] ecc8261a40a4: Waiting [2020-11-17T02:55:19.481Z] 2a8b12db71e7: Verifying Checksum [2020-11-17T02:55:19.481Z] 2a8b12db71e7: Download complete [2020-11-17T02:55:19.747Z] 31603596830f: Verifying Checksum [2020-11-17T02:55:19.747Z] 31603596830f: Download complete [2020-11-17T02:55:19.747Z] 6ca5941a6612: Verifying Checksum [2020-11-17T02:55:19.747Z] 6ca5941a6612: Download complete [2020-11-17T02:55:19.747Z] ecc8261a40a4: Verifying Checksum [2020-11-17T02:55:19.747Z] ecc8261a40a4: Download complete [2020-11-17T02:55:20.012Z] 31603596830f: Pull complete [2020-11-17T02:55:20.278Z] 2a8b12db71e7: Pull complete [2020-11-17T02:55:21.231Z] 6ca5941a6612: Pull complete [2020-11-17T02:55:21.231Z] ecc8261a40a4: Pull complete [2020-11-17T02:55:21.231Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-17T02:55:21.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T02:55:21.231Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-17T02:55:21.341Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T02:55:21.397Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-17T02:55:23.606Z] $ docker top 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-17T02:55:23.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T02:55:23.959Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T02:55:24.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T02:55:24.175Z] $ docker exec 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c ssh-agent [2020-11-17T02:55:24.341Z] SSH_AUTH_SOCK=/tmp/ssh-KFXxwWNhMHhE/agent.12 [2020-11-17T02:55:24.341Z] SSH_AGENT_PID=17 [2020-11-17T02:55:24.355Z] Running ssh-add (command line suppressed) [2020-11-17T02:55:24.483Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4102492054222579193.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4102492054222579193.key) [2020-11-17T02:55:24.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T02:55:24.891Z] + git tag --points-at HEAD [Pipeline] } [2020-11-17T02:55:24.914Z] $ docker exec --env ******** --env ******** 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c ssh-agent -k [2020-11-17T02:55:25.034Z] unset SSH_AUTH_SOCK; [2020-11-17T02:55:25.034Z] unset SSH_AGENT_PID; [2020-11-17T02:55:25.034Z] echo Agent pid 17 killed; [2020-11-17T02:55:25.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-17T02:55:25.247Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T02:55:25.247Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T02:55:25.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T02:55:25.419Z] $ docker exec 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c ssh-agent [2020-11-17T02:55:25.577Z] SSH_AUTH_SOCK=/tmp/ssh-c7KhrJqgjoi9/agent.47 [2020-11-17T02:55:25.577Z] SSH_AGENT_PID=53 [2020-11-17T02:55:25.584Z] Running ssh-add (command line suppressed) [2020-11-17T02:55:25.708Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2530909834580121510.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2530909834580121510.key) [2020-11-17T02:55:25.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T02:55:26.148Z] + git semver init [2020-11-17T02:55:26.148Z] # -> Open(): unable to determine branch for HEAD [2020-11-17T02:55:26.148Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-11-17T02:55:26.148Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-11-17T02:55:26.148Z] # $SEMVER_REMOTE_NAME = origin [2020-11-17T02:55:26.148Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-17T02:55:26.148Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-17T02:55:26.148Z] # $SEMVER_BRANCH = master [2020-11-17T02:55:26.148Z] # $SEMVER_TEMP = /tmp/semver-046097750 [2020-11-17T02:55:26.148Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-11-17T02:55:26.724Z] # '/tmp/semver-046097750' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2020-11-17T02:55:26.724Z] # -> Force: false [2020-11-17T02:55:26.724Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-11-17T02:55:26.739Z] $ docker exec --env ******** --env ******** 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c ssh-agent -k [2020-11-17T02:55:26.880Z] unset SSH_AUTH_SOCK; [2020-11-17T02:55:26.880Z] unset SSH_AGENT_PID; [2020-11-17T02:55:26.880Z] echo Agent pid 53 killed; [2020-11-17T02:55:26.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-17T02:55:27.479Z] + git semver [Pipeline] } [2020-11-17T02:55:27.497Z] $ docker stop --time=1 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c [2020-11-17T02:55:28.842Z] $ docker rm -f 1aaf6069fed9ecba29435b7bd7d6008b867dabf61cf417affc7a8feb9c5b975c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-17T02:55:29.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-17T02:55:29.712Z] Stashed 1 file(s) [Pipeline] echo [2020-11-17T02:55:29.715Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.11 [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 [2020-11-17T02:55:45.333Z] Still waiting to schedule task [2020-11-17T02:55:45.333Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12361’ [2020-11-17T02:55:45.335Z] Still waiting to schedule task [2020-11-17T02:55:45.335Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-17T02:57:39.468Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12362 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-11-17T02:57:39.534Z] Running in /w/workspace/device-virtual-go/32 [Pipeline] { [Pipeline] checkout [2020-11-17T02:57:44.418Z] using credential edgex-jenkins-ssh [2020-11-17T02:57:44.486Z] Cloning the remote Git repository [2020-11-17T02:57:44.535Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:57:44.648Z] > git init /w/workspace/device-virtual-go/32 # timeout=10 [2020-11-17T02:57:44.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:57:44.720Z] > git --version # timeout=10 [2020-11-17T02:57:44.736Z] > git --version # 'git version 2.17.1' [2020-11-17T02:57:44.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T02:57:44.809Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T02:57:45.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-17T02:57:45.548Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T02:57:45.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-17T02:57:45.614Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:57:45.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T02:57:45.626Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-17T02:57:46.107Z] Checking out Revision abb441d7d1970f82b841c2bc1ba1938b3ed69869 (master) [2020-11-17T02:57:46.120Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T02:57:46.138Z] > git checkout -f abb441d7d1970f82b841c2bc1ba1938b3ed69869 # timeout=10 [2020-11-17T02:57:50.445Z] Commit message: "Merge pull request #148 from iain-anderson/master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T02:57:51.354Z] provisioning config files... [2020-11-17T02:57:51.437Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config8677840780296771239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T02:57:52.458Z] ---> docker-login.sh [2020-11-17T02:57:52.458Z] nexus3.edgexfoundry.org:10001 [2020-11-17T02:57:53.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:57:53.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:57:53.657Z] Configure a credential helper to remove this warning. See [2020-11-17T02:57:53.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:57:53.657Z] [2020-11-17T02:57:53.657Z] Login Succeeded [2020-11-17T02:57:53.657Z] nexus3.edgexfoundry.org:10002 [2020-11-17T02:57:53.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:57:54.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:57:54.205Z] Configure a credential helper to remove this warning. See [2020-11-17T02:57:54.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:57:54.205Z] [2020-11-17T02:57:54.205Z] Login Succeeded [2020-11-17T02:57:54.205Z] nexus3.edgexfoundry.org:10003 [2020-11-17T02:57:54.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:57:54.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:57:54.753Z] Configure a credential helper to remove this warning. See [2020-11-17T02:57:54.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:57:54.753Z] [2020-11-17T02:57:54.753Z] Login Succeeded [2020-11-17T02:57:54.753Z] nexus3.edgexfoundry.org:10004 [2020-11-17T02:57:55.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:57:55.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:57:55.301Z] Configure a credential helper to remove this warning. See [2020-11-17T02:57:55.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:57:55.301Z] [2020-11-17T02:57:55.301Z] Login Succeeded [2020-11-17T02:57:55.301Z] docker.io [2020-11-17T02:57:55.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:57:55.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:57:55.877Z] Configure a credential helper to remove this warning. See [2020-11-17T02:57:55.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:57:55.877Z] [2020-11-17T02:57:55.877Z] Login Succeeded [2020-11-17T02:57:55.877Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T02:57:55.987Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-17T02:57:56.430Z] ========================================================= [2020-11-17T02:57:56.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-17T02:57:56.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:57:56.832Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-17T02:57:57.106Z] Sending build context to Docker daemon 465.9kB [2020-11-17T02:57:57.106Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-17T02:57:57.106Z] Step 2/8 : FROM ${BASE} [2020-11-17T02:57:57.106Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-17T02:57:57.106Z] b538f80385f9: Pulling fs layer [2020-11-17T02:57:57.106Z] 74f711af9a0d: Pulling fs layer [2020-11-17T02:57:57.106Z] 99f96fe45779: Pulling fs layer [2020-11-17T02:57:57.106Z] 8529a6b9a6be: Pulling fs layer [2020-11-17T02:57:57.106Z] 45590311c82a: Pulling fs layer [2020-11-17T02:57:57.106Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-17T02:57:57.106Z] 209524e5b208: Pulling fs layer [2020-11-17T02:57:57.106Z] 8529a6b9a6be: Waiting [2020-11-17T02:57:57.106Z] 69ca0ff8b7b3: Waiting [2020-11-17T02:57:57.106Z] 209524e5b208: Waiting [2020-11-17T02:57:57.380Z] 99f96fe45779: Verifying Checksum [2020-11-17T02:57:57.380Z] 99f96fe45779: Download complete [2020-11-17T02:57:57.380Z] 74f711af9a0d: Download complete [2020-11-17T02:57:57.380Z] 45590311c82a: Verifying Checksum [2020-11-17T02:57:57.380Z] 45590311c82a: Download complete [2020-11-17T02:57:57.975Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-17T02:57:57.975Z] 69ca0ff8b7b3: Download complete [2020-11-17T02:57:57.975Z] b538f80385f9: Verifying Checksum [2020-11-17T02:57:58.958Z] b538f80385f9: Pull complete [2020-11-17T02:57:59.558Z] 74f711af9a0d: Pull complete [2020-11-17T02:57:59.831Z] 99f96fe45779: Pull complete [2020-11-17T02:58:00.103Z] 209524e5b208: Verifying Checksum [2020-11-17T02:58:02.080Z] 8529a6b9a6be: Verifying Checksum [2020-11-17T02:58:02.080Z] 8529a6b9a6be: Download complete [2020-11-17T02:58:12.283Z] 8529a6b9a6be: Pull complete [2020-11-17T02:58:12.558Z] 45590311c82a: Pull complete [2020-11-17T02:58:12.835Z] 69ca0ff8b7b3: Pull complete [2020-11-17T02:58:17.160Z] 209524e5b208: Pull complete [2020-11-17T02:58:17.160Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-17T02:58:17.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-17T02:58:17.160Z] ---> 5bddaf1c2fca [2020-11-17T02:58:17.160Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-17T02:58:19.803Z] ---> Running in 5d45e4a00e06 [2020-11-17T02:58:19.803Z] Removing intermediate container 5d45e4a00e06 [2020-11-17T02:58:19.803Z] ---> ff95d099d823 [2020-11-17T02:58:19.803Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T02:58:20.079Z] ---> Running in a0760dbeea46 [2020-11-17T02:58:22.709Z] Removing intermediate container a0760dbeea46 [2020-11-17T02:58:22.709Z] ---> ec7c0fadb4df [2020-11-17T02:58:22.709Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-17T02:58:22.986Z] ---> Running in 638c61bce737 [2020-11-17T02:58:24.425Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-17T02:58:25.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-17T02:58:25.659Z] (1/14) Installing libmagic (5.38-r0) [2020-11-17T02:58:26.264Z] (2/14) Installing file (5.38-r0) [2020-11-17T02:58:26.264Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-17T02:58:26.264Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-17T02:58:29.018Z] Running on prd-centos7-docker-4c-2g-12363 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-11-17T02:58:29.078Z] Running in /w/workspace/device-virtual-go/32 [Pipeline] { [Pipeline] checkout [2020-11-17T02:58:30.579Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-17T02:58:30.579Z] (6/14) Installing patch (2.7.6-r6) [2020-11-17T02:58:30.579Z] (7/14) Installing build-base (0.5-r2) [2020-11-17T02:58:30.579Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-17T02:58:30.579Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-17T02:58:30.852Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-17T02:58:31.123Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-17T02:58:31.123Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-17T02:58:31.395Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-17T02:58:31.395Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-17T02:58:31.667Z] Executing busybox-1.31.1-r16.trigger [2020-11-17T02:58:31.667Z] OK: 221 MiB in 53 packages [2020-11-17T02:58:32.547Z] using credential edgex-jenkins-ssh [2020-11-17T02:58:32.607Z] Cloning the remote Git repository [2020-11-17T02:58:32.652Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:58:32.732Z] > git init /w/workspace/device-virtual-go/32 # timeout=10 [2020-11-17T02:58:32.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:58:32.916Z] > git --version # timeout=10 [2020-11-17T02:58:32.923Z] > git --version # 'git version 2.16.5' [2020-11-17T02:58:32.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T02:58:32.958Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T02:58:33.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-17T02:58:33.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-17T02:58:33.690Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-11-17T02:58:33.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-11-17T02:58:33.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-17T02:58:33.756Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-17T02:58:34.160Z] Checking out Revision abb441d7d1970f82b841c2bc1ba1938b3ed69869 (master) [2020-11-17T02:58:34.177Z] > git config core.sparsecheckout # timeout=10 [2020-11-17T02:58:34.187Z] > git checkout -f abb441d7d1970f82b841c2bc1ba1938b3ed69869 # timeout=10 [2020-11-17T02:58:36.001Z] Removing intermediate container 638c61bce737 [2020-11-17T02:58:36.001Z] ---> 8cd47b7b733d [2020-11-17T02:58:36.001Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-17T02:58:36.001Z] ---> Running in 41806b4177e6 [2020-11-17T02:58:36.275Z] Removing intermediate container 41806b4177e6 [2020-11-17T02:58:36.275Z] ---> 355a5492dc8c [2020-11-17T02:58:36.275Z] Step 7/8 : COPY . . [2020-11-17T02:58:37.255Z] ---> 1f4f7888c779 [2020-11-17T02:58:37.255Z] Step 8/8 : RUN go mod download [2020-11-17T02:58:37.255Z] ---> Running in 5202a9b9dd43 [2020-11-17T02:58:38.364Z] Commit message: "Merge pull request #148 from iain-anderson/master" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T02:58:39.038Z] provisioning config files... [2020-11-17T02:58:39.086Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config907217959387295882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T02:58:39.874Z] ---> docker-login.sh [2020-11-17T02:58:39.874Z] nexus3.edgexfoundry.org:10001 [2020-11-17T02:58:40.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:58:40.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:58:40.411Z] Configure a credential helper to remove this warning. See [2020-11-17T02:58:40.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:58:40.411Z] [2020-11-17T02:58:40.411Z] Login Succeeded [2020-11-17T02:58:40.411Z] nexus3.edgexfoundry.org:10002 [2020-11-17T02:58:40.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:58:40.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:58:40.685Z] Configure a credential helper to remove this warning. See [2020-11-17T02:58:40.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:58:40.685Z] [2020-11-17T02:58:40.685Z] Login Succeeded [2020-11-17T02:58:40.685Z] nexus3.edgexfoundry.org:10003 [2020-11-17T02:58:40.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:58:40.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:58:40.948Z] Configure a credential helper to remove this warning. See [2020-11-17T02:58:40.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:58:40.948Z] [2020-11-17T02:58:40.948Z] Login Succeeded [2020-11-17T02:58:40.948Z] nexus3.edgexfoundry.org:10004 [2020-11-17T02:58:40.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:58:40.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:58:40.948Z] Configure a credential helper to remove this warning. See [2020-11-17T02:58:40.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:58:40.948Z] [2020-11-17T02:58:40.948Z] Login Succeeded [2020-11-17T02:58:40.948Z] docker.io [2020-11-17T02:58:41.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T02:58:41.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T02:58:41.482Z] Configure a credential helper to remove this warning. See [2020-11-17T02:58:41.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T02:58:41.482Z] [2020-11-17T02:58:41.482Z] Login Succeeded [2020-11-17T02:58:41.482Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T02:58:41.545Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-17T02:58:42.018Z] ========================================================= [2020-11-17T02:58:42.018Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-17T02:58:42.018Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:58:42.423Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-17T02:58:42.694Z] Sending build context to Docker daemon 465.9kB [2020-11-17T02:58:42.694Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-17T02:58:42.694Z] Step 2/8 : FROM ${BASE} [2020-11-17T02:58:42.694Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-17T02:58:42.694Z] df20fa9351a1: Pulling fs layer [2020-11-17T02:58:42.694Z] ed8968b2872e: Pulling fs layer [2020-11-17T02:58:42.694Z] a92cc7c5fd73: Pulling fs layer [2020-11-17T02:58:42.694Z] e871e8e8d7a9: Pulling fs layer [2020-11-17T02:58:42.694Z] e73272ec9a57: Pulling fs layer [2020-11-17T02:58:42.694Z] 1e910a182e73: Pulling fs layer [2020-11-17T02:58:42.694Z] 4e634b169226: Pulling fs layer [2020-11-17T02:58:42.694Z] e73272ec9a57: Waiting [2020-11-17T02:58:42.694Z] 1e910a182e73: Waiting [2020-11-17T02:58:42.694Z] e871e8e8d7a9: Waiting [2020-11-17T02:58:42.694Z] 4e634b169226: Waiting [2020-11-17T02:58:42.694Z] a92cc7c5fd73: Verifying Checksum [2020-11-17T02:58:42.694Z] a92cc7c5fd73: Download complete [2020-11-17T02:58:42.694Z] ed8968b2872e: Verifying Checksum [2020-11-17T02:58:42.694Z] ed8968b2872e: Download complete [2020-11-17T02:58:42.999Z] e73272ec9a57: Download complete [2020-11-17T02:58:42.999Z] df20fa9351a1: Verifying Checksum [2020-11-17T02:58:42.999Z] df20fa9351a1: Download complete [2020-11-17T02:58:42.999Z] 1e910a182e73: Verifying Checksum [2020-11-17T02:58:42.999Z] 1e910a182e73: Download complete [2020-11-17T02:58:43.640Z] df20fa9351a1: Pull complete [2020-11-17T02:58:43.640Z] ed8968b2872e: Pull complete [2020-11-17T02:58:43.918Z] a92cc7c5fd73: Pull complete [2020-11-17T02:58:46.542Z] 4e634b169226: Verifying Checksum [2020-11-17T02:58:46.542Z] 4e634b169226: Download complete [2020-11-17T02:58:47.546Z] e871e8e8d7a9: Verifying Checksum [2020-11-17T02:58:47.546Z] e871e8e8d7a9: Download complete [2020-11-17T02:58:55.827Z] e871e8e8d7a9: Pull complete [2020-11-17T02:58:55.827Z] e73272ec9a57: Pull complete [2020-11-17T02:58:55.827Z] 1e910a182e73: Pull complete [2020-11-17T02:59:02.486Z] 4e634b169226: Pull complete [2020-11-17T02:59:02.486Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-17T02:59:02.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-17T02:59:02.486Z] ---> f7629b54cfaa [2020-11-17T02:59:02.486Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-17T02:59:02.486Z] ---> Running in 1764a5b84d56 [2020-11-17T02:59:02.757Z] Removing intermediate container 1764a5b84d56 [2020-11-17T02:59:02.757Z] ---> bd025e39911d [2020-11-17T02:59:02.757Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T02:59:03.026Z] ---> Running in 2be4b9eec1aa [2020-11-17T02:59:04.086Z] Removing intermediate container 5202a9b9dd43 [2020-11-17T02:59:04.086Z] ---> 119ffa8447f6 [2020-11-17T02:59:04.086Z] Successfully built 119ffa8447f6 [2020-11-17T02:59:04.086Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:59:04.432Z] + docker inspect -f . ci-base-image-arm64 [2020-11-17T02:59:04.433Z] . [Pipeline] withDockerContainer [2020-11-17T02:59:04.708Z] prd-ubuntu18.04-docker-arm64-4c-16g-12362 does not seem to be running inside a container [2020-11-17T02:59:04.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 ******** ci-base-image-arm64 cat [2020-11-17T02:59:04.993Z] Removing intermediate container 2be4b9eec1aa [2020-11-17T02:59:04.993Z] ---> 7ffbea72d53e [2020-11-17T02:59:04.993Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-17T02:59:04.993Z] ---> Running in 0c73161afab0 [2020-11-17T02:59:05.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-17T02:59:06.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-17T02:59:06.486Z] (1/14) Installing libmagic (5.38-r0) [2020-11-17T02:59:06.736Z] $ docker top 1d55b0febdb4c9372d56b57f768424237a468f9730d314eff27afc550adea56a -eo pid,comm [2020-11-17T02:59:06.750Z] (2/14) Installing file (5.38-r0) [2020-11-17T02:59:06.750Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-17T02:59:07.018Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] { [Pipeline] sh [2020-11-17T02:59:08.122Z] + go version [2020-11-17T02:59:08.122Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-17T02:59:08.155Z] $ docker stop --time=1 1d55b0febdb4c9372d56b57f768424237a468f9730d314eff27afc550adea56a [2020-11-17T02:59:10.035Z] $ docker rm -f 1d55b0febdb4c9372d56b57f768424237a468f9730d314eff27afc550adea56a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:59:11.149Z] + docker inspect -f . ci-base-image-arm64 [2020-11-17T02:59:11.149Z] . [Pipeline] withDockerContainer [2020-11-17T02:59:11.414Z] prd-ubuntu18.04-docker-arm64-4c-16g-12362 does not seem to be running inside a container [2020-11-17T02:59:11.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 ******** ci-base-image-arm64 cat [2020-11-17T02:59:12.369Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-17T02:59:12.369Z] (6/14) Installing patch (2.7.6-r6) [2020-11-17T02:59:12.369Z] (7/14) Installing build-base (0.5-r2) [2020-11-17T02:59:12.369Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-17T02:59:12.369Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-17T02:59:12.641Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-17T02:59:13.227Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-17T02:59:13.227Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-17T02:59:13.227Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-17T02:59:13.227Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-17T02:59:13.353Z] $ docker top c688e20bed97baf278ef7e2816b0e248f4d18db29fdda002da30b3d0a55f8a7b -eo pid,comm [2020-11-17T02:59:13.497Z] Executing busybox-1.31.1-r16.trigger [2020-11-17T02:59:13.497Z] OK: 237 MiB in 53 packages [Pipeline] { [Pipeline] sh [2020-11-17T02:59:14.749Z] + make test [2020-11-17T02:59:14.749Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-17T02:59:15.742Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-17T02:59:16.942Z] Removing intermediate container 0c73161afab0 [2020-11-17T02:59:16.942Z] ---> c7d829d0bc3d [2020-11-17T02:59:16.942Z] Step 6/8 : WORKDIR /device-virtual-go [2020-11-17T02:59:16.942Z] ---> Running in 9fdfe62fb1d8 [2020-11-17T02:59:16.942Z] Removing intermediate container 9fdfe62fb1d8 [2020-11-17T02:59:16.942Z] ---> 8fdc5ccf39c9 [2020-11-17T02:59:16.942Z] Step 7/8 : COPY . . [2020-11-17T02:59:17.526Z] ---> e3b89aae80f9 [2020-11-17T02:59:17.526Z] Step 8/8 : RUN go mod download [2020-11-17T02:59:17.526Z] ---> Running in 4a3c69277533 [2020-11-17T02:59:39.733Z] Removing intermediate container 4a3c69277533 [2020-11-17T02:59:39.733Z] ---> 3af0b26338c9 [2020-11-17T02:59:39.733Z] Successfully built 3af0b26338c9 [2020-11-17T02:59:39.733Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:59:40.268Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-17T02:59:40.268Z] . [Pipeline] withDockerContainer [2020-11-17T02:59:40.562Z] prd-centos7-docker-4c-2g-12363 does not seem to be running inside a container [2020-11-17T02:59:40.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 ******** ci-base-image-x86_64 cat [2020-11-17T02:59:41.704Z] $ docker top 6e3f8b2b7a8caf198118292020c6fd9208855674ff9ba7c14c551c011aa506f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T02:59:42.309Z] + go version [2020-11-17T02:59:42.309Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-17T02:59:42.328Z] $ docker stop --time=1 6e3f8b2b7a8caf198118292020c6fd9208855674ff9ba7c14c551c011aa506f6 [2020-11-17T02:59:44.312Z] $ docker rm -f 6e3f8b2b7a8caf198118292020c6fd9208855674ff9ba7c14c551c011aa506f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T02:59:45.238Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-17T02:59:45.238Z] . [Pipeline] withDockerContainer [2020-11-17T02:59:45.362Z] prd-centos7-docker-4c-2g-12363 does not seem to be running inside a container [2020-11-17T02:59:45.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 ******** ci-base-image-x86_64 cat [2020-11-17T02:59:46.265Z] $ docker top 09f413467a67864c46d35624919f68f79926582f9d0fd042668abea0dc2ecda0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T02:59:46.941Z] + make test [2020-11-17T02:59:46.941Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-17T02:59:48.373Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-11-17T03:00:02.771Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-17T03:00:02.771Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.469s coverage: 64.4% of statements [2020-11-17T03:00:02.771Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-17T03:00:11.077Z] gofmt -l . [2020-11-17T03:00:11.077Z] [ "`gofmt -l .`" = "" ] [2020-11-17T03:00:11.077Z] ./bin/test-attribution-txt.sh [2020-11-17T03:00:11.077Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-17T03:00:11.388Z] $ docker stop --time=1 c688e20bed97baf278ef7e2816b0e248f4d18db29fdda002da30b3d0a55f8a7b [2020-11-17T03:00:13.519Z] $ docker rm -f c688e20bed97baf278ef7e2816b0e248f4d18db29fdda002da30b3d0a55f8a7b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-17T03:00:14.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-17T03:00:15.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-11-17T03:00:15.650Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-11-17T03:00:15.651Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.701s coverage: 64.4% of statements [2020-11-17T03:00:15.651Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh [2020-11-17T03:00:18.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-17T03:00:18.495Z] gofmt -l . [2020-11-17T03:00:18.495Z] [ "`gofmt -l .`" = "" ] [2020-11-17T03:00:18.495Z] ./bin/test-attribution-txt.sh [2020-11-17T03:00:18.633Z] + ls -al . [2020-11-17T03:00:18.633Z] total 148 [2020-11-17T03:00:18.633Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 17 03:00 . [2020-11-17T03:00:18.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 02:57 .. [2020-11-17T03:00:18.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 02:57 .git [2020-11-17T03:00:18.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 02:57 .github [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 258 Nov 17 02:57 .gitignore [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 6713 Nov 17 02:57 Attribution.txt [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 1834 Nov 17 02:57 Dockerfile [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 957 Nov 17 02:57 Dockerfile.build [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 17 02:57 Jenkinsfile [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 02:57 LICENSE [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 873 Nov 17 02:57 Makefile [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 918 Nov 17 02:57 README.md [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 17 02:55 VERSION [2020-11-17T03:00:18.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 02:57 bin [2020-11-17T03:00:18.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 02:57 cmd [2020-11-17T03:00:18.633Z] -rw-r--r-- 1 jenkins jenkins 47242 Nov 17 02:59 coverage.out [2020-11-17T03:00:18.633Z] -rw-r--r-- 1 jenkins jenkins 856 Nov 17 03:00 go.mod [2020-11-17T03:00:18.633Z] -rw-r--r-- 1 jenkins jenkins 16151 Nov 17 03:00 go.sum [2020-11-17T03:00:18.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 02:57 internal [2020-11-17T03:00:18.633Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 17 02:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:00:18.999Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=abb441d7d1970f82b841c2bc1ba1938b3ed69869 --label arch=arm64 --label version=1.2.4-dev.11 . [2020-11-17T03:00:19.275Z] Sending build context to Docker daemon 530.9kB [2020-11-17T03:00:19.506Z] ./bin/test-go-mod-tidy.sh [2020-11-17T03:00:19.554Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-17T03:00:19.554Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-17T03:00:19.554Z] ---> 119ffa8447f6 [2020-11-17T03:00:19.554Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-17T03:00:19.554Z] ---> Running in 4472b30392c5 [Pipeline] } [2020-11-17T03:00:20.121Z] $ docker stop --time=1 09f413467a67864c46d35624919f68f79926582f9d0fd042668abea0dc2ecda0 [2020-11-17T03:00:20.158Z] Removing intermediate container 4472b30392c5 [2020-11-17T03:00:20.159Z] ---> cca110b49721 [2020-11-17T03:00:20.159Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-17T03:00:20.159Z] ---> Running in ee873ad37c37 [2020-11-17T03:00:20.753Z] Removing intermediate container ee873ad37c37 [2020-11-17T03:00:20.753Z] ---> b6e110943ed3 [2020-11-17T03:00:20.753Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-17T03:00:20.753Z] ---> Running in 90d1f6ca5df0 [2020-11-17T03:00:21.032Z] Removing intermediate container 90d1f6ca5df0 [2020-11-17T03:00:21.032Z] ---> 3dee05a29c68 [2020-11-17T03:00:21.032Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T03:00:21.321Z] ---> Running in 39117ae37aab [2020-11-17T03:00:22.272Z] $ docker rm -f 09f413467a67864c46d35624919f68f79926582f9d0fd042668abea0dc2ecda0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-17T03:00:22.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-17T03:00:22.968Z] Warning: overwriting stash ‘coverage-report’ [2020-11-17T03:00:23.364Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-11-17T03:00:23.961Z] Removing intermediate container 39117ae37aab [2020-11-17T03:00:23.961Z] ---> 2112dd5f5edf [2020-11-17T03:00:23.961Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-17T03:00:23.961Z] ---> Running in 02107687754b [Pipeline] sh [2020-11-17T03:00:24.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-17T03:00:24.643Z] + ls -al . [2020-11-17T03:00:24.643Z] total 124 [2020-11-17T03:00:24.643Z] drwxrwxr-x. 7 jenkins jenkins 4096 Nov 17 03:00 . [2020-11-17T03:00:24.643Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 02:58 .. [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 6713 Nov 17 02:58 Attribution.txt [2020-11-17T03:00:24.643Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 17 02:58 bin [2020-11-17T03:00:24.643Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 02:58 cmd [2020-11-17T03:00:24.643Z] -rw-r--r--. 1 jenkins jenkins 47242 Nov 17 03:00 coverage.out [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 1834 Nov 17 02:58 Dockerfile [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 957 Nov 17 02:58 Dockerfile.build [2020-11-17T03:00:24.643Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 02:58 .git [2020-11-17T03:00:24.643Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 02:58 .github [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 258 Nov 17 02:58 .gitignore [2020-11-17T03:00:24.643Z] -rw-r--r--. 1 jenkins jenkins 856 Nov 17 03:00 go.mod [2020-11-17T03:00:24.643Z] -rw-r--r--. 1 jenkins jenkins 16151 Nov 17 03:00 go.sum [2020-11-17T03:00:24.643Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 02:58 internal [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 660 Nov 17 02:58 Jenkinsfile [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 02:58 LICENSE [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 873 Nov 17 02:58 Makefile [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 918 Nov 17 02:58 README.md [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 17 02:55 VERSION [2020-11-17T03:00:24.643Z] -rw-rw-r--. 1 jenkins jenkins 235 Nov 17 02:58 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:00:24.997Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=abb441d7d1970f82b841c2bc1ba1938b3ed69869 --label arch=amd64 --label version=1.2.4-dev.11 . [2020-11-17T03:00:25.266Z] Sending build context to Docker daemon 530.9kB [2020-11-17T03:00:25.266Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-17T03:00:25.266Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-17T03:00:25.266Z] ---> 3af0b26338c9 [2020-11-17T03:00:25.266Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-17T03:00:25.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-17T03:00:25.533Z] ---> Running in 81abea7a6cc8 [2020-11-17T03:00:25.801Z] Removing intermediate container 81abea7a6cc8 [2020-11-17T03:00:25.801Z] ---> 97144da4d18c [2020-11-17T03:00:25.801Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-17T03:00:25.801Z] ---> Running in af9d1470edcf [2020-11-17T03:00:25.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-17T03:00:26.065Z] Removing intermediate container af9d1470edcf [2020-11-17T03:00:26.065Z] ---> eeb9d436497b [2020-11-17T03:00:26.065Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-11-17T03:00:26.065Z] ---> Running in 10881dbd6438 [2020-11-17T03:00:26.065Z] Removing intermediate container 10881dbd6438 [2020-11-17T03:00:26.065Z] ---> 48465a8cfeac [2020-11-17T03:00:26.065Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-17T03:00:26.339Z] ---> Running in 06d46faddad3 [2020-11-17T03:00:26.603Z] OK: 221 MiB in 53 packages [2020-11-17T03:00:27.301Z] Removing intermediate container 06d46faddad3 [2020-11-17T03:00:27.301Z] ---> 473e8924bd33 [2020-11-17T03:00:27.301Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-17T03:00:27.301Z] ---> Running in 32731f2e583a [2020-11-17T03:00:27.580Z] Removing intermediate container 02107687754b [2020-11-17T03:00:27.580Z] ---> 43c717321fa7 [2020-11-17T03:00:27.580Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-17T03:00:27.853Z] ---> Running in b08f6d9def9c [2020-11-17T03:00:27.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-17T03:00:28.130Z] Removing intermediate container b08f6d9def9c [2020-11-17T03:00:28.130Z] ---> ea8b439394ba [2020-11-17T03:00:28.130Z] Step 9/22 : COPY . . [2020-11-17T03:00:28.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-17T03:00:29.058Z] OK: 237 MiB in 53 packages [2020-11-17T03:00:29.111Z] ---> bc4ba43def74 [2020-11-17T03:00:29.111Z] Step 10/22 : ARG MAKE='make build' [2020-11-17T03:00:29.385Z] ---> Running in 054fd6f67de8 [2020-11-17T03:00:29.644Z] Removing intermediate container 32731f2e583a [2020-11-17T03:00:29.644Z] ---> ff51cb0360b9 [2020-11-17T03:00:29.644Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-11-17T03:00:29.644Z] ---> Running in e077c5f13a11 [2020-11-17T03:00:29.660Z] Removing intermediate container 054fd6f67de8 [2020-11-17T03:00:29.660Z] ---> fc9f84b256ca [2020-11-17T03:00:29.660Z] Step 11/22 : RUN $MAKE [2020-11-17T03:00:29.908Z] Removing intermediate container e077c5f13a11 [2020-11-17T03:00:29.908Z] ---> e703be8e00c6 [2020-11-17T03:00:29.908Z] Step 9/22 : COPY . . [2020-11-17T03:00:29.934Z] ---> Running in 8d45072ba9e9 [2020-11-17T03:00:30.486Z] ---> d5d45ade38f9 [2020-11-17T03:00:30.486Z] Step 10/22 : ARG MAKE='make build' [2020-11-17T03:00:30.751Z] ---> Running in 3c2e3afcfe3b [2020-11-17T03:00:31.036Z] Removing intermediate container 3c2e3afcfe3b [2020-11-17T03:00:31.036Z] ---> 9072516d333e [2020-11-17T03:00:31.036Z] Step 11/22 : RUN $MAKE [2020-11-17T03:00:31.036Z] ---> Running in 514487662efa [2020-11-17T03:00:31.367Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.11" -o cmd/device-virtual ./cmd [2020-11-17T03:00:32.019Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.11" -o cmd/device-virtual ./cmd [2020-11-17T03:00:50.658Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-17T03:00:54.968Z] Removing intermediate container 514487662efa [2020-11-17T03:00:54.968Z] ---> b1fbe3881e10 [2020-11-17T03:00:54.968Z] Step 12/22 : FROM alpine [2020-11-17T03:00:54.968Z] latest: Pulling from library/alpine [2020-11-17T03:00:55.237Z] 188c0c94c7c5: Pulling fs layer [2020-11-17T03:00:55.518Z] 188c0c94c7c5: Verifying Checksum [2020-11-17T03:00:55.518Z] 188c0c94c7c5: Download complete [2020-11-17T03:00:55.784Z] 188c0c94c7c5: Pull complete [2020-11-17T03:00:55.784Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-17T03:00:55.784Z] Status: Downloaded newer image for alpine:latest [2020-11-17T03:00:55.784Z] ---> d6e46aa2470d [2020-11-17T03:00:55.784Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-17T03:00:55.784Z] ---> Running in 7e02c80f81a9 [2020-11-17T03:00:56.049Z] Removing intermediate container 7e02c80f81a9 [2020-11-17T03:00:56.049Z] ---> 749ff8ea902b [2020-11-17T03:00:56.049Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-17T03:00:56.049Z] ---> Running in 19a7a5accb1e [2020-11-17T03:00:56.316Z] Removing intermediate container 19a7a5accb1e [2020-11-17T03:00:56.316Z] ---> ab3a20275e5a [2020-11-17T03:00:56.316Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-17T03:00:56.900Z] ---> c5e00f706a36 [2020-11-17T03:00:56.900Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-17T03:00:57.171Z] ---> aa4005cc1304 [2020-11-17T03:00:57.171Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-17T03:00:57.445Z] ---> 46965aa61b4a [2020-11-17T03:00:57.445Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-17T03:00:57.445Z] ---> Running in a7ec5205d6aa [2020-11-17T03:00:57.725Z] Removing intermediate container a7ec5205d6aa [2020-11-17T03:00:57.725Z] ---> 353a4d5f4863 [2020-11-17T03:00:57.725Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-17T03:00:57.996Z] ---> Running in 8218b6b03cbc [2020-11-17T03:00:57.996Z] Removing intermediate container 8218b6b03cbc [2020-11-17T03:00:57.996Z] ---> 80232caf6abd [2020-11-17T03:00:57.996Z] Step 20/22 : LABEL arch=amd64 [2020-11-17T03:00:58.264Z] ---> Running in 77ca14a5dfd3 [2020-11-17T03:00:58.264Z] Removing intermediate container 77ca14a5dfd3 [2020-11-17T03:00:58.264Z] ---> c2806ce94695 [2020-11-17T03:00:58.264Z] Step 21/22 : LABEL git_sha=abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:00:58.531Z] ---> Running in 0c1e7fb913f7 [2020-11-17T03:00:58.531Z] Removing intermediate container 0c1e7fb913f7 [2020-11-17T03:00:58.531Z] ---> 5a7138d2d5c0 [2020-11-17T03:00:58.531Z] Step 22/22 : LABEL version=1.2.4-dev.11 [2020-11-17T03:00:58.804Z] ---> Running in d4c55fd26c5d [2020-11-17T03:00:58.804Z] Removing intermediate container d4c55fd26c5d [2020-11-17T03:00:58.804Z] ---> 3b1f02536432 [2020-11-17T03:00:58.804Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-17T03:00:58.804Z] Successfully built 3b1f02536432 [2020-11-17T03:00:59.078Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T03:00:59.577Z] provisioning config files... [2020-11-17T03:00:59.631Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config5765749873925180953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:01:00.049Z] ---> docker-login.sh [2020-11-17T03:01:00.049Z] nexus3.edgexfoundry.org:10001 [2020-11-17T03:01:00.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:00.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:00.322Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:00.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:00.322Z] [2020-11-17T03:01:00.322Z] Login Succeeded [2020-11-17T03:01:00.322Z] nexus3.edgexfoundry.org:10002 [2020-11-17T03:01:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:00.586Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:00.586Z] [2020-11-17T03:01:00.586Z] Login Succeeded [2020-11-17T03:01:00.586Z] nexus3.edgexfoundry.org:10003 [2020-11-17T03:01:00.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:00.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:00.862Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:00.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:00.862Z] [2020-11-17T03:01:00.862Z] Login Succeeded [2020-11-17T03:01:00.862Z] nexus3.edgexfoundry.org:10004 [2020-11-17T03:01:01.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:01.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:01.181Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:01.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:01.181Z] [2020-11-17T03:01:01.181Z] Login Succeeded [2020-11-17T03:01:01.181Z] docker.io [2020-11-17T03:01:01.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:01.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:01.752Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:01.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:01.752Z] [2020-11-17T03:01:01.752Z] Login Succeeded [2020-11-17T03:01:01.752Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T03:01:01.772Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-17T03:01:02.113Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2020-11-17T03:01:02.113Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:02.113Z] latest [2020-11-17T03:01:02.113Z] 1.2.4-dev.11 [2020-11-17T03:01:02.113Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:02.113Z] master [2020-11-17T03:01:02.113Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:02.779Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:03.188Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:03.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-11-17T03:01:03.189Z] 2e81f1de8944: Preparing [2020-11-17T03:01:03.189Z] d58c3a80d9a1: Preparing [2020-11-17T03:01:03.189Z] de041491d67d: Preparing [2020-11-17T03:01:03.189Z] ace0eda3e3be: Preparing [2020-11-17T03:01:03.189Z] ace0eda3e3be: Layer already exists [2020-11-17T03:01:03.736Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-17T03:01:03.795Z] 2e81f1de8944: Pushed [2020-11-17T03:01:03.795Z] d58c3a80d9a1: Pushed [2020-11-17T03:01:06.447Z] de041491d67d: Pushed [2020-11-17T03:01:06.448Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869: digest: sha256:01881f24d5efc184f9ed4321834cba82c6b6f2772117d11fe52b0aa4696c4be9 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:06.831Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:07.203Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-11-17T03:01:07.203Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-11-17T03:01:07.203Z] 2e81f1de8944: Preparing [2020-11-17T03:01:07.203Z] d58c3a80d9a1: Preparing [2020-11-17T03:01:07.203Z] de041491d67d: Preparing [2020-11-17T03:01:07.203Z] ace0eda3e3be: Preparing [2020-11-17T03:01:07.204Z] de041491d67d: Layer already exists [2020-11-17T03:01:07.204Z] 2e81f1de8944: Layer already exists [2020-11-17T03:01:07.204Z] d58c3a80d9a1: Layer already exists [2020-11-17T03:01:07.204Z] ace0eda3e3be: Layer already exists [2020-11-17T03:01:07.469Z] latest: digest: sha256:01881f24d5efc184f9ed4321834cba82c6b6f2772117d11fe52b0aa4696c4be9 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:07.841Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.11 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:08.213Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.11 [2020-11-17T03:01:08.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-11-17T03:01:08.213Z] 2e81f1de8944: Preparing [2020-11-17T03:01:08.213Z] d58c3a80d9a1: Preparing [2020-11-17T03:01:08.213Z] de041491d67d: Preparing [2020-11-17T03:01:08.213Z] ace0eda3e3be: Preparing [2020-11-17T03:01:08.213Z] de041491d67d: Layer already exists [2020-11-17T03:01:08.213Z] d58c3a80d9a1: Layer already exists [2020-11-17T03:01:08.213Z] ace0eda3e3be: Layer already exists [2020-11-17T03:01:08.213Z] 2e81f1de8944: Layer already exists [2020-11-17T03:01:08.505Z] 1.2.4-dev.11: digest: sha256:01881f24d5efc184f9ed4321834cba82c6b6f2772117d11fe52b0aa4696c4be9 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:08.890Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:09.329Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:09.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-11-17T03:01:09.329Z] 2e81f1de8944: Preparing [2020-11-17T03:01:09.329Z] d58c3a80d9a1: Preparing [2020-11-17T03:01:09.329Z] de041491d67d: Preparing [2020-11-17T03:01:09.329Z] ace0eda3e3be: Preparing [2020-11-17T03:01:09.329Z] ace0eda3e3be: Layer already exists [2020-11-17T03:01:09.329Z] 2e81f1de8944: Layer already exists [2020-11-17T03:01:09.329Z] d58c3a80d9a1: Layer already exists [2020-11-17T03:01:09.329Z] de041491d67d: Layer already exists [2020-11-17T03:01:09.608Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11: digest: sha256:01881f24d5efc184f9ed4321834cba82c6b6f2772117d11fe52b0aa4696c4be9 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:10.020Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:10.348Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2020-11-17T03:01:10.348Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-11-17T03:01:10.348Z] 2e81f1de8944: Preparing [2020-11-17T03:01:10.348Z] d58c3a80d9a1: Preparing [2020-11-17T03:01:10.348Z] de041491d67d: Preparing [2020-11-17T03:01:10.348Z] ace0eda3e3be: Preparing [2020-11-17T03:01:10.348Z] ace0eda3e3be: Layer already exists [2020-11-17T03:01:10.348Z] d58c3a80d9a1: Layer already exists [2020-11-17T03:01:10.348Z] de041491d67d: Layer already exists [2020-11-17T03:01:10.348Z] 2e81f1de8944: Layer already exists [2020-11-17T03:01:10.623Z] master: digest: sha256:01881f24d5efc184f9ed4321834cba82c6b6f2772117d11fe52b0aa4696c4be9 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-17T03:01:10.895Z] ===================================================== [Pipeline] echo [2020-11-17T03:01:10.959Z] taggedImages: [2020-11-17T03:01:10.959Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:10.959Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-11-17T03:01:10.959Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.11 [2020-11-17T03:01:10.959Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:10.959Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-11-17T03:01:12.089Z] Removing intermediate container 8d45072ba9e9 [2020-11-17T03:01:12.089Z] ---> 6795b52657f9 [2020-11-17T03:01:12.089Z] Step 12/22 : FROM alpine [Pipeline] } [2020-11-17T03:01:12.693Z] latest: Pulling from library/alpine [2020-11-17T03:01:12.693Z] 5f621e34cdf4: Pulling fs layer [2020-11-17T03:01:12.986Z] 5f621e34cdf4: Download complete [2020-11-17T03:01:13.599Z] 5f621e34cdf4: Pull complete [2020-11-17T03:01:13.599Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-17T03:01:13.599Z] Status: Downloaded newer image for alpine:latest [2020-11-17T03:01:13.599Z] ---> 2e77e061c27f [2020-11-17T03:01:13.599Z] Step 13/22 : ENV APP_PORT=49990 [2020-11-17T03:01:13.876Z] ---> Running in 9301f14b9255 [2020-11-17T03:01:14.149Z] Removing intermediate container 9301f14b9255 [2020-11-17T03:01:14.149Z] ---> 334dbc852e1a [2020-11-17T03:01:14.149Z] Step 14/22 : EXPOSE $APP_PORT [2020-11-17T03:01:14.426Z] ---> Running in 60f5f25db6b1 [2020-11-17T03:01:14.702Z] Removing intermediate container 60f5f25db6b1 [2020-11-17T03:01:14.702Z] ---> 6b1bc7f6abc3 [2020-11-17T03:01:14.702Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-11-17T03:01:16.150Z] ---> b855867b3595 [2020-11-17T03:01:16.150Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-11-17T03:01:17.134Z] ---> d6edb64e53bd [2020-11-17T03:01:17.134Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-11-17T03:01:17.736Z] ---> 5c45940aa9ec [2020-11-17T03:01:17.736Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-11-17T03:01:17.736Z] ---> Running in f8bbe58452ee [2020-11-17T03:01:18.333Z] Removing intermediate container f8bbe58452ee [2020-11-17T03:01:18.333Z] ---> 3033aa7c297b [2020-11-17T03:01:18.333Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-17T03:01:18.333Z] ---> Running in d5efcdd38bc0 [2020-11-17T03:01:18.930Z] Removing intermediate container d5efcdd38bc0 [2020-11-17T03:01:18.930Z] ---> be0d072322e8 [2020-11-17T03:01:18.930Z] Step 20/22 : LABEL arch=arm64 [2020-11-17T03:01:18.930Z] ---> Running in 201784079e5b [2020-11-17T03:01:19.526Z] Removing intermediate container 201784079e5b [2020-11-17T03:01:19.526Z] ---> 733b084c5b22 [2020-11-17T03:01:19.526Z] Step 21/22 : LABEL git_sha=abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:19.526Z] ---> Running in 9630ba6fb5fa [2020-11-17T03:01:20.124Z] Removing intermediate container 9630ba6fb5fa [2020-11-17T03:01:20.124Z] ---> ec0aafcaaa4b [2020-11-17T03:01:20.124Z] Step 22/22 : LABEL version=1.2.4-dev.11 [2020-11-17T03:01:20.124Z] ---> Running in c90266b6a474 [2020-11-17T03:01:20.407Z] Removing intermediate container c90266b6a474 [2020-11-17T03:01:20.407Z] ---> 1e745a58513a [2020-11-17T03:01:20.407Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-17T03:01:20.407Z] Successfully built 1e745a58513a [2020-11-17T03:01:20.681Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-17T03:01:21.293Z] provisioning config files... [2020-11-17T03:01:21.353Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config6327496281393940608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:01:21.752Z] ---> docker-login.sh [2020-11-17T03:01:21.752Z] nexus3.edgexfoundry.org:10001 [2020-11-17T03:01:22.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:22.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:22.302Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:22.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:22.302Z] [2020-11-17T03:01:22.302Z] Login Succeeded [2020-11-17T03:01:22.302Z] nexus3.edgexfoundry.org:10002 [2020-11-17T03:01:22.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:22.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:22.849Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:22.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:22.849Z] [2020-11-17T03:01:22.849Z] Login Succeeded [2020-11-17T03:01:22.849Z] nexus3.edgexfoundry.org:10003 [2020-11-17T03:01:23.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:23.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:23.397Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:23.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:23.397Z] [2020-11-17T03:01:23.397Z] Login Succeeded [2020-11-17T03:01:23.397Z] nexus3.edgexfoundry.org:10004 [2020-11-17T03:01:23.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:23.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:23.948Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:23.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:23.948Z] [2020-11-17T03:01:23.948Z] Login Succeeded [2020-11-17T03:01:23.948Z] docker.io [2020-11-17T03:01:24.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-17T03:01:24.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-17T03:01:24.822Z] Configure a credential helper to remove this warning. See [2020-11-17T03:01:24.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-17T03:01:24.822Z] [2020-11-17T03:01:24.822Z] Login Succeeded [2020-11-17T03:01:24.822Z] ---> docker-login.sh ends [Pipeline] } [2020-11-17T03:01:24.846Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-17T03:01:25.138Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2020-11-17T03:01:25.138Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:25.138Z] latest [2020-11-17T03:01:25.138Z] 1.2.4-dev.11 [2020-11-17T03:01:25.138Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:25.138Z] master [2020-11-17T03:01:25.138Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:25.792Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:26.152Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:26.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-11-17T03:01:26.152Z] 698b79c16a7b: Preparing [2020-11-17T03:01:26.152Z] 4f6c1000b1bb: Preparing [2020-11-17T03:01:26.152Z] 384780747657: Preparing [2020-11-17T03:01:26.152Z] cd3761cfa1d9: Preparing [2020-11-17T03:01:26.449Z] cd3761cfa1d9: Layer already exists [2020-11-17T03:01:26.727Z] 4f6c1000b1bb: Pushed [2020-11-17T03:01:26.727Z] 698b79c16a7b: Pushed [2020-11-17T03:01:30.150Z] 384780747657: Pushed [2020-11-17T03:01:30.425Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869: digest: sha256:251daac77833001ef1343d87773b7323609621b373dfdd35621e10d93c8c52c5 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:30.781Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:31.144Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-11-17T03:01:31.144Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-11-17T03:01:31.144Z] 698b79c16a7b: Preparing [2020-11-17T03:01:31.144Z] 4f6c1000b1bb: Preparing [2020-11-17T03:01:31.144Z] 384780747657: Preparing [2020-11-17T03:01:31.144Z] cd3761cfa1d9: Preparing [2020-11-17T03:01:31.144Z] 4f6c1000b1bb: Layer already exists [2020-11-17T03:01:31.144Z] cd3761cfa1d9: Layer already exists [2020-11-17T03:01:31.144Z] 384780747657: Layer already exists [2020-11-17T03:01:31.144Z] 698b79c16a7b: Layer already exists [2020-11-17T03:01:31.740Z] latest: digest: sha256:251daac77833001ef1343d87773b7323609621b373dfdd35621e10d93c8c52c5 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:32.104Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.11 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:32.448Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.11 [2020-11-17T03:01:32.448Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-11-17T03:01:32.448Z] 698b79c16a7b: Preparing [2020-11-17T03:01:32.448Z] 4f6c1000b1bb: Preparing [2020-11-17T03:01:32.448Z] 384780747657: Preparing [2020-11-17T03:01:32.448Z] cd3761cfa1d9: Preparing [2020-11-17T03:01:32.722Z] 4f6c1000b1bb: Layer already exists [2020-11-17T03:01:32.722Z] 384780747657: Layer already exists [2020-11-17T03:01:32.722Z] 698b79c16a7b: Layer already exists [2020-11-17T03:01:32.722Z] cd3761cfa1d9: Layer already exists [2020-11-17T03:01:32.722Z] 1.2.4-dev.11: digest: sha256:251daac77833001ef1343d87773b7323609621b373dfdd35621e10d93c8c52c5 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:33.070Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:33.426Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:33.426Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-11-17T03:01:33.426Z] 698b79c16a7b: Preparing [2020-11-17T03:01:33.426Z] 4f6c1000b1bb: Preparing [2020-11-17T03:01:33.426Z] 384780747657: Preparing [2020-11-17T03:01:33.426Z] cd3761cfa1d9: Preparing [2020-11-17T03:01:33.698Z] 384780747657: Layer already exists [2020-11-17T03:01:33.698Z] 4f6c1000b1bb: Layer already exists [2020-11-17T03:01:33.698Z] cd3761cfa1d9: Layer already exists [2020-11-17T03:01:33.698Z] 698b79c16a7b: Layer already exists [2020-11-17T03:01:33.698Z] abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11: digest: sha256:251daac77833001ef1343d87773b7323609621b373dfdd35621e10d93c8c52c5 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:34.052Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:34.401Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2020-11-17T03:01:34.401Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-11-17T03:01:34.401Z] 698b79c16a7b: Preparing [2020-11-17T03:01:34.401Z] 4f6c1000b1bb: Preparing [2020-11-17T03:01:34.401Z] 384780747657: Preparing [2020-11-17T03:01:34.401Z] cd3761cfa1d9: Preparing [2020-11-17T03:01:34.401Z] 384780747657: Layer already exists [2020-11-17T03:01:34.673Z] cd3761cfa1d9: Layer already exists [2020-11-17T03:01:34.673Z] 4f6c1000b1bb: Layer already exists [2020-11-17T03:01:34.673Z] 698b79c16a7b: Layer already exists [2020-11-17T03:01:34.945Z] master: digest: sha256:251daac77833001ef1343d87773b7323609621b373dfdd35621e10d93c8c52c5 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-17T03:01:35.170Z] ===================================================== [Pipeline] echo [2020-11-17T03:01:35.225Z] taggedImages: [2020-11-17T03:01:35.225Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869 [2020-11-17T03:01:35.225Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-11-17T03:01:35.225Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.11 [2020-11-17T03:01:35.225Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:abb441d7d1970f82b841c2bc1ba1938b3ed69869-1.2.4-dev.11 [2020-11-17T03:01:35.225Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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] wrap [2020-11-17T03:01:36.685Z] provisioning config files... [2020-11-17T03:01:36.697Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7476049167566752873tmp [Pipeline] { [Pipeline] sh [2020-11-17T03:01:37.095Z] + set +x [2020-11-17T03:01:37.095Z] + bash -s -- [2020-11-17T03:01:37.095Z] + curl -s https://codecov.io/bash [2020-11-17T03:01:37.672Z] [2020-11-17T03:01:37.672Z] _____ _ [2020-11-17T03:01:37.672Z] / ____| | | [2020-11-17T03:01:37.672Z] | | ___ __| | ___ ___ _____ __ [2020-11-17T03:01:37.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-17T03:01:37.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-17T03:01:37.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-17T03:01:37.672Z] Bash-20201116-eea08d9 [2020-11-17T03:01:37.672Z] [2020-11-17T03:01:37.672Z] [2020-11-17T03:01:37.672Z] ==> Jenkins CI detected. [2020-11-17T03:01:37.672Z] project root: . [2020-11-17T03:01:37.672Z] --> token set from env [2020-11-17T03:01:37.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-17T03:01:37.672Z] ==> Running gcov in . (disable via -X gcov) [2020-11-17T03:01:37.672Z] ==> Python coveragepy not found [2020-11-17T03:01:37.672Z] ==> Searching for coverage reports in: [2020-11-17T03:01:37.672Z] + . [2020-11-17T03:01:37.672Z] -> Found 1 reports [2020-11-17T03:01:37.672Z] ==> Detecting git/mercurial file structure [2020-11-17T03:01:37.672Z] ==> Reading reports [2020-11-17T03:01:37.672Z] + ./coverage.out bytes=47242 [2020-11-17T03:01:37.672Z] ==> Appending adjustments [2020-11-17T03:01:37.672Z] https://docs.codecov.io/docs/fixing-reports [2020-11-17T03:01:37.672Z] + Found adjustments [2020-11-17T03:01:37.672Z] ==> Gzipping contents [2020-11-17T03:01:37.672Z] ==> Uploading reports [2020-11-17T03:01:37.672Z] url: https://codecov.io [2020-11-17T03:01:37.672Z] query: branch=master&commit=abb441d7d1970f82b841c2bc1ba1938b3ed69869&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-17T03:01:37.672Z] -> Pinging Codecov [2020-11-17T03:01:37.672Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=abb441d7d1970f82b841c2bc1ba1938b3ed69869&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-17T03:01:38.248Z] -> Uploading to [2020-11-17T03:01:38.248Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-17/5E52B4B073DB2E39498172D8E973AA87/abb441d7d1970f82b841c2bc1ba1938b3ed69869/24a02e15-d749-42f5-92dc-adeb1403bd09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201117T030138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b027979ba5d708b98101c1af7dc012f834746f7c30d12e38bbf84ee560151f11 [2020-11-17T03:01:38.248Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-17T03:01:38.248Z] Dload Upload Total Spent Left Speed [2020-11-17T03:01:38.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5796 0 0 100 5796 0 15127 --:--:-- --:--:-- --:--:-- 15172 [2020-11-17T03:01:38.824Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] } [2020-11-17T03:01:38.834Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-17T03:01:39.773Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-17T03:01:39.828Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:40.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-17T03:01:40.168Z] [2020-11-17T03:01:40.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:01:40.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-17T03:01:40.531Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-17T03:01:40.531Z] 188c0c94c7c5: Pulling fs layer [2020-11-17T03:01:40.531Z] 0ef7d3d256c8: Pulling fs layer [2020-11-17T03:01:40.531Z] de9db76c5a1d: Pulling fs layer [2020-11-17T03:01:40.531Z] 0eba1c9be4d2: Pulling fs layer [2020-11-17T03:01:40.531Z] 0d57e429df01: Pulling fs layer [2020-11-17T03:01:40.531Z] 4e4be7b47b0d: Pulling fs layer [2020-11-17T03:01:40.531Z] e1f770b5df2f: Pulling fs layer [2020-11-17T03:01:40.531Z] 85a0685a4137: Pulling fs layer [2020-11-17T03:01:40.531Z] 0eba1c9be4d2: Waiting [2020-11-17T03:01:40.531Z] 4e4be7b47b0d: Waiting [2020-11-17T03:01:40.531Z] e1f770b5df2f: Waiting [2020-11-17T03:01:40.531Z] 85a0685a4137: Waiting [2020-11-17T03:01:40.531Z] 0d57e429df01: Waiting [2020-11-17T03:01:40.531Z] de9db76c5a1d: Verifying Checksum [2020-11-17T03:01:40.531Z] de9db76c5a1d: Download complete [2020-11-17T03:01:40.531Z] 0ef7d3d256c8: Download complete [2020-11-17T03:01:40.531Z] 0d57e429df01: Verifying Checksum [2020-11-17T03:01:40.531Z] 0d57e429df01: Download complete [2020-11-17T03:01:40.531Z] 188c0c94c7c5: Verifying Checksum [2020-11-17T03:01:40.531Z] 188c0c94c7c5: Download complete [2020-11-17T03:01:40.531Z] 4e4be7b47b0d: Verifying Checksum [2020-11-17T03:01:40.531Z] 4e4be7b47b0d: Download complete [2020-11-17T03:01:41.109Z] 188c0c94c7c5: Pull complete [2020-11-17T03:01:41.378Z] 0ef7d3d256c8: Pull complete [2020-11-17T03:01:41.378Z] de9db76c5a1d: Pull complete [2020-11-17T03:01:42.332Z] e1f770b5df2f: Verifying Checksum [2020-11-17T03:01:42.332Z] e1f770b5df2f: Download complete [2020-11-17T03:01:43.742Z] 0eba1c9be4d2: Verifying Checksum [2020-11-17T03:01:43.742Z] 0eba1c9be4d2: Download complete [2020-11-17T03:01:44.324Z] 85a0685a4137: Verifying Checksum [2020-11-17T03:01:44.324Z] 85a0685a4137: Download complete [2020-11-17T03:01:50.959Z] 0eba1c9be4d2: Pull complete [2020-11-17T03:01:50.959Z] 0d57e429df01: Pull complete [2020-11-17T03:01:50.959Z] 4e4be7b47b0d: Pull complete [2020-11-17T03:01:52.888Z] e1f770b5df2f: Pull complete [2020-11-17T03:01:59.512Z] 85a0685a4137: Pull complete [2020-11-17T03:01:59.512Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-17T03:01:59.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-17T03:01:59.512Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-17T03:01:59.744Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:01:59.796Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-17T03:02:00.832Z] $ docker top 73496bfce4a6301cbf692a0af0af22eb74e68589ab878395bad73ce8d2f607ec -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-17T03:02:01.076Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-17T03:02:01.368Z] + set -o pipefail [2020-11-17T03:02:01.368Z] + snyk monitor '--org=edgex-jenkins' [2020-11-17T03:02:16.317Z] [2020-11-17T03:02:16.317Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2020-11-17T03:02:16.317Z] [2020-11-17T03:02:16.317Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/5da3972d-2617-45e8-850f-756273b79993 [2020-11-17T03:02:16.317Z] [2020-11-17T03:02:16.317Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-17T03:02:16.317Z] [2020-11-17T03:02:16.317Z] [Pipeline] } [2020-11-17T03:02:16.334Z] $ docker stop --time=1 73496bfce4a6301cbf692a0af0af22eb74e68589ab878395bad73ce8d2f607ec [2020-11-17T03:02:19.124Z] $ docker rm -f 73496bfce4a6301cbf692a0af0af22eb74e68589ab878395bad73ce8d2f607ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-17T03:02:20.313Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869, dockerFile=Dockerfile [Pipeline] echo [2020-11-17T03:02:20.316Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-17T03:02:20.610Z] + set -o pipefail [2020-11-17T03:02:20.610Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-17T03:02:20.610Z] + tee .snyk [2020-11-17T03:02:20.878Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-17T03:02:20.878Z] version: v1.14.1 [2020-11-17T03:02:20.878Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-17T03:02:20.878Z] # ignore: [2020-11-17T03:02:20.878Z] # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. [2020-11-17T03:02:20.878Z] # - '*': [2020-11-17T03:02:20.878Z] # reason: does not apply # justification for ignoring [2020-11-17T03:02:20.878Z] # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) [2020-11-17T03:02:20.878Z] # patch: {} [Pipeline] withCredentials [2020-11-17T03:02:20.960Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:02:21.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-17T03:02:21.308Z] . [Pipeline] withDockerContainer [2020-11-17T03:02:21.424Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:02:21.479Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-17T03:02:22.231Z] $ docker top ddee7fe1dd08ae5a57cdde88224507e37886e3ac21ea2e25163a7283494f4e06 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T03:02:22.717Z] + rm -f snykReport.html [Pipeline] echo [2020-11-17T03:02:22.730Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-17T03:02:23.025Z] + set -o pipefail [2020-11-17T03:02:23.025Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-virtual-go:abb441d7d1970f82b841c2bc1ba1938b3ed69869 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-17T03:02:23.025Z] + snyk-to-html -o snykReport.html [2020-11-17T03:02:29.654Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-17T03:02:29.673Z] $ docker stop --time=1 ddee7fe1dd08ae5a57cdde88224507e37886e3ac21ea2e25163a7283494f4e06 [2020-11-17T03:02:31.164Z] $ docker rm -f ddee7fe1dd08ae5a57cdde88224507e37886e3ac21ea2e25163a7283494f4e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-11-17T03:02:32.946Z] + git log --format=format:%s -1 abb441d7d1970f82b841c2bc1ba1938b3ed69869 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:02:33.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T03:02:33.261Z] . [Pipeline] withDockerContainer [2020-11-17T03:02:33.369Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:02:33.420Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-17T03:02:34.056Z] $ docker top d0bd89eec25dfb1ea7a803dc1962ae4e291be64bf77018e5a6fbd03c4ab0ddf2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-17T03:02:34.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T03:02:34.368Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T03:02:34.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T03:02:34.568Z] $ docker exec d0bd89eec25dfb1ea7a803dc1962ae4e291be64bf77018e5a6fbd03c4ab0ddf2 ssh-agent [2020-11-17T03:02:34.757Z] SSH_AUTH_SOCK=/tmp/ssh-NmRLsYqdGGkh/agent.11 [2020-11-17T03:02:34.757Z] SSH_AGENT_PID=16 [2020-11-17T03:02:34.772Z] Running ssh-add (command line suppressed) [2020-11-17T03:02:34.927Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_592712670346511255.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_592712670346511255.key) [2020-11-17T03:02:34.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T03:02:35.368Z] + git semver tag [2020-11-17T03:02:35.368Z] # -> Open(): unable to determine branch for HEAD [2020-11-17T03:02:35.368Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-11-17T03:02:35.368Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-11-17T03:02:35.368Z] # $SEMVER_REMOTE_NAME = origin [2020-11-17T03:02:35.368Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-17T03:02:35.368Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-17T03:02:35.368Z] # $SEMVER_BRANCH = master [2020-11-17T03:02:35.368Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-11-17T03:02:35.368Z] # abb441d7d1970f82b841c2bc1ba1938b3ed69869 HEAD [2020-11-17T03:02:35.368Z] # -> Force: false [2020-11-17T03:02:35.368Z] # 75970809eb8d37a30d50904153ef151d053ef601 refs/tags/v1.2.4-dev.11 [Pipeline] } [2020-11-17T03:02:35.383Z] $ docker exec --env ******** --env ******** d0bd89eec25dfb1ea7a803dc1962ae4e291be64bf77018e5a6fbd03c4ab0ddf2 ssh-agent -k [2020-11-17T03:02:35.498Z] unset SSH_AUTH_SOCK; [2020-11-17T03:02:35.499Z] unset SSH_AGENT_PID; [2020-11-17T03:02:35.499Z] echo Agent pid 16 killed; [2020-11-17T03:02:35.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-17T03:02:36.049Z] + git semver [Pipeline] } [2020-11-17T03:02:36.069Z] $ docker stop --time=1 d0bd89eec25dfb1ea7a803dc1962ae4e291be64bf77018e5a6fbd03c4ab0ddf2 [2020-11-17T03:02:37.401Z] $ docker rm -f d0bd89eec25dfb1ea7a803dc1962ae4e291be64bf77018e5a6fbd03c4ab0ddf2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:02:38.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-17T03:02:38.063Z] [2020-11-17T03:02:38.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:02:38.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-17T03:02:38.411Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-17T03:02:38.411Z] ab5ef0e58194: Pulling fs layer [2020-11-17T03:02:38.411Z] 9712f1f96733: Pulling fs layer [2020-11-17T03:02:38.411Z] 63f879dbbcfc: Pulling fs layer [2020-11-17T03:02:38.411Z] 0d9ebad4ef96: Pulling fs layer [2020-11-17T03:02:38.411Z] e9a5061849ea: Pulling fs layer [2020-11-17T03:02:38.411Z] d747dcd14b5f: Pulling fs layer [2020-11-17T03:02:38.411Z] 2de7ff778b66: Pulling fs layer [2020-11-17T03:02:38.411Z] e9a5061849ea: Waiting [2020-11-17T03:02:38.411Z] d747dcd14b5f: Waiting [2020-11-17T03:02:38.411Z] 2de7ff778b66: Waiting [2020-11-17T03:02:38.411Z] 0d9ebad4ef96: Waiting [2020-11-17T03:02:38.411Z] 9712f1f96733: Download complete [2020-11-17T03:02:40.343Z] 63f879dbbcfc: Verifying Checksum [2020-11-17T03:02:40.343Z] 63f879dbbcfc: Download complete [2020-11-17T03:02:40.343Z] e9a5061849ea: Verifying Checksum [2020-11-17T03:02:40.343Z] e9a5061849ea: Download complete [2020-11-17T03:02:40.343Z] d747dcd14b5f: Verifying Checksum [2020-11-17T03:02:40.343Z] d747dcd14b5f: Download complete [2020-11-17T03:02:40.920Z] 2de7ff778b66: Verifying Checksum [2020-11-17T03:02:40.920Z] 2de7ff778b66: Download complete [2020-11-17T03:02:40.920Z] 0d9ebad4ef96: Verifying Checksum [2020-11-17T03:02:40.920Z] 0d9ebad4ef96: Download complete [2020-11-17T03:02:40.920Z] ab5ef0e58194: Verifying Checksum [2020-11-17T03:02:40.920Z] ab5ef0e58194: Download complete [2020-11-17T03:02:46.244Z] ab5ef0e58194: Pull complete [2020-11-17T03:02:46.244Z] 9712f1f96733: Pull complete [2020-11-17T03:02:48.806Z] 63f879dbbcfc: Pull complete [2020-11-17T03:02:54.178Z] 0d9ebad4ef96: Pull complete [2020-11-17T03:02:56.741Z] e9a5061849ea: Pull complete [2020-11-17T03:02:56.741Z] d747dcd14b5f: Pull complete [2020-11-17T03:02:59.304Z] 2de7ff778b66: Pull complete [2020-11-17T03:02:59.304Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-17T03:02:59.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-17T03:02:59.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-17T03:02:59.526Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:02:59.576Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-17T03:03:03.460Z] $ docker top c13a2f541b049f45ee1d776f04dcd083f614254b4d97a13b0af6c8c0de90641f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-17T03:03:03.859Z] provisioning config files... [2020-11-17T03:03:03.872Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1846315465961991233tmp [2020-11-17T03:03:03.893Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6392361159990022404tmp [2020-11-17T03:03:03.915Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5821542419413599004tmp [Pipeline] { [Pipeline] echo [2020-11-17T03:03:03.972Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:04.272Z] ---> sigul-configuration.sh [2020-11-17T03:03:04.272Z] gpg: directory `/root/.gnupg' created [2020-11-17T03:03:04.272Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-17T03:03:04.272Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-17T03:03:04.272Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-17T03:03:04.272Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-17T03:03:04.272Z] gpg: CAST5 encrypted data [2020-11-17T03:03:04.535Z] gpg: encrypted with 1 passphrase [2020-11-17T03:03:04.535Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-17T03:03:04.837Z] + mkdir /home/jenkins [2020-11-17T03:03:04.837Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-17T03:03:05.142Z] + 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 [2020-11-17T03:03:05.154Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:05.455Z] ---> sigul-install.sh [2020-11-17T03:03:12.068Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-17T03:03:12.403Z] + git tag --list [2020-11-17T03:03:12.403Z] v1.0.0 [2020-11-17T03:03:12.403Z] v1.1.0 [2020-11-17T03:03:12.403Z] v1.1.1 [2020-11-17T03:03:12.403Z] v1.2.0 [2020-11-17T03:03:12.403Z] v1.2.1 [2020-11-17T03:03:12.403Z] v1.2.2 [2020-11-17T03:03:12.403Z] v1.2.3 [2020-11-17T03:03:12.403Z] v1.2.3-dev.1 [2020-11-17T03:03:12.403Z] v1.2.3-dev.2 [2020-11-17T03:03:12.403Z] v1.2.4-dev.1 [2020-11-17T03:03:12.403Z] v1.2.4-dev.10 [2020-11-17T03:03:12.403Z] v1.2.4-dev.11 [2020-11-17T03:03:12.403Z] v1.2.4-dev.2 [2020-11-17T03:03:12.403Z] v1.2.4-dev.3 [2020-11-17T03:03:12.403Z] v1.2.4-dev.4 [2020-11-17T03:03:12.403Z] v1.2.4-dev.5 [2020-11-17T03:03:12.403Z] v1.2.4-dev.6 [2020-11-17T03:03:12.403Z] v1.2.4-dev.7 [2020-11-17T03:03:12.403Z] v1.2.4-dev.8 [2020-11-17T03:03:12.403Z] v1.2.4-dev.9 [Pipeline] sh [2020-11-17T03:03:12.703Z] + lftools sign git-tag v1.2.4-dev.11 [2020-11-17T03:03:14.098Z] Signing Git tag with Sigul... [2020-11-17T03:03:14.098Z] Signing v1.2.4-dev.11 [Pipeline] echo [2020-11-17T03:03:15.504Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:15.808Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-17T03:03:15.820Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-17T03:03:15.925Z] $ docker stop --time=1 c13a2f541b049f45ee1d776f04dcd083f614254b4d97a13b0af6c8c0de90641f [2020-11-17T03:03:17.891Z] $ docker rm -f c13a2f541b049f45ee1d776f04dcd083f614254b4d97a13b0af6c8c0de90641f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:03:18.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T03:03:18.875Z] . [Pipeline] withDockerContainer [2020-11-17T03:03:18.980Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:03:19.029Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-17T03:03:20.072Z] $ docker top a8a80453db24d37485593462f092d87cb479b386d12fb7fdee88488c83ee5899 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-17T03:03:20.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T03:03:20.435Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T03:03:20.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T03:03:20.676Z] $ docker exec a8a80453db24d37485593462f092d87cb479b386d12fb7fdee88488c83ee5899 ssh-agent [2020-11-17T03:03:20.875Z] SSH_AUTH_SOCK=/tmp/ssh-di6CpeNqygKU/agent.11 [2020-11-17T03:03:20.875Z] SSH_AGENT_PID=17 [2020-11-17T03:03:20.883Z] Running ssh-add (command line suppressed) [2020-11-17T03:03:21.027Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1097505860864152391.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1097505860864152391.key) [2020-11-17T03:03:21.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T03:03:21.418Z] + git semver bump pre [2020-11-17T03:03:21.418Z] # -> Open(): unable to determine branch for HEAD [2020-11-17T03:03:21.418Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-11-17T03:03:21.418Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-11-17T03:03:21.418Z] # $SEMVER_REMOTE_NAME = origin [2020-11-17T03:03:21.418Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-17T03:03:21.418Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-17T03:03:21.418Z] # $SEMVER_BRANCH = master [2020-11-17T03:03:21.418Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-11-17T03:03:21.418Z] 1.2.4-dev.12 [Pipeline] } [2020-11-17T03:03:21.431Z] $ docker exec --env ******** --env ******** a8a80453db24d37485593462f092d87cb479b386d12fb7fdee88488c83ee5899 ssh-agent -k [2020-11-17T03:03:21.568Z] unset SSH_AUTH_SOCK; [2020-11-17T03:03:21.569Z] unset SSH_AGENT_PID; [2020-11-17T03:03:21.569Z] echo Agent pid 17 killed; [2020-11-17T03:03:21.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-17T03:03:22.131Z] + git semver [Pipeline] } [2020-11-17T03:03:22.149Z] $ docker stop --time=1 a8a80453db24d37485593462f092d87cb479b386d12fb7fdee88488c83ee5899 [2020-11-17T03:03:23.521Z] $ docker rm -f a8a80453db24d37485593462f092d87cb479b386d12fb7fdee88488c83ee5899 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:03:24.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-17T03:03:24.122Z] . [Pipeline] withDockerContainer [2020-11-17T03:03:24.222Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:03:24.271Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-17T03:03:24.928Z] $ docker top a3189ed00b68a71255b600f3766b2b199353736e2da386fc1d624f351f5bb195 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-17T03:03:25.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-17T03:03:25.220Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-17T03:03:25.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-17T03:03:25.414Z] $ docker exec a3189ed00b68a71255b600f3766b2b199353736e2da386fc1d624f351f5bb195 ssh-agent [2020-11-17T03:03:25.594Z] SSH_AUTH_SOCK=/tmp/ssh-Fl9qRAnX3VIG/agent.12 [2020-11-17T03:03:25.594Z] SSH_AGENT_PID=17 [2020-11-17T03:03:25.603Z] Running ssh-add (command line suppressed) [2020-11-17T03:03:25.728Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8233664244559165141.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8233664244559165141.key) [2020-11-17T03:03:25.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-17T03:03:26.186Z] + git semver push [2020-11-17T03:03:26.187Z] # -> Open(): unable to determine branch for HEAD [2020-11-17T03:03:26.187Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-11-17T03:03:26.187Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-11-17T03:03:26.187Z] # $SEMVER_REMOTE_NAME = origin [2020-11-17T03:03:26.187Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-17T03:03:26.187Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-17T03:03:26.187Z] # $SEMVER_BRANCH = master [2020-11-17T03:03:26.187Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-11-17T03:03:32.956Z] $ docker exec --env ******** --env ******** a3189ed00b68a71255b600f3766b2b199353736e2da386fc1d624f351f5bb195 ssh-agent -k [2020-11-17T03:03:33.086Z] unset SSH_AUTH_SOCK; [2020-11-17T03:03:33.086Z] unset SSH_AGENT_PID; [2020-11-17T03:03:33.086Z] echo Agent pid 17 killed; [2020-11-17T03:03:33.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-17T03:03:33.696Z] + git semver [Pipeline] } [2020-11-17T03:03:33.715Z] $ docker stop --time=1 a3189ed00b68a71255b600f3766b2b199353736e2da386fc1d624f351f5bb195 [2020-11-17T03:03:35.061Z] $ docker rm -f a3189ed00b68a71255b600f3766b2b199353736e2da386fc1d624f351f5bb195 [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 [2020-11-17T03:03:36.810Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:37.385Z] ---> package-listing.sh [2020-11-17T03:03:37.385Z] ++ facter osfamily [2020-11-17T03:03:37.385Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-17T03:03:37.385Z] + OS_FAMILY=redhat [2020-11-17T03:03:37.385Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2020-11-17T03:03:37.385Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-17T03:03:37.385Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-17T03:03:37.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-17T03:03:37.385Z] + PACKAGES=/tmp/packages_start.txt [2020-11-17T03:03:37.385Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-11-17T03:03:37.385Z] + PACKAGES=/tmp/packages_end.txt [2020-11-17T03:03:37.385Z] + case "${OS_FAMILY}" in [2020-11-17T03:03:37.385Z] + rpm -qa [2020-11-17T03:03:37.385Z] + sort [2020-11-17T03:03:41.601Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-17T03:03:41.601Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-17T03:03:41.601Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-17T03:03:41.601Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-11-17T03:03:41.601Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2020-11-17T03:03:41.602Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2020-11-17T03:03:41.615Z] 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 [2020-11-17T03:03:41.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:03:42.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T03:03:42.207Z] [2020-11-17T03:03:42.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-17T03:03:42.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T03:03:42.556Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-17T03:03:42.556Z] df20fa9351a1: Pulling fs layer [2020-11-17T03:03:42.556Z] 36b3adc4ff6f: Pulling fs layer [2020-11-17T03:03:42.556Z] 8ad3a11d3b57: Pulling fs layer [2020-11-17T03:03:42.556Z] 46f8f816bc3b: Pulling fs layer [2020-11-17T03:03:42.556Z] 93b61091891f: Pulling fs layer [2020-11-17T03:03:42.556Z] 93b9cdb0e59b: Pulling fs layer [2020-11-17T03:03:42.556Z] 5e14af77c1be: Pulling fs layer [2020-11-17T03:03:42.556Z] 01666e4c0597: Pulling fs layer [2020-11-17T03:03:42.556Z] aa168da1d23b: Pulling fs layer [2020-11-17T03:03:42.556Z] 46f8f816bc3b: Waiting [2020-11-17T03:03:42.556Z] 93b61091891f: Waiting [2020-11-17T03:03:42.556Z] 93b9cdb0e59b: Waiting [2020-11-17T03:03:42.556Z] 5e14af77c1be: Waiting [2020-11-17T03:03:42.556Z] 01666e4c0597: Waiting [2020-11-17T03:03:42.556Z] aa168da1d23b: Waiting [2020-11-17T03:03:42.556Z] 36b3adc4ff6f: Verifying Checksum [2020-11-17T03:03:42.556Z] 36b3adc4ff6f: Download complete [2020-11-17T03:03:42.556Z] 46f8f816bc3b: Verifying Checksum [2020-11-17T03:03:42.556Z] 46f8f816bc3b: Download complete [2020-11-17T03:03:42.556Z] df20fa9351a1: Verifying Checksum [2020-11-17T03:03:42.556Z] df20fa9351a1: Download complete [2020-11-17T03:03:42.556Z] 93b9cdb0e59b: Verifying Checksum [2020-11-17T03:03:42.556Z] 93b9cdb0e59b: Download complete [2020-11-17T03:03:42.819Z] 93b61091891f: Verifying Checksum [2020-11-17T03:03:42.819Z] 93b61091891f: Download complete [2020-11-17T03:03:42.819Z] 5e14af77c1be: Verifying Checksum [2020-11-17T03:03:42.819Z] 5e14af77c1be: Download complete [2020-11-17T03:03:42.819Z] 01666e4c0597: Verifying Checksum [2020-11-17T03:03:42.819Z] 01666e4c0597: Download complete [2020-11-17T03:03:42.819Z] 8ad3a11d3b57: Verifying Checksum [2020-11-17T03:03:43.393Z] df20fa9351a1: Pull complete [2020-11-17T03:03:43.656Z] 36b3adc4ff6f: Pull complete [2020-11-17T03:03:44.617Z] aa168da1d23b: Verifying Checksum [2020-11-17T03:03:44.617Z] aa168da1d23b: Download complete [2020-11-17T03:03:45.196Z] 8ad3a11d3b57: Pull complete [2020-11-17T03:03:45.196Z] 46f8f816bc3b: Pull complete [2020-11-17T03:03:45.769Z] 93b61091891f: Pull complete [2020-11-17T03:03:45.769Z] 93b9cdb0e59b: Pull complete [2020-11-17T03:03:45.769Z] 5e14af77c1be: Pull complete [2020-11-17T03:03:46.032Z] 01666e4c0597: Pull complete [2020-11-17T03:03:54.210Z] aa168da1d23b: Pull complete [2020-11-17T03:03:54.210Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-17T03:03:54.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-17T03:03:54.210Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-17T03:03:54.387Z] prd-centos7-docker-4c-2g-12361 does not seem to be running inside a container [2020-11-17T03:03:54.440Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-17T03:03:57.235Z] $ docker top eda2aa1136fcd555481041a0bf8d1f77601daa608dd3d10c71448804817f2cbd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-17T03:03:57.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-17T03:03:58.110Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-17T03:03:58.440Z] + ls /var/log/sa-host [2020-11-17T03:03:58.440Z] + sadf -c /var/log/sa-host/sa05 [2020-11-17T03:03:58.440Z] file_magic: OK [2020-11-17T03:03:58.440Z] HZ: Using current value: 100 [2020-11-17T03:03:58.440Z] file_header: OK [2020-11-17T03:03:58.440Z] 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 [2020-11-17T03:03:58.440Z] Statistics: [2020-11-17T03:03:58.440Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-17T03:03:58.440Z] File successfully converted to sysstat format version 12.2.1 [2020-11-17T03:03:58.440Z] + sadf -c /var/log/sa-host/sa17 [2020-11-17T03:03:58.440Z] file_magic: OK [2020-11-17T03:03:58.440Z] HZ: Using current value: 100 [2020-11-17T03:03:58.440Z] file_header: OK [2020-11-17T03:03:58.440Z] 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 [2020-11-17T03:03:58.440Z] Statistics: [2020-11-17T03:03:58.440Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-17T03:03:58.440Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-17T03:03:59.081Z] provisioning config files... [2020-11-17T03:03:59.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4374958855246820775tmp [Pipeline] { [Pipeline] echo [2020-11-17T03:03:59.180Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:59.478Z] ---> create-netrc.sh [Pipeline] } [2020-11-17T03:03:59.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-17T03:03:59.585Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:03:59.885Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-17T03:03:59.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:04:00.195Z] ---> sudo-logs.sh [2020-11-17T03:04:00.195Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-17T03:04:00.206Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:04:00.502Z] ---> job-cost.sh [2020-11-17T03:04:00.502Z] lf-activate-venv: SKIPPING [2020-11-17T03:04:00.502Z] INFO: No Stack... [2020-11-17T03:04:01.451Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-17T03:04:02.028Z] INFO: Archiving Costs [Pipeline] echo [2020-11-17T03:04:02.041Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-17T03:04:02.341Z] ---> logs-deploy.sh [2020-11-17T03:04:02.341Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/32 [2020-11-17T03:04:02.341Z] INFO: archiving workspace using pattern(s): [2020-11-17T03:04:04.264Z] Archives upload complete. [2020-11-17T03:04:04.264Z] INFO: archiving logs to Nexus