Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-30527 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 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 Commit message: "Merge pull request #170 from hahattan/bump-sdk" > git rev-list --no-walk aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T09:20:29.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T09:20:29.590Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T09:20:29.731Z] ========================================================= [2021-03-19T09:20:29.731Z] EdgeX Global Pipelines Version Info [2021-03-19T09:20:29.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:20:31.253Z] ------------------- [2021-03-19T09:20:31.253Z] stable info: [2021-03-19T09:20:31.253Z] ------------------- [2021-03-19T09:20:31.253Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T09:20:31.253Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T09:20:31.253Z] Message: update stable to v1.0.184 [2021-03-19T09:20:32.207Z] ------------------- [2021-03-19T09:20:32.207Z] experimental info: [2021-03-19T09:20:32.207Z] ------------------- [2021-03-19T09:20:32.207Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T09:20:32.207Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T09:20:32.207Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T09:20:32.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-03-19T09:20:32.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-03-19T09:20:32.684Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T09:20:32.854Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T09:20:32.960Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T09:20:33.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T09:20:33.180Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T09:20:33.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T09:20:33.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-19T09:20:33.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T09:20:33.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T09:20:33.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-03-19T09:20:33.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T09:20:33.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T09:20:34.062Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T09:20:34.158Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T09:20:34.313Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T09:20:34.422Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T09:20:34.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T09:20:34.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T09:20:34.692Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-19T09:20:34.783Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-19T09:20:34.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T09:20:34.978Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T09:20:35.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-19T09:20:35.265Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T09:20:35.356Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-19T09:20:35.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-19T09:20:35.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-19T09:20:35.631Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] echo [2021-03-19T09:20:35.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfe8b6d [Pipeline] echo [2021-03-19T09:20:35.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T09:20:35.990Z] provisioning config files... [2021-03-19T09:20:36.023Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2738667070706996607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:20:36.379Z] ---> docker-login.sh [2021-03-19T09:20:36.379Z] nexus3.edgexfoundry.org:10001 [2021-03-19T09:20:36.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:20:36.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:20:36.908Z] Configure a credential helper to remove this warning. See [2021-03-19T09:20:36.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:20:36.908Z] [2021-03-19T09:20:36.908Z] Login Succeeded [2021-03-19T09:20:36.908Z] nexus3.edgexfoundry.org:10002 [2021-03-19T09:20:36.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:20:36.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:20:36.908Z] Configure a credential helper to remove this warning. See [2021-03-19T09:20:36.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:20:36.908Z] [2021-03-19T09:20:36.908Z] Login Succeeded [2021-03-19T09:20:36.908Z] nexus3.edgexfoundry.org:10003 [2021-03-19T09:20:37.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:20:37.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:20:37.170Z] Configure a credential helper to remove this warning. See [2021-03-19T09:20:37.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:20:37.170Z] [2021-03-19T09:20:37.170Z] Login Succeeded [2021-03-19T09:20:37.170Z] nexus3.edgexfoundry.org:10004 [2021-03-19T09:20:37.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:20:37.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:20:37.438Z] Configure a credential helper to remove this warning. See [2021-03-19T09:20:37.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:20:37.438Z] [2021-03-19T09:20:37.438Z] Login Succeeded [2021-03-19T09:20:37.438Z] docker.io [2021-03-19T09:20:37.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:20:37.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:20:37.700Z] Configure a credential helper to remove this warning. See [2021-03-19T09:20:37.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:20:37.700Z] [2021-03-19T09:20:37.700Z] Login Succeeded [2021-03-19T09:20:37.700Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T09:20:37.710Z] 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-19T09:20:38.536Z] + git log --format=format:%s -1 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] echo [2021-03-19T09:20:38.608Z] GIT_COMMIT: bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec, Commit Message: Merge pull request #170 from hahattan/bump-sdk [Pipeline] echo [2021-03-19T09:20:38.653Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:20:39.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:20:39.675Z] [2021-03-19T09:20:39.675Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:20:40.024Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:20:40.024Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T09:20:40.024Z] 31603596830f: Pulling fs layer [2021-03-19T09:20:40.024Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T09:20:40.024Z] 6ca5941a6612: Pulling fs layer [2021-03-19T09:20:40.024Z] ecc8261a40a4: Pulling fs layer [2021-03-19T09:20:40.024Z] ecc8261a40a4: Waiting [2021-03-19T09:20:40.024Z] 2a8b12db71e7: Verifying Checksum [2021-03-19T09:20:40.024Z] 2a8b12db71e7: Download complete [2021-03-19T09:20:40.290Z] 31603596830f: Verifying Checksum [2021-03-19T09:20:40.290Z] 31603596830f: Download complete [2021-03-19T09:20:40.290Z] ecc8261a40a4: Verifying Checksum [2021-03-19T09:20:40.290Z] ecc8261a40a4: Download complete [2021-03-19T09:20:40.290Z] 6ca5941a6612: Verifying Checksum [2021-03-19T09:20:40.290Z] 6ca5941a6612: Download complete [2021-03-19T09:20:40.553Z] 31603596830f: Pull complete [2021-03-19T09:20:40.553Z] 2a8b12db71e7: Pull complete [2021-03-19T09:20:41.505Z] 6ca5941a6612: Pull complete [2021-03-19T09:20:41.771Z] ecc8261a40a4: Pull complete [2021-03-19T09:20:41.771Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T09:20:41.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:20:41.771Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T09:20:41.952Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:20:42.008Z] $ 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-19T09:20:44.188Z] $ docker top be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T09:20:44.497Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T09:20:44.497Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T09:20:44.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T09:20:44.722Z] $ docker exec be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent [2021-03-19T09:20:44.886Z] SSH_AUTH_SOCK=/tmp/ssh-GkXOgPcqTzZA/agent.13 [2021-03-19T09:20:44.886Z] SSH_AGENT_PID=18 [2021-03-19T09:20:44.898Z] Running ssh-add (command line suppressed) [2021-03-19T09:20:45.032Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_157207095564357216.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_157207095564357216.key) [2021-03-19T09:20:45.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T09:20:45.429Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T09:20:45.453Z] $ docker exec --env ******** --env ******** be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent -k [2021-03-19T09:20:45.568Z] unset SSH_AUTH_SOCK; [2021-03-19T09:20:45.568Z] unset SSH_AGENT_PID; [2021-03-19T09:20:45.568Z] echo Agent pid 18 killed; [2021-03-19T09:20:45.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T09:20:45.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T09:20:45.803Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T09:20:45.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T09:20:45.984Z] $ docker exec be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent [2021-03-19T09:20:46.146Z] SSH_AUTH_SOCK=/tmp/ssh-OB0XLBQQnGTB/agent.47 [2021-03-19T09:20:46.146Z] SSH_AGENT_PID=52 [2021-03-19T09:20:46.154Z] Running ssh-add (command line suppressed) [2021-03-19T09:20:46.280Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_890854668843229289.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_890854668843229289.key) [2021-03-19T09:20:46.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T09:20:46.673Z] + git semver init [2021-03-19T09:20:46.673Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T09:20:46.673Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-19T09:20:46.673Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-19T09:20:46.673Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T09:20:46.673Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T09:20:46.673Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T09:20:46.673Z] # $SEMVER_BRANCH = master [2021-03-19T09:20:46.673Z] # $SEMVER_TEMP = /tmp/semver-881892885 [2021-03-19T09:20:46.673Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-03-19T09:20:46.936Z] # '/tmp/semver-881892885' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-03-19T09:20:46.944Z] # -> Force: false [2021-03-19T09:20:46.944Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-03-19T09:20:46.952Z] $ docker exec --env ******** --env ******** be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent -k [2021-03-19T09:20:47.069Z] unset SSH_AUTH_SOCK; [2021-03-19T09:20:47.070Z] unset SSH_AGENT_PID; [2021-03-19T09:20:47.070Z] echo Agent pid 52 killed; [2021-03-19T09:20:47.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T09:20:47.615Z] + git semver [Pipeline] } [2021-03-19T09:20:47.636Z] $ docker stop --time=1 be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a [2021-03-19T09:20:48.999Z] $ docker rm -f be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T09:20:49.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T09:20:49.830Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T09:20:49.833Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.3 [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-19T09:21:05.399Z] Still waiting to schedule task [2021-03-19T09:21:05.399Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30527’ [2021-03-19T09:21:05.401Z] Still waiting to schedule task [2021-03-19T09:21:05.402Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T09:22:50.729Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30528 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-03-19T09:22:50.789Z] Running in /w/workspace/device-virtual-go/42 [Pipeline] { [Pipeline] checkout [2021-03-19T09:22:55.691Z] using credential edgex-jenkins-ssh [2021-03-19T09:22:55.757Z] Cloning the remote Git repository [2021-03-19T09:22:55.835Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:22:55.941Z] > git init /w/workspace/device-virtual-go/42 # timeout=10 [2021-03-19T09:22:56.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:22:56.007Z] > git --version # timeout=10 [2021-03-19T09:22:56.027Z] > git --version # 'git version 2.17.1' [2021-03-19T09:22:56.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T09:22:56.103Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T09:22:56.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T09:22:56.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T09:22:57.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T09:22:57.596Z] Checking out Revision bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) [2021-03-19T09:22:57.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:22:57.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T09:22:57.067Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T09:22:57.637Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T09:22:57.650Z] > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 [2021-03-19T09:23:01.959Z] Commit message: "Merge pull request #170 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T09:23:03.633Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T09:23:04.065Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T09:23:04.420Z] + true [2021-03-19T09:23:04.420Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T09:23:07.135Z] provisioning config files... [2021-03-19T09:23:07.183Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config3103286955441399286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:23:07.594Z] ---> docker-login.sh [2021-03-19T09:23:07.594Z] nexus3.edgexfoundry.org:10001 [2021-03-19T09:23:08.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:08.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:08.937Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:08.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:08.937Z] [2021-03-19T09:23:08.937Z] Login Succeeded [2021-03-19T09:23:08.937Z] nexus3.edgexfoundry.org:10002 [2021-03-19T09:23:09.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:09.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:09.489Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:09.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:09.489Z] [2021-03-19T09:23:09.489Z] Login Succeeded [2021-03-19T09:23:09.489Z] nexus3.edgexfoundry.org:10003 [2021-03-19T09:23:09.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:10.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:10.036Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:10.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:10.036Z] [2021-03-19T09:23:10.036Z] Login Succeeded [2021-03-19T09:23:10.036Z] nexus3.edgexfoundry.org:10004 [2021-03-19T09:23:10.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:10.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:10.311Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:10.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:10.311Z] [2021-03-19T09:23:10.311Z] Login Succeeded [2021-03-19T09:23:10.311Z] docker.io [2021-03-19T09:23:10.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:11.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:11.184Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:11.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:11.184Z] [2021-03-19T09:23:11.184Z] Login Succeeded [2021-03-19T09:23:11.184Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T09:23:11.201Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T09:23:11.663Z] ========================================================= [2021-03-19T09:23:11.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T09:23:11.664Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:23:12.058Z] + 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-19T09:23:12.333Z] Sending build context to Docker daemon 474.6kB [2021-03-19T09:23:12.333Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T09:23:12.333Z] Step 2/8 : FROM ${BASE} [2021-03-19T09:23:12.333Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T09:23:12.333Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T09:23:12.333Z] a4357932f1b6: Pulling fs layer [2021-03-19T09:23:12.333Z] 18c013af1878: Pulling fs layer [2021-03-19T09:23:12.333Z] 00ac8860ef70: Pulling fs layer [2021-03-19T09:23:12.333Z] 63d7cb157983: Pulling fs layer [2021-03-19T09:23:12.333Z] b116817d02f9: Pulling fs layer [2021-03-19T09:23:12.333Z] 745a02a5169b: Pulling fs layer [2021-03-19T09:23:12.333Z] 00ac8860ef70: Waiting [2021-03-19T09:23:12.333Z] 63d7cb157983: Waiting [2021-03-19T09:23:12.333Z] b116817d02f9: Waiting [2021-03-19T09:23:12.333Z] 745a02a5169b: Waiting [2021-03-19T09:23:12.609Z] 18c013af1878: Verifying Checksum [2021-03-19T09:23:12.609Z] 18c013af1878: Download complete [2021-03-19T09:23:12.609Z] a4357932f1b6: Download complete [2021-03-19T09:23:12.609Z] 63d7cb157983: Download complete [2021-03-19T09:23:12.609Z] b116817d02f9: Download complete [2021-03-19T09:23:12.609Z] 5f621e34cdf4: Download complete [2021-03-19T09:23:13.205Z] 5f621e34cdf4: Pull complete [2021-03-19T09:23:13.808Z] a4357932f1b6: Pull complete [2021-03-19T09:23:14.084Z] 18c013af1878: Pull complete [2021-03-19T09:23:15.546Z] 745a02a5169b: Verifying Checksum [2021-03-19T09:23:15.546Z] 745a02a5169b: Download complete [2021-03-19T09:23:16.985Z] 00ac8860ef70: Verifying Checksum [2021-03-19T09:23:16.985Z] 00ac8860ef70: Download complete [2021-03-19T09:23:21.087Z] Running on prd-centos7-docker-4c-2g-30529 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-03-19T09:23:21.206Z] Running in /w/workspace/device-virtual-go/42 [Pipeline] { [Pipeline] checkout [2021-03-19T09:23:23.886Z] using credential edgex-jenkins-ssh [2021-03-19T09:23:23.959Z] Cloning the remote Git repository [2021-03-19T09:23:23.992Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:23:24.059Z] > git init /w/workspace/device-virtual-go/42 # timeout=10 [2021-03-19T09:23:24.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:23:24.118Z] > git --version # timeout=10 [2021-03-19T09:23:24.124Z] > git --version # 'git version 2.24.3' [2021-03-19T09:23:24.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T09:23:24.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T09:23:24.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T09:23:24.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T09:23:24.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-03-19T09:23:24.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-03-19T09:23:24.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T09:23:24.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T09:23:25.130Z] Checking out Revision bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) [2021-03-19T09:23:25.143Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T09:23:25.148Z] > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 [2021-03-19T09:23:27.182Z] 00ac8860ef70: Pull complete [2021-03-19T09:23:27.182Z] 63d7cb157983: Pull complete [2021-03-19T09:23:27.182Z] b116817d02f9: Pull complete [2021-03-19T09:23:28.892Z] Commit message: "Merge pull request #170 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T09:23:29.943Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T09:23:30.271Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T09:23:30.573Z] + sudo service docker restart [2021-03-19T09:23:30.573Z] + true [2021-03-19T09:23:30.573Z] Redirecting to /bin/systemctl restart docker.service [2021-03-19T09:23:31.504Z] 745a02a5169b: Pull complete [2021-03-19T09:23:31.504Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T09:23:31.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T09:23:31.504Z] ---> b7e6874047d6 [2021-03-19T09:23:31.504Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T09:23:31.598Z] provisioning config files... [2021-03-19T09:23:31.636Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config3622244159805472338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:23:31.996Z] ---> docker-login.sh [2021-03-19T09:23:31.996Z] nexus3.edgexfoundry.org:10001 [2021-03-19T09:23:32.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:32.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:32.258Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:32.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:32.258Z] [2021-03-19T09:23:32.258Z] Login Succeeded [2021-03-19T09:23:32.258Z] nexus3.edgexfoundry.org:10002 [2021-03-19T09:23:32.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:32.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:32.520Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:32.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:32.520Z] [2021-03-19T09:23:32.520Z] Login Succeeded [2021-03-19T09:23:32.520Z] nexus3.edgexfoundry.org:10003 [2021-03-19T09:23:32.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:32.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:32.783Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:32.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:32.783Z] [2021-03-19T09:23:32.783Z] Login Succeeded [2021-03-19T09:23:32.783Z] nexus3.edgexfoundry.org:10004 [2021-03-19T09:23:32.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:32.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:32.783Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:32.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:32.783Z] [2021-03-19T09:23:32.783Z] Login Succeeded [2021-03-19T09:23:32.783Z] docker.io [2021-03-19T09:23:33.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:23:33.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:23:33.309Z] Configure a credential helper to remove this warning. See [2021-03-19T09:23:33.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:23:33.309Z] [2021-03-19T09:23:33.309Z] Login Succeeded [2021-03-19T09:23:33.309Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T09:23:33.318Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T09:23:33.682Z] ========================================================= [2021-03-19T09:23:33.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T09:23:33.682Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:23:34.027Z] + 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-19T09:23:34.027Z] Sending build context to Docker daemon 475.6kB [2021-03-19T09:23:34.027Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T09:23:34.027Z] Step 2/8 : FROM ${BASE} [2021-03-19T09:23:34.027Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T09:23:34.027Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T09:23:34.027Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T09:23:34.027Z] de9db76c5a1d: Pulling fs layer [2021-03-19T09:23:34.027Z] bca2f99d35d6: Pulling fs layer [2021-03-19T09:23:34.027Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T09:23:34.027Z] 7c6f9722023f: Pulling fs layer [2021-03-19T09:23:34.027Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T09:23:34.027Z] 93359f2a8cfa: Waiting [2021-03-19T09:23:34.027Z] 7c6f9722023f: Waiting [2021-03-19T09:23:34.027Z] a35cf1a2eb13: Waiting [2021-03-19T09:23:34.027Z] bca2f99d35d6: Waiting [2021-03-19T09:23:34.128Z] ---> Running in 9cbd84d7a8b7 [2021-03-19T09:23:34.289Z] de9db76c5a1d: Verifying Checksum [2021-03-19T09:23:34.289Z] de9db76c5a1d: Download complete [2021-03-19T09:23:34.289Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T09:23:34.289Z] 0ef7d3d256c8: Download complete [2021-03-19T09:23:34.289Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T09:23:34.289Z] 93359f2a8cfa: Download complete [2021-03-19T09:23:34.289Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T09:23:34.289Z] 188c0c94c7c5: Download complete [2021-03-19T09:23:34.289Z] 7c6f9722023f: Verifying Checksum [2021-03-19T09:23:34.289Z] 7c6f9722023f: Download complete [2021-03-19T09:23:34.408Z] Removing intermediate container 9cbd84d7a8b7 [2021-03-19T09:23:34.408Z] ---> 8492b3bf488b [2021-03-19T09:23:34.408Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T09:23:34.408Z] ---> Running in 9fa443ea04c6 [2021-03-19T09:23:34.551Z] 188c0c94c7c5: Pull complete [2021-03-19T09:23:34.551Z] 0ef7d3d256c8: Pull complete [2021-03-19T09:23:34.815Z] de9db76c5a1d: Pull complete [2021-03-19T09:23:36.749Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T09:23:36.749Z] a35cf1a2eb13: Download complete [2021-03-19T09:23:36.749Z] bca2f99d35d6: Verifying Checksum [2021-03-19T09:23:36.749Z] bca2f99d35d6: Download complete [2021-03-19T09:23:37.046Z] Removing intermediate container 9fa443ea04c6 [2021-03-19T09:23:37.046Z] ---> a490604b83ee [2021-03-19T09:23:37.046Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-19T09:23:37.046Z] ---> Running in 3487d67aedc6 [2021-03-19T09:23:38.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T09:23:38.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T09:23:39.584Z] (1/14) Installing libmagic (5.38-r0) [2021-03-19T09:23:39.584Z] (2/14) Installing file (5.38-r0) [2021-03-19T09:23:39.857Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-19T09:23:39.857Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-19T09:23:42.190Z] bca2f99d35d6: Pull complete [2021-03-19T09:23:42.190Z] 93359f2a8cfa: Pull complete [2021-03-19T09:23:42.455Z] 7c6f9722023f: Pull complete [2021-03-19T09:23:43.229Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-19T09:23:43.229Z] (6/14) Installing patch (2.7.6-r6) [2021-03-19T09:23:43.229Z] (7/14) Installing build-base (0.5-r2) [2021-03-19T09:23:43.229Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-19T09:23:43.229Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-19T09:23:43.229Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-19T09:23:43.503Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-19T09:23:43.503Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-19T09:23:43.776Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-19T09:23:43.776Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-19T09:23:43.776Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T09:23:43.776Z] OK: 221 MiB in 53 packages [2021-03-19T09:23:48.086Z] Removing intermediate container 3487d67aedc6 [2021-03-19T09:23:48.086Z] ---> 8b6bda9b8b87 [2021-03-19T09:23:48.086Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-19T09:23:48.086Z] ---> Running in 43f473c771f1 [2021-03-19T09:23:48.360Z] Removing intermediate container 43f473c771f1 [2021-03-19T09:23:48.360Z] ---> 55f8858059ad [2021-03-19T09:23:48.360Z] Step 7/8 : COPY . . [2021-03-19T09:23:49.069Z] a35cf1a2eb13: Pull complete [2021-03-19T09:23:49.069Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T09:23:49.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T09:23:49.069Z] ---> a62c8e92a672 [2021-03-19T09:23:49.069Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-19T09:23:49.069Z] ---> Running in 8a5e2460af02 [2021-03-19T09:23:49.069Z] Removing intermediate container 8a5e2460af02 [2021-03-19T09:23:49.069Z] ---> f8b7e872556e [2021-03-19T09:23:49.069Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T09:23:49.069Z] ---> Running in 417eedfce6d2 [2021-03-19T09:23:49.338Z] ---> 28bff2e9e1a3 [2021-03-19T09:23:49.338Z] Step 8/8 : RUN go mod download [2021-03-19T09:23:49.612Z] ---> Running in d5988cbdc234 [2021-03-19T09:23:50.469Z] Removing intermediate container 417eedfce6d2 [2021-03-19T09:23:50.469Z] ---> 7d7eafe0a9c6 [2021-03-19T09:23:50.469Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-19T09:23:50.469Z] ---> Running in 5db472b69baf [2021-03-19T09:23:50.733Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T09:23:51.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T09:23:52.258Z] (1/14) Installing libmagic (5.38-r0) [2021-03-19T09:23:52.522Z] (2/14) Installing file (5.38-r0) [2021-03-19T09:23:52.522Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-19T09:23:52.784Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-19T09:24:05.042Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-19T09:24:05.042Z] (6/14) Installing patch (2.7.6-r6) [2021-03-19T09:24:05.042Z] (7/14) Installing build-base (0.5-r2) [2021-03-19T09:24:05.042Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-19T09:24:05.042Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-19T09:24:05.042Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-19T09:24:05.619Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-19T09:24:05.881Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-19T09:24:05.881Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-19T09:24:06.144Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-19T09:24:06.407Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T09:24:06.408Z] OK: 237 MiB in 53 packages [2021-03-19T09:24:08.990Z] Removing intermediate container 5db472b69baf [2021-03-19T09:24:08.990Z] ---> b979de7597b1 [2021-03-19T09:24:08.990Z] Step 6/8 : WORKDIR /device-virtual-go [2021-03-19T09:24:09.253Z] ---> Running in 38af2f94c6d1 [2021-03-19T09:24:09.253Z] Removing intermediate container 38af2f94c6d1 [2021-03-19T09:24:09.253Z] ---> e84fd0bb1994 [2021-03-19T09:24:09.253Z] Step 7/8 : COPY . . [2021-03-19T09:24:10.207Z] ---> 41351ecaa0f2 [2021-03-19T09:24:10.207Z] Step 8/8 : RUN go mod download [2021-03-19T09:24:10.207Z] ---> Running in 60d8cdf77da2 [2021-03-19T09:24:16.415Z] Removing intermediate container d5988cbdc234 [2021-03-19T09:24:16.415Z] ---> bed47d12bfdb [2021-03-19T09:24:16.415Z] Successfully built bed47d12bfdb [2021-03-19T09:24:16.415Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:24:16.758Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T09:24:16.758Z] . [Pipeline] withDockerContainer [2021-03-19T09:24:17.041Z] prd-ubuntu18.04-docker-arm64-4c-16g-30528 does not seem to be running inside a container [2021-03-19T09:24:17.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T09:24:18.641Z] $ docker top 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T09:24:19.688Z] + go version [2021-03-19T09:24:19.688Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T09:24:19.717Z] $ docker stop --time=1 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c [2021-03-19T09:24:21.648Z] $ docker rm -f 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:24:22.687Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T09:24:22.687Z] . [Pipeline] withDockerContainer [2021-03-19T09:24:22.947Z] prd-ubuntu18.04-docker-arm64-4c-16g-30528 does not seem to be running inside a container [2021-03-19T09:24:23.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T09:24:24.535Z] $ docker top 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T09:24:25.557Z] + make test [2021-03-19T09:24:25.558Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-19T09:24:26.543Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-19T09:24:32.268Z] Removing intermediate container 60d8cdf77da2 [2021-03-19T09:24:32.269Z] ---> 59e2f45b7624 [2021-03-19T09:24:32.269Z] Successfully built 59e2f45b7624 [2021-03-19T09:24:32.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:24:32.591Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T09:24:32.592Z] . [Pipeline] withDockerContainer [2021-03-19T09:24:32.715Z] prd-centos7-docker-4c-2g-30529 does not seem to be running inside a container [2021-03-19T09:24:32.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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-19T09:24:33.654Z] $ docker top eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T09:24:34.228Z] + go version [2021-03-19T09:24:34.228Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T09:24:34.248Z] $ docker stop --time=1 eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 [2021-03-19T09:24:35.590Z] $ docker rm -f eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:24:36.442Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T09:24:36.442Z] . [Pipeline] withDockerContainer [2021-03-19T09:24:36.542Z] prd-centos7-docker-4c-2g-30529 does not seem to be running inside a container [2021-03-19T09:24:36.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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-19T09:24:37.173Z] $ docker top b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T09:24:37.648Z] + make test [2021-03-19T09:24:37.648Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-19T09:24:39.060Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-03-19T09:24:57.421Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-19T09:24:57.421Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.339s coverage: 63.8% of statements [2021-03-19T09:24:57.421Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-19T09:24:58.371Z] gofmt -l . [2021-03-19T09:24:58.633Z] [ "`gofmt -l .`" = "" ] [2021-03-19T09:24:58.633Z] ./bin/test-attribution-txt.sh [2021-03-19T09:24:59.581Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T09:24:59.863Z] $ docker stop --time=1 b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa [2021-03-19T09:25:01.610Z] $ docker rm -f b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T09:25:02.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T09:25:02.664Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-19T09:25:05.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T09:25:05.830Z] + ls -al . [2021-03-19T09:25:05.830Z] total 128 [2021-03-19T09:25:05.830Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 19 09:24 . [2021-03-19T09:25:05.830Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 19 09:23 .. [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 7136 Mar 19 09:23 Attribution.txt [2021-03-19T09:25:05.830Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 09:23 bin [2021-03-19T09:25:05.830Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 19 09:23 cmd [2021-03-19T09:25:05.830Z] -rw-r--r--. 1 jenkins jenkins 47247 Mar 19 09:24 coverage.out [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 1851 Mar 19 09:23 Dockerfile [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 961 Mar 19 09:23 Dockerfile.build [2021-03-19T09:25:05.830Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 19 09:23 .git [2021-03-19T09:25:05.830Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 09:23 .github [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 19 09:23 .gitignore [2021-03-19T09:25:05.830Z] -rw-r--r--. 1 jenkins jenkins 809 Mar 19 09:24 go.mod [2021-03-19T09:25:05.830Z] -rw-r--r--. 1 jenkins jenkins 20118 Mar 19 09:24 go.sum [2021-03-19T09:25:05.830Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 19 09:23 internal [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 660 Mar 19 09:23 Jenkinsfile [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 19 09:23 LICENSE [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 19 09:23 Makefile [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 918 Mar 19 09:23 README.md [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 11 Mar 19 09:20 VERSION [2021-03-19T09:25:05.830Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 19 09:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:06.136Z] + 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=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec --label arch=amd64 --label version=1.3.2-dev.3 . [2021-03-19T09:25:06.136Z] Sending build context to Docker daemon 544.8kB [2021-03-19T09:25:06.136Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T09:25:06.136Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-19T09:25:06.136Z] ---> 59e2f45b7624 [2021-03-19T09:25:06.136Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-19T09:25:06.398Z] ---> Running in aea816dacd21 [2021-03-19T09:25:06.661Z] Removing intermediate container aea816dacd21 [2021-03-19T09:25:06.661Z] ---> 15abc493eddf [2021-03-19T09:25:06.661Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-19T09:25:06.661Z] ---> Running in 979350bf2d2e [2021-03-19T09:25:06.924Z] Removing intermediate container 979350bf2d2e [2021-03-19T09:25:06.924Z] ---> bd8fa92fc478 [2021-03-19T09:25:06.924Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-19T09:25:06.924Z] ---> Running in b34d604d7252 [2021-03-19T09:25:07.189Z] Removing intermediate container b34d604d7252 [2021-03-19T09:25:07.189Z] ---> d5d3d0514436 [2021-03-19T09:25:07.189Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T09:25:07.189Z] ---> Running in 44aab8e1c813 [2021-03-19T09:25:08.138Z] Removing intermediate container 44aab8e1c813 [2021-03-19T09:25:08.138Z] ---> 6651f5094098 [2021-03-19T09:25:08.138Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-19T09:25:08.138Z] ---> Running in 22007ee6b4d9 [2021-03-19T09:25:08.401Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T09:25:09.349Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T09:25:09.927Z] OK: 237 MiB in 53 packages [2021-03-19T09:25:10.508Z] Removing intermediate container 22007ee6b4d9 [2021-03-19T09:25:10.508Z] ---> 19fe1d5f5870 [2021-03-19T09:25:10.508Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-19T09:25:10.508Z] ---> Running in 287597871f2d [2021-03-19T09:25:10.772Z] Removing intermediate container 287597871f2d [2021-03-19T09:25:10.772Z] ---> a6b2f906f5ff [2021-03-19T09:25:10.772Z] Step 9/22 : COPY . . [2021-03-19T09:25:11.354Z] ---> a34d3e318296 [2021-03-19T09:25:11.354Z] Step 10/22 : ARG MAKE='make build' [2021-03-19T09:25:11.354Z] ---> Running in d3d9f4d4f4b2 [2021-03-19T09:25:11.623Z] Removing intermediate container d3d9f4d4f4b2 [2021-03-19T09:25:11.623Z] ---> 43d5f2ad7f05 [2021-03-19T09:25:11.623Z] Step 11/22 : RUN $MAKE [2021-03-19T09:25:11.623Z] ---> Running in bd5ca116da09 [2021-03-19T09:25:12.212Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.3" -o cmd/device-virtual ./cmd [2021-03-19T09:25:13.608Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-03-19T09:25:13.608Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.427s coverage: 63.8% of statements [2021-03-19T09:25:13.608Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-19T09:25:20.344Z] gofmt -l . [2021-03-19T09:25:20.344Z] [ "`gofmt -l .`" = "" ] [2021-03-19T09:25:20.344Z] ./bin/test-attribution-txt.sh [2021-03-19T09:25:21.324Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T09:25:21.955Z] $ docker stop --time=1 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b [2021-03-19T09:25:24.142Z] $ docker rm -f 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b [2021-03-19T09:25:24.595Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T09:25:25.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T09:25:25.189Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T09:25:25.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T09:25:26.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T09:25:27.190Z] + ls -al . [2021-03-19T09:25:27.190Z] total 152 [2021-03-19T09:25:27.190Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 19 09:25 . [2021-03-19T09:25:27.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 09:22 .. [2021-03-19T09:25:27.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 09:23 .git [2021-03-19T09:25:27.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 09:22 .github [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 258 Mar 19 09:22 .gitignore [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 7136 Mar 19 09:22 Attribution.txt [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 1851 Mar 19 09:22 Dockerfile [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 961 Mar 19 09:22 Dockerfile.build [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 19 09:22 Jenkinsfile [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 09:22 LICENSE [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 873 Mar 19 09:22 Makefile [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 918 Mar 19 09:22 README.md [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 19 09:20 VERSION [2021-03-19T09:25:27.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 09:22 bin [2021-03-19T09:25:27.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 09:22 cmd [2021-03-19T09:25:27.190Z] -rw-r--r-- 1 jenkins jenkins 47247 Mar 19 09:25 coverage.out [2021-03-19T09:25:27.190Z] -rw-r--r-- 1 jenkins jenkins 809 Mar 19 09:25 go.mod [2021-03-19T09:25:27.190Z] -rw-r--r-- 1 jenkins jenkins 20118 Mar 19 09:25 go.sum [2021-03-19T09:25:27.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 09:22 internal [2021-03-19T09:25:27.190Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 19 09:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:27.604Z] + 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=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec --label arch=arm64 --label version=1.3.2-dev.3 . [2021-03-19T09:25:27.884Z] Sending build context to Docker daemon 543.7kB [2021-03-19T09:25:27.884Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T09:25:27.884Z] Step 2/22 : FROM ${BASE} AS builder [2021-03-19T09:25:27.884Z] ---> bed47d12bfdb [2021-03-19T09:25:27.884Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-03-19T09:25:28.171Z] ---> Running in 0b8931d371bd [2021-03-19T09:25:28.775Z] Removing intermediate container 0b8931d371bd [2021-03-19T09:25:28.775Z] ---> 250c454e9900 [2021-03-19T09:25:28.775Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-03-19T09:25:28.775Z] ---> Running in d8d3bd80c64a [2021-03-19T09:25:28.816Z] Removing intermediate container bd5ca116da09 [2021-03-19T09:25:28.816Z] ---> 3d895ef6a177 [2021-03-19T09:25:28.816Z] Step 12/22 : FROM alpine:3.12 [2021-03-19T09:25:28.816Z] 3.12: Pulling from library/alpine [2021-03-19T09:25:29.078Z] f84cab65f19f: Pulling fs layer [2021-03-19T09:25:29.078Z] f84cab65f19f: Download complete [2021-03-19T09:25:29.341Z] f84cab65f19f: Pull complete [2021-03-19T09:25:29.341Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-19T09:25:29.341Z] Status: Downloaded newer image for alpine:3.12 [2021-03-19T09:25:29.341Z] ---> 88dd2752d2ea [2021-03-19T09:25:29.341Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-19T09:25:29.371Z] Removing intermediate container d8d3bd80c64a [2021-03-19T09:25:29.371Z] ---> d836ee548e59 [2021-03-19T09:25:29.372Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-03-19T09:25:29.372Z] ---> Running in deebbb2d6c53 [2021-03-19T09:25:29.604Z] ---> Running in e49248e53c71 [2021-03-19T09:25:29.604Z] Removing intermediate container e49248e53c71 [2021-03-19T09:25:29.604Z] ---> d221822f1db3 [2021-03-19T09:25:29.604Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-19T09:25:29.868Z] ---> Running in 84a67400fe9e [2021-03-19T09:25:29.868Z] Removing intermediate container 84a67400fe9e [2021-03-19T09:25:29.868Z] ---> 688ede2c76d8 [2021-03-19T09:25:29.868Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-19T09:25:29.977Z] Removing intermediate container deebbb2d6c53 [2021-03-19T09:25:29.978Z] ---> 1ceb565e21e2 [2021-03-19T09:25:29.978Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T09:25:29.978Z] ---> Running in bc33c05d20e5 [2021-03-19T09:25:30.449Z] ---> 0d5fd5541b1e [2021-03-19T09:25:30.450Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-19T09:25:30.712Z] ---> 71ad75924dcc [2021-03-19T09:25:30.712Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-19T09:25:30.975Z] ---> 6cc095d8f718 [2021-03-19T09:25:30.975Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-19T09:25:30.975Z] ---> Running in fcc08d007928 [2021-03-19T09:25:31.240Z] Removing intermediate container fcc08d007928 [2021-03-19T09:25:31.240Z] ---> 0b5eaeb7f918 [2021-03-19T09:25:31.240Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T09:25:31.240Z] ---> Running in 45386f8e57d3 [2021-03-19T09:25:31.504Z] Removing intermediate container 45386f8e57d3 [2021-03-19T09:25:31.504Z] ---> d95461b4863a [2021-03-19T09:25:31.504Z] Step 20/22 : LABEL arch=amd64 [2021-03-19T09:25:31.504Z] ---> Running in 78b91daafd16 [2021-03-19T09:25:31.767Z] Removing intermediate container 78b91daafd16 [2021-03-19T09:25:31.767Z] ---> 500c8cfc10fe [2021-03-19T09:25:31.767Z] Step 21/22 : LABEL git_sha=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:25:31.767Z] ---> Running in d73a06c96cfb [2021-03-19T09:25:31.951Z] Removing intermediate container bc33c05d20e5 [2021-03-19T09:25:31.951Z] ---> 385c6ae2179b [2021-03-19T09:25:31.951Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-03-19T09:25:32.030Z] Removing intermediate container d73a06c96cfb [2021-03-19T09:25:32.030Z] ---> a3fd1995a558 [2021-03-19T09:25:32.030Z] Step 22/22 : LABEL version=1.3.2-dev.3 [2021-03-19T09:25:32.030Z] ---> Running in 2544df907a32 [2021-03-19T09:25:32.224Z] ---> Running in 5174a7c54a92 [2021-03-19T09:25:32.297Z] Removing intermediate container 2544df907a32 [2021-03-19T09:25:32.297Z] ---> efa072f46a4e [2021-03-19T09:25:32.297Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T09:25:32.297Z] Successfully built efa072f46a4e [2021-03-19T09:25:32.297Z] 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-19T09:25:32.676Z] provisioning config files... [2021-03-19T09:25:32.719Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config5243767371161266770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:25:33.083Z] ---> docker-login.sh [2021-03-19T09:25:33.084Z] nexus3.edgexfoundry.org:10001 [2021-03-19T09:25:33.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:25:33.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T09:25:33.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:25:33.346Z] Configure a credential helper to remove this warning. See [2021-03-19T09:25:33.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:25:33.346Z] [2021-03-19T09:25:33.346Z] Login Succeeded [2021-03-19T09:25:33.346Z] nexus3.edgexfoundry.org:10002 [2021-03-19T09:25:33.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:25:33.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:25:33.346Z] Configure a credential helper to remove this warning. See [2021-03-19T09:25:33.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:25:33.346Z] [2021-03-19T09:25:33.346Z] Login Succeeded [2021-03-19T09:25:33.346Z] nexus3.edgexfoundry.org:10003 [2021-03-19T09:25:33.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:25:33.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:25:33.610Z] Configure a credential helper to remove this warning. See [2021-03-19T09:25:33.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:25:33.610Z] [2021-03-19T09:25:33.610Z] Login Succeeded [2021-03-19T09:25:33.610Z] nexus3.edgexfoundry.org:10004 [2021-03-19T09:25:33.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:25:33.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:25:33.873Z] Configure a credential helper to remove this warning. See [2021-03-19T09:25:33.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:25:33.873Z] [2021-03-19T09:25:33.873Z] Login Succeeded [2021-03-19T09:25:33.873Z] docker.io [2021-03-19T09:25:33.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:25:34.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:25:34.136Z] Configure a credential helper to remove this warning. See [2021-03-19T09:25:34.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:25:34.136Z] [2021-03-19T09:25:34.136Z] Login Succeeded [2021-03-19T09:25:34.136Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T09:25:34.149Z] Deleting 1 temporary files [2021-03-19T09:25:34.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-19T09:25:34.415Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-03-19T09:25:34.415Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:25:34.415Z] latest [2021-03-19T09:25:34.415Z] 1.3.2-dev.3 [2021-03-19T09:25:34.415Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:25:34.415Z] master [2021-03-19T09:25:34.415Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:34.928Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:35.234Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:25:35.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-19T09:25:35.234Z] 0d65ddb4f085: Preparing [2021-03-19T09:25:35.234Z] 97cb3e9025f8: Preparing [2021-03-19T09:25:35.234Z] b88cc804e438: Preparing [2021-03-19T09:25:35.234Z] 33e8713114f8: Preparing [2021-03-19T09:25:35.234Z] 33e8713114f8: Layer already exists [2021-03-19T09:25:35.234Z] 0d65ddb4f085: Pushed [2021-03-19T09:25:35.234Z] 97cb3e9025f8: Pushed [2021-03-19T09:25:35.620Z] OK: 221 MiB in 53 packages [2021-03-19T09:25:36.598Z] Removing intermediate container 5174a7c54a92 [2021-03-19T09:25:36.598Z] ---> 5a96669f54d2 [2021-03-19T09:25:36.598Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-03-19T09:25:36.598Z] ---> Running in 288328fbbc41 [2021-03-19T09:25:36.633Z] b88cc804e438: Pushed [2021-03-19T09:25:36.895Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:37.193Z] Removing intermediate container 288328fbbc41 [2021-03-19T09:25:37.193Z] ---> dda9d9a653df [2021-03-19T09:25:37.193Z] Step 9/22 : COPY . . [2021-03-19T09:25:37.208Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:37.512Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-03-19T09:25:37.512Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-19T09:25:37.512Z] 0d65ddb4f085: Preparing [2021-03-19T09:25:37.512Z] 97cb3e9025f8: Preparing [2021-03-19T09:25:37.512Z] b88cc804e438: Preparing [2021-03-19T09:25:37.512Z] 33e8713114f8: Preparing [2021-03-19T09:25:37.512Z] 0d65ddb4f085: Layer already exists [2021-03-19T09:25:37.512Z] b88cc804e438: Layer already exists [2021-03-19T09:25:37.512Z] 33e8713114f8: Layer already exists [2021-03-19T09:25:37.512Z] 97cb3e9025f8: Layer already exists [2021-03-19T09:25:37.512Z] latest: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:37.820Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:38.125Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 [2021-03-19T09:25:38.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-19T09:25:38.125Z] 0d65ddb4f085: Preparing [2021-03-19T09:25:38.125Z] 97cb3e9025f8: Preparing [2021-03-19T09:25:38.125Z] b88cc804e438: Preparing [2021-03-19T09:25:38.125Z] 33e8713114f8: Preparing [2021-03-19T09:25:38.125Z] 0d65ddb4f085: Layer already exists [2021-03-19T09:25:38.125Z] b88cc804e438: Layer already exists [2021-03-19T09:25:38.125Z] 33e8713114f8: Layer already exists [2021-03-19T09:25:38.125Z] 97cb3e9025f8: Layer already exists [2021-03-19T09:25:38.125Z] 1.3.2-dev.3: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:38.170Z] ---> e85e53a66632 [2021-03-19T09:25:38.170Z] Step 10/22 : ARG MAKE='make build' [2021-03-19T09:25:38.170Z] ---> Running in 157d3876e0b6 [2021-03-19T09:25:38.430Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:38.730Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:25:38.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-19T09:25:38.730Z] 0d65ddb4f085: Preparing [2021-03-19T09:25:38.730Z] 97cb3e9025f8: Preparing [2021-03-19T09:25:38.730Z] b88cc804e438: Preparing [2021-03-19T09:25:38.730Z] 33e8713114f8: Preparing [2021-03-19T09:25:38.730Z] 33e8713114f8: Layer already exists [2021-03-19T09:25:38.730Z] b88cc804e438: Layer already exists [2021-03-19T09:25:38.730Z] 97cb3e9025f8: Layer already exists [2021-03-19T09:25:38.730Z] 0d65ddb4f085: Layer already exists [2021-03-19T09:25:38.730Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:38.763Z] Removing intermediate container 157d3876e0b6 [2021-03-19T09:25:38.763Z] ---> 13c66a1ed221 [2021-03-19T09:25:38.763Z] Step 11/22 : RUN $MAKE [2021-03-19T09:25:38.763Z] ---> Running in aec5ff1c5276 [2021-03-19T09:25:39.036Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:25:39.336Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-03-19T09:25:39.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-03-19T09:25:39.337Z] 0d65ddb4f085: Preparing [2021-03-19T09:25:39.337Z] 97cb3e9025f8: Preparing [2021-03-19T09:25:39.337Z] b88cc804e438: Preparing [2021-03-19T09:25:39.337Z] 33e8713114f8: Preparing [2021-03-19T09:25:39.337Z] 97cb3e9025f8: Layer already exists [2021-03-19T09:25:39.337Z] 33e8713114f8: Layer already exists [2021-03-19T09:25:39.337Z] 0d65ddb4f085: Layer already exists [2021-03-19T09:25:39.337Z] b88cc804e438: Layer already exists [2021-03-19T09:25:39.337Z] master: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-19T09:25:39.555Z] ===================================================== [Pipeline] echo [2021-03-19T09:25:39.607Z] taggedImages: [2021-03-19T09:25:39.607Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:25:39.607Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-03-19T09:25:39.607Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 [2021-03-19T09:25:39.607Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:25:39.607Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-19T09:25:39.745Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.3" -o cmd/device-virtual ./cmd [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:25:40.679Z] ---> job-cost.sh [2021-03-19T09:25:40.680Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f8Ws [2021-03-19T09:25:55.626Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T09:26:12.129Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-19T09:26:22.282Z] Removing intermediate container aec5ff1c5276 [2021-03-19T09:26:22.282Z] ---> 9c38db8c3295 [2021-03-19T09:26:22.282Z] Step 12/22 : FROM alpine:3.12 [2021-03-19T09:26:22.282Z] 3.12: Pulling from library/alpine [2021-03-19T09:26:22.282Z] dce8679b510e: Pulling fs layer [2021-03-19T09:26:22.282Z] dce8679b510e: Verifying Checksum [2021-03-19T09:26:22.282Z] dce8679b510e: Download complete [2021-03-19T09:26:22.282Z] dce8679b510e: Pull complete [2021-03-19T09:26:22.282Z] Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe [2021-03-19T09:26:22.282Z] Status: Downloaded newer image for alpine:3.12 [2021-03-19T09:26:22.282Z] ---> d10569e2745f [2021-03-19T09:26:22.282Z] Step 13/22 : ENV APP_PORT=49990 [2021-03-19T09:26:22.282Z] ---> Running in f801a778ad1b [2021-03-19T09:26:22.551Z] Removing intermediate container f801a778ad1b [2021-03-19T09:26:22.551Z] ---> f21cfc2f21e9 [2021-03-19T09:26:22.551Z] Step 14/22 : EXPOSE $APP_PORT [2021-03-19T09:26:22.824Z] ---> Running in da7d61bfe617 [2021-03-19T09:26:23.097Z] Removing intermediate container da7d61bfe617 [2021-03-19T09:26:23.097Z] ---> a9f167bde500 [2021-03-19T09:26:23.097Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-03-19T09:26:24.531Z] ---> ef150963eb9a [2021-03-19T09:26:24.531Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-03-19T09:26:25.130Z] ---> eaed926456e5 [2021-03-19T09:26:25.130Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-03-19T09:26:26.112Z] ---> b23a93bf31ef [2021-03-19T09:26:26.112Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-03-19T09:26:26.112Z] ---> Running in d833e9dbd194 [2021-03-19T09:26:26.384Z] Removing intermediate container d833e9dbd194 [2021-03-19T09:26:26.384Z] ---> 177dae8e635b [2021-03-19T09:26:26.660Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T09:26:26.660Z] ---> Running in 4112806169a2 [2021-03-19T09:26:27.256Z] Removing intermediate container 4112806169a2 [2021-03-19T09:26:27.256Z] ---> 0bfc4ef824c4 [2021-03-19T09:26:27.256Z] Step 20/22 : LABEL arch=arm64 [2021-03-19T09:26:27.256Z] ---> Running in fef2488c994b [2021-03-19T09:26:27.806Z] lf-activate-venv(): INFO: Adding /tmp/venv-f8Ws/bin to PATH [2021-03-19T09:26:27.806Z] INFO: No Stack... [2021-03-19T09:26:27.806Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T09:26:27.806Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T09:26:27.850Z] Removing intermediate container fef2488c994b [2021-03-19T09:26:27.850Z] ---> 6358042431b1 [2021-03-19T09:26:27.850Z] Step 21/22 : LABEL git_sha=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:26:27.850Z] ---> Running in ad38396ba3e9 [2021-03-19T09:26:28.125Z] + cat /w/workspace/device-virtual-go/42/archives/cost.csv [2021-03-19T09:26:28.125Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T09:26:28.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [2021-03-19T09:26:28.212Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] did not exist. Created. [2021-03-19T09:26:28.212Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T09:26:28.444Z] Removing intermediate container ad38396ba3e9 [2021-03-19T09:26:28.444Z] ---> cdae2fd4ec6d [2021-03-19T09:26:28.444Z] Step 22/22 : LABEL version=1.3.2-dev.3 [2021-03-19T09:26:28.444Z] ---> Running in 8e18ef83bf86 [2021-03-19T09:26:28.607Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T09:26:28.826Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T09:26:28.843Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [2021-03-19T09:26:29.040Z] Removing intermediate container 8e18ef83bf86 [2021-03-19T09:26:29.040Z] ---> 65591ba97540 [2021-03-19T09:26:29.040Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T09:26:29.040Z] Successfully built 65591ba97540 [2021-03-19T09:26:29.040Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T09:26:29.927Z] provisioning config files... [2021-03-19T09:26:29.973Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config7536758039628037181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:26:30.377Z] ---> docker-login.sh [2021-03-19T09:26:30.377Z] nexus3.edgexfoundry.org:10001 [2021-03-19T09:26:30.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:26:30.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:26:30.651Z] Configure a credential helper to remove this warning. See [2021-03-19T09:26:30.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:26:30.651Z] [2021-03-19T09:26:30.651Z] Login Succeeded [2021-03-19T09:26:30.651Z] nexus3.edgexfoundry.org:10002 [2021-03-19T09:26:31.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:26:31.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:26:31.245Z] Configure a credential helper to remove this warning. See [2021-03-19T09:26:31.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:26:31.245Z] [2021-03-19T09:26:31.245Z] Login Succeeded [2021-03-19T09:26:31.245Z] nexus3.edgexfoundry.org:10003 [2021-03-19T09:26:31.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:26:31.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:26:31.846Z] Configure a credential helper to remove this warning. See [2021-03-19T09:26:31.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:26:31.846Z] [2021-03-19T09:26:31.846Z] Login Succeeded [2021-03-19T09:26:31.846Z] nexus3.edgexfoundry.org:10004 [2021-03-19T09:26:32.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:26:32.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:26:32.392Z] Configure a credential helper to remove this warning. See [2021-03-19T09:26:32.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:26:32.392Z] [2021-03-19T09:26:32.392Z] Login Succeeded [2021-03-19T09:26:32.392Z] docker.io [2021-03-19T09:26:32.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T09:26:32.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T09:26:32.937Z] Configure a credential helper to remove this warning. See [2021-03-19T09:26:32.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T09:26:32.937Z] [2021-03-19T09:26:32.937Z] Login Succeeded [2021-03-19T09:26:32.937Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T09:26:32.954Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-19T09:26:33.249Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-03-19T09:26:33.249Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:26:33.249Z] latest [2021-03-19T09:26:33.249Z] 1.3.2-dev.3 [2021-03-19T09:26:33.249Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:26:33.249Z] master [2021-03-19T09:26:33.249Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:33.769Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:34.106Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:26:34.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-19T09:26:34.106Z] e5f1c12fb544: Preparing [2021-03-19T09:26:34.106Z] f46e0b462a17: Preparing [2021-03-19T09:26:34.106Z] ea1d310d70ef: Preparing [2021-03-19T09:26:34.106Z] 02a88cfff88f: Preparing [2021-03-19T09:26:34.379Z] 02a88cfff88f: Layer already exists [2021-03-19T09:26:34.379Z] f46e0b462a17: Pushed [2021-03-19T09:26:34.379Z] e5f1c12fb544: Pushed [2021-03-19T09:26:37.775Z] ea1d310d70ef: Pushed [2021-03-19T09:26:37.775Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:38.122Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:38.456Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-03-19T09:26:38.456Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-19T09:26:38.456Z] e5f1c12fb544: Preparing [2021-03-19T09:26:38.456Z] f46e0b462a17: Preparing [2021-03-19T09:26:38.456Z] ea1d310d70ef: Preparing [2021-03-19T09:26:38.456Z] 02a88cfff88f: Preparing [2021-03-19T09:26:38.456Z] 02a88cfff88f: Layer already exists [2021-03-19T09:26:38.456Z] ea1d310d70ef: Layer already exists [2021-03-19T09:26:38.456Z] f46e0b462a17: Layer already exists [2021-03-19T09:26:38.456Z] e5f1c12fb544: Layer already exists [2021-03-19T09:26:38.727Z] latest: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:39.080Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:39.418Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 [2021-03-19T09:26:39.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-19T09:26:39.418Z] e5f1c12fb544: Preparing [2021-03-19T09:26:39.418Z] f46e0b462a17: Preparing [2021-03-19T09:26:39.418Z] ea1d310d70ef: Preparing [2021-03-19T09:26:39.418Z] 02a88cfff88f: Preparing [2021-03-19T09:26:39.418Z] ea1d310d70ef: Layer already exists [2021-03-19T09:26:39.418Z] e5f1c12fb544: Layer already exists [2021-03-19T09:26:39.418Z] 02a88cfff88f: Layer already exists [2021-03-19T09:26:39.418Z] f46e0b462a17: Layer already exists [2021-03-19T09:26:39.689Z] 1.3.2-dev.3: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:40.028Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:40.364Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:26:40.365Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-19T09:26:40.365Z] e5f1c12fb544: Preparing [2021-03-19T09:26:40.365Z] f46e0b462a17: Preparing [2021-03-19T09:26:40.365Z] ea1d310d70ef: Preparing [2021-03-19T09:26:40.365Z] 02a88cfff88f: Preparing [2021-03-19T09:26:40.365Z] f46e0b462a17: Layer already exists [2021-03-19T09:26:40.365Z] 02a88cfff88f: Layer already exists [2021-03-19T09:26:40.365Z] ea1d310d70ef: Layer already exists [2021-03-19T09:26:40.365Z] e5f1c12fb544: Layer already exists [2021-03-19T09:26:40.635Z] bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:40.983Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:26:41.322Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-03-19T09:26:41.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-03-19T09:26:41.322Z] e5f1c12fb544: Preparing [2021-03-19T09:26:41.322Z] f46e0b462a17: Preparing [2021-03-19T09:26:41.322Z] ea1d310d70ef: Preparing [2021-03-19T09:26:41.322Z] 02a88cfff88f: Preparing [2021-03-19T09:26:41.601Z] e5f1c12fb544: Layer already exists [2021-03-19T09:26:41.601Z] 02a88cfff88f: Layer already exists [2021-03-19T09:26:41.601Z] f46e0b462a17: Layer already exists [2021-03-19T09:26:41.601Z] ea1d310d70ef: Layer already exists [2021-03-19T09:26:41.601Z] master: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-19T09:26:41.797Z] ===================================================== [Pipeline] echo [2021-03-19T09:26:41.851Z] taggedImages: [2021-03-19T09:26:41.851Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [2021-03-19T09:26:41.851Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-03-19T09:26:41.851Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 [2021-03-19T09:26:41.851Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [2021-03-19T09:26:41.851Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:26:42.389Z] ---> job-cost.sh [2021-03-19T09:26:42.389Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gP7r [2021-03-19T09:27:21.338Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T09:28:43.051Z] lf-activate-venv(): INFO: Adding /tmp/venv-gP7r/bin to PATH [2021-03-19T09:28:43.051Z] INFO: No Stack... [2021-03-19T09:28:44.020Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T09:28:44.290Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T09:28:44.629Z] + cat /w/workspace/device-virtual-go/42/archives/cost.csv [2021-03-19T09:28:44.629Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T09:28:44.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [2021-03-19T09:28:44.756Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] did not exist. Created. [2021-03-19T09:28:44.756Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T09:28:45.215Z] /w/workspace/device-virtual-go/42@tmp/durable-5cbeeabf/script.sh: 1: /w/workspace/device-virtual-go/42@tmp/durable-5cbeeabf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T09:28:45.561Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T09:28:45.638Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T09:28:45.797Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T09:28:45.811Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-42-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-19T09:28:47.274Z] provisioning config files... [2021-03-19T09:28:47.292Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1819154384410772967tmp [Pipeline] { [Pipeline] sh [2021-03-19T09:28:47.710Z] + set +x [2021-03-19T09:28:47.710Z] + curl -s https://codecov.io/bash [2021-03-19T09:28:47.710Z] + bash -s -- [2021-03-19T09:28:47.973Z] [2021-03-19T09:28:47.973Z] _____ _ [2021-03-19T09:28:47.973Z] / ____| | | [2021-03-19T09:28:47.973Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T09:28:47.973Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T09:28:47.973Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T09:28:47.973Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T09:28:47.974Z] Bash-20210309-2b87ace [2021-03-19T09:28:47.974Z] [2021-03-19T09:28:47.974Z] [2021-03-19T09:28:47.974Z] ==> git version 2.24.3 found [2021-03-19T09:28:47.974Z] ==> 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-19T09:28:47.974Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T09:28:47.974Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T09:28:47.974Z] ==> Jenkins CI detected. [2021-03-19T09:28:47.974Z] project root: . [2021-03-19T09:28:47.974Z] --> token set from env [2021-03-19T09:28:47.974Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T09:28:47.974Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T09:28:47.974Z] ==> Python coveragepy not found [2021-03-19T09:28:47.974Z] ==> Searching for coverage reports in: [2021-03-19T09:28:47.974Z] + . [2021-03-19T09:28:47.974Z] -> Found 1 reports [2021-03-19T09:28:47.974Z] ==> Detecting git/mercurial file structure [2021-03-19T09:28:47.974Z] ==> Reading reports [2021-03-19T09:28:47.974Z] + ./coverage.out bytes=47247 [2021-03-19T09:28:47.974Z] ==> Appending adjustments [2021-03-19T09:28:47.974Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T09:28:48.239Z] + Found adjustments [2021-03-19T09:28:48.239Z] ==> Gzipping contents [2021-03-19T09:28:48.239Z] 8.0K /tmp/codecov.78upOW.gz [2021-03-19T09:28:48.239Z] ==> Uploading reports [2021-03-19T09:28:48.239Z] url: https://codecov.io [2021-03-19T09:28:48.239Z] query: branch=master&commit=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T09:28:48.239Z] -> Pinging Codecov [2021-03-19T09:28:48.239Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T09:28:48.504Z] -> Uploading to [2021-03-19T09:28:48.504Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/5E52B4B073DB2E39498172D8E973AA87/bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec/fc5fa46b-6084-4c3d-9ef9-d04b4efcb268.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T092848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49a15d038a9ab299d3eef3fec9c34431cd2f297c9a4b99c75eae72f0552d5cc2 [2021-03-19T09:28:48.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T09:28:48.504Z] Dload Upload Total Spent Left Speed [2021-03-19T09:28:49.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5757 0 0 100 5757 0 11893 --:--:-- --:--:-- --:--:-- 11894 100 5757 0 0 100 5757 0 11889 --:--:-- --:--:-- --:--:-- 11870 [2021-03-19T09:28:49.080Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] } [2021-03-19T09:28:49.092Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-19T09:28:50.017Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-19T09:28:50.079Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:28:50.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T09:28:50.436Z] [2021-03-19T09:28:50.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:28:50.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T09:28:50.819Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-19T09:28:50.819Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T09:28:50.819Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T09:28:50.819Z] de9db76c5a1d: Pulling fs layer [2021-03-19T09:28:50.819Z] 0eba1c9be4d2: Pulling fs layer [2021-03-19T09:28:50.819Z] 0d57e429df01: Pulling fs layer [2021-03-19T09:28:50.819Z] 4e4be7b47b0d: Pulling fs layer [2021-03-19T09:28:50.819Z] e1f770b5df2f: Pulling fs layer [2021-03-19T09:28:50.819Z] 85a0685a4137: Pulling fs layer [2021-03-19T09:28:50.819Z] 4e4be7b47b0d: Waiting [2021-03-19T09:28:50.819Z] e1f770b5df2f: Waiting [2021-03-19T09:28:50.819Z] 0eba1c9be4d2: Waiting [2021-03-19T09:28:50.820Z] 0d57e429df01: Waiting [2021-03-19T09:28:50.820Z] 85a0685a4137: Waiting [2021-03-19T09:28:50.820Z] de9db76c5a1d: Verifying Checksum [2021-03-19T09:28:50.820Z] de9db76c5a1d: Download complete [2021-03-19T09:28:50.820Z] 0ef7d3d256c8: Download complete [2021-03-19T09:28:50.820Z] 0d57e429df01: Verifying Checksum [2021-03-19T09:28:50.820Z] 0d57e429df01: Download complete [2021-03-19T09:28:50.820Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T09:28:50.820Z] 4e4be7b47b0d: Verifying Checksum [2021-03-19T09:28:50.820Z] 4e4be7b47b0d: Download complete [2021-03-19T09:28:51.410Z] 188c0c94c7c5: Pull complete [2021-03-19T09:28:51.675Z] 0ef7d3d256c8: Pull complete [2021-03-19T09:28:51.937Z] de9db76c5a1d: Pull complete [2021-03-19T09:28:52.203Z] e1f770b5df2f: Verifying Checksum [2021-03-19T09:28:52.203Z] e1f770b5df2f: Download complete [2021-03-19T09:28:53.614Z] 0eba1c9be4d2: Download complete [2021-03-19T09:28:54.601Z] 85a0685a4137: Verifying Checksum [2021-03-19T09:28:54.601Z] 85a0685a4137: Download complete [2021-03-19T09:28:58.844Z] 0eba1c9be4d2: Pull complete [2021-03-19T09:28:58.844Z] 0d57e429df01: Pull complete [2021-03-19T09:28:59.118Z] 4e4be7b47b0d: Pull complete [2021-03-19T09:29:03.349Z] e1f770b5df2f: Pull complete [2021-03-19T09:29:09.985Z] 85a0685a4137: Pull complete [2021-03-19T09:29:09.985Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-19T09:29:09.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T09:29:09.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-19T09:29:10.177Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:29:10.227Z] $ 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-19T09:29:11.197Z] $ docker top 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-19T09:29:11.386Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-19T09:29:11.679Z] + set -o pipefail [2021-03-19T09:29:11.679Z] + snyk monitor '--org=edgex-jenkins' [2021-03-19T09:29:19.847Z] [2021-03-19T09:29:19.847Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-03-19T09:29:19.847Z] [2021-03-19T09:29:19.847Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/8261a73e-57b4-416e-b97b-33919d117b46 [2021-03-19T09:29:19.847Z] [2021-03-19T09:29:19.847Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-19T09:29:19.847Z] [2021-03-19T09:29:19.847Z] [Pipeline] } [2021-03-19T09:29:19.866Z] $ docker stop --time=1 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 [2021-03-19T09:29:22.676Z] $ docker rm -f 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 [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-19T09:29:24.481Z] + git log --format=format:%s -1 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:29:24.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:29:24.790Z] . [Pipeline] withDockerContainer [2021-03-19T09:29:24.893Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:29:24.938Z] $ 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-19T09:29:25.630Z] $ docker top 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T09:29:25.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T09:29:25.909Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T09:29:26.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T09:29:26.139Z] $ docker exec 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c ssh-agent [2021-03-19T09:29:26.314Z] SSH_AUTH_SOCK=/tmp/ssh-AlsEs5O7juuo/agent.11 [2021-03-19T09:29:26.314Z] SSH_AGENT_PID=16 [2021-03-19T09:29:26.321Z] Running ssh-add (command line suppressed) [2021-03-19T09:29:26.453Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1155615316988434998.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1155615316988434998.key) [2021-03-19T09:29:26.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T09:29:26.859Z] + git semver tag [2021-03-19T09:29:26.859Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T09:29:26.859Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-19T09:29:26.859Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-19T09:29:26.859Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T09:29:26.859Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T09:29:26.859Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T09:29:26.859Z] # $SEMVER_BRANCH = master [2021-03-19T09:29:26.859Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-03-19T09:29:26.859Z] # bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec HEAD [2021-03-19T09:29:27.121Z] # -> Force: false [2021-03-19T09:29:27.121Z] # 4e3023585db1a7ce6b8e6644c8b41578f547988d refs/tags/v1.3.2-dev.3 [Pipeline] } [2021-03-19T09:29:27.135Z] $ docker exec --env ******** --env ******** 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c ssh-agent -k [2021-03-19T09:29:27.254Z] unset SSH_AUTH_SOCK; [2021-03-19T09:29:27.255Z] unset SSH_AGENT_PID; [2021-03-19T09:29:27.255Z] echo Agent pid 16 killed; [2021-03-19T09:29:27.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T09:29:27.794Z] + git semver [Pipeline] } [2021-03-19T09:29:27.813Z] $ docker stop --time=1 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c [2021-03-19T09:29:29.187Z] $ docker rm -f 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:29:29.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T09:29:29.857Z] [2021-03-19T09:29:29.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:29:30.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T09:29:30.208Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-19T09:29:30.208Z] ab5ef0e58194: Pulling fs layer [2021-03-19T09:29:30.208Z] 9712f1f96733: Pulling fs layer [2021-03-19T09:29:30.208Z] 63f879dbbcfc: Pulling fs layer [2021-03-19T09:29:30.208Z] 0d9ebad4ef96: Pulling fs layer [2021-03-19T09:29:30.208Z] e9a5061849ea: Pulling fs layer [2021-03-19T09:29:30.208Z] d747dcd14b5f: Pulling fs layer [2021-03-19T09:29:30.208Z] 2de7ff778b66: Pulling fs layer [2021-03-19T09:29:30.208Z] 0d9ebad4ef96: Waiting [2021-03-19T09:29:30.208Z] d747dcd14b5f: Waiting [2021-03-19T09:29:30.208Z] e9a5061849ea: Waiting [2021-03-19T09:29:30.208Z] 2de7ff778b66: Waiting [2021-03-19T09:29:30.208Z] 9712f1f96733: Download complete [2021-03-19T09:29:31.827Z] 63f879dbbcfc: Verifying Checksum [2021-03-19T09:29:31.827Z] 63f879dbbcfc: Download complete [2021-03-19T09:29:31.828Z] e9a5061849ea: Verifying Checksum [2021-03-19T09:29:31.828Z] e9a5061849ea: Download complete [2021-03-19T09:29:31.828Z] d747dcd14b5f: Verifying Checksum [2021-03-19T09:29:31.828Z] d747dcd14b5f: Download complete [2021-03-19T09:29:32.748Z] 2de7ff778b66: Verifying Checksum [2021-03-19T09:29:32.748Z] 2de7ff778b66: Download complete [2021-03-19T09:29:32.748Z] ab5ef0e58194: Verifying Checksum [2021-03-19T09:29:32.748Z] ab5ef0e58194: Download complete [2021-03-19T09:29:32.748Z] 0d9ebad4ef96: Verifying Checksum [2021-03-19T09:29:32.748Z] 0d9ebad4ef96: Download complete [2021-03-19T09:29:36.986Z] ab5ef0e58194: Pull complete [2021-03-19T09:29:37.252Z] 9712f1f96733: Pull complete [2021-03-19T09:29:40.571Z] 63f879dbbcfc: Pull complete [2021-03-19T09:29:47.188Z] 0d9ebad4ef96: Pull complete [2021-03-19T09:29:48.138Z] e9a5061849ea: Pull complete [2021-03-19T09:29:48.400Z] d747dcd14b5f: Pull complete [2021-03-19T09:29:50.955Z] 2de7ff778b66: Pull complete [2021-03-19T09:29:50.955Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-19T09:29:50.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T09:29:50.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-19T09:29:51.151Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:29:51.202Z] $ 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-19T09:29:55.006Z] $ docker top ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-19T09:29:55.315Z] provisioning config files... [2021-03-19T09:29:55.326Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7195736027776420781tmp [2021-03-19T09:29:55.343Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3998603053568798940tmp [2021-03-19T09:29:55.359Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7151445368900584317tmp [Pipeline] { [Pipeline] echo [2021-03-19T09:29:55.413Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:29:55.714Z] ---> sigul-configuration.sh [2021-03-19T09:29:55.714Z] gpg: directory `/root/.gnupg' created [2021-03-19T09:29:55.714Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-19T09:29:55.714Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-19T09:29:55.714Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-19T09:29:55.714Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-19T09:29:55.714Z] gpg: CAST5 encrypted data [2021-03-19T09:29:55.976Z] gpg: encrypted with 1 passphrase [2021-03-19T09:29:55.976Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-19T09:29:56.280Z] + mkdir /home/jenkins [2021-03-19T09:29:56.280Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-19T09:29:56.581Z] + 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-19T09:29:56.592Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:29:56.902Z] ---> sigul-install.sh [2021-03-19T09:30:03.509Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-19T09:30:03.814Z] + git tag --list [2021-03-19T09:30:03.814Z] v1.0.0 [2021-03-19T09:30:03.814Z] v1.1.0 [2021-03-19T09:30:03.814Z] v1.1.1 [2021-03-19T09:30:03.814Z] v1.2.1 [2021-03-19T09:30:03.814Z] v1.2.2 [2021-03-19T09:30:03.814Z] v1.2.3 [2021-03-19T09:30:03.814Z] v1.3.0 [2021-03-19T09:30:03.814Z] v1.3.1 [2021-03-19T09:30:03.814Z] v1.3.1-dev.1 [2021-03-19T09:30:03.814Z] v1.3.1-dev.2 [2021-03-19T09:30:03.814Z] v1.3.1-dev.3 [2021-03-19T09:30:03.814Z] v1.3.1-dev.4 [2021-03-19T09:30:03.814Z] v1.3.1-dev.5 [2021-03-19T09:30:03.814Z] v1.3.2-dev.1 [2021-03-19T09:30:03.814Z] v1.3.2-dev.2 [2021-03-19T09:30:03.814Z] v1.3.2-dev.3 [Pipeline] sh [2021-03-19T09:30:04.116Z] + lftools sign git-tag v1.3.2-dev.3 [2021-03-19T09:30:05.507Z] Signing Git tag with Sigul... [2021-03-19T09:30:05.507Z] Signing v1.3.2-dev.3 [Pipeline] echo [2021-03-19T09:30:06.466Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:06.765Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-19T09:30:06.774Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-19T09:30:06.890Z] $ docker stop --time=1 ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f [2021-03-19T09:30:09.035Z] $ docker rm -f ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:30:09.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:30:09.934Z] . [Pipeline] withDockerContainer [2021-03-19T09:30:10.039Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:30:10.090Z] $ 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-19T09:30:10.696Z] $ docker top 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T09:30:11.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T09:30:11.017Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T09:30:11.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T09:30:11.214Z] $ docker exec 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 ssh-agent [2021-03-19T09:30:11.395Z] SSH_AUTH_SOCK=/tmp/ssh-E8rtNAGTXohJ/agent.12 [2021-03-19T09:30:11.395Z] SSH_AGENT_PID=18 [2021-03-19T09:30:11.403Z] Running ssh-add (command line suppressed) [2021-03-19T09:30:11.539Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595255235357549892.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595255235357549892.key) [2021-03-19T09:30:11.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T09:30:11.931Z] + git semver bump pre [2021-03-19T09:30:11.932Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T09:30:11.932Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-19T09:30:11.932Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-19T09:30:11.932Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T09:30:11.932Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T09:30:11.932Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T09:30:11.932Z] # $SEMVER_BRANCH = master [2021-03-19T09:30:11.932Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-03-19T09:30:11.932Z] 1.3.2-dev.4 [Pipeline] } [2021-03-19T09:30:11.946Z] $ docker exec --env ******** --env ******** 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 ssh-agent -k [2021-03-19T09:30:12.069Z] unset SSH_AUTH_SOCK; [2021-03-19T09:30:12.071Z] unset SSH_AGENT_PID; [2021-03-19T09:30:12.071Z] echo Agent pid 18 killed; [2021-03-19T09:30:12.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T09:30:12.601Z] + git semver [Pipeline] } [2021-03-19T09:30:12.623Z] $ docker stop --time=1 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 [2021-03-19T09:30:14.001Z] $ docker rm -f 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:30:14.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T09:30:14.540Z] . [Pipeline] withDockerContainer [2021-03-19T09:30:14.642Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:30:14.690Z] $ 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-19T09:30:15.292Z] $ docker top bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T09:30:15.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T09:30:15.574Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T09:30:15.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T09:30:15.772Z] $ docker exec bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e ssh-agent [2021-03-19T09:30:15.949Z] SSH_AUTH_SOCK=/tmp/ssh-7TMLEF9BCgT4/agent.13 [2021-03-19T09:30:15.949Z] SSH_AGENT_PID=18 [2021-03-19T09:30:15.992Z] Running ssh-add (command line suppressed) [2021-03-19T09:30:16.131Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4699805362903243122.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4699805362903243122.key) [2021-03-19T09:30:16.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T09:30:16.524Z] + git semver push [2021-03-19T09:30:16.524Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T09:30:16.524Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-03-19T09:30:16.524Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-03-19T09:30:16.524Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T09:30:16.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T09:30:16.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T09:30:16.524Z] # $SEMVER_BRANCH = master [2021-03-19T09:30:16.524Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-03-19T09:30:19.921Z] $ docker exec --env ******** --env ******** bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e ssh-agent -k [2021-03-19T09:30:20.042Z] unset SSH_AUTH_SOCK; [2021-03-19T09:30:20.042Z] unset SSH_AGENT_PID; [2021-03-19T09:30:20.042Z] echo Agent pid 18 killed; [2021-03-19T09:30:20.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T09:30:20.877Z] + git semver [Pipeline] } [2021-03-19T09:30:20.896Z] $ docker stop --time=1 bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e [2021-03-19T09:30:22.261Z] $ docker rm -f bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e [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-19T09:30:23.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:24.727Z] ---> package-listing.sh [2021-03-19T09:30:24.727Z] ++ facter osfamily [2021-03-19T09:30:24.727Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T09:30:24.727Z] + OS_FAMILY=redhat [2021-03-19T09:30:24.727Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-03-19T09:30:24.727Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T09:30:24.727Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T09:30:24.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T09:30:24.727Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T09:30:24.727Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-03-19T09:30:24.727Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T09:30:24.727Z] + case "${OS_FAMILY}" in [2021-03-19T09:30:24.727Z] + rpm -qa [2021-03-19T09:30:24.727Z] + sort [2021-03-19T09:30:30.050Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T09:30:30.050Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T09:30:30.050Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T09:30:30.050Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-03-19T09:30:30.050Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-03-19T09:30:30.050Z] + 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-19T09:30:30.066Z] 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-19T09:30:30.364Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:30:30.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T09:30:30.671Z] [2021-03-19T09:30:30.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T09:30:31.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T09:30:31.020Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T09:30:31.020Z] df20fa9351a1: Pulling fs layer [2021-03-19T09:30:31.020Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T09:30:31.020Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T09:30:31.020Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T09:30:31.020Z] 93b61091891f: Pulling fs layer [2021-03-19T09:30:31.020Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T09:30:31.020Z] 5e14af77c1be: Pulling fs layer [2021-03-19T09:30:31.020Z] 01666e4c0597: Pulling fs layer [2021-03-19T09:30:31.020Z] aa168da1d23b: Pulling fs layer [2021-03-19T09:30:31.020Z] 01666e4c0597: Waiting [2021-03-19T09:30:31.020Z] 93b9cdb0e59b: Waiting [2021-03-19T09:30:31.020Z] 5e14af77c1be: Waiting [2021-03-19T09:30:31.020Z] aa168da1d23b: Waiting [2021-03-19T09:30:31.020Z] 46f8f816bc3b: Waiting [2021-03-19T09:30:31.020Z] 93b61091891f: Waiting [2021-03-19T09:30:31.020Z] 36b3adc4ff6f: Download complete [2021-03-19T09:30:31.020Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T09:30:31.020Z] 46f8f816bc3b: Download complete [2021-03-19T09:30:31.284Z] df20fa9351a1: Verifying Checksum [2021-03-19T09:30:31.284Z] df20fa9351a1: Download complete [2021-03-19T09:30:31.284Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T09:30:31.284Z] 93b9cdb0e59b: Download complete [2021-03-19T09:30:31.284Z] 5e14af77c1be: Verifying Checksum [2021-03-19T09:30:31.284Z] 5e14af77c1be: Download complete [2021-03-19T09:30:31.284Z] 93b61091891f: Verifying Checksum [2021-03-19T09:30:31.284Z] 93b61091891f: Download complete [2021-03-19T09:30:31.284Z] 01666e4c0597: Verifying Checksum [2021-03-19T09:30:31.284Z] 01666e4c0597: Download complete [2021-03-19T09:30:31.284Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T09:30:31.284Z] 8ad3a11d3b57: Download complete [2021-03-19T09:30:31.549Z] df20fa9351a1: Pull complete [2021-03-19T09:30:31.811Z] 36b3adc4ff6f: Pull complete [2021-03-19T09:30:32.775Z] 8ad3a11d3b57: Pull complete [2021-03-19T09:30:33.044Z] 46f8f816bc3b: Pull complete [2021-03-19T09:30:33.306Z] aa168da1d23b: Verifying Checksum [2021-03-19T09:30:33.306Z] aa168da1d23b: Download complete [2021-03-19T09:30:34.253Z] 93b61091891f: Pull complete [2021-03-19T09:30:34.253Z] 93b9cdb0e59b: Pull complete [2021-03-19T09:30:34.253Z] 5e14af77c1be: Pull complete [2021-03-19T09:30:34.516Z] 01666e4c0597: Pull complete [2021-03-19T09:30:42.691Z] aa168da1d23b: Pull complete [2021-03-19T09:30:42.691Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T09:30:42.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T09:30:42.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T09:30:42.922Z] prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container [2021-03-19T09:30:42.970Z] $ 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-19T09:30:45.263Z] $ docker top 028d2e54b8c28b3ef3bb68646a0aeef5096a1a6e664958f76b5b9dda1305ac32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T09:30:45.821Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T09:30:46.121Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T09:30:46.421Z] + ls /var/log/sa-host [2021-03-19T09:30:46.422Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T09:30:46.422Z] file_magic: OK [2021-03-19T09:30:46.422Z] HZ: Using current value: 100 [2021-03-19T09:30:46.422Z] file_header: OK [2021-03-19T09:30:46.422Z] 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-19T09:30:46.422Z] Statistics: [2021-03-19T09:30:46.422Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T09:30:46.422Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T09:30:46.422Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T09:30:46.422Z] file_magic: OK [2021-03-19T09:30:46.422Z] HZ: Using current value: 100 [2021-03-19T09:30:46.422Z] file_header: OK [2021-03-19T09:30:46.422Z] 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-19T09:30:46.422Z] Statistics: [2021-03-19T09:30:46.422Z] Hnuu...uuuununununu... [2021-03-19T09:30:46.422Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T09:30:48.504Z] provisioning config files... [2021-03-19T09:30:48.521Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6002298195119145303tmp [Pipeline] { [Pipeline] echo [2021-03-19T09:30:48.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:48.893Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T09:30:48.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T09:30:48.990Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:49.290Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T09:30:49.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:49.597Z] ---> sudo-logs.sh [2021-03-19T09:30:49.597Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T09:30:49.692Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:49.990Z] ---> job-cost.sh [2021-03-19T09:30:49.990Z] lf-activate-venv: SKIPPING [2021-03-19T09:30:49.990Z] DEBUG: total: 0.20999999344348907 [2021-03-19T09:30:49.990Z] INFO: Retrieving Stack Cost... [2021-03-19T09:30:51.381Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T09:30:51.643Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T09:30:51.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T09:30:51.958Z] ---> logs-deploy.sh [2021-03-19T09:30:51.958Z] lf-activate-venv: SKIPPING [2021-03-19T09:30:51.958Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/42 [2021-03-19T09:30:51.958Z] INFO: archiving workspace using pattern(s): [2021-03-19T09:30:53.352Z] Archives upload complete. [2021-03-19T09:30:53.614Z] INFO: archiving logs to Nexus