Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8a7f4322be0982c7f8078a781a398084f2a2a662 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7627022492510038600.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7121870411459818.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2237242735625595458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7248605023012553639.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3592057066534326914.key > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual 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-15353 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh7637115042808008270.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8a7f4322be0982c7f8078a781a398084f2a2a662 (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 core.sparsecheckout # timeout=10 > git checkout -f 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 Commit message: "Merge pull request #211 from lenny-intel/ports" > git rev-list --no-walk bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T17:58:18.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T17:58:18.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T17:58:18.662Z] ========================================================= [2021-05-20T17:58:18.662Z] EdgeX Global Pipelines Version Info [2021-05-20T17:58:18.662Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:20.213Z] ------------------- [2021-05-20T17:58:20.213Z] stable info: [2021-05-20T17:58:20.213Z] ------------------- [2021-05-20T17:58:20.213Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T17:58:20.213Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:20.213Z] Message: update stable to v1.0.192 [2021-05-20T17:58:20.803Z] ------------------- [2021-05-20T17:58:20.803Z] experimental info: [2021-05-20T17:58:20.803Z] ------------------- [2021-05-20T17:58:20.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:20.803Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:20.803Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T17:58:20.978Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-20T17:58:21.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-20T17:58:21.065Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T17:58:21.093Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T17:58:21.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T17:58:21.140Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T17:58:21.165Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T17:58:21.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T17:58:21.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T17:58:21.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T17:58:21.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T17:58:21.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-20T17:58:21.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T17:58:21.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T17:58:21.383Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:21.407Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:21.431Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:21.455Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:21.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T17:58:21.501Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T17:58:21.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T17:58:21.547Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T17:58:21.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T17:58:21.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T17:58:21.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T17:58:21.658Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T17:58:21.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-20T17:58:21.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-20T17:58:21.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-20T17:58:21.778Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] echo [2021-05-20T17:58:21.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a7f432 [Pipeline] echo [2021-05-20T17:58:21.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T17:58:21.945Z] provisioning config files... [2021-05-20T17:58:21.959Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3480480633039932192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:22.319Z] ---> docker-login.sh [2021-05-20T17:58:22.319Z] nexus3.edgexfoundry.org:10001 [2021-05-20T17:58:23.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:23.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:23.284Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:23.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:23.284Z] [2021-05-20T17:58:23.284Z] Login Succeeded [2021-05-20T17:58:23.284Z] nexus3.edgexfoundry.org:10002 [2021-05-20T17:58:23.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:23.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:23.284Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:23.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:23.284Z] [2021-05-20T17:58:23.284Z] Login Succeeded [2021-05-20T17:58:23.284Z] nexus3.edgexfoundry.org:10003 [2021-05-20T17:58:23.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:23.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:23.551Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:23.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:23.551Z] [2021-05-20T17:58:23.551Z] Login Succeeded [2021-05-20T17:58:23.551Z] nexus3.edgexfoundry.org:10004 [2021-05-20T17:58:23.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:23.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:23.814Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:23.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:23.814Z] [2021-05-20T17:58:23.814Z] Login Succeeded [2021-05-20T17:58:23.814Z] docker.io [2021-05-20T17:58:23.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:24.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:24.077Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:24.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:24.077Z] [2021-05-20T17:58:24.077Z] Login Succeeded [2021-05-20T17:58:24.077Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T17:58:24.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T17:58:24.612Z] + git log --format=format:%s -1 8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] echo [2021-05-20T17:58:24.661Z] GIT_COMMIT: 8a7f4322be0982c7f8078a781a398084f2a2a662, Commit Message: Merge pull request #211 from lenny-intel/ports [Pipeline] echo [2021-05-20T17:58:24.676Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:25.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:25.318Z] [2021-05-20T17:58:25.318Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:25.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:26.240Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T17:58:26.240Z] 31603596830f: Pulling fs layer [2021-05-20T17:58:26.240Z] 54011a49482f: Pulling fs layer [2021-05-20T17:58:26.240Z] a6820b24f6d8: Pulling fs layer [2021-05-20T17:58:26.240Z] f581987b2513: Pulling fs layer [2021-05-20T17:58:26.240Z] f581987b2513: Waiting [2021-05-20T17:58:26.240Z] 54011a49482f: Verifying Checksum [2021-05-20T17:58:26.240Z] 54011a49482f: Download complete [2021-05-20T17:58:26.240Z] 31603596830f: Verifying Checksum [2021-05-20T17:58:26.240Z] 31603596830f: Download complete [2021-05-20T17:58:26.240Z] f581987b2513: Verifying Checksum [2021-05-20T17:58:26.240Z] f581987b2513: Download complete [2021-05-20T17:58:26.240Z] a6820b24f6d8: Verifying Checksum [2021-05-20T17:58:26.241Z] a6820b24f6d8: Download complete [2021-05-20T17:58:26.506Z] 31603596830f: Pull complete [2021-05-20T17:58:27.048Z] 54011a49482f: Pull complete [2021-05-20T17:58:28.458Z] a6820b24f6d8: Pull complete [2021-05-20T17:58:29.031Z] f581987b2513: Pull complete [2021-05-20T17:58:29.293Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T17:58:29.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:29.293Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T17:58:29.396Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T17:58:29.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T17:58:35.085Z] $ docker top 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T17:58:35.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:35.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:35.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:35.357Z] $ docker exec 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a ssh-agent [2021-05-20T17:58:35.480Z] SSH_AUTH_SOCK=/tmp/ssh-5hcXgi2sH3lO/agent.14 [2021-05-20T17:58:35.480Z] SSH_AGENT_PID=20 [2021-05-20T17:58:35.490Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:35.605Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5016276715801614527.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5016276715801614527.key) [2021-05-20T17:58:35.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:35.938Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T17:58:35.954Z] $ docker exec --env ******** --env ******** 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a ssh-agent -k [2021-05-20T17:58:36.061Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:36.064Z] unset SSH_AGENT_PID; [2021-05-20T17:58:36.064Z] echo Agent pid 20 killed; [2021-05-20T17:58:36.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T17:58:36.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:36.115Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:36.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:36.252Z] $ docker exec 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a ssh-agent [2021-05-20T17:58:36.387Z] SSH_AUTH_SOCK=/tmp/ssh-ybMiobKh1g6g/agent.54 [2021-05-20T17:58:36.387Z] SSH_AGENT_PID=60 [2021-05-20T17:58:36.395Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:36.504Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2112553037361582781.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2112553037361582781.key) [2021-05-20T17:58:36.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:36.852Z] + git semver init [2021-05-20T17:58:36.852Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T17:58:36.852Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-20T17:58:36.852Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-20T17:58:36.852Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T17:58:36.852Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:36.852Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T17:58:36.852Z] # $SEMVER_BRANCH = master [2021-05-20T17:58:36.852Z] # $SEMVER_TEMP = /tmp/semver-922579818 [2021-05-20T17:58:36.852Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-20T17:58:37.835Z] # '/tmp/semver-922579818' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-20T17:58:37.835Z] # -> Force: false [2021-05-20T17:58:37.835Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-20T17:58:37.848Z] $ docker exec --env ******** --env ******** 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a ssh-agent -k [2021-05-20T17:58:37.963Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:37.963Z] unset SSH_AGENT_PID; [2021-05-20T17:58:37.963Z] echo Agent pid 60 killed; [2021-05-20T17:58:37.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T17:58:38.350Z] + git semver [Pipeline] } [2021-05-20T17:58:38.375Z] $ docker stop --time=1 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a [2021-05-20T17:58:40.634Z] $ docker rm -f 36a1fc0184ed5ba1a7ec1480147a19aff2a81b3dfbe534155f42ab6183ce099a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T17:58:41.052Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T17:58:41.354Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T17:58:41.357Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.17 [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-05-20T17:58:56.584Z] Still waiting to schedule task [2021-05-20T17:58:56.584Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T17:58:56.587Z] Still waiting to schedule task [2021-05-20T17:58:56.588Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15357’ [2021-05-20T18:01:24.909Z] Running on prd-centos7-docker-4c-2g-15365 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:01:24.927Z] Running in /w/workspace/device-virtual-go/57 [Pipeline] { [Pipeline] checkout [2021-05-20T18:01:25.039Z] Selected Git installation does not exist. Using Default [2021-05-20T18:01:25.039Z] The recommended git tool is: NONE [2021-05-20T18:01:27.762Z] using credential edgex-jenkins-ssh [2021-05-20T18:01:27.772Z] Cloning the remote Git repository [2021-05-20T18:01:27.792Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-20T18:01:27.869Z] > git init /w/workspace/device-virtual-go/57 # timeout=10 [2021-05-20T18:01:27.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-20T18:01:27.913Z] > git --version # timeout=10 [2021-05-20T18:01:27.925Z] > git --version # 'git version 2.24.4' [2021-05-20T18:01:27.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:01:27.965Z] [INFO] Currently running in a labeled security context [2021-05-20T18:01:27.965Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T18:01:27.965Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/57@tmp/jenkins-gitclient-ssh3017124359787964350.key [2021-05-20T18:01:27.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:01:29.067Z] Avoid second fetch [2021-05-20T18:01:29.068Z] Checking out Revision 8a7f4322be0982c7f8078a781a398084f2a2a662 (master) [2021-05-20T18:01:29.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-20T18:01:29.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:01:29.077Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:01:29.084Z] > git checkout -f 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-20T18:01:32.740Z] Commit message: "Merge pull request #211 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:01:33.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:01:34.298Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:01:34.611Z] + true [2021-05-20T18:01:34.611Z] + sudo service docker restart [2021-05-20T18:01:34.611Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:01:56.642Z] provisioning config files... [2021-05-20T18:01:56.658Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/57@tmp/config4835836515764246381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:01:57.021Z] ---> docker-login.sh [2021-05-20T18:01:57.021Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:01:57.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:57.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:57.547Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:57.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:57.547Z] [2021-05-20T18:01:57.547Z] Login Succeeded [2021-05-20T18:01:57.547Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:01:57.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:57.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:57.547Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:57.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:57.547Z] [2021-05-20T18:01:57.547Z] Login Succeeded [2021-05-20T18:01:57.547Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:01:57.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:57.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:57.809Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:57.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:57.809Z] [2021-05-20T18:01:57.809Z] Login Succeeded [2021-05-20T18:01:57.809Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:01:57.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:58.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:58.073Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:58.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:58.073Z] [2021-05-20T18:01:58.073Z] Login Succeeded [2021-05-20T18:01:58.073Z] docker.io [2021-05-20T18:01:58.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:01:58.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:01:58.335Z] Configure a credential helper to remove this warning. See [2021-05-20T18:01:58.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:01:58.336Z] [2021-05-20T18:01:58.336Z] Login Succeeded [2021-05-20T18:01:58.336Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:01:58.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T18:01:58.550Z] ========================================================= [2021-05-20T18:01:58.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T18:01:58.550Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:01:58.872Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-20T18:01:58.872Z] Sending build context to Docker daemon 8.579MB [2021-05-20T18:01:58.872Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:01:58.872Z] Step 2/8 : FROM ${BASE} [2021-05-20T18:01:59.823Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T18:01:59.823Z] 540db60ca938: Pulling fs layer [2021-05-20T18:01:59.823Z] adcc1eea9eea: Pulling fs layer [2021-05-20T18:01:59.823Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T18:01:59.823Z] 0510c868ecb4: Pulling fs layer [2021-05-20T18:01:59.823Z] afea3b2eda06: Pulling fs layer [2021-05-20T18:01:59.823Z] 7809a108b3ef: Pulling fs layer [2021-05-20T18:01:59.823Z] f706445af74f: Pulling fs layer [2021-05-20T18:01:59.823Z] 0510c868ecb4: Waiting [2021-05-20T18:01:59.823Z] afea3b2eda06: Waiting [2021-05-20T18:01:59.823Z] 7809a108b3ef: Waiting [2021-05-20T18:01:59.823Z] f706445af74f: Waiting [2021-05-20T18:01:59.823Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T18:01:59.823Z] 4c4ab2625f07: Download complete [2021-05-20T18:01:59.823Z] adcc1eea9eea: Verifying Checksum [2021-05-20T18:01:59.823Z] adcc1eea9eea: Download complete [2021-05-20T18:01:59.823Z] afea3b2eda06: Verifying Checksum [2021-05-20T18:01:59.823Z] afea3b2eda06: Download complete [2021-05-20T18:01:59.823Z] 7809a108b3ef: Verifying Checksum [2021-05-20T18:01:59.823Z] 7809a108b3ef: Download complete [2021-05-20T18:01:59.823Z] 540db60ca938: Verifying Checksum [2021-05-20T18:01:59.823Z] 540db60ca938: Download complete [2021-05-20T18:02:00.094Z] 540db60ca938: Pull complete [2021-05-20T18:02:00.358Z] adcc1eea9eea: Pull complete [2021-05-20T18:02:00.621Z] 4c4ab2625f07: Pull complete [2021-05-20T18:02:02.563Z] f706445af74f: Verifying Checksum [2021-05-20T18:02:02.563Z] f706445af74f: Download complete [2021-05-20T18:02:03.956Z] 0510c868ecb4: Verifying Checksum [2021-05-20T18:02:03.956Z] 0510c868ecb4: Download complete [2021-05-20T18:02:08.224Z] 0510c868ecb4: Pull complete [2021-05-20T18:02:08.224Z] afea3b2eda06: Pull complete [2021-05-20T18:02:08.486Z] 7809a108b3ef: Pull complete [2021-05-20T18:02:10.469Z] f706445af74f: Pull complete [2021-05-20T18:02:10.469Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T18:02:10.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T18:02:10.469Z] ---> b068be0155e3 [2021-05-20T18:02:10.469Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-20T18:02:40.398Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15369 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:02:40.417Z] Running in /w/workspace/device-virtual-go/57 [Pipeline] { [Pipeline] checkout [2021-05-20T18:02:40.633Z] Selected Git installation does not exist. Using Default [2021-05-20T18:02:40.633Z] The recommended git tool is: NONE [2021-05-20T18:02:42.628Z] ---> Running in 5c91509f87be [2021-05-20T18:02:42.628Z] Removing intermediate container 5c91509f87be [2021-05-20T18:02:42.628Z] ---> 231a61c752be [2021-05-20T18:02:42.628Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:02:42.628Z] ---> Running in 00cb3e4bf599 [2021-05-20T18:02:42.628Z] Removing intermediate container 00cb3e4bf599 [2021-05-20T18:02:42.628Z] ---> 2e90cd3b7336 [2021-05-20T18:02:42.628Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T18:02:42.628Z] ---> Running in 4ab1d8f584c9 [2021-05-20T18:02:42.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:43.582Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:02:45.505Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T18:02:45.767Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T18:02:46.028Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T18:02:46.028Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:02:46.028Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:02:46.288Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T18:02:46.549Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:02:46.556Z] using credential edgex-jenkins-ssh [2021-05-20T18:02:46.581Z] Cloning the remote Git repository [2021-05-20T18:02:46.633Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-20T18:02:47.938Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T18:02:46.984Z] > git init /w/workspace/device-virtual-go/57 # timeout=10 [2021-05-20T18:02:47.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-20T18:02:47.133Z] > git --version # timeout=10 [2021-05-20T18:02:47.157Z] > git --version # 'git version 2.17.1' [2021-05-20T18:02:47.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:02:47.240Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:48.199Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T18:02:48.199Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T18:02:48.769Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T18:02:49.032Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T18:02:49.182Z] Avoid second fetch [2021-05-20T18:02:49.183Z] Checking out Revision 8a7f4322be0982c7f8078a781a398084f2a2a662 (master) [2021-05-20T18:02:49.295Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:02:49.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-20T18:02:49.156Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:49.200Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:02:49.215Z] > git checkout -f 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [2021-05-20T18:02:49.562Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:02:49.562Z] OK: 156 MiB in 53 packages [2021-05-20T18:02:51.486Z] Removing intermediate container 4ab1d8f584c9 [2021-05-20T18:02:51.486Z] ---> 7e062f1ac2ce [2021-05-20T18:02:51.486Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-20T18:02:51.486Z] ---> Running in e02b22db3261 [2021-05-20T18:02:51.748Z] Removing intermediate container e02b22db3261 [2021-05-20T18:02:51.748Z] ---> 3f44120fd1b9 [2021-05-20T18:02:51.748Z] Step 7/8 : COPY . . [2021-05-20T18:02:53.141Z] ---> fd141959b2e4 [2021-05-20T18:02:53.141Z] Step 8/8 : RUN go mod download [2021-05-20T18:02:53.141Z] ---> Running in c6f20d77d126 [2021-05-20T18:02:53.591Z] Commit message: "Merge pull request #211 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:02:54.900Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:55.381Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:55.741Z] + sudo service docker restart [2021-05-20T18:02:55.741Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:03:16.681Z] provisioning config files... [2021-05-20T18:03:16.721Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/57@tmp/config5009055467743991521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:03:17.109Z] ---> docker-login.sh [2021-05-20T18:03:17.109Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:03:18.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:18.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:18.122Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:18.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:18.122Z] [2021-05-20T18:03:18.122Z] Login Succeeded [2021-05-20T18:03:18.404Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:03:18.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:18.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:18.960Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:18.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:18.960Z] [2021-05-20T18:03:18.960Z] Login Succeeded [2021-05-20T18:03:18.960Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:03:19.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:19.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:19.512Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:19.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:19.512Z] [2021-05-20T18:03:19.512Z] Login Succeeded [2021-05-20T18:03:19.512Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:03:19.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:20.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:20.390Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:20.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:20.390Z] [2021-05-20T18:03:20.390Z] Login Succeeded [2021-05-20T18:03:20.390Z] docker.io [2021-05-20T18:03:20.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:21.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:21.270Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:21.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:21.270Z] [2021-05-20T18:03:21.270Z] Login Succeeded [2021-05-20T18:03:21.270Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:03:21.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T18:03:21.633Z] ========================================================= [2021-05-20T18:03:21.633Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T18:03:21.633Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:21.984Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-20T18:03:22.263Z] Sending build context to Docker daemon 8.578MB [2021-05-20T18:03:22.534Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:03:22.534Z] Step 2/8 : FROM ${BASE} [2021-05-20T18:03:23.131Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T18:03:23.131Z] 595b0fe564bb: Pulling fs layer [2021-05-20T18:03:23.131Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T18:03:23.131Z] 316046926c0a: Pulling fs layer [2021-05-20T18:03:23.131Z] 4ebd0625c992: Pulling fs layer [2021-05-20T18:03:23.131Z] 207e8628e3a3: Pulling fs layer [2021-05-20T18:03:23.131Z] c791037a9be2: Pulling fs layer [2021-05-20T18:03:23.131Z] ffd874e62e21: Pulling fs layer [2021-05-20T18:03:23.131Z] 207e8628e3a3: Waiting [2021-05-20T18:03:23.131Z] c791037a9be2: Waiting [2021-05-20T18:03:23.131Z] ffd874e62e21: Waiting [2021-05-20T18:03:23.131Z] 4ebd0625c992: Waiting [2021-05-20T18:03:23.407Z] 316046926c0a: Verifying Checksum [2021-05-20T18:03:23.407Z] 316046926c0a: Download complete [2021-05-20T18:03:23.407Z] 7186ed65a4f7: Download complete [2021-05-20T18:03:23.407Z] 207e8628e3a3: Verifying Checksum [2021-05-20T18:03:23.407Z] 207e8628e3a3: Download complete [2021-05-20T18:03:23.407Z] c791037a9be2: Download complete [2021-05-20T18:03:23.407Z] 595b0fe564bb: Verifying Checksum [2021-05-20T18:03:23.407Z] 595b0fe564bb: Download complete [2021-05-20T18:03:24.011Z] 595b0fe564bb: Pull complete [2021-05-20T18:03:24.615Z] 7186ed65a4f7: Pull complete [2021-05-20T18:03:25.215Z] 316046926c0a: Pull complete [2021-05-20T18:03:26.201Z] ffd874e62e21: Verifying Checksum [2021-05-20T18:03:26.201Z] ffd874e62e21: Download complete [2021-05-20T18:03:28.205Z] 4ebd0625c992: Verifying Checksum [2021-05-20T18:03:28.205Z] 4ebd0625c992: Download complete [2021-05-20T18:03:38.406Z] 4ebd0625c992: Pull complete [2021-05-20T18:03:38.688Z] 207e8628e3a3: Pull complete [2021-05-20T18:03:38.962Z] c791037a9be2: Pull complete [2021-05-20T18:03:43.287Z] ffd874e62e21: Pull complete [2021-05-20T18:03:43.287Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T18:03:43.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T18:03:43.287Z] ---> cfc18b08335c [2021-05-20T18:03:43.287Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-20T18:03:44.268Z] ---> Running in 66c25feba0c4 [2021-05-20T18:03:44.540Z] Removing intermediate container 66c25feba0c4 [2021-05-20T18:03:44.540Z] ---> 744cb1aa9358 [2021-05-20T18:03:44.540Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:03:44.813Z] ---> Running in 0d34ac04d8b0 [2021-05-20T18:03:47.443Z] Removing intermediate container 0d34ac04d8b0 [2021-05-20T18:03:47.443Z] ---> 1cff579bbfe9 [2021-05-20T18:03:47.443Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T18:03:47.443Z] ---> Running in dd8db0afb60a [2021-05-20T18:03:49.446Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:49.863Z] Removing intermediate container c6f20d77d126 [2021-05-20T18:03:49.863Z] ---> ada5f0052abb [2021-05-20T18:03:49.863Z] Successfully built ada5f0052abb [2021-05-20T18:03:49.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:50.179Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:03:50.179Z] . [Pipeline] withDockerContainer [2021-05-20T18:03:50.270Z] prd-centos7-docker-4c-2g-15365 does not seem to be running inside a container [2021-05-20T18:03:50.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/57 -v /w/workspace/device-virtual-go/57:/w/workspace/device-virtual-go/57:rw,z -v /w/workspace/device-virtual-go/57@tmp:/w/workspace/device-virtual-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T18:03:50.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:50.759Z] $ docker top f70c29e1bad93b8ccc344f30d481c5be84a3b2d06667e2239eec9c4ed230611c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:03:51.021Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T18:03:51.164Z] + go version [2021-05-20T18:03:51.164Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T18:03:51.177Z] $ docker stop --time=1 f70c29e1bad93b8ccc344f30d481c5be84a3b2d06667e2239eec9c4ed230611c [2021-05-20T18:03:51.306Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T18:03:51.307Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T18:03:51.307Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:03:51.579Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:03:51.579Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T18:03:51.579Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:03:51.853Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T18:03:52.124Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T18:03:52.124Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T18:03:52.124Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T18:03:52.395Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T18:03:52.395Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:03:52.667Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:03:52.667Z] OK: 145 MiB in 53 packages [2021-05-20T18:03:52.693Z] $ docker rm -f f70c29e1bad93b8ccc344f30d481c5be84a3b2d06667e2239eec9c4ed230611c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:53.274Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:03:53.274Z] . [Pipeline] withDockerContainer [2021-05-20T18:03:53.365Z] prd-centos7-docker-4c-2g-15365 does not seem to be running inside a container [2021-05-20T18:03:53.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/57 -v /w/workspace/device-virtual-go/57:/w/workspace/device-virtual-go/57:rw,z -v /w/workspace/device-virtual-go/57@tmp:/w/workspace/device-virtual-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T18:03:54.463Z] Removing intermediate container dd8db0afb60a [2021-05-20T18:03:54.463Z] ---> 1e99e026c00a [2021-05-20T18:03:54.463Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-20T18:03:54.463Z] ---> Running in 21ca4d981f71 [2021-05-20T18:03:54.529Z] $ docker top 8a5bba1132053583263ea61d53689b132e3e14202af48b4ff8eaa67fbd3d8a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:03:54.760Z] Removing intermediate container 21ca4d981f71 [2021-05-20T18:03:54.760Z] ---> eed547d2f71f [2021-05-20T18:03:54.760Z] Step 7/8 : COPY . . [2021-05-20T18:03:54.941Z] + go mod tidy [Pipeline] sh [2021-05-20T18:03:55.515Z] + make test [2021-05-20T18:03:55.515Z] go mod tidy [2021-05-20T18:03:55.786Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T18:03:56.225Z] ---> f33d321f9855 [2021-05-20T18:03:56.225Z] Step 8/8 : RUN go mod download [2021-05-20T18:03:56.225Z] ---> Running in e1f64ba2bf98 [2021-05-20T18:03:56.365Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-20T18:04:28.596Z] Removing intermediate container e1f64ba2bf98 [2021-05-20T18:04:28.597Z] ---> 36262ea1a0c5 [2021-05-20T18:04:28.597Z] Successfully built 36262ea1a0c5 [2021-05-20T18:04:28.597Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:28.669Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-20T18:04:28.669Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.262s coverage: 63.8% of statements [2021-05-20T18:04:28.669Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:04:28.958Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:04:28.958Z] . [Pipeline] withDockerContainer [2021-05-20T18:04:29.256Z] prd-ubuntu18.04-docker-arm64-4c-16g-15369 does not seem to be running inside a container [2021-05-20T18:04:29.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/57 -v /w/workspace/device-virtual-go/57:/w/workspace/device-virtual-go/57:rw,z -v /w/workspace/device-virtual-go/57@tmp:/w/workspace/device-virtual-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T18:04:31.137Z] $ docker top 61cafde330c16ca06aadf4a28f7693f1e8de85d5212977dcb90fee34f1dcec21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:04:32.162Z] + go version [2021-05-20T18:04:32.162Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T18:04:32.199Z] $ docker stop --time=1 61cafde330c16ca06aadf4a28f7693f1e8de85d5212977dcb90fee34f1dcec21 [2021-05-20T18:04:34.072Z] $ docker rm -f 61cafde330c16ca06aadf4a28f7693f1e8de85d5212977dcb90fee34f1dcec21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:34.902Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:04:34.902Z] . [Pipeline] withDockerContainer [2021-05-20T18:04:35.213Z] prd-ubuntu18.04-docker-arm64-4c-16g-15369 does not seem to be running inside a container [2021-05-20T18:04:35.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/57 -v /w/workspace/device-virtual-go/57:/w/workspace/device-virtual-go/57:rw,z -v /w/workspace/device-virtual-go/57@tmp:/w/workspace/device-virtual-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T18:04:36.835Z] gofmt -l . [2021-05-20T18:04:36.836Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:04:36.836Z] ./bin/test-attribution-txt.sh [2021-05-20T18:04:36.836Z] ./bin/test-go-mod-tidy.sh [2021-05-20T18:04:37.070Z] $ docker top 2b0f21d96369535397e4efb84c38f772b18ba4b1cfb671f76507f59767b2ef8c -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-20T18:04:37.419Z] $ docker stop --time=1 8a5bba1132053583263ea61d53689b132e3e14202af48b4ff8eaa67fbd3d8a86 [2021-05-20T18:04:42.646Z] $ docker rm -f 8a5bba1132053583263ea61d53689b132e3e14202af48b4ff8eaa67fbd3d8a86 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-05-20T18:04:43.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T18:04:43.314Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-20T18:04:43.531Z] + go mod tidy [Pipeline] sh [Pipeline] sh [2021-05-20T18:04:44.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:04:44.774Z] + ls -al . [2021-05-20T18:04:44.774Z] total 132 [2021-05-20T18:04:44.774Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 20 18:04 . [2021-05-20T18:04:44.774Z] drwxrwxr-x. 4 jenkins jenkins 30 May 20 18:01 .. [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 20 18:01 Attribution.txt [2021-05-20T18:04:44.774Z] drwxrwxr-x. 2 jenkins jenkins 64 May 20 18:01 bin [2021-05-20T18:04:44.774Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 18:01 cmd [2021-05-20T18:04:44.774Z] -rw-r--r--. 1 jenkins jenkins 47247 May 20 18:04 coverage.out [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 20 18:01 Dockerfile [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 998 May 20 18:01 Dockerfile.build [2021-05-20T18:04:44.774Z] drwxrwxr-x. 8 jenkins jenkins 162 May 20 18:01 .git [2021-05-20T18:04:44.774Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 18:01 .github [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 277 May 20 18:01 .gitignore [2021-05-20T18:04:44.774Z] -rw-r--r--. 1 jenkins jenkins 809 May 20 18:04 go.mod [2021-05-20T18:04:44.774Z] -rw-r--r--. 1 jenkins jenkins 23431 May 20 18:03 go.sum [2021-05-20T18:04:44.774Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 18:01 internal [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 660 May 20 18:01 Jenkinsfile [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 18:01 LICENSE [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 905 May 20 18:01 Makefile [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 20 18:01 README.md [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:04:44.774Z] -rw-rw-r--. 1 jenkins jenkins 235 May 20 18:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:44.892Z] + make test [2021-05-20T18:04:44.892Z] go mod tidy [2021-05-20T18:04:45.080Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8a7f4322be0982c7f8078a781a398084f2a2a662 --label arch=amd64 --label version=1.3.2-dev.17 . [2021-05-20T18:04:45.080Z] Sending build context to Docker daemon 8.651MB [2021-05-20T18:04:45.344Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:04:45.344Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-20T18:04:45.344Z] ---> ada5f0052abb [2021-05-20T18:04:45.344Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:04:45.504Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T18:04:45.916Z] ---> Running in 22934636ea89 [2021-05-20T18:04:46.177Z] Removing intermediate container 22934636ea89 [2021-05-20T18:04:46.177Z] ---> 5195e272ff78 [2021-05-20T18:04:46.177Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:04:46.442Z] ---> Running in 1a1fe3467183 [2021-05-20T18:04:46.703Z] Removing intermediate container 1a1fe3467183 [2021-05-20T18:04:46.703Z] ---> 4435a10591db [2021-05-20T18:04:46.703Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-20T18:04:46.948Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-20T18:04:46.967Z] ---> Running in 96ac80f7e9c8 [2021-05-20T18:04:47.230Z] Removing intermediate container 96ac80f7e9c8 [2021-05-20T18:04:47.230Z] ---> 7d366d58d125 [2021-05-20T18:04:47.230Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:04:47.492Z] ---> Running in f254da843a81 [2021-05-20T18:04:48.887Z] Removing intermediate container f254da843a81 [2021-05-20T18:04:48.887Z] ---> 0e8ef237f3b7 [2021-05-20T18:04:48.887Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:04:49.148Z] ---> Running in 9c3892a986d5 [2021-05-20T18:04:49.720Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:04:50.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:04:50.928Z] OK: 156 MiB in 53 packages [2021-05-20T18:04:51.512Z] Removing intermediate container 9c3892a986d5 [2021-05-20T18:04:51.512Z] ---> 0638c584a8b5 [2021-05-20T18:04:51.512Z] Step 8/26 : COPY . . [2021-05-20T18:04:52.456Z] ---> dfd335877ae8 [2021-05-20T18:04:52.457Z] Step 9/26 : RUN go mod tidy [2021-05-20T18:04:52.718Z] ---> Running in 86470dd5bf26 [2021-05-20T18:04:54.103Z] Removing intermediate container 86470dd5bf26 [2021-05-20T18:04:54.103Z] ---> 25bbfacdb1c1 [2021-05-20T18:04:54.103Z] Step 10/26 : RUN go mod download [2021-05-20T18:04:54.103Z] ---> Running in e26cacec1899 [2021-05-20T18:04:55.490Z] Removing intermediate container e26cacec1899 [2021-05-20T18:04:55.490Z] ---> 421f87f6fe29 [2021-05-20T18:04:55.490Z] Step 11/26 : ARG MAKE='make build' [2021-05-20T18:04:55.751Z] ---> Running in fda76a5829f2 [2021-05-20T18:04:56.012Z] Removing intermediate container fda76a5829f2 [2021-05-20T18:04:56.012Z] ---> 9d74a3d7a822 [2021-05-20T18:04:56.012Z] Step 12/26 : RUN $MAKE [2021-05-20T18:04:56.274Z] ---> Running in 948a63d3a103 [2021-05-20T18:04:56.849Z] go mod tidy [2021-05-20T18:04:57.115Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.17" -o cmd/device-virtual ./cmd [2021-05-20T18:05:23.806Z] Removing intermediate container 948a63d3a103 [2021-05-20T18:05:23.806Z] ---> d411ab502131 [2021-05-20T18:05:23.806Z] Step 13/26 : FROM alpine:3.12 [2021-05-20T18:05:23.806Z] 3.12: Pulling from library/alpine [2021-05-20T18:05:24.069Z] 339de151aab4: Pulling fs layer [2021-05-20T18:05:24.069Z] 339de151aab4: Verifying Checksum [2021-05-20T18:05:24.069Z] 339de151aab4: Download complete [2021-05-20T18:05:24.331Z] 339de151aab4: Pull complete [2021-05-20T18:05:24.592Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:05:24.592Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:05:24.592Z] ---> 13621d1b12d4 [2021-05-20T18:05:24.592Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-20T18:05:25.535Z] ---> Running in 6cf27b300433 [2021-05-20T18:05:25.796Z] Removing intermediate container 6cf27b300433 [2021-05-20T18:05:25.796Z] ---> 7bc33e40bd99 [2021-05-20T18:05:25.796Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:05:26.367Z] ---> Running in e74ff414c283 [2021-05-20T18:05:28.281Z] Removing intermediate container e74ff414c283 [2021-05-20T18:05:28.281Z] ---> 6c4f4b2b7101 [2021-05-20T18:05:28.281Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:05:28.281Z] ---> Running in 560c8b1e2ce2 [2021-05-20T18:05:28.852Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:29.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:30.061Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:05:30.061Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:05:30.061Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:05:30.322Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:05:30.899Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:05:31.158Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:05:31.158Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:05:31.158Z] OK: 8 MiB in 20 packages [2021-05-20T18:05:32.550Z] Removing intermediate container 560c8b1e2ce2 [2021-05-20T18:05:32.550Z] ---> d8e838ff49fc [2021-05-20T18:05:32.550Z] Step 17/26 : WORKDIR / [2021-05-20T18:05:32.550Z] ---> Running in 9f6b3ed2f2ca [2021-05-20T18:05:32.809Z] Removing intermediate container 9f6b3ed2f2ca [2021-05-20T18:05:32.809Z] ---> 61848b9a1423 [2021-05-20T18:05:32.809Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-20T18:05:33.385Z] ---> fa5f3f0eb834 [2021-05-20T18:05:33.385Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-20T18:05:33.963Z] ---> c3a8940c9691 [2021-05-20T18:05:33.963Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-20T18:05:35.879Z] ---> 9b4023ddc9c0 [2021-05-20T18:05:35.879Z] Step 21/26 : EXPOSE 59900 [2021-05-20T18:05:35.879Z] ---> Running in d15cc9878ce8 [2021-05-20T18:05:36.143Z] Removing intermediate container d15cc9878ce8 [2021-05-20T18:05:36.143Z] ---> 085968704bc0 [2021-05-20T18:05:36.143Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-20T18:05:36.403Z] ---> Running in 4f32555130c0 [2021-05-20T18:05:36.974Z] Removing intermediate container 4f32555130c0 [2021-05-20T18:05:36.974Z] ---> 0e27f005966f [2021-05-20T18:05:36.974Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T18:05:37.244Z] ---> Running in 5ad9a9bc9680 [2021-05-20T18:05:37.819Z] Removing intermediate container 5ad9a9bc9680 [2021-05-20T18:05:37.819Z] ---> 10da6b02162b [2021-05-20T18:05:37.819Z] Step 24/26 : LABEL arch=amd64 [2021-05-20T18:05:38.080Z] ---> Running in db2c95e75c0f [2021-05-20T18:05:38.340Z] Removing intermediate container db2c95e75c0f [2021-05-20T18:05:38.340Z] ---> 05428f4710d0 [2021-05-20T18:05:38.340Z] Step 25/26 : LABEL git_sha=8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:05:38.600Z] ---> Running in 10b24d5b9bcb [2021-05-20T18:05:38.862Z] Removing intermediate container 10b24d5b9bcb [2021-05-20T18:05:38.862Z] ---> 71113f993890 [2021-05-20T18:05:38.862Z] Step 26/26 : LABEL version=1.3.2-dev.17 [2021-05-20T18:05:39.122Z] ---> Running in 6df0c1d9e556 [2021-05-20T18:05:39.382Z] Removing intermediate container 6df0c1d9e556 [2021-05-20T18:05:39.382Z] ---> 8f7da2bda79e [2021-05-20T18:05:39.382Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T18:05:39.382Z] Successfully built 8f7da2bda79e [2021-05-20T18:05:39.642Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:05:39.867Z] provisioning config files... [2021-05-20T18:05:39.882Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/57@tmp/config341816253744612930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:05:40.221Z] ---> docker-login.sh [2021-05-20T18:05:40.222Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:05:40.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:40.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:40.222Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:40.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:40.222Z] [2021-05-20T18:05:40.222Z] Login Succeeded [2021-05-20T18:05:40.222Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:05:40.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:40.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:40.484Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:40.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:40.484Z] [2021-05-20T18:05:40.484Z] Login Succeeded [2021-05-20T18:05:40.484Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:05:40.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:40.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:40.484Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:40.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:40.484Z] [2021-05-20T18:05:40.484Z] Login Succeeded [2021-05-20T18:05:40.484Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:05:40.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:40.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:40.744Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:40.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:40.744Z] [2021-05-20T18:05:40.744Z] Login Succeeded [2021-05-20T18:05:40.744Z] docker.io [2021-05-20T18:05:40.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:41.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:41.004Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:41.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:41.004Z] [2021-05-20T18:05:41.005Z] Login Succeeded [2021-05-20T18:05:41.005Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:05:41.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:05:41.118Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-05-20T18:05:41.118Z] 8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:05:41.118Z] latest [2021-05-20T18:05:41.118Z] 1.3.2-dev.17 [2021-05-20T18:05:41.118Z] 8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:05:41.118Z] master [2021-05-20T18:05:41.118Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:41.473Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:41.783Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:05:41.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-20T18:05:41.783Z] 871a3388cbd2: Preparing [2021-05-20T18:05:41.783Z] 62892af94836: Preparing [2021-05-20T18:05:41.783Z] 3e7e9a434a6e: Preparing [2021-05-20T18:05:41.783Z] bad846fcf0b2: Preparing [2021-05-20T18:05:41.783Z] 28a84457b02e: Preparing [2021-05-20T18:05:41.783Z] 32f366d666a5: Preparing [2021-05-20T18:05:41.783Z] 32f366d666a5: Waiting [2021-05-20T18:05:42.052Z] 3e7e9a434a6e: Pushed [2021-05-20T18:05:42.053Z] 62892af94836: Pushed [2021-05-20T18:05:42.053Z] 28a84457b02e: Pushed [2021-05-20T18:05:42.053Z] bad846fcf0b2: Pushed [2021-05-20T18:05:42.314Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:44.229Z] 871a3388cbd2: Pushed [2021-05-20T18:05:44.229Z] 8a7f4322be0982c7f8078a781a398084f2a2a662: digest: sha256:0fee62376e758618a0b5675c138a0f4fd27ab7a17fd2403114a76d03d73c7ac8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:44.535Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:44.839Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-20T18:05:44.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-20T18:05:44.839Z] 871a3388cbd2: Preparing [2021-05-20T18:05:44.839Z] 62892af94836: Preparing [2021-05-20T18:05:44.839Z] 3e7e9a434a6e: Preparing [2021-05-20T18:05:44.839Z] bad846fcf0b2: Preparing [2021-05-20T18:05:44.839Z] 28a84457b02e: Preparing [2021-05-20T18:05:44.839Z] 32f366d666a5: Preparing [2021-05-20T18:05:44.839Z] 32f366d666a5: Waiting [2021-05-20T18:05:44.839Z] 28a84457b02e: Layer already exists [2021-05-20T18:05:44.839Z] 62892af94836: Layer already exists [2021-05-20T18:05:44.839Z] bad846fcf0b2: Layer already exists [2021-05-20T18:05:44.839Z] 3e7e9a434a6e: Layer already exists [2021-05-20T18:05:44.839Z] 871a3388cbd2: Layer already exists [2021-05-20T18:05:44.839Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:44.839Z] latest: digest: sha256:0fee62376e758618a0b5675c138a0f4fd27ab7a17fd2403114a76d03d73c7ac8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:45.156Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:45.452Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.17 [2021-05-20T18:05:45.452Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-20T18:05:45.452Z] 871a3388cbd2: Preparing [2021-05-20T18:05:45.452Z] 62892af94836: Preparing [2021-05-20T18:05:45.452Z] 3e7e9a434a6e: Preparing [2021-05-20T18:05:45.452Z] bad846fcf0b2: Preparing [2021-05-20T18:05:45.452Z] 28a84457b02e: Preparing [2021-05-20T18:05:45.452Z] 32f366d666a5: Preparing [2021-05-20T18:05:45.452Z] 32f366d666a5: Waiting [2021-05-20T18:05:45.452Z] 28a84457b02e: Layer already exists [2021-05-20T18:05:45.452Z] 871a3388cbd2: Layer already exists [2021-05-20T18:05:45.452Z] 3e7e9a434a6e: Layer already exists [2021-05-20T18:05:45.452Z] bad846fcf0b2: Layer already exists [2021-05-20T18:05:45.452Z] 62892af94836: Layer already exists [2021-05-20T18:05:45.452Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:45.452Z] 1.3.2-dev.17: digest: sha256:0fee62376e758618a0b5675c138a0f4fd27ab7a17fd2403114a76d03d73c7ac8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:45.760Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:46.069Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:05:46.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-20T18:05:46.069Z] 871a3388cbd2: Preparing [2021-05-20T18:05:46.069Z] 62892af94836: Preparing [2021-05-20T18:05:46.069Z] 3e7e9a434a6e: Preparing [2021-05-20T18:05:46.069Z] bad846fcf0b2: Preparing [2021-05-20T18:05:46.069Z] 28a84457b02e: Preparing [2021-05-20T18:05:46.069Z] 32f366d666a5: Preparing [2021-05-20T18:05:46.069Z] 32f366d666a5: Waiting [2021-05-20T18:05:46.069Z] 871a3388cbd2: Layer already exists [2021-05-20T18:05:46.069Z] 3e7e9a434a6e: Layer already exists [2021-05-20T18:05:46.069Z] bad846fcf0b2: Layer already exists [2021-05-20T18:05:46.069Z] 62892af94836: Layer already exists [2021-05-20T18:05:46.069Z] 28a84457b02e: Layer already exists [2021-05-20T18:05:46.069Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:46.069Z] 8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17: digest: sha256:0fee62376e758618a0b5675c138a0f4fd27ab7a17fd2403114a76d03d73c7ac8 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:46.380Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:46.681Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-05-20T18:05:46.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-20T18:05:46.681Z] 871a3388cbd2: Preparing [2021-05-20T18:05:46.681Z] 62892af94836: Preparing [2021-05-20T18:05:46.681Z] 3e7e9a434a6e: Preparing [2021-05-20T18:05:46.681Z] bad846fcf0b2: Preparing [2021-05-20T18:05:46.681Z] 28a84457b02e: Preparing [2021-05-20T18:05:46.681Z] 32f366d666a5: Preparing [2021-05-20T18:05:46.681Z] 32f366d666a5: Waiting [2021-05-20T18:05:46.681Z] 62892af94836: Layer already exists [2021-05-20T18:05:46.681Z] 871a3388cbd2: Layer already exists [2021-05-20T18:05:46.681Z] 28a84457b02e: Layer already exists [2021-05-20T18:05:46.681Z] bad846fcf0b2: Layer already exists [2021-05-20T18:05:46.681Z] 3e7e9a434a6e: Layer already exists [2021-05-20T18:05:46.681Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:46.681Z] master: digest: sha256:0fee62376e758618a0b5675c138a0f4fd27ab7a17fd2403114a76d03d73c7ac8 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:05:46.749Z] ===================================================== [Pipeline] echo [2021-05-20T18:05:46.769Z] taggedImages: [2021-05-20T18:05:46.769Z] - nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:05:46.769Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-20T18:05:46.769Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.17 [2021-05-20T18:05:46.769Z] - nexus3.edgexfoundry.org:10004/device-virtual:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:05:46.769Z] - nexus3.edgexfoundry.org:10004/device-virtual: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-05-20T18:05:47.378Z] ---> job-cost.sh [2021-05-20T18:05:47.378Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rf10 [2021-05-20T18:05:55.060Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-20T18:05:55.659Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.883s coverage: 63.8% of statements [2021-05-20T18:05:55.939Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:06:05.523Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:06:27.507Z] lf-activate-venv(): INFO: Adding /tmp/venv-rf10/bin to PATH [2021-05-20T18:06:27.507Z] INFO: No Stack... [2021-05-20T18:06:28.347Z] gofmt -l . [2021-05-20T18:06:28.347Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:06:28.347Z] ./bin/test-attribution-txt.sh [2021-05-20T18:06:28.449Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:06:29.019Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:06:29.326Z] + cat /w/workspace/device-virtual-go/57/archives/cost.csv [2021-05-20T18:06:29.326Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T18:06:29.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] [2021-05-20T18:06:29.369Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] did not exist. Created. [2021-05-20T18:06:29.369Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:06:29.695Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T18:06:29.851Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:06:29.871Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T18:06:30.325Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T18:06:30.986Z] $ docker stop --time=1 2b0f21d96369535397e4efb84c38f772b18ba4b1cfb671f76507f59767b2ef8c [2021-05-20T18:06:33.080Z] $ docker rm -f 2b0f21d96369535397e4efb84c38f772b18ba4b1cfb671f76507f59767b2ef8c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T18:06:33.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T18:06:33.977Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T18:06:34.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:06:35.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:06:35.429Z] + ls -al . [2021-05-20T18:06:35.429Z] total 156 [2021-05-20T18:06:35.429Z] drwxrwxr-x 7 jenkins jenkins 4096 May 20 18:06 . [2021-05-20T18:06:35.429Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 .. [2021-05-20T18:06:35.429Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 18:02 .git [2021-05-20T18:06:35.429Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 .github [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 277 May 20 18:02 .gitignore [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 20 18:02 Attribution.txt [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 20 18:02 Dockerfile [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 998 May 20 18:02 Dockerfile.build [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 660 May 20 18:02 Jenkinsfile [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 18:02 LICENSE [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 905 May 20 18:02 Makefile [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 20 18:02 README.md [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:06:35.429Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 bin [2021-05-20T18:06:35.429Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 cmd [2021-05-20T18:06:35.429Z] -rw-r--r-- 1 jenkins jenkins 47247 May 20 18:05 coverage.out [2021-05-20T18:06:35.429Z] -rw-r--r-- 1 jenkins jenkins 809 May 20 18:06 go.mod [2021-05-20T18:06:35.429Z] -rw-r--r-- 1 jenkins jenkins 23431 May 20 18:04 go.sum [2021-05-20T18:06:35.429Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 internal [2021-05-20T18:06:35.429Z] -rw-rw-r-- 1 jenkins jenkins 235 May 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:35.773Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8a7f4322be0982c7f8078a781a398084f2a2a662 --label arch=arm64 --label version=1.3.2-dev.17 . [2021-05-20T18:06:36.377Z] Sending build context to Docker daemon 8.65MB [2021-05-20T18:06:36.377Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:06:36.377Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-20T18:06:36.377Z] ---> 36262ea1a0c5 [2021-05-20T18:06:36.377Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:06:36.646Z] ---> Running in a29b6a322d98 [2021-05-20T18:06:36.917Z] Removing intermediate container a29b6a322d98 [2021-05-20T18:06:36.917Z] ---> c6d265a6689c [2021-05-20T18:06:36.917Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:06:37.189Z] ---> Running in 976283dde3f6 [2021-05-20T18:06:37.785Z] Removing intermediate container 976283dde3f6 [2021-05-20T18:06:37.785Z] ---> 567b4491773a [2021-05-20T18:06:37.785Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-20T18:06:37.785Z] ---> Running in 85ec986cd871 [2021-05-20T18:06:38.391Z] Removing intermediate container 85ec986cd871 [2021-05-20T18:06:38.391Z] ---> 725a08b0fc29 [2021-05-20T18:06:38.391Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:06:38.391Z] ---> Running in 1eb143bb2eb2 [2021-05-20T18:06:41.004Z] Removing intermediate container 1eb143bb2eb2 [2021-05-20T18:06:41.005Z] ---> 71bbf4854045 [2021-05-20T18:06:41.005Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:06:41.005Z] ---> Running in 5964db8bf1b3 [2021-05-20T18:06:41.986Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:42.997Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:44.501Z] OK: 145 MiB in 53 packages [2021-05-20T18:06:45.495Z] Removing intermediate container 5964db8bf1b3 [2021-05-20T18:06:45.495Z] ---> 9b05a9457ac1 [2021-05-20T18:06:45.495Z] Step 8/26 : COPY . . [2021-05-20T18:06:46.474Z] ---> 5222ac7a6498 [2021-05-20T18:06:46.474Z] Step 9/26 : RUN go mod tidy [2021-05-20T18:06:46.751Z] ---> Running in 0a99a4504b61 [2021-05-20T18:06:49.371Z] Removing intermediate container 0a99a4504b61 [2021-05-20T18:06:49.371Z] ---> ca70d6e86b1a [2021-05-20T18:06:49.371Z] Step 10/26 : RUN go mod download [2021-05-20T18:06:49.371Z] ---> Running in c52e503d4640 [2021-05-20T18:06:52.009Z] Removing intermediate container c52e503d4640 [2021-05-20T18:06:52.009Z] ---> aab3fab9a60c [2021-05-20T18:06:52.009Z] Step 11/26 : ARG MAKE='make build' [2021-05-20T18:06:52.009Z] ---> Running in 8503f9ea0ec6 [2021-05-20T18:06:52.285Z] Removing intermediate container 8503f9ea0ec6 [2021-05-20T18:06:52.285Z] ---> f09351c18043 [2021-05-20T18:06:52.285Z] Step 12/26 : RUN $MAKE [2021-05-20T18:06:52.560Z] ---> Running in 478ab9605ae5 [2021-05-20T18:06:53.997Z] go mod tidy [2021-05-20T18:06:54.272Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.17" -o cmd/device-virtual ./cmd [2021-05-20T18:07:50.831Z] Removing intermediate container 478ab9605ae5 [2021-05-20T18:07:50.831Z] ---> c7cc154fe4bb [2021-05-20T18:07:50.831Z] Step 13/26 : FROM alpine:3.12 [2021-05-20T18:07:50.831Z] 3.12: Pulling from library/alpine [2021-05-20T18:07:50.831Z] d2f70382dc9a: Pulling fs layer [2021-05-20T18:07:50.831Z] d2f70382dc9a: Verifying Checksum [2021-05-20T18:07:50.831Z] d2f70382dc9a: Download complete [2021-05-20T18:07:50.831Z] d2f70382dc9a: Pull complete [2021-05-20T18:07:50.831Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:07:50.831Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:07:50.831Z] ---> 9852663dfa18 [2021-05-20T18:07:50.831Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-20T18:07:50.831Z] ---> Running in 82fb5c0b9214 [2021-05-20T18:07:50.831Z] Removing intermediate container 82fb5c0b9214 [2021-05-20T18:07:50.831Z] ---> 44ddf162b6f8 [2021-05-20T18:07:50.831Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:07:50.831Z] ---> Running in 6a591589341f [2021-05-20T18:07:50.831Z] Removing intermediate container 6a591589341f [2021-05-20T18:07:50.831Z] ---> e68d63a431b9 [2021-05-20T18:07:50.831Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:07:50.831Z] ---> Running in a45df1f60116 [2021-05-20T18:07:50.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:07:50.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:07:51.100Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:07:51.100Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:07:51.100Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:07:51.369Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:07:51.369Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:07:51.638Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:07:51.638Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:07:51.638Z] OK: 8 MiB in 20 packages [2021-05-20T18:07:52.605Z] Removing intermediate container a45df1f60116 [2021-05-20T18:07:52.605Z] ---> 360bd67c6e01 [2021-05-20T18:07:52.605Z] Step 17/26 : WORKDIR / [2021-05-20T18:07:52.876Z] ---> Running in 66ef224fd71c [2021-05-20T18:07:53.466Z] Removing intermediate container 66ef224fd71c [2021-05-20T18:07:53.466Z] ---> cff61f76d597 [2021-05-20T18:07:53.466Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-20T18:07:54.060Z] ---> df5903a59616 [2021-05-20T18:07:54.060Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-20T18:07:55.037Z] ---> d6ef23ce3473 [2021-05-20T18:07:55.037Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-20T18:07:56.016Z] ---> 9293891c65bc [2021-05-20T18:07:56.017Z] Step 21/26 : EXPOSE 59900 [2021-05-20T18:07:56.288Z] ---> Running in 81aa992003a1 [2021-05-20T18:07:56.561Z] Removing intermediate container 81aa992003a1 [2021-05-20T18:07:56.561Z] ---> a5df77bcb5ef [2021-05-20T18:07:56.561Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-20T18:07:56.835Z] ---> Running in 0b36f194906c [2021-05-20T18:07:57.106Z] Removing intermediate container 0b36f194906c [2021-05-20T18:07:57.106Z] ---> 020d971b3672 [2021-05-20T18:07:57.106Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T18:07:57.379Z] ---> Running in 95e30a8894d6 [2021-05-20T18:07:57.973Z] Removing intermediate container 95e30a8894d6 [2021-05-20T18:07:57.973Z] ---> 2c00a512ee71 [2021-05-20T18:07:57.973Z] Step 24/26 : LABEL arch=arm64 [2021-05-20T18:07:57.973Z] ---> Running in d1489ebfcf50 [2021-05-20T18:07:58.245Z] Removing intermediate container d1489ebfcf50 [2021-05-20T18:07:58.245Z] ---> bbfb84905ab3 [2021-05-20T18:07:58.245Z] Step 25/26 : LABEL git_sha=8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:07:58.527Z] ---> Running in 5869c1e683a1 [2021-05-20T18:07:59.121Z] Removing intermediate container 5869c1e683a1 [2021-05-20T18:07:59.121Z] ---> d132301e5690 [2021-05-20T18:07:59.121Z] Step 26/26 : LABEL version=1.3.2-dev.17 [2021-05-20T18:07:59.121Z] ---> Running in a5134ce45e0f [2021-05-20T18:07:59.713Z] Removing intermediate container a5134ce45e0f [2021-05-20T18:07:59.713Z] ---> 4c9a0203fff6 [2021-05-20T18:07:59.713Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T18:07:59.713Z] Successfully built 4c9a0203fff6 [2021-05-20T18:07:59.713Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:07:59.934Z] provisioning config files... [2021-05-20T18:07:59.954Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/57@tmp/config2932530013577471046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:08:00.324Z] ---> docker-login.sh [2021-05-20T18:08:00.324Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:08:00.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:08:00.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:08:00.602Z] Configure a credential helper to remove this warning. See [2021-05-20T18:08:00.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:08:00.602Z] [2021-05-20T18:08:00.602Z] Login Succeeded [2021-05-20T18:08:00.602Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:08:01.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:08:01.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:08:01.194Z] Configure a credential helper to remove this warning. See [2021-05-20T18:08:01.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:08:01.194Z] [2021-05-20T18:08:01.194Z] Login Succeeded [2021-05-20T18:08:01.194Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:08:01.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:08:01.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:08:01.745Z] Configure a credential helper to remove this warning. See [2021-05-20T18:08:01.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:08:01.745Z] [2021-05-20T18:08:01.745Z] Login Succeeded [2021-05-20T18:08:01.745Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:08:02.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:08:02.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:08:02.292Z] Configure a credential helper to remove this warning. See [2021-05-20T18:08:02.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:08:02.292Z] [2021-05-20T18:08:02.292Z] Login Succeeded [2021-05-20T18:08:02.292Z] docker.io [2021-05-20T18:08:02.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:08:02.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:08:02.833Z] Configure a credential helper to remove this warning. See [2021-05-20T18:08:02.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:08:02.833Z] [2021-05-20T18:08:02.833Z] Login Succeeded [2021-05-20T18:08:02.833Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:08:02.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:08:02.948Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-05-20T18:08:02.948Z] 8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:08:02.948Z] latest [2021-05-20T18:08:02.948Z] 1.3.2-dev.17 [2021-05-20T18:08:02.948Z] 8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:08:02.948Z] master [2021-05-20T18:08:02.948Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:03.327Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:03.667Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:08:03.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-20T18:08:03.667Z] e028318f4045: Preparing [2021-05-20T18:08:03.667Z] 7199a18e3e21: Preparing [2021-05-20T18:08:03.667Z] 8a0cfc6a5a5d: Preparing [2021-05-20T18:08:03.667Z] 166c3445cf11: Preparing [2021-05-20T18:08:03.667Z] ceaa6628db01: Preparing [2021-05-20T18:08:03.667Z] 3fbe34a1663b: Preparing [2021-05-20T18:08:03.667Z] 3fbe34a1663b: Waiting [2021-05-20T18:08:03.947Z] 7199a18e3e21: Pushed [2021-05-20T18:08:03.947Z] ceaa6628db01: Pushed [2021-05-20T18:08:03.947Z] 8a0cfc6a5a5d: Pushed [2021-05-20T18:08:03.947Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:08:04.542Z] 166c3445cf11: Pushed [2021-05-20T18:08:07.146Z] e028318f4045: Pushed [2021-05-20T18:08:07.419Z] 8a7f4322be0982c7f8078a781a398084f2a2a662: digest: sha256:8905bb368c3afc871150136a4e5d8ce6310e02cae9bdb0c6afda192527aec83d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:07.766Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:08.114Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-20T18:08:08.114Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-20T18:08:08.115Z] e028318f4045: Preparing [2021-05-20T18:08:08.115Z] 7199a18e3e21: Preparing [2021-05-20T18:08:08.115Z] 8a0cfc6a5a5d: Preparing [2021-05-20T18:08:08.115Z] 166c3445cf11: Preparing [2021-05-20T18:08:08.115Z] ceaa6628db01: Preparing [2021-05-20T18:08:08.115Z] 3fbe34a1663b: Preparing [2021-05-20T18:08:08.115Z] 3fbe34a1663b: Waiting [2021-05-20T18:08:08.115Z] 8a0cfc6a5a5d: Layer already exists [2021-05-20T18:08:08.115Z] 7199a18e3e21: Layer already exists [2021-05-20T18:08:08.115Z] 166c3445cf11: Layer already exists [2021-05-20T18:08:08.115Z] e028318f4045: Layer already exists [2021-05-20T18:08:08.115Z] ceaa6628db01: Layer already exists [2021-05-20T18:08:08.389Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:08:08.389Z] latest: digest: sha256:8905bb368c3afc871150136a4e5d8ce6310e02cae9bdb0c6afda192527aec83d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:08.732Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:09.072Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.17 [2021-05-20T18:08:09.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-20T18:08:09.072Z] e028318f4045: Preparing [2021-05-20T18:08:09.072Z] 7199a18e3e21: Preparing [2021-05-20T18:08:09.072Z] 8a0cfc6a5a5d: Preparing [2021-05-20T18:08:09.072Z] 166c3445cf11: Preparing [2021-05-20T18:08:09.072Z] ceaa6628db01: Preparing [2021-05-20T18:08:09.072Z] 3fbe34a1663b: Preparing [2021-05-20T18:08:09.072Z] 3fbe34a1663b: Waiting [2021-05-20T18:08:09.072Z] ceaa6628db01: Layer already exists [2021-05-20T18:08:09.072Z] 166c3445cf11: Layer already exists [2021-05-20T18:08:09.072Z] e028318f4045: Layer already exists [2021-05-20T18:08:09.072Z] 7199a18e3e21: Layer already exists [2021-05-20T18:08:09.072Z] 8a0cfc6a5a5d: Layer already exists [2021-05-20T18:08:09.072Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:08:09.347Z] 1.3.2-dev.17: digest: sha256:8905bb368c3afc871150136a4e5d8ce6310e02cae9bdb0c6afda192527aec83d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:09.689Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:10.030Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:08:10.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-20T18:08:10.030Z] e028318f4045: Preparing [2021-05-20T18:08:10.030Z] 7199a18e3e21: Preparing [2021-05-20T18:08:10.030Z] 8a0cfc6a5a5d: Preparing [2021-05-20T18:08:10.030Z] 166c3445cf11: Preparing [2021-05-20T18:08:10.030Z] ceaa6628db01: Preparing [2021-05-20T18:08:10.030Z] 3fbe34a1663b: Preparing [2021-05-20T18:08:10.030Z] 3fbe34a1663b: Waiting [2021-05-20T18:08:10.030Z] 7199a18e3e21: Layer already exists [2021-05-20T18:08:10.030Z] 166c3445cf11: Layer already exists [2021-05-20T18:08:10.030Z] 8a0cfc6a5a5d: Layer already exists [2021-05-20T18:08:10.030Z] e028318f4045: Layer already exists [2021-05-20T18:08:10.030Z] ceaa6628db01: Layer already exists [2021-05-20T18:08:10.030Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:08:10.305Z] 8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17: digest: sha256:8905bb368c3afc871150136a4e5d8ce6310e02cae9bdb0c6afda192527aec83d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:10.648Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:08:10.988Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-05-20T18:08:10.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-20T18:08:10.988Z] e028318f4045: Preparing [2021-05-20T18:08:10.988Z] 7199a18e3e21: Preparing [2021-05-20T18:08:10.988Z] 8a0cfc6a5a5d: Preparing [2021-05-20T18:08:10.988Z] 166c3445cf11: Preparing [2021-05-20T18:08:10.988Z] ceaa6628db01: Preparing [2021-05-20T18:08:10.988Z] 3fbe34a1663b: Preparing [2021-05-20T18:08:10.988Z] 3fbe34a1663b: Waiting [2021-05-20T18:08:10.988Z] 7199a18e3e21: Layer already exists [2021-05-20T18:08:10.988Z] 8a0cfc6a5a5d: Layer already exists [2021-05-20T18:08:10.988Z] e028318f4045: Layer already exists [2021-05-20T18:08:10.988Z] ceaa6628db01: Layer already exists [2021-05-20T18:08:10.988Z] 166c3445cf11: Layer already exists [2021-05-20T18:08:10.988Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:08:11.262Z] master: digest: sha256:8905bb368c3afc871150136a4e5d8ce6310e02cae9bdb0c6afda192527aec83d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:08:11.324Z] ===================================================== [Pipeline] echo [2021-05-20T18:08:11.340Z] taggedImages: [2021-05-20T18:08:11.340Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662 [2021-05-20T18:08:11.340Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-20T18:08:11.340Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.17 [2021-05-20T18:08:11.340Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8a7f4322be0982c7f8078a781a398084f2a2a662-1.3.2-dev.17 [2021-05-20T18:08:11.340Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:08:11.837Z] ---> job-cost.sh [2021-05-20T18:08:11.837Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rWmP [2021-05-20T18:08:50.812Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:10:27.625Z] lf-activate-venv(): INFO: Adding /tmp/venv-rWmP/bin to PATH [2021-05-20T18:10:27.625Z] INFO: No Stack... [2021-05-20T18:10:27.625Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T18:10:27.625Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:10:27.961Z] + cut -d, -f6 [2021-05-20T18:10:27.962Z] + cat /w/workspace/device-virtual-go/57/archives/cost.csv [Pipeline] lock [2021-05-20T18:10:28.024Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] [2021-05-20T18:10:28.071Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] did not exist. Created. [2021-05-20T18:10:28.071Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:10:28.423Z] /w/workspace/device-virtual-go/57@tmp/durable-30ec5776/script.sh: 1: /w/workspace/device-virtual-go/57@tmp/durable-30ec5776/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T18:10:28.759Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T18:10:28.789Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T18:10:28.931Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:10:28.946Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-57-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] configFileProvider [2021-05-20T18:10:29.489Z] provisioning config files... [2021-05-20T18:10:29.499Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8574451427835503386tmp [Pipeline] { [Pipeline] sh [2021-05-20T18:10:29.841Z] + set +x [2021-05-20T18:10:29.841Z] + curl -s https://codecov.io/bash [2021-05-20T18:10:29.841Z] + bash -s -- [2021-05-20T18:10:29.841Z] [2021-05-20T18:10:29.841Z] _____ _ [2021-05-20T18:10:29.841Z] / ____| | | [2021-05-20T18:10:29.841Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T18:10:29.841Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T18:10:29.841Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T18:10:29.841Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T18:10:29.841Z] Bash-1.0.2 [2021-05-20T18:10:29.841Z] [2021-05-20T18:10:29.841Z] [2021-05-20T18:10:29.841Z] ==> git version 2.24.4 found [2021-05-20T18:10:29.841Z] ==> 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-05-20T18:10:29.841Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T18:10:29.841Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T18:10:29.841Z] ==> Jenkins CI detected. [2021-05-20T18:10:29.841Z] project root: . [2021-05-20T18:10:29.841Z] --> token set from env [2021-05-20T18:10:29.841Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T18:10:29.841Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T18:10:29.841Z] ==> Python coveragepy not found [2021-05-20T18:10:29.841Z] ==> Searching for coverage reports in: [2021-05-20T18:10:29.841Z] + . [2021-05-20T18:10:30.106Z] -> Found 1 reports [2021-05-20T18:10:30.106Z] ==> Detecting git/mercurial file structure [2021-05-20T18:10:30.106Z] ==> Reading reports [2021-05-20T18:10:30.106Z] + ./coverage.out bytes=47247 [2021-05-20T18:10:30.106Z] ==> Appending adjustments [2021-05-20T18:10:30.106Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T18:10:30.106Z] + Found adjustments [2021-05-20T18:10:30.106Z] ==> Gzipping contents [2021-05-20T18:10:30.106Z] 8.0K /tmp/codecov.D4zUzM.gz [2021-05-20T18:10:30.106Z] ==> Uploading reports [2021-05-20T18:10:30.106Z] url: https://codecov.io [2021-05-20T18:10:30.106Z] query: branch=master&commit=8a7f4322be0982c7f8078a781a398084f2a2a662&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:10:30.106Z] -> Pinging Codecov [2021-05-20T18:10:30.106Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=8a7f4322be0982c7f8078a781a398084f2a2a662&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:10:30.679Z] -> Uploading to [2021-05-20T18:10:30.679Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/5E52B4B073DB2E39498172D8E973AA87/8a7f4322be0982c7f8078a781a398084f2a2a662/dea2df76-5d24-481d-bd72-98ceb4100ca3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T181030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e37927c2421304af53ede233eb4b3e81a0177dd9829872437409f593586e7d2 [2021-05-20T18:10:30.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T18:10:30.679Z] Dload Upload Total Spent Left Speed [2021-05-20T18:10:31.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5760 0 0 100 5760 0 11405 --:--:-- --:--:-- --:--:-- 11405 [2021-05-20T18:10:31.254Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] } [2021-05-20T18:10:31.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-20T18:10:31.607Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-20T18:10:31.629Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:31.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:10:31.943Z] [2021-05-20T18:10:31.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:32.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:10:32.550Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-20T18:10:32.550Z] 188c0c94c7c5: Pulling fs layer [2021-05-20T18:10:32.550Z] 0ef7d3d256c8: Pulling fs layer [2021-05-20T18:10:32.550Z] de9db76c5a1d: Pulling fs layer [2021-05-20T18:10:32.550Z] 0eba1c9be4d2: Pulling fs layer [2021-05-20T18:10:32.550Z] 0d57e429df01: Pulling fs layer [2021-05-20T18:10:32.550Z] 4e4be7b47b0d: Pulling fs layer [2021-05-20T18:10:32.550Z] e1f770b5df2f: Pulling fs layer [2021-05-20T18:10:32.550Z] 85a0685a4137: Pulling fs layer [2021-05-20T18:10:32.550Z] 4e4be7b47b0d: Waiting [2021-05-20T18:10:32.550Z] e1f770b5df2f: Waiting [2021-05-20T18:10:32.550Z] 85a0685a4137: Waiting [2021-05-20T18:10:32.550Z] 0eba1c9be4d2: Waiting [2021-05-20T18:10:32.550Z] 0d57e429df01: Waiting [2021-05-20T18:10:32.550Z] de9db76c5a1d: Verifying Checksum [2021-05-20T18:10:32.550Z] de9db76c5a1d: Download complete [2021-05-20T18:10:32.550Z] 0ef7d3d256c8: Verifying Checksum [2021-05-20T18:10:32.550Z] 0ef7d3d256c8: Download complete [2021-05-20T18:10:32.550Z] 0d57e429df01: Verifying Checksum [2021-05-20T18:10:32.550Z] 0d57e429df01: Download complete [2021-05-20T18:10:32.550Z] 4e4be7b47b0d: Verifying Checksum [2021-05-20T18:10:32.550Z] 4e4be7b47b0d: Download complete [2021-05-20T18:10:32.550Z] 188c0c94c7c5: Verifying Checksum [2021-05-20T18:10:32.550Z] 188c0c94c7c5: Download complete [2021-05-20T18:10:33.126Z] 188c0c94c7c5: Pull complete [2021-05-20T18:10:33.126Z] 0ef7d3d256c8: Pull complete [2021-05-20T18:10:33.386Z] e1f770b5df2f: Verifying Checksum [2021-05-20T18:10:33.386Z] e1f770b5df2f: Download complete [2021-05-20T18:10:33.386Z] de9db76c5a1d: Pull complete [2021-05-20T18:10:35.340Z] 0eba1c9be4d2: Verifying Checksum [2021-05-20T18:10:35.340Z] 0eba1c9be4d2: Download complete [2021-05-20T18:10:35.622Z] 85a0685a4137: Verifying Checksum [2021-05-20T18:10:35.622Z] 85a0685a4137: Download complete [2021-05-20T18:10:39.850Z] 0eba1c9be4d2: Pull complete [2021-05-20T18:10:39.850Z] 0d57e429df01: Pull complete [2021-05-20T18:10:40.116Z] 4e4be7b47b0d: Pull complete [2021-05-20T18:10:40.693Z] e1f770b5df2f: Pull complete [2021-05-20T18:10:48.896Z] 85a0685a4137: Pull complete [2021-05-20T18:10:48.896Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-20T18:10:48.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:10:48.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-20T18:10:48.974Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:10:49.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-20T18:11:08.189Z] $ docker top 04656a980ee06eb8631a04d43a095eb12351bf8b3baaf94f728387feed5fda26 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-20T18:11:08.297Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-20T18:11:08.603Z] + set -o pipefail [2021-05-20T18:11:08.603Z] + snyk monitor '--org=edgex-jenkins' [2021-05-20T18:11:30.620Z] [2021-05-20T18:11:30.620Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-20T18:11:30.620Z] [2021-05-20T18:11:30.620Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/67fc9df1-5fd3-4ffe-968d-52d11fcb62da [2021-05-20T18:11:30.620Z] [2021-05-20T18:11:30.620Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-20T18:11:30.620Z] [2021-05-20T18:11:30.620Z] [Pipeline] } [2021-05-20T18:11:30.637Z] $ docker stop --time=1 04656a980ee06eb8631a04d43a095eb12351bf8b3baaf94f728387feed5fda26 [2021-05-20T18:11:40.645Z] $ docker rm -f 04656a980ee06eb8631a04d43a095eb12351bf8b3baaf94f728387feed5fda26 [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-05-20T18:11:41.760Z] + git log --format=format:%s -1 8a7f4322be0982c7f8078a781a398084f2a2a662 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:11:42.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:11:42.077Z] . [Pipeline] withDockerContainer [2021-05-20T18:11:42.156Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:11:42.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:11:42.934Z] $ docker top 3637627e28f94bb8ba667d86aed8369c06dacd6372ad25da66d8da7e6923b794 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:11:43.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:11:43.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:11:43.210Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:11:43.214Z] $ docker exec 3637627e28f94bb8ba667d86aed8369c06dacd6372ad25da66d8da7e6923b794 ssh-agent [2021-05-20T18:11:43.364Z] SSH_AUTH_SOCK=/tmp/ssh-nC3p7CLzch65/agent.14 [2021-05-20T18:11:43.364Z] SSH_AGENT_PID=20 [2021-05-20T18:11:43.371Z] Running ssh-add (command line suppressed) [2021-05-20T18:11:43.484Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_469290710657001891.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_469290710657001891.key) [2021-05-20T18:11:43.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:11:43.814Z] + git semver tag [2021-05-20T18:11:43.814Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:11:43.814Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-20T18:11:43.814Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-20T18:11:43.814Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:11:43.814Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:11:43.814Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:11:43.814Z] # $SEMVER_BRANCH = master [2021-05-20T18:11:43.814Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-20T18:11:43.814Z] # 8a7f4322be0982c7f8078a781a398084f2a2a662 HEAD [2021-05-20T18:11:43.814Z] # -> Force: false [2021-05-20T18:11:43.814Z] # e599f644a441fe2ecbf5a6d966dadedf7fa93782 refs/tags/v1.3.2-dev.17 [Pipeline] } [2021-05-20T18:11:43.827Z] $ docker exec --env ******** --env ******** 3637627e28f94bb8ba667d86aed8369c06dacd6372ad25da66d8da7e6923b794 ssh-agent -k [2021-05-20T18:11:43.935Z] unset SSH_AUTH_SOCK; [2021-05-20T18:11:43.936Z] unset SSH_AGENT_PID; [2021-05-20T18:11:43.936Z] echo Agent pid 20 killed; [2021-05-20T18:11:43.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:11:44.316Z] + git semver [Pipeline] } [2021-05-20T18:11:44.332Z] $ docker stop --time=1 3637627e28f94bb8ba667d86aed8369c06dacd6372ad25da66d8da7e6923b794 [2021-05-20T18:11:45.772Z] $ docker rm -f 3637627e28f94bb8ba667d86aed8369c06dacd6372ad25da66d8da7e6923b794 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:11:46.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:11:46.231Z] [2021-05-20T18:11:46.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:11:46.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:11:46.812Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-20T18:11:46.812Z] ab5ef0e58194: Pulling fs layer [2021-05-20T18:11:46.812Z] 9712f1f96733: Pulling fs layer [2021-05-20T18:11:46.812Z] 63f879dbbcfc: Pulling fs layer [2021-05-20T18:11:46.812Z] 0d9ebad4ef96: Pulling fs layer [2021-05-20T18:11:46.812Z] e9a5061849ea: Pulling fs layer [2021-05-20T18:11:46.812Z] d747dcd14b5f: Pulling fs layer [2021-05-20T18:11:46.812Z] 2de7ff778b66: Pulling fs layer [2021-05-20T18:11:46.812Z] 0d9ebad4ef96: Waiting [2021-05-20T18:11:46.812Z] e9a5061849ea: Waiting [2021-05-20T18:11:46.812Z] d747dcd14b5f: Waiting [2021-05-20T18:11:46.812Z] 2de7ff778b66: Waiting [2021-05-20T18:11:46.812Z] 9712f1f96733: Download complete [2021-05-20T18:11:48.200Z] 63f879dbbcfc: Download complete [2021-05-20T18:11:48.200Z] e9a5061849ea: Verifying Checksum [2021-05-20T18:11:48.200Z] e9a5061849ea: Download complete [2021-05-20T18:11:48.200Z] d747dcd14b5f: Verifying Checksum [2021-05-20T18:11:48.200Z] d747dcd14b5f: Download complete [2021-05-20T18:11:48.461Z] 2de7ff778b66: Verifying Checksum [2021-05-20T18:11:48.461Z] 2de7ff778b66: Download complete [2021-05-20T18:11:48.728Z] 0d9ebad4ef96: Verifying Checksum [2021-05-20T18:11:48.728Z] 0d9ebad4ef96: Download complete [2021-05-20T18:11:48.728Z] ab5ef0e58194: Verifying Checksum [2021-05-20T18:11:48.728Z] ab5ef0e58194: Download complete [2021-05-20T18:11:53.852Z] ab5ef0e58194: Pull complete [2021-05-20T18:11:53.852Z] 9712f1f96733: Pull complete [2021-05-20T18:11:53.852Z] 63f879dbbcfc: Pull complete [2021-05-20T18:12:00.504Z] 0d9ebad4ef96: Pull complete [2021-05-20T18:12:00.504Z] e9a5061849ea: Pull complete [2021-05-20T18:12:00.777Z] d747dcd14b5f: Pull complete [2021-05-20T18:12:02.187Z] 2de7ff778b66: Pull complete [2021-05-20T18:12:02.187Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-20T18:12:02.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:12:02.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-20T18:12:02.273Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:12:02.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-20T18:12:35.131Z] $ docker top 5832e0f6c1ffd8849819950c4b96d1155a68f12c9916f083c3a33182a21bb011 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:12:35.245Z] provisioning config files... [2021-05-20T18:12:35.273Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config219698320935419725tmp [2021-05-20T18:12:35.287Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3725527342031788014tmp [2021-05-20T18:12:35.301Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config409352580454212945tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:12:35.323Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:35.627Z] ---> sigul-configuration.sh [2021-05-20T18:12:35.627Z] gpg: directory `/root/.gnupg' created [2021-05-20T18:12:35.627Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-20T18:12:35.627Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-20T18:12:35.627Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-20T18:12:35.627Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-20T18:12:35.627Z] gpg: CAST5 encrypted data [2021-05-20T18:12:35.627Z] gpg: encrypted with 1 passphrase [2021-05-20T18:12:35.627Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-20T18:12:35.923Z] + mkdir /home/jenkins [2021-05-20T18:12:35.923Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-20T18:12:36.228Z] + 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-05-20T18:12:36.239Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:36.537Z] ---> sigul-install.sh [2021-05-20T18:12:43.429Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-20T18:12:43.910Z] + git tag --list [2021-05-20T18:12:43.910Z] v1.0.0 [2021-05-20T18:12:43.910Z] v1.1.0 [2021-05-20T18:12:43.910Z] v1.1.1 [2021-05-20T18:12:43.910Z] v1.2.1 [2021-05-20T18:12:43.910Z] v1.2.2 [2021-05-20T18:12:43.910Z] v1.2.3 [2021-05-20T18:12:43.910Z] v1.3.0 [2021-05-20T18:12:43.910Z] v1.3.1 [2021-05-20T18:12:43.910Z] v1.3.1-dev.1 [2021-05-20T18:12:43.910Z] v1.3.1-dev.2 [2021-05-20T18:12:43.910Z] v1.3.1-dev.3 [2021-05-20T18:12:43.910Z] v1.3.1-dev.4 [2021-05-20T18:12:43.910Z] v1.3.1-dev.5 [2021-05-20T18:12:43.910Z] v1.3.2-dev.1 [2021-05-20T18:12:43.910Z] v1.3.2-dev.10 [2021-05-20T18:12:43.910Z] v1.3.2-dev.11 [2021-05-20T18:12:43.910Z] v1.3.2-dev.12 [2021-05-20T18:12:43.910Z] v1.3.2-dev.13 [2021-05-20T18:12:43.910Z] v1.3.2-dev.14 [2021-05-20T18:12:43.910Z] v1.3.2-dev.15 [2021-05-20T18:12:43.910Z] v1.3.2-dev.16 [2021-05-20T18:12:43.910Z] v1.3.2-dev.17 [2021-05-20T18:12:43.910Z] v1.3.2-dev.2 [2021-05-20T18:12:43.910Z] v1.3.2-dev.3 [2021-05-20T18:12:43.910Z] v1.3.2-dev.4 [2021-05-20T18:12:43.910Z] v1.3.2-dev.5 [2021-05-20T18:12:43.910Z] v1.3.2-dev.6 [2021-05-20T18:12:43.910Z] v1.3.2-dev.7 [2021-05-20T18:12:43.910Z] v1.3.2-dev.8 [2021-05-20T18:12:43.910Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-20T18:12:44.212Z] + lftools sign git-tag v1.3.2-dev.17 [2021-05-20T18:12:44.787Z] Signing Git tag with Sigul... [2021-05-20T18:12:44.787Z] Signing v1.3.2-dev.17 [Pipeline] echo [2021-05-20T18:12:45.742Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:46.039Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-20T18:12:46.048Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-20T18:12:46.078Z] $ docker stop --time=1 5832e0f6c1ffd8849819950c4b96d1155a68f12c9916f083c3a33182a21bb011 [2021-05-20T18:12:52.289Z] $ docker rm -f 5832e0f6c1ffd8849819950c4b96d1155a68f12c9916f083c3a33182a21bb011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:12:52.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:12:52.915Z] . [Pipeline] withDockerContainer [2021-05-20T18:12:53.003Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:12:53.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:12:53.974Z] $ docker top 5bc96fbd68a609bc3781739c22370a397b8402454dc6f5ea8237bc04f8b64d63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:12:54.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:12:54.102Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:12:54.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:12:54.243Z] $ docker exec 5bc96fbd68a609bc3781739c22370a397b8402454dc6f5ea8237bc04f8b64d63 ssh-agent [2021-05-20T18:12:54.362Z] SSH_AUTH_SOCK=/tmp/ssh-dfKG5mpyg9Vx/agent.14 [2021-05-20T18:12:54.362Z] SSH_AGENT_PID=21 [2021-05-20T18:12:54.369Z] Running ssh-add (command line suppressed) [2021-05-20T18:12:54.486Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3210654666135626354.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3210654666135626354.key) [2021-05-20T18:12:54.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:12:54.835Z] + git semver bump pre [2021-05-20T18:12:54.836Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:12:54.836Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-20T18:12:54.836Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-20T18:12:54.836Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:12:54.836Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:12:54.836Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:12:54.836Z] # $SEMVER_BRANCH = master [2021-05-20T18:12:54.836Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-20T18:12:54.836Z] 1.3.2-dev.18 [Pipeline] } [2021-05-20T18:12:54.870Z] $ docker exec --env ******** --env ******** 5bc96fbd68a609bc3781739c22370a397b8402454dc6f5ea8237bc04f8b64d63 ssh-agent -k [2021-05-20T18:12:54.973Z] unset SSH_AUTH_SOCK; [2021-05-20T18:12:54.973Z] unset SSH_AGENT_PID; [2021-05-20T18:12:54.973Z] echo Agent pid 21 killed; [2021-05-20T18:12:54.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:12:55.359Z] + git semver [Pipeline] } [2021-05-20T18:12:55.374Z] $ docker stop --time=1 5bc96fbd68a609bc3781739c22370a397b8402454dc6f5ea8237bc04f8b64d63 [2021-05-20T18:12:57.104Z] $ docker rm -f 5bc96fbd68a609bc3781739c22370a397b8402454dc6f5ea8237bc04f8b64d63 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:12:57.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:12:57.636Z] . [Pipeline] withDockerContainer [2021-05-20T18:12:57.733Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:12:57.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T18:12:58.888Z] $ docker top 95d80ad71d506963f8c8c87d6e4f4e0ee0ac90ef928e2d55c5ca4a92535d2f78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:12:59.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:12:59.015Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:12:59.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:12:59.142Z] $ docker exec 95d80ad71d506963f8c8c87d6e4f4e0ee0ac90ef928e2d55c5ca4a92535d2f78 ssh-agent [2021-05-20T18:12:59.289Z] SSH_AUTH_SOCK=/tmp/ssh-KMRPririFYEr/agent.14 [2021-05-20T18:12:59.289Z] SSH_AGENT_PID=21 [2021-05-20T18:12:59.295Z] Running ssh-add (command line suppressed) [2021-05-20T18:12:59.402Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2842587950094597152.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2842587950094597152.key) [2021-05-20T18:12:59.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:12:59.727Z] + git semver push [2021-05-20T18:12:59.727Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:12:59.727Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-20T18:12:59.727Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-20T18:12:59.727Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:12:59.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:12:59.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:12:59.727Z] # $SEMVER_BRANCH = master [2021-05-20T18:12:59.727Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-20T18:13:06.344Z] $ docker exec --env ******** --env ******** 95d80ad71d506963f8c8c87d6e4f4e0ee0ac90ef928e2d55c5ca4a92535d2f78 ssh-agent -k [2021-05-20T18:13:06.462Z] unset SSH_AUTH_SOCK; [2021-05-20T18:13:06.462Z] unset SSH_AGENT_PID; [2021-05-20T18:13:06.462Z] echo Agent pid 21 killed; [2021-05-20T18:13:06.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:13:06.817Z] + git semver [Pipeline] } [2021-05-20T18:13:06.833Z] $ docker stop --time=1 95d80ad71d506963f8c8c87d6e4f4e0ee0ac90ef928e2d55c5ca4a92535d2f78 [2021-05-20T18:13:08.554Z] $ docker rm -f 95d80ad71d506963f8c8c87d6e4f4e0ee0ac90ef928e2d55c5ca4a92535d2f78 [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-05-20T18:13:09.580Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:10.165Z] ---> package-listing.sh [2021-05-20T18:13:10.165Z] ++ facter osfamily [2021-05-20T18:13:10.165Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T18:13:10.429Z] + OS_FAMILY=redhat [2021-05-20T18:13:10.429Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-20T18:13:10.429Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T18:13:10.429Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T18:13:10.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T18:13:10.429Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T18:13:10.429Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-20T18:13:10.429Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T18:13:10.429Z] + case "${OS_FAMILY}" in [2021-05-20T18:13:10.429Z] + rpm -qa [2021-05-20T18:13:10.429Z] + sort [2021-05-20T18:13:11.008Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T18:13:11.008Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T18:13:11.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T18:13:11.270Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-20T18:13:11.270Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-20T18:13:11.270Z] + 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-05-20T18:13:11.282Z] 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-05-20T18:13:11.576Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:13:12.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:13:12.158Z] [2021-05-20T18:13:12.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:13:12.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:13:12.750Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T18:13:12.750Z] df20fa9351a1: Pulling fs layer [2021-05-20T18:13:12.750Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T18:13:12.750Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T18:13:12.750Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T18:13:12.750Z] 93b61091891f: Pulling fs layer [2021-05-20T18:13:12.750Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T18:13:12.750Z] 5e14af77c1be: Pulling fs layer [2021-05-20T18:13:12.750Z] 01666e4c0597: Pulling fs layer [2021-05-20T18:13:12.750Z] aa168da1d23b: Pulling fs layer [2021-05-20T18:13:12.750Z] 46f8f816bc3b: Waiting [2021-05-20T18:13:12.750Z] 93b61091891f: Waiting [2021-05-20T18:13:12.750Z] 93b9cdb0e59b: Waiting [2021-05-20T18:13:12.750Z] 5e14af77c1be: Waiting [2021-05-20T18:13:12.750Z] 01666e4c0597: Waiting [2021-05-20T18:13:12.750Z] aa168da1d23b: Waiting [2021-05-20T18:13:12.750Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T18:13:12.750Z] 36b3adc4ff6f: Download complete [2021-05-20T18:13:12.750Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T18:13:12.750Z] 46f8f816bc3b: Download complete [2021-05-20T18:13:12.750Z] df20fa9351a1: Verifying Checksum [2021-05-20T18:13:12.750Z] df20fa9351a1: Download complete [2021-05-20T18:13:12.750Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T18:13:12.750Z] 93b9cdb0e59b: Download complete [2021-05-20T18:13:12.750Z] 5e14af77c1be: Verifying Checksum [2021-05-20T18:13:12.750Z] 5e14af77c1be: Download complete [2021-05-20T18:13:12.750Z] 93b61091891f: Verifying Checksum [2021-05-20T18:13:12.750Z] 93b61091891f: Download complete [2021-05-20T18:13:12.750Z] 01666e4c0597: Verifying Checksum [2021-05-20T18:13:12.750Z] 01666e4c0597: Download complete [2021-05-20T18:13:13.012Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T18:13:13.012Z] 8ad3a11d3b57: Download complete [2021-05-20T18:13:13.012Z] df20fa9351a1: Pull complete [2021-05-20T18:13:13.277Z] 36b3adc4ff6f: Pull complete [2021-05-20T18:13:14.242Z] 8ad3a11d3b57: Pull complete [2021-05-20T18:13:14.242Z] 46f8f816bc3b: Pull complete [2021-05-20T18:13:14.506Z] 93b61091891f: Pull complete [2021-05-20T18:13:14.767Z] 93b9cdb0e59b: Pull complete [2021-05-20T18:13:14.767Z] 5e14af77c1be: Pull complete [2021-05-20T18:13:15.040Z] 01666e4c0597: Pull complete [2021-05-20T18:13:15.040Z] aa168da1d23b: Verifying Checksum [2021-05-20T18:13:15.040Z] aa168da1d23b: Download complete [2021-05-20T18:13:20.378Z] aa168da1d23b: Pull complete [2021-05-20T18:13:20.378Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T18:13:20.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:13:20.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T18:13:20.482Z] prd-centos7-docker-4c-2g-15353 does not seem to be running inside a container [2021-05-20T18:13:20.528Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T18:13:39.054Z] $ docker top 760a0cba7cab1b60fa3a2ef8aba6f4c946db4c66a23e7755d18927cb8c5ac77b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:13:39.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T18:13:39.732Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T18:13:40.028Z] + ls /var/log/sa-host [2021-05-20T18:13:40.028Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T18:13:40.028Z] file_magic: OK [2021-05-20T18:13:40.028Z] HZ: Using current value: 100 [2021-05-20T18:13:40.028Z] file_header: OK [2021-05-20T18:13:40.028Z] 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-05-20T18:13:40.028Z] Statistics: [2021-05-20T18:13:40.028Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:13:40.028Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T18:13:40.028Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T18:13:40.028Z] file_magic: OK [2021-05-20T18:13:40.028Z] HZ: Using current value: 100 [2021-05-20T18:13:40.028Z] file_header: OK [2021-05-20T18:13:40.028Z] 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-05-20T18:13:40.028Z] Statistics: [2021-05-20T18:13:40.028Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:13:40.028Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:13:40.214Z] provisioning config files... [2021-05-20T18:13:40.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config104453548825881940tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:13:40.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:40.544Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T18:13:40.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T18:13:40.580Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:40.884Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T18:13:40.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:41.191Z] ---> sudo-logs.sh [2021-05-20T18:13:41.191Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T18:13:41.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:41.527Z] ---> job-cost.sh [2021-05-20T18:13:41.527Z] lf-activate-venv: SKIPPING [2021-05-20T18:13:41.527Z] DEBUG: total: 0.18000000715255737 [2021-05-20T18:13:41.527Z] INFO: Retrieving Stack Cost... [2021-05-20T18:13:43.447Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:13:43.447Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T18:13:43.492Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:13:43.787Z] ---> logs-deploy.sh [2021-05-20T18:13:43.787Z] lf-activate-venv: SKIPPING [2021-05-20T18:13:43.787Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/57 [2021-05-20T18:13:43.787Z] INFO: archiving workspace using pattern(s): [2021-05-20T18:13:44.731Z] Archives upload complete. [2021-05-20T18:13:44.731Z] INFO: archiving logs to Nexus