Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30320 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 aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 Commit message: "Merge pull request #169 from hahattan/issue-166" > git rev-list --no-walk 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-18T18:26:51.916Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-18T18:26:52.282Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T18:26:52.380Z] ========================================================= [2021-03-18T18:26:52.380Z] EdgeX Global Pipelines Version Info [2021-03-18T18:26:52.380Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:26:53.856Z] ------------------- [2021-03-18T18:26:53.856Z] stable info: [2021-03-18T18:26:53.856Z] ------------------- [2021-03-18T18:26:53.857Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T18:26:53.857Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T18:26:53.857Z] Message: update stable to v1.0.186 [2021-03-18T18:26:54.803Z] ------------------- [2021-03-18T18:26:54.803Z] experimental info: [2021-03-18T18:26:54.803Z] ------------------- [2021-03-18T18:26:54.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T18:26:54.803Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T18:26:54.803Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T18:26:55.075Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-18T18:26:55.185Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-18T18:26:55.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T18:26:55.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T18:26:55.480Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T18:26:55.571Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T18:26:55.675Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T18:26:55.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T18:26:55.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-18T18:26:56.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T18:26:56.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T18:26:56.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-18T18:26:56.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T18:26:56.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T18:26:56.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T18:26:56.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T18:26:56.931Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:26:57.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:26:57.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T18:26:57.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T18:26:57.455Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-18T18:26:57.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-18T18:26:57.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T18:26:57.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T18:26:57.848Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-18T18:26:57.939Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T18:26:58.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-18T18:26:58.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-18T18:26:58.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-18T18:26:58.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] echo [2021-03-18T18:26:58.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aba50ff [Pipeline] echo [2021-03-18T18:26:58.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T18:26:58.664Z] provisioning config files... [2021-03-18T18:26:58.704Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7070010260847509095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:26:59.089Z] ---> docker-login.sh [2021-03-18T18:26:59.089Z] nexus3.edgexfoundry.org:10001 [2021-03-18T18:26:59.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:26:59.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:26:59.611Z] Configure a credential helper to remove this warning. See [2021-03-18T18:26:59.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:26:59.612Z] [2021-03-18T18:26:59.612Z] Login Succeeded [2021-03-18T18:26:59.612Z] nexus3.edgexfoundry.org:10002 [2021-03-18T18:26:59.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:26:59.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:26:59.612Z] Configure a credential helper to remove this warning. See [2021-03-18T18:26:59.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:26:59.612Z] [2021-03-18T18:26:59.612Z] Login Succeeded [2021-03-18T18:26:59.612Z] nexus3.edgexfoundry.org:10003 [2021-03-18T18:26:59.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:26:59.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:26:59.875Z] Configure a credential helper to remove this warning. See [2021-03-18T18:26:59.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:26:59.875Z] [2021-03-18T18:26:59.875Z] Login Succeeded [2021-03-18T18:26:59.875Z] nexus3.edgexfoundry.org:10004 [2021-03-18T18:26:59.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:27:00.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:27:00.136Z] Configure a credential helper to remove this warning. See [2021-03-18T18:27:00.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:27:00.136Z] [2021-03-18T18:27:00.136Z] Login Succeeded [2021-03-18T18:27:00.136Z] docker.io [2021-03-18T18:27:00.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:27:00.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:27:00.398Z] Configure a credential helper to remove this warning. See [2021-03-18T18:27:00.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:27:00.398Z] [2021-03-18T18:27:00.398Z] Login Succeeded [2021-03-18T18:27:00.398Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T18:27:00.408Z] 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 [2021-03-18T18:27:01.363Z] + git log --format=format:%s -1 aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] echo [2021-03-18T18:27:01.429Z] GIT_COMMIT: aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f, Commit Message: Merge pull request #169 from hahattan/issue-166 [Pipeline] echo [2021-03-18T18:27:01.475Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:27:02.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:27:02.120Z] [2021-03-18T18:27:02.120Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:27:02.471Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:27:02.471Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T18:27:02.471Z] 31603596830f: Pulling fs layer [2021-03-18T18:27:02.471Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T18:27:02.471Z] 6ca5941a6612: Pulling fs layer [2021-03-18T18:27:02.471Z] ecc8261a40a4: Pulling fs layer [2021-03-18T18:27:02.471Z] ecc8261a40a4: Waiting [2021-03-18T18:27:02.471Z] 2a8b12db71e7: Verifying Checksum [2021-03-18T18:27:02.471Z] 2a8b12db71e7: Download complete [2021-03-18T18:27:02.471Z] 31603596830f: Verifying Checksum [2021-03-18T18:27:02.471Z] 31603596830f: Download complete [2021-03-18T18:27:02.734Z] ecc8261a40a4: Verifying Checksum [2021-03-18T18:27:02.734Z] ecc8261a40a4: Download complete [2021-03-18T18:27:02.734Z] 6ca5941a6612: Verifying Checksum [2021-03-18T18:27:02.734Z] 6ca5941a6612: Download complete [2021-03-18T18:27:03.005Z] 31603596830f: Pull complete [2021-03-18T18:27:03.006Z] 2a8b12db71e7: Pull complete [2021-03-18T18:27:03.961Z] 6ca5941a6612: Pull complete [2021-03-18T18:27:04.224Z] ecc8261a40a4: Pull complete [2021-03-18T18:27:04.224Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T18:27:04.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:27:04.224Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T18:27:04.347Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:27:04.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:27:06.643Z] $ docker top 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:27:07.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:27:07.029Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:27:07.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:27:07.263Z] $ docker exec 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d ssh-agent [2021-03-18T18:27:07.580Z] SSH_AUTH_SOCK=/tmp/ssh-bzBVsmfI20O8/agent.11 [2021-03-18T18:27:07.580Z] SSH_AGENT_PID=16 [2021-03-18T18:27:07.668Z] Running ssh-add (command line suppressed) [2021-03-18T18:27:07.792Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_708576211332781426.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_708576211332781426.key) [2021-03-18T18:27:07.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:27:08.217Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T18:27:08.246Z] $ docker exec --env ******** --env ******** 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d ssh-agent -k [2021-03-18T18:27:08.364Z] unset SSH_AUTH_SOCK; [2021-03-18T18:27:08.364Z] unset SSH_AGENT_PID; [2021-03-18T18:27:08.364Z] echo Agent pid 16 killed; [2021-03-18T18:27:08.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T18:27:08.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:27:08.560Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:27:08.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:27:08.746Z] $ docker exec 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d ssh-agent [2021-03-18T18:27:08.904Z] SSH_AUTH_SOCK=/tmp/ssh-y22YiDbIVEhI/agent.46 [2021-03-18T18:27:08.904Z] SSH_AGENT_PID=52 [2021-03-18T18:27:08.911Z] Running ssh-add (command line suppressed) [2021-03-18T18:27:09.037Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4168781484892028872.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4168781484892028872.key) [2021-03-18T18:27:09.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:27:09.438Z] + git semver init [2021-03-18T18:27:09.438Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:27:09.438Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-18T18:27:09.438Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-18T18:27:09.438Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:27:09.438Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:27:09.438Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:27:09.438Z] # $SEMVER_BRANCH = master [2021-03-18T18:27:09.438Z] # $SEMVER_TEMP = /tmp/semver-493325195 [2021-03-18T18:27:09.438Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-18T18:27:09.702Z] # '/tmp/semver-493325195' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-03-18T18:27:09.702Z] # -> Force: false [2021-03-18T18:27:09.702Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-03-18T18:27:09.719Z] $ docker exec --env ******** --env ******** 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d ssh-agent -k [2021-03-18T18:27:09.829Z] unset SSH_AUTH_SOCK; [2021-03-18T18:27:09.829Z] unset SSH_AGENT_PID; [2021-03-18T18:27:09.829Z] echo Agent pid 52 killed; [2021-03-18T18:27:09.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:27:10.610Z] + git semver [Pipeline] } [2021-03-18T18:27:10.685Z] $ docker stop --time=1 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d [2021-03-18T18:27:12.038Z] $ docker rm -f 6ae76bd3e85cfbdd905f4c6078c86489fee4b69d0e82774f9f0f268891b9f84d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T18:27:12.600Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T18:27:13.103Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T18:27:13.105Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-18T18:27:28.616Z] Still waiting to schedule task [2021-03-18T18:27:28.616Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30320’ [2021-03-18T18:27:28.618Z] Still waiting to schedule task [2021-03-18T18:27:28.618Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-18T18:29:09.009Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30321 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-03-18T18:29:09.061Z] Running in /w/workspace/device-virtual-go/41 [Pipeline] { [Pipeline] checkout [2021-03-18T18:29:14.532Z] using credential edgex-jenkins-ssh [2021-03-18T18:29:14.584Z] Cloning the remote Git repository [2021-03-18T18:29:14.644Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:14.766Z] > git init /w/workspace/device-virtual-go/41 # timeout=10 [2021-03-18T18:29:14.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:14.865Z] > git --version # timeout=10 [2021-03-18T18:29:14.891Z] > git --version # 'git version 2.17.1' [2021-03-18T18:29:14.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:29:14.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:29:16.329Z] Checking out Revision aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f (master) [2021-03-18T18:29:15.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T18:29:15.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:29:15.819Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T18:29:15.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:15.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:29:15.871Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T18:29:16.354Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T18:29:16.381Z] > git checkout -f aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [2021-03-18T18:29:20.843Z] Commit message: "Merge pull request #169 from hahattan/issue-166" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:29:22.363Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:29:22.790Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:29:23.197Z] + + sudo service dockertrue restart [2021-03-18T18:29:23.197Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T18:29:25.990Z] provisioning config files... [2021-03-18T18:29:26.048Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/41@tmp/config2922564853039712033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:29:26.473Z] ---> docker-login.sh [2021-03-18T18:29:26.473Z] nexus3.edgexfoundry.org:10001 [2021-03-18T18:29:27.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:27.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:27.736Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:27.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:27.736Z] [2021-03-18T18:29:27.736Z] Login Succeeded [2021-03-18T18:29:27.736Z] nexus3.edgexfoundry.org:10002 [2021-03-18T18:29:28.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:28.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:28.285Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:28.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:28.285Z] [2021-03-18T18:29:28.285Z] Login Succeeded [2021-03-18T18:29:28.285Z] nexus3.edgexfoundry.org:10003 [2021-03-18T18:29:28.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:28.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:28.847Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:28.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:28.847Z] [2021-03-18T18:29:28.847Z] Login Succeeded [2021-03-18T18:29:28.847Z] nexus3.edgexfoundry.org:10004 [2021-03-18T18:29:28.859Z] Running on prd-centos7-docker-4c-2g-30324 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-03-18T18:29:28.993Z] Running in /w/workspace/device-virtual-go/41 [Pipeline] { [Pipeline] checkout [2021-03-18T18:29:29.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:29.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:29.403Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:29.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:29.403Z] [2021-03-18T18:29:29.403Z] Login Succeeded [2021-03-18T18:29:29.403Z] docker.io [2021-03-18T18:29:29.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:30.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:30.012Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:30.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:30.012Z] [2021-03-18T18:29:30.012Z] Login Succeeded [2021-03-18T18:29:30.012Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T18:29:30.031Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T18:29:30.591Z] ========================================================= [2021-03-18T18:29:30.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T18:29:30.591Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:29:30.994Z] + 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 . [2021-03-18T18:29:31.275Z] Sending build context to Docker daemon 472.1kB [2021-03-18T18:29:31.276Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:29:31.276Z] Step 2/8 : FROM ${BASE} [2021-03-18T18:29:31.579Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T18:29:31.579Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T18:29:31.579Z] a4357932f1b6: Pulling fs layer [2021-03-18T18:29:31.579Z] 18c013af1878: Pulling fs layer [2021-03-18T18:29:31.579Z] 00ac8860ef70: Pulling fs layer [2021-03-18T18:29:31.579Z] 63d7cb157983: Pulling fs layer [2021-03-18T18:29:31.579Z] b116817d02f9: Pulling fs layer [2021-03-18T18:29:31.579Z] 745a02a5169b: Pulling fs layer [2021-03-18T18:29:31.579Z] 63d7cb157983: Waiting [2021-03-18T18:29:31.579Z] b116817d02f9: Waiting [2021-03-18T18:29:31.579Z] 00ac8860ef70: Waiting [2021-03-18T18:29:31.579Z] 745a02a5169b: Waiting [2021-03-18T18:29:31.579Z] 18c013af1878: Verifying Checksum [2021-03-18T18:29:31.579Z] 18c013af1878: Download complete [2021-03-18T18:29:31.579Z] a4357932f1b6: Verifying Checksum [2021-03-18T18:29:31.579Z] a4357932f1b6: Download complete [2021-03-18T18:29:31.861Z] 63d7cb157983: Verifying Checksum [2021-03-18T18:29:31.861Z] 63d7cb157983: Download complete [2021-03-18T18:29:31.861Z] b116817d02f9: Verifying Checksum [2021-03-18T18:29:31.861Z] b116817d02f9: Download complete [2021-03-18T18:29:31.861Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T18:29:31.861Z] 5f621e34cdf4: Download complete [2021-03-18T18:29:31.911Z] using credential edgex-jenkins-ssh [2021-03-18T18:29:31.976Z] Cloning the remote Git repository [2021-03-18T18:29:32.003Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:32.082Z] > git init /w/workspace/device-virtual-go/41 # timeout=10 [2021-03-18T18:29:32.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:32.151Z] > git --version # timeout=10 [2021-03-18T18:29:32.159Z] > git --version # 'git version 2.24.3' [2021-03-18T18:29:32.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:29:32.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:29:32.857Z] 5f621e34cdf4: Pull complete [2021-03-18T18:29:33.174Z] Checking out Revision aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f (master) [2021-03-18T18:29:33.488Z] a4357932f1b6: Pull complete [2021-03-18T18:29:33.762Z] 18c013af1878: Pull complete [2021-03-18T18:29:32.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T18:29:32.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:29:32.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-18T18:29:32.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-18T18:29:32.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:29:32.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T18:29:33.182Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T18:29:33.188Z] > git checkout -f aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [2021-03-18T18:29:34.361Z] 745a02a5169b: Verifying Checksum [2021-03-18T18:29:34.361Z] 745a02a5169b: Download complete [2021-03-18T18:29:35.347Z] 00ac8860ef70: Verifying Checksum [2021-03-18T18:29:35.347Z] 00ac8860ef70: Download complete [2021-03-18T18:29:36.796Z] Commit message: "Merge pull request #169 from hahattan/issue-166" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:29:38.167Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:29:38.525Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:29:38.843Z] + true [2021-03-18T18:29:38.844Z] + sudo service docker restart [2021-03-18T18:29:38.844Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T18:29:39.859Z] provisioning config files... [2021-03-18T18:29:39.904Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/41@tmp/config5427539884687897681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:29:40.285Z] ---> docker-login.sh [2021-03-18T18:29:40.285Z] nexus3.edgexfoundry.org:10001 [2021-03-18T18:29:40.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:40.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:40.549Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:40.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:40.549Z] [2021-03-18T18:29:40.549Z] Login Succeeded [2021-03-18T18:29:40.549Z] nexus3.edgexfoundry.org:10002 [2021-03-18T18:29:40.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:40.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:40.810Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:40.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:40.810Z] [2021-03-18T18:29:40.810Z] Login Succeeded [2021-03-18T18:29:40.810Z] nexus3.edgexfoundry.org:10003 [2021-03-18T18:29:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:41.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:41.074Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:41.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:41.074Z] [2021-03-18T18:29:41.074Z] Login Succeeded [2021-03-18T18:29:41.074Z] nexus3.edgexfoundry.org:10004 [2021-03-18T18:29:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:41.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:41.335Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:41.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:41.335Z] [2021-03-18T18:29:41.335Z] Login Succeeded [2021-03-18T18:29:41.335Z] docker.io [2021-03-18T18:29:41.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:29:41.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:29:41.599Z] Configure a credential helper to remove this warning. See [2021-03-18T18:29:41.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:29:41.599Z] [2021-03-18T18:29:41.599Z] Login Succeeded [2021-03-18T18:29:41.599Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T18:29:41.609Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T18:29:41.947Z] ========================================================= [2021-03-18T18:29:41.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T18:29:41.947Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:29:42.295Z] + 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 . [2021-03-18T18:29:42.295Z] Sending build context to Docker daemon 473.1kB [2021-03-18T18:29:42.295Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:29:42.295Z] Step 2/8 : FROM ${BASE} [2021-03-18T18:29:42.561Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T18:29:42.561Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T18:29:42.561Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T18:29:42.561Z] de9db76c5a1d: Pulling fs layer [2021-03-18T18:29:42.561Z] bca2f99d35d6: Pulling fs layer [2021-03-18T18:29:42.561Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T18:29:42.561Z] 7c6f9722023f: Pulling fs layer [2021-03-18T18:29:42.561Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T18:29:42.561Z] bca2f99d35d6: Waiting [2021-03-18T18:29:42.561Z] 7c6f9722023f: Waiting [2021-03-18T18:29:42.561Z] 93359f2a8cfa: Waiting [2021-03-18T18:29:42.561Z] a35cf1a2eb13: Waiting [2021-03-18T18:29:42.561Z] de9db76c5a1d: Verifying Checksum [2021-03-18T18:29:42.561Z] de9db76c5a1d: Download complete [2021-03-18T18:29:42.561Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T18:29:42.561Z] 0ef7d3d256c8: Download complete [2021-03-18T18:29:42.561Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T18:29:42.561Z] 93359f2a8cfa: Download complete [2021-03-18T18:29:42.561Z] 7c6f9722023f: Verifying Checksum [2021-03-18T18:29:42.561Z] 7c6f9722023f: Download complete [2021-03-18T18:29:42.561Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T18:29:42.561Z] 188c0c94c7c5: Download complete [2021-03-18T18:29:42.837Z] 188c0c94c7c5: Pull complete [2021-03-18T18:29:43.104Z] 0ef7d3d256c8: Pull complete [2021-03-18T18:29:43.368Z] de9db76c5a1d: Pull complete [2021-03-18T18:29:44.329Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T18:29:44.329Z] a35cf1a2eb13: Download complete [2021-03-18T18:29:44.910Z] bca2f99d35d6: Verifying Checksum [2021-03-18T18:29:44.910Z] bca2f99d35d6: Download complete [2021-03-18T18:29:45.528Z] 00ac8860ef70: Pull complete [2021-03-18T18:29:45.528Z] 63d7cb157983: Pull complete [2021-03-18T18:29:45.804Z] b116817d02f9: Pull complete [2021-03-18T18:29:50.115Z] 745a02a5169b: Pull complete [2021-03-18T18:29:50.115Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T18:29:50.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T18:29:50.115Z] ---> b7e6874047d6 [2021-03-18T18:29:50.115Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-18T18:29:51.554Z] bca2f99d35d6: Pull complete [2021-03-18T18:29:51.555Z] 93359f2a8cfa: Pull complete [2021-03-18T18:29:51.555Z] 7c6f9722023f: Pull complete [2021-03-18T18:29:52.988Z] ---> Running in 7ef26799f757 [2021-03-18T18:29:52.988Z] Removing intermediate container 7ef26799f757 [2021-03-18T18:29:52.988Z] ---> 98f97f121821 [2021-03-18T18:29:52.988Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T18:29:53.261Z] ---> Running in c59fa4cb3455 [2021-03-18T18:29:54.987Z] a35cf1a2eb13: Pull complete [2021-03-18T18:29:54.987Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T18:29:54.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T18:29:54.987Z] ---> a62c8e92a672 [2021-03-18T18:29:54.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-18T18:29:55.245Z] Removing intermediate container c59fa4cb3455 [2021-03-18T18:29:55.245Z] ---> c0893e6b65a2 [2021-03-18T18:29:55.245Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-18T18:29:55.256Z] ---> Running in a5610cbf5157 [2021-03-18T18:29:55.520Z] ---> Running in a80d8fa17240 [2021-03-18T18:29:55.524Z] Removing intermediate container a5610cbf5157 [2021-03-18T18:29:55.524Z] ---> ea7f6a60cd1f [2021-03-18T18:29:55.524Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T18:29:55.524Z] ---> Running in 94c304e4cfab [2021-03-18T18:29:56.491Z] Removing intermediate container 94c304e4cfab [2021-03-18T18:29:56.491Z] ---> c8b32b4541a0 [2021-03-18T18:29:56.491Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-18T18:29:56.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T18:29:56.761Z] ---> Running in d8bced599c11 [2021-03-18T18:29:57.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T18:29:57.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T18:29:58.090Z] (1/14) Installing libmagic (5.38-r0) [2021-03-18T18:29:58.090Z] (2/14) Installing file (5.38-r0) [2021-03-18T18:29:58.316Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T18:29:58.363Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-18T18:29:58.363Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-18T18:29:58.897Z] (1/14) Installing libmagic (5.38-r0) [2021-03-18T18:29:59.162Z] (2/14) Installing file (5.38-r0) [2021-03-18T18:29:59.162Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-18T18:29:59.162Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-18T18:30:03.742Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-18T18:30:03.742Z] (6/14) Installing patch (2.7.6-r6) [2021-03-18T18:30:03.742Z] (7/14) Installing build-base (0.5-r2) [2021-03-18T18:30:03.742Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-18T18:30:03.742Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-18T18:30:03.742Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-18T18:30:04.016Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-18T18:30:04.016Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-18T18:30:04.290Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-18T18:30:04.290Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-18T18:30:04.562Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T18:30:04.562Z] OK: 221 MiB in 53 packages [2021-03-18T18:30:05.789Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-18T18:30:05.789Z] (6/14) Installing patch (2.7.6-r6) [2021-03-18T18:30:05.789Z] (7/14) Installing build-base (0.5-r2) [2021-03-18T18:30:05.789Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-18T18:30:05.789Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-18T18:30:05.789Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-18T18:30:05.789Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-18T18:30:05.789Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-18T18:30:05.789Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-18T18:30:06.052Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-18T18:30:06.052Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T18:30:06.052Z] OK: 237 MiB in 53 packages [2021-03-18T18:30:08.904Z] Removing intermediate container a80d8fa17240 [2021-03-18T18:30:08.904Z] ---> 17331f6acd20 [2021-03-18T18:30:08.904Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-18T18:30:08.904Z] ---> Running in 656c82f52eb2 [2021-03-18T18:30:08.904Z] Removing intermediate container 656c82f52eb2 [2021-03-18T18:30:08.904Z] ---> 7d05c05b6f43 [2021-03-18T18:30:08.904Z] Step 7/8 : COPY . . [2021-03-18T18:30:09.923Z] ---> 4b5d32674faf [2021-03-18T18:30:09.923Z] Step 8/8 : RUN go mod download [2021-03-18T18:30:09.923Z] ---> Running in f5f978e0af32 [2021-03-18T18:30:10.296Z] Removing intermediate container d8bced599c11 [2021-03-18T18:30:10.296Z] ---> ab0611ac4ba6 [2021-03-18T18:30:10.296Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-18T18:30:10.296Z] ---> Running in 4375d86aec36 [2021-03-18T18:30:10.296Z] Removing intermediate container 4375d86aec36 [2021-03-18T18:30:10.296Z] ---> 9d14eca66267 [2021-03-18T18:30:10.296Z] Step 7/8 : COPY . . [2021-03-18T18:30:10.876Z] ---> 99baf971b512 [2021-03-18T18:30:10.876Z] Step 8/8 : RUN go mod download [2021-03-18T18:30:10.876Z] ---> Running in 4faa944a5306 [2021-03-18T18:30:32.931Z] Removing intermediate container 4faa944a5306 [2021-03-18T18:30:32.931Z] ---> c49d3d8c91f0 [2021-03-18T18:30:32.931Z] Successfully built c49d3d8c91f0 [2021-03-18T18:30:32.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:30:33.259Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T18:30:33.259Z] . [Pipeline] withDockerContainer [2021-03-18T18:30:33.376Z] prd-centos7-docker-4c-2g-30324 does not seem to be running inside a container [2021-03-18T18:30:33.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/41 -v /w/workspace/device-virtual-go/41:/w/workspace/device-virtual-go/41:rw,z -v /w/workspace/device-virtual-go/41@tmp:/w/workspace/device-virtual-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T18:30:34.290Z] $ docker top ec47b6026c7d43ed1a397610424d25a1b98bdab64f0083952878b06ea2f939a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:30:34.817Z] + go version [2021-03-18T18:30:34.818Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T18:30:34.834Z] $ docker stop --time=1 ec47b6026c7d43ed1a397610424d25a1b98bdab64f0083952878b06ea2f939a5 [2021-03-18T18:30:36.267Z] $ docker rm -f ec47b6026c7d43ed1a397610424d25a1b98bdab64f0083952878b06ea2f939a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-03-18T18:30:36.774Z] Removing intermediate container f5f978e0af32 [2021-03-18T18:30:36.774Z] ---> 623e71e9614d [2021-03-18T18:30:36.774Z] Successfully built 623e71e9614d [2021-03-18T18:30:36.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:30:37.108Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T18:30:37.108Z] . [Pipeline] withDockerContainer [2021-03-18T18:30:37.218Z] prd-centos7-docker-4c-2g-30324 does not seem to be running inside a container [2021-03-18T18:30:37.239Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T18:30:37.239Z] . [2021-03-18T18:30:37.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/41 -v /w/workspace/device-virtual-go/41:/w/workspace/device-virtual-go/41:rw,z -v /w/workspace/device-virtual-go/41@tmp:/w/workspace/device-virtual-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T18:30:38.031Z] $ docker top 168fccf55a80c704afb06e21ce3c0236cd6f45a461a05d13625462adfc9af4c1 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-18T18:30:38.531Z] prd-ubuntu18.04-docker-arm64-4c-16g-30321 does not seem to be running inside a container [2021-03-18T18:30:38.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/41 -v /w/workspace/device-virtual-go/41:/w/workspace/device-virtual-go/41:rw,z -v /w/workspace/device-virtual-go/41@tmp:/w/workspace/device-virtual-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T18:30:40.068Z] $ docker top c737baccdbb8853844cc2a053bc8a57f823cb86bef8979db40e5cb8c667bce07 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-18T18:30:40.823Z] + make test [2021-03-18T18:30:40.823Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-18T18:30:41.197Z] + go version [2021-03-18T18:30:41.197Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-18T18:30:41.233Z] $ docker stop --time=1 c737baccdbb8853844cc2a053bc8a57f823cb86bef8979db40e5cb8c667bce07 [2021-03-18T18:30:42.246Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-18T18:30:43.103Z] $ docker rm -f c737baccdbb8853844cc2a053bc8a57f823cb86bef8979db40e5cb8c667bce07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:30:44.118Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T18:30:44.118Z] . [Pipeline] withDockerContainer [2021-03-18T18:30:44.381Z] prd-ubuntu18.04-docker-arm64-4c-16g-30321 does not seem to be running inside a container [2021-03-18T18:30:44.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/41 -v /w/workspace/device-virtual-go/41:/w/workspace/device-virtual-go/41:rw,z -v /w/workspace/device-virtual-go/41@tmp:/w/workspace/device-virtual-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T18:30:45.967Z] $ docker top 406107468c23a6634604db4d6b0a0508f8dc38143cb794a64739634352964a15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:30:47.007Z] + make test [2021-03-18T18:30:47.007Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-18T18:30:48.454Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-18T18:31:00.575Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-18T18:31:00.576Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.405s coverage: 63.8% of statements [2021-03-18T18:31:00.576Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-18T18:31:03.234Z] gofmt -l . [2021-03-18T18:31:03.234Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:31:03.234Z] ./bin/test-attribution-txt.sh [2021-03-18T18:31:03.850Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T18:31:04.139Z] $ docker stop --time=1 168fccf55a80c704afb06e21ce3c0236cd6f45a461a05d13625462adfc9af4c1 [2021-03-18T18:31:06.052Z] $ docker rm -f 168fccf55a80c704afb06e21ce3c0236cd6f45a461a05d13625462adfc9af4c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T18:31:06.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T18:31:07.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-18T18:31:09.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T18:31:10.218Z] + ls -al . [2021-03-18T18:31:10.218Z] total 128 [2021-03-18T18:31:10.218Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 18 18:31 . [2021-03-18T18:31:10.218Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 18 18:29 .. [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 18 18:29 Attribution.txt [2021-03-18T18:31:10.218Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 18:29 bin [2021-03-18T18:31:10.218Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 18 18:29 cmd [2021-03-18T18:31:10.218Z] -rw-r--r--. 1 jenkins jenkins 47247 Mar 18 18:30 coverage.out [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 18 18:29 Dockerfile [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 18 18:29 Dockerfile.build [2021-03-18T18:31:10.218Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 18 18:29 .git [2021-03-18T18:31:10.218Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 18:29 .github [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 18 18:29 .gitignore [2021-03-18T18:31:10.218Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 18 18:31 go.mod [2021-03-18T18:31:10.218Z] -rw-r--r--. 1 jenkins jenkins 20118 Mar 18 18:31 go.sum [2021-03-18T18:31:10.218Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 18 18:29 internal [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 18 18:29 Jenkinsfile [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 18 18:29 LICENSE [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 18 18:29 Makefile [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 18 18:29 README.md [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 11 Mar 18 18:27 VERSION [2021-03-18T18:31:10.218Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 18 18:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:10.531Z] + 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=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f --label arch=amd64 --label version=1.3.2-dev.2 . [2021-03-18T18:31:10.531Z] Sending build context to Docker daemon 542.2kB [2021-03-18T18:31:10.531Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:31:10.531Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-18T18:31:10.531Z] ---> c49d3d8c91f0 [2021-03-18T18:31:10.531Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-18T18:31:10.795Z] ---> Running in 7271968db2c0 [2021-03-18T18:31:11.059Z] Removing intermediate container 7271968db2c0 [2021-03-18T18:31:11.059Z] ---> 9ec59014e3c4 [2021-03-18T18:31:11.059Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-18T18:31:11.059Z] ---> Running in e44d2d30b208 [2021-03-18T18:31:11.059Z] Removing intermediate container e44d2d30b208 [2021-03-18T18:31:11.059Z] ---> 7460b79d2aed [2021-03-18T18:31:11.059Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-18T18:31:11.321Z] ---> Running in 44d56d1a129b [2021-03-18T18:31:11.321Z] Removing intermediate container 44d56d1a129b [2021-03-18T18:31:11.321Z] ---> 5fcab8c88af1 [2021-03-18T18:31:11.321Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T18:31:11.321Z] ---> Running in 48928fa3bb43 [2021-03-18T18:31:12.287Z] Removing intermediate container 48928fa3bb43 [2021-03-18T18:31:12.287Z] ---> f2bb95984a04 [2021-03-18T18:31:12.287Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-18T18:31:12.287Z] ---> Running in 909a4dad2e6c [2021-03-18T18:31:12.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T18:31:13.443Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T18:31:14.026Z] OK: 237 MiB in 53 packages [2021-03-18T18:31:14.289Z] Removing intermediate container 909a4dad2e6c [2021-03-18T18:31:14.289Z] ---> dddf7cb885dc [2021-03-18T18:31:14.289Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-18T18:31:14.552Z] ---> Running in 2a319d5d1681 [2021-03-18T18:31:14.552Z] Removing intermediate container 2a319d5d1681 [2021-03-18T18:31:14.552Z] ---> 9528a416b33c [2021-03-18T18:31:14.552Z] Step 9/22 : COPY . . [2021-03-18T18:31:15.506Z] ---> d17874e54d16 [2021-03-18T18:31:15.506Z] Step 10/22 : ARG MAKE='make build' [2021-03-18T18:31:15.506Z] ---> Running in 33c006ea4908 [2021-03-18T18:31:15.771Z] Removing intermediate container 33c006ea4908 [2021-03-18T18:31:15.771Z] ---> 2ca52fc1d197 [2021-03-18T18:31:15.771Z] Step 11/22 : RUN $MAKE [2021-03-18T18:31:15.771Z] ---> Running in 8878287ce912 [2021-03-18T18:31:16.368Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.2" -o cmd/device-virtual ./cmd [2021-03-18T18:31:31.476Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-18T18:31:32.879Z] Removing intermediate container 8878287ce912 [2021-03-18T18:31:32.879Z] ---> 9edd41c94c2e [2021-03-18T18:31:32.879Z] Step 12/22 : FROM alpine:3.12 [2021-03-18T18:31:33.455Z] 3.12: Pulling from library/alpine [2021-03-18T18:31:33.455Z] f84cab65f19f: Pulling fs layer [2021-03-18T18:31:33.719Z] f84cab65f19f: Verifying Checksum [2021-03-18T18:31:33.719Z] f84cab65f19f: Download complete [2021-03-18T18:31:33.719Z] f84cab65f19f: Pull complete [2021-03-18T18:31:33.986Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-18T18:31:33.986Z] Status: Downloaded newer image for alpine:3.12 [2021-03-18T18:31:33.986Z] ---> 88dd2752d2ea [2021-03-18T18:31:33.986Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-18T18:31:33.986Z] ---> Running in 26a97692547d [2021-03-18T18:31:34.255Z] Removing intermediate container 26a97692547d [2021-03-18T18:31:34.255Z] ---> d145ed649bba [2021-03-18T18:31:34.255Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-18T18:31:34.255Z] ---> Running in d9ebfb249c4b [2021-03-18T18:31:34.255Z] Removing intermediate container d9ebfb249c4b [2021-03-18T18:31:34.255Z] ---> 1bec5d05ae1a [2021-03-18T18:31:34.255Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-18T18:31:34.832Z] ---> 946fe71072e2 [2021-03-18T18:31:34.832Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-18T18:31:35.094Z] ---> 13bb30078644 [2021-03-18T18:31:35.094Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-18T18:31:35.356Z] ---> 9f8d79075a3a [2021-03-18T18:31:35.356Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-18T18:31:35.356Z] ---> Running in 55b6d2deafda [2021-03-18T18:31:35.577Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-18T18:31:35.577Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.459s coverage: 63.8% of statements [2021-03-18T18:31:35.577Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-18T18:31:35.620Z] Removing intermediate container 55b6d2deafda [2021-03-18T18:31:35.620Z] ---> 524627feb9ee [2021-03-18T18:31:35.620Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T18:31:35.620Z] ---> Running in 8a7cb2f2d491 [2021-03-18T18:31:35.882Z] Removing intermediate container 8a7cb2f2d491 [2021-03-18T18:31:35.882Z] ---> 3334172fc0ee [2021-03-18T18:31:35.882Z] Step 20/22 : LABEL arch=amd64 [2021-03-18T18:31:35.882Z] ---> Running in 05186ff2f70e [2021-03-18T18:31:36.147Z] Removing intermediate container 05186ff2f70e [2021-03-18T18:31:36.147Z] ---> 87373f33525f [2021-03-18T18:31:36.147Z] Step 21/22 : LABEL git_sha=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:31:36.147Z] ---> Running in be703a76aab4 [2021-03-18T18:31:36.413Z] Removing intermediate container be703a76aab4 [2021-03-18T18:31:36.413Z] ---> 37b86d4069f6 [2021-03-18T18:31:36.413Z] Step 22/22 : LABEL version=1.3.2-dev.2 [2021-03-18T18:31:36.413Z] ---> Running in 31c0e3a1e147 [2021-03-18T18:31:36.413Z] Removing intermediate container 31c0e3a1e147 [2021-03-18T18:31:36.413Z] ---> 209ff0acc721 [2021-03-18T18:31:36.413Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T18:31:36.413Z] Successfully built 209ff0acc721 [2021-03-18T18:31:36.413Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T18:31:36.855Z] provisioning config files... [2021-03-18T18:31:36.947Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/41@tmp/config2299821936994239442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:31:37.324Z] ---> docker-login.sh [2021-03-18T18:31:37.324Z] nexus3.edgexfoundry.org:10001 [2021-03-18T18:31:37.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:31:38.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:31:38.730Z] Configure a credential helper to remove this warning. See [2021-03-18T18:31:38.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:31:38.730Z] [2021-03-18T18:31:38.730Z] Login Succeeded [2021-03-18T18:31:38.730Z] nexus3.edgexfoundry.org:10002 [2021-03-18T18:31:38.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:31:38.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:31:38.730Z] Configure a credential helper to remove this warning. See [2021-03-18T18:31:38.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:31:38.730Z] [2021-03-18T18:31:38.730Z] Login Succeeded [2021-03-18T18:31:38.730Z] nexus3.edgexfoundry.org:10003 [2021-03-18T18:31:38.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:31:38.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:31:38.992Z] Configure a credential helper to remove this warning. See [2021-03-18T18:31:38.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:31:38.992Z] [2021-03-18T18:31:38.992Z] Login Succeeded [2021-03-18T18:31:38.992Z] nexus3.edgexfoundry.org:10004 [2021-03-18T18:31:38.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:31:39.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:31:39.266Z] Configure a credential helper to remove this warning. See [2021-03-18T18:31:39.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:31:39.266Z] [2021-03-18T18:31:39.266Z] Login Succeeded [2021-03-18T18:31:39.266Z] docker.io [2021-03-18T18:31:39.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:31:39.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:31:39.531Z] Configure a credential helper to remove this warning. See [2021-03-18T18:31:39.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:31:39.531Z] [2021-03-18T18:31:39.531Z] Login Succeeded [2021-03-18T18:31:39.531Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T18:31:39.541Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-18T18:31:39.748Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-03-18T18:31:39.748Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:31:39.748Z] latest [2021-03-18T18:31:39.748Z] 1.3.2-dev.2 [2021-03-18T18:31:39.748Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:31:39.748Z] master [2021-03-18T18:31:39.748Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:40.224Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:40.528Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:31:40.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-18T18:31:40.528Z] 62edfd479132: Preparing [2021-03-18T18:31:40.528Z] ba4fef497c78: Preparing [2021-03-18T18:31:40.528Z] 00868d0306e9: Preparing [2021-03-18T18:31:40.528Z] 33e8713114f8: Preparing [2021-03-18T18:31:40.528Z] 33e8713114f8: Layer already exists [2021-03-18T18:31:40.789Z] 62edfd479132: Pushed [2021-03-18T18:31:41.734Z] ba4fef497c78: Pushed [2021-03-18T18:31:41.994Z] 00868d0306e9: Pushed [2021-03-18T18:31:42.257Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f: digest: sha256:e40d8044281b164f481250de83932d9ae9c2107014df857ff2253b701dd59422 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:42.567Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:42.867Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-03-18T18:31:42.867Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-18T18:31:42.867Z] 62edfd479132: Preparing [2021-03-18T18:31:42.867Z] ba4fef497c78: Preparing [2021-03-18T18:31:42.867Z] 00868d0306e9: Preparing [2021-03-18T18:31:42.867Z] 33e8713114f8: Preparing [2021-03-18T18:31:42.867Z] 33e8713114f8: Layer already exists [2021-03-18T18:31:42.867Z] 00868d0306e9: Layer already exists [2021-03-18T18:31:42.867Z] 62edfd479132: Layer already exists [2021-03-18T18:31:42.867Z] ba4fef497c78: Layer already exists [2021-03-18T18:31:42.867Z] latest: digest: sha256:e40d8044281b164f481250de83932d9ae9c2107014df857ff2253b701dd59422 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:43.371Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:43.729Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.2 [2021-03-18T18:31:43.729Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-18T18:31:43.729Z] 62edfd479132: Preparing [2021-03-18T18:31:43.729Z] ba4fef497c78: Preparing [2021-03-18T18:31:43.729Z] 00868d0306e9: Preparing [2021-03-18T18:31:43.729Z] 33e8713114f8: Preparing [2021-03-18T18:31:43.729Z] ba4fef497c78: Layer already exists [2021-03-18T18:31:43.729Z] 00868d0306e9: Layer already exists [2021-03-18T18:31:43.729Z] 62edfd479132: Layer already exists [2021-03-18T18:31:43.729Z] 33e8713114f8: Layer already exists [2021-03-18T18:31:43.729Z] 1.3.2-dev.2: digest: sha256:e40d8044281b164f481250de83932d9ae9c2107014df857ff2253b701dd59422 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:43.884Z] gofmt -l . [2021-03-18T18:31:43.884Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:31:43.884Z] ./bin/test-attribution-txt.sh [2021-03-18T18:31:43.884Z] ./bin/test-go-mod-tidy.sh [2021-03-18T18:31:44.169Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:44.475Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:31:44.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-18T18:31:44.475Z] 62edfd479132: Preparing [2021-03-18T18:31:44.475Z] ba4fef497c78: Preparing [2021-03-18T18:31:44.475Z] 00868d0306e9: Preparing [2021-03-18T18:31:44.475Z] 33e8713114f8: Preparing [2021-03-18T18:31:44.475Z] 33e8713114f8: Layer already exists [2021-03-18T18:31:44.475Z] 00868d0306e9: Layer already exists [2021-03-18T18:31:44.475Z] 62edfd479132: Layer already exists [2021-03-18T18:31:44.475Z] ba4fef497c78: Layer already exists [2021-03-18T18:31:44.475Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2: digest: sha256:e40d8044281b164f481250de83932d9ae9c2107014df857ff2253b701dd59422 size: 1155 [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-03-18T18:31:44.592Z] $ docker stop --time=1 406107468c23a6634604db4d6b0a0508f8dc38143cb794a64739634352964a15 [2021-03-18T18:31:44.784Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-03-18T18:31:46.766Z] $ docker rm -f 406107468c23a6634604db4d6b0a0508f8dc38143cb794a64739634352964a15 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:47.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T18:31:47.576Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T18:31:47.624Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-03-18T18:31:47.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-18T18:31:47.624Z] 62edfd479132: Preparing [2021-03-18T18:31:47.624Z] ba4fef497c78: Preparing [2021-03-18T18:31:47.624Z] 00868d0306e9: Preparing [2021-03-18T18:31:47.624Z] 33e8713114f8: Preparing [2021-03-18T18:31:47.624Z] 62edfd479132: Layer already exists [2021-03-18T18:31:47.624Z] ba4fef497c78: Layer already exists [2021-03-18T18:31:47.624Z] 00868d0306e9: Layer already exists [2021-03-18T18:31:47.624Z] 33e8713114f8: Layer already exists [2021-03-18T18:31:47.624Z] master: digest: sha256:e40d8044281b164f481250de83932d9ae9c2107014df857ff2253b701dd59422 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-18T18:31:47.847Z] ===================================================== [Pipeline] echo [2021-03-18T18:31:47.891Z] taggedImages: [2021-03-18T18:31:47.891Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:31:47.891Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-03-18T18:31:47.891Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.2 [2021-03-18T18:31:47.891Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:31:47.891Z] - 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 Post stage [2021-03-18T18:31:48.375Z] Stashed 1 file(s) [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-18T18:31:48.689Z] ---> job-cost.sh [2021-03-18T18:31:48.689Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-07EG [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:31:49.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T18:31:49.555Z] + ls -al . [2021-03-18T18:31:49.555Z] total 152 [2021-03-18T18:31:49.555Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 18 18:31 . [2021-03-18T18:31:49.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 18:29 .. [2021-03-18T18:31:49.555Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 18:29 .git [2021-03-18T18:31:49.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 18:29 .github [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 18 18:29 .gitignore [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 18 18:29 Attribution.txt [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 18 18:29 Dockerfile [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 18 18:29 Dockerfile.build [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 18 18:29 Jenkinsfile [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 18:29 LICENSE [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 18 18:29 Makefile [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 18 18:29 README.md [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 18 18:27 VERSION [2021-03-18T18:31:49.555Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 18:29 bin [2021-03-18T18:31:49.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 18:29 cmd [2021-03-18T18:31:49.555Z] -rw-r--r-- 1 jenkins jenkins 47247 Mar 18 18:31 coverage.out [2021-03-18T18:31:49.555Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 18 18:31 go.mod [2021-03-18T18:31:49.555Z] -rw-r--r-- 1 jenkins jenkins 20118 Mar 18 18:31 go.sum [2021-03-18T18:31:49.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 18:29 internal [2021-03-18T18:31:49.555Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 18 18:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:49.921Z] + 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=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f --label arch=arm64 --label version=1.3.2-dev.2 . [2021-03-18T18:31:50.217Z] Sending build context to Docker daemon 541.2kB [2021-03-18T18:31:50.217Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:31:50.217Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-18T18:31:50.217Z] ---> 623e71e9614d [2021-03-18T18:31:50.217Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-18T18:31:50.496Z] ---> Running in 665c0b9de887 [2021-03-18T18:31:51.098Z] Removing intermediate container 665c0b9de887 [2021-03-18T18:31:51.098Z] ---> 9e14a518965a [2021-03-18T18:31:51.098Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-18T18:31:51.098Z] ---> Running in 8af3bacf7ebe [2021-03-18T18:31:51.695Z] Removing intermediate container 8af3bacf7ebe [2021-03-18T18:31:51.695Z] ---> ffe330e05e52 [2021-03-18T18:31:51.695Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-18T18:31:51.695Z] ---> Running in d3ffcd378734 [2021-03-18T18:31:51.968Z] Removing intermediate container d3ffcd378734 [2021-03-18T18:31:51.968Z] ---> 263b6c1f8b66 [2021-03-18T18:31:51.968Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T18:31:52.242Z] ---> Running in d1f1f4931606 [2021-03-18T18:31:54.224Z] Removing intermediate container d1f1f4931606 [2021-03-18T18:31:54.224Z] ---> c44b83e9d0c7 [2021-03-18T18:31:54.224Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-18T18:31:54.526Z] ---> Running in d11190d90887 [2021-03-18T18:31:55.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T18:31:57.466Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T18:32:00.069Z] OK: 221 MiB in 53 packages [2021-03-18T18:32:01.040Z] Removing intermediate container d11190d90887 [2021-03-18T18:32:01.040Z] ---> 734fcd719800 [2021-03-18T18:32:01.040Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-18T18:32:01.314Z] ---> Running in f101cb9f2704 [2021-03-18T18:32:01.908Z] Removing intermediate container f101cb9f2704 [2021-03-18T18:32:01.908Z] ---> 68b9cdd761b2 [2021-03-18T18:32:01.908Z] Step 9/22 : COPY . . [2021-03-18T18:32:02.506Z] ---> 58c08b496552 [2021-03-18T18:32:02.506Z] Step 10/22 : ARG MAKE='make build' [2021-03-18T18:32:02.779Z] ---> Running in eaf568303618 [2021-03-18T18:32:03.371Z] Removing intermediate container eaf568303618 [2021-03-18T18:32:03.371Z] ---> 1e4902774e79 [2021-03-18T18:32:03.371Z] Step 11/22 : RUN $MAKE [2021-03-18T18:32:03.371Z] ---> Running in 1086e3dbe771 [2021-03-18T18:32:04.349Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.2" -o cmd/device-virtual ./cmd [2021-03-18T18:32:06.863Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T18:32:34.481Z] lf-activate-venv(): INFO: Adding /tmp/venv-07EG/bin to PATH [2021-03-18T18:32:34.481Z] INFO: No Stack... [2021-03-18T18:32:34.481Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T18:32:34.481Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T18:32:34.792Z] + cut -d, -f6 [2021-03-18T18:32:34.792Z] + cat /w/workspace/device-virtual-go/41/archives/cost.csv [Pipeline] lock [2021-03-18T18:32:34.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [2021-03-18T18:32:34.882Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] did not exist. Created. [2021-03-18T18:32:34.882Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:32:35.289Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T18:32:35.462Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T18:32:35.483Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-18T18:32:37.227Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-18T18:32:45.500Z] Removing intermediate container 1086e3dbe771 [2021-03-18T18:32:45.500Z] ---> eb10fd2f8cb8 [2021-03-18T18:32:45.500Z] Step 12/22 : FROM alpine:3.12 [2021-03-18T18:32:45.500Z] 3.12: Pulling from library/alpine [2021-03-18T18:32:45.500Z] dce8679b510e: Pulling fs layer [2021-03-18T18:32:45.500Z] dce8679b510e: Verifying Checksum [2021-03-18T18:32:45.500Z] dce8679b510e: Download complete [2021-03-18T18:32:45.771Z] dce8679b510e: Pull complete [2021-03-18T18:32:45.771Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-18T18:32:45.771Z] Status: Downloaded newer image for alpine:3.12 [2021-03-18T18:32:45.771Z] ---> d10569e2745f [2021-03-18T18:32:45.771Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-18T18:32:46.044Z] ---> Running in 8fbc0f04e961 [2021-03-18T18:32:46.639Z] Removing intermediate container 8fbc0f04e961 [2021-03-18T18:32:46.639Z] ---> 599b936b3fbb [2021-03-18T18:32:46.639Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-18T18:32:46.639Z] ---> Running in afb647998c76 [2021-03-18T18:32:47.232Z] Removing intermediate container afb647998c76 [2021-03-18T18:32:47.232Z] ---> e788eb8455f9 [2021-03-18T18:32:47.232Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-18T18:32:48.215Z] ---> b3fe24d78f79 [2021-03-18T18:32:48.215Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-18T18:32:49.202Z] ---> 5eaa218861be [2021-03-18T18:32:49.202Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-18T18:32:49.797Z] ---> b373adba3617 [2021-03-18T18:32:49.797Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-18T18:32:49.797Z] ---> Running in b208c3fe2f58 [2021-03-18T18:32:50.398Z] Removing intermediate container b208c3fe2f58 [2021-03-18T18:32:50.398Z] ---> 81c56f6d5131 [2021-03-18T18:32:50.398Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T18:32:50.398Z] ---> Running in 415e908036af [2021-03-18T18:32:50.677Z] Removing intermediate container 415e908036af [2021-03-18T18:32:50.677Z] ---> d08a19b52fdb [2021-03-18T18:32:50.677Z] Step 20/22 : LABEL arch=arm64 [2021-03-18T18:32:50.952Z] ---> Running in c0b993bb7dd8 [2021-03-18T18:32:51.224Z] Removing intermediate container c0b993bb7dd8 [2021-03-18T18:32:51.224Z] ---> 4a355c6744d7 [2021-03-18T18:32:51.224Z] Step 21/22 : LABEL git_sha=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:32:51.494Z] ---> Running in eacb2f81d825 [2021-03-18T18:32:51.765Z] Removing intermediate container eacb2f81d825 [2021-03-18T18:32:51.765Z] ---> 26d11c02bb69 [2021-03-18T18:32:51.765Z] Step 22/22 : LABEL version=1.3.2-dev.2 [2021-03-18T18:32:52.036Z] ---> Running in 78db82387db0 [2021-03-18T18:32:52.306Z] Removing intermediate container 78db82387db0 [2021-03-18T18:32:52.306Z] ---> fb79d086c3d0 [2021-03-18T18:32:52.306Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T18:32:52.579Z] Successfully built fb79d086c3d0 [2021-03-18T18:32:52.579Z] 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 [2021-03-18T18:32:53.009Z] provisioning config files... [2021-03-18T18:32:53.117Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/41@tmp/config2561555692882042984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:32:53.528Z] ---> docker-login.sh [2021-03-18T18:32:53.528Z] nexus3.edgexfoundry.org:10001 [2021-03-18T18:32:53.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:32:54.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:32:54.076Z] Configure a credential helper to remove this warning. See [2021-03-18T18:32:54.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:32:54.076Z] [2021-03-18T18:32:54.076Z] Login Succeeded [2021-03-18T18:32:54.076Z] nexus3.edgexfoundry.org:10002 [2021-03-18T18:32:54.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:32:54.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:32:54.620Z] Configure a credential helper to remove this warning. See [2021-03-18T18:32:54.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:32:54.620Z] [2021-03-18T18:32:54.620Z] Login Succeeded [2021-03-18T18:32:54.620Z] nexus3.edgexfoundry.org:10003 [2021-03-18T18:32:54.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:32:55.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:32:55.164Z] Configure a credential helper to remove this warning. See [2021-03-18T18:32:55.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:32:55.164Z] [2021-03-18T18:32:55.164Z] Login Succeeded [2021-03-18T18:32:55.164Z] nexus3.edgexfoundry.org:10004 [2021-03-18T18:32:55.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:32:55.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:32:55.709Z] Configure a credential helper to remove this warning. See [2021-03-18T18:32:55.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:32:55.709Z] [2021-03-18T18:32:55.709Z] Login Succeeded [2021-03-18T18:32:55.709Z] docker.io [2021-03-18T18:32:55.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T18:32:56.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T18:32:56.576Z] Configure a credential helper to remove this warning. See [2021-03-18T18:32:56.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T18:32:56.576Z] [2021-03-18T18:32:56.576Z] Login Succeeded [2021-03-18T18:32:56.576Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T18:32:56.592Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-18T18:32:56.799Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-03-18T18:32:56.799Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:32:56.799Z] latest [2021-03-18T18:32:56.799Z] 1.3.2-dev.2 [2021-03-18T18:32:56.799Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:32:56.799Z] master [2021-03-18T18:32:56.799Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:32:57.342Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:32:57.681Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:32:57.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-18T18:32:57.681Z] 6ae17dad2920: Preparing [2021-03-18T18:32:57.681Z] 3f1a7ea359d7: Preparing [2021-03-18T18:32:57.681Z] c8ed60dc71d4: Preparing [2021-03-18T18:32:57.681Z] 02a88cfff88f: Preparing [2021-03-18T18:32:57.960Z] 02a88cfff88f: Layer already exists [2021-03-18T18:32:57.960Z] 6ae17dad2920: Pushed [2021-03-18T18:32:57.960Z] 3f1a7ea359d7: Pushed [2021-03-18T18:33:01.334Z] c8ed60dc71d4: Pushed [2021-03-18T18:33:01.334Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f: digest: sha256:3b03ece84aeda9121b09002c0d094e0897eb72318d0aebd2ddfab1a7088d67ad size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:01.685Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:02.032Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-03-18T18:33:02.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-18T18:33:02.032Z] 6ae17dad2920: Preparing [2021-03-18T18:33:02.032Z] 3f1a7ea359d7: Preparing [2021-03-18T18:33:02.032Z] c8ed60dc71d4: Preparing [2021-03-18T18:33:02.032Z] 02a88cfff88f: Preparing [2021-03-18T18:33:02.032Z] 6ae17dad2920: Layer already exists [2021-03-18T18:33:02.032Z] c8ed60dc71d4: Layer already exists [2021-03-18T18:33:02.032Z] 02a88cfff88f: Layer already exists [2021-03-18T18:33:02.032Z] 3f1a7ea359d7: Layer already exists [2021-03-18T18:33:02.305Z] latest: digest: sha256:3b03ece84aeda9121b09002c0d094e0897eb72318d0aebd2ddfab1a7088d67ad size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:02.654Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:02.992Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.2 [2021-03-18T18:33:02.993Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-18T18:33:02.993Z] 6ae17dad2920: Preparing [2021-03-18T18:33:02.993Z] 3f1a7ea359d7: Preparing [2021-03-18T18:33:02.993Z] c8ed60dc71d4: Preparing [2021-03-18T18:33:02.993Z] 02a88cfff88f: Preparing [2021-03-18T18:33:02.993Z] 02a88cfff88f: Layer already exists [2021-03-18T18:33:02.993Z] c8ed60dc71d4: Layer already exists [2021-03-18T18:33:02.993Z] 6ae17dad2920: Layer already exists [2021-03-18T18:33:02.993Z] 3f1a7ea359d7: Layer already exists [2021-03-18T18:33:03.265Z] 1.3.2-dev.2: digest: sha256:3b03ece84aeda9121b09002c0d094e0897eb72318d0aebd2ddfab1a7088d67ad size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:03.610Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:03.956Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:33:03.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-18T18:33:03.956Z] 6ae17dad2920: Preparing [2021-03-18T18:33:03.956Z] 3f1a7ea359d7: Preparing [2021-03-18T18:33:03.956Z] c8ed60dc71d4: Preparing [2021-03-18T18:33:03.956Z] 02a88cfff88f: Preparing [2021-03-18T18:33:03.956Z] c8ed60dc71d4: Layer already exists [2021-03-18T18:33:03.956Z] 6ae17dad2920: Layer already exists [2021-03-18T18:33:03.956Z] 3f1a7ea359d7: Layer already exists [2021-03-18T18:33:03.956Z] 02a88cfff88f: Layer already exists [2021-03-18T18:33:04.240Z] aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2: digest: sha256:3b03ece84aeda9121b09002c0d094e0897eb72318d0aebd2ddfab1a7088d67ad size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:04.587Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:04.931Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-03-18T18:33:04.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-18T18:33:04.931Z] 6ae17dad2920: Preparing [2021-03-18T18:33:04.931Z] 3f1a7ea359d7: Preparing [2021-03-18T18:33:04.931Z] c8ed60dc71d4: Preparing [2021-03-18T18:33:04.931Z] 02a88cfff88f: Preparing [2021-03-18T18:33:04.931Z] 6ae17dad2920: Layer already exists [2021-03-18T18:33:04.931Z] c8ed60dc71d4: Layer already exists [2021-03-18T18:33:04.931Z] 3f1a7ea359d7: Layer already exists [2021-03-18T18:33:04.931Z] 02a88cfff88f: Layer already exists [2021-03-18T18:33:05.204Z] master: digest: sha256:3b03ece84aeda9121b09002c0d094e0897eb72318d0aebd2ddfab1a7088d67ad size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-18T18:33:05.402Z] ===================================================== [Pipeline] echo [2021-03-18T18:33:05.448Z] taggedImages: [2021-03-18T18:33:05.448Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [2021-03-18T18:33:05.448Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-03-18T18:33:05.448Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.2 [2021-03-18T18:33:05.448Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f-1.3.2-dev.2 [2021-03-18T18:33:05.448Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:33:06.019Z] ---> job-cost.sh [2021-03-18T18:33:06.019Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6Bqj [2021-03-18T18:33:44.973Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T18:35:36.785Z] lf-activate-venv(): INFO: Adding /tmp/venv-6Bqj/bin to PATH [2021-03-18T18:35:36.785Z] INFO: No Stack... [2021-03-18T18:35:36.785Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T18:35:36.785Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T18:35:37.138Z] + + catcut /w/workspace/device-virtual-go/41/archives/cost.csv -d, [2021-03-18T18:35:37.138Z] -f6 [Pipeline] lock [2021-03-18T18:35:37.268Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [2021-03-18T18:35:37.278Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] did not exist. Created. [2021-03-18T18:35:37.278Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:35:37.739Z] /w/workspace/device-virtual-go/41@tmp/durable-3fe31ce6/script.sh: 1: /w/workspace/device-virtual-go/41@tmp/durable-3fe31ce6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-18T18:35:38.103Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T18:35:38.124Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T18:35:38.289Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T18:35:38.311Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-18T18:35:39.367Z] provisioning config files... [2021-03-18T18:35:39.376Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3617227123472638949tmp [Pipeline] { [Pipeline] sh [2021-03-18T18:35:39.795Z] + set +x [2021-03-18T18:35:39.795Z] + curl -s https://codecov.io/bash [2021-03-18T18:35:39.795Z] + bash -s -- [2021-03-18T18:35:39.795Z] [2021-03-18T18:35:39.795Z] _____ _ [2021-03-18T18:35:39.795Z] / ____| | | [2021-03-18T18:35:39.795Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T18:35:39.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T18:35:39.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T18:35:39.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T18:35:39.795Z] Bash-20210309-2b87ace [2021-03-18T18:35:39.795Z] [2021-03-18T18:35:39.795Z] [2021-03-18T18:35:39.795Z] ==> git version 2.24.3 found [2021-03-18T18:35:39.795Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-18T18:35:39.795Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T18:35:39.795Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T18:35:39.795Z] ==> Jenkins CI detected. [2021-03-18T18:35:40.058Z] project root: . [2021-03-18T18:35:40.058Z] --> token set from env [2021-03-18T18:35:40.058Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T18:35:40.058Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T18:35:40.058Z] ==> Python coveragepy not found [2021-03-18T18:35:40.058Z] ==> Searching for coverage reports in: [2021-03-18T18:35:40.058Z] + . [2021-03-18T18:35:40.058Z] -> Found 1 reports [2021-03-18T18:35:40.058Z] ==> Detecting git/mercurial file structure [2021-03-18T18:35:40.058Z] ==> Reading reports [2021-03-18T18:35:40.058Z] + ./coverage.out bytes=47247 [2021-03-18T18:35:40.058Z] ==> Appending adjustments [2021-03-18T18:35:40.058Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T18:35:40.058Z] + Found adjustments [2021-03-18T18:35:40.058Z] ==> Gzipping contents [2021-03-18T18:35:40.058Z] 8.0K /tmp/codecov.rL75wy.gz [2021-03-18T18:35:40.058Z] ==> Uploading reports [2021-03-18T18:35:40.058Z] url: https://codecov.io [2021-03-18T18:35:40.058Z] query: branch=master&commit=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T18:35:40.058Z] -> Pinging Codecov [2021-03-18T18:35:40.058Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T18:35:40.636Z] -> Uploading to [2021-03-18T18:35:40.636Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-18/5E52B4B073DB2E39498172D8E973AA87/aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f/a03650fc-3a5e-4722-a1b2-e4f847f802c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T183540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eec6e077b4e9b651fe2cdf1dbfeee19701b73850b7c2966a8bd3e3f91f4d08d [2021-03-18T18:35:40.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T18:35:40.636Z] Dload Upload Total Spent Left Speed [2021-03-18T18:35:41.212Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5767 0 0 100 5767 0 14286 --:--:-- --:--:-- --:--:-- 14274 [2021-03-18T18:35:41.212Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] } [2021-03-18T18:35:41.222Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-18T18:35:42.116Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-18T18:35:42.166Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:35:42.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:35:42.540Z] [2021-03-18T18:35:42.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:35:42.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:35:42.883Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-18T18:35:42.883Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T18:35:42.883Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T18:35:42.883Z] de9db76c5a1d: Pulling fs layer [2021-03-18T18:35:42.883Z] 0eba1c9be4d2: Pulling fs layer [2021-03-18T18:35:42.883Z] 0d57e429df01: Pulling fs layer [2021-03-18T18:35:42.883Z] 4e4be7b47b0d: Pulling fs layer [2021-03-18T18:35:42.883Z] e1f770b5df2f: Pulling fs layer [2021-03-18T18:35:42.883Z] 85a0685a4137: Pulling fs layer [2021-03-18T18:35:42.883Z] 0d57e429df01: Waiting [2021-03-18T18:35:42.883Z] 4e4be7b47b0d: Waiting [2021-03-18T18:35:42.883Z] e1f770b5df2f: Waiting [2021-03-18T18:35:42.883Z] 85a0685a4137: Waiting [2021-03-18T18:35:42.883Z] 0eba1c9be4d2: Waiting [2021-03-18T18:35:42.883Z] de9db76c5a1d: Verifying Checksum [2021-03-18T18:35:42.883Z] de9db76c5a1d: Download complete [2021-03-18T18:35:42.883Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T18:35:42.883Z] 0ef7d3d256c8: Download complete [2021-03-18T18:35:42.883Z] 0d57e429df01: Verifying Checksum [2021-03-18T18:35:42.883Z] 0d57e429df01: Download complete [2021-03-18T18:35:42.883Z] 4e4be7b47b0d: Verifying Checksum [2021-03-18T18:35:42.883Z] 4e4be7b47b0d: Download complete [2021-03-18T18:35:42.883Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T18:35:42.883Z] 188c0c94c7c5: Download complete [2021-03-18T18:35:43.461Z] 188c0c94c7c5: Pull complete [2021-03-18T18:35:43.723Z] 0ef7d3d256c8: Pull complete [2021-03-18T18:35:43.723Z] de9db76c5a1d: Pull complete [2021-03-18T18:35:44.671Z] e1f770b5df2f: Verifying Checksum [2021-03-18T18:35:44.671Z] e1f770b5df2f: Download complete [2021-03-18T18:35:47.231Z] 0eba1c9be4d2: Verifying Checksum [2021-03-18T18:35:47.231Z] 0eba1c9be4d2: Download complete [2021-03-18T18:35:47.809Z] 85a0685a4137: Verifying Checksum [2021-03-18T18:35:47.809Z] 85a0685a4137: Download complete [2021-03-18T18:35:53.132Z] 0eba1c9be4d2: Pull complete [2021-03-18T18:35:53.132Z] 0d57e429df01: Pull complete [2021-03-18T18:35:53.132Z] 4e4be7b47b0d: Pull complete [2021-03-18T18:35:55.705Z] e1f770b5df2f: Pull complete [2021-03-18T18:36:02.341Z] 85a0685a4137: Pull complete [2021-03-18T18:36:02.341Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-18T18:36:02.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:36:02.341Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-18T18:36:02.551Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:36:02.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-18T18:36:03.753Z] $ docker top 9a5983d10a053f94a865003f15bcd27c8f420f794a39dfa437440b7c91ca03c0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-18T18:36:03.987Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-18T18:36:04.284Z] + set -o pipefail [2021-03-18T18:36:04.284Z] + snyk monitor '--org=edgex-jenkins' [2021-03-18T18:36:22.625Z] [2021-03-18T18:36:22.625Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-03-18T18:36:22.625Z] [2021-03-18T18:36:22.625Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/cdf2b0b6-0ef5-426e-998c-ac9cf753d7e5 [2021-03-18T18:36:22.625Z] [2021-03-18T18:36:22.625Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-18T18:36:22.625Z] [2021-03-18T18:36:22.625Z] [Pipeline] } [2021-03-18T18:36:22.644Z] $ docker stop --time=1 9a5983d10a053f94a865003f15bcd27c8f420f794a39dfa437440b7c91ca03c0 [2021-03-18T18:36:25.400Z] $ docker rm -f 9a5983d10a053f94a865003f15bcd27c8f420f794a39dfa437440b7c91ca03c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:36:27.046Z] + git log --format=format:%s -1 aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:36:27.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:36:27.367Z] . [Pipeline] withDockerContainer [2021-03-18T18:36:27.462Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:36:27.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:36:28.325Z] $ docker top 31f305ac12b97c824df0578394c8deebe7fb7871d079d511ea2edf03710f9c32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:36:28.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:36:28.653Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:36:28.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:36:28.940Z] $ docker exec 31f305ac12b97c824df0578394c8deebe7fb7871d079d511ea2edf03710f9c32 ssh-agent [2021-03-18T18:36:29.112Z] SSH_AUTH_SOCK=/tmp/ssh-mygTqufF7pvn/agent.11 [2021-03-18T18:36:29.112Z] SSH_AGENT_PID=16 [2021-03-18T18:36:29.120Z] Running ssh-add (command line suppressed) [2021-03-18T18:36:29.275Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7128351027641293680.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7128351027641293680.key) [2021-03-18T18:36:29.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:36:29.669Z] + git semver tag [2021-03-18T18:36:29.669Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:36:29.669Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-18T18:36:29.669Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-18T18:36:29.669Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:36:29.669Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:36:29.669Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:36:29.669Z] # $SEMVER_BRANCH = master [2021-03-18T18:36:29.669Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-03-18T18:36:29.669Z] # aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f HEAD [2021-03-18T18:36:29.669Z] # -> Force: false [2021-03-18T18:36:29.669Z] # 7ce66488d93c32bfda17a5c6353829ae53bce82c refs/tags/v1.3.2-dev.2 [Pipeline] } [2021-03-18T18:36:29.685Z] $ docker exec --env ******** --env ******** 31f305ac12b97c824df0578394c8deebe7fb7871d079d511ea2edf03710f9c32 ssh-agent -k [2021-03-18T18:36:29.810Z] unset SSH_AUTH_SOCK; [2021-03-18T18:36:29.810Z] unset SSH_AGENT_PID; [2021-03-18T18:36:29.810Z] echo Agent pid 16 killed; [2021-03-18T18:36:29.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:36:30.379Z] + git semver [Pipeline] } [2021-03-18T18:36:30.401Z] $ docker stop --time=1 31f305ac12b97c824df0578394c8deebe7fb7871d079d511ea2edf03710f9c32 [2021-03-18T18:36:31.746Z] $ docker rm -f 31f305ac12b97c824df0578394c8deebe7fb7871d079d511ea2edf03710f9c32 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:36:32.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:36:32.415Z] [2021-03-18T18:36:32.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:36:32.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:36:32.766Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-18T18:36:32.766Z] ab5ef0e58194: Pulling fs layer [2021-03-18T18:36:32.766Z] 9712f1f96733: Pulling fs layer [2021-03-18T18:36:32.766Z] 63f879dbbcfc: Pulling fs layer [2021-03-18T18:36:32.766Z] 0d9ebad4ef96: Pulling fs layer [2021-03-18T18:36:32.766Z] e9a5061849ea: Pulling fs layer [2021-03-18T18:36:32.766Z] d747dcd14b5f: Pulling fs layer [2021-03-18T18:36:32.766Z] 2de7ff778b66: Pulling fs layer [2021-03-18T18:36:32.766Z] e9a5061849ea: Waiting [2021-03-18T18:36:32.766Z] d747dcd14b5f: Waiting [2021-03-18T18:36:32.766Z] 2de7ff778b66: Waiting [2021-03-18T18:36:32.767Z] 0d9ebad4ef96: Waiting [2021-03-18T18:36:32.767Z] 9712f1f96733: Verifying Checksum [2021-03-18T18:36:32.767Z] 9712f1f96733: Download complete [2021-03-18T18:36:34.159Z] 63f879dbbcfc: Verifying Checksum [2021-03-18T18:36:34.159Z] 63f879dbbcfc: Download complete [2021-03-18T18:36:34.424Z] e9a5061849ea: Download complete [2021-03-18T18:36:34.424Z] d747dcd14b5f: Download complete [2021-03-18T18:36:34.691Z] 2de7ff778b66: Verifying Checksum [2021-03-18T18:36:34.691Z] 2de7ff778b66: Download complete [2021-03-18T18:36:34.960Z] 0d9ebad4ef96: Verifying Checksum [2021-03-18T18:36:34.960Z] 0d9ebad4ef96: Download complete [2021-03-18T18:36:35.228Z] ab5ef0e58194: Verifying Checksum [2021-03-18T18:36:35.228Z] ab5ef0e58194: Download complete [2021-03-18T18:36:40.690Z] ab5ef0e58194: Pull complete [2021-03-18T18:36:40.690Z] 9712f1f96733: Pull complete [2021-03-18T18:36:42.082Z] 63f879dbbcfc: Pull complete [2021-03-18T18:36:48.702Z] 0d9ebad4ef96: Pull complete [2021-03-18T18:36:49.278Z] e9a5061849ea: Pull complete [2021-03-18T18:36:49.540Z] d747dcd14b5f: Pull complete [2021-03-18T18:36:51.480Z] 2de7ff778b66: Pull complete [2021-03-18T18:36:51.480Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-18T18:36:51.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:36:51.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-18T18:36:51.670Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:36:51.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-18T18:36:55.378Z] $ docker top 3d38336248f8e9e9e67637380cf0cc51abdbed378a2645ec9bc9ef2401bdb75a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-18T18:36:55.657Z] provisioning config files... [2021-03-18T18:36:55.669Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6544354913512339005tmp [2021-03-18T18:36:55.684Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8819030878906255238tmp [2021-03-18T18:36:55.700Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8351276060568565535tmp [Pipeline] { [Pipeline] echo [2021-03-18T18:36:55.758Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:36:56.064Z] ---> sigul-configuration.sh [2021-03-18T18:36:56.064Z] gpg: directory `/root/.gnupg' created [2021-03-18T18:36:56.064Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-18T18:36:56.064Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-18T18:36:56.064Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-18T18:36:56.064Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-18T18:36:56.064Z] gpg: CAST5 encrypted data [2021-03-18T18:36:56.325Z] gpg: encrypted with 1 passphrase [2021-03-18T18:36:56.325Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-18T18:36:56.630Z] + mkdir /home/jenkins [2021-03-18T18:36:56.630Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-18T18:36:56.942Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-18T18:36:56.952Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:36:57.250Z] ---> sigul-install.sh [2021-03-18T18:37:03.863Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-18T18:37:04.169Z] + git tag --list [2021-03-18T18:37:04.169Z] v1.0.0 [2021-03-18T18:37:04.169Z] v1.1.0 [2021-03-18T18:37:04.169Z] v1.1.1 [2021-03-18T18:37:04.169Z] v1.2.1 [2021-03-18T18:37:04.169Z] v1.2.2 [2021-03-18T18:37:04.169Z] v1.2.3 [2021-03-18T18:37:04.169Z] v1.3.0 [2021-03-18T18:37:04.169Z] v1.3.1 [2021-03-18T18:37:04.169Z] v1.3.1-dev.1 [2021-03-18T18:37:04.169Z] v1.3.1-dev.2 [2021-03-18T18:37:04.169Z] v1.3.1-dev.3 [2021-03-18T18:37:04.169Z] v1.3.1-dev.4 [2021-03-18T18:37:04.169Z] v1.3.1-dev.5 [2021-03-18T18:37:04.169Z] v1.3.2-dev.1 [2021-03-18T18:37:04.169Z] v1.3.2-dev.2 [Pipeline] sh [2021-03-18T18:37:04.467Z] + lftools sign git-tag v1.3.2-dev.2 [2021-03-18T18:37:05.859Z] Signing Git tag with Sigul... [2021-03-18T18:37:05.859Z] Signing v1.3.2-dev.2 [Pipeline] echo [2021-03-18T18:37:06.819Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:07.118Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-18T18:37:07.127Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-18T18:37:07.222Z] $ docker stop --time=1 3d38336248f8e9e9e67637380cf0cc51abdbed378a2645ec9bc9ef2401bdb75a [2021-03-18T18:37:09.249Z] $ docker rm -f 3d38336248f8e9e9e67637380cf0cc51abdbed378a2645ec9bc9ef2401bdb75a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:37:10.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:37:10.164Z] . [Pipeline] withDockerContainer [2021-03-18T18:37:10.266Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:37:10.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:37:10.995Z] $ docker top ba40b3104488d81205f7b773141afbbc43c579360fdc6f3a1b4e8fc77e416b91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:37:11.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:37:11.322Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:37:11.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:37:11.537Z] $ docker exec ba40b3104488d81205f7b773141afbbc43c579360fdc6f3a1b4e8fc77e416b91 ssh-agent [2021-03-18T18:37:11.715Z] SSH_AUTH_SOCK=/tmp/ssh-ww6DgESGsUOi/agent.11 [2021-03-18T18:37:11.715Z] SSH_AGENT_PID=16 [2021-03-18T18:37:11.722Z] Running ssh-add (command line suppressed) [2021-03-18T18:37:11.857Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6020403752131418765.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6020403752131418765.key) [2021-03-18T18:37:11.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:37:12.247Z] + git semver bump pre [2021-03-18T18:37:12.247Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:37:12.247Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-18T18:37:12.247Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-18T18:37:12.247Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:37:12.247Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:37:12.247Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:37:12.247Z] # $SEMVER_BRANCH = master [2021-03-18T18:37:12.247Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-03-18T18:37:12.247Z] 1.3.2-dev.3 [Pipeline] } [2021-03-18T18:37:12.263Z] $ docker exec --env ******** --env ******** ba40b3104488d81205f7b773141afbbc43c579360fdc6f3a1b4e8fc77e416b91 ssh-agent -k [2021-03-18T18:37:12.390Z] unset SSH_AUTH_SOCK; [2021-03-18T18:37:12.392Z] unset SSH_AGENT_PID; [2021-03-18T18:37:12.392Z] echo Agent pid 16 killed; [2021-03-18T18:37:12.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:37:12.924Z] + git semver [Pipeline] } [2021-03-18T18:37:12.945Z] $ docker stop --time=1 ba40b3104488d81205f7b773141afbbc43c579360fdc6f3a1b4e8fc77e416b91 [2021-03-18T18:37:14.295Z] $ docker rm -f ba40b3104488d81205f7b773141afbbc43c579360fdc6f3a1b4e8fc77e416b91 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:37:14.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:37:14.831Z] . [Pipeline] withDockerContainer [2021-03-18T18:37:14.935Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:37:14.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:37:15.723Z] $ docker top 38f56d2515e4b181db41539b689bed31baa5e9f87ae7fac8081b217b175ea01c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:37:16.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:37:16.123Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:37:16.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:37:16.347Z] $ docker exec 38f56d2515e4b181db41539b689bed31baa5e9f87ae7fac8081b217b175ea01c ssh-agent [2021-03-18T18:37:16.526Z] SSH_AUTH_SOCK=/tmp/ssh-p34cpv5gmgLV/agent.12 [2021-03-18T18:37:16.526Z] SSH_AGENT_PID=18 [2021-03-18T18:37:16.534Z] Running ssh-add (command line suppressed) [2021-03-18T18:37:16.673Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1523071152732021673.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1523071152732021673.key) [2021-03-18T18:37:16.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:37:17.069Z] + git semver push [2021-03-18T18:37:17.069Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:37:17.069Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-18T18:37:17.069Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-18T18:37:17.069Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:37:17.069Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:37:17.069Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:37:17.069Z] # $SEMVER_BRANCH = master [2021-03-18T18:37:17.069Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-03-18T18:37:21.305Z] $ docker exec --env ******** --env ******** 38f56d2515e4b181db41539b689bed31baa5e9f87ae7fac8081b217b175ea01c ssh-agent -k [2021-03-18T18:37:21.466Z] unset SSH_AUTH_SOCK; [2021-03-18T18:37:21.468Z] unset SSH_AGENT_PID; [2021-03-18T18:37:21.468Z] echo Agent pid 18 killed; [2021-03-18T18:37:21.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:37:22.023Z] + git semver [Pipeline] } [2021-03-18T18:37:22.060Z] $ docker stop --time=1 38f56d2515e4b181db41539b689bed31baa5e9f87ae7fac8081b217b175ea01c [2021-03-18T18:37:23.453Z] $ docker rm -f 38f56d2515e4b181db41539b689bed31baa5e9f87ae7fac8081b217b175ea01c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:25.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:25.757Z] ---> package-listing.sh [2021-03-18T18:37:25.757Z] ++ facter osfamily [2021-03-18T18:37:25.757Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T18:37:25.757Z] + OS_FAMILY=redhat [2021-03-18T18:37:25.757Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-03-18T18:37:25.757Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T18:37:25.757Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T18:37:25.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T18:37:25.757Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T18:37:25.757Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-03-18T18:37:25.757Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T18:37:25.757Z] + case "${OS_FAMILY}" in [2021-03-18T18:37:25.757Z] + rpm -qa [2021-03-18T18:37:25.757Z] + sort [2021-03-18T18:37:31.062Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T18:37:31.062Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T18:37:31.062Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T18:37:31.062Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-03-18T18:37:31.062Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-03-18T18:37:31.062Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2021-03-18T18:37:31.074Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-18T18:37:31.364Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:37:31.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:37:31.671Z] [2021-03-18T18:37:31.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:37:32.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:37:32.023Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T18:37:32.023Z] df20fa9351a1: Pulling fs layer [2021-03-18T18:37:32.023Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T18:37:32.023Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T18:37:32.023Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T18:37:32.023Z] 93b61091891f: Pulling fs layer [2021-03-18T18:37:32.023Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T18:37:32.023Z] 5e14af77c1be: Pulling fs layer [2021-03-18T18:37:32.023Z] 01666e4c0597: Pulling fs layer [2021-03-18T18:37:32.023Z] aa168da1d23b: Pulling fs layer [2021-03-18T18:37:32.023Z] 93b9cdb0e59b: Waiting [2021-03-18T18:37:32.023Z] 5e14af77c1be: Waiting [2021-03-18T18:37:32.023Z] 01666e4c0597: Waiting [2021-03-18T18:37:32.023Z] aa168da1d23b: Waiting [2021-03-18T18:37:32.023Z] 46f8f816bc3b: Waiting [2021-03-18T18:37:32.023Z] 93b61091891f: Waiting [2021-03-18T18:37:32.023Z] 36b3adc4ff6f: Verifying Checksum [2021-03-18T18:37:32.023Z] 36b3adc4ff6f: Download complete [2021-03-18T18:37:32.023Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T18:37:32.023Z] 46f8f816bc3b: Download complete [2021-03-18T18:37:32.286Z] df20fa9351a1: Verifying Checksum [2021-03-18T18:37:32.286Z] df20fa9351a1: Download complete [2021-03-18T18:37:32.286Z] 93b61091891f: Verifying Checksum [2021-03-18T18:37:32.286Z] 93b61091891f: Download complete [2021-03-18T18:37:32.286Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T18:37:32.286Z] 93b9cdb0e59b: Download complete [2021-03-18T18:37:32.286Z] 5e14af77c1be: Verifying Checksum [2021-03-18T18:37:32.286Z] 5e14af77c1be: Download complete [2021-03-18T18:37:32.286Z] 01666e4c0597: Verifying Checksum [2021-03-18T18:37:32.286Z] 01666e4c0597: Download complete [2021-03-18T18:37:32.550Z] 8ad3a11d3b57: Verifying Checksum [2021-03-18T18:37:32.550Z] 8ad3a11d3b57: Download complete [2021-03-18T18:37:32.814Z] df20fa9351a1: Pull complete [2021-03-18T18:37:33.081Z] 36b3adc4ff6f: Pull complete [2021-03-18T18:37:34.483Z] 8ad3a11d3b57: Pull complete [2021-03-18T18:37:34.483Z] aa168da1d23b: Download complete [2021-03-18T18:37:34.746Z] 46f8f816bc3b: Pull complete [2021-03-18T18:37:35.321Z] 93b61091891f: Pull complete [2021-03-18T18:37:35.321Z] 93b9cdb0e59b: Pull complete [2021-03-18T18:37:35.321Z] 5e14af77c1be: Pull complete [2021-03-18T18:37:35.589Z] 01666e4c0597: Pull complete [2021-03-18T18:37:43.760Z] aa168da1d23b: Pull complete [2021-03-18T18:37:43.760Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T18:37:43.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:37:43.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T18:37:43.931Z] prd-centos7-docker-4c-2g-30320 does not seem to be running inside a container [2021-03-18T18:37:43.986Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-18T18:37:46.676Z] $ docker top 0c49ade7e9a3fd7af73cd423854edcb0206cfc0d7e5ab4adc6333565fc788e64 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:37:47.174Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T18:37:47.475Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T18:37:47.773Z] + ls /var/log/sa-host [2021-03-18T18:37:47.773Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T18:37:47.773Z] file_magic: OK [2021-03-18T18:37:47.773Z] HZ: Using current value: 100 [2021-03-18T18:37:47.773Z] file_header: OK [2021-03-18T18:37:47.773Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T18:37:47.773Z] Statistics: [2021-03-18T18:37:47.773Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-18T18:37:47.773Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T18:37:47.773Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T18:37:47.773Z] file_magic: OK [2021-03-18T18:37:47.773Z] HZ: Using current value: 100 [2021-03-18T18:37:47.773Z] file_header: OK [2021-03-18T18:37:47.773Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T18:37:47.773Z] Statistics: [2021-03-18T18:37:47.773Z] Hnuu...uuuununununu... [2021-03-18T18:37:47.773Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T18:37:48.412Z] provisioning config files... [2021-03-18T18:37:48.428Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1113271711043648198tmp [Pipeline] { [Pipeline] echo [2021-03-18T18:37:48.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:48.890Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T18:37:48.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T18:37:48.997Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:49.295Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T18:37:49.306Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:49.608Z] ---> sudo-logs.sh [2021-03-18T18:37:49.608Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T18:37:49.707Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:50.001Z] ---> job-cost.sh [2021-03-18T18:37:50.001Z] lf-activate-venv: SKIPPING [2021-03-18T18:37:50.001Z] DEBUG: total: 0.20999999344348907 [2021-03-18T18:37:50.001Z] INFO: Retrieving Stack Cost... [2021-03-18T18:37:51.390Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T18:37:51.652Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T18:37:51.667Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:37:51.961Z] ---> logs-deploy.sh [2021-03-18T18:37:51.961Z] lf-activate-venv: SKIPPING [2021-03-18T18:37:51.961Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/41 [2021-03-18T18:37:51.961Z] INFO: archiving workspace using pattern(s): [2021-03-18T18:37:53.889Z] Archives upload complete. [2021-03-18T18:37:53.889Z] INFO: archiving logs to Nexus