Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 702ee4ef1a6f7523fa240909d56a13b89c8d46ac 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-ssh5488647500878137327.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-ssh8549718758631588585.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-ssh6227409204000249688.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-ssh2200087216785630141.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-ssh6258823375110281635.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-367 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.3' 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-ssh3240306568895021266.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 702ee4ef1a6f7523fa240909d56a13b89c8d46ac (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 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 Commit message: "Merge pull request #204 from lenny-intel/secure-bus-rework" > git rev-list --no-walk 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T15:30:24.881Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T15:30:24.988Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T15:30:25.016Z] ========================================================= [2021-05-17T15:30:25.016Z] EdgeX Global Pipelines Version Info [2021-05-17T15:30:25.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:30:27.604Z] ------------------- [2021-05-17T15:30:27.604Z] stable info: [2021-05-17T15:30:27.604Z] ------------------- [2021-05-17T15:30:27.604Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T15:30:27.604Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:30:27.604Z] Message: update stable to v1.0.192 [2021-05-17T15:30:28.557Z] ------------------- [2021-05-17T15:30:28.557Z] experimental info: [2021-05-17T15:30:28.557Z] ------------------- [2021-05-17T15:30:28.557Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T15:30:28.557Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:30:28.557Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T15:30:28.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-17T15:30:28.709Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-17T15:30:28.733Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T15:30:28.757Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T15:30:28.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T15:30:28.827Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T15:30:28.849Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T15:30:28.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T15:30:28.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-17T15:30:28.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T15:30:28.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T15:30:28.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-17T15:30:29.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T15:30:29.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T15:30:29.061Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T15:30:29.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T15:30:29.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:30:29.140Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:30:29.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T15:30:29.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-17T15:30:29.212Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-17T15:30:29.236Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-17T15:30:29.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-17T15:30:29.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-17T15:30:29.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-17T15:30:29.348Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T15:30:29.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-17T15:30:29.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-17T15:30:29.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-17T15:30:29.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] echo [2021-05-17T15:30:29.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 702ee4e [Pipeline] echo [2021-05-17T15:30:29.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:30:29.610Z] provisioning config files... [2021-05-17T15:30:29.633Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6023553416778452954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:30:29.979Z] ---> docker-login.sh [2021-05-17T15:30:29.979Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:30:30.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:30:30.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:30:30.510Z] Configure a credential helper to remove this warning. See [2021-05-17T15:30:30.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:30:30.510Z] [2021-05-17T15:30:30.510Z] Login Succeeded [2021-05-17T15:30:30.510Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:30:30.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:30:30.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:30:30.510Z] Configure a credential helper to remove this warning. See [2021-05-17T15:30:30.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:30:30.510Z] [2021-05-17T15:30:30.510Z] Login Succeeded [2021-05-17T15:30:30.510Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:30:30.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:30:30.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:30:30.782Z] Configure a credential helper to remove this warning. See [2021-05-17T15:30:30.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:30:30.782Z] [2021-05-17T15:30:30.782Z] Login Succeeded [2021-05-17T15:30:30.782Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:30:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:30:31.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:30:31.046Z] Configure a credential helper to remove this warning. See [2021-05-17T15:30:31.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:30:31.046Z] [2021-05-17T15:30:31.046Z] Login Succeeded [2021-05-17T15:30:31.046Z] docker.io [2021-05-17T15:30:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:30:31.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:30:31.311Z] Configure a credential helper to remove this warning. See [2021-05-17T15:30:31.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:30:31.311Z] [2021-05-17T15:30:31.311Z] Login Succeeded [2021-05-17T15:30:31.311Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:30:31.323Z] 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-17T15:30:31.832Z] + git log --format=format:%s -1 702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] echo [2021-05-17T15:30:31.890Z] GIT_COMMIT: 702ee4ef1a6f7523fa240909d56a13b89c8d46ac, Commit Message: Merge pull request #204 from lenny-intel/secure-bus-rework [Pipeline] echo [2021-05-17T15:30:31.905Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:30:32.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:30:32.502Z] [2021-05-17T15:30:32.502Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:30:32.826Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:30:32.826Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T15:30:32.826Z] 31603596830f: Pulling fs layer [2021-05-17T15:30:32.826Z] 54011a49482f: Pulling fs layer [2021-05-17T15:30:32.826Z] a6820b24f6d8: Pulling fs layer [2021-05-17T15:30:32.826Z] f581987b2513: Pulling fs layer [2021-05-17T15:30:32.826Z] f581987b2513: Waiting [2021-05-17T15:30:32.826Z] 54011a49482f: Verifying Checksum [2021-05-17T15:30:32.826Z] 54011a49482f: Download complete [2021-05-17T15:30:32.826Z] 31603596830f: Verifying Checksum [2021-05-17T15:30:32.826Z] 31603596830f: Download complete [2021-05-17T15:30:33.092Z] f581987b2513: Verifying Checksum [2021-05-17T15:30:33.093Z] f581987b2513: Download complete [2021-05-17T15:30:33.093Z] a6820b24f6d8: Verifying Checksum [2021-05-17T15:30:33.093Z] a6820b24f6d8: Download complete [2021-05-17T15:30:33.358Z] 31603596830f: Pull complete [2021-05-17T15:30:33.358Z] 54011a49482f: Pull complete [2021-05-17T15:30:34.316Z] a6820b24f6d8: Pull complete [2021-05-17T15:30:34.587Z] f581987b2513: Pull complete [2021-05-17T15:30:34.587Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T15:30:34.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:30:34.587Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T15:30:34.703Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:30:34.758Z] $ 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-17T15:30:37.188Z] $ docker top 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:30:37.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:30:37.370Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:30:37.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:30:37.614Z] $ docker exec 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 ssh-agent [2021-05-17T15:30:37.826Z] SSH_AUTH_SOCK=/tmp/ssh-m5rbxnkEprTn/agent.11 [2021-05-17T15:30:37.826Z] SSH_AGENT_PID=17 [2021-05-17T15:30:37.845Z] Running ssh-add (command line suppressed) [2021-05-17T15:30:37.985Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6804839613506443023.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6804839613506443023.key) [2021-05-17T15:30:38.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:30:38.354Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T15:30:38.376Z] $ docker exec --env ******** --env ******** 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 ssh-agent -k [2021-05-17T15:30:38.490Z] unset SSH_AUTH_SOCK; [2021-05-17T15:30:38.490Z] unset SSH_AGENT_PID; [2021-05-17T15:30:38.490Z] echo Agent pid 17 killed; [2021-05-17T15:30:38.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T15:30:38.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:30:38.581Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:30:38.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:30:38.765Z] $ docker exec 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 ssh-agent [2021-05-17T15:30:38.931Z] SSH_AUTH_SOCK=/tmp/ssh-LfPuTjo0x00L/agent.47 [2021-05-17T15:30:38.931Z] SSH_AGENT_PID=52 [2021-05-17T15:30:38.940Z] Running ssh-add (command line suppressed) [2021-05-17T15:30:39.064Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2310722722550107369.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2310722722550107369.key) [2021-05-17T15:30:39.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:30:39.441Z] + git semver init [2021-05-17T15:30:39.441Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:30:39.441Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-17T15:30:39.441Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-17T15:30:39.441Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:30:39.441Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:30:39.441Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:30:39.441Z] # $SEMVER_BRANCH = master [2021-05-17T15:30:39.441Z] # $SEMVER_TEMP = /tmp/semver-564175183 [2021-05-17T15:30:39.441Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-17T15:30:40.846Z] # '/tmp/semver-564175183' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-17T15:30:40.847Z] # -> Force: false [2021-05-17T15:30:40.847Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-17T15:30:40.860Z] $ docker exec --env ******** --env ******** 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 ssh-agent -k [2021-05-17T15:30:40.983Z] unset SSH_AUTH_SOCK; [2021-05-17T15:30:40.984Z] unset SSH_AGENT_PID; [2021-05-17T15:30:40.984Z] echo Agent pid 52 killed; [2021-05-17T15:30:41.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:30:41.384Z] + git semver [Pipeline] } [2021-05-17T15:30:41.403Z] $ docker stop --time=1 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 [2021-05-17T15:30:42.831Z] $ docker rm -f 55525848de87bf9fd27e994ec972dd67a39369f51e6a7376fa779dc83f22a544 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:30:43.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T15:30:43.708Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T15:30:43.712Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.15 [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-17T15:30:58.932Z] Still waiting to schedule task [2021-05-17T15:30:58.932Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-17T15:30:58.935Z] Still waiting to schedule task [2021-05-17T15:30:58.936Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-17T15:31:53.773Z] Running on prd-centos7-docker-4c-2g-370 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-17T15:31:53.790Z] Running in /w/workspace/device-virtual-go/55 [Pipeline] { [Pipeline] checkout [2021-05-17T15:31:53.894Z] Selected Git installation does not exist. Using Default [2021-05-17T15:31:53.894Z] The recommended git tool is: NONE [2021-05-17T15:31:56.294Z] using credential edgex-jenkins-ssh [2021-05-17T15:31:56.375Z] Cloning the remote Git repository [2021-05-17T15:31:56.400Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:31:56.481Z] > git init /w/workspace/device-virtual-go/55 # timeout=10 [2021-05-17T15:31:56.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:31:56.540Z] > git --version # timeout=10 [2021-05-17T15:31:56.545Z] > git --version # 'git version 2.24.3' [2021-05-17T15:31:56.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:31:56.571Z] [INFO] Currently running in a labeled security context [2021-05-17T15:31:56.571Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T15:31:56.571Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/55@tmp/jenkins-gitclient-ssh2895680532575439091.key [2021-05-17T15:31:56.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:31:57.489Z] Avoid second fetch [2021-05-17T15:31:57.489Z] Checking out Revision 702ee4ef1a6f7523fa240909d56a13b89c8d46ac (master) [2021-05-17T15:31:57.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:31:57.484Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:31:57.499Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:31:57.509Z] > git checkout -f 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-17T15:32:01.119Z] Commit message: "Merge pull request #204 from lenny-intel/secure-bus-rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:32:02.198Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:32:02.526Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:32:02.827Z] + true [2021-05-17T15:32:02.827Z] + sudo service docker restart [2021-05-17T15:32:02.827Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:32:03.813Z] provisioning config files... [2021-05-17T15:32:03.829Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config496077397091831955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:32:04.159Z] ---> docker-login.sh [2021-05-17T15:32:04.159Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:32:04.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:32:04.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:32:04.427Z] Configure a credential helper to remove this warning. See [2021-05-17T15:32:04.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:32:04.427Z] [2021-05-17T15:32:04.427Z] Login Succeeded [2021-05-17T15:32:04.427Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:32:04.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:32:04.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:32:04.689Z] Configure a credential helper to remove this warning. See [2021-05-17T15:32:04.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:32:04.689Z] [2021-05-17T15:32:04.689Z] Login Succeeded [2021-05-17T15:32:04.689Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:32:04.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:32:04.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:32:04.951Z] Configure a credential helper to remove this warning. See [2021-05-17T15:32:04.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:32:04.951Z] [2021-05-17T15:32:04.951Z] Login Succeeded [2021-05-17T15:32:04.951Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:32:04.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:32:05.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:32:05.213Z] Configure a credential helper to remove this warning. See [2021-05-17T15:32:05.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:32:05.213Z] [2021-05-17T15:32:05.213Z] Login Succeeded [2021-05-17T15:32:05.213Z] docker.io [2021-05-17T15:32:05.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:32:05.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:32:05.478Z] Configure a credential helper to remove this warning. See [2021-05-17T15:32:05.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:32:05.478Z] [2021-05-17T15:32:05.478Z] Login Succeeded [2021-05-17T15:32:05.478Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:32:05.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T15:32:05.679Z] ========================================================= [2021-05-17T15:32:05.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T15:32:05.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:32:05.991Z] + 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-17T15:32:05.991Z] Sending build context to Docker daemon 8.577MB [2021-05-17T15:32:05.991Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:32:05.991Z] Step 2/8 : FROM ${BASE} [2021-05-17T15:32:06.259Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T15:32:06.259Z] 540db60ca938: Pulling fs layer [2021-05-17T15:32:06.259Z] adcc1eea9eea: Pulling fs layer [2021-05-17T15:32:06.259Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T15:32:06.259Z] 0510c868ecb4: Pulling fs layer [2021-05-17T15:32:06.259Z] afea3b2eda06: Pulling fs layer [2021-05-17T15:32:06.259Z] 7809a108b3ef: Pulling fs layer [2021-05-17T15:32:06.259Z] f706445af74f: Pulling fs layer [2021-05-17T15:32:06.259Z] afea3b2eda06: Waiting [2021-05-17T15:32:06.259Z] 7809a108b3ef: Waiting [2021-05-17T15:32:06.259Z] f706445af74f: Waiting [2021-05-17T15:32:06.259Z] 0510c868ecb4: Waiting [2021-05-17T15:32:06.259Z] 4c4ab2625f07: Verifying Checksum [2021-05-17T15:32:06.259Z] 4c4ab2625f07: Download complete [2021-05-17T15:32:06.259Z] adcc1eea9eea: Verifying Checksum [2021-05-17T15:32:06.259Z] adcc1eea9eea: Download complete [2021-05-17T15:32:06.259Z] afea3b2eda06: Download complete [2021-05-17T15:32:06.259Z] 7809a108b3ef: Verifying Checksum [2021-05-17T15:32:06.259Z] 7809a108b3ef: Download complete [2021-05-17T15:32:06.259Z] 540db60ca938: Download complete [2021-05-17T15:32:06.520Z] 540db60ca938: Pull complete [2021-05-17T15:32:06.789Z] adcc1eea9eea: Pull complete [2021-05-17T15:32:06.789Z] 4c4ab2625f07: Pull complete [2021-05-17T15:32:08.184Z] f706445af74f: Verifying Checksum [2021-05-17T15:32:08.184Z] f706445af74f: Download complete [2021-05-17T15:32:08.760Z] 0510c868ecb4: Verifying Checksum [2021-05-17T15:32:08.760Z] 0510c868ecb4: Download complete [2021-05-17T15:32:14.082Z] 0510c868ecb4: Pull complete [2021-05-17T15:32:14.082Z] afea3b2eda06: Pull complete [2021-05-17T15:32:14.082Z] 7809a108b3ef: Pull complete [2021-05-17T15:32:18.337Z] f706445af74f: Pull complete [2021-05-17T15:32:18.337Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T15:32:18.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T15:32:18.337Z] ---> b068be0155e3 [2021-05-17T15:32:18.337Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T15:32:18.914Z] ---> Running in aa21491b21cd [2021-05-17T15:32:19.177Z] Removing intermediate container aa21491b21cd [2021-05-17T15:32:19.177Z] ---> 8246282bc414 [2021-05-17T15:32:19.177Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:32:19.177Z] ---> Running in 2b3bcde89d3b [2021-05-17T15:32:20.133Z] Removing intermediate container 2b3bcde89d3b [2021-05-17T15:32:20.133Z] ---> dad6aac59914 [2021-05-17T15:32:20.133Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T15:32:20.133Z] ---> Running in a991134e476f [2021-05-17T15:32:21.100Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:32:22.056Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T15:32:22.319Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T15:32:22.581Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T15:32:22.581Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T15:32:22.581Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T15:32:22.846Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T15:32:22.846Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T15:32:22.846Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T15:32:23.108Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T15:32:23.371Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T15:32:23.371Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T15:32:23.371Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T15:32:23.633Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T15:32:23.633Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T15:32:23.633Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T15:32:23.633Z] OK: 156 MiB in 53 packages [2021-05-17T15:32:24.585Z] Removing intermediate container a991134e476f [2021-05-17T15:32:24.585Z] ---> 262753369e13 [2021-05-17T15:32:24.585Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T15:32:24.585Z] ---> Running in c56651a77f4b [2021-05-17T15:32:24.850Z] Removing intermediate container c56651a77f4b [2021-05-17T15:32:24.850Z] ---> 25bc5ae77acd [2021-05-17T15:32:24.850Z] Step 7/8 : COPY . . [2021-05-17T15:32:25.427Z] ---> 938318399221 [2021-05-17T15:32:25.427Z] Step 8/8 : RUN go mod download [2021-05-17T15:32:25.427Z] ---> Running in 4f87e9513fe7 [2021-05-17T15:32:50.284Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-371 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-17T15:32:50.303Z] Running in /w/workspace/device-virtual-go/55 [Pipeline] { [Pipeline] checkout [2021-05-17T15:32:50.558Z] Selected Git installation does not exist. Using Default [2021-05-17T15:32:50.558Z] The recommended git tool is: NONE [2021-05-17T15:32:52.072Z] Removing intermediate container 4f87e9513fe7 [2021-05-17T15:32:52.072Z] ---> e20edb7a8486 [2021-05-17T15:32:52.072Z] Successfully built e20edb7a8486 [2021-05-17T15:32:52.072Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:32:52.386Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T15:32:52.386Z] . [Pipeline] withDockerContainer [2021-05-17T15:32:52.500Z] prd-centos7-docker-4c-2g-370 does not seem to be running inside a container [2021-05-17T15:32:52.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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-17T15:32:53.308Z] $ docker top 997cc80102d4c793af081a7881afebcbed13aef7ae49eb544fb6cfa08351d95a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:32:53.738Z] + go version [2021-05-17T15:32:53.738Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-17T15:32:53.753Z] $ docker stop --time=1 997cc80102d4c793af081a7881afebcbed13aef7ae49eb544fb6cfa08351d95a [2021-05-17T15:32:55.088Z] $ docker rm -f 997cc80102d4c793af081a7881afebcbed13aef7ae49eb544fb6cfa08351d95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:32:55.715Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T15:32:55.715Z] . [Pipeline] withDockerContainer [2021-05-17T15:32:55.809Z] prd-centos7-docker-4c-2g-370 does not seem to be running inside a container [2021-05-17T15:32:55.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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-17T15:32:56.038Z] using credential edgex-jenkins-ssh [2021-05-17T15:32:56.058Z] Cloning the remote Git repository [2021-05-17T15:32:56.401Z] $ docker top a12899528fb4848059b9665207fc60291d6a7e6af609aae7ceec5a4ce5840f4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:32:56.143Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:32:56.246Z] > git init /w/workspace/device-virtual-go/55 # timeout=10 [2021-05-17T15:32:56.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:32:56.315Z] > git --version # timeout=10 [2021-05-17T15:32:56.361Z] > git --version # 'git version 2.17.1' [2021-05-17T15:32:56.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:32:56.440Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:32:56.800Z] + go mod tidy [Pipeline] sh [2021-05-17T15:32:57.684Z] + make test [2021-05-17T15:32:57.684Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-17T15:32:58.161Z] Avoid second fetch [2021-05-17T15:32:58.161Z] Checking out Revision 702ee4ef1a6f7523fa240909d56a13b89c8d46ac (master) [2021-05-17T15:32:58.276Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-17T15:32:58.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:32:58.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:32:58.200Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:32:58.216Z] > git checkout -f 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 [2021-05-17T15:33:02.449Z] Commit message: "Merge pull request #204 from lenny-intel/secure-bus-rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:33:03.736Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:33:04.256Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:33:04.646Z] + sudo service docker restart [2021-05-17T15:33:04.646Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:33:07.317Z] provisioning config files... [2021-05-17T15:33:07.342Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config4986664463287611329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:33:07.731Z] ---> docker-login.sh [2021-05-17T15:33:07.731Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:33:08.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:33:08.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:33:08.999Z] Configure a credential helper to remove this warning. See [2021-05-17T15:33:08.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:33:08.999Z] [2021-05-17T15:33:08.999Z] Login Succeeded [2021-05-17T15:33:08.999Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:33:09.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:33:09.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:33:09.558Z] Configure a credential helper to remove this warning. See [2021-05-17T15:33:09.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:33:09.558Z] [2021-05-17T15:33:09.558Z] Login Succeeded [2021-05-17T15:33:09.558Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:33:09.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:33:10.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:33:10.443Z] Configure a credential helper to remove this warning. See [2021-05-17T15:33:10.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:33:10.443Z] [2021-05-17T15:33:10.443Z] Login Succeeded [2021-05-17T15:33:10.443Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:33:10.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:33:10.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:33:10.726Z] Configure a credential helper to remove this warning. See [2021-05-17T15:33:10.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:33:10.726Z] [2021-05-17T15:33:10.726Z] Login Succeeded [2021-05-17T15:33:10.726Z] docker.io [2021-05-17T15:33:11.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:33:11.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:33:11.599Z] Configure a credential helper to remove this warning. See [2021-05-17T15:33:11.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:33:11.599Z] [2021-05-17T15:33:11.599Z] Login Succeeded [2021-05-17T15:33:11.599Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:33:11.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T15:33:11.947Z] ========================================================= [2021-05-17T15:33:11.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T15:33:11.947Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:33:12.305Z] + 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-17T15:33:12.916Z] Sending build context to Docker daemon 8.575MB [2021-05-17T15:33:12.917Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:33:12.917Z] Step 2/8 : FROM ${BASE} [2021-05-17T15:33:12.917Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T15:33:12.917Z] 595b0fe564bb: Pulling fs layer [2021-05-17T15:33:12.917Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T15:33:12.917Z] 316046926c0a: Pulling fs layer [2021-05-17T15:33:12.917Z] 4ebd0625c992: Pulling fs layer [2021-05-17T15:33:12.917Z] 207e8628e3a3: Pulling fs layer [2021-05-17T15:33:12.917Z] c791037a9be2: Pulling fs layer [2021-05-17T15:33:12.917Z] ffd874e62e21: Pulling fs layer [2021-05-17T15:33:12.917Z] 4ebd0625c992: Waiting [2021-05-17T15:33:12.917Z] 207e8628e3a3: Waiting [2021-05-17T15:33:12.917Z] c791037a9be2: Waiting [2021-05-17T15:33:12.917Z] ffd874e62e21: Waiting [2021-05-17T15:33:12.917Z] 316046926c0a: Verifying Checksum [2021-05-17T15:33:12.917Z] 316046926c0a: Download complete [2021-05-17T15:33:12.917Z] 7186ed65a4f7: Verifying Checksum [2021-05-17T15:33:12.917Z] 7186ed65a4f7: Download complete [2021-05-17T15:33:12.917Z] 207e8628e3a3: Verifying Checksum [2021-05-17T15:33:12.917Z] 207e8628e3a3: Download complete [2021-05-17T15:33:12.917Z] c791037a9be2: Download complete [2021-05-17T15:33:13.199Z] 595b0fe564bb: Download complete [2021-05-17T15:33:13.801Z] 595b0fe564bb: Pull complete [2021-05-17T15:33:14.416Z] 7186ed65a4f7: Pull complete [2021-05-17T15:33:15.016Z] ffd874e62e21: Verifying Checksum [2021-05-17T15:33:15.016Z] 316046926c0a: Pull complete [2021-05-17T15:33:16.453Z] 4ebd0625c992: Verifying Checksum [2021-05-17T15:33:16.453Z] 4ebd0625c992: Download complete [2021-05-17T15:33:20.427Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-17T15:33:20.427Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.429s coverage: 63.8% of statements [2021-05-17T15:33:20.427Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-17T15:33:26.701Z] 4ebd0625c992: Pull complete [2021-05-17T15:33:26.701Z] 207e8628e3a3: Pull complete [2021-05-17T15:33:26.975Z] c791037a9be2: Pull complete [2021-05-17T15:33:28.631Z] gofmt -l . [2021-05-17T15:33:28.631Z] [ "`gofmt -l .`" = "" ] [2021-05-17T15:33:28.631Z] ./bin/test-attribution-txt.sh [2021-05-17T15:33:28.631Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-17T15:33:28.645Z] $ docker stop --time=1 a12899528fb4848059b9665207fc60291d6a7e6af609aae7ceec5a4ce5840f4e [2021-05-17T15:33:30.587Z] $ docker rm -f a12899528fb4848059b9665207fc60291d6a7e6af609aae7ceec5a4ce5840f4e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:33:31.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T15:33:31.292Z] ffd874e62e21: Pull complete [2021-05-17T15:33:31.292Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T15:33:31.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T15:33:31.292Z] ---> cfc18b08335c [2021-05-17T15:33:31.292Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T15:33:31.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-17T15:33:33.949Z] ---> Running in 19522cae1d9e [2021-05-17T15:33:33.949Z] Removing intermediate container 19522cae1d9e [2021-05-17T15:33:33.949Z] ---> 0c437098f439 [2021-05-17T15:33:33.949Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:33:34.249Z] ---> Running in d88e6eb8b22a [Pipeline] sh [2021-05-17T15:33:35.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T15:33:35.467Z] + ls -al . [2021-05-17T15:33:35.467Z] total 132 [2021-05-17T15:33:35.467Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 17 15:33 . [2021-05-17T15:33:35.467Z] drwxrwxr-x. 4 jenkins jenkins 30 May 17 15:31 .. [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 17 15:31 Attribution.txt [2021-05-17T15:33:35.467Z] drwxrwxr-x. 2 jenkins jenkins 64 May 17 15:31 bin [2021-05-17T15:33:35.467Z] drwxrwxr-x. 3 jenkins jenkins 32 May 17 15:31 cmd [2021-05-17T15:33:35.467Z] -rw-r--r--. 1 jenkins jenkins 47247 May 17 15:33 coverage.out [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 17 15:31 Dockerfile [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 998 May 17 15:31 Dockerfile.build [2021-05-17T15:33:35.467Z] drwxrwxr-x. 8 jenkins jenkins 162 May 17 15:32 .git [2021-05-17T15:33:35.467Z] drwxrwxr-x. 2 jenkins jenkins 103 May 17 15:31 .github [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 277 May 17 15:31 .gitignore [2021-05-17T15:33:35.467Z] -rw-r--r--. 1 jenkins jenkins 809 May 17 15:33 go.mod [2021-05-17T15:33:35.467Z] -rw-r--r--. 1 jenkins jenkins 23036 May 17 15:32 go.sum [2021-05-17T15:33:35.467Z] drwxrwxr-x. 3 jenkins jenkins 20 May 17 15:31 internal [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 660 May 17 15:31 Jenkinsfile [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 17 15:31 LICENSE [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 914 May 17 15:31 Makefile [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 17 15:31 README.md [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 12 May 17 15:30 VERSION [2021-05-17T15:33:35.467Z] -rw-rw-r--. 1 jenkins jenkins 235 May 17 15:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:33:35.779Z] + 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=702ee4ef1a6f7523fa240909d56a13b89c8d46ac --label arch=amd64 --label version=1.3.2-dev.15 . [2021-05-17T15:33:36.044Z] Sending build context to Docker daemon 8.648MB [2021-05-17T15:33:36.044Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:33:36.044Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-17T15:33:36.044Z] ---> e20edb7a8486 [2021-05-17T15:33:36.044Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-17T15:33:36.044Z] ---> Running in 8d7fe8d400ec [2021-05-17T15:33:36.308Z] Removing intermediate container 8d7fe8d400ec [2021-05-17T15:33:36.308Z] ---> 7553433ab400 [2021-05-17T15:33:36.308Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-17T15:33:36.308Z] ---> Running in 7d6e035a277a [2021-05-17T15:33:36.570Z] Removing intermediate container 7d6e035a277a [2021-05-17T15:33:36.570Z] ---> 974da9b4379d [2021-05-17T15:33:36.570Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-17T15:33:36.570Z] ---> Running in ba348eada45c [2021-05-17T15:33:36.834Z] Removing intermediate container ba348eada45c [2021-05-17T15:33:36.834Z] ---> a374aa32c18a [2021-05-17T15:33:36.834Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:33:36.834Z] ---> Running in 8b594d1f4e3a [2021-05-17T15:33:36.912Z] Removing intermediate container d88e6eb8b22a [2021-05-17T15:33:36.912Z] ---> b904ff6e4c2d [2021-05-17T15:33:36.912Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T15:33:36.912Z] ---> Running in f320d712c0de [2021-05-17T15:33:37.787Z] Removing intermediate container 8b594d1f4e3a [2021-05-17T15:33:37.788Z] ---> aeb67dc281f7 [2021-05-17T15:33:37.788Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-17T15:33:37.788Z] ---> Running in 9ee5746c0b37 [2021-05-17T15:33:37.893Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:33:38.365Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:33:38.885Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:33:38.939Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T15:33:39.514Z] OK: 156 MiB in 53 packages [2021-05-17T15:33:39.884Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T15:33:39.885Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T15:33:40.089Z] Removing intermediate container 9ee5746c0b37 [2021-05-17T15:33:40.089Z] ---> 726804434245 [2021-05-17T15:33:40.089Z] Step 8/25 : COPY . . [2021-05-17T15:33:40.160Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T15:33:40.160Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T15:33:40.160Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T15:33:40.361Z] ---> cb681bc4e09f [2021-05-17T15:33:40.361Z] Step 9/25 : RUN go mod download [2021-05-17T15:33:40.361Z] ---> Running in 2a148515d3d6 [2021-05-17T15:33:40.442Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T15:33:40.442Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T15:33:41.048Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T15:33:41.048Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T15:33:41.048Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T15:33:41.048Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T15:33:41.314Z] Removing intermediate container 2a148515d3d6 [2021-05-17T15:33:41.314Z] ---> 7b64eb714eea [2021-05-17T15:33:41.314Z] Step 10/25 : ARG MAKE='make build' [2021-05-17T15:33:41.314Z] ---> Running in 240a76a5f5ff [2021-05-17T15:33:41.322Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T15:33:41.322Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T15:33:41.577Z] Removing intermediate container 240a76a5f5ff [2021-05-17T15:33:41.577Z] ---> a2b3cd6164c0 [2021-05-17T15:33:41.577Z] Step 11/25 : RUN $MAKE [2021-05-17T15:33:41.577Z] ---> Running in f036c63c5cf5 [2021-05-17T15:33:41.597Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T15:33:41.597Z] OK: 145 MiB in 53 packages [2021-05-17T15:33:42.166Z] go mod tidy [2021-05-17T15:33:42.166Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.15" -o cmd/device-virtual ./cmd [2021-05-17T15:33:43.043Z] Removing intermediate container f320d712c0de [2021-05-17T15:33:43.043Z] ---> 7756293de95b [2021-05-17T15:33:43.043Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T15:33:43.319Z] ---> Running in 66d926dfd4b5 [2021-05-17T15:33:43.928Z] Removing intermediate container 66d926dfd4b5 [2021-05-17T15:33:43.928Z] ---> a757befe1ff3 [2021-05-17T15:33:43.928Z] Step 7/8 : COPY . . [2021-05-17T15:33:44.911Z] ---> f36ec4fc4dbf [2021-05-17T15:33:44.911Z] Step 8/8 : RUN go mod download [2021-05-17T15:33:45.186Z] ---> Running in f3200c748e7d [2021-05-17T15:34:00.450Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-17T15:34:02.392Z] Removing intermediate container f036c63c5cf5 [2021-05-17T15:34:02.392Z] ---> bebeec8fb10f [2021-05-17T15:34:02.392Z] Step 12/25 : FROM alpine:3.12 [2021-05-17T15:34:02.656Z] 3.12: Pulling from library/alpine [2021-05-17T15:34:02.918Z] 339de151aab4: Pulling fs layer [2021-05-17T15:34:02.918Z] 339de151aab4: Verifying Checksum [2021-05-17T15:34:02.918Z] 339de151aab4: Download complete [2021-05-17T15:34:03.180Z] 339de151aab4: Pull complete [2021-05-17T15:34:03.180Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T15:34:03.180Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T15:34:03.180Z] ---> 13621d1b12d4 [2021-05-17T15:34:03.443Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-17T15:34:03.443Z] ---> Running in 6601c101c233 [2021-05-17T15:34:03.443Z] Removing intermediate container 6601c101c233 [2021-05-17T15:34:03.443Z] ---> 397aeed3225d [2021-05-17T15:34:03.443Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:34:03.707Z] ---> Running in a2721353ecd2 [2021-05-17T15:34:04.284Z] Removing intermediate container a2721353ecd2 [2021-05-17T15:34:04.284Z] ---> 16de9b4c51fe [2021-05-17T15:34:04.284Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-17T15:34:04.551Z] ---> Running in bac521a221db [2021-05-17T15:34:05.127Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:34:05.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-17T15:34:05.964Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-17T15:34:06.227Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-17T15:34:06.227Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-17T15:34:06.227Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-17T15:34:07.175Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-17T15:34:07.437Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-17T15:34:07.437Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T15:34:07.437Z] OK: 8 MiB in 20 packages [2021-05-17T15:34:08.012Z] Removing intermediate container bac521a221db [2021-05-17T15:34:08.012Z] ---> c1b39b11b30d [2021-05-17T15:34:08.012Z] Step 16/25 : WORKDIR / [2021-05-17T15:34:08.274Z] ---> Running in 93db9c90ae0a [2021-05-17T15:34:08.274Z] Removing intermediate container 93db9c90ae0a [2021-05-17T15:34:08.274Z] ---> c72785ed7230 [2021-05-17T15:34:08.274Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-17T15:34:08.847Z] ---> b96de085222c [2021-05-17T15:34:08.847Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-17T15:34:08.847Z] ---> 14072b50b311 [2021-05-17T15:34:08.847Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-17T15:34:09.422Z] ---> 245fd5a639cf [2021-05-17T15:34:09.422Z] Step 20/25 : EXPOSE 49990 [2021-05-17T15:34:09.685Z] ---> Running in a071bab7f0c5 [2021-05-17T15:34:09.685Z] Removing intermediate container a071bab7f0c5 [2021-05-17T15:34:09.685Z] ---> 5d4164047949 [2021-05-17T15:34:09.685Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-17T15:34:09.685Z] ---> Running in fbcb52365a66 [2021-05-17T15:34:09.946Z] Removing intermediate container fbcb52365a66 [2021-05-17T15:34:09.946Z] ---> e909ad7d0e03 [2021-05-17T15:34:09.946Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T15:34:09.946Z] ---> Running in 98bfeffb62da [2021-05-17T15:34:10.210Z] Removing intermediate container 98bfeffb62da [2021-05-17T15:34:10.210Z] ---> 00a8f3385ab7 [2021-05-17T15:34:10.210Z] Step 23/25 : LABEL arch=amd64 [2021-05-17T15:34:10.210Z] ---> Running in 06b92a7240e0 [2021-05-17T15:34:10.471Z] Removing intermediate container 06b92a7240e0 [2021-05-17T15:34:10.471Z] ---> 8db47e2a5a40 [2021-05-17T15:34:10.471Z] Step 24/25 : LABEL git_sha=702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:34:10.471Z] ---> Running in 9d2a356c9806 [2021-05-17T15:34:10.733Z] Removing intermediate container 9d2a356c9806 [2021-05-17T15:34:10.733Z] ---> 9b511793f5fe [2021-05-17T15:34:10.733Z] Step 25/25 : LABEL version=1.3.2-dev.15 [2021-05-17T15:34:10.733Z] ---> Running in 7e715be70869 [2021-05-17T15:34:10.733Z] Removing intermediate container 7e715be70869 [2021-05-17T15:34:10.733Z] ---> 220506ff6fc6 [2021-05-17T15:34:10.733Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-17T15:34:10.733Z] Successfully built 220506ff6fc6 [2021-05-17T15:34:10.995Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:34:11.281Z] provisioning config files... [2021-05-17T15:34:11.295Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config6757515801570213622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:34:11.617Z] ---> docker-login.sh [2021-05-17T15:34:11.617Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:34:11.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:34:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:34:11.882Z] Configure a credential helper to remove this warning. See [2021-05-17T15:34:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:34:11.882Z] [2021-05-17T15:34:11.882Z] Login Succeeded [2021-05-17T15:34:11.882Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:34:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:34:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:34:11.882Z] Configure a credential helper to remove this warning. See [2021-05-17T15:34:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:34:11.882Z] [2021-05-17T15:34:11.882Z] Login Succeeded [2021-05-17T15:34:11.882Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:34:12.045Z] Removing intermediate container f3200c748e7d [2021-05-17T15:34:12.045Z] ---> 3474cc3b2a9f [2021-05-17T15:34:12.045Z] Successfully built 3474cc3b2a9f [2021-05-17T15:34:12.045Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:12.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:34:12.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:34:12.146Z] Configure a credential helper to remove this warning. See [2021-05-17T15:34:12.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:34:12.146Z] [2021-05-17T15:34:12.146Z] Login Succeeded [2021-05-17T15:34:12.146Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:34:12.402Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T15:34:12.402Z] . [2021-05-17T15:34:12.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:34:12.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:34:12.410Z] Configure a credential helper to remove this warning. See [2021-05-17T15:34:12.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:34:12.410Z] [2021-05-17T15:34:12.410Z] Login Succeeded [2021-05-17T15:34:12.410Z] docker.io [2021-05-17T15:34:12.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer [2021-05-17T15:34:12.674Z] prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2021-05-17T15:34:12.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:34:12.674Z] Configure a credential helper to remove this warning. See [2021-05-17T15:34:12.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:34:12.674Z] [2021-05-17T15:34:12.674Z] Login Succeeded [2021-05-17T15:34:12.674Z] ---> docker-login.sh ends [2021-05-17T15:34:12.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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-arm64 cat [2021-05-17T15:34:14.369Z] $ docker top b8a57e042a44cf52edd6cea9375acfef62e09d077b4bc743e0fc79f494a0d4f2 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-17T15:34:14.711Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-17T15:34:14.840Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-05-17T15:34:14.840Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:34:14.840Z] latest [2021-05-17T15:34:14.840Z] 1.3.2-dev.15 [2021-05-17T15:34:14.840Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:34:14.840Z] master [2021-05-17T15:34:14.840Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:15.203Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:15.374Z] + go version [2021-05-17T15:34:15.374Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-17T15:34:15.402Z] $ docker stop --time=1 b8a57e042a44cf52edd6cea9375acfef62e09d077b4bc743e0fc79f494a0d4f2 [2021-05-17T15:34:15.519Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:34:15.519Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-17T15:34:15.519Z] d6a6d47ac0f5: Preparing [2021-05-17T15:34:15.519Z] c1ae11779989: Preparing [2021-05-17T15:34:15.519Z] 177f5ac565a2: Preparing [2021-05-17T15:34:15.519Z] 1db83dc1fb39: Preparing [2021-05-17T15:34:15.519Z] 2ac94a5c6f03: Preparing [2021-05-17T15:34:15.519Z] 32f366d666a5: Preparing [2021-05-17T15:34:15.519Z] 32f366d666a5: Waiting [2021-05-17T15:34:15.787Z] c1ae11779989: Pushed [2021-05-17T15:34:15.787Z] 2ac94a5c6f03: Pushed [2021-05-17T15:34:15.787Z] 177f5ac565a2: Pushed [2021-05-17T15:34:15.787Z] 32f366d666a5: Layer already exists [2021-05-17T15:34:15.787Z] 1db83dc1fb39: Pushed [2021-05-17T15:34:17.182Z] d6a6d47ac0f5: Pushed [2021-05-17T15:34:17.182Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac: digest: sha256:729aca7cba8b1cb47c084f016f690cd319c88d8cb94e17a4097fe5ab75e07aed size: 1572 [2021-05-17T15:34:17.294Z] $ docker rm -f b8a57e042a44cf52edd6cea9375acfef62e09d077b4bc743e0fc79f494a0d4f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:17.935Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:18.064Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T15:34:18.064Z] . [Pipeline] withDockerContainer [2021-05-17T15:34:18.242Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-17T15:34:18.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-17T15:34:18.242Z] d6a6d47ac0f5: Preparing [2021-05-17T15:34:18.242Z] c1ae11779989: Preparing [2021-05-17T15:34:18.242Z] 177f5ac565a2: Preparing [2021-05-17T15:34:18.242Z] 1db83dc1fb39: Preparing [2021-05-17T15:34:18.242Z] 2ac94a5c6f03: Preparing [2021-05-17T15:34:18.242Z] 32f366d666a5: Preparing [2021-05-17T15:34:18.242Z] 32f366d666a5: Waiting [2021-05-17T15:34:18.242Z] 1db83dc1fb39: Layer already exists [2021-05-17T15:34:18.242Z] 177f5ac565a2: Layer already exists [2021-05-17T15:34:18.242Z] c1ae11779989: Layer already exists [2021-05-17T15:34:18.242Z] d6a6d47ac0f5: Layer already exists [2021-05-17T15:34:18.242Z] 2ac94a5c6f03: Layer already exists [2021-05-17T15:34:18.242Z] 32f366d666a5: Layer already exists [2021-05-17T15:34:18.242Z] latest: digest: sha256:729aca7cba8b1cb47c084f016f690cd319c88d8cb94e17a4097fe5ab75e07aed size: 1572 [2021-05-17T15:34:18.335Z] prd-ubuntu18.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2021-05-17T15:34:18.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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-arm64 cat [2021-05-17T15:34:19.929Z] $ docker top 223d3732c3e69b5d23ae7e97528ea0c69ed5aa005f66e08fbd0727b0d0704516 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:20.596Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:20.882Z] + go mod tidy [2021-05-17T15:34:20.898Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.15 [2021-05-17T15:34:20.898Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-17T15:34:20.898Z] d6a6d47ac0f5: Preparing [2021-05-17T15:34:20.898Z] c1ae11779989: Preparing [2021-05-17T15:34:20.898Z] 177f5ac565a2: Preparing [2021-05-17T15:34:20.898Z] 1db83dc1fb39: Preparing [2021-05-17T15:34:20.898Z] 2ac94a5c6f03: Preparing [2021-05-17T15:34:20.898Z] 32f366d666a5: Preparing [2021-05-17T15:34:20.898Z] 32f366d666a5: Waiting [2021-05-17T15:34:20.898Z] 1db83dc1fb39: Layer already exists [2021-05-17T15:34:20.898Z] 2ac94a5c6f03: Layer already exists [2021-05-17T15:34:20.898Z] c1ae11779989: Layer already exists [2021-05-17T15:34:20.898Z] 177f5ac565a2: Layer already exists [2021-05-17T15:34:20.898Z] d6a6d47ac0f5: Layer already exists [2021-05-17T15:34:20.898Z] 32f366d666a5: Layer already exists [2021-05-17T15:34:20.898Z] 1.3.2-dev.15: digest: sha256:729aca7cba8b1cb47c084f016f690cd319c88d8cb94e17a4097fe5ab75e07aed size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:21.207Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-05-17T15:34:21.511Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:34:21.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-17T15:34:21.511Z] d6a6d47ac0f5: Preparing [2021-05-17T15:34:21.511Z] c1ae11779989: Preparing [2021-05-17T15:34:21.511Z] 177f5ac565a2: Preparing [2021-05-17T15:34:21.511Z] 1db83dc1fb39: Preparing [2021-05-17T15:34:21.511Z] 2ac94a5c6f03: Preparing [2021-05-17T15:34:21.511Z] 32f366d666a5: Preparing [2021-05-17T15:34:21.511Z] 32f366d666a5: Waiting [2021-05-17T15:34:21.511Z] d6a6d47ac0f5: Layer already exists [2021-05-17T15:34:21.511Z] c1ae11779989: Layer already exists [2021-05-17T15:34:21.511Z] 2ac94a5c6f03: Layer already exists [2021-05-17T15:34:21.511Z] 177f5ac565a2: Layer already exists [2021-05-17T15:34:21.511Z] 1db83dc1fb39: Layer already exists [2021-05-17T15:34:21.511Z] 32f366d666a5: Layer already exists [2021-05-17T15:34:21.511Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15: digest: sha256:729aca7cba8b1cb47c084f016f690cd319c88d8cb94e17a4097fe5ab75e07aed size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:21.866Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:34:22.157Z] + make test [2021-05-17T15:34:22.157Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-17T15:34:22.173Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-05-17T15:34:22.173Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-17T15:34:22.173Z] d6a6d47ac0f5: Preparing [2021-05-17T15:34:22.173Z] c1ae11779989: Preparing [2021-05-17T15:34:22.173Z] 177f5ac565a2: Preparing [2021-05-17T15:34:22.173Z] 1db83dc1fb39: Preparing [2021-05-17T15:34:22.173Z] 2ac94a5c6f03: Preparing [2021-05-17T15:34:22.173Z] 32f366d666a5: Preparing [2021-05-17T15:34:22.173Z] 32f366d666a5: Waiting [2021-05-17T15:34:22.173Z] 2ac94a5c6f03: Layer already exists [2021-05-17T15:34:22.173Z] d6a6d47ac0f5: Layer already exists [2021-05-17T15:34:22.173Z] 177f5ac565a2: Layer already exists [2021-05-17T15:34:22.173Z] c1ae11779989: Layer already exists [2021-05-17T15:34:22.173Z] 1db83dc1fb39: Layer already exists [2021-05-17T15:34:22.173Z] 32f366d666a5: Layer already exists [2021-05-17T15:34:22.173Z] master: digest: sha256:729aca7cba8b1cb47c084f016f690cd319c88d8cb94e17a4097fe5ab75e07aed size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-17T15:34:22.232Z] ===================================================== [Pipeline] echo [2021-05-17T15:34:22.250Z] taggedImages: [2021-05-17T15:34:22.250Z] - nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:34:22.250Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-17T15:34:22.250Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.15 [2021-05-17T15:34:22.250Z] - nexus3.edgexfoundry.org:10004/device-virtual:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:34:22.250Z] - 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-17T15:34:22.910Z] ---> job-cost.sh [2021-05-17T15:34:22.910Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nb4g [2021-05-17T15:34:23.613Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-17T15:34:37.859Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T15:35:04.496Z] lf-activate-venv(): INFO: Adding /tmp/venv-Nb4g/bin to PATH [2021-05-17T15:35:04.496Z] INFO: No Stack... [2021-05-17T15:35:04.496Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T15:35:04.496Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T15:35:04.808Z] + cat /w/workspace/device-virtual-go/55/archives/cost.csv [2021-05-17T15:35:04.808Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T15:35:04.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] [2021-05-17T15:35:04.877Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] did not exist. Created. [2021-05-17T15:35:04.877Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T15:35:05.198Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-17T15:35:05.289Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T15:35:05.312Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T15:35:31.740Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-17T15:35:31.740Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.814s coverage: 63.8% of statements [2021-05-17T15:35:31.740Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-17T15:35:58.559Z] gofmt -l . [2021-05-17T15:35:58.559Z] [ "`gofmt -l .`" = "" ] [2021-05-17T15:35:58.559Z] ./bin/test-attribution-txt.sh [2021-05-17T15:35:59.545Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-17T15:36:00.167Z] $ docker stop --time=1 223d3732c3e69b5d23ae7e97528ea0c69ed5aa005f66e08fbd0727b0d0704516 [2021-05-17T15:36:02.347Z] $ docker rm -f 223d3732c3e69b5d23ae7e97528ea0c69ed5aa005f66e08fbd0727b0d0704516 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:36:03.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T15:36:03.378Z] Warning: overwriting stash ‘coverage-report’ [2021-05-17T15:36:03.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:36:04.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T15:36:04.842Z] + ls -al . [2021-05-17T15:36:04.842Z] total 156 [2021-05-17T15:36:04.842Z] drwxrwxr-x 7 jenkins jenkins 4096 May 17 15:35 . [2021-05-17T15:36:04.842Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 15:32 .. [2021-05-17T15:36:04.842Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 15:33 .git [2021-05-17T15:36:04.842Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 15:32 .github [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 277 May 17 15:32 .gitignore [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 17 15:32 Attribution.txt [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 17 15:32 Dockerfile [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 998 May 17 15:32 Dockerfile.build [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 660 May 17 15:32 Jenkinsfile [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 15:32 LICENSE [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 914 May 17 15:32 Makefile [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 17 15:32 README.md [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 12 May 17 15:30 VERSION [2021-05-17T15:36:04.842Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 15:32 bin [2021-05-17T15:36:04.842Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 15:32 cmd [2021-05-17T15:36:04.842Z] -rw-r--r-- 1 jenkins jenkins 47247 May 17 15:35 coverage.out [2021-05-17T15:36:04.842Z] -rw-r--r-- 1 jenkins jenkins 809 May 17 15:35 go.mod [2021-05-17T15:36:04.842Z] -rw-r--r-- 1 jenkins jenkins 23036 May 17 15:34 go.sum [2021-05-17T15:36:04.842Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 15:32 internal [2021-05-17T15:36:04.842Z] -rw-rw-r-- 1 jenkins jenkins 235 May 17 15:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:36:05.191Z] + 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=702ee4ef1a6f7523fa240909d56a13b89c8d46ac --label arch=arm64 --label version=1.3.2-dev.15 . [2021-05-17T15:36:05.468Z] Sending build context to Docker daemon 8.647MB [2021-05-17T15:36:05.743Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:36:05.743Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-17T15:36:05.743Z] ---> 3474cc3b2a9f [2021-05-17T15:36:05.743Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-17T15:36:06.017Z] ---> Running in bdca528bb4eb [2021-05-17T15:36:06.291Z] Removing intermediate container bdca528bb4eb [2021-05-17T15:36:06.291Z] ---> 2f9b2e1a276b [2021-05-17T15:36:06.291Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-17T15:36:06.567Z] ---> Running in d23c87fdd292 [2021-05-17T15:36:07.163Z] Removing intermediate container d23c87fdd292 [2021-05-17T15:36:07.163Z] ---> 87263c51b1c4 [2021-05-17T15:36:07.163Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-17T15:36:07.163Z] ---> Running in efe635a5b3d4 [2021-05-17T15:36:07.762Z] Removing intermediate container efe635a5b3d4 [2021-05-17T15:36:07.762Z] ---> 5a58bbe88781 [2021-05-17T15:36:07.762Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:36:07.762Z] ---> Running in 245114d9d7d7 [2021-05-17T15:36:09.762Z] Removing intermediate container 245114d9d7d7 [2021-05-17T15:36:09.762Z] ---> da1b248f6a47 [2021-05-17T15:36:09.762Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-17T15:36:10.038Z] ---> Running in f3ddfd31e906 [2021-05-17T15:36:11.031Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:36:12.036Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:36:13.020Z] OK: 145 MiB in 53 packages [2021-05-17T15:36:14.471Z] Removing intermediate container f3ddfd31e906 [2021-05-17T15:36:14.471Z] ---> 6ef3e1c309c0 [2021-05-17T15:36:14.471Z] Step 8/25 : COPY . . [2021-05-17T15:36:15.450Z] ---> cda71911ca18 [2021-05-17T15:36:15.450Z] Step 9/25 : RUN go mod download [2021-05-17T15:36:15.724Z] ---> Running in 4bee5d44c3dc [2021-05-17T15:36:18.351Z] Removing intermediate container 4bee5d44c3dc [2021-05-17T15:36:18.351Z] ---> a3018e06efe1 [2021-05-17T15:36:18.351Z] Step 10/25 : ARG MAKE='make build' [2021-05-17T15:36:18.351Z] ---> Running in 990b1652dab3 [2021-05-17T15:36:18.623Z] Removing intermediate container 990b1652dab3 [2021-05-17T15:36:18.623Z] ---> 82c63b80e7c0 [2021-05-17T15:36:18.623Z] Step 11/25 : RUN $MAKE [2021-05-17T15:36:18.623Z] ---> Running in 64900c6c2af1 [2021-05-17T15:36:19.602Z] go mod tidy [2021-05-17T15:36:20.201Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.15" -o cmd/device-virtual ./cmd [2021-05-17T15:37:16.778Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-17T15:37:21.106Z] Removing intermediate container 64900c6c2af1 [2021-05-17T15:37:21.106Z] ---> a0878ea28c2f [2021-05-17T15:37:21.106Z] Step 12/25 : FROM alpine:3.12 [2021-05-17T15:37:21.106Z] 3.12: Pulling from library/alpine [2021-05-17T15:37:21.106Z] d2f70382dc9a: Pulling fs layer [2021-05-17T15:37:21.381Z] d2f70382dc9a: Verifying Checksum [2021-05-17T15:37:21.381Z] d2f70382dc9a: Download complete [2021-05-17T15:37:21.983Z] d2f70382dc9a: Pull complete [2021-05-17T15:37:21.983Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T15:37:21.983Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T15:37:21.983Z] ---> 9852663dfa18 [2021-05-17T15:37:21.983Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-17T15:37:22.261Z] ---> Running in c72d79bdd05b [2021-05-17T15:37:22.864Z] Removing intermediate container c72d79bdd05b [2021-05-17T15:37:22.864Z] ---> c8cede46f794 [2021-05-17T15:37:22.864Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:37:22.864Z] ---> Running in 9949574a97e2 [2021-05-17T15:37:25.517Z] Removing intermediate container 9949574a97e2 [2021-05-17T15:37:25.517Z] ---> 4d402648a944 [2021-05-17T15:37:25.517Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-17T15:37:25.517Z] ---> Running in b890ff139b11 [2021-05-17T15:37:26.511Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:37:27.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:37:28.092Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-17T15:37:28.092Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-17T15:37:28.367Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-17T15:37:28.367Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-17T15:37:28.646Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-17T15:37:28.646Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-17T15:37:28.646Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T15:37:28.646Z] OK: 8 MiB in 20 packages [2021-05-17T15:37:30.090Z] Removing intermediate container b890ff139b11 [2021-05-17T15:37:30.090Z] ---> 34f9e1ec0790 [2021-05-17T15:37:30.090Z] Step 16/25 : WORKDIR / [2021-05-17T15:37:30.366Z] ---> Running in c7a4828656d5 [2021-05-17T15:37:30.964Z] Removing intermediate container c7a4828656d5 [2021-05-17T15:37:30.964Z] ---> f3abcea8522a [2021-05-17T15:37:30.964Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-17T15:37:31.562Z] ---> 7d618ec4910c [2021-05-17T15:37:31.562Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-17T15:37:32.555Z] ---> 09a8bb2c4ccb [2021-05-17T15:37:32.555Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-17T15:37:33.995Z] ---> fce6b5711ebf [2021-05-17T15:37:33.995Z] Step 20/25 : EXPOSE 49990 [2021-05-17T15:37:33.995Z] ---> Running in 17a2a7f4dfbd [2021-05-17T15:37:34.268Z] Removing intermediate container 17a2a7f4dfbd [2021-05-17T15:37:34.268Z] ---> bf3634dc3def [2021-05-17T15:37:34.268Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-17T15:37:34.542Z] ---> Running in e42bd8f106c3 [2021-05-17T15:37:35.150Z] Removing intermediate container e42bd8f106c3 [2021-05-17T15:37:35.150Z] ---> 4ca9410eb0db [2021-05-17T15:37:35.150Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T15:37:35.150Z] ---> Running in 04e84cc758d7 [2021-05-17T15:37:35.764Z] Removing intermediate container 04e84cc758d7 [2021-05-17T15:37:35.764Z] ---> 08c007ba39f9 [2021-05-17T15:37:35.764Z] Step 23/25 : LABEL arch=arm64 [2021-05-17T15:37:35.764Z] ---> Running in 78f1badf842d [2021-05-17T15:37:36.362Z] Removing intermediate container 78f1badf842d [2021-05-17T15:37:36.362Z] ---> 043d8bbf0855 [2021-05-17T15:37:36.362Z] Step 24/25 : LABEL git_sha=702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:37:36.362Z] ---> Running in 49d472b444d9 [2021-05-17T15:37:36.962Z] Removing intermediate container 49d472b444d9 [2021-05-17T15:37:36.962Z] ---> c76e1aa5271f [2021-05-17T15:37:36.962Z] Step 25/25 : LABEL version=1.3.2-dev.15 [2021-05-17T15:37:36.962Z] ---> Running in c660d24dba5e [2021-05-17T15:37:37.560Z] Removing intermediate container c660d24dba5e [2021-05-17T15:37:37.560Z] ---> 661bad2ee6f6 [2021-05-17T15:37:37.560Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-17T15:37:37.560Z] Successfully built 661bad2ee6f6 [2021-05-17T15:37:37.560Z] 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-17T15:37:37.798Z] provisioning config files... [2021-05-17T15:37:37.822Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config5736618008662795806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:37:38.193Z] ---> docker-login.sh [2021-05-17T15:37:38.193Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:37:38.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:37:38.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:37:38.752Z] Configure a credential helper to remove this warning. See [2021-05-17T15:37:38.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:37:38.752Z] [2021-05-17T15:37:38.752Z] Login Succeeded [2021-05-17T15:37:38.752Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:37:39.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:37:39.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:37:39.300Z] Configure a credential helper to remove this warning. See [2021-05-17T15:37:39.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:37:39.300Z] [2021-05-17T15:37:39.300Z] Login Succeeded [2021-05-17T15:37:39.300Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:37:39.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:37:39.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:37:39.849Z] Configure a credential helper to remove this warning. See [2021-05-17T15:37:39.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:37:39.849Z] [2021-05-17T15:37:39.849Z] Login Succeeded [2021-05-17T15:37:39.849Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:37:40.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:37:40.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:37:40.449Z] Configure a credential helper to remove this warning. See [2021-05-17T15:37:40.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:37:40.449Z] [2021-05-17T15:37:40.449Z] Login Succeeded [2021-05-17T15:37:40.449Z] docker.io [2021-05-17T15:37:41.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:37:41.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:37:41.325Z] Configure a credential helper to remove this warning. See [2021-05-17T15:37:41.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:37:41.325Z] [2021-05-17T15:37:41.325Z] Login Succeeded [2021-05-17T15:37:41.325Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:37:41.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-17T15:37:41.416Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-05-17T15:37:41.416Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:37:41.416Z] latest [2021-05-17T15:37:41.416Z] 1.3.2-dev.15 [2021-05-17T15:37:41.416Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:37:41.416Z] master [2021-05-17T15:37:41.416Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:41.859Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:42.228Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:37:42.228Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-17T15:37:42.228Z] 3dbd3f1b6776: Preparing [2021-05-17T15:37:42.228Z] dcab37947891: Preparing [2021-05-17T15:37:42.228Z] b00798ce6f03: Preparing [2021-05-17T15:37:42.228Z] df28be3e3d20: Preparing [2021-05-17T15:37:42.228Z] 2c1c2d486d62: Preparing [2021-05-17T15:37:42.228Z] 3fbe34a1663b: Preparing [2021-05-17T15:37:42.228Z] 3fbe34a1663b: Waiting [2021-05-17T15:37:42.538Z] dcab37947891: Pushed [2021-05-17T15:37:42.539Z] b00798ce6f03: Pushed [2021-05-17T15:37:42.539Z] 2c1c2d486d62: Pushed [2021-05-17T15:37:42.539Z] 3fbe34a1663b: Layer already exists [2021-05-17T15:37:43.135Z] df28be3e3d20: Pushed [2021-05-17T15:37:45.764Z] 3dbd3f1b6776: Pushed [2021-05-17T15:37:46.034Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac: digest: sha256:e44ef5848fe93bef45e8505d10e45046d3b48f9217b3041daca4660527d4da49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:46.391Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:46.736Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-17T15:37:46.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-17T15:37:46.736Z] 3dbd3f1b6776: Preparing [2021-05-17T15:37:46.736Z] dcab37947891: Preparing [2021-05-17T15:37:46.736Z] b00798ce6f03: Preparing [2021-05-17T15:37:46.736Z] df28be3e3d20: Preparing [2021-05-17T15:37:46.736Z] 2c1c2d486d62: Preparing [2021-05-17T15:37:46.736Z] 3fbe34a1663b: Preparing [2021-05-17T15:37:46.736Z] 3fbe34a1663b: Waiting [2021-05-17T15:37:46.736Z] b00798ce6f03: Layer already exists [2021-05-17T15:37:46.736Z] 3dbd3f1b6776: Layer already exists [2021-05-17T15:37:46.736Z] df28be3e3d20: Layer already exists [2021-05-17T15:37:46.736Z] 2c1c2d486d62: Layer already exists [2021-05-17T15:37:46.736Z] dcab37947891: Layer already exists [2021-05-17T15:37:47.014Z] 3fbe34a1663b: Layer already exists [2021-05-17T15:37:47.014Z] latest: digest: sha256:e44ef5848fe93bef45e8505d10e45046d3b48f9217b3041daca4660527d4da49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:47.364Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:47.722Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.15 [2021-05-17T15:37:47.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-17T15:37:47.722Z] 3dbd3f1b6776: Preparing [2021-05-17T15:37:47.722Z] dcab37947891: Preparing [2021-05-17T15:37:47.722Z] b00798ce6f03: Preparing [2021-05-17T15:37:47.722Z] df28be3e3d20: Preparing [2021-05-17T15:37:47.722Z] 2c1c2d486d62: Preparing [2021-05-17T15:37:47.722Z] 3fbe34a1663b: Preparing [2021-05-17T15:37:47.722Z] 3fbe34a1663b: Waiting [2021-05-17T15:37:48.001Z] dcab37947891: Layer already exists [2021-05-17T15:37:48.001Z] 2c1c2d486d62: Layer already exists [2021-05-17T15:37:48.001Z] 3dbd3f1b6776: Layer already exists [2021-05-17T15:37:48.001Z] b00798ce6f03: Layer already exists [2021-05-17T15:37:48.001Z] df28be3e3d20: Layer already exists [2021-05-17T15:37:48.001Z] 3fbe34a1663b: Layer already exists [2021-05-17T15:37:48.001Z] 1.3.2-dev.15: digest: sha256:e44ef5848fe93bef45e8505d10e45046d3b48f9217b3041daca4660527d4da49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:48.354Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:48.710Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:37:48.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-17T15:37:48.710Z] 3dbd3f1b6776: Preparing [2021-05-17T15:37:48.710Z] dcab37947891: Preparing [2021-05-17T15:37:48.710Z] b00798ce6f03: Preparing [2021-05-17T15:37:48.710Z] df28be3e3d20: Preparing [2021-05-17T15:37:48.710Z] 2c1c2d486d62: Preparing [2021-05-17T15:37:48.710Z] 3fbe34a1663b: Preparing [2021-05-17T15:37:48.710Z] 3fbe34a1663b: Waiting [2021-05-17T15:37:48.985Z] 3dbd3f1b6776: Layer already exists [2021-05-17T15:37:48.985Z] b00798ce6f03: Layer already exists [2021-05-17T15:37:48.985Z] df28be3e3d20: Layer already exists [2021-05-17T15:37:48.985Z] 2c1c2d486d62: Layer already exists [2021-05-17T15:37:48.985Z] dcab37947891: Layer already exists [2021-05-17T15:37:48.985Z] 3fbe34a1663b: Layer already exists [2021-05-17T15:37:48.985Z] 702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15: digest: sha256:e44ef5848fe93bef45e8505d10e45046d3b48f9217b3041daca4660527d4da49 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:49.341Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:37:49.699Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-05-17T15:37:49.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-17T15:37:49.699Z] 3dbd3f1b6776: Preparing [2021-05-17T15:37:49.699Z] dcab37947891: Preparing [2021-05-17T15:37:49.699Z] b00798ce6f03: Preparing [2021-05-17T15:37:49.699Z] df28be3e3d20: Preparing [2021-05-17T15:37:49.699Z] 2c1c2d486d62: Preparing [2021-05-17T15:37:49.699Z] 3fbe34a1663b: Preparing [2021-05-17T15:37:49.699Z] 3fbe34a1663b: Waiting [2021-05-17T15:37:49.979Z] df28be3e3d20: Layer already exists [2021-05-17T15:37:49.979Z] dcab37947891: Layer already exists [2021-05-17T15:37:49.979Z] b00798ce6f03: Layer already exists [2021-05-17T15:37:49.979Z] 3dbd3f1b6776: Layer already exists [2021-05-17T15:37:49.979Z] 2c1c2d486d62: Layer already exists [2021-05-17T15:37:49.979Z] 3fbe34a1663b: Layer already exists [2021-05-17T15:37:49.979Z] master: digest: sha256:e44ef5848fe93bef45e8505d10e45046d3b48f9217b3041daca4660527d4da49 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-17T15:37:50.050Z] ===================================================== [Pipeline] echo [2021-05-17T15:37:50.067Z] taggedImages: [2021-05-17T15:37:50.067Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac [2021-05-17T15:37:50.067Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-17T15:37:50.067Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.15 [2021-05-17T15:37:50.067Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:702ee4ef1a6f7523fa240909d56a13b89c8d46ac-1.3.2-dev.15 [2021-05-17T15:37:50.067Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:37:50.639Z] ---> job-cost.sh [2021-05-17T15:37:50.639Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lzOD [2021-05-17T15:38:37.618Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T15:40:14.441Z] lf-activate-venv(): INFO: Adding /tmp/venv-lzOD/bin to PATH [2021-05-17T15:40:14.441Z] INFO: No Stack... [2021-05-17T15:40:14.441Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-17T15:40:14.717Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T15:40:15.075Z] + cut -d, -f6 [2021-05-17T15:40:15.075Z] + cat /w/workspace/device-virtual-go/55/archives/cost.csv [Pipeline] lock [2021-05-17T15:40:15.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] [2021-05-17T15:40:15.156Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] did not exist. Created. [2021-05-17T15:40:15.156Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T15:40:15.536Z] /w/workspace/device-virtual-go/55@tmp/durable-956d925d/script.sh: 1: /w/workspace/device-virtual-go/55@tmp/durable-956d925d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-17T15:40:15.893Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-17T15:40:15.926Z] Warning: overwriting stash ‘stack-cost’ [2021-05-17T15:40:16.084Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T15:40:16.098Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-55-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-17T15:40:16.973Z] provisioning config files... [2021-05-17T15:40:16.992Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5888754276151155814tmp [Pipeline] { [Pipeline] sh [2021-05-17T15:40:17.344Z] + set +x [2021-05-17T15:40:17.344Z] + curl -s https://codecov.io/bash [2021-05-17T15:40:17.344Z] + bash -s -- [2021-05-17T15:40:17.609Z] [2021-05-17T15:40:17.609Z] _____ _ [2021-05-17T15:40:17.609Z] / ____| | | [2021-05-17T15:40:17.609Z] | | ___ __| | ___ ___ _____ __ [2021-05-17T15:40:17.609Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-17T15:40:17.609Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-17T15:40:17.609Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-17T15:40:17.609Z] Bash-1.0.2 [2021-05-17T15:40:17.609Z] [2021-05-17T15:40:17.609Z] [2021-05-17T15:40:17.609Z] ==> git version 2.24.3 found [2021-05-17T15:40:17.609Z] ==> 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-17T15:40:17.609Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-17T15:40:17.609Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-17T15:40:17.609Z] ==> Jenkins CI detected. [2021-05-17T15:40:17.609Z] project root: . [2021-05-17T15:40:17.609Z] --> token set from env [2021-05-17T15:40:17.609Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-17T15:40:17.609Z] ==> Running gcov in . (disable via -X gcov) [2021-05-17T15:40:17.609Z] ==> Python coveragepy not found [2021-05-17T15:40:17.609Z] ==> Searching for coverage reports in: [2021-05-17T15:40:17.609Z] + . [2021-05-17T15:40:17.609Z] -> Found 1 reports [2021-05-17T15:40:17.609Z] ==> Detecting git/mercurial file structure [2021-05-17T15:40:17.609Z] ==> Reading reports [2021-05-17T15:40:17.609Z] + ./coverage.out bytes=47247 [2021-05-17T15:40:17.609Z] ==> Appending adjustments [2021-05-17T15:40:17.609Z] https://docs.codecov.io/docs/fixing-reports [2021-05-17T15:40:17.875Z] + Found adjustments [2021-05-17T15:40:17.875Z] ==> Gzipping contents [2021-05-17T15:40:17.875Z] 8.0K /tmp/codecov.ymfpRT.gz [2021-05-17T15:40:17.875Z] ==> Uploading reports [2021-05-17T15:40:17.875Z] url: https://codecov.io [2021-05-17T15:40:17.875Z] query: branch=master&commit=702ee4ef1a6f7523fa240909d56a13b89c8d46ac&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-17T15:40:17.875Z] -> Pinging Codecov [2021-05-17T15:40:17.875Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=702ee4ef1a6f7523fa240909d56a13b89c8d46ac&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-17T15:40:18.468Z] -> Uploading to [2021-05-17T15:40:18.468Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-17/5E52B4B073DB2E39498172D8E973AA87/702ee4ef1a6f7523fa240909d56a13b89c8d46ac/795af056-4cb8-48dc-9fa1-93b87f037070.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210517T154018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff3cce2b371369f8ba06ef824fc99a4227b0eca65aed616d7be7594d379c5ff6 [2021-05-17T15:40:18.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-17T15:40:18.468Z] Dload Upload Total Spent Left Speed [2021-05-17T15:40:18.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5758 0 0 100 5758 0 14379 --:--:-- --:--:-- --:--:-- 14359 [2021-05-17T15:40:18.732Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] } [2021-05-17T15:40:18.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-17T15:40:19.060Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-17T15:40:19.090Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:40:19.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-17T15:40:19.407Z] [2021-05-17T15:40:19.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:40:19.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-17T15:40:19.734Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-17T15:40:19.734Z] 188c0c94c7c5: Pulling fs layer [2021-05-17T15:40:19.734Z] 0ef7d3d256c8: Pulling fs layer [2021-05-17T15:40:19.734Z] de9db76c5a1d: Pulling fs layer [2021-05-17T15:40:19.734Z] 0eba1c9be4d2: Pulling fs layer [2021-05-17T15:40:19.734Z] 0d57e429df01: Pulling fs layer [2021-05-17T15:40:19.734Z] 4e4be7b47b0d: Pulling fs layer [2021-05-17T15:40:19.734Z] e1f770b5df2f: Pulling fs layer [2021-05-17T15:40:19.734Z] 85a0685a4137: Pulling fs layer [2021-05-17T15:40:19.734Z] 4e4be7b47b0d: Waiting [2021-05-17T15:40:19.734Z] e1f770b5df2f: Waiting [2021-05-17T15:40:19.734Z] 0eba1c9be4d2: Waiting [2021-05-17T15:40:19.734Z] 0d57e429df01: Waiting [2021-05-17T15:40:19.734Z] 85a0685a4137: Waiting [2021-05-17T15:40:19.734Z] de9db76c5a1d: Verifying Checksum [2021-05-17T15:40:19.734Z] de9db76c5a1d: Download complete [2021-05-17T15:40:19.734Z] 0ef7d3d256c8: Download complete [2021-05-17T15:40:19.734Z] 0d57e429df01: Verifying Checksum [2021-05-17T15:40:19.734Z] 0d57e429df01: Download complete [2021-05-17T15:40:19.734Z] 4e4be7b47b0d: Verifying Checksum [2021-05-17T15:40:19.734Z] 4e4be7b47b0d: Download complete [2021-05-17T15:40:19.734Z] 188c0c94c7c5: Verifying Checksum [2021-05-17T15:40:19.734Z] 188c0c94c7c5: Download complete [2021-05-17T15:40:20.317Z] 188c0c94c7c5: Pull complete [2021-05-17T15:40:20.581Z] 0ef7d3d256c8: Pull complete [2021-05-17T15:40:20.581Z] de9db76c5a1d: Pull complete [2021-05-17T15:40:21.977Z] e1f770b5df2f: Verifying Checksum [2021-05-17T15:40:21.977Z] e1f770b5df2f: Download complete [2021-05-17T15:40:24.552Z] 85a0685a4137: Verifying Checksum [2021-05-17T15:40:24.553Z] 85a0685a4137: Download complete [2021-05-17T15:40:24.553Z] 0eba1c9be4d2: Verifying Checksum [2021-05-17T15:40:24.553Z] 0eba1c9be4d2: Download complete [2021-05-17T15:40:29.916Z] 0eba1c9be4d2: Pull complete [2021-05-17T15:40:30.179Z] 0d57e429df01: Pull complete [2021-05-17T15:40:30.179Z] 4e4be7b47b0d: Pull complete [2021-05-17T15:40:32.748Z] e1f770b5df2f: Pull complete [2021-05-17T15:40:41.280Z] 85a0685a4137: Pull complete [2021-05-17T15:40:41.280Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-17T15:40:41.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-17T15:40:41.280Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-17T15:40:41.537Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:40:41.597Z] $ 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-17T15:40:42.661Z] $ docker top 254015d1526a002b755f038c2021e4e679e64e69f531d6cebab4229a8e0c517e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-17T15:40:42.805Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-17T15:40:43.106Z] + set -o pipefail [2021-05-17T15:40:43.106Z] + snyk monitor '--org=edgex-jenkins' [2021-05-17T15:41:01.287Z] [2021-05-17T15:41:01.287Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-17T15:41:01.287Z] [2021-05-17T15:41:01.287Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/43e99f34-9e8c-4e0d-a9d7-e5a99f3b43b2 [2021-05-17T15:41:01.287Z] [2021-05-17T15:41:01.287Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-17T15:41:01.287Z] [2021-05-17T15:41:01.287Z] [Pipeline] } [2021-05-17T15:41:01.306Z] $ docker stop --time=1 254015d1526a002b755f038c2021e4e679e64e69f531d6cebab4229a8e0c517e [2021-05-17T15:41:03.574Z] $ docker rm -f 254015d1526a002b755f038c2021e4e679e64e69f531d6cebab4229a8e0c517e [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-17T15:41:04.985Z] + git log --format=format:%s -1 702ee4ef1a6f7523fa240909d56a13b89c8d46ac [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:41:05.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:41:05.302Z] . [Pipeline] withDockerContainer [2021-05-17T15:41:05.404Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:41:05.457Z] $ 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-17T15:41:06.262Z] $ docker top 3ab659e8bb3e8c2f6d6c525099a2d71607b34e51d12148cd19ce1949961323df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:41:06.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:41:06.432Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:41:06.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:41:06.671Z] $ docker exec 3ab659e8bb3e8c2f6d6c525099a2d71607b34e51d12148cd19ce1949961323df ssh-agent [2021-05-17T15:41:06.849Z] SSH_AUTH_SOCK=/tmp/ssh-Bd6Q9aLO9YKl/agent.11 [2021-05-17T15:41:06.850Z] SSH_AGENT_PID=16 [2021-05-17T15:41:06.858Z] Running ssh-add (command line suppressed) [2021-05-17T15:41:06.984Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_796614645915253722.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_796614645915253722.key) [2021-05-17T15:41:07.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:41:07.354Z] + git semver tag [2021-05-17T15:41:07.354Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:41:07.354Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-17T15:41:07.354Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-17T15:41:07.354Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:41:07.354Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:41:07.354Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:41:07.354Z] # $SEMVER_BRANCH = master [2021-05-17T15:41:07.354Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-17T15:41:07.354Z] # 702ee4ef1a6f7523fa240909d56a13b89c8d46ac HEAD [2021-05-17T15:41:07.355Z] # -> Force: false [2021-05-17T15:41:07.355Z] # d8f326c3dcfb8b777eefd2a4f6fa858c3c1d1ae8 refs/tags/v1.3.2-dev.15 [Pipeline] } [2021-05-17T15:41:07.368Z] $ docker exec --env ******** --env ******** 3ab659e8bb3e8c2f6d6c525099a2d71607b34e51d12148cd19ce1949961323df ssh-agent -k [2021-05-17T15:41:07.493Z] unset SSH_AUTH_SOCK; [2021-05-17T15:41:07.495Z] unset SSH_AGENT_PID; [2021-05-17T15:41:07.495Z] echo Agent pid 16 killed; [2021-05-17T15:41:07.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:41:07.902Z] + git semver [Pipeline] } [2021-05-17T15:41:07.922Z] $ docker stop --time=1 3ab659e8bb3e8c2f6d6c525099a2d71607b34e51d12148cd19ce1949961323df [2021-05-17T15:41:09.577Z] $ docker rm -f 3ab659e8bb3e8c2f6d6c525099a2d71607b34e51d12148cd19ce1949961323df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:41:10.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-17T15:41:10.103Z] [2021-05-17T15:41:10.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:41:10.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-17T15:41:10.435Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-17T15:41:10.435Z] ab5ef0e58194: Pulling fs layer [2021-05-17T15:41:10.435Z] 9712f1f96733: Pulling fs layer [2021-05-17T15:41:10.435Z] 63f879dbbcfc: Pulling fs layer [2021-05-17T15:41:10.435Z] 0d9ebad4ef96: Pulling fs layer [2021-05-17T15:41:10.435Z] e9a5061849ea: Pulling fs layer [2021-05-17T15:41:10.435Z] d747dcd14b5f: Pulling fs layer [2021-05-17T15:41:10.435Z] 2de7ff778b66: Pulling fs layer [2021-05-17T15:41:10.435Z] e9a5061849ea: Waiting [2021-05-17T15:41:10.435Z] d747dcd14b5f: Waiting [2021-05-17T15:41:10.435Z] 2de7ff778b66: Waiting [2021-05-17T15:41:10.435Z] 0d9ebad4ef96: Waiting [2021-05-17T15:41:10.435Z] 9712f1f96733: Download complete [2021-05-17T15:41:12.371Z] 63f879dbbcfc: Verifying Checksum [2021-05-17T15:41:12.371Z] 63f879dbbcfc: Download complete [2021-05-17T15:41:12.371Z] e9a5061849ea: Verifying Checksum [2021-05-17T15:41:12.371Z] e9a5061849ea: Download complete [2021-05-17T15:41:12.371Z] d747dcd14b5f: Verifying Checksum [2021-05-17T15:41:12.371Z] d747dcd14b5f: Download complete [2021-05-17T15:41:12.635Z] 2de7ff778b66: Verifying Checksum [2021-05-17T15:41:12.635Z] 2de7ff778b66: Download complete [2021-05-17T15:41:12.898Z] 0d9ebad4ef96: Download complete [2021-05-17T15:41:13.162Z] ab5ef0e58194: Verifying Checksum [2021-05-17T15:41:13.162Z] ab5ef0e58194: Download complete [2021-05-17T15:41:18.508Z] ab5ef0e58194: Pull complete [2021-05-17T15:41:18.508Z] 9712f1f96733: Pull complete [2021-05-17T15:41:21.085Z] 63f879dbbcfc: Pull complete [2021-05-17T15:41:27.739Z] 0d9ebad4ef96: Pull complete [2021-05-17T15:41:31.066Z] e9a5061849ea: Pull complete [2021-05-17T15:41:31.066Z] d747dcd14b5f: Pull complete [2021-05-17T15:41:33.020Z] 2de7ff778b66: Pull complete [2021-05-17T15:41:33.020Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-17T15:41:33.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-17T15:41:33.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-17T15:41:33.246Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:41:33.304Z] $ 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-17T15:41:36.346Z] $ docker top 2b0771dd8fce5c5e60b145b3599ecb5b8ab30f2e2dee6277b7ef5091a52a36a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:41:36.524Z] provisioning config files... [2021-05-17T15:41:36.537Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config963549750947273233tmp [2021-05-17T15:41:36.556Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4107467488880879414tmp [2021-05-17T15:41:36.573Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2378984624928967198tmp [Pipeline] { [Pipeline] echo [2021-05-17T15:41:36.608Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:41:36.925Z] ---> sigul-configuration.sh [2021-05-17T15:41:36.925Z] gpg: directory `/root/.gnupg' created [2021-05-17T15:41:36.925Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-17T15:41:36.925Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-17T15:41:36.925Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-17T15:41:36.925Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-17T15:41:36.925Z] gpg: CAST5 encrypted data [2021-05-17T15:41:37.191Z] gpg: encrypted with 1 passphrase [2021-05-17T15:41:37.191Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-17T15:41:37.501Z] + mkdir /home/jenkins [2021-05-17T15:41:37.501Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-17T15:41:37.814Z] + 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-17T15:41:37.827Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:41:38.146Z] ---> sigul-install.sh [2021-05-17T15:41:44.763Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-17T15:41:45.075Z] + git tag --list [2021-05-17T15:41:45.075Z] v1.0.0 [2021-05-17T15:41:45.075Z] v1.1.0 [2021-05-17T15:41:45.075Z] v1.1.1 [2021-05-17T15:41:45.075Z] v1.2.1 [2021-05-17T15:41:45.075Z] v1.2.2 [2021-05-17T15:41:45.075Z] v1.2.3 [2021-05-17T15:41:45.075Z] v1.3.0 [2021-05-17T15:41:45.075Z] v1.3.1 [2021-05-17T15:41:45.075Z] v1.3.1-dev.1 [2021-05-17T15:41:45.075Z] v1.3.1-dev.2 [2021-05-17T15:41:45.075Z] v1.3.1-dev.3 [2021-05-17T15:41:45.075Z] v1.3.1-dev.4 [2021-05-17T15:41:45.075Z] v1.3.1-dev.5 [2021-05-17T15:41:45.075Z] v1.3.2-dev.1 [2021-05-17T15:41:45.075Z] v1.3.2-dev.10 [2021-05-17T15:41:45.075Z] v1.3.2-dev.11 [2021-05-17T15:41:45.075Z] v1.3.2-dev.12 [2021-05-17T15:41:45.075Z] v1.3.2-dev.13 [2021-05-17T15:41:45.075Z] v1.3.2-dev.14 [2021-05-17T15:41:45.075Z] v1.3.2-dev.15 [2021-05-17T15:41:45.075Z] v1.3.2-dev.2 [2021-05-17T15:41:45.075Z] v1.3.2-dev.3 [2021-05-17T15:41:45.075Z] v1.3.2-dev.4 [2021-05-17T15:41:45.075Z] v1.3.2-dev.5 [2021-05-17T15:41:45.075Z] v1.3.2-dev.6 [2021-05-17T15:41:45.075Z] v1.3.2-dev.7 [2021-05-17T15:41:45.075Z] v1.3.2-dev.8 [2021-05-17T15:41:45.075Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-17T15:41:45.386Z] + lftools sign git-tag v1.3.2-dev.15 [2021-05-17T15:41:46.787Z] Signing Git tag with Sigul... [2021-05-17T15:41:46.787Z] Signing v1.3.2-dev.15 [Pipeline] echo [2021-05-17T15:41:47.761Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:41:48.077Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-17T15:41:48.089Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-17T15:41:48.130Z] $ docker stop --time=1 2b0771dd8fce5c5e60b145b3599ecb5b8ab30f2e2dee6277b7ef5091a52a36a5 [2021-05-17T15:41:49.706Z] $ docker rm -f 2b0771dd8fce5c5e60b145b3599ecb5b8ab30f2e2dee6277b7ef5091a52a36a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:41:50.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:41:50.463Z] . [Pipeline] withDockerContainer [2021-05-17T15:41:50.594Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:41:50.705Z] $ 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-17T15:41:51.452Z] $ docker top 8fd278e3f1b4098d9768d65ee2b03a8db1e6b6387a22c8a5c0325dbf5e80bb1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:41:51.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:41:51.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:41:51.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:41:51.932Z] $ docker exec 8fd278e3f1b4098d9768d65ee2b03a8db1e6b6387a22c8a5c0325dbf5e80bb1b ssh-agent [2021-05-17T15:41:52.133Z] SSH_AUTH_SOCK=/tmp/ssh-rk1GiKGHipph/agent.12 [2021-05-17T15:41:52.133Z] SSH_AGENT_PID=17 [2021-05-17T15:41:52.140Z] Running ssh-add (command line suppressed) [2021-05-17T15:41:52.279Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4984938355179849779.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4984938355179849779.key) [2021-05-17T15:41:52.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:41:52.642Z] + git semver bump pre [2021-05-17T15:41:52.642Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:41:52.642Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-17T15:41:52.642Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-17T15:41:52.642Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:41:52.642Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:41:52.642Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:41:52.642Z] # $SEMVER_BRANCH = master [2021-05-17T15:41:52.642Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-17T15:41:52.642Z] 1.3.2-dev.16 [Pipeline] } [2021-05-17T15:41:52.655Z] $ docker exec --env ******** --env ******** 8fd278e3f1b4098d9768d65ee2b03a8db1e6b6387a22c8a5c0325dbf5e80bb1b ssh-agent -k [2021-05-17T15:41:52.778Z] unset SSH_AUTH_SOCK; [2021-05-17T15:41:52.778Z] unset SSH_AGENT_PID; [2021-05-17T15:41:52.778Z] echo Agent pid 17 killed; [2021-05-17T15:41:52.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:41:53.175Z] + git semver [Pipeline] } [2021-05-17T15:41:53.193Z] $ docker stop --time=1 8fd278e3f1b4098d9768d65ee2b03a8db1e6b6387a22c8a5c0325dbf5e80bb1b [2021-05-17T15:41:54.608Z] $ docker rm -f 8fd278e3f1b4098d9768d65ee2b03a8db1e6b6387a22c8a5c0325dbf5e80bb1b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:41:55.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:41:55.098Z] . [Pipeline] withDockerContainer [2021-05-17T15:41:55.212Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:41:55.265Z] $ 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-17T15:41:56.069Z] $ docker top 9a13ed1f958a75ef3dcceacecdce6aa46fe9eecce27b30df0a22f029174f56c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:41:56.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:41:56.266Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:41:56.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:41:56.532Z] $ docker exec 9a13ed1f958a75ef3dcceacecdce6aa46fe9eecce27b30df0a22f029174f56c3 ssh-agent [2021-05-17T15:41:56.725Z] SSH_AUTH_SOCK=/tmp/ssh-SC2nQA9ynXzw/agent.12 [2021-05-17T15:41:56.725Z] SSH_AGENT_PID=17 [2021-05-17T15:41:56.733Z] Running ssh-add (command line suppressed) [2021-05-17T15:41:56.873Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2479328201674337915.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2479328201674337915.key) [2021-05-17T15:41:56.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:41:57.244Z] + git semver push [2021-05-17T15:41:57.244Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:41:57.244Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-17T15:41:57.244Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-17T15:41:57.244Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:41:57.244Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:41:57.244Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:41:57.244Z] # $SEMVER_BRANCH = master [2021-05-17T15:41:57.244Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-17T15:42:01.483Z] $ docker exec --env ******** --env ******** 9a13ed1f958a75ef3dcceacecdce6aa46fe9eecce27b30df0a22f029174f56c3 ssh-agent -k [2021-05-17T15:42:01.645Z] unset SSH_AUTH_SOCK; [2021-05-17T15:42:01.646Z] unset SSH_AGENT_PID; [2021-05-17T15:42:01.646Z] echo Agent pid 17 killed; [2021-05-17T15:42:01.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:42:02.054Z] + git semver [Pipeline] } [2021-05-17T15:42:02.072Z] $ docker stop --time=1 9a13ed1f958a75ef3dcceacecdce6aa46fe9eecce27b30df0a22f029174f56c3 [2021-05-17T15:42:03.441Z] $ docker rm -f 9a13ed1f958a75ef3dcceacecdce6aa46fe9eecce27b30df0a22f029174f56c3 [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-17T15:42:04.424Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:05.000Z] ---> package-listing.sh [2021-05-17T15:42:05.000Z] ++ facter osfamily [2021-05-17T15:42:05.000Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T15:42:05.000Z] + OS_FAMILY=redhat [2021-05-17T15:42:05.000Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-17T15:42:05.000Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T15:42:05.000Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T15:42:05.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T15:42:05.000Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T15:42:05.000Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-17T15:42:05.000Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T15:42:05.000Z] + case "${OS_FAMILY}" in [2021-05-17T15:42:05.000Z] + rpm -qa [2021-05-17T15:42:05.000Z] + sort [2021-05-17T15:42:10.317Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T15:42:10.317Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T15:42:10.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T15:42:10.317Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-17T15:42:10.317Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-17T15:42:10.317Z] + 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-17T15:42:10.331Z] 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-17T15:42:10.624Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:42:10.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:42:10.933Z] [2021-05-17T15:42:10.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:42:11.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:42:11.249Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T15:42:11.249Z] df20fa9351a1: Pulling fs layer [2021-05-17T15:42:11.249Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T15:42:11.249Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T15:42:11.249Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T15:42:11.249Z] 93b61091891f: Pulling fs layer [2021-05-17T15:42:11.249Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T15:42:11.249Z] 5e14af77c1be: Pulling fs layer [2021-05-17T15:42:11.249Z] 01666e4c0597: Pulling fs layer [2021-05-17T15:42:11.249Z] aa168da1d23b: Pulling fs layer [2021-05-17T15:42:11.249Z] 93b9cdb0e59b: Waiting [2021-05-17T15:42:11.249Z] 5e14af77c1be: Waiting [2021-05-17T15:42:11.249Z] 01666e4c0597: Waiting [2021-05-17T15:42:11.249Z] aa168da1d23b: Waiting [2021-05-17T15:42:11.249Z] 46f8f816bc3b: Waiting [2021-05-17T15:42:11.249Z] 93b61091891f: Waiting [2021-05-17T15:42:11.249Z] 36b3adc4ff6f: Verifying Checksum [2021-05-17T15:42:11.249Z] 36b3adc4ff6f: Download complete [2021-05-17T15:42:11.249Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T15:42:11.249Z] 46f8f816bc3b: Download complete [2021-05-17T15:42:11.249Z] df20fa9351a1: Verifying Checksum [2021-05-17T15:42:11.249Z] df20fa9351a1: Download complete [2021-05-17T15:42:11.249Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T15:42:11.249Z] 93b9cdb0e59b: Download complete [2021-05-17T15:42:11.249Z] 5e14af77c1be: Verifying Checksum [2021-05-17T15:42:11.249Z] 5e14af77c1be: Download complete [2021-05-17T15:42:11.249Z] 93b61091891f: Verifying Checksum [2021-05-17T15:42:11.249Z] 93b61091891f: Download complete [2021-05-17T15:42:11.512Z] 01666e4c0597: Verifying Checksum [2021-05-17T15:42:11.512Z] 01666e4c0597: Download complete [2021-05-17T15:42:11.512Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T15:42:11.512Z] 8ad3a11d3b57: Download complete [2021-05-17T15:42:11.512Z] df20fa9351a1: Pull complete [2021-05-17T15:42:11.778Z] 36b3adc4ff6f: Pull complete [2021-05-17T15:42:13.194Z] 8ad3a11d3b57: Pull complete [2021-05-17T15:42:13.194Z] 46f8f816bc3b: Pull complete [2021-05-17T15:42:13.458Z] aa168da1d23b: Verifying Checksum [2021-05-17T15:42:13.458Z] aa168da1d23b: Download complete [2021-05-17T15:42:14.033Z] 93b61091891f: Pull complete [2021-05-17T15:42:14.033Z] 93b9cdb0e59b: Pull complete [2021-05-17T15:42:14.297Z] 5e14af77c1be: Pull complete [2021-05-17T15:42:14.560Z] 01666e4c0597: Pull complete [2021-05-17T15:42:22.756Z] aa168da1d23b: Pull complete [2021-05-17T15:42:22.756Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T15:42:22.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:42:22.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T15:42:22.943Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-05-17T15:42:22.995Z] $ 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-17T15:42:26.653Z] $ docker top b883b6f1ad959358e53e71a2e364b9d419536b0bc7b8b7dcd5b9f53ec52fb22f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:42:27.104Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T15:42:27.424Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T15:42:27.726Z] + ls /var/log/sa-host [2021-05-17T15:42:27.726Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T15:42:27.726Z] file_magic: OK [2021-05-17T15:42:27.726Z] HZ: Using current value: 100 [2021-05-17T15:42:27.726Z] file_header: OK [2021-05-17T15:42:27.726Z] 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-17T15:42:27.726Z] Statistics: [2021-05-17T15:42:27.726Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T15:42:27.726Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T15:42:27.726Z] + sadf -c /var/log/sa-host/sa23 [2021-05-17T15:42:27.726Z] file_magic: OK [2021-05-17T15:42:27.726Z] HZ: Using current value: 100 [2021-05-17T15:42:27.726Z] file_header: OK [2021-05-17T15:42:27.726Z] 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-17T15:42:27.726Z] Statistics: [2021-05-17T15:42:27.726Z] Hnuu...uuuununununu... [2021-05-17T15:42:27.726Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:42:27.920Z] provisioning config files... [2021-05-17T15:42:27.933Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5056009001163707534tmp [Pipeline] { [Pipeline] echo [2021-05-17T15:42:27.955Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:28.261Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T15:42:28.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T15:42:28.299Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:28.614Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T15:42:28.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:28.928Z] ---> sudo-logs.sh [2021-05-17T15:42:28.928Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T15:42:28.964Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:29.266Z] ---> job-cost.sh [2021-05-17T15:42:29.267Z] lf-activate-venv: SKIPPING [2021-05-17T15:42:29.267Z] DEBUG: total: 0.20999999344348907 [2021-05-17T15:42:29.267Z] INFO: Retrieving Stack Cost... [2021-05-17T15:42:30.660Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T15:42:30.922Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T15:42:30.939Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:42:31.241Z] ---> logs-deploy.sh [2021-05-17T15:42:31.242Z] lf-activate-venv: SKIPPING [2021-05-17T15:42:31.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/55 [2021-05-17T15:42:31.242Z] INFO: archiving workspace using pattern(s): [2021-05-17T15:42:33.173Z] Archives upload complete. [2021-05-17T15:42:33.173Z] INFO: archiving logs to Nexus