Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 61a361d9b68ffcf858458df79d4a2319d2580f82 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-14110 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.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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 --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 61a361d9b68ffcf858458df79d4a2319d2580f82 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 Commit message: "Merge pull request #152 from FelixTing/issue-151" > git rev-list --no-walk abb441d7d1970f82b841c2bc1ba1938b3ed69869 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-02T03:33:26.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-02T03:33:26.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-02T03:33:26.409Z] ========================================================= [2020-12-02T03:33:26.409Z] EdgeX Global Pipelines Version Info [2020-12-02T03:33:26.409Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:33:27.867Z] ------------------- [2020-12-02T03:33:27.867Z] stable info: [2020-12-02T03:33:27.867Z] ------------------- [2020-12-02T03:33:27.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-02T03:33:27.867Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T03:33:27.867Z] Message: update stable to v1.0.169 [2020-12-02T03:33:28.819Z] ------------------- [2020-12-02T03:33:28.819Z] experimental info: [2020-12-02T03:33:28.819Z] ------------------- [2020-12-02T03:33:28.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-02T03:33:28.819Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T03:33:28.819Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-02T03:33:29.088Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-12-02T03:33:29.184Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-12-02T03:33:29.280Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-02T03:33:29.386Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-02T03:33:29.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-02T03:33:29.590Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-02T03:33:29.692Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-02T03:33:29.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-02T03:33:29.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-02T03:33:29.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-02T03:33:30.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-02T03:33:30.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-12-02T03:33:30.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-02T03:33:30.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-02T03:33:30.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T03:33:30.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T03:33:30.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T03:33:31.053Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T03:33:31.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-02T03:33:31.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-02T03:33:31.363Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-02T03:33:31.455Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-02T03:33:31.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-02T03:33:31.789Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-02T03:33:31.885Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-02T03:33:31.977Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-02T03:33:32.070Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-02T03:33:32.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-02T03:33:32.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-02T03:33:32.421Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] echo [2020-12-02T03:33:32.523Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61a361d [Pipeline] echo [2020-12-02T03:33:32.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T03:33:32.835Z] provisioning config files... [2020-12-02T03:33:32.883Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3211413557372857044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:33:33.244Z] ---> docker-login.sh [2020-12-02T03:33:33.244Z] nexus3.edgexfoundry.org:10001 [2020-12-02T03:33:33.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:33:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:33:33.772Z] Configure a credential helper to remove this warning. See [2020-12-02T03:33:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:33:33.772Z] [2020-12-02T03:33:33.772Z] Login Succeeded [2020-12-02T03:33:33.772Z] nexus3.edgexfoundry.org:10002 [2020-12-02T03:33:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:33:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:33:33.772Z] Configure a credential helper to remove this warning. See [2020-12-02T03:33:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:33:33.772Z] [2020-12-02T03:33:33.772Z] Login Succeeded [2020-12-02T03:33:33.772Z] nexus3.edgexfoundry.org:10003 [2020-12-02T03:33:34.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:33:34.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:33:34.036Z] Configure a credential helper to remove this warning. See [2020-12-02T03:33:34.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:33:34.036Z] [2020-12-02T03:33:34.036Z] Login Succeeded [2020-12-02T03:33:34.036Z] nexus3.edgexfoundry.org:10004 [2020-12-02T03:33:34.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:33:34.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:33:34.300Z] Configure a credential helper to remove this warning. See [2020-12-02T03:33:34.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:33:34.300Z] [2020-12-02T03:33:34.300Z] Login Succeeded [2020-12-02T03:33:34.300Z] docker.io [2020-12-02T03:33:34.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:33:34.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:33:34.563Z] Configure a credential helper to remove this warning. See [2020-12-02T03:33:34.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:33:34.563Z] [2020-12-02T03:33:34.563Z] Login Succeeded [2020-12-02T03:33:34.563Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T03:33:34.573Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T03:33:35.444Z] + git log --format=format:%s -1 61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] echo [2020-12-02T03:33:35.525Z] GIT_COMMIT: 61a361d9b68ffcf858458df79d4a2319d2580f82, Commit Message: Merge pull request #152 from FelixTing/issue-151 [Pipeline] echo [2020-12-02T03:33:35.583Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:33:36.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:33:36.633Z] [2020-12-02T03:33:36.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:33:36.993Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:33:36.993Z] latest: Pulling from edgex-devops/git-semver [2020-12-02T03:33:36.993Z] 31603596830f: Pulling fs layer [2020-12-02T03:33:36.993Z] 2a8b12db71e7: Pulling fs layer [2020-12-02T03:33:36.993Z] 6ca5941a6612: Pulling fs layer [2020-12-02T03:33:36.993Z] ecc8261a40a4: Pulling fs layer [2020-12-02T03:33:36.993Z] ecc8261a40a4: Waiting [2020-12-02T03:33:36.993Z] 2a8b12db71e7: Verifying Checksum [2020-12-02T03:33:36.993Z] 2a8b12db71e7: Download complete [2020-12-02T03:33:37.256Z] 31603596830f: Verifying Checksum [2020-12-02T03:33:37.256Z] 31603596830f: Download complete [2020-12-02T03:33:37.256Z] 6ca5941a6612: Verifying Checksum [2020-12-02T03:33:37.256Z] 6ca5941a6612: Download complete [2020-12-02T03:33:37.256Z] ecc8261a40a4: Verifying Checksum [2020-12-02T03:33:37.256Z] ecc8261a40a4: Download complete [2020-12-02T03:33:37.517Z] 31603596830f: Pull complete [2020-12-02T03:33:37.784Z] 2a8b12db71e7: Pull complete [2020-12-02T03:33:38.738Z] 6ca5941a6612: Pull complete [2020-12-02T03:33:38.738Z] ecc8261a40a4: Pull complete [2020-12-02T03:33:38.738Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-02T03:33:38.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:33:38.738Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-02T03:33:38.842Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:33:38.891Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T03:33:41.033Z] $ docker top aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T03:33:41.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T03:33:41.385Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T03:33:41.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T03:33:41.589Z] $ docker exec aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec ssh-agent [2020-12-02T03:33:41.779Z] SSH_AUTH_SOCK=/tmp/ssh-TgIdO8JVLkLW/agent.11 [2020-12-02T03:33:41.779Z] SSH_AGENT_PID=16 [2020-12-02T03:33:41.912Z] Running ssh-add (command line suppressed) [2020-12-02T03:33:42.052Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5628976315405654872.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5628976315405654872.key) [2020-12-02T03:33:42.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T03:33:42.433Z] + git tag --points-at HEAD [Pipeline] } [2020-12-02T03:33:42.456Z] $ docker exec --env ******** --env ******** aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec ssh-agent -k [2020-12-02T03:33:42.569Z] unset SSH_AUTH_SOCK; [2020-12-02T03:33:42.569Z] unset SSH_AGENT_PID; [2020-12-02T03:33:42.570Z] echo Agent pid 16 killed; [2020-12-02T03:33:42.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-02T03:33:42.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T03:33:42.763Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T03:33:42.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T03:33:42.928Z] $ docker exec aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec ssh-agent [2020-12-02T03:33:43.081Z] SSH_AUTH_SOCK=/tmp/ssh-VzpvoJBOXW1i/agent.45 [2020-12-02T03:33:43.081Z] SSH_AGENT_PID=50 [2020-12-02T03:33:43.087Z] Running ssh-add (command line suppressed) [2020-12-02T03:33:43.206Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1273597936570067436.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1273597936570067436.key) [2020-12-02T03:33:43.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T03:33:43.590Z] + git semver init [2020-12-02T03:33:43.590Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T03:33:43.590Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-12-02T03:33:43.590Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-12-02T03:33:43.590Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T03:33:43.590Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T03:33:43.590Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T03:33:43.590Z] # $SEMVER_BRANCH = master [2020-12-02T03:33:43.590Z] # $SEMVER_TEMP = /tmp/semver-144991158 [2020-12-02T03:33:43.590Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-12-02T03:33:43.872Z] # '/tmp/semver-144991158' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2020-12-02T03:33:43.872Z] # -> Force: false [2020-12-02T03:33:43.872Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-12-02T03:33:43.887Z] $ docker exec --env ******** --env ******** aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec ssh-agent -k [2020-12-02T03:33:44.011Z] unset SSH_AUTH_SOCK; [2020-12-02T03:33:44.012Z] unset SSH_AGENT_PID; [2020-12-02T03:33:44.012Z] echo Agent pid 50 killed; [2020-12-02T03:33:44.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T03:33:44.592Z] + git semver [Pipeline] } [2020-12-02T03:33:44.612Z] $ docker stop --time=1 aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec [2020-12-02T03:33:45.981Z] $ docker rm -f aef1b140ff386f9e6c179cf5b4e5a3ec604814b9a5f1af76000cc7241128b3ec [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T03:33:46.442Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-02T03:33:46.850Z] Stashed 1 file(s) [Pipeline] echo [2020-12-02T03:33:46.853Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.1 [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-12-02T03:34:02.410Z] Still waiting to schedule task [2020-12-02T03:34:02.410Z] ‘prd-centos7-docker-4c-2g-14111’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-02T03:34:02.412Z] Still waiting to schedule task [2020-12-02T03:34:02.413Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-02T03:35:58.413Z] Running on prd-centos7-docker-4c-2g-14116 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-12-02T03:35:58.462Z] Running in /w/workspace/device-virtual-go/34 [Pipeline] { [Pipeline] checkout [2020-12-02T03:36:00.956Z] using credential edgex-jenkins-ssh [2020-12-02T03:36:01.012Z] Cloning the remote Git repository [2020-12-02T03:36:00.932Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:01.013Z] > git init /w/workspace/device-virtual-go/34 # timeout=10 [2020-12-02T03:36:01.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:01.078Z] > git --version # timeout=10 [2020-12-02T03:36:01.085Z] > git --version # 'git version 2.24.3' [2020-12-02T03:36:01.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T03:36:01.113Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T03:36:01.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-02T03:36:01.763Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T03:36:02.487Z] Checking out Revision 61a361d9b68ffcf858458df79d4a2319d2580f82 (master) [2020-12-02T03:36:01.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-02T03:36:01.791Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:01.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T03:36:01.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T03:36:02.505Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T03:36:02.512Z] > git checkout -f 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 [2020-12-02T03:36:06.204Z] Commit message: "Merge pull request #152 from FelixTing/issue-151" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T03:36:07.535Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-02T03:36:07.878Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T03:36:08.184Z] + sudo service docker restart [2020-12-02T03:36:08.184Z] + true [2020-12-02T03:36:08.184Z] Redirecting to /bin/systemctl restart docker.service [2020-12-02T03:36:08.409Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14113 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-12-02T03:36:08.462Z] Running in /w/workspace/device-virtual-go/34 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T03:36:09.681Z] provisioning config files... [2020-12-02T03:36:09.741Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config8747402362031577472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:36:10.169Z] ---> docker-login.sh [2020-12-02T03:36:10.169Z] nexus3.edgexfoundry.org:10001 [2020-12-02T03:36:10.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:10.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:10.727Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:10.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:10.727Z] [2020-12-02T03:36:10.727Z] Login Succeeded [2020-12-02T03:36:10.727Z] nexus3.edgexfoundry.org:10002 [2020-12-02T03:36:10.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:10.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:10.727Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:10.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:10.727Z] [2020-12-02T03:36:10.727Z] Login Succeeded [2020-12-02T03:36:10.727Z] nexus3.edgexfoundry.org:10003 [2020-12-02T03:36:10.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:10.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:10.991Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:10.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:10.991Z] [2020-12-02T03:36:10.991Z] Login Succeeded [2020-12-02T03:36:10.991Z] nexus3.edgexfoundry.org:10004 [2020-12-02T03:36:11.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:11.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:11.259Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:11.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:11.259Z] [2020-12-02T03:36:11.259Z] Login Succeeded [2020-12-02T03:36:11.259Z] docker.io [2020-12-02T03:36:11.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:11.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:11.786Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:11.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:11.786Z] [2020-12-02T03:36:11.786Z] Login Succeeded [2020-12-02T03:36:11.786Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T03:36:11.798Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T03:36:12.191Z] ========================================================= [2020-12-02T03:36:12.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-02T03:36:12.191Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:36:12.556Z] + 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-12-02T03:36:12.556Z] Sending build context to Docker daemon 472.1kB [2020-12-02T03:36:12.819Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T03:36:12.819Z] Step 2/8 : FROM ${BASE} [2020-12-02T03:36:12.819Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-02T03:36:12.819Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T03:36:12.819Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T03:36:12.819Z] de9db76c5a1d: Pulling fs layer [2020-12-02T03:36:12.819Z] bca2f99d35d6: Pulling fs layer [2020-12-02T03:36:12.819Z] 93359f2a8cfa: Pulling fs layer [2020-12-02T03:36:12.819Z] 7c6f9722023f: Pulling fs layer [2020-12-02T03:36:12.819Z] a35cf1a2eb13: Pulling fs layer [2020-12-02T03:36:12.819Z] bca2f99d35d6: Waiting [2020-12-02T03:36:12.819Z] 7c6f9722023f: Waiting [2020-12-02T03:36:12.819Z] a35cf1a2eb13: Waiting [2020-12-02T03:36:12.819Z] 93359f2a8cfa: Waiting [2020-12-02T03:36:12.819Z] de9db76c5a1d: Download complete [2020-12-02T03:36:12.819Z] 0ef7d3d256c8: Verifying Checksum [2020-12-02T03:36:12.819Z] 0ef7d3d256c8: Download complete [2020-12-02T03:36:12.819Z] 93359f2a8cfa: Verifying Checksum [2020-12-02T03:36:12.819Z] 93359f2a8cfa: Download complete [2020-12-02T03:36:12.819Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T03:36:12.819Z] 188c0c94c7c5: Download complete [2020-12-02T03:36:12.819Z] 7c6f9722023f: Verifying Checksum [2020-12-02T03:36:12.819Z] 7c6f9722023f: Download complete [2020-12-02T03:36:13.087Z] 188c0c94c7c5: Pull complete [2020-12-02T03:36:13.352Z] 0ef7d3d256c8: Pull complete [2020-12-02T03:36:13.352Z] de9db76c5a1d: Pull complete [2020-12-02T03:36:13.907Z] using credential edgex-jenkins-ssh [2020-12-02T03:36:13.991Z] Cloning the remote Git repository [2020-12-02T03:36:14.072Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:14.193Z] > git init /w/workspace/device-virtual-go/34 # timeout=10 [2020-12-02T03:36:14.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:14.311Z] > git --version # timeout=10 [2020-12-02T03:36:14.355Z] > git --version # 'git version 2.17.1' [2020-12-02T03:36:14.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T03:36:14.439Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T03:36:15.299Z] a35cf1a2eb13: Verifying Checksum [2020-12-02T03:36:15.299Z] a35cf1a2eb13: Download complete [2020-12-02T03:36:15.887Z] bca2f99d35d6: Verifying Checksum [2020-12-02T03:36:15.887Z] bca2f99d35d6: Download complete [2020-12-02T03:36:16.200Z] Checking out Revision 61a361d9b68ffcf858458df79d4a2319d2580f82 (master) [2020-12-02T03:36:15.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-02T03:36:15.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T03:36:15.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-12-02T03:36:15.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-12-02T03:36:15.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T03:36:15.711Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T03:36:16.229Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T03:36:16.253Z] > git checkout -f 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 [2020-12-02T03:36:20.790Z] Commit message: "Merge pull request #152 from FelixTing/issue-151" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T03:36:22.277Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-02T03:36:22.538Z] bca2f99d35d6: Pull complete [2020-12-02T03:36:22.539Z] 93359f2a8cfa: Pull complete [2020-12-02T03:36:22.539Z] 7c6f9722023f: Pull complete [2020-12-02T03:36:22.683Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T03:36:23.026Z] + sudo service docker restart [2020-12-02T03:36:23.026Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T03:36:25.161Z] provisioning config files... [2020-12-02T03:36:25.208Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config3944689129363622199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:36:25.617Z] ---> docker-login.sh [2020-12-02T03:36:25.617Z] nexus3.edgexfoundry.org:10001 [2020-12-02T03:36:26.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:26.810Z] a35cf1a2eb13: Pull complete [2020-12-02T03:36:26.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:26.900Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:26.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:26.900Z] [2020-12-02T03:36:26.900Z] Login Succeeded [2020-12-02T03:36:26.900Z] nexus3.edgexfoundry.org:10002 [2020-12-02T03:36:27.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:27.390Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-02T03:36:27.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-02T03:36:27.390Z] ---> a62c8e92a672 [2020-12-02T03:36:27.390Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-02T03:36:27.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:27.458Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:27.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:27.458Z] [2020-12-02T03:36:27.458Z] Login Succeeded [2020-12-02T03:36:27.458Z] nexus3.edgexfoundry.org:10003 [2020-12-02T03:36:27.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:27.974Z] ---> Running in 521f6238fecd [2020-12-02T03:36:27.974Z] Removing intermediate container 521f6238fecd [2020-12-02T03:36:27.974Z] ---> bafaa149cfd3 [2020-12-02T03:36:27.974Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T03:36:28.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:28.009Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:28.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:28.009Z] [2020-12-02T03:36:28.009Z] Login Succeeded [2020-12-02T03:36:28.009Z] nexus3.edgexfoundry.org:10004 [2020-12-02T03:36:28.239Z] ---> Running in 9ef758088a51 [2020-12-02T03:36:28.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:28.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:28.566Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:28.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:28.566Z] [2020-12-02T03:36:28.566Z] Login Succeeded [2020-12-02T03:36:28.566Z] docker.io [2020-12-02T03:36:28.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:36:29.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:36:29.113Z] Configure a credential helper to remove this warning. See [2020-12-02T03:36:29.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:36:29.113Z] [2020-12-02T03:36:29.113Z] Login Succeeded [2020-12-02T03:36:29.113Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T03:36:29.131Z] Deleting 1 temporary files [Pipeline] // wrap [2020-12-02T03:36:29.210Z] Removing intermediate container 9ef758088a51 [2020-12-02T03:36:29.210Z] ---> 155d0f0f9e16 [2020-12-02T03:36:29.210Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T03:36:29.210Z] ---> Running in f157b810965a [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T03:36:29.657Z] ========================================================= [2020-12-02T03:36:29.658Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-02T03:36:29.658Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:36:30.059Z] + 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-12-02T03:36:30.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T03:36:30.343Z] Sending build context to Docker daemon 471kB [2020-12-02T03:36:30.343Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T03:36:30.343Z] Step 2/8 : FROM ${BASE} [2020-12-02T03:36:30.620Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-02T03:36:30.620Z] 5f621e34cdf4: Pulling fs layer [2020-12-02T03:36:30.620Z] a4357932f1b6: Pulling fs layer [2020-12-02T03:36:30.620Z] 18c013af1878: Pulling fs layer [2020-12-02T03:36:30.620Z] 00ac8860ef70: Pulling fs layer [2020-12-02T03:36:30.620Z] 63d7cb157983: Pulling fs layer [2020-12-02T03:36:30.620Z] b116817d02f9: Pulling fs layer [2020-12-02T03:36:30.620Z] 745a02a5169b: Pulling fs layer [2020-12-02T03:36:30.620Z] 63d7cb157983: Waiting [2020-12-02T03:36:30.620Z] 745a02a5169b: Waiting [2020-12-02T03:36:30.620Z] b116817d02f9: Waiting [2020-12-02T03:36:30.620Z] 18c013af1878: Verifying Checksum [2020-12-02T03:36:30.620Z] 18c013af1878: Download complete [2020-12-02T03:36:30.620Z] a4357932f1b6: Verifying Checksum [2020-12-02T03:36:30.620Z] a4357932f1b6: Download complete [2020-12-02T03:36:30.620Z] 63d7cb157983: Verifying Checksum [2020-12-02T03:36:30.620Z] 63d7cb157983: Download complete [2020-12-02T03:36:30.620Z] 5f621e34cdf4: Verifying Checksum [2020-12-02T03:36:30.620Z] 5f621e34cdf4: Download complete [2020-12-02T03:36:30.620Z] b116817d02f9: Verifying Checksum [2020-12-02T03:36:30.620Z] b116817d02f9: Download complete [2020-12-02T03:36:31.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T03:36:31.229Z] 5f621e34cdf4: Pull complete [2020-12-02T03:36:32.081Z] (1/14) Installing libmagic (5.38-r0) [2020-12-02T03:36:32.237Z] a4357932f1b6: Pull complete [2020-12-02T03:36:32.518Z] 18c013af1878: Pull complete [2020-12-02T03:36:32.666Z] (2/14) Installing file (5.38-r0) [2020-12-02T03:36:32.666Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-02T03:36:32.930Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-02T03:36:33.128Z] 745a02a5169b: Verifying Checksum [2020-12-02T03:36:33.128Z] 745a02a5169b: Download complete [2020-12-02T03:36:34.113Z] 00ac8860ef70: Verifying Checksum [2020-12-02T03:36:34.113Z] 00ac8860ef70: Download complete [2020-12-02T03:36:44.290Z] 00ac8860ef70: Pull complete [2020-12-02T03:36:44.290Z] 63d7cb157983: Pull complete [2020-12-02T03:36:44.565Z] b116817d02f9: Pull complete [2020-12-02T03:36:47.972Z] 745a02a5169b: Pull complete [2020-12-02T03:36:47.972Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-02T03:36:47.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-02T03:36:47.972Z] ---> b7e6874047d6 [2020-12-02T03:36:47.972Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-02T03:36:51.126Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-02T03:36:51.126Z] (6/14) Installing patch (2.7.6-r6) [2020-12-02T03:36:51.126Z] (7/14) Installing build-base (0.5-r2) [2020-12-02T03:36:51.126Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-02T03:36:51.126Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-02T03:36:51.126Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-02T03:36:51.126Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-02T03:36:51.126Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-02T03:36:51.126Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-02T03:36:51.126Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-02T03:36:51.126Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T03:36:51.126Z] OK: 237 MiB in 53 packages [2020-12-02T03:36:51.392Z] ---> Running in 1a276da018e1 [2020-12-02T03:36:51.392Z] Removing intermediate container 1a276da018e1 [2020-12-02T03:36:51.392Z] ---> ab05ccaf9ab9 [2020-12-02T03:36:51.392Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T03:36:51.669Z] ---> Running in e0187e30123e [2020-12-02T03:36:54.310Z] Removing intermediate container e0187e30123e [2020-12-02T03:36:54.310Z] ---> 306496a3f5f2 [2020-12-02T03:36:54.310Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T03:36:54.310Z] ---> Running in 601e867f80ad [2020-12-02T03:36:54.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T03:36:55.399Z] Removing intermediate container f157b810965a [2020-12-02T03:36:55.399Z] ---> c29c7322d257 [2020-12-02T03:36:55.399Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-02T03:36:55.399Z] ---> Running in 04bce0547c05 [2020-12-02T03:36:55.399Z] Removing intermediate container 04bce0547c05 [2020-12-02T03:36:55.399Z] ---> 202736440ee3 [2020-12-02T03:36:55.399Z] Step 7/8 : COPY . . [2020-12-02T03:36:55.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T03:36:55.981Z] ---> ba2f33afbaf2 [2020-12-02T03:36:55.981Z] Step 8/8 : RUN go mod download [2020-12-02T03:36:55.981Z] ---> Running in f003e43f5387 [2020-12-02T03:36:57.889Z] (1/14) Installing libmagic (5.38-r0) [2020-12-02T03:36:58.161Z] (2/14) Installing file (5.38-r0) [2020-12-02T03:36:58.161Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-02T03:36:58.432Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-02T03:37:10.911Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-02T03:37:10.911Z] (6/14) Installing patch (2.7.6-r6) [2020-12-02T03:37:10.911Z] (7/14) Installing build-base (0.5-r2) [2020-12-02T03:37:10.911Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-02T03:37:10.911Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-02T03:37:10.911Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-02T03:37:10.911Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-02T03:37:10.911Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-02T03:37:10.911Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-02T03:37:10.911Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-02T03:37:10.911Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T03:37:10.911Z] OK: 221 MiB in 53 packages [2020-12-02T03:37:14.348Z] Removing intermediate container 601e867f80ad [2020-12-02T03:37:14.348Z] ---> 229af041354f [2020-12-02T03:37:14.348Z] Step 6/8 : WORKDIR /device-virtual-go [2020-12-02T03:37:14.348Z] ---> Running in f05132e98577 [2020-12-02T03:37:14.949Z] Removing intermediate container f05132e98577 [2020-12-02T03:37:14.949Z] ---> da872ca55c70 [2020-12-02T03:37:14.949Z] Step 7/8 : COPY . . [2020-12-02T03:37:15.945Z] ---> d4987774cf3f [2020-12-02T03:37:15.945Z] Step 8/8 : RUN go mod download [2020-12-02T03:37:15.945Z] ---> Running in 5b665b878a41 [2020-12-02T03:37:18.317Z] Removing intermediate container f003e43f5387 [2020-12-02T03:37:18.317Z] ---> b0d5b512b48f [2020-12-02T03:37:18.317Z] Successfully built b0d5b512b48f [2020-12-02T03:37:18.317Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:37:18.661Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T03:37:18.661Z] . [Pipeline] withDockerContainer [2020-12-02T03:37:19.027Z] prd-centos7-docker-4c-2g-14116 does not seem to be running inside a container [2020-12-02T03:37:19.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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-12-02T03:37:20.589Z] $ docker top 8f4905f8aa9ce9d0fa53685e462ddc3940158c8857bddda1eccfc61f1b34fa98 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:37:21.216Z] + go version [2020-12-02T03:37:21.216Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-02T03:37:21.235Z] $ docker stop --time=1 8f4905f8aa9ce9d0fa53685e462ddc3940158c8857bddda1eccfc61f1b34fa98 [2020-12-02T03:37:22.725Z] $ docker rm -f 8f4905f8aa9ce9d0fa53685e462ddc3940158c8857bddda1eccfc61f1b34fa98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:37:23.675Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T03:37:23.675Z] . [Pipeline] withDockerContainer [2020-12-02T03:37:23.826Z] prd-centos7-docker-4c-2g-14116 does not seem to be running inside a container [2020-12-02T03:37:23.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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-12-02T03:37:24.706Z] $ docker top 1e167c22fd915f5507bd85ff5dce4c4ce1c7307117c56858135b20991e0aa394 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:37:25.259Z] + make test [2020-12-02T03:37:25.259Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-02T03:37:26.737Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-02T03:37:38.164Z] Removing intermediate container 5b665b878a41 [2020-12-02T03:37:38.164Z] ---> 55ab95da9b77 [2020-12-02T03:37:38.164Z] Successfully built 55ab95da9b77 [2020-12-02T03:37:38.164Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:37:38.535Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T03:37:38.535Z] . [Pipeline] withDockerContainer [2020-12-02T03:37:38.792Z] prd-ubuntu18.04-docker-arm64-4c-16g-14113 does not seem to be running inside a container [2020-12-02T03:37:38.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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-12-02T03:37:40.478Z] $ docker top 755cb02f585dc6b734a3a742be58b7ff8512b97130aceef43cdda22ec342c82f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:37:41.574Z] + go version [2020-12-02T03:37:41.574Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-02T03:37:41.600Z] $ docker stop --time=1 755cb02f585dc6b734a3a742be58b7ff8512b97130aceef43cdda22ec342c82f [2020-12-02T03:37:43.557Z] $ docker rm -f 755cb02f585dc6b734a3a742be58b7ff8512b97130aceef43cdda22ec342c82f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:37:44.602Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T03:37:44.603Z] . [Pipeline] withDockerContainer [2020-12-02T03:37:44.877Z] prd-ubuntu18.04-docker-arm64-4c-16g-14113 does not seem to be running inside a container [2020-12-02T03:37:44.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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-12-02T03:37:46.534Z] $ docker top 834d9c4762579b1f6eb6a2339c830677ef3947a48fd240d81ddd99ce2ecdf683 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:37:47.588Z] + make test [2020-12-02T03:37:47.588Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-02T03:37:48.588Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-12-02T03:37:49.083Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-02T03:37:49.083Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.406s coverage: 64.4% of statements [2020-12-02T03:37:49.083Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-02T03:37:51.043Z] gofmt -l . [2020-12-02T03:37:51.043Z] [ "`gofmt -l .`" = "" ] [2020-12-02T03:37:51.043Z] ./bin/test-attribution-txt.sh [2020-12-02T03:37:51.634Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-02T03:37:51.925Z] $ docker stop --time=1 1e167c22fd915f5507bd85ff5dce4c4ce1c7307117c56858135b20991e0aa394 [2020-12-02T03:37:53.709Z] $ docker rm -f 1e167c22fd915f5507bd85ff5dce4c4ce1c7307117c56858135b20991e0aa394 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T03:37:54.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T03:37:54.800Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-02T03:37:58.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T03:37:58.789Z] + ls -al . [2020-12-02T03:37:58.790Z] total 124 [2020-12-02T03:37:58.790Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 2 03:37 . [2020-12-02T03:37:58.790Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 03:36 .. [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 6713 Dec 2 03:36 Attribution.txt [2020-12-02T03:37:58.790Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 03:36 bin [2020-12-02T03:37:58.790Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 03:36 cmd [2020-12-02T03:37:58.790Z] -rw-r--r--. 1 jenkins jenkins 47242 Dec 2 03:37 coverage.out [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 1834 Dec 2 03:36 Dockerfile [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 957 Dec 2 03:36 Dockerfile.build [2020-12-02T03:37:58.790Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 03:36 .git [2020-12-02T03:37:58.790Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 03:36 .github [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 258 Dec 2 03:36 .gitignore [2020-12-02T03:37:58.790Z] -rw-r--r--. 1 jenkins jenkins 862 Dec 2 03:37 go.mod [2020-12-02T03:37:58.790Z] -rw-r--r--. 1 jenkins jenkins 16358 Dec 2 03:37 go.sum [2020-12-02T03:37:58.790Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 03:36 internal [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 660 Dec 2 03:36 Jenkinsfile [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 03:36 LICENSE [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 873 Dec 2 03:36 Makefile [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 918 Dec 2 03:36 README.md [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 03:33 VERSION [2020-12-02T03:37:58.790Z] -rw-rw-r--. 1 jenkins jenkins 235 Dec 2 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:37:59.120Z] + 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=61a361d9b68ffcf858458df79d4a2319d2580f82 --label arch=amd64 --label version=1.3.1-dev.1 . [2020-12-02T03:37:59.387Z] Sending build context to Docker daemon 537.1kB [2020-12-02T03:37:59.387Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-02T03:37:59.387Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-02T03:37:59.387Z] ---> b0d5b512b48f [2020-12-02T03:37:59.387Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-02T03:37:59.651Z] ---> Running in 23cdebe5db24 [2020-12-02T03:37:59.651Z] Removing intermediate container 23cdebe5db24 [2020-12-02T03:37:59.651Z] ---> dc1113414b48 [2020-12-02T03:37:59.651Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-02T03:37:59.916Z] ---> Running in 149900268d7d [2020-12-02T03:37:59.916Z] Removing intermediate container 149900268d7d [2020-12-02T03:37:59.916Z] ---> b66df2ae4966 [2020-12-02T03:37:59.916Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-02T03:38:00.192Z] ---> Running in 0e1ab977f8ec [2020-12-02T03:38:00.192Z] Removing intermediate container 0e1ab977f8ec [2020-12-02T03:38:00.192Z] ---> 76ca2980f643 [2020-12-02T03:38:00.192Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T03:38:00.192Z] ---> Running in 87120d1ddce3 [2020-12-02T03:38:01.639Z] Removing intermediate container 87120d1ddce3 [2020-12-02T03:38:01.639Z] ---> 194b77fa4a08 [2020-12-02T03:38:01.639Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-02T03:38:01.639Z] ---> Running in bee940669d94 [2020-12-02T03:38:02.236Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T03:38:02.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T03:38:03.403Z] OK: 237 MiB in 53 packages [2020-12-02T03:38:03.985Z] Removing intermediate container bee940669d94 [2020-12-02T03:38:03.985Z] ---> fc3d7b78dbe4 [2020-12-02T03:38:03.985Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-02T03:38:03.985Z] ---> Running in f0e33afe7a8c [2020-12-02T03:38:03.985Z] Removing intermediate container f0e33afe7a8c [2020-12-02T03:38:03.985Z] ---> 2a81fde75542 [2020-12-02T03:38:03.985Z] Step 9/22 : COPY . . [2020-12-02T03:38:04.942Z] ---> 0702745b162d [2020-12-02T03:38:04.942Z] Step 10/22 : ARG MAKE='make build' [2020-12-02T03:38:04.942Z] ---> Running in 47976aa71d3e [2020-12-02T03:38:05.207Z] Removing intermediate container 47976aa71d3e [2020-12-02T03:38:05.207Z] ---> 1d43b0d0cb58 [2020-12-02T03:38:05.207Z] Step 11/22 : RUN $MAKE [2020-12-02T03:38:05.207Z] ---> Running in d983194c29ae [2020-12-02T03:38:05.801Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.1" -o cmd/device-virtual ./cmd [2020-12-02T03:38:20.958Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-02T03:38:24.306Z] Removing intermediate container d983194c29ae [2020-12-02T03:38:24.306Z] ---> 945984bb3c51 [2020-12-02T03:38:24.306Z] Step 12/22 : FROM alpine [2020-12-02T03:38:25.260Z] latest: Pulling from library/alpine [2020-12-02T03:38:25.260Z] 188c0c94c7c5: Already exists [2020-12-02T03:38:25.260Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-02T03:38:25.260Z] Status: Downloaded newer image for alpine:latest [2020-12-02T03:38:25.260Z] ---> d6e46aa2470d [2020-12-02T03:38:25.260Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-02T03:38:25.260Z] ---> Running in e10463251e9e [2020-12-02T03:38:25.524Z] Removing intermediate container e10463251e9e [2020-12-02T03:38:25.524Z] ---> 3cf16b41d4c9 [2020-12-02T03:38:25.524Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-02T03:38:25.524Z] ---> Running in f220f4f8f14c [2020-12-02T03:38:25.791Z] Removing intermediate container f220f4f8f14c [2020-12-02T03:38:25.791Z] ---> a2b7f0c0ddc2 [2020-12-02T03:38:25.791Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-02T03:38:26.391Z] ---> 7630a20a133b [2020-12-02T03:38:26.391Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-02T03:38:26.656Z] ---> 45dc69bf4f6b [2020-12-02T03:38:26.656Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-02T03:38:26.922Z] ---> b2508e6bf421 [2020-12-02T03:38:26.922Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-02T03:38:27.187Z] ---> Running in 9a748fcc676a [2020-12-02T03:38:27.188Z] Removing intermediate container 9a748fcc676a [2020-12-02T03:38:27.188Z] ---> f7e8e3fdf1ae [2020-12-02T03:38:27.188Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T03:38:27.450Z] ---> Running in 167f59fcf23a [2020-12-02T03:38:27.450Z] Removing intermediate container 167f59fcf23a [2020-12-02T03:38:27.450Z] ---> aee9b9aa43df [2020-12-02T03:38:27.450Z] Step 20/22 : LABEL arch=amd64 [2020-12-02T03:38:27.716Z] ---> Running in d3651f9c880b [2020-12-02T03:38:27.716Z] Removing intermediate container d3651f9c880b [2020-12-02T03:38:27.716Z] ---> 60d240ab4983 [2020-12-02T03:38:27.716Z] Step 21/22 : LABEL git_sha=61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:38:27.982Z] ---> Running in 9c3efc66f39a [2020-12-02T03:38:27.982Z] Removing intermediate container 9c3efc66f39a [2020-12-02T03:38:27.982Z] ---> 55ca10a91789 [2020-12-02T03:38:27.982Z] Step 22/22 : LABEL version=1.3.1-dev.1 [2020-12-02T03:38:27.982Z] ---> Running in a51b948ed1cb [2020-12-02T03:38:28.248Z] Removing intermediate container a51b948ed1cb [2020-12-02T03:38:28.248Z] ---> 96fb48826330 [2020-12-02T03:38:28.248Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T03:38:28.248Z] Successfully built 96fb48826330 [2020-12-02T03:38:28.248Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T03:38:28.660Z] provisioning config files... [2020-12-02T03:38:28.700Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config4031913984534218951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:38:29.085Z] ---> docker-login.sh [2020-12-02T03:38:29.085Z] nexus3.edgexfoundry.org:10001 [2020-12-02T03:38:29.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:38:29.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:38:29.351Z] Configure a credential helper to remove this warning. See [2020-12-02T03:38:29.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:38:29.351Z] [2020-12-02T03:38:29.351Z] Login Succeeded [2020-12-02T03:38:29.351Z] nexus3.edgexfoundry.org:10002 [2020-12-02T03:38:29.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:38:29.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:38:29.618Z] Configure a credential helper to remove this warning. See [2020-12-02T03:38:29.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:38:29.618Z] [2020-12-02T03:38:29.618Z] Login Succeeded [2020-12-02T03:38:29.618Z] nexus3.edgexfoundry.org:10003 [2020-12-02T03:38:29.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:38:29.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:38:29.882Z] Configure a credential helper to remove this warning. See [2020-12-02T03:38:29.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:38:29.882Z] [2020-12-02T03:38:29.882Z] Login Succeeded [2020-12-02T03:38:29.882Z] nexus3.edgexfoundry.org:10004 [2020-12-02T03:38:29.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:38:30.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:38:30.148Z] Configure a credential helper to remove this warning. See [2020-12-02T03:38:30.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:38:30.148Z] [2020-12-02T03:38:30.148Z] Login Succeeded [2020-12-02T03:38:30.148Z] docker.io [2020-12-02T03:38:30.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:38:30.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:38:30.412Z] Configure a credential helper to remove this warning. See [2020-12-02T03:38:30.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:38:30.412Z] [2020-12-02T03:38:30.412Z] Login Succeeded [2020-12-02T03:38:30.412Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T03:38:30.424Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-02T03:38:30.708Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2020-12-02T03:38:30.708Z] 61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:38:30.708Z] latest [2020-12-02T03:38:30.708Z] 1.3.1-dev.1 [2020-12-02T03:38:30.708Z] 61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:38:30.708Z] master [2020-12-02T03:38:30.708Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:31.297Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:31.620Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:38:31.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-12-02T03:38:31.621Z] 43f23c1bb566: Preparing [2020-12-02T03:38:31.621Z] c197adfbe0ef: Preparing [2020-12-02T03:38:31.621Z] ee952a9f1154: Preparing [2020-12-02T03:38:31.621Z] ace0eda3e3be: Preparing [2020-12-02T03:38:31.621Z] ace0eda3e3be: Layer already exists [2020-12-02T03:38:31.890Z] 43f23c1bb566: Pushed [2020-12-02T03:38:31.890Z] c197adfbe0ef: Pushed [2020-12-02T03:38:33.303Z] ee952a9f1154: Pushed [2020-12-02T03:38:33.568Z] 61a361d9b68ffcf858458df79d4a2319d2580f82: digest: sha256:84119f05fc38fbb7a4a11d39912d98129af956fbeed8ce34c8ea1f3e04ebe30b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:33.891Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:34.206Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-12-02T03:38:34.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-12-02T03:38:34.206Z] 43f23c1bb566: Preparing [2020-12-02T03:38:34.206Z] c197adfbe0ef: Preparing [2020-12-02T03:38:34.206Z] ee952a9f1154: Preparing [2020-12-02T03:38:34.206Z] ace0eda3e3be: Preparing [2020-12-02T03:38:34.206Z] ee952a9f1154: Layer already exists [2020-12-02T03:38:34.206Z] c197adfbe0ef: Layer already exists [2020-12-02T03:38:34.206Z] 43f23c1bb566: Layer already exists [2020-12-02T03:38:34.206Z] ace0eda3e3be: Layer already exists [2020-12-02T03:38:34.206Z] latest: digest: sha256:84119f05fc38fbb7a4a11d39912d98129af956fbeed8ce34c8ea1f3e04ebe30b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:34.529Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:34.847Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.1 [2020-12-02T03:38:34.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-12-02T03:38:34.847Z] 43f23c1bb566: Preparing [2020-12-02T03:38:34.847Z] c197adfbe0ef: Preparing [2020-12-02T03:38:34.847Z] ee952a9f1154: Preparing [2020-12-02T03:38:34.847Z] ace0eda3e3be: Preparing [2020-12-02T03:38:34.847Z] ace0eda3e3be: Layer already exists [2020-12-02T03:38:34.847Z] ee952a9f1154: Layer already exists [2020-12-02T03:38:34.847Z] c197adfbe0ef: Layer already exists [2020-12-02T03:38:34.847Z] 43f23c1bb566: Layer already exists [2020-12-02T03:38:34.847Z] 1.3.1-dev.1: digest: sha256:84119f05fc38fbb7a4a11d39912d98129af956fbeed8ce34c8ea1f3e04ebe30b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:35.170Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:35.480Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:38:35.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-12-02T03:38:35.480Z] 43f23c1bb566: Preparing [2020-12-02T03:38:35.480Z] c197adfbe0ef: Preparing [2020-12-02T03:38:35.480Z] ee952a9f1154: Preparing [2020-12-02T03:38:35.480Z] ace0eda3e3be: Preparing [2020-12-02T03:38:35.480Z] c197adfbe0ef: Layer already exists [2020-12-02T03:38:35.480Z] 43f23c1bb566: Layer already exists [2020-12-02T03:38:35.480Z] ee952a9f1154: Layer already exists [2020-12-02T03:38:35.480Z] ace0eda3e3be: Layer already exists [2020-12-02T03:38:35.480Z] 61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1: digest: sha256:84119f05fc38fbb7a4a11d39912d98129af956fbeed8ce34c8ea1f3e04ebe30b size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:35.802Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:36.121Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2020-12-02T03:38:36.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-12-02T03:38:36.121Z] 43f23c1bb566: Preparing [2020-12-02T03:38:36.121Z] c197adfbe0ef: Preparing [2020-12-02T03:38:36.121Z] ee952a9f1154: Preparing [2020-12-02T03:38:36.121Z] ace0eda3e3be: Preparing [2020-12-02T03:38:36.121Z] ace0eda3e3be: Layer already exists [2020-12-02T03:38:36.121Z] ee952a9f1154: Layer already exists [2020-12-02T03:38:36.121Z] 43f23c1bb566: Layer already exists [2020-12-02T03:38:36.121Z] c197adfbe0ef: Layer already exists [2020-12-02T03:38:36.386Z] master: digest: sha256:84119f05fc38fbb7a4a11d39912d98129af956fbeed8ce34c8ea1f3e04ebe30b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [2020-12-02T03:38:36.567Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-12-02T03:38:36.567Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.998s coverage: 64.4% of statements [2020-12-02T03:38:36.567Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] echo [2020-12-02T03:38:36.604Z] ===================================================== [Pipeline] echo [2020-12-02T03:38:36.656Z] taggedImages: [2020-12-02T03:38:36.656Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:38:36.656Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-12-02T03:38:36.656Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.1 [2020-12-02T03:38:36.656Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:38:36.656Z] - 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 [Pipeline] } [2020-12-02T03:38:43.338Z] gofmt -l . [2020-12-02T03:38:43.338Z] [ "`gofmt -l .`" = "" ] [2020-12-02T03:38:43.622Z] ./bin/test-attribution-txt.sh [2020-12-02T03:38:45.065Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-02T03:38:45.369Z] $ docker stop --time=1 834d9c4762579b1f6eb6a2339c830677ef3947a48fd240d81ddd99ce2ecdf683 [2020-12-02T03:38:47.406Z] $ docker rm -f 834d9c4762579b1f6eb6a2339c830677ef3947a48fd240d81ddd99ce2ecdf683 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T03:38:48.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T03:38:48.312Z] Warning: overwriting stash ‘coverage-report’ [2020-12-02T03:38:49.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T03:38:49.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T03:38:50.289Z] + ls -al . [2020-12-02T03:38:50.289Z] total 148 [2020-12-02T03:38:50.289Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 2 03:38 . [2020-12-02T03:38:50.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 03:36 .. [2020-12-02T03:38:50.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 03:36 .git [2020-12-02T03:38:50.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 03:36 .github [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 258 Dec 2 03:36 .gitignore [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 6713 Dec 2 03:36 Attribution.txt [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 1834 Dec 2 03:36 Dockerfile [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 957 Dec 2 03:36 Dockerfile.build [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 2 03:36 Jenkinsfile [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 03:36 LICENSE [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 873 Dec 2 03:36 Makefile [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 918 Dec 2 03:36 README.md [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 03:33 VERSION [2020-12-02T03:38:50.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 03:36 bin [2020-12-02T03:38:50.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 03:36 cmd [2020-12-02T03:38:50.289Z] -rw-r--r-- 1 jenkins jenkins 47242 Dec 2 03:38 coverage.out [2020-12-02T03:38:50.289Z] -rw-r--r-- 1 jenkins jenkins 862 Dec 2 03:38 go.mod [2020-12-02T03:38:50.289Z] -rw-r--r-- 1 jenkins jenkins 16358 Dec 2 03:38 go.sum [2020-12-02T03:38:50.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 03:36 internal [2020-12-02T03:38:50.289Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 2 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:38:50.685Z] + 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=61a361d9b68ffcf858458df79d4a2319d2580f82 --label arch=arm64 --label version=1.3.1-dev.1 . [2020-12-02T03:38:50.968Z] Sending build context to Docker daemon 536.1kB [2020-12-02T03:38:51.259Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-02T03:38:51.259Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-02T03:38:51.259Z] ---> 55ab95da9b77 [2020-12-02T03:38:51.259Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-02T03:38:51.259Z] ---> Running in 643f6481c131 [2020-12-02T03:38:51.862Z] Removing intermediate container 643f6481c131 [2020-12-02T03:38:51.862Z] ---> 54b896728172 [2020-12-02T03:38:51.862Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-02T03:38:51.862Z] ---> Running in b7f8f1423f10 [2020-12-02T03:38:52.457Z] Removing intermediate container b7f8f1423f10 [2020-12-02T03:38:52.457Z] ---> 8148f701bdeb [2020-12-02T03:38:52.457Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-12-02T03:38:52.457Z] ---> Running in 13e8f811ce54 [2020-12-02T03:38:53.052Z] Removing intermediate container 13e8f811ce54 [2020-12-02T03:38:53.052Z] ---> 1c465aed8dc6 [2020-12-02T03:38:53.052Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T03:38:53.052Z] ---> Running in d6814ff07916 [2020-12-02T03:38:55.680Z] Removing intermediate container d6814ff07916 [2020-12-02T03:38:55.680Z] ---> 94c0f0b886bf [2020-12-02T03:38:55.680Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-02T03:38:55.680Z] ---> Running in e33cd497a9dc [2020-12-02T03:38:56.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T03:38:57.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T03:38:58.683Z] OK: 221 MiB in 53 packages [2020-12-02T03:38:59.658Z] Removing intermediate container e33cd497a9dc [2020-12-02T03:38:59.658Z] ---> e9bbd1e6d383 [2020-12-02T03:38:59.658Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-12-02T03:38:59.930Z] ---> Running in 859719befb77 [2020-12-02T03:39:00.203Z] Removing intermediate container 859719befb77 [2020-12-02T03:39:00.203Z] ---> 9a878356f2e9 [2020-12-02T03:39:00.475Z] Step 9/22 : COPY . . [2020-12-02T03:39:01.454Z] ---> 8d5d90748e0d [2020-12-02T03:39:01.454Z] Step 10/22 : ARG MAKE='make build' [2020-12-02T03:39:01.454Z] ---> Running in b1a8c31fd0bb [2020-12-02T03:39:02.054Z] Removing intermediate container b1a8c31fd0bb [2020-12-02T03:39:02.054Z] ---> 9839608adab0 [2020-12-02T03:39:02.054Z] Step 11/22 : RUN $MAKE [2020-12-02T03:39:02.054Z] ---> Running in db38b34abb18 [2020-12-02T03:39:03.038Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.1" -o cmd/device-virtual ./cmd [2020-12-02T03:39:35.407Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-02T03:39:43.677Z] Removing intermediate container db38b34abb18 [2020-12-02T03:39:43.677Z] ---> 5e372a232d0a [2020-12-02T03:39:43.677Z] Step 12/22 : FROM alpine [2020-12-02T03:39:43.949Z] latest: Pulling from library/alpine [2020-12-02T03:39:44.223Z] 5f621e34cdf4: Already exists [2020-12-02T03:39:44.223Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-02T03:39:44.223Z] Status: Downloaded newer image for alpine:latest [2020-12-02T03:39:44.223Z] ---> 2e77e061c27f [2020-12-02T03:39:44.223Z] Step 13/22 : ENV APP_PORT=49990 [2020-12-02T03:39:44.494Z] ---> Running in e07cc6223e91 [2020-12-02T03:39:44.767Z] Removing intermediate container e07cc6223e91 [2020-12-02T03:39:44.767Z] ---> e044e341def2 [2020-12-02T03:39:44.767Z] Step 14/22 : EXPOSE $APP_PORT [2020-12-02T03:39:45.041Z] ---> Running in 4e066ff21107 [2020-12-02T03:39:45.315Z] Removing intermediate container 4e066ff21107 [2020-12-02T03:39:45.315Z] ---> 0b67f934827e [2020-12-02T03:39:45.315Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-12-02T03:39:46.754Z] ---> 111a340e2156 [2020-12-02T03:39:46.754Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-12-02T03:39:47.346Z] ---> 5826cbff817f [2020-12-02T03:39:47.346Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-12-02T03:39:47.937Z] ---> 4fb0bb2e1c7c [2020-12-02T03:39:47.937Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-12-02T03:39:47.937Z] ---> Running in 8824aeb63a14 [2020-12-02T03:39:48.535Z] Removing intermediate container 8824aeb63a14 [2020-12-02T03:39:48.535Z] ---> 81fb3e1f11c6 [2020-12-02T03:39:48.535Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T03:39:48.535Z] ---> Running in 950ff790ef5e [2020-12-02T03:39:49.133Z] Removing intermediate container 950ff790ef5e [2020-12-02T03:39:49.133Z] ---> d0265e5bbb8a [2020-12-02T03:39:49.133Z] Step 20/22 : LABEL arch=arm64 [2020-12-02T03:39:49.133Z] ---> Running in d1ce392f0c5e [2020-12-02T03:39:49.728Z] Removing intermediate container d1ce392f0c5e [2020-12-02T03:39:49.728Z] ---> 12ca447559c5 [2020-12-02T03:39:49.728Z] Step 21/22 : LABEL git_sha=61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:39:49.728Z] ---> Running in d99b7fefc1e4 [2020-12-02T03:39:50.323Z] Removing intermediate container d99b7fefc1e4 [2020-12-02T03:39:50.323Z] ---> 981282aa5dcb [2020-12-02T03:39:50.323Z] Step 22/22 : LABEL version=1.3.1-dev.1 [2020-12-02T03:39:50.323Z] ---> Running in 1dc5a794ad90 [2020-12-02T03:39:50.598Z] Removing intermediate container 1dc5a794ad90 [2020-12-02T03:39:50.598Z] ---> b966c3ee9309 [2020-12-02T03:39:50.598Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T03:39:50.869Z] Successfully built b966c3ee9309 [2020-12-02T03:39:50.869Z] 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-12-02T03:39:51.344Z] provisioning config files... [2020-12-02T03:39:51.384Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config3734314244981915999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:39:51.783Z] ---> docker-login.sh [2020-12-02T03:39:51.784Z] nexus3.edgexfoundry.org:10001 [2020-12-02T03:39:52.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:39:52.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:39:52.328Z] Configure a credential helper to remove this warning. See [2020-12-02T03:39:52.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:39:52.328Z] [2020-12-02T03:39:52.328Z] Login Succeeded [2020-12-02T03:39:52.328Z] nexus3.edgexfoundry.org:10002 [2020-12-02T03:39:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:39:52.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:39:52.876Z] Configure a credential helper to remove this warning. See [2020-12-02T03:39:52.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:39:52.876Z] [2020-12-02T03:39:52.876Z] Login Succeeded [2020-12-02T03:39:52.876Z] nexus3.edgexfoundry.org:10003 [2020-12-02T03:39:53.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:39:53.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:39:53.148Z] Configure a credential helper to remove this warning. See [2020-12-02T03:39:53.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:39:53.148Z] [2020-12-02T03:39:53.420Z] Login Succeeded [2020-12-02T03:39:53.420Z] nexus3.edgexfoundry.org:10004 [2020-12-02T03:39:53.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:39:53.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:39:53.964Z] Configure a credential helper to remove this warning. See [2020-12-02T03:39:53.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:39:53.964Z] [2020-12-02T03:39:53.964Z] Login Succeeded [2020-12-02T03:39:53.964Z] docker.io [2020-12-02T03:39:54.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T03:39:54.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T03:39:54.507Z] Configure a credential helper to remove this warning. See [2020-12-02T03:39:54.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T03:39:54.507Z] [2020-12-02T03:39:54.507Z] Login Succeeded [2020-12-02T03:39:54.507Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T03:39:54.522Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-02T03:39:54.731Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2020-12-02T03:39:54.731Z] 61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:39:54.731Z] latest [2020-12-02T03:39:54.731Z] 1.3.1-dev.1 [2020-12-02T03:39:54.731Z] 61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:39:54.731Z] master [2020-12-02T03:39:54.731Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:39:55.283Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:39:55.640Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:39:55.640Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-12-02T03:39:55.640Z] 68c6424852cb: Preparing [2020-12-02T03:39:55.640Z] 4a8f59ea8f57: Preparing [2020-12-02T03:39:55.640Z] 9d9ae9e5ce06: Preparing [2020-12-02T03:39:55.640Z] cd3761cfa1d9: Preparing [2020-12-02T03:39:55.930Z] cd3761cfa1d9: Layer already exists [2020-12-02T03:39:55.930Z] 4a8f59ea8f57: Pushed [2020-12-02T03:39:55.930Z] 68c6424852cb: Pushed [2020-12-02T03:39:59.307Z] 9d9ae9e5ce06: Pushed [2020-12-02T03:39:59.307Z] 61a361d9b68ffcf858458df79d4a2319d2580f82: digest: sha256:d3104fadccd3d64190b4149cc6746298ab48275b890c8ba39609fa3d7cc29b96 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:39:59.686Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:00.029Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-12-02T03:40:00.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-12-02T03:40:00.029Z] 68c6424852cb: Preparing [2020-12-02T03:40:00.029Z] 4a8f59ea8f57: Preparing [2020-12-02T03:40:00.029Z] 9d9ae9e5ce06: Preparing [2020-12-02T03:40:00.029Z] cd3761cfa1d9: Preparing [2020-12-02T03:40:00.029Z] 4a8f59ea8f57: Layer already exists [2020-12-02T03:40:00.029Z] cd3761cfa1d9: Layer already exists [2020-12-02T03:40:00.029Z] 68c6424852cb: Layer already exists [2020-12-02T03:40:00.029Z] 9d9ae9e5ce06: Layer already exists [2020-12-02T03:40:00.301Z] latest: digest: sha256:d3104fadccd3d64190b4149cc6746298ab48275b890c8ba39609fa3d7cc29b96 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:00.645Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:00.990Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.1 [2020-12-02T03:40:00.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-12-02T03:40:00.990Z] 68c6424852cb: Preparing [2020-12-02T03:40:00.990Z] 4a8f59ea8f57: Preparing [2020-12-02T03:40:00.990Z] 9d9ae9e5ce06: Preparing [2020-12-02T03:40:00.990Z] cd3761cfa1d9: Preparing [2020-12-02T03:40:00.990Z] 4a8f59ea8f57: Layer already exists [2020-12-02T03:40:00.990Z] cd3761cfa1d9: Layer already exists [2020-12-02T03:40:00.990Z] 68c6424852cb: Layer already exists [2020-12-02T03:40:00.990Z] 9d9ae9e5ce06: Layer already exists [2020-12-02T03:40:01.264Z] 1.3.1-dev.1: digest: sha256:d3104fadccd3d64190b4149cc6746298ab48275b890c8ba39609fa3d7cc29b96 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:01.612Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:01.965Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:40:01.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-12-02T03:40:01.966Z] 68c6424852cb: Preparing [2020-12-02T03:40:01.966Z] 4a8f59ea8f57: Preparing [2020-12-02T03:40:01.966Z] 9d9ae9e5ce06: Preparing [2020-12-02T03:40:01.966Z] cd3761cfa1d9: Preparing [2020-12-02T03:40:01.966Z] cd3761cfa1d9: Layer already exists [2020-12-02T03:40:01.966Z] 68c6424852cb: Layer already exists [2020-12-02T03:40:01.966Z] 4a8f59ea8f57: Layer already exists [2020-12-02T03:40:01.966Z] 9d9ae9e5ce06: Layer already exists [2020-12-02T03:40:02.240Z] 61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1: digest: sha256:d3104fadccd3d64190b4149cc6746298ab48275b890c8ba39609fa3d7cc29b96 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:02.583Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:02.919Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2020-12-02T03:40:02.919Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-12-02T03:40:02.919Z] 68c6424852cb: Preparing [2020-12-02T03:40:02.919Z] 4a8f59ea8f57: Preparing [2020-12-02T03:40:02.919Z] 9d9ae9e5ce06: Preparing [2020-12-02T03:40:02.919Z] cd3761cfa1d9: Preparing [2020-12-02T03:40:02.919Z] 9d9ae9e5ce06: Layer already exists [2020-12-02T03:40:02.919Z] 4a8f59ea8f57: Layer already exists [2020-12-02T03:40:02.919Z] 68c6424852cb: Layer already exists [2020-12-02T03:40:02.919Z] cd3761cfa1d9: Layer already exists [2020-12-02T03:40:03.191Z] master: digest: sha256:d3104fadccd3d64190b4149cc6746298ab48275b890c8ba39609fa3d7cc29b96 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-02T03:40:03.380Z] ===================================================== [Pipeline] echo [2020-12-02T03:40:03.425Z] taggedImages: [2020-12-02T03:40:03.425Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82 [2020-12-02T03:40:03.425Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-12-02T03:40:03.425Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.1 [2020-12-02T03:40:03.425Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:61a361d9b68ffcf858458df79d4a2319d2580f82-1.3.1-dev.1 [2020-12-02T03:40:03.425Z] - 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-12-02T03:40:04.833Z] provisioning config files... [2020-12-02T03:40:04.843Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1326431920265438921tmp [Pipeline] { [Pipeline] sh [2020-12-02T03:40:05.237Z] + set +x [2020-12-02T03:40:05.237Z] + curl -s https://codecov.io/bash [2020-12-02T03:40:05.237Z] + bash -s -- [2020-12-02T03:40:05.500Z] [2020-12-02T03:40:05.500Z] _____ _ [2020-12-02T03:40:05.500Z] / ____| | | [2020-12-02T03:40:05.500Z] | | ___ __| | ___ ___ _____ __ [2020-12-02T03:40:05.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-02T03:40:05.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-02T03:40:05.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-02T03:40:05.500Z] Bash-20201130-cc6d3fe [2020-12-02T03:40:05.500Z] [2020-12-02T03:40:05.500Z] [2020-12-02T03:40:05.500Z] ==> Jenkins CI detected. [2020-12-02T03:40:05.500Z] project root: . [2020-12-02T03:40:05.500Z] --> token set from env [2020-12-02T03:40:05.500Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-02T03:40:05.500Z] ==> Running gcov in . (disable via -X gcov) [2020-12-02T03:40:05.500Z] ==> Python coveragepy not found [2020-12-02T03:40:05.500Z] ==> Searching for coverage reports in: [2020-12-02T03:40:05.500Z] + . [2020-12-02T03:40:05.500Z] -> Found 1 reports [2020-12-02T03:40:05.500Z] ==> Detecting git/mercurial file structure [2020-12-02T03:40:05.500Z] ==> Reading reports [2020-12-02T03:40:05.500Z] + ./coverage.out bytes=47242 [2020-12-02T03:40:05.762Z] ==> Appending adjustments [2020-12-02T03:40:05.762Z] https://docs.codecov.io/docs/fixing-reports [2020-12-02T03:40:05.762Z] + Found adjustments [2020-12-02T03:40:05.762Z] ==> Gzipping contents [2020-12-02T03:40:05.762Z] 8.0K /tmp/codecov.eBwQNp.gz [2020-12-02T03:40:05.762Z] ==> Uploading reports [2020-12-02T03:40:05.762Z] url: https://codecov.io [2020-12-02T03:40:05.762Z] query: branch=master&commit=61a361d9b68ffcf858458df79d4a2319d2580f82&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-02T03:40:05.762Z] -> Pinging Codecov [2020-12-02T03:40:05.762Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=61a361d9b68ffcf858458df79d4a2319d2580f82&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-02T03:40:06.337Z] -> Uploading to [2020-12-02T03:40:06.337Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-02/5E52B4B073DB2E39498172D8E973AA87/61a361d9b68ffcf858458df79d4a2319d2580f82/a5e44a38-53a7-4ffe-98bf-6907207f27c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T034006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1526a661a7242d03489b5b71a3db68e2ef9af881341769658517dbff84b7b59e [2020-12-02T03:40:06.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-02T03:40:06.337Z] Dload Upload Total Spent Left Speed [2020-12-02T03:40:06.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5823 0 0 100 5823 0 9211 --:--:-- --:--:-- --:--:-- 9213 100 5823 0 0 100 5823 0 9209 --:--:-- --:--:-- --:--:-- 9199 [2020-12-02T03:40:06.910Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] } [2020-12-02T03:40:06.919Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-02T03:40:07.865Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-02T03:40:07.945Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:08.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T03:40:08.282Z] [2020-12-02T03:40:08.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:08.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T03:40:08.626Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-02T03:40:08.626Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T03:40:08.626Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T03:40:08.626Z] de9db76c5a1d: Pulling fs layer [2020-12-02T03:40:08.626Z] 0eba1c9be4d2: Pulling fs layer [2020-12-02T03:40:08.626Z] 0d57e429df01: Pulling fs layer [2020-12-02T03:40:08.626Z] 4e4be7b47b0d: Pulling fs layer [2020-12-02T03:40:08.626Z] e1f770b5df2f: Pulling fs layer [2020-12-02T03:40:08.626Z] 85a0685a4137: Pulling fs layer [2020-12-02T03:40:08.626Z] 0eba1c9be4d2: Waiting [2020-12-02T03:40:08.626Z] 0d57e429df01: Waiting [2020-12-02T03:40:08.626Z] 4e4be7b47b0d: Waiting [2020-12-02T03:40:08.626Z] e1f770b5df2f: Waiting [2020-12-02T03:40:08.626Z] 85a0685a4137: Waiting [2020-12-02T03:40:08.626Z] de9db76c5a1d: Verifying Checksum [2020-12-02T03:40:08.626Z] de9db76c5a1d: Download complete [2020-12-02T03:40:08.626Z] 0ef7d3d256c8: Verifying Checksum [2020-12-02T03:40:08.626Z] 0ef7d3d256c8: Download complete [2020-12-02T03:40:08.626Z] 0d57e429df01: Verifying Checksum [2020-12-02T03:40:08.626Z] 0d57e429df01: Download complete [2020-12-02T03:40:08.626Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T03:40:08.626Z] 4e4be7b47b0d: Verifying Checksum [2020-12-02T03:40:08.626Z] 4e4be7b47b0d: Download complete [2020-12-02T03:40:09.219Z] 188c0c94c7c5: Pull complete [2020-12-02T03:40:09.482Z] 0ef7d3d256c8: Pull complete [2020-12-02T03:40:09.482Z] e1f770b5df2f: Verifying Checksum [2020-12-02T03:40:09.482Z] e1f770b5df2f: Download complete [2020-12-02T03:40:09.482Z] de9db76c5a1d: Pull complete [2020-12-02T03:40:12.801Z] 0eba1c9be4d2: Verifying Checksum [2020-12-02T03:40:12.801Z] 0eba1c9be4d2: Download complete [2020-12-02T03:40:12.801Z] 85a0685a4137: Verifying Checksum [2020-12-02T03:40:12.801Z] 85a0685a4137: Download complete [2020-12-02T03:40:18.138Z] 0eba1c9be4d2: Pull complete [2020-12-02T03:40:18.402Z] 0d57e429df01: Pull complete [2020-12-02T03:40:18.402Z] 4e4be7b47b0d: Pull complete [2020-12-02T03:40:20.970Z] e1f770b5df2f: Pull complete [2020-12-02T03:40:29.177Z] 85a0685a4137: Pull complete [2020-12-02T03:40:29.177Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-02T03:40:29.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T03:40:29.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-02T03:40:29.364Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:40:29.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-02T03:40:30.379Z] $ docker top c3978ffcea366e4974fbb9d1587758fa2245b7f4f54a1f51b9760c1d7d2fb463 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-02T03:40:30.584Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-02T03:40:30.876Z] + set -o pipefail [2020-12-02T03:40:30.876Z] + snyk monitor '--org=edgex-jenkins' [2020-12-02T03:40:43.128Z] [2020-12-02T03:40:43.128Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2020-12-02T03:40:43.128Z] [2020-12-02T03:40:43.128Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/93d102b4-1dcb-4f6b-a854-2663f7534106 [2020-12-02T03:40:43.128Z] [2020-12-02T03:40:43.128Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-02T03:40:43.128Z] [2020-12-02T03:40:43.128Z] [Pipeline] } [2020-12-02T03:40:43.145Z] $ docker stop --time=1 c3978ffcea366e4974fbb9d1587758fa2245b7f4f54a1f51b9760c1d7d2fb463 [2020-12-02T03:40:45.865Z] $ docker rm -f c3978ffcea366e4974fbb9d1587758fa2245b7f4f54a1f51b9760c1d7d2fb463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-02T03:40:46.759Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82, dockerFile=Dockerfile [Pipeline] echo [2020-12-02T03:40:46.761Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-02T03:40:47.053Z] + set -o pipefail [2020-12-02T03:40:47.053Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-02T03:40:47.053Z] + tee .snyk [2020-12-02T03:40:47.316Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-02T03:40:47.316Z] version: v1.14.1 [2020-12-02T03:40:47.316Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-02T03:40:47.316Z] ignore: [2020-12-02T03:40:47.316Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-02T03:40:47.316Z] - '*': [2020-12-02T03:40:47.316Z] reason: does not apply # justification for ignoring [2020-12-02T03:40:47.316Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-02T03:40:47.316Z] SNYK-ALPINE312-JQ-588886: [2020-12-02T03:40:47.316Z] - '*': [2020-12-02T03:40:47.316Z] reason: false positive [2020-12-02T03:40:47.316Z] expires: 2021-01-01T00:00:00 [2020-12-02T03:40:47.316Z] # patch: {} [Pipeline] withCredentials [2020-12-02T03:40:47.454Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:40:47.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T03:40:47.799Z] . [Pipeline] withDockerContainer [2020-12-02T03:40:47.913Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:40:47.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-02T03:40:48.637Z] $ docker top a9238149c59f553845b12999e6701583a36915e1709b5b59e8c7d692326dceae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:40:49.138Z] + rm -f snykReport.html [Pipeline] echo [2020-12-02T03:40:49.151Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-02T03:40:49.443Z] + set -o pipefail [2020-12-02T03:40:49.443Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-virtual-go:61a361d9b68ffcf858458df79d4a2319d2580f82 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-02T03:40:49.443Z] + snyk-to-html -o snykReport.html [2020-12-02T03:40:57.626Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-02T03:40:57.644Z] $ docker stop --time=1 a9238149c59f553845b12999e6701583a36915e1709b5b59e8c7d692326dceae [2020-12-02T03:40:59.081Z] $ docker rm -f a9238149c59f553845b12999e6701583a36915e1709b5b59e8c7d692326dceae [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-12-02T03:41:00.800Z] + git log --format=format:%s -1 61a361d9b68ffcf858458df79d4a2319d2580f82 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:41:01.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:41:01.123Z] . [Pipeline] withDockerContainer [2020-12-02T03:41:01.225Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:41:01.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T03:41:01.997Z] $ docker top 6d5e7081b50497c8cb3a783d7bf1f74ed2dcacf066aad5854fea87113cf7bbd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T03:41:02.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T03:41:02.322Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T03:41:02.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T03:41:02.539Z] $ docker exec 6d5e7081b50497c8cb3a783d7bf1f74ed2dcacf066aad5854fea87113cf7bbd0 ssh-agent [2020-12-02T03:41:02.715Z] SSH_AUTH_SOCK=/tmp/ssh-dMiizjhWLhOQ/agent.11 [2020-12-02T03:41:02.715Z] SSH_AGENT_PID=16 [2020-12-02T03:41:02.722Z] Running ssh-add (command line suppressed) [2020-12-02T03:41:02.859Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8026167362307082380.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8026167362307082380.key) [2020-12-02T03:41:02.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T03:41:03.249Z] + git semver tag [2020-12-02T03:41:03.249Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T03:41:03.249Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-12-02T03:41:03.249Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-12-02T03:41:03.249Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T03:41:03.249Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T03:41:03.249Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T03:41:03.249Z] # $SEMVER_BRANCH = master [2020-12-02T03:41:03.249Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-12-02T03:41:03.249Z] # 61a361d9b68ffcf858458df79d4a2319d2580f82 HEAD [2020-12-02T03:41:03.249Z] # -> Force: false [2020-12-02T03:41:03.249Z] # 64051fbd08eb3c993208716267af27a07cb9e3dc refs/tags/v1.3.1-dev.1 [Pipeline] } [2020-12-02T03:41:03.264Z] $ docker exec --env ******** --env ******** 6d5e7081b50497c8cb3a783d7bf1f74ed2dcacf066aad5854fea87113cf7bbd0 ssh-agent -k [2020-12-02T03:41:03.383Z] unset SSH_AUTH_SOCK; [2020-12-02T03:41:03.383Z] unset SSH_AGENT_PID; [2020-12-02T03:41:03.383Z] echo Agent pid 16 killed; [2020-12-02T03:41:03.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T03:41:03.912Z] + git semver [Pipeline] } [2020-12-02T03:41:03.931Z] $ docker stop --time=1 6d5e7081b50497c8cb3a783d7bf1f74ed2dcacf066aad5854fea87113cf7bbd0 [2020-12-02T03:41:05.256Z] $ docker rm -f 6d5e7081b50497c8cb3a783d7bf1f74ed2dcacf066aad5854fea87113cf7bbd0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:41:05.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-02T03:41:05.890Z] [2020-12-02T03:41:05.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:41:06.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-02T03:41:06.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-02T03:41:06.239Z] ab5ef0e58194: Pulling fs layer [2020-12-02T03:41:06.239Z] 9712f1f96733: Pulling fs layer [2020-12-02T03:41:06.239Z] 63f879dbbcfc: Pulling fs layer [2020-12-02T03:41:06.239Z] 0d9ebad4ef96: Pulling fs layer [2020-12-02T03:41:06.239Z] e9a5061849ea: Pulling fs layer [2020-12-02T03:41:06.239Z] d747dcd14b5f: Pulling fs layer [2020-12-02T03:41:06.239Z] 2de7ff778b66: Pulling fs layer [2020-12-02T03:41:06.239Z] e9a5061849ea: Waiting [2020-12-02T03:41:06.239Z] d747dcd14b5f: Waiting [2020-12-02T03:41:06.239Z] 2de7ff778b66: Waiting [2020-12-02T03:41:06.239Z] 0d9ebad4ef96: Waiting [2020-12-02T03:41:06.239Z] 9712f1f96733: Verifying Checksum [2020-12-02T03:41:06.239Z] 9712f1f96733: Download complete [2020-12-02T03:41:08.168Z] 63f879dbbcfc: Verifying Checksum [2020-12-02T03:41:08.168Z] 63f879dbbcfc: Download complete [2020-12-02T03:41:08.168Z] e9a5061849ea: Verifying Checksum [2020-12-02T03:41:08.168Z] e9a5061849ea: Download complete [2020-12-02T03:41:08.168Z] d747dcd14b5f: Verifying Checksum [2020-12-02T03:41:08.168Z] d747dcd14b5f: Download complete [2020-12-02T03:41:08.746Z] 2de7ff778b66: Verifying Checksum [2020-12-02T03:41:08.746Z] 2de7ff778b66: Download complete [2020-12-02T03:41:09.009Z] 0d9ebad4ef96: Verifying Checksum [2020-12-02T03:41:09.009Z] 0d9ebad4ef96: Download complete [2020-12-02T03:41:09.271Z] ab5ef0e58194: Verifying Checksum [2020-12-02T03:41:09.271Z] ab5ef0e58194: Download complete [2020-12-02T03:41:14.610Z] ab5ef0e58194: Pull complete [2020-12-02T03:41:14.610Z] 9712f1f96733: Pull complete [2020-12-02T03:41:16.544Z] 63f879dbbcfc: Pull complete [2020-12-02T03:41:23.160Z] 0d9ebad4ef96: Pull complete [2020-12-02T03:41:25.082Z] e9a5061849ea: Pull complete [2020-12-02T03:41:26.030Z] d747dcd14b5f: Pull complete [2020-12-02T03:41:27.429Z] 2de7ff778b66: Pull complete [2020-12-02T03:41:27.429Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-02T03:41:27.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-02T03:41:27.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-02T03:41:27.646Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:41:27.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-02T03:41:30.982Z] $ docker top 2bd823cf2ddfe6f89b2c25a4fcdf1045207a7ddcfffe9d3012393245253703a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-02T03:41:31.244Z] provisioning config files... [2020-12-02T03:41:31.255Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2425086925074532659tmp [2020-12-02T03:41:31.273Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8742356399174395347tmp [2020-12-02T03:41:31.288Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7571809299481178247tmp [Pipeline] { [Pipeline] echo [2020-12-02T03:41:31.342Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:41:31.638Z] ---> sigul-configuration.sh [2020-12-02T03:41:31.638Z] gpg: directory `/root/.gnupg' created [2020-12-02T03:41:31.638Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-02T03:41:31.638Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-02T03:41:31.638Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-02T03:41:31.638Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-02T03:41:31.638Z] gpg: CAST5 encrypted data [2020-12-02T03:41:31.900Z] gpg: encrypted with 1 passphrase [2020-12-02T03:41:31.900Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-02T03:41:32.208Z] + mkdir /home/jenkins [2020-12-02T03:41:32.208Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-02T03:41:32.510Z] + 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-12-02T03:41:32.522Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:41:32.820Z] ---> sigul-install.sh [2020-12-02T03:41:54.810Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-02T03:41:55.110Z] + git tag --list [2020-12-02T03:41:55.110Z] v1.0.0 [2020-12-02T03:41:55.110Z] v1.1.0 [2020-12-02T03:41:55.110Z] v1.1.1 [2020-12-02T03:41:55.110Z] v1.2.1 [2020-12-02T03:41:55.110Z] v1.2.2 [2020-12-02T03:41:55.110Z] v1.2.3 [2020-12-02T03:41:55.110Z] v1.2.3-dev.1 [2020-12-02T03:41:55.110Z] v1.2.3-dev.2 [2020-12-02T03:41:55.110Z] v1.2.4-dev.1 [2020-12-02T03:41:55.110Z] v1.2.4-dev.10 [2020-12-02T03:41:55.110Z] v1.2.4-dev.11 [2020-12-02T03:41:55.110Z] v1.2.4-dev.2 [2020-12-02T03:41:55.110Z] v1.2.4-dev.3 [2020-12-02T03:41:55.110Z] v1.2.4-dev.4 [2020-12-02T03:41:55.110Z] v1.2.4-dev.5 [2020-12-02T03:41:55.110Z] v1.2.4-dev.6 [2020-12-02T03:41:55.110Z] v1.2.4-dev.7 [2020-12-02T03:41:55.110Z] v1.2.4-dev.8 [2020-12-02T03:41:55.110Z] v1.2.4-dev.9 [2020-12-02T03:41:55.110Z] v1.3.0 [2020-12-02T03:41:55.110Z] v1.3.1-dev.1 [Pipeline] sh [2020-12-02T03:41:55.410Z] + lftools sign git-tag v1.3.1-dev.1 [2020-12-02T03:41:56.798Z] Signing Git tag with Sigul... [2020-12-02T03:41:56.798Z] Signing v1.3.1-dev.1 [Pipeline] echo [2020-12-02T03:42:28.947Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:42:29.245Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-02T03:42:29.255Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-02T03:42:29.369Z] $ docker stop --time=1 2bd823cf2ddfe6f89b2c25a4fcdf1045207a7ddcfffe9d3012393245253703a5 [2020-12-02T03:42:30.893Z] $ docker rm -f 2bd823cf2ddfe6f89b2c25a4fcdf1045207a7ddcfffe9d3012393245253703a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:42:31.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:42:31.897Z] . [Pipeline] withDockerContainer [2020-12-02T03:42:32.003Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:42:32.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T03:42:32.769Z] $ docker top bf69abf6c06a4320520b0f71f732dac3b5a2dee345138756d5cc000456cf212f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T03:42:33.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T03:42:33.132Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T03:42:33.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T03:42:33.360Z] $ docker exec bf69abf6c06a4320520b0f71f732dac3b5a2dee345138756d5cc000456cf212f ssh-agent [2020-12-02T03:42:33.540Z] SSH_AUTH_SOCK=/tmp/ssh-ta3l48A2NqbO/agent.12 [2020-12-02T03:42:33.540Z] SSH_AGENT_PID=18 [2020-12-02T03:42:33.548Z] Running ssh-add (command line suppressed) [2020-12-02T03:42:33.691Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_700757519111876245.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_700757519111876245.key) [2020-12-02T03:42:33.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T03:42:34.136Z] + git semver bump pre [2020-12-02T03:42:34.136Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T03:42:34.136Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-12-02T03:42:34.136Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-12-02T03:42:34.136Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T03:42:34.136Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T03:42:34.136Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T03:42:34.136Z] # $SEMVER_BRANCH = master [2020-12-02T03:42:34.136Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-12-02T03:42:34.136Z] 1.3.1-dev.2 [Pipeline] } [2020-12-02T03:42:34.164Z] $ docker exec --env ******** --env ******** bf69abf6c06a4320520b0f71f732dac3b5a2dee345138756d5cc000456cf212f ssh-agent -k [2020-12-02T03:42:34.315Z] unset SSH_AUTH_SOCK; [2020-12-02T03:42:34.315Z] unset SSH_AGENT_PID; [2020-12-02T03:42:34.315Z] echo Agent pid 18 killed; [2020-12-02T03:42:34.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T03:42:34.926Z] + git semver [Pipeline] } [2020-12-02T03:42:34.955Z] $ docker stop --time=1 bf69abf6c06a4320520b0f71f732dac3b5a2dee345138756d5cc000456cf212f [2020-12-02T03:42:36.348Z] $ docker rm -f bf69abf6c06a4320520b0f71f732dac3b5a2dee345138756d5cc000456cf212f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:42:37.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T03:42:37.678Z] . [Pipeline] withDockerContainer [2020-12-02T03:42:37.780Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:42:37.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-02T03:42:38.618Z] $ docker top 49088a9765804f9a62679f7d996280ccf669c0226c0084bc4d6334ba0c371f56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T03:42:38.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T03:42:38.961Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T03:42:39.182Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T03:42:39.188Z] $ docker exec 49088a9765804f9a62679f7d996280ccf669c0226c0084bc4d6334ba0c371f56 ssh-agent [2020-12-02T03:42:39.364Z] SSH_AUTH_SOCK=/tmp/ssh-g2E8XEWKFbo0/agent.12 [2020-12-02T03:42:39.364Z] SSH_AGENT_PID=17 [2020-12-02T03:42:39.370Z] Running ssh-add (command line suppressed) [2020-12-02T03:42:39.502Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5009459291624161133.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5009459291624161133.key) [2020-12-02T03:42:39.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T03:42:39.901Z] + git semver push [2020-12-02T03:42:39.901Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T03:42:39.901Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-12-02T03:42:39.901Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-12-02T03:42:39.901Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T03:42:39.901Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T03:42:39.901Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T03:42:39.901Z] # $SEMVER_BRANCH = master [2020-12-02T03:42:39.901Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-12-02T03:42:46.517Z] $ docker exec --env ******** --env ******** 49088a9765804f9a62679f7d996280ccf669c0226c0084bc4d6334ba0c371f56 ssh-agent -k [2020-12-02T03:42:46.652Z] unset SSH_AUTH_SOCK; [2020-12-02T03:42:46.652Z] unset SSH_AGENT_PID; [2020-12-02T03:42:46.652Z] echo Agent pid 17 killed; [2020-12-02T03:42:46.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T03:42:47.192Z] + git semver [Pipeline] } [2020-12-02T03:42:47.212Z] $ docker stop --time=1 49088a9765804f9a62679f7d996280ccf669c0226c0084bc4d6334ba0c371f56 [2020-12-02T03:42:48.560Z] $ docker rm -f 49088a9765804f9a62679f7d996280ccf669c0226c0084bc4d6334ba0c371f56 [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-12-02T03:42:49.976Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:42:50.543Z] ---> package-listing.sh [2020-12-02T03:42:50.543Z] ++ facter osfamily [2020-12-02T03:42:50.543Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-02T03:42:50.543Z] + OS_FAMILY=redhat [2020-12-02T03:42:50.543Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2020-12-02T03:42:50.543Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-02T03:42:50.543Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-02T03:42:50.543Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-02T03:42:50.543Z] + PACKAGES=/tmp/packages_start.txt [2020-12-02T03:42:50.543Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-12-02T03:42:50.543Z] + PACKAGES=/tmp/packages_end.txt [2020-12-02T03:42:50.543Z] + case "${OS_FAMILY}" in [2020-12-02T03:42:50.543Z] + rpm -qa [2020-12-02T03:42:50.543Z] + sort [2020-12-02T03:42:55.849Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-02T03:42:55.849Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-02T03:42:55.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-02T03:42:55.849Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-12-02T03:42:55.849Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2020-12-02T03:42:55.849Z] + 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-12-02T03:42:55.863Z] 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-12-02T03:42:56.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:42:56.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T03:42:56.463Z] [2020-12-02T03:42:56.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-02T03:42:56.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T03:42:56.816Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-02T03:42:56.816Z] df20fa9351a1: Pulling fs layer [2020-12-02T03:42:56.816Z] 36b3adc4ff6f: Pulling fs layer [2020-12-02T03:42:56.816Z] 8ad3a11d3b57: Pulling fs layer [2020-12-02T03:42:56.816Z] 46f8f816bc3b: Pulling fs layer [2020-12-02T03:42:56.816Z] 93b61091891f: Pulling fs layer [2020-12-02T03:42:56.816Z] 93b9cdb0e59b: Pulling fs layer [2020-12-02T03:42:56.816Z] 5e14af77c1be: Pulling fs layer [2020-12-02T03:42:56.816Z] 01666e4c0597: Pulling fs layer [2020-12-02T03:42:56.816Z] aa168da1d23b: Pulling fs layer [2020-12-02T03:42:56.816Z] 93b9cdb0e59b: Waiting [2020-12-02T03:42:56.816Z] 46f8f816bc3b: Waiting [2020-12-02T03:42:56.816Z] 5e14af77c1be: Waiting [2020-12-02T03:42:56.816Z] 93b61091891f: Waiting [2020-12-02T03:42:56.816Z] 01666e4c0597: Waiting [2020-12-02T03:42:56.816Z] aa168da1d23b: Waiting [2020-12-02T03:42:56.816Z] 36b3adc4ff6f: Download complete [2020-12-02T03:42:56.816Z] 46f8f816bc3b: Verifying Checksum [2020-12-02T03:42:56.816Z] 46f8f816bc3b: Download complete [2020-12-02T03:42:57.080Z] df20fa9351a1: Verifying Checksum [2020-12-02T03:42:57.080Z] df20fa9351a1: Download complete [2020-12-02T03:42:57.080Z] 93b61091891f: Verifying Checksum [2020-12-02T03:42:57.080Z] 93b61091891f: Download complete [2020-12-02T03:42:57.080Z] 93b9cdb0e59b: Verifying Checksum [2020-12-02T03:42:57.080Z] 93b9cdb0e59b: Download complete [2020-12-02T03:42:57.080Z] 5e14af77c1be: Download complete [2020-12-02T03:42:57.080Z] 01666e4c0597: Verifying Checksum [2020-12-02T03:42:57.080Z] 01666e4c0597: Download complete [2020-12-02T03:42:57.080Z] 8ad3a11d3b57: Verifying Checksum [2020-12-02T03:42:57.080Z] 8ad3a11d3b57: Download complete [2020-12-02T03:42:57.343Z] df20fa9351a1: Pull complete [2020-12-02T03:42:57.610Z] 36b3adc4ff6f: Pull complete [2020-12-02T03:42:58.192Z] 8ad3a11d3b57: Pull complete [2020-12-02T03:42:58.453Z] 46f8f816bc3b: Pull complete [2020-12-02T03:42:59.032Z] 93b61091891f: Pull complete [2020-12-02T03:42:59.296Z] 93b9cdb0e59b: Pull complete [2020-12-02T03:42:59.296Z] 5e14af77c1be: Pull complete [2020-12-02T03:42:59.560Z] 01666e4c0597: Pull complete [2020-12-02T03:43:01.490Z] aa168da1d23b: Verifying Checksum [2020-12-02T03:43:01.490Z] aa168da1d23b: Download complete [2020-12-02T03:43:08.129Z] aa168da1d23b: Pull complete [2020-12-02T03:43:08.129Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-02T03:43:08.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T03:43:08.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-02T03:43:08.282Z] prd-centos7-docker-4c-2g-14110 does not seem to be running inside a container [2020-12-02T03:43:08.329Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-02T03:43:11.342Z] $ docker top c2013dd268805e2ba4c962c919e356e7b9763d06eddde97346cb06c839eec183 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T03:43:11.896Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-02T03:43:12.195Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-02T03:43:12.496Z] + ls /var/log/sa-host [2020-12-02T03:43:12.496Z] + sadf -c /var/log/sa-host/sa02 [2020-12-02T03:43:12.496Z] file_magic: OK [2020-12-02T03:43:12.496Z] HZ: Using current value: 100 [2020-12-02T03:43:12.496Z] file_header: OK [2020-12-02T03:43:12.496Z] 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-12-02T03:43:12.496Z] Statistics: [2020-12-02T03:43:12.496Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-02T03:43:12.496Z] File successfully converted to sysstat format version 12.2.1 [2020-12-02T03:43:12.496Z] + sadf -c /var/log/sa-host/sa23 [2020-12-02T03:43:12.496Z] file_magic: OK [2020-12-02T03:43:12.496Z] HZ: Using current value: 100 [2020-12-02T03:43:12.496Z] file_header: OK [2020-12-02T03:43:12.496Z] 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-12-02T03:43:12.496Z] Statistics: [2020-12-02T03:43:12.496Z] Hnuu...uuuununununu... [2020-12-02T03:43:12.496Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T03:43:12.711Z] provisioning config files... [2020-12-02T03:43:12.725Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2980027926585818085tmp [Pipeline] { [Pipeline] echo [2020-12-02T03:43:12.809Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:43:13.107Z] ---> create-netrc.sh [Pipeline] } [2020-12-02T03:43:13.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-02T03:43:13.209Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:43:13.507Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-02T03:43:13.518Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:43:13.813Z] ---> sudo-logs.sh [2020-12-02T03:43:13.813Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-02T03:43:13.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:43:14.363Z] ---> job-cost.sh [2020-12-02T03:43:14.363Z] lf-activate-venv: SKIPPING [2020-12-02T03:43:14.363Z] INFO: No Stack... [2020-12-02T03:43:15.755Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-02T03:43:16.335Z] INFO: Archiving Costs [Pipeline] echo [2020-12-02T03:43:16.349Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T03:43:16.644Z] ---> logs-deploy.sh [2020-12-02T03:43:16.644Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/34 [2020-12-02T03:43:16.644Z] INFO: archiving workspace using pattern(s): [2020-12-02T03:43:18.562Z] Archives upload complete. [2020-12-02T03:43:18.562Z] INFO: archiving logs to Nexus