Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ade17028b202be70e52921553e3b506375cbc38d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33405 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 Checking out Revision ade17028b202be70e52921553e3b506375cbc38d (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ade17028b202be70e52921553e3b506375cbc38d # timeout=10 Commit message: "feat: Add Registry/Config Access token capability (#182)" > git rev-list --no-walk 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-09T07:27:13.882Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-09T07:27:14.164Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-09T07:27:14.322Z] ========================================================= [2021-04-09T07:27:14.322Z] EdgeX Global Pipelines Version Info [2021-04-09T07:27:14.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:27:15.875Z] ------------------- [2021-04-09T07:27:15.875Z] stable info: [2021-04-09T07:27:15.875Z] ------------------- [2021-04-09T07:27:15.875Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-09T07:27:15.875Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-09T07:27:15.875Z] Message: update stable to v1.0.186 [2021-04-09T07:27:16.820Z] ------------------- [2021-04-09T07:27:16.820Z] experimental info: [2021-04-09T07:27:16.820Z] ------------------- [2021-04-09T07:27:16.820Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-09T07:27:16.820Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-09T07:27:16.820Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-09T07:27:17.079Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-09T07:27:17.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-09T07:27:17.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-09T07:27:17.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-09T07:27:17.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-09T07:27:17.622Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-09T07:27:17.708Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-09T07:27:17.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-09T07:27:17.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-09T07:27:17.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-09T07:27:18.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-09T07:27:18.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-09T07:27:18.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-09T07:27:18.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-09T07:27:18.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-09T07:27:18.510Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-09T07:27:18.607Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-09T07:27:18.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-09T07:27:18.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-09T07:27:18.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-09T07:27:18.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-09T07:27:19.037Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-09T07:27:19.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-09T07:27:19.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-09T07:27:19.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-09T07:27:19.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-09T07:27:19.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-09T07:27:19.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-09T07:27:19.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-09T07:27:19.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ade17028b202be70e52921553e3b506375cbc38d [Pipeline] echo [2021-04-09T07:27:19.805Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ade1702 [Pipeline] echo [2021-04-09T07:27:19.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T07:27:20.092Z] provisioning config files... [2021-04-09T07:27:20.132Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4503649457237443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:27:20.508Z] ---> docker-login.sh [2021-04-09T07:27:20.508Z] nexus3.edgexfoundry.org:10001 [2021-04-09T07:27:20.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:27:20.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:27:20.770Z] Configure a credential helper to remove this warning. See [2021-04-09T07:27:20.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:27:20.770Z] [2021-04-09T07:27:20.770Z] Login Succeeded [2021-04-09T07:27:20.770Z] nexus3.edgexfoundry.org:10002 [2021-04-09T07:27:21.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:27:21.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:27:21.033Z] Configure a credential helper to remove this warning. See [2021-04-09T07:27:21.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:27:21.033Z] [2021-04-09T07:27:21.033Z] Login Succeeded [2021-04-09T07:27:21.033Z] nexus3.edgexfoundry.org:10003 [2021-04-09T07:27:21.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:27:21.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:27:21.033Z] Configure a credential helper to remove this warning. See [2021-04-09T07:27:21.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:27:21.033Z] [2021-04-09T07:27:21.033Z] Login Succeeded [2021-04-09T07:27:21.033Z] nexus3.edgexfoundry.org:10004 [2021-04-09T07:27:21.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:27:21.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:27:21.295Z] Configure a credential helper to remove this warning. See [2021-04-09T07:27:21.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:27:21.295Z] [2021-04-09T07:27:21.295Z] Login Succeeded [2021-04-09T07:27:21.295Z] docker.io [2021-04-09T07:27:21.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:27:21.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:27:21.820Z] Configure a credential helper to remove this warning. See [2021-04-09T07:27:21.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:27:21.820Z] [2021-04-09T07:27:21.820Z] Login Succeeded [2021-04-09T07:27:21.820Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T07:27:21.830Z] 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-04-09T07:27:22.618Z] + git log --format=format:%s -1 ade17028b202be70e52921553e3b506375cbc38d [Pipeline] echo [2021-04-09T07:27:22.679Z] GIT_COMMIT: ade17028b202be70e52921553e3b506375cbc38d, Commit Message: feat: Add Registry/Config Access token capability (#182) [Pipeline] echo [2021-04-09T07:27:22.736Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:27:23.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:27:23.320Z] [2021-04-09T07:27:23.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:27:23.666Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:27:23.666Z] latest: Pulling from edgex-devops/git-semver [2021-04-09T07:27:23.666Z] 31603596830f: Pulling fs layer [2021-04-09T07:27:23.666Z] 2a8b12db71e7: Pulling fs layer [2021-04-09T07:27:23.666Z] 6ca5941a6612: Pulling fs layer [2021-04-09T07:27:23.666Z] ecc8261a40a4: Pulling fs layer [2021-04-09T07:27:23.666Z] ecc8261a40a4: Waiting [2021-04-09T07:27:23.666Z] 2a8b12db71e7: Verifying Checksum [2021-04-09T07:27:23.666Z] 2a8b12db71e7: Download complete [2021-04-09T07:27:23.666Z] 31603596830f: Verifying Checksum [2021-04-09T07:27:23.666Z] 31603596830f: Download complete [2021-04-09T07:27:23.931Z] ecc8261a40a4: Verifying Checksum [2021-04-09T07:27:23.931Z] ecc8261a40a4: Download complete [2021-04-09T07:27:23.931Z] 6ca5941a6612: Verifying Checksum [2021-04-09T07:27:23.931Z] 6ca5941a6612: Download complete [2021-04-09T07:27:23.931Z] 31603596830f: Pull complete [2021-04-09T07:27:24.194Z] 2a8b12db71e7: Pull complete [2021-04-09T07:27:24.772Z] 6ca5941a6612: Pull complete [2021-04-09T07:27:25.034Z] ecc8261a40a4: Pull complete [2021-04-09T07:27:25.034Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-09T07:27:25.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:27:25.295Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-09T07:27:25.401Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:27:25.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-09T07:27:27.639Z] $ docker top 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T07:27:27.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T07:27:27.945Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T07:27:28.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T07:27:28.154Z] $ docker exec 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 ssh-agent [2021-04-09T07:27:28.326Z] SSH_AUTH_SOCK=/tmp/ssh-cgX8Oba5I77W/agent.11 [2021-04-09T07:27:28.326Z] SSH_AGENT_PID=16 [2021-04-09T07:27:28.339Z] Running ssh-add (command line suppressed) [2021-04-09T07:27:28.460Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2869387588361728201.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2869387588361728201.key) [2021-04-09T07:27:28.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T07:27:28.844Z] + git tag --points-at HEAD [Pipeline] } [2021-04-09T07:27:28.868Z] $ docker exec --env ******** --env ******** 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 ssh-agent -k [2021-04-09T07:27:28.993Z] unset SSH_AUTH_SOCK; [2021-04-09T07:27:28.993Z] unset SSH_AGENT_PID; [2021-04-09T07:27:28.994Z] echo Agent pid 16 killed; [2021-04-09T07:27:29.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-09T07:27:29.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T07:27:29.204Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T07:27:29.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T07:27:29.367Z] $ docker exec 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 ssh-agent [2021-04-09T07:27:29.523Z] SSH_AUTH_SOCK=/tmp/ssh-oNaj3awH11oP/agent.45 [2021-04-09T07:27:29.523Z] SSH_AGENT_PID=50 [2021-04-09T07:27:29.530Z] Running ssh-add (command line suppressed) [2021-04-09T07:27:29.644Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_239708080215977346.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_239708080215977346.key) [2021-04-09T07:27:29.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T07:27:30.052Z] + git semver init [2021-04-09T07:27:30.052Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T07:27:30.052Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-09T07:27:30.052Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-09T07:27:30.052Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T07:27:30.052Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T07:27:30.052Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T07:27:30.052Z] # $SEMVER_BRANCH = master [2021-04-09T07:27:30.052Z] # $SEMVER_TEMP = /tmp/semver-074638254 [2021-04-09T07:27:30.052Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-09T07:27:30.313Z] # '/tmp/semver-074638254' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-04-09T07:27:30.576Z] # -> Force: false [2021-04-09T07:27:30.576Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-04-09T07:27:30.592Z] $ docker exec --env ******** --env ******** 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 ssh-agent -k [2021-04-09T07:27:30.710Z] unset SSH_AUTH_SOCK; [2021-04-09T07:27:30.711Z] unset SSH_AGENT_PID; [2021-04-09T07:27:30.711Z] echo Agent pid 50 killed; [2021-04-09T07:27:30.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T07:27:31.237Z] + git semver [Pipeline] } [2021-04-09T07:27:31.257Z] $ docker stop --time=1 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 [2021-04-09T07:27:32.670Z] $ docker rm -f 42a1f771b24f9f6322f9193c14db65a30048a9104aa5d52411f4b09597d93bd1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T07:27:33.191Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-09T07:27:33.542Z] Stashed 1 file(s) [Pipeline] echo [2021-04-09T07:27:33.545Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.6 [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-04-09T07:27:49.016Z] Still waiting to schedule task [2021-04-09T07:27:49.016Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-09T07:27:49.018Z] Still waiting to schedule task [2021-04-09T07:27:49.018Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-09T07:30:04.217Z] Running on prd-centos7-docker-4c-2g-33409 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-04-09T07:30:04.266Z] Running in /w/workspace/device-virtual-go/45 [Pipeline] { [Pipeline] checkout [2021-04-09T07:30:06.560Z] using credential edgex-jenkins-ssh [2021-04-09T07:30:06.613Z] Cloning the remote Git repository [2021-04-09T07:30:06.370Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:06.441Z] > git init /w/workspace/device-virtual-go/45 # timeout=10 [2021-04-09T07:30:06.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:06.504Z] > git --version # timeout=10 [2021-04-09T07:30:06.511Z] > git --version # 'git version 2.24.3' [2021-04-09T07:30:06.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T07:30:06.542Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T07:30:08.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-09T07:30:08.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T07:30:08.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-09T07:30:08.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:08.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T07:30:08.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-09T07:30:08.935Z] Checking out Revision ade17028b202be70e52921553e3b506375cbc38d (master) [2021-04-09T07:30:08.869Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T07:30:08.873Z] > git checkout -f ade17028b202be70e52921553e3b506375cbc38d # timeout=10 [2021-04-09T07:30:12.529Z] Commit message: "feat: Add Registry/Config Access token capability (#182)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T07:30:13.755Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-09T07:30:14.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-09T07:30:14.384Z] + true [2021-04-09T07:30:14.384Z] + sudo service docker restart [2021-04-09T07:30:14.384Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T07:30:15.391Z] provisioning config files... [2021-04-09T07:30:15.426Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config9218694627499522212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:30:15.777Z] ---> docker-login.sh [2021-04-09T07:30:15.777Z] nexus3.edgexfoundry.org:10001 [2021-04-09T07:30:16.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:30:16.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:30:16.039Z] Configure a credential helper to remove this warning. See [2021-04-09T07:30:16.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:30:16.039Z] [2021-04-09T07:30:16.039Z] Login Succeeded [2021-04-09T07:30:16.039Z] nexus3.edgexfoundry.org:10002 [2021-04-09T07:30:16.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:30:16.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:30:16.303Z] Configure a credential helper to remove this warning. See [2021-04-09T07:30:16.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:30:16.303Z] [2021-04-09T07:30:16.303Z] Login Succeeded [2021-04-09T07:30:16.303Z] nexus3.edgexfoundry.org:10003 [2021-04-09T07:30:16.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:30:16.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:30:16.564Z] Configure a credential helper to remove this warning. See [2021-04-09T07:30:16.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:30:16.564Z] [2021-04-09T07:30:16.564Z] Login Succeeded [2021-04-09T07:30:16.564Z] nexus3.edgexfoundry.org:10004 [2021-04-09T07:30:16.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:30:16.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:30:16.564Z] Configure a credential helper to remove this warning. See [2021-04-09T07:30:16.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:30:16.564Z] [2021-04-09T07:30:16.825Z] Login Succeeded [2021-04-09T07:30:16.825Z] docker.io [2021-04-09T07:30:16.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:30:17.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:30:17.088Z] Configure a credential helper to remove this warning. See [2021-04-09T07:30:17.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:30:17.088Z] [2021-04-09T07:30:17.088Z] Login Succeeded [2021-04-09T07:30:17.088Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T07:30:17.098Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-09T07:30:17.411Z] ========================================================= [2021-04-09T07:30:17.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-09T07:30:17.411Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:30:17.765Z] + 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-04-09T07:30:17.765Z] Sending build context to Docker daemon 503.3kB [2021-04-09T07:30:17.765Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T07:30:17.765Z] Step 2/8 : FROM ${BASE} [2021-04-09T07:30:17.765Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-09T07:30:17.765Z] 188c0c94c7c5: Pulling fs layer [2021-04-09T07:30:17.765Z] 0ef7d3d256c8: Pulling fs layer [2021-04-09T07:30:17.765Z] de9db76c5a1d: Pulling fs layer [2021-04-09T07:30:17.765Z] bca2f99d35d6: Pulling fs layer [2021-04-09T07:30:17.765Z] 93359f2a8cfa: Pulling fs layer [2021-04-09T07:30:17.765Z] 7c6f9722023f: Pulling fs layer [2021-04-09T07:30:17.765Z] a35cf1a2eb13: Pulling fs layer [2021-04-09T07:30:17.765Z] bca2f99d35d6: Waiting [2021-04-09T07:30:17.765Z] 93359f2a8cfa: Waiting [2021-04-09T07:30:17.765Z] a35cf1a2eb13: Waiting [2021-04-09T07:30:17.765Z] 7c6f9722023f: Waiting [2021-04-09T07:30:18.028Z] de9db76c5a1d: Verifying Checksum [2021-04-09T07:30:18.028Z] de9db76c5a1d: Download complete [2021-04-09T07:30:18.028Z] 0ef7d3d256c8: Download complete [2021-04-09T07:30:18.028Z] 93359f2a8cfa: Verifying Checksum [2021-04-09T07:30:18.028Z] 93359f2a8cfa: Download complete [2021-04-09T07:30:18.028Z] 7c6f9722023f: Verifying Checksum [2021-04-09T07:30:18.028Z] 7c6f9722023f: Download complete [2021-04-09T07:30:18.609Z] 188c0c94c7c5: Verifying Checksum [2021-04-09T07:30:18.609Z] 188c0c94c7c5: Download complete [2021-04-09T07:30:18.871Z] 188c0c94c7c5: Pull complete [2021-04-09T07:30:19.133Z] 0ef7d3d256c8: Pull complete [2021-04-09T07:30:19.133Z] de9db76c5a1d: Pull complete [2021-04-09T07:30:21.053Z] a35cf1a2eb13: Verifying Checksum [2021-04-09T07:30:21.053Z] a35cf1a2eb13: Download complete [2021-04-09T07:30:22.974Z] bca2f99d35d6: Verifying Checksum [2021-04-09T07:30:22.974Z] bca2f99d35d6: Download complete [2021-04-09T07:30:28.310Z] bca2f99d35d6: Pull complete [2021-04-09T07:30:28.310Z] 93359f2a8cfa: Pull complete [2021-04-09T07:30:28.310Z] 7c6f9722023f: Pull complete [2021-04-09T07:30:34.921Z] a35cf1a2eb13: Pull complete [2021-04-09T07:30:34.921Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-09T07:30:34.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-09T07:30:34.921Z] ---> a62c8e92a672 [2021-04-09T07:30:34.921Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-09T07:30:34.921Z] ---> Running in 6023a88d26ed [2021-04-09T07:30:34.921Z] Removing intermediate container 6023a88d26ed [2021-04-09T07:30:34.921Z] ---> a237e4f5c60a [2021-04-09T07:30:34.921Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:30:35.183Z] ---> Running in 9f301c848a52 [2021-04-09T07:30:36.142Z] Removing intermediate container 9f301c848a52 [2021-04-09T07:30:36.142Z] ---> caa648e7e7b8 [2021-04-09T07:30:36.142Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-09T07:30:36.142Z] ---> Running in d735639dd032 [2021-04-09T07:30:36.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T07:30:37.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T07:30:38.238Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-09T07:30:38.238Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-09T07:30:38.238Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-09T07:30:38.500Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-09T07:30:38.500Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-09T07:30:38.761Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-09T07:30:38.761Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-09T07:30:39.335Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-09T07:30:39.335Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-09T07:30:39.335Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-09T07:30:39.596Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-09T07:30:39.596Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-09T07:30:39.857Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-09T07:30:39.857Z] Executing busybox-1.31.1-r19.trigger [2021-04-09T07:30:39.857Z] OK: 173 MiB in 52 packages [2021-04-09T07:30:40.808Z] Removing intermediate container d735639dd032 [2021-04-09T07:30:40.808Z] ---> ef418cbcfcaf [2021-04-09T07:30:40.808Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-09T07:30:40.808Z] ---> Running in 7b75f10810a2 [2021-04-09T07:30:41.090Z] Removing intermediate container 7b75f10810a2 [2021-04-09T07:30:41.090Z] ---> 7bf502bdf030 [2021-04-09T07:30:41.090Z] Step 7/8 : COPY . . [2021-04-09T07:30:41.667Z] ---> 446e36ba067c [2021-04-09T07:30:41.667Z] Step 8/8 : RUN go mod download [2021-04-09T07:30:41.935Z] ---> Running in 502be9e316e2 [2021-04-09T07:30:45.217Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33408 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-04-09T07:30:45.267Z] Running in /w/workspace/device-virtual-go/45 [Pipeline] { [Pipeline] checkout [2021-04-09T07:30:50.521Z] using credential edgex-jenkins-ssh [2021-04-09T07:30:50.596Z] Cloning the remote Git repository [2021-04-09T07:30:50.653Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:50.769Z] > git init /w/workspace/device-virtual-go/45 # timeout=10 [2021-04-09T07:30:50.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:50.856Z] > git --version # timeout=10 [2021-04-09T07:30:50.878Z] > git --version # 'git version 2.17.1' [2021-04-09T07:30:50.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T07:30:50.938Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T07:30:52.322Z] Checking out Revision ade17028b202be70e52921553e3b506375cbc38d (master) [2021-04-09T07:30:51.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-09T07:30:51.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-09T07:30:51.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-09T07:30:51.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-09T07:30:51.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-09T07:30:51.854Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-09T07:30:52.347Z] > git config core.sparsecheckout # timeout=10 [2021-04-09T07:30:52.372Z] > git checkout -f ade17028b202be70e52921553e3b506375cbc38d # timeout=10 [2021-04-09T07:30:56.886Z] Commit message: "feat: Add Registry/Config Access token capability (#182)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T07:30:58.360Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-09T07:30:58.803Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-09T07:30:59.162Z] + true [2021-04-09T07:30:59.162Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T07:31:01.889Z] provisioning config files... [2021-04-09T07:31:01.942Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config5375560726702550105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:31:02.354Z] ---> docker-login.sh [2021-04-09T07:31:02.354Z] nexus3.edgexfoundry.org:10001 [2021-04-09T07:31:03.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:31:03.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:31:03.612Z] Configure a credential helper to remove this warning. See [2021-04-09T07:31:03.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:31:03.612Z] [2021-04-09T07:31:03.612Z] Login Succeeded [2021-04-09T07:31:03.612Z] nexus3.edgexfoundry.org:10002 [2021-04-09T07:31:03.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:31:04.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:31:04.164Z] Configure a credential helper to remove this warning. See [2021-04-09T07:31:04.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:31:04.164Z] [2021-04-09T07:31:04.164Z] Login Succeeded [2021-04-09T07:31:04.164Z] nexus3.edgexfoundry.org:10003 [2021-04-09T07:31:04.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:31:04.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:31:04.713Z] Configure a credential helper to remove this warning. See [2021-04-09T07:31:04.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:31:04.713Z] [2021-04-09T07:31:04.713Z] Login Succeeded [2021-04-09T07:31:04.713Z] nexus3.edgexfoundry.org:10004 [2021-04-09T07:31:04.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:31:05.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:31:05.261Z] Configure a credential helper to remove this warning. See [2021-04-09T07:31:05.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:31:05.261Z] [2021-04-09T07:31:05.261Z] Login Succeeded [2021-04-09T07:31:05.261Z] docker.io [2021-04-09T07:31:05.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:31:06.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:31:06.129Z] Configure a credential helper to remove this warning. See [2021-04-09T07:31:06.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:31:06.129Z] [2021-04-09T07:31:06.129Z] Login Succeeded [2021-04-09T07:31:06.129Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T07:31:06.147Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-09T07:31:06.642Z] ========================================================= [2021-04-09T07:31:06.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-09T07:31:06.642Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:31:07.070Z] + 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-04-09T07:31:07.351Z] Sending build context to Docker daemon 502.3kB [2021-04-09T07:31:07.351Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T07:31:07.351Z] Step 2/8 : FROM ${BASE} [2021-04-09T07:31:07.638Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-09T07:31:07.638Z] 5f621e34cdf4: Pulling fs layer [2021-04-09T07:31:07.638Z] a4357932f1b6: Pulling fs layer [2021-04-09T07:31:07.638Z] 18c013af1878: Pulling fs layer [2021-04-09T07:31:07.638Z] 00ac8860ef70: Pulling fs layer [2021-04-09T07:31:07.638Z] 63d7cb157983: Pulling fs layer [2021-04-09T07:31:07.638Z] b116817d02f9: Pulling fs layer [2021-04-09T07:31:07.638Z] 745a02a5169b: Pulling fs layer [2021-04-09T07:31:07.638Z] 63d7cb157983: Waiting [2021-04-09T07:31:07.638Z] b116817d02f9: Waiting [2021-04-09T07:31:07.638Z] 745a02a5169b: Waiting [2021-04-09T07:31:07.638Z] 00ac8860ef70: Waiting [2021-04-09T07:31:07.638Z] 18c013af1878: Verifying Checksum [2021-04-09T07:31:07.638Z] 18c013af1878: Download complete [2021-04-09T07:31:07.638Z] a4357932f1b6: Download complete [2021-04-09T07:31:07.638Z] 63d7cb157983: Verifying Checksum [2021-04-09T07:31:07.638Z] 63d7cb157983: Download complete [2021-04-09T07:31:07.638Z] b116817d02f9: Verifying Checksum [2021-04-09T07:31:07.638Z] b116817d02f9: Download complete [2021-04-09T07:31:07.638Z] 5f621e34cdf4: Verifying Checksum [2021-04-09T07:31:07.638Z] 5f621e34cdf4: Download complete [2021-04-09T07:31:08.629Z] 5f621e34cdf4: Pull complete [2021-04-09T07:31:08.657Z] Removing intermediate container 502be9e316e2 [2021-04-09T07:31:08.657Z] ---> ed1fb461649f [2021-04-09T07:31:08.657Z] Successfully built ed1fb461649f [2021-04-09T07:31:08.657Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:31:08.908Z] a4357932f1b6: Pull complete [2021-04-09T07:31:09.019Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T07:31:09.019Z] . [Pipeline] withDockerContainer [2021-04-09T07:31:09.188Z] 18c013af1878: Pull complete [2021-04-09T07:31:09.207Z] prd-centos7-docker-4c-2g-33409 does not seem to be running inside a container [2021-04-09T07:31:09.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-09T07:31:10.000Z] $ docker top b82b583b94f81bdf6fef4bab4f0d53b3a1a9fa01dcbca7efd21de4bd8eee7c00 -eo pid,comm [Pipeline] { [2021-04-09T07:31:10.169Z] 745a02a5169b: Verifying Checksum [2021-04-09T07:31:10.169Z] 745a02a5169b: Download complete [Pipeline] sh [2021-04-09T07:31:10.511Z] + go version [2021-04-09T07:31:10.511Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-09T07:31:10.522Z] $ docker stop --time=1 b82b583b94f81bdf6fef4bab4f0d53b3a1a9fa01dcbca7efd21de4bd8eee7c00 [2021-04-09T07:31:11.635Z] 00ac8860ef70: Download complete [2021-04-09T07:31:11.876Z] $ docker rm -f b82b583b94f81bdf6fef4bab4f0d53b3a1a9fa01dcbca7efd21de4bd8eee7c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:31:12.647Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-09T07:31:12.647Z] . [Pipeline] withDockerContainer [2021-04-09T07:31:12.750Z] prd-centos7-docker-4c-2g-33409 does not seem to be running inside a container [2021-04-09T07:31:12.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-09T07:31:13.383Z] $ docker top f36422266b6723b8b3fc97294211dd6fda26f76ca3b65248ab0973b3069ca3e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T07:31:13.872Z] + make test [2021-04-09T07:31:13.872Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-09T07:31:14.826Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-09T07:31:21.839Z] 00ac8860ef70: Pull complete [2021-04-09T07:31:21.839Z] 63d7cb157983: Pull complete [2021-04-09T07:31:22.115Z] b116817d02f9: Pull complete [2021-04-09T07:31:25.523Z] 745a02a5169b: Pull complete [2021-04-09T07:31:25.523Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-09T07:31:25.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-09T07:31:25.523Z] ---> b7e6874047d6 [2021-04-09T07:31:25.523Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-09T07:31:29.021Z] ---> Running in 85f3ca6a8192 [2021-04-09T07:31:29.295Z] Removing intermediate container 85f3ca6a8192 [2021-04-09T07:31:29.295Z] ---> 3eb57bf7ecb5 [2021-04-09T07:31:29.295Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:31:29.567Z] ---> Running in 2ead7d28bbb8 [2021-04-09T07:31:32.195Z] Removing intermediate container 2ead7d28bbb8 [2021-04-09T07:31:32.195Z] ---> 1eb74c31d33c [2021-04-09T07:31:32.195Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-09T07:31:32.195Z] ---> Running in 097aa211d954 [2021-04-09T07:31:33.064Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-09T07:31:33.064Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.346s coverage: 63.8% of statements [2021-04-09T07:31:33.064Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-09T07:31:33.175Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T07:31:34.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T07:31:35.146Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-09T07:31:35.146Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-09T07:31:35.146Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-09T07:31:35.420Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-09T07:31:35.420Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-09T07:31:35.703Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-09T07:31:35.703Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-09T07:31:36.428Z] gofmt -l . [2021-04-09T07:31:36.428Z] [ "`gofmt -l .`" = "" ] [2021-04-09T07:31:36.428Z] ./bin/test-attribution-txt.sh [2021-04-09T07:31:36.683Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-09T07:31:36.683Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-09T07:31:36.683Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-09T07:31:36.958Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-09T07:31:37.232Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-09T07:31:37.232Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-09T07:31:37.385Z] ./bin/test-go-mod-tidy.sh [2021-04-09T07:31:37.505Z] Executing busybox-1.31.1-r19.trigger [2021-04-09T07:31:37.505Z] OK: 149 MiB in 52 packages [Pipeline] } [2021-04-09T07:31:37.669Z] $ docker stop --time=1 f36422266b6723b8b3fc97294211dd6fda26f76ca3b65248ab0973b3069ca3e9 [2021-04-09T07:31:38.941Z] Removing intermediate container 097aa211d954 [2021-04-09T07:31:38.941Z] ---> b96486af907e [2021-04-09T07:31:38.941Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-09T07:31:39.216Z] ---> Running in 0bc0713b6330 [2021-04-09T07:31:39.370Z] $ docker rm -f f36422266b6723b8b3fc97294211dd6fda26f76ca3b65248ab0973b3069ca3e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T07:31:39.809Z] Removing intermediate container 0bc0713b6330 [2021-04-09T07:31:39.809Z] ---> 18f161b4229b [2021-04-09T07:31:39.809Z] Step 7/8 : COPY . . [2021-04-09T07:31:39.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-09T07:31:40.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-09T07:31:40.794Z] ---> 1868c90c856e [2021-04-09T07:31:40.794Z] Step 8/8 : RUN go mod download [2021-04-09T07:31:41.078Z] ---> Running in 0f0b0a8e077e [Pipeline] sh [2021-04-09T07:31:43.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-09T07:31:43.350Z] + ls -al . [2021-04-09T07:31:43.350Z] total 132 [2021-04-09T07:31:43.350Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 9 07:31 . [2021-04-09T07:31:43.350Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 9 07:30 .. [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 8039 Apr 9 07:30 Attribution.txt [2021-04-09T07:31:43.350Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 07:30 bin [2021-04-09T07:31:43.350Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 9 07:30 cmd [2021-04-09T07:31:43.350Z] -rw-r--r--. 1 jenkins jenkins 47247 Apr 9 07:31 coverage.out [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 1905 Apr 9 07:30 Dockerfile [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 998 Apr 9 07:30 Dockerfile.build [2021-04-09T07:31:43.350Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 9 07:30 .git [2021-04-09T07:31:43.350Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 9 07:30 .github [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 277 Apr 9 07:30 .gitignore [2021-04-09T07:31:43.350Z] -rw-r--r--. 1 jenkins jenkins 809 Apr 9 07:31 go.mod [2021-04-09T07:31:43.350Z] -rw-r--r--. 1 jenkins jenkins 23354 Apr 9 07:31 go.sum [2021-04-09T07:31:43.350Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 9 07:30 internal [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 660 Apr 9 07:30 Jenkinsfile [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 9 07:30 LICENSE [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 921 Apr 9 07:30 Makefile [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 918 Apr 9 07:30 README.md [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 9 07:27 VERSION [2021-04-09T07:31:43.350Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 9 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:31:43.654Z] + 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=ade17028b202be70e52921553e3b506375cbc38d --label arch=amd64 --label version=1.3.2-dev.6 . [2021-04-09T07:31:43.654Z] Sending build context to Docker daemon 575.5kB [2021-04-09T07:31:43.654Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T07:31:43.654Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-09T07:31:43.654Z] ---> ed1fb461649f [2021-04-09T07:31:43.654Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-09T07:31:43.920Z] ---> Running in 718a3151873b [2021-04-09T07:31:44.183Z] Removing intermediate container 718a3151873b [2021-04-09T07:31:44.183Z] ---> f01204ff6d8c [2021-04-09T07:31:44.183Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-09T07:31:44.183Z] ---> Running in efad3eb6d159 [2021-04-09T07:31:44.183Z] Removing intermediate container efad3eb6d159 [2021-04-09T07:31:44.183Z] ---> be5985d4c27c [2021-04-09T07:31:44.183Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-09T07:31:44.467Z] ---> Running in 36a05ded5b77 [2021-04-09T07:31:44.467Z] Removing intermediate container 36a05ded5b77 [2021-04-09T07:31:44.467Z] ---> ea60a0882650 [2021-04-09T07:31:44.467Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:31:44.467Z] ---> Running in e6639929c21b [2021-04-09T07:31:45.432Z] Removing intermediate container e6639929c21b [2021-04-09T07:31:45.432Z] ---> 4d8dcdf5c806 [2021-04-09T07:31:45.432Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-09T07:31:45.432Z] ---> Running in a3b0625f17cb [2021-04-09T07:31:46.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T07:31:46.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-09T07:31:47.532Z] OK: 173 MiB in 52 packages [2021-04-09T07:31:47.794Z] Removing intermediate container a3b0625f17cb [2021-04-09T07:31:47.794Z] ---> 1c997ee60937 [2021-04-09T07:31:47.794Z] Step 8/25 : COPY . . [2021-04-09T07:31:48.369Z] ---> 833cccd3c12f [2021-04-09T07:31:48.369Z] Step 9/25 : RUN go mod download [2021-04-09T07:31:48.369Z] ---> Running in 1406d707e393 [2021-04-09T07:31:49.768Z] Removing intermediate container 1406d707e393 [2021-04-09T07:31:49.768Z] ---> 8333d2f6d623 [2021-04-09T07:31:49.768Z] Step 10/25 : ARG MAKE='make build' [2021-04-09T07:31:49.768Z] ---> Running in a25eb2e3a95e [2021-04-09T07:31:49.768Z] Removing intermediate container a25eb2e3a95e [2021-04-09T07:31:49.768Z] ---> eee96ba58eac [2021-04-09T07:31:49.768Z] Step 11/25 : RUN $MAKE [2021-04-09T07:31:49.768Z] ---> Running in e4e2672f51a8 [2021-04-09T07:31:50.357Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.6" -o cmd/device-virtual ./cmd [2021-04-09T07:32:05.434Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-09T07:32:07.880Z] Removing intermediate container 0f0b0a8e077e [2021-04-09T07:32:07.880Z] ---> b9c3060b0e8b [2021-04-09T07:32:07.880Z] Successfully built b9c3060b0e8b [2021-04-09T07:32:07.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:08.232Z] + docker inspect -f . ci-base-image-arm64 [2021-04-09T07:32:08.232Z] . [Pipeline] withDockerContainer [2021-04-09T07:32:08.526Z] prd-ubuntu18.04-docker-arm64-4c-16g-33408 does not seem to be running inside a container [2021-04-09T07:32:08.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@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-04-09T07:32:10.328Z] $ docker top 40457833acdeeb3d20862ea902e7efd2e032d7582eb9b82fd36a62f4312da773 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T07:32:10.737Z] Removing intermediate container e4e2672f51a8 [2021-04-09T07:32:10.737Z] ---> da9fdf6073e7 [2021-04-09T07:32:10.737Z] Step 12/25 : FROM alpine:3.12 [2021-04-09T07:32:10.737Z] 3.12: Pulling from library/alpine [2021-04-09T07:32:10.737Z] 532819f3e44c: Pulling fs layer [2021-04-09T07:32:10.737Z] 532819f3e44c: Verifying Checksum [2021-04-09T07:32:10.737Z] 532819f3e44c: Download complete [2021-04-09T07:32:11.002Z] 532819f3e44c: Pull complete [2021-04-09T07:32:11.002Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-09T07:32:11.266Z] Status: Downloaded newer image for alpine:3.12 [2021-04-09T07:32:11.266Z] ---> 7230e588e954 [2021-04-09T07:32:11.266Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-09T07:32:11.266Z] ---> Running in 460ffbcfa2d6 [2021-04-09T07:32:11.331Z] + go version [2021-04-09T07:32:11.331Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-09T07:32:11.384Z] $ docker stop --time=1 40457833acdeeb3d20862ea902e7efd2e032d7582eb9b82fd36a62f4312da773 [2021-04-09T07:32:11.530Z] Removing intermediate container 460ffbcfa2d6 [2021-04-09T07:32:11.530Z] ---> 1428d6054cf4 [2021-04-09T07:32:11.530Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:32:11.530Z] ---> Running in 2865d82bbfd1 [2021-04-09T07:32:12.479Z] Removing intermediate container 2865d82bbfd1 [2021-04-09T07:32:12.479Z] ---> 0cbd0c7981bf [2021-04-09T07:32:12.479Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-09T07:32:12.479Z] ---> Running in 589628653b2c [2021-04-09T07:32:13.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-09T07:32:13.236Z] $ docker rm -f 40457833acdeeb3d20862ea902e7efd2e032d7582eb9b82fd36a62f4312da773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-04-09T07:32:13.625Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:14.166Z] + docker inspect -f . ci-base-image-arm64 [2021-04-09T07:32:14.166Z] . [Pipeline] withDockerContainer [2021-04-09T07:32:14.199Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-09T07:32:14.199Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-09T07:32:14.199Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-09T07:32:14.397Z] prd-ubuntu18.04-docker-arm64-4c-16g-33408 does not seem to be running inside a container [2021-04-09T07:32:14.460Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-09T07:32:14.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@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-04-09T07:32:14.721Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-09T07:32:14.721Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-09T07:32:14.721Z] Executing busybox-1.31.1-r20.trigger [2021-04-09T07:32:14.721Z] OK: 8 MiB in 20 packages [2021-04-09T07:32:15.294Z] Removing intermediate container 589628653b2c [2021-04-09T07:32:15.294Z] ---> cf8cdae8e035 [2021-04-09T07:32:15.294Z] Step 16/25 : WORKDIR / [2021-04-09T07:32:15.294Z] ---> Running in 7a000a0c292d [2021-04-09T07:32:15.559Z] Removing intermediate container 7a000a0c292d [2021-04-09T07:32:15.559Z] ---> 889e89f5930c [2021-04-09T07:32:15.559Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-09T07:32:15.820Z] ---> 718f2590bea6 [2021-04-09T07:32:15.820Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-09T07:32:16.106Z] $ docker top b11567f78ccd8f8f664eb2bcbf7501fde8518fdf23a2701bfdbeeb7c50727022 -eo pid,comm [2021-04-09T07:32:16.091Z] ---> 17e29fd2bf6a [2021-04-09T07:32:16.091Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] { [Pipeline] sh [2021-04-09T07:32:16.675Z] ---> c5f53c987dd2 [2021-04-09T07:32:16.675Z] Step 20/25 : EXPOSE 49990 [2021-04-09T07:32:16.675Z] ---> Running in 959ff7885cfc [2021-04-09T07:32:16.938Z] Removing intermediate container 959ff7885cfc [2021-04-09T07:32:16.938Z] ---> 57faa923c6a2 [2021-04-09T07:32:16.938Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-09T07:32:16.938Z] ---> Running in de1959e3b6d7 [2021-04-09T07:32:17.116Z] + make test [2021-04-09T07:32:17.116Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-09T07:32:17.200Z] Removing intermediate container de1959e3b6d7 [2021-04-09T07:32:17.200Z] ---> aaf5825678a5 [2021-04-09T07:32:17.200Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-09T07:32:17.200Z] ---> Running in e42f4c9ad164 [2021-04-09T07:32:17.460Z] Removing intermediate container e42f4c9ad164 [2021-04-09T07:32:17.460Z] ---> 18d4356410fa [2021-04-09T07:32:17.460Z] Step 23/25 : LABEL arch=amd64 [2021-04-09T07:32:17.460Z] ---> Running in 576943668fca [2021-04-09T07:32:17.460Z] Removing intermediate container 576943668fca [2021-04-09T07:32:17.460Z] ---> 68bab48573ef [2021-04-09T07:32:17.460Z] Step 24/25 : LABEL git_sha=ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:32:17.720Z] ---> Running in ed3c43f430a7 [2021-04-09T07:32:17.720Z] Removing intermediate container ed3c43f430a7 [2021-04-09T07:32:17.720Z] ---> 6c95ba0b8f88 [2021-04-09T07:32:17.720Z] Step 25/25 : LABEL version=1.3.2-dev.6 [2021-04-09T07:32:17.982Z] ---> Running in 4e7f5e85caca [2021-04-09T07:32:17.982Z] Removing intermediate container 4e7f5e85caca [2021-04-09T07:32:17.982Z] ---> daf980f9f5b1 [2021-04-09T07:32:17.982Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-09T07:32:17.982Z] Successfully built daf980f9f5b1 [2021-04-09T07:32:17.982Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T07:32:18.300Z] provisioning config files... [2021-04-09T07:32:18.334Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config80310695507451541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:32:18.562Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-09T07:32:18.686Z] ---> docker-login.sh [2021-04-09T07:32:18.686Z] nexus3.edgexfoundry.org:10001 [2021-04-09T07:32:18.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:32:18.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:32:18.948Z] Configure a credential helper to remove this warning. See [2021-04-09T07:32:18.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:32:18.948Z] [2021-04-09T07:32:18.948Z] Login Succeeded [2021-04-09T07:32:18.948Z] nexus3.edgexfoundry.org:10002 [2021-04-09T07:32:18.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:32:18.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:32:18.948Z] Configure a credential helper to remove this warning. See [2021-04-09T07:32:18.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:32:18.948Z] [2021-04-09T07:32:18.948Z] Login Succeeded [2021-04-09T07:32:18.948Z] nexus3.edgexfoundry.org:10003 [2021-04-09T07:32:19.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:32:19.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:32:19.210Z] Configure a credential helper to remove this warning. See [2021-04-09T07:32:19.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:32:19.210Z] [2021-04-09T07:32:19.210Z] Login Succeeded [2021-04-09T07:32:19.210Z] nexus3.edgexfoundry.org:10004 [2021-04-09T07:32:19.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:32:19.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:32:19.471Z] Configure a credential helper to remove this warning. See [2021-04-09T07:32:19.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:32:19.471Z] [2021-04-09T07:32:19.471Z] Login Succeeded [2021-04-09T07:32:19.471Z] docker.io [2021-04-09T07:32:19.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:32:19.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:32:19.732Z] Configure a credential helper to remove this warning. See [2021-04-09T07:32:19.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:32:19.732Z] [2021-04-09T07:32:19.732Z] Login Succeeded [2021-04-09T07:32:19.732Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T07:32:19.741Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-09T07:32:19.965Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-04-09T07:32:19.965Z] ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:32:19.965Z] latest [2021-04-09T07:32:19.965Z] 1.3.2-dev.6 [2021-04-09T07:32:19.965Z] ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:32:19.965Z] master [2021-04-09T07:32:19.965Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:20.549Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:20.852Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:32:20.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-09T07:32:20.852Z] a6b98eb85f95: Preparing [2021-04-09T07:32:20.852Z] 3d535568bd08: Preparing [2021-04-09T07:32:20.852Z] fde36768c8fd: Preparing [2021-04-09T07:32:20.852Z] 0f8301c33825: Preparing [2021-04-09T07:32:20.852Z] d4116a295a76: Preparing [2021-04-09T07:32:20.852Z] b0b9881431d7: Preparing [2021-04-09T07:32:20.852Z] b0b9881431d7: Waiting [2021-04-09T07:32:21.115Z] fde36768c8fd: Pushed [2021-04-09T07:32:21.115Z] d4116a295a76: Pushed [2021-04-09T07:32:21.115Z] 3d535568bd08: Pushed [2021-04-09T07:32:21.115Z] b0b9881431d7: Layer already exists [2021-04-09T07:32:21.115Z] 0f8301c33825: Pushed [2021-04-09T07:32:22.500Z] a6b98eb85f95: Pushed [2021-04-09T07:32:22.500Z] ade17028b202be70e52921553e3b506375cbc38d: digest: sha256:689b31d9104dd1eabcd93605b8ad2f0e87c7b82ca8dd9030a4b8d241770ba17b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:22.811Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:23.108Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-04-09T07:32:23.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-09T07:32:23.108Z] a6b98eb85f95: Preparing [2021-04-09T07:32:23.108Z] 3d535568bd08: Preparing [2021-04-09T07:32:23.108Z] fde36768c8fd: Preparing [2021-04-09T07:32:23.108Z] 0f8301c33825: Preparing [2021-04-09T07:32:23.108Z] d4116a295a76: Preparing [2021-04-09T07:32:23.108Z] b0b9881431d7: Preparing [2021-04-09T07:32:23.108Z] b0b9881431d7: Waiting [2021-04-09T07:32:23.108Z] 3d535568bd08: Layer already exists [2021-04-09T07:32:23.108Z] 0f8301c33825: Layer already exists [2021-04-09T07:32:23.108Z] d4116a295a76: Layer already exists [2021-04-09T07:32:23.108Z] a6b98eb85f95: Layer already exists [2021-04-09T07:32:23.108Z] fde36768c8fd: Layer already exists [2021-04-09T07:32:23.108Z] b0b9881431d7: Layer already exists [2021-04-09T07:32:23.108Z] latest: digest: sha256:689b31d9104dd1eabcd93605b8ad2f0e87c7b82ca8dd9030a4b8d241770ba17b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:23.418Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:23.719Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.6 [2021-04-09T07:32:23.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-09T07:32:23.719Z] a6b98eb85f95: Preparing [2021-04-09T07:32:23.719Z] 3d535568bd08: Preparing [2021-04-09T07:32:23.719Z] fde36768c8fd: Preparing [2021-04-09T07:32:23.719Z] 0f8301c33825: Preparing [2021-04-09T07:32:23.719Z] d4116a295a76: Preparing [2021-04-09T07:32:23.719Z] b0b9881431d7: Preparing [2021-04-09T07:32:23.719Z] b0b9881431d7: Waiting [2021-04-09T07:32:23.719Z] a6b98eb85f95: Layer already exists [2021-04-09T07:32:23.719Z] 0f8301c33825: Layer already exists [2021-04-09T07:32:23.719Z] fde36768c8fd: Layer already exists [2021-04-09T07:32:23.719Z] d4116a295a76: Layer already exists [2021-04-09T07:32:23.719Z] 3d535568bd08: Layer already exists [2021-04-09T07:32:23.719Z] b0b9881431d7: Layer already exists [2021-04-09T07:32:23.719Z] 1.3.2-dev.6: digest: sha256:689b31d9104dd1eabcd93605b8ad2f0e87c7b82ca8dd9030a4b8d241770ba17b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:24.024Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:24.322Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:32:24.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-09T07:32:24.322Z] a6b98eb85f95: Preparing [2021-04-09T07:32:24.322Z] 3d535568bd08: Preparing [2021-04-09T07:32:24.322Z] fde36768c8fd: Preparing [2021-04-09T07:32:24.322Z] 0f8301c33825: Preparing [2021-04-09T07:32:24.322Z] d4116a295a76: Preparing [2021-04-09T07:32:24.322Z] b0b9881431d7: Preparing [2021-04-09T07:32:24.322Z] b0b9881431d7: Waiting [2021-04-09T07:32:24.322Z] d4116a295a76: Layer already exists [2021-04-09T07:32:24.322Z] 3d535568bd08: Layer already exists [2021-04-09T07:32:24.322Z] 0f8301c33825: Layer already exists [2021-04-09T07:32:24.322Z] a6b98eb85f95: Layer already exists [2021-04-09T07:32:24.322Z] fde36768c8fd: Layer already exists [2021-04-09T07:32:24.322Z] b0b9881431d7: Layer already exists [2021-04-09T07:32:24.322Z] ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6: digest: sha256:689b31d9104dd1eabcd93605b8ad2f0e87c7b82ca8dd9030a4b8d241770ba17b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:24.626Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:32:24.968Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-04-09T07:32:24.968Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-09T07:32:24.968Z] a6b98eb85f95: Preparing [2021-04-09T07:32:24.968Z] 3d535568bd08: Preparing [2021-04-09T07:32:24.968Z] fde36768c8fd: Preparing [2021-04-09T07:32:24.968Z] 0f8301c33825: Preparing [2021-04-09T07:32:24.968Z] d4116a295a76: Preparing [2021-04-09T07:32:24.968Z] b0b9881431d7: Preparing [2021-04-09T07:32:24.968Z] b0b9881431d7: Waiting [2021-04-09T07:32:24.968Z] 0f8301c33825: Layer already exists [2021-04-09T07:32:24.968Z] 3d535568bd08: Layer already exists [2021-04-09T07:32:24.968Z] fde36768c8fd: Layer already exists [2021-04-09T07:32:24.968Z] d4116a295a76: Layer already exists [2021-04-09T07:32:24.968Z] a6b98eb85f95: Layer already exists [2021-04-09T07:32:24.968Z] b0b9881431d7: Layer already exists [2021-04-09T07:32:24.968Z] master: digest: sha256:689b31d9104dd1eabcd93605b8ad2f0e87c7b82ca8dd9030a4b8d241770ba17b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-09T07:32:25.193Z] ===================================================== [Pipeline] echo [2021-04-09T07:32:25.240Z] taggedImages: [2021-04-09T07:32:25.240Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:32:25.240Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-04-09T07:32:25.240Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.6 [2021-04-09T07:32:25.240Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:32:25.241Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:32:26.208Z] ---> job-cost.sh [2021-04-09T07:32:26.208Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1vJ8 [2021-04-09T07:32:41.249Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-09T07:33:07.865Z] lf-activate-venv(): INFO: Adding /tmp/venv-1vJ8/bin to PATH [2021-04-09T07:33:07.865Z] INFO: No Stack... [2021-04-09T07:33:07.865Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-09T07:33:07.865Z] INFO: Archiving Costs [Pipeline] sh [2021-04-09T07:33:08.165Z] + cat /w/workspace/device-virtual-go/45/archives/cost.csv [2021-04-09T07:33:08.165Z] + cut -d, -f6 [Pipeline] lock [2021-04-09T07:33:08.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] [2021-04-09T07:33:08.248Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] did not exist. Created. [2021-04-09T07:33:08.248Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-09T07:33:08.652Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-09T07:33:08.799Z] Stashed 1 file(s) [Pipeline] } [2021-04-09T07:33:08.815Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-09T07:33:15.202Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-09T07:33:15.202Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.473s coverage: 63.8% of statements [2021-04-09T07:33:15.202Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-09T07:33:23.501Z] gofmt -l . [2021-04-09T07:33:23.501Z] [ "`gofmt -l .`" = "" ] [2021-04-09T07:33:23.501Z] ./bin/test-attribution-txt.sh [2021-04-09T07:33:24.941Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-09T07:33:25.608Z] $ docker stop --time=1 b11567f78ccd8f8f664eb2bcbf7501fde8518fdf23a2701bfdbeeb7c50727022 [2021-04-09T07:33:27.884Z] $ docker rm -f b11567f78ccd8f8f664eb2bcbf7501fde8518fdf23a2701bfdbeeb7c50727022 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-09T07:33:28.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-09T07:33:28.817Z] Warning: overwriting stash ‘coverage-report’ [2021-04-09T07:33:29.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-09T07:33:30.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-09T07:33:30.962Z] + ls -al . [2021-04-09T07:33:30.962Z] total 156 [2021-04-09T07:33:30.962Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 9 07:33 . [2021-04-09T07:33:30.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 07:30 .. [2021-04-09T07:33:30.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 07:30 .git [2021-04-09T07:33:30.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 07:30 .github [2021-04-09T07:33:30.962Z] -rw-rw-r-- 1 jenkins jenkins 277 Apr 9 07:30 .gitignore [2021-04-09T07:33:30.962Z] -rw-rw-r-- 1 jenkins jenkins 8039 Apr 9 07:30 Attribution.txt [2021-04-09T07:33:30.962Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 9 07:30 Dockerfile [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 998 Apr 9 07:30 Dockerfile.build [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 9 07:30 Jenkinsfile [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 9 07:30 LICENSE [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 921 Apr 9 07:30 Makefile [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 918 Apr 9 07:30 README.md [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 9 07:27 VERSION [2021-04-09T07:33:30.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 07:30 bin [2021-04-09T07:33:30.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 07:30 cmd [2021-04-09T07:33:30.963Z] -rw-r--r-- 1 jenkins jenkins 47247 Apr 9 07:33 coverage.out [2021-04-09T07:33:30.963Z] -rw-r--r-- 1 jenkins jenkins 809 Apr 9 07:33 go.mod [2021-04-09T07:33:30.963Z] -rw-r--r-- 1 jenkins jenkins 23354 Apr 9 07:33 go.sum [2021-04-09T07:33:30.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 07:30 internal [2021-04-09T07:33:30.963Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 9 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:33:31.343Z] + 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=ade17028b202be70e52921553e3b506375cbc38d --label arch=arm64 --label version=1.3.2-dev.6 . [2021-04-09T07:33:31.618Z] Sending build context to Docker daemon 574.5kB [2021-04-09T07:33:31.618Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-09T07:33:31.618Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-09T07:33:31.618Z] ---> b9c3060b0e8b [2021-04-09T07:33:31.618Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-09T07:33:31.891Z] ---> Running in 140a9ac2275d [2021-04-09T07:33:32.491Z] Removing intermediate container 140a9ac2275d [2021-04-09T07:33:32.491Z] ---> ab4261c52356 [2021-04-09T07:33:32.491Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-09T07:33:32.491Z] ---> Running in 8a5730b7d410 [2021-04-09T07:33:33.087Z] Removing intermediate container 8a5730b7d410 [2021-04-09T07:33:33.087Z] ---> 968facfd63fc [2021-04-09T07:33:33.087Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-09T07:33:33.087Z] ---> Running in ed6a89f7d0ca [2021-04-09T07:33:33.689Z] Removing intermediate container ed6a89f7d0ca [2021-04-09T07:33:33.689Z] ---> 9b904b19ad2b [2021-04-09T07:33:33.689Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:33:33.689Z] ---> Running in 69b724a0300b [2021-04-09T07:33:35.660Z] Removing intermediate container 69b724a0300b [2021-04-09T07:33:35.660Z] ---> 430d58c11b08 [2021-04-09T07:33:35.660Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-09T07:33:35.939Z] ---> Running in c3d54bb21c41 [2021-04-09T07:33:36.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T07:33:37.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T07:33:38.482Z] OK: 149 MiB in 52 packages [2021-04-09T07:33:39.455Z] Removing intermediate container c3d54bb21c41 [2021-04-09T07:33:39.455Z] ---> d52405dd7b23 [2021-04-09T07:33:39.455Z] Step 8/25 : COPY . . [2021-04-09T07:33:40.438Z] ---> 633ade23c643 [2021-04-09T07:33:40.438Z] Step 9/25 : RUN go mod download [2021-04-09T07:33:40.438Z] ---> Running in 10576d76dc5a [2021-04-09T07:33:43.065Z] Removing intermediate container 10576d76dc5a [2021-04-09T07:33:43.065Z] ---> f799ef100e51 [2021-04-09T07:33:43.065Z] Step 10/25 : ARG MAKE='make build' [2021-04-09T07:33:43.065Z] ---> Running in 9ca7c4cc5abe [2021-04-09T07:33:43.339Z] Removing intermediate container 9ca7c4cc5abe [2021-04-09T07:33:43.339Z] ---> 3b68a07224d3 [2021-04-09T07:33:43.339Z] Step 11/25 : RUN $MAKE [2021-04-09T07:33:43.339Z] ---> Running in cba9e0833e28 [2021-04-09T07:33:44.776Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.6" -o cmd/device-virtual ./cmd [2021-04-09T07:34:31.811Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-09T07:34:42.015Z] Removing intermediate container cba9e0833e28 [2021-04-09T07:34:42.015Z] ---> 0dd90c769311 [2021-04-09T07:34:42.015Z] Step 12/25 : FROM alpine:3.12 [2021-04-09T07:34:42.015Z] 3.12: Pulling from library/alpine [2021-04-09T07:34:42.015Z] 9a219e8acc52: Pulling fs layer [2021-04-09T07:34:42.015Z] 9a219e8acc52: Verifying Checksum [2021-04-09T07:34:42.015Z] 9a219e8acc52: Download complete [2021-04-09T07:34:42.015Z] 9a219e8acc52: Pull complete [2021-04-09T07:34:42.015Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-09T07:34:42.015Z] Status: Downloaded newer image for alpine:3.12 [2021-04-09T07:34:42.015Z] ---> d75e27dfc0a0 [2021-04-09T07:34:42.015Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-09T07:34:42.289Z] ---> Running in 3183df00f474 [2021-04-09T07:34:42.887Z] Removing intermediate container 3183df00f474 [2021-04-09T07:34:42.887Z] ---> b18d9c0f55dd [2021-04-09T07:34:42.887Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-09T07:34:42.887Z] ---> Running in 57e892021310 [2021-04-09T07:34:44.858Z] Removing intermediate container 57e892021310 [2021-04-09T07:34:44.858Z] ---> be3f624c8805 [2021-04-09T07:34:44.858Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-09T07:34:45.131Z] ---> Running in 86a02bebb22c [2021-04-09T07:34:46.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-09T07:34:47.082Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-09T07:34:48.076Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-09T07:34:48.076Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-09T07:34:48.076Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-09T07:34:48.346Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-09T07:34:48.616Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-09T07:34:48.616Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-09T07:34:48.616Z] Executing busybox-1.31.1-r20.trigger [2021-04-09T07:34:48.616Z] OK: 8 MiB in 20 packages [2021-04-09T07:34:50.054Z] Removing intermediate container 86a02bebb22c [2021-04-09T07:34:50.054Z] ---> c6ec817b526a [2021-04-09T07:34:50.054Z] Step 16/25 : WORKDIR / [2021-04-09T07:34:50.054Z] ---> Running in ff910d532e34 [2021-04-09T07:34:50.326Z] Removing intermediate container ff910d532e34 [2021-04-09T07:34:50.326Z] ---> d435d55e3d10 [2021-04-09T07:34:50.326Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-09T07:34:51.301Z] ---> 3f805d9be524 [2021-04-09T07:34:51.301Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-09T07:34:51.897Z] ---> ce8f1e98d6c5 [2021-04-09T07:34:51.897Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-09T07:34:53.330Z] ---> 041496fd94ac [2021-04-09T07:34:53.330Z] Step 20/25 : EXPOSE 49990 [2021-04-09T07:34:53.330Z] ---> Running in 9db8aee433f5 [2021-04-09T07:34:53.924Z] Removing intermediate container 9db8aee433f5 [2021-04-09T07:34:53.924Z] ---> 1a52c09881d1 [2021-04-09T07:34:53.924Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-09T07:34:53.924Z] ---> Running in 99c577684435 [2021-04-09T07:34:54.516Z] Removing intermediate container 99c577684435 [2021-04-09T07:34:54.516Z] ---> a3fc8bab48d0 [2021-04-09T07:34:54.516Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-09T07:34:54.516Z] ---> Running in 883411077b17 [2021-04-09T07:34:55.107Z] Removing intermediate container 883411077b17 [2021-04-09T07:34:55.107Z] ---> 03a993be2b50 [2021-04-09T07:34:55.107Z] Step 23/25 : LABEL arch=arm64 [2021-04-09T07:34:55.107Z] ---> Running in 08504c59919b [2021-04-09T07:34:55.382Z] Removing intermediate container 08504c59919b [2021-04-09T07:34:55.382Z] ---> e7c523087009 [2021-04-09T07:34:55.382Z] Step 24/25 : LABEL git_sha=ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:34:55.655Z] ---> Running in 4c10ffd96a42 [2021-04-09T07:34:56.249Z] Removing intermediate container 4c10ffd96a42 [2021-04-09T07:34:56.249Z] ---> bbfb38480a54 [2021-04-09T07:34:56.249Z] Step 25/25 : LABEL version=1.3.2-dev.6 [2021-04-09T07:34:56.249Z] ---> Running in 1f0bad2e3104 [2021-04-09T07:34:56.528Z] Removing intermediate container 1f0bad2e3104 [2021-04-09T07:34:56.528Z] ---> 67e4690247c4 [2021-04-09T07:34:56.528Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-09T07:34:56.528Z] Successfully built 67e4690247c4 [2021-04-09T07:34:56.800Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-09T07:34:57.290Z] provisioning config files... [2021-04-09T07:34:57.333Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config7999369091553240418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:34:57.738Z] ---> docker-login.sh [2021-04-09T07:34:57.739Z] nexus3.edgexfoundry.org:10001 [2021-04-09T07:34:58.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:34:58.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:34:58.011Z] Configure a credential helper to remove this warning. See [2021-04-09T07:34:58.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:34:58.011Z] [2021-04-09T07:34:58.011Z] Login Succeeded [2021-04-09T07:34:58.011Z] nexus3.edgexfoundry.org:10002 [2021-04-09T07:34:58.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:34:58.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:34:58.607Z] Configure a credential helper to remove this warning. See [2021-04-09T07:34:58.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:34:58.607Z] [2021-04-09T07:34:58.607Z] Login Succeeded [2021-04-09T07:34:58.607Z] nexus3.edgexfoundry.org:10003 [2021-04-09T07:34:59.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:34:59.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:34:59.206Z] Configure a credential helper to remove this warning. See [2021-04-09T07:34:59.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:34:59.206Z] [2021-04-09T07:34:59.206Z] Login Succeeded [2021-04-09T07:34:59.206Z] nexus3.edgexfoundry.org:10004 [2021-04-09T07:34:59.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:34:59.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:34:59.755Z] Configure a credential helper to remove this warning. See [2021-04-09T07:34:59.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:34:59.755Z] [2021-04-09T07:34:59.755Z] Login Succeeded [2021-04-09T07:34:59.755Z] docker.io [2021-04-09T07:35:00.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-09T07:35:00.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-09T07:35:00.626Z] Configure a credential helper to remove this warning. See [2021-04-09T07:35:00.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-09T07:35:00.626Z] [2021-04-09T07:35:00.626Z] Login Succeeded [2021-04-09T07:35:00.626Z] ---> docker-login.sh ends [Pipeline] } [2021-04-09T07:35:00.644Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-09T07:35:00.924Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-04-09T07:35:00.924Z] ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:35:00.924Z] latest [2021-04-09T07:35:00.924Z] 1.3.2-dev.6 [2021-04-09T07:35:00.924Z] ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:35:00.924Z] master [2021-04-09T07:35:00.924Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:01.475Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:01.846Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:35:01.846Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-09T07:35:01.846Z] 70d088fb6099: Preparing [2021-04-09T07:35:01.846Z] 905c412c7e8c: Preparing [2021-04-09T07:35:01.846Z] 8b7f14dd86be: Preparing [2021-04-09T07:35:01.846Z] 6db087a800e3: Preparing [2021-04-09T07:35:01.846Z] 8eb195892fb2: Preparing [2021-04-09T07:35:01.846Z] e08058ee1dfe: Preparing [2021-04-09T07:35:01.846Z] e08058ee1dfe: Waiting [2021-04-09T07:35:02.120Z] 8b7f14dd86be: Pushed [2021-04-09T07:35:02.393Z] 8eb195892fb2: Pushed [2021-04-09T07:35:02.393Z] 905c412c7e8c: Pushed [2021-04-09T07:35:02.393Z] e08058ee1dfe: Layer already exists [2021-04-09T07:35:02.666Z] 6db087a800e3: Pushed [2021-04-09T07:35:06.043Z] 70d088fb6099: Pushed [2021-04-09T07:35:06.043Z] ade17028b202be70e52921553e3b506375cbc38d: digest: sha256:864ba4930aaf68dd68bc14cb32b1ed8e87bf49fdd854eb1f3c49e62d69d325a3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:06.393Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:06.733Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-04-09T07:35:06.733Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-09T07:35:06.733Z] 70d088fb6099: Preparing [2021-04-09T07:35:06.733Z] 905c412c7e8c: Preparing [2021-04-09T07:35:06.733Z] 8b7f14dd86be: Preparing [2021-04-09T07:35:06.733Z] 6db087a800e3: Preparing [2021-04-09T07:35:06.733Z] 8eb195892fb2: Preparing [2021-04-09T07:35:06.733Z] e08058ee1dfe: Preparing [2021-04-09T07:35:06.733Z] e08058ee1dfe: Waiting [2021-04-09T07:35:06.733Z] 8eb195892fb2: Layer already exists [2021-04-09T07:35:06.733Z] 905c412c7e8c: Layer already exists [2021-04-09T07:35:06.733Z] 6db087a800e3: Layer already exists [2021-04-09T07:35:06.733Z] 70d088fb6099: Layer already exists [2021-04-09T07:35:06.733Z] 8b7f14dd86be: Layer already exists [2021-04-09T07:35:07.006Z] e08058ee1dfe: Layer already exists [2021-04-09T07:35:07.006Z] latest: digest: sha256:864ba4930aaf68dd68bc14cb32b1ed8e87bf49fdd854eb1f3c49e62d69d325a3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:07.350Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:07.686Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.6 [2021-04-09T07:35:07.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-09T07:35:07.686Z] 70d088fb6099: Preparing [2021-04-09T07:35:07.686Z] 905c412c7e8c: Preparing [2021-04-09T07:35:07.686Z] 8b7f14dd86be: Preparing [2021-04-09T07:35:07.686Z] 6db087a800e3: Preparing [2021-04-09T07:35:07.686Z] 8eb195892fb2: Preparing [2021-04-09T07:35:07.686Z] e08058ee1dfe: Preparing [2021-04-09T07:35:07.686Z] e08058ee1dfe: Waiting [2021-04-09T07:35:07.686Z] 8eb195892fb2: Layer already exists [2021-04-09T07:35:07.686Z] 70d088fb6099: Layer already exists [2021-04-09T07:35:07.686Z] 905c412c7e8c: Layer already exists [2021-04-09T07:35:07.686Z] 6db087a800e3: Layer already exists [2021-04-09T07:35:07.686Z] 8b7f14dd86be: Layer already exists [2021-04-09T07:35:07.686Z] e08058ee1dfe: Layer already exists [2021-04-09T07:35:07.956Z] 1.3.2-dev.6: digest: sha256:864ba4930aaf68dd68bc14cb32b1ed8e87bf49fdd854eb1f3c49e62d69d325a3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:08.301Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:08.642Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:35:08.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-09T07:35:08.642Z] 70d088fb6099: Preparing [2021-04-09T07:35:08.642Z] 905c412c7e8c: Preparing [2021-04-09T07:35:08.642Z] 8b7f14dd86be: Preparing [2021-04-09T07:35:08.642Z] 6db087a800e3: Preparing [2021-04-09T07:35:08.642Z] 8eb195892fb2: Preparing [2021-04-09T07:35:08.642Z] e08058ee1dfe: Preparing [2021-04-09T07:35:08.642Z] e08058ee1dfe: Waiting [2021-04-09T07:35:08.643Z] 70d088fb6099: Layer already exists [2021-04-09T07:35:08.643Z] 8eb195892fb2: Layer already exists [2021-04-09T07:35:08.643Z] 6db087a800e3: Layer already exists [2021-04-09T07:35:08.643Z] 8b7f14dd86be: Layer already exists [2021-04-09T07:35:08.643Z] 905c412c7e8c: Layer already exists [2021-04-09T07:35:08.916Z] e08058ee1dfe: Layer already exists [2021-04-09T07:35:08.916Z] ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6: digest: sha256:864ba4930aaf68dd68bc14cb32b1ed8e87bf49fdd854eb1f3c49e62d69d325a3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:09.262Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:35:09.599Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-04-09T07:35:09.599Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-09T07:35:09.599Z] 70d088fb6099: Preparing [2021-04-09T07:35:09.599Z] 905c412c7e8c: Preparing [2021-04-09T07:35:09.599Z] 8b7f14dd86be: Preparing [2021-04-09T07:35:09.599Z] 6db087a800e3: Preparing [2021-04-09T07:35:09.599Z] 8eb195892fb2: Preparing [2021-04-09T07:35:09.599Z] e08058ee1dfe: Preparing [2021-04-09T07:35:09.599Z] e08058ee1dfe: Waiting [2021-04-09T07:35:09.871Z] 905c412c7e8c: Layer already exists [2021-04-09T07:35:09.871Z] 8b7f14dd86be: Layer already exists [2021-04-09T07:35:09.871Z] 6db087a800e3: Layer already exists [2021-04-09T07:35:09.871Z] 70d088fb6099: Layer already exists [2021-04-09T07:35:09.871Z] 8eb195892fb2: Layer already exists [2021-04-09T07:35:09.871Z] e08058ee1dfe: Layer already exists [2021-04-09T07:35:09.871Z] master: digest: sha256:864ba4930aaf68dd68bc14cb32b1ed8e87bf49fdd854eb1f3c49e62d69d325a3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-09T07:35:10.196Z] ===================================================== [Pipeline] echo [2021-04-09T07:35:10.269Z] taggedImages: [2021-04-09T07:35:10.269Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d [2021-04-09T07:35:10.269Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-04-09T07:35:10.269Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.6 [2021-04-09T07:35:10.269Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ade17028b202be70e52921553e3b506375cbc38d-1.3.2-dev.6 [2021-04-09T07:35:10.269Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:35:10.889Z] ---> job-cost.sh [2021-04-09T07:35:10.889Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1MbK [2021-04-09T07:35:49.909Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-09T07:37:26.656Z] lf-activate-venv(): INFO: Adding /tmp/venv-1MbK/bin to PATH [2021-04-09T07:37:26.656Z] INFO: No Stack... [2021-04-09T07:37:26.656Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-09T07:37:26.656Z] INFO: Archiving Costs [Pipeline] sh [2021-04-09T07:37:26.996Z] + + cut -d,cat -f6 [2021-04-09T07:37:26.996Z] /w/workspace/device-virtual-go/45/archives/cost.csv [Pipeline] lock [2021-04-09T07:37:27.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] [2021-04-09T07:37:27.123Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] did not exist. Created. [2021-04-09T07:37:27.123Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-09T07:37:27.577Z] /w/workspace/device-virtual-go/45@tmp/durable-c6cada47/script.sh: 1: /w/workspace/device-virtual-go/45@tmp/durable-c6cada47/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-09T07:37:27.930Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-09T07:37:28.004Z] Warning: overwriting stash ‘stack-cost’ [2021-04-09T07:37:28.157Z] Stashed 1 file(s) [Pipeline] } [2021-04-09T07:37:28.173Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-45-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-04-09T07:37:29.622Z] provisioning config files... [2021-04-09T07:37:29.635Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8477474923392736442tmp [Pipeline] { [Pipeline] sh [2021-04-09T07:37:30.031Z] + set +x [2021-04-09T07:37:30.031Z] + curl -s https://codecov.io/bash [2021-04-09T07:37:30.031Z] + bash -s -- [2021-04-09T07:37:30.293Z] [2021-04-09T07:37:30.293Z] _____ _ [2021-04-09T07:37:30.293Z] / ____| | | [2021-04-09T07:37:30.294Z] | | ___ __| | ___ ___ _____ __ [2021-04-09T07:37:30.294Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-09T07:37:30.294Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-09T07:37:30.294Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-09T07:37:30.294Z] Bash-20210309-2b87ace [2021-04-09T07:37:30.294Z] [2021-04-09T07:37:30.294Z] [2021-04-09T07:37:30.294Z] ==> git version 2.24.3 found [2021-04-09T07:37:30.294Z] ==> 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-04-09T07:37:30.294Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-09T07:37:30.294Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-09T07:37:30.294Z] ==> Jenkins CI detected. [2021-04-09T07:37:30.294Z] project root: . [2021-04-09T07:37:30.294Z] --> token set from env [2021-04-09T07:37:30.294Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-09T07:37:30.294Z] ==> Running gcov in . (disable via -X gcov) [2021-04-09T07:37:30.294Z] ==> Python coveragepy not found [2021-04-09T07:37:30.294Z] ==> Searching for coverage reports in: [2021-04-09T07:37:30.294Z] + . [2021-04-09T07:37:30.294Z] -> Found 1 reports [2021-04-09T07:37:30.294Z] ==> Detecting git/mercurial file structure [2021-04-09T07:37:30.294Z] ==> Reading reports [2021-04-09T07:37:30.294Z] + ./coverage.out bytes=47247 [2021-04-09T07:37:30.294Z] ==> Appending adjustments [2021-04-09T07:37:30.294Z] https://docs.codecov.io/docs/fixing-reports [2021-04-09T07:37:30.557Z] + Found adjustments [2021-04-09T07:37:30.557Z] ==> Gzipping contents [2021-04-09T07:37:30.557Z] 8.0K /tmp/codecov.KkmsnI.gz [2021-04-09T07:37:30.557Z] ==> Uploading reports [2021-04-09T07:37:30.557Z] url: https://codecov.io [2021-04-09T07:37:30.557Z] query: branch=master&commit=ade17028b202be70e52921553e3b506375cbc38d&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-09T07:37:30.557Z] -> Pinging Codecov [2021-04-09T07:37:30.557Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=ade17028b202be70e52921553e3b506375cbc38d&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-09T07:37:30.819Z] -> Uploading to [2021-04-09T07:37:30.819Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-09/5E52B4B073DB2E39498172D8E973AA87/ade17028b202be70e52921553e3b506375cbc38d/8d8216da-ce1c-4f46-9b28-24ef22b61c1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210409%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210409T073730Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5cd58433bc9ed8c2f7a97ea6b66ad1011a9aa736bdfc70043aea96615f90872 [2021-04-09T07:37:30.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-09T07:37:30.819Z] Dload Upload Total Spent Left Speed [2021-04-09T07:37:31.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5808 0 0 100 5808 0 14902 --:--:-- --:--:-- --:--:-- 14892 [2021-04-09T07:37:31.082Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ade17028b202be70e52921553e3b506375cbc38d [Pipeline] } [2021-04-09T07:37:31.092Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-09T07:37:32.284Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-09T07:37:32.451Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:37:32.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-09T07:37:32.827Z] [2021-04-09T07:37:32.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:37:33.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-09T07:37:33.186Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-09T07:37:33.186Z] 188c0c94c7c5: Pulling fs layer [2021-04-09T07:37:33.186Z] 0ef7d3d256c8: Pulling fs layer [2021-04-09T07:37:33.186Z] de9db76c5a1d: Pulling fs layer [2021-04-09T07:37:33.186Z] 0eba1c9be4d2: Pulling fs layer [2021-04-09T07:37:33.186Z] 0d57e429df01: Pulling fs layer [2021-04-09T07:37:33.186Z] 4e4be7b47b0d: Pulling fs layer [2021-04-09T07:37:33.186Z] e1f770b5df2f: Pulling fs layer [2021-04-09T07:37:33.186Z] 85a0685a4137: Pulling fs layer [2021-04-09T07:37:33.186Z] 4e4be7b47b0d: Waiting [2021-04-09T07:37:33.186Z] e1f770b5df2f: Waiting [2021-04-09T07:37:33.186Z] 85a0685a4137: Waiting [2021-04-09T07:37:33.186Z] 0eba1c9be4d2: Waiting [2021-04-09T07:37:33.186Z] 0d57e429df01: Waiting [2021-04-09T07:37:33.186Z] de9db76c5a1d: Verifying Checksum [2021-04-09T07:37:33.186Z] de9db76c5a1d: Download complete [2021-04-09T07:37:33.186Z] 0ef7d3d256c8: Download complete [2021-04-09T07:37:33.186Z] 0d57e429df01: Verifying Checksum [2021-04-09T07:37:33.186Z] 0d57e429df01: Download complete [2021-04-09T07:37:33.186Z] 188c0c94c7c5: Verifying Checksum [2021-04-09T07:37:33.186Z] 188c0c94c7c5: Download complete [2021-04-09T07:37:33.452Z] 4e4be7b47b0d: Verifying Checksum [2021-04-09T07:37:33.452Z] 4e4be7b47b0d: Download complete [2021-04-09T07:37:33.713Z] 188c0c94c7c5: Pull complete [2021-04-09T07:37:33.713Z] 0ef7d3d256c8: Pull complete [2021-04-09T07:37:33.975Z] de9db76c5a1d: Pull complete [2021-04-09T07:37:35.906Z] e1f770b5df2f: Verifying Checksum [2021-04-09T07:37:35.906Z] e1f770b5df2f: Download complete [2021-04-09T07:37:37.314Z] 0eba1c9be4d2: Verifying Checksum [2021-04-09T07:37:37.314Z] 0eba1c9be4d2: Download complete [2021-04-09T07:37:37.913Z] 85a0685a4137: Verifying Checksum [2021-04-09T07:37:37.913Z] 85a0685a4137: Download complete [2021-04-09T07:37:42.165Z] 0eba1c9be4d2: Pull complete [2021-04-09T07:37:42.165Z] 0d57e429df01: Pull complete [2021-04-09T07:37:42.165Z] 4e4be7b47b0d: Pull complete [2021-04-09T07:37:45.504Z] e1f770b5df2f: Pull complete [2021-04-09T07:37:53.697Z] 85a0685a4137: Pull complete [2021-04-09T07:37:53.697Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-09T07:37:53.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-09T07:37:53.697Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-09T07:37:53.901Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:37:53.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-09T07:37:54.879Z] $ docker top 14c46309cb45fb5ecca1b2c51a1b64fcba0e0cb59f85e65ade4a84130017f299 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-09T07:37:55.146Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-09T07:37:55.440Z] + set -o pipefail [2021-04-09T07:37:55.440Z] + snyk monitor '--org=edgex-jenkins' [2021-04-09T07:38:22.040Z] [2021-04-09T07:38:22.040Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-04-09T07:38:22.040Z] [2021-04-09T07:38:22.040Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/b0f000dc-cfe2-464e-a315-aaa292518b15 [2021-04-09T07:38:22.040Z] [2021-04-09T07:38:22.040Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-09T07:38:22.040Z] [2021-04-09T07:38:22.040Z] [2021-04-09T07:38:22.040Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-09T07:38:22.041Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-09T07:38:22.059Z] $ docker stop --time=1 14c46309cb45fb5ecca1b2c51a1b64fcba0e0cb59f85e65ade4a84130017f299 [2021-04-09T07:38:25.043Z] $ docker rm -f 14c46309cb45fb5ecca1b2c51a1b64fcba0e0cb59f85e65ade4a84130017f299 [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-04-09T07:38:26.889Z] + git log --format=format:%s -1 ade17028b202be70e52921553e3b506375cbc38d [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:38:27.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:38:27.200Z] . [Pipeline] withDockerContainer [2021-04-09T07:38:27.302Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:38:27.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-09T07:38:28.035Z] $ docker top 025df2d18a44f60ae036ccb819e142850e9b3e59869605f068c2df596f522740 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T07:38:28.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T07:38:28.397Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T07:38:28.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T07:38:28.609Z] $ docker exec 025df2d18a44f60ae036ccb819e142850e9b3e59869605f068c2df596f522740 ssh-agent [2021-04-09T07:38:28.828Z] SSH_AUTH_SOCK=/tmp/ssh-XEVM2dG4fxwc/agent.12 [2021-04-09T07:38:28.828Z] SSH_AGENT_PID=17 [2021-04-09T07:38:28.836Z] Running ssh-add (command line suppressed) [2021-04-09T07:38:28.987Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8582266444094994692.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8582266444094994692.key) [2021-04-09T07:38:29.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T07:38:29.603Z] + git semver tag [2021-04-09T07:38:29.603Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T07:38:29.603Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-09T07:38:29.603Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-09T07:38:29.603Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T07:38:29.603Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T07:38:29.603Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T07:38:29.603Z] # $SEMVER_BRANCH = master [2021-04-09T07:38:29.603Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-04-09T07:38:29.603Z] # ade17028b202be70e52921553e3b506375cbc38d HEAD [2021-04-09T07:38:29.603Z] # -> Force: false [2021-04-09T07:38:29.603Z] # e4fcc916f1f9720ae918c980671d29b43cdab96a refs/tags/v1.3.2-dev.6 [Pipeline] } [2021-04-09T07:38:29.617Z] $ docker exec --env ******** --env ******** 025df2d18a44f60ae036ccb819e142850e9b3e59869605f068c2df596f522740 ssh-agent -k [2021-04-09T07:38:29.739Z] unset SSH_AUTH_SOCK; [2021-04-09T07:38:29.739Z] unset SSH_AGENT_PID; [2021-04-09T07:38:29.739Z] echo Agent pid 17 killed; [2021-04-09T07:38:29.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T07:38:30.317Z] + git semver [Pipeline] } [2021-04-09T07:38:30.336Z] $ docker stop --time=1 025df2d18a44f60ae036ccb819e142850e9b3e59869605f068c2df596f522740 [2021-04-09T07:38:31.701Z] $ docker rm -f 025df2d18a44f60ae036ccb819e142850e9b3e59869605f068c2df596f522740 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:38:32.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-09T07:38:32.389Z] [2021-04-09T07:38:32.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:38:32.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-09T07:38:32.739Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-09T07:38:32.739Z] ab5ef0e58194: Pulling fs layer [2021-04-09T07:38:32.739Z] 9712f1f96733: Pulling fs layer [2021-04-09T07:38:32.739Z] 63f879dbbcfc: Pulling fs layer [2021-04-09T07:38:32.739Z] 0d9ebad4ef96: Pulling fs layer [2021-04-09T07:38:32.739Z] e9a5061849ea: Pulling fs layer [2021-04-09T07:38:32.739Z] d747dcd14b5f: Pulling fs layer [2021-04-09T07:38:32.739Z] 2de7ff778b66: Pulling fs layer [2021-04-09T07:38:32.739Z] e9a5061849ea: Waiting [2021-04-09T07:38:32.739Z] d747dcd14b5f: Waiting [2021-04-09T07:38:32.739Z] 2de7ff778b66: Waiting [2021-04-09T07:38:32.739Z] 0d9ebad4ef96: Waiting [2021-04-09T07:38:32.739Z] 9712f1f96733: Verifying Checksum [2021-04-09T07:38:32.739Z] 9712f1f96733: Download complete [2021-04-09T07:38:35.299Z] 63f879dbbcfc: Verifying Checksum [2021-04-09T07:38:35.299Z] 63f879dbbcfc: Download complete [2021-04-09T07:38:35.299Z] e9a5061849ea: Verifying Checksum [2021-04-09T07:38:35.299Z] e9a5061849ea: Download complete [2021-04-09T07:38:35.299Z] d747dcd14b5f: Verifying Checksum [2021-04-09T07:38:35.299Z] d747dcd14b5f: Download complete [2021-04-09T07:38:35.562Z] 0d9ebad4ef96: Verifying Checksum [2021-04-09T07:38:35.562Z] 0d9ebad4ef96: Download complete [2021-04-09T07:38:35.562Z] 2de7ff778b66: Verifying Checksum [2021-04-09T07:38:35.562Z] 2de7ff778b66: Download complete [2021-04-09T07:38:35.828Z] ab5ef0e58194: Verifying Checksum [2021-04-09T07:38:35.828Z] ab5ef0e58194: Download complete [2021-04-09T07:38:40.075Z] ab5ef0e58194: Pull complete [2021-04-09T07:38:40.075Z] 9712f1f96733: Pull complete [2021-04-09T07:38:42.651Z] 63f879dbbcfc: Pull complete [2021-04-09T07:38:49.296Z] 0d9ebad4ef96: Pull complete [2021-04-09T07:38:50.684Z] e9a5061849ea: Pull complete [2021-04-09T07:38:50.684Z] d747dcd14b5f: Pull complete [2021-04-09T07:38:53.252Z] 2de7ff778b66: Pull complete [2021-04-09T07:38:53.252Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-09T07:38:53.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-09T07:38:53.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-09T07:38:53.411Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:38:53.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-09T07:38:57.418Z] $ docker top 145f72245ae68bb0a27d8da8fbc2c722108b3f83b30c95da3751fd19e5bbb76e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-09T07:38:57.740Z] provisioning config files... [2021-04-09T07:38:57.752Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7858225797782682104tmp [2021-04-09T07:38:57.771Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6146071326534304020tmp [2021-04-09T07:38:57.786Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7286434860348298082tmp [Pipeline] { [Pipeline] echo [2021-04-09T07:38:57.877Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:38:58.182Z] ---> sigul-configuration.sh [2021-04-09T07:38:58.182Z] gpg: directory `/root/.gnupg' created [2021-04-09T07:38:58.182Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-09T07:38:58.182Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-09T07:38:58.182Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-09T07:38:58.182Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-09T07:38:58.182Z] gpg: CAST5 encrypted data [2021-04-09T07:38:58.444Z] gpg: encrypted with 1 passphrase [2021-04-09T07:38:58.444Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-09T07:38:58.743Z] + mkdir /home/jenkins [2021-04-09T07:38:58.743Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-09T07:38:59.046Z] + 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-04-09T07:38:59.058Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:38:59.362Z] ---> sigul-install.sh [2021-04-09T07:39:05.963Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-09T07:39:06.267Z] + git tag --list [2021-04-09T07:39:06.267Z] v1.0.0 [2021-04-09T07:39:06.267Z] v1.1.0 [2021-04-09T07:39:06.267Z] v1.1.1 [2021-04-09T07:39:06.267Z] v1.2.1 [2021-04-09T07:39:06.267Z] v1.2.2 [2021-04-09T07:39:06.267Z] v1.2.3 [2021-04-09T07:39:06.267Z] v1.3.0 [2021-04-09T07:39:06.267Z] v1.3.1 [2021-04-09T07:39:06.267Z] v1.3.1-dev.1 [2021-04-09T07:39:06.267Z] v1.3.1-dev.2 [2021-04-09T07:39:06.267Z] v1.3.1-dev.3 [2021-04-09T07:39:06.267Z] v1.3.1-dev.4 [2021-04-09T07:39:06.267Z] v1.3.1-dev.5 [2021-04-09T07:39:06.267Z] v1.3.2-dev.1 [2021-04-09T07:39:06.267Z] v1.3.2-dev.2 [2021-04-09T07:39:06.267Z] v1.3.2-dev.3 [2021-04-09T07:39:06.267Z] v1.3.2-dev.4 [2021-04-09T07:39:06.267Z] v1.3.2-dev.5 [2021-04-09T07:39:06.267Z] v1.3.2-dev.6 [Pipeline] sh [2021-04-09T07:39:06.575Z] + lftools sign git-tag v1.3.2-dev.6 [2021-04-09T07:39:07.974Z] Signing Git tag with Sigul... [2021-04-09T07:39:07.974Z] Signing v1.3.2-dev.6 [Pipeline] echo [2021-04-09T07:39:08.576Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:08.888Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-09T07:39:08.899Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-09T07:39:09.079Z] $ docker stop --time=1 145f72245ae68bb0a27d8da8fbc2c722108b3f83b30c95da3751fd19e5bbb76e [2021-04-09T07:39:11.115Z] $ docker rm -f 145f72245ae68bb0a27d8da8fbc2c722108b3f83b30c95da3751fd19e5bbb76e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:39:12.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:39:12.093Z] . [Pipeline] withDockerContainer [2021-04-09T07:39:12.191Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:39:12.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-09T07:39:12.954Z] $ docker top a09212db9426b6d304f1fbdb9729e700ecd2148faddece530f3063e1929d1871 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T07:39:13.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T07:39:13.282Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T07:39:13.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T07:39:13.509Z] $ docker exec a09212db9426b6d304f1fbdb9729e700ecd2148faddece530f3063e1929d1871 ssh-agent [2021-04-09T07:39:13.678Z] SSH_AUTH_SOCK=/tmp/ssh-gMLWW3Q9Tok8/agent.11 [2021-04-09T07:39:13.678Z] SSH_AGENT_PID=16 [2021-04-09T07:39:13.685Z] Running ssh-add (command line suppressed) [2021-04-09T07:39:13.826Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595503799660263829.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595503799660263829.key) [2021-04-09T07:39:13.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T07:39:14.228Z] + git semver bump pre [2021-04-09T07:39:14.228Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T07:39:14.228Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-09T07:39:14.228Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-09T07:39:14.228Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T07:39:14.228Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T07:39:14.228Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T07:39:14.228Z] # $SEMVER_BRANCH = master [2021-04-09T07:39:14.228Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-04-09T07:39:14.228Z] 1.3.2-dev.7 [Pipeline] } [2021-04-09T07:39:14.242Z] $ docker exec --env ******** --env ******** a09212db9426b6d304f1fbdb9729e700ecd2148faddece530f3063e1929d1871 ssh-agent -k [2021-04-09T07:39:14.366Z] unset SSH_AUTH_SOCK; [2021-04-09T07:39:14.366Z] unset SSH_AGENT_PID; [2021-04-09T07:39:14.367Z] echo Agent pid 16 killed; [2021-04-09T07:39:14.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T07:39:14.935Z] + git semver [Pipeline] } [2021-04-09T07:39:14.960Z] $ docker stop --time=1 a09212db9426b6d304f1fbdb9729e700ecd2148faddece530f3063e1929d1871 [2021-04-09T07:39:16.313Z] $ docker rm -f a09212db9426b6d304f1fbdb9729e700ecd2148faddece530f3063e1929d1871 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:39:16.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-09T07:39:16.841Z] . [Pipeline] withDockerContainer [2021-04-09T07:39:16.937Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:39:16.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-09T07:39:17.615Z] $ docker top 645398abc632660490e0192a220a09d2939d5fc11b528753484fee851343016e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-09T07:39:17.932Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-09T07:39:17.932Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-09T07:39:18.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-09T07:39:18.113Z] $ docker exec 645398abc632660490e0192a220a09d2939d5fc11b528753484fee851343016e ssh-agent [2021-04-09T07:39:18.280Z] SSH_AUTH_SOCK=/tmp/ssh-ghTmFudZTLM4/agent.13 [2021-04-09T07:39:18.280Z] SSH_AGENT_PID=19 [2021-04-09T07:39:18.287Z] Running ssh-add (command line suppressed) [2021-04-09T07:39:18.417Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5201204847560985653.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5201204847560985653.key) [2021-04-09T07:39:18.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-09T07:39:18.818Z] + git semver push [2021-04-09T07:39:18.819Z] # -> Open(): unable to determine branch for HEAD [2021-04-09T07:39:18.819Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-09T07:39:18.819Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-09T07:39:18.819Z] # $SEMVER_REMOTE_NAME = origin [2021-04-09T07:39:18.819Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-09T07:39:18.819Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-09T07:39:18.819Z] # $SEMVER_BRANCH = master [2021-04-09T07:39:18.819Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-04-09T07:39:23.043Z] $ docker exec --env ******** --env ******** 645398abc632660490e0192a220a09d2939d5fc11b528753484fee851343016e ssh-agent -k [2021-04-09T07:39:23.164Z] unset SSH_AUTH_SOCK; [2021-04-09T07:39:23.164Z] unset SSH_AGENT_PID; [2021-04-09T07:39:23.164Z] echo Agent pid 19 killed; [2021-04-09T07:39:23.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-09T07:39:23.730Z] + git semver [Pipeline] } [2021-04-09T07:39:23.752Z] $ docker stop --time=1 645398abc632660490e0192a220a09d2939d5fc11b528753484fee851343016e [2021-04-09T07:39:25.119Z] $ docker rm -f 645398abc632660490e0192a220a09d2939d5fc11b528753484fee851343016e [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-04-09T07:39:27.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:27.573Z] ---> package-listing.sh [2021-04-09T07:39:27.573Z] ++ facter osfamily [2021-04-09T07:39:27.573Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-09T07:39:27.573Z] + OS_FAMILY=redhat [2021-04-09T07:39:27.573Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-04-09T07:39:27.573Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-09T07:39:27.573Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-09T07:39:27.573Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-09T07:39:27.573Z] + PACKAGES=/tmp/packages_start.txt [2021-04-09T07:39:27.573Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-04-09T07:39:27.573Z] + PACKAGES=/tmp/packages_end.txt [2021-04-09T07:39:27.573Z] + case "${OS_FAMILY}" in [2021-04-09T07:39:27.573Z] + rpm -qa [2021-04-09T07:39:27.573Z] + sort [2021-04-09T07:39:32.887Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-09T07:39:32.887Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-09T07:39:32.887Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-09T07:39:32.887Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-04-09T07:39:32.887Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-04-09T07:39:32.887Z] + 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-04-09T07:39:32.902Z] 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-04-09T07:39:33.198Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:39:33.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T07:39:33.506Z] [2021-04-09T07:39:33.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-09T07:39:33.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T07:39:33.870Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-09T07:39:33.870Z] df20fa9351a1: Pulling fs layer [2021-04-09T07:39:33.870Z] 36b3adc4ff6f: Pulling fs layer [2021-04-09T07:39:33.870Z] 8ad3a11d3b57: Pulling fs layer [2021-04-09T07:39:33.870Z] 46f8f816bc3b: Pulling fs layer [2021-04-09T07:39:33.870Z] 93b61091891f: Pulling fs layer [2021-04-09T07:39:33.870Z] 93b9cdb0e59b: Pulling fs layer [2021-04-09T07:39:33.870Z] 5e14af77c1be: Pulling fs layer [2021-04-09T07:39:33.870Z] 01666e4c0597: Pulling fs layer [2021-04-09T07:39:33.870Z] aa168da1d23b: Pulling fs layer [2021-04-09T07:39:33.870Z] 93b9cdb0e59b: Waiting [2021-04-09T07:39:33.870Z] 5e14af77c1be: Waiting [2021-04-09T07:39:33.870Z] 01666e4c0597: Waiting [2021-04-09T07:39:33.870Z] aa168da1d23b: Waiting [2021-04-09T07:39:33.870Z] 46f8f816bc3b: Waiting [2021-04-09T07:39:33.870Z] 93b61091891f: Waiting [2021-04-09T07:39:33.870Z] 36b3adc4ff6f: Verifying Checksum [2021-04-09T07:39:33.870Z] 36b3adc4ff6f: Download complete [2021-04-09T07:39:33.870Z] 46f8f816bc3b: Download complete [2021-04-09T07:39:33.870Z] df20fa9351a1: Verifying Checksum [2021-04-09T07:39:33.870Z] df20fa9351a1: Download complete [2021-04-09T07:39:33.870Z] 93b9cdb0e59b: Verifying Checksum [2021-04-09T07:39:33.870Z] 93b9cdb0e59b: Download complete [2021-04-09T07:39:34.135Z] 5e14af77c1be: Download complete [2021-04-09T07:39:34.135Z] 93b61091891f: Verifying Checksum [2021-04-09T07:39:34.135Z] 93b61091891f: Download complete [2021-04-09T07:39:34.135Z] 01666e4c0597: Verifying Checksum [2021-04-09T07:39:34.135Z] 01666e4c0597: Download complete [2021-04-09T07:39:34.397Z] df20fa9351a1: Pull complete [2021-04-09T07:39:34.397Z] 36b3adc4ff6f: Pull complete [2021-04-09T07:39:34.658Z] 8ad3a11d3b57: Verifying Checksum [2021-04-09T07:39:34.658Z] 8ad3a11d3b57: Download complete [2021-04-09T07:39:35.615Z] 8ad3a11d3b57: Pull complete [2021-04-09T07:39:35.615Z] 46f8f816bc3b: Pull complete [2021-04-09T07:39:36.195Z] 93b61091891f: Pull complete [2021-04-09T07:39:36.771Z] aa168da1d23b: Verifying Checksum [2021-04-09T07:39:36.771Z] aa168da1d23b: Download complete [2021-04-09T07:39:36.771Z] 93b9cdb0e59b: Pull complete [2021-04-09T07:39:36.771Z] 5e14af77c1be: Pull complete [2021-04-09T07:39:37.033Z] 01666e4c0597: Pull complete [2021-04-09T07:39:45.236Z] aa168da1d23b: Pull complete [2021-04-09T07:39:45.236Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-09T07:39:45.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-09T07:39:45.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-09T07:39:45.370Z] prd-centos7-docker-4c-2g-33405 does not seem to be running inside a container [2021-04-09T07:39:45.418Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-09T07:39:48.343Z] $ docker top 4832f0f614cc87bcc2fee3795d6c37393ebdfff90c192f1e8552720b45c4c56a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-09T07:39:48.879Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-09T07:39:49.179Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-09T07:39:49.478Z] + ls /var/log/sa-host [2021-04-09T07:39:49.478Z] + sadf -c /var/log/sa-host/sa09 [2021-04-09T07:39:49.478Z] file_magic: OK [2021-04-09T07:39:49.478Z] HZ: Using current value: 100 [2021-04-09T07:39:49.478Z] file_header: OK [2021-04-09T07:39:49.478Z] 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-04-09T07:39:49.478Z] Statistics: [2021-04-09T07:39:49.478Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-09T07:39:49.478Z] File successfully converted to sysstat format version 12.2.1 [2021-04-09T07:39:49.478Z] + sadf -c /var/log/sa-host/sa23 [2021-04-09T07:39:49.478Z] file_magic: OK [2021-04-09T07:39:49.478Z] HZ: Using current value: 100 [2021-04-09T07:39:49.478Z] file_header: OK [2021-04-09T07:39:49.478Z] 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-04-09T07:39:49.478Z] Statistics: [2021-04-09T07:39:49.478Z] Hnuu...uuuununununu... [2021-04-09T07:39:49.478Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-09T07:39:50.297Z] provisioning config files... [2021-04-09T07:39:50.313Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config844284317987891468tmp [Pipeline] { [Pipeline] echo [2021-04-09T07:39:50.423Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:50.726Z] ---> create-netrc.sh [Pipeline] } [2021-04-09T07:39:50.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-09T07:39:50.838Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:51.139Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-09T07:39:51.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:51.451Z] ---> sudo-logs.sh [2021-04-09T07:39:51.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-09T07:39:51.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:51.819Z] ---> job-cost.sh [2021-04-09T07:39:51.820Z] lf-activate-venv: SKIPPING [2021-04-09T07:39:51.820Z] DEBUG: total: 0.20999999344348907 [2021-04-09T07:39:51.820Z] INFO: Retrieving Stack Cost... [2021-04-09T07:39:52.768Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-09T07:39:53.342Z] INFO: Archiving Costs [Pipeline] echo [2021-04-09T07:39:53.356Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-09T07:39:53.651Z] ---> logs-deploy.sh [2021-04-09T07:39:53.651Z] lf-activate-venv: SKIPPING [2021-04-09T07:39:53.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/45 [2021-04-09T07:39:53.651Z] INFO: archiving workspace using pattern(s): [2021-04-09T07:39:55.043Z] Archives upload complete. [2021-04-09T07:39:55.305Z] INFO: archiving logs to Nexus