Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 52f175e78e90f47d264d38148cd7058eb9c17db7 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7933421908184568321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh850321824790884446.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2677919656379093238.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh849372211818608514.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2890196019120247944.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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_BUILD_IMAGE_TARGET: builder 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-1112 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_device-virtual-go_main@tmp/jenkins-gitclient-ssh6813301417793308551.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 52f175e78e90f47d264d38148cd7058eb9c17db7 (main) > 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 52f175e78e90f47d264d38148cd7058eb9c17db7 # timeout=10 Commit message: "Merge pull request #233 from soda480/US1908" > git rev-list --no-walk 2f604073b7eb5dccdd5807d48b66b9d0dfbdca7e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T22:38:21.012Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T22:38:21.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T22:38:21.148Z] ========================================================= [2021-07-30T22:38:21.148Z] EdgeX Global Pipelines Version Info [2021-07-30T22:38:21.148Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:38:22.491Z] ------------------- [2021-07-30T22:38:22.491Z] stable info: [2021-07-30T22:38:22.491Z] ------------------- [2021-07-30T22:38:22.491Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T22:38:22.491Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:38:22.491Z] Message: update stable to v1.0.199 [2021-07-30T22:38:23.080Z] ------------------- [2021-07-30T22:38:23.080Z] experimental info: [2021-07-30T22:38:23.080Z] ------------------- [2021-07-30T22:38:23.080Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T22:38:23.080Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:38:23.080Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T22:38:23.225Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-07-30T22:38:23.251Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-07-30T22:38:23.275Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T22:38:23.299Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T22:38:23.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T22:38:23.347Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T22:38:23.371Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T22:38:23.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T22:38:23.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-30T22:38:23.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T22:38:23.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T22:38:23.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T22:38:23.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-07-30T22:38:23.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T22:38:23.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T22:38:23.599Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:38:23.622Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:38:23.645Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:38:23.668Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:38:23.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T22:38:23.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T22:38:23.740Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-30T22:38:23.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-30T22:38:23.786Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T22:38:23.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T22:38:23.832Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T22:38:23.885Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T22:38:23.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-30T22:38:23.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-30T22:38:23.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-30T22:38:23.972Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] echo [2021-07-30T22:38:23.994Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52f175e [Pipeline] echo [2021-07-30T22:38:24.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:38:24.089Z] provisioning config files... [2021-07-30T22:38:24.108Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7056429930589847992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:38:24.468Z] ---> docker-login.sh [2021-07-30T22:38:24.469Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:38:24.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:38:24.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:38:24.738Z] Configure a credential helper to remove this warning. See [2021-07-30T22:38:24.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:38:24.738Z] [2021-07-30T22:38:24.738Z] Login Succeeded [2021-07-30T22:38:24.738Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:38:24.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:38:24.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:38:24.738Z] Configure a credential helper to remove this warning. See [2021-07-30T22:38:24.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:38:24.738Z] [2021-07-30T22:38:24.738Z] Login Succeeded [2021-07-30T22:38:24.738Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:38:25.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:38:25.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:38:25.004Z] Configure a credential helper to remove this warning. See [2021-07-30T22:38:25.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:38:25.004Z] [2021-07-30T22:38:25.004Z] Login Succeeded [2021-07-30T22:38:25.004Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:38:25.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:38:25.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:38:25.273Z] Configure a credential helper to remove this warning. See [2021-07-30T22:38:25.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:38:25.273Z] [2021-07-30T22:38:25.273Z] Login Succeeded [2021-07-30T22:38:25.273Z] docker.io [2021-07-30T22:38:25.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:38:25.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:38:25.541Z] Configure a credential helper to remove this warning. See [2021-07-30T22:38:25.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:38:25.541Z] [2021-07-30T22:38:25.541Z] Login Succeeded [2021-07-30T22:38:25.541Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:38:25.556Z] 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-07-30T22:38:26.077Z] + git log --format=format:%s -1 52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] echo [2021-07-30T22:38:26.133Z] GIT_COMMIT: 52f175e78e90f47d264d38148cd7058eb9c17db7, Commit Message: Merge pull request #233 from soda480/US1908 [Pipeline] echo [2021-07-30T22:38:26.148Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:38:26.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:38:26.784Z] [2021-07-30T22:38:26.784Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:38:27.136Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:38:27.137Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T22:38:27.137Z] 31603596830f: Pulling fs layer [2021-07-30T22:38:27.137Z] b6dc333f4379: Pulling fs layer [2021-07-30T22:38:27.137Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T22:38:27.137Z] fd332fbdc1db: Pulling fs layer [2021-07-30T22:38:27.137Z] fd332fbdc1db: Waiting [2021-07-30T22:38:27.137Z] b6dc333f4379: Download complete [2021-07-30T22:38:27.404Z] 31603596830f: Verifying Checksum [2021-07-30T22:38:27.404Z] 31603596830f: Download complete [2021-07-30T22:38:27.675Z] fd332fbdc1db: Verifying Checksum [2021-07-30T22:38:27.675Z] fd332fbdc1db: Download complete [2021-07-30T22:38:27.675Z] 31603596830f: Pull complete [2021-07-30T22:38:27.675Z] b6dc333f4379: Pull complete [2021-07-30T22:38:27.675Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T22:38:27.675Z] 3d9ef1400e77: Download complete [2021-07-30T22:38:28.263Z] 3d9ef1400e77: Pull complete [2021-07-30T22:38:28.532Z] fd332fbdc1db: Pull complete [2021-07-30T22:38:28.532Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T22:38:28.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:38:28.532Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T22:38:28.636Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:38:28.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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-07-30T22:38:29.632Z] $ docker top 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:38:29.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:38:29.777Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:38:29.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:38:29.910Z] $ docker exec 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 ssh-agent [2021-07-30T22:38:30.048Z] SSH_AUTH_SOCK=/tmp/ssh-ycvx4nou0YeX/agent.14 [2021-07-30T22:38:30.048Z] SSH_AGENT_PID=20 [2021-07-30T22:38:30.060Z] Running ssh-add (command line suppressed) [2021-07-30T22:38:30.172Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1012921363878061438.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1012921363878061438.key) [2021-07-30T22:38:30.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:38:30.517Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T22:38:30.539Z] $ docker exec --env ******** --env ******** 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 ssh-agent -k [2021-07-30T22:38:30.643Z] unset SSH_AUTH_SOCK; [2021-07-30T22:38:30.643Z] unset SSH_AGENT_PID; [2021-07-30T22:38:30.643Z] echo Agent pid 20 killed; [2021-07-30T22:38:30.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T22:38:30.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:38:30.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:38:30.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:38:30.829Z] $ docker exec 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 ssh-agent [2021-07-30T22:38:30.948Z] SSH_AUTH_SOCK=/tmp/ssh-xbRiyGv2BFql/agent.53 [2021-07-30T22:38:30.948Z] SSH_AGENT_PID=59 [2021-07-30T22:38:30.961Z] Running ssh-add (command line suppressed) [2021-07-30T22:38:31.068Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4717957557148661691.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4717957557148661691.key) [2021-07-30T22:38:31.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:38:31.473Z] + git semver init [2021-07-30T22:38:31.473Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:38:31.473Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-07-30T22:38:31.473Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:38:31.473Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:38:31.473Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:38:31.473Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:38:31.473Z] # $SEMVER_BRANCH = main [2021-07-30T22:38:31.473Z] # $SEMVER_TEMP = /tmp/semver-101955493 [2021-07-30T22:38:31.473Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-07-30T22:38:32.442Z] # '/tmp/semver-101955493' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2021-07-30T22:38:32.442Z] # -> Force: false [2021-07-30T22:38:32.442Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2021-07-30T22:38:32.460Z] $ docker exec --env ******** --env ******** 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 ssh-agent -k [2021-07-30T22:38:32.593Z] unset SSH_AUTH_SOCK; [2021-07-30T22:38:32.594Z] unset SSH_AGENT_PID; [2021-07-30T22:38:32.594Z] echo Agent pid 59 killed; [2021-07-30T22:38:32.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:38:32.969Z] + git semver [Pipeline] } [2021-07-30T22:38:32.989Z] $ docker stop --time=1 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 [2021-07-30T22:38:34.307Z] $ docker rm -f 3ee8bd028256691721b8854970c3783b53e9d3508ed6f37b07de07055db27872 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:38:34.718Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T22:38:35.109Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T22:38:35.112Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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-07-30T22:38:50.372Z] Still waiting to schedule task [2021-07-30T22:38:50.372Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T22:38:50.373Z] ‘prd-centos7-docker-4c-2g-1100’ is offline [2021-07-30T22:38:50.373Z] ‘prd-centos7-docker-4c-2g-1104’ is offline [2021-07-30T22:38:50.373Z] ‘prd-centos7-docker-4c-2g-1115’ is offline [2021-07-30T22:38:50.373Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1111’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T22:38:50.375Z] Still waiting to schedule task [2021-07-30T22:38:50.376Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:50.376Z] ‘prd-centos7-docker-4c-2g-1100’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:50.376Z] ‘prd-centos7-docker-4c-2g-1104’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:50.376Z] ‘prd-centos7-docker-4c-2g-1115’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:38:50.376Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1111’ is offline [2021-07-30T22:39:53.455Z] Running on prd-centos7-docker-4c-2g-1121 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:39:53.477Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T22:39:53.615Z] The recommended git tool is: git [2021-07-30T22:39:56.685Z] using credential edgex-jenkins-ssh [2021-07-30T22:39:56.712Z] Cloning the remote Git repository [2021-07-30T22:39:57.071Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-07-30T22:39:57.147Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-07-30T22:39:57.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-07-30T22:39:57.196Z] > git --version # timeout=10 [2021-07-30T22:39:57.205Z] > git --version # 'git version 2.24.4' [2021-07-30T22:39:57.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:39:57.238Z] [INFO] Currently running in a labeled security context [2021-07-30T22:39:57.238Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T22:39:57.239Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh8139163977221735675.key [2021-07-30T22:39:57.261Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:57.723Z] Avoid second fetch [2021-07-30T22:39:57.724Z] Checking out Revision 52f175e78e90f47d264d38148cd7058eb9c17db7 (main) [2021-07-30T22:39:57.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-07-30T22:39:57.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:57.998Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:39:58.009Z] > git checkout -f 52f175e78e90f47d264d38148cd7058eb9c17db7 # timeout=10 [2021-07-30T22:40:01.875Z] Commit message: "Merge pull request #233 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:40:02.348Z] provisioning config files... [2021-07-30T22:40:02.372Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config36343028705735186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:40:02.842Z] ---> docker-login.sh [2021-07-30T22:40:02.842Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:40:02.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:03.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:03.111Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:03.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:03.111Z] [2021-07-30T22:40:03.111Z] Login Succeeded [2021-07-30T22:40:03.111Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:40:03.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:03.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:03.403Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:03.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:03.403Z] [2021-07-30T22:40:03.403Z] Login Succeeded [2021-07-30T22:40:03.403Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:40:03.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:03.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:03.403Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:03.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:03.403Z] [2021-07-30T22:40:03.403Z] Login Succeeded [2021-07-30T22:40:03.403Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:40:03.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:03.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:03.675Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:03.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:03.675Z] [2021-07-30T22:40:03.675Z] Login Succeeded [2021-07-30T22:40:03.675Z] docker.io [2021-07-30T22:40:03.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:40:04.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:40:04.260Z] Configure a credential helper to remove this warning. See [2021-07-30T22:40:04.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:40:04.260Z] [2021-07-30T22:40:04.260Z] Login Succeeded [2021-07-30T22:40:04.260Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:40:04.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:40:04.525Z] ========================================================= [2021-07-30T22:40:04.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T22:40:04.525Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:04.858Z] + 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-07-30T22:40:04.859Z] Sending build context to Docker daemon 8.583MB [2021-07-30T22:40:04.859Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:40:04.859Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:40:05.127Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T22:40:05.127Z] 540db60ca938: Pulling fs layer [2021-07-30T22:40:05.127Z] adcc1eea9eea: Pulling fs layer [2021-07-30T22:40:05.127Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T22:40:05.127Z] 0773c198feca: Pulling fs layer [2021-07-30T22:40:05.127Z] 345f892a5656: Pulling fs layer [2021-07-30T22:40:05.127Z] 4796506630df: Pulling fs layer [2021-07-30T22:40:05.127Z] cc55df3e53f1: Pulling fs layer [2021-07-30T22:40:05.127Z] 4d027b6c602c: Pulling fs layer [2021-07-30T22:40:05.127Z] 449e75d2c14e: Pulling fs layer [2021-07-30T22:40:05.127Z] 4796506630df: Waiting [2021-07-30T22:40:05.127Z] cc55df3e53f1: Waiting [2021-07-30T22:40:05.127Z] 4d027b6c602c: Waiting [2021-07-30T22:40:05.127Z] 449e75d2c14e: Waiting [2021-07-30T22:40:05.127Z] 0773c198feca: Waiting [2021-07-30T22:40:05.127Z] 345f892a5656: Waiting [2021-07-30T22:40:05.127Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T22:40:05.127Z] 4c4ab2625f07: Download complete [2021-07-30T22:40:05.127Z] adcc1eea9eea: Verifying Checksum [2021-07-30T22:40:05.127Z] adcc1eea9eea: Download complete [2021-07-30T22:40:05.127Z] 345f892a5656: Verifying Checksum [2021-07-30T22:40:05.127Z] 345f892a5656: Download complete [2021-07-30T22:40:05.127Z] 4796506630df: Verifying Checksum [2021-07-30T22:40:05.127Z] 4796506630df: Download complete [2021-07-30T22:40:05.127Z] cc55df3e53f1: Verifying Checksum [2021-07-30T22:40:05.127Z] cc55df3e53f1: Download complete [2021-07-30T22:40:05.403Z] 540db60ca938: Verifying Checksum [2021-07-30T22:40:05.403Z] 540db60ca938: Download complete [2021-07-30T22:40:05.403Z] 540db60ca938: Pull complete [2021-07-30T22:40:05.677Z] adcc1eea9eea: Pull complete [2021-07-30T22:40:05.677Z] 4c4ab2625f07: Pull complete [2021-07-30T22:40:05.677Z] 4d027b6c602c: Verifying Checksum [2021-07-30T22:40:05.677Z] 4d027b6c602c: Download complete [2021-07-30T22:40:09.029Z] 449e75d2c14e: Verifying Checksum [2021-07-30T22:40:09.029Z] 449e75d2c14e: Download complete [2021-07-30T22:40:09.623Z] 0773c198feca: Verifying Checksum [2021-07-30T22:40:09.623Z] 0773c198feca: Download complete [2021-07-30T22:40:13.018Z] 0773c198feca: Pull complete [2021-07-30T22:40:13.288Z] 345f892a5656: Pull complete [2021-07-30T22:40:13.288Z] 4796506630df: Pull complete [2021-07-30T22:40:13.288Z] cc55df3e53f1: Pull complete [2021-07-30T22:40:13.556Z] 4d027b6c602c: Pull complete [2021-07-30T22:40:15.512Z] 449e75d2c14e: Pull complete [2021-07-30T22:40:15.512Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T22:40:15.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T22:40:15.512Z] ---> 0d28375d9b5b [2021-07-30T22:40:15.512Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-30T22:40:17.465Z] ---> Running in 23a23c8036be [2021-07-30T22:40:17.465Z] Removing intermediate container 23a23c8036be [2021-07-30T22:40:17.465Z] ---> 43181ed9a8d1 [2021-07-30T22:40:17.465Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:40:17.465Z] ---> Running in 6b8582438f5f [2021-07-30T22:40:18.056Z] Removing intermediate container 6b8582438f5f [2021-07-30T22:40:18.056Z] ---> 70fec2d13fbd [2021-07-30T22:40:18.056Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T22:40:18.056Z] ---> Running in 66ddfb94b9e1 [2021-07-30T22:40:18.325Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:19.295Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:40:19.878Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-30T22:40:19.878Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-30T22:40:20.151Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-30T22:40:20.151Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:40:20.425Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:40:20.425Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-30T22:40:20.694Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:40:21.659Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-30T22:40:21.659Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-30T22:40:21.659Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-30T22:40:21.926Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-30T22:40:22.193Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-30T22:40:22.193Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:40:22.463Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:40:22.463Z] OK: 156 MiB in 53 packages [2021-07-30T22:40:22.732Z] Removing intermediate container 66ddfb94b9e1 [2021-07-30T22:40:22.732Z] ---> 032a65dbbfbb [2021-07-30T22:40:22.732Z] Step 6/8 : WORKDIR /device-virtual-go [2021-07-30T22:40:22.732Z] ---> Running in 2222c8bc211a [2021-07-30T22:40:23.006Z] Removing intermediate container 2222c8bc211a [2021-07-30T22:40:23.006Z] ---> 2ef7e4633db3 [2021-07-30T22:40:23.006Z] Step 7/8 : COPY . . [2021-07-30T22:40:23.273Z] ---> 1c8fb0357a52 [2021-07-30T22:40:23.273Z] Step 8/8 : RUN go mod download [2021-07-30T22:40:23.273Z] ---> Running in ee9e5f2c5976 [2021-07-30T22:40:37.059Z] Removing intermediate container ee9e5f2c5976 [2021-07-30T22:40:37.059Z] ---> 799c25b7d147 [2021-07-30T22:40:37.059Z] Successfully built 799c25b7d147 [2021-07-30T22:40:37.059Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:37.385Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:40:37.385Z] . [Pipeline] withDockerContainer [2021-07-30T22:40:37.491Z] prd-centos7-docker-4c-2g-1121 does not seem to be running inside a container [2021-07-30T22:40:37.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:40:37.972Z] $ docker top 3dec15748dbcafc3ed479e0809a0c253edddd6a3de9e42493f570452edfe4e32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:40:38.389Z] + go version [2021-07-30T22:40:38.389Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T22:40:38.401Z] $ docker stop --time=1 3dec15748dbcafc3ed479e0809a0c253edddd6a3de9e42493f570452edfe4e32 [2021-07-30T22:40:39.621Z] $ docker rm -f 3dec15748dbcafc3ed479e0809a0c253edddd6a3de9e42493f570452edfe4e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:40.168Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:40:40.168Z] . [Pipeline] withDockerContainer [2021-07-30T22:40:40.264Z] prd-centos7-docker-4c-2g-1121 does not seem to be running inside a container [2021-07-30T22:40:40.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:40:40.764Z] $ docker top 10362be9719dc8837158ffc2363504cba205dc11a9a8ac2b43e7ae8517f8ba06 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:40:41.178Z] + go mod tidy [Pipeline] sh [2021-07-30T22:40:41.768Z] + make test [2021-07-30T22:40:41.768Z] go mod tidy [2021-07-30T22:40:42.049Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-30T22:40:42.321Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-07-30T22:41:04.487Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-07-30T22:41:04.487Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.268s coverage: 63.8% of statements [2021-07-30T22:41:04.487Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:41:11.196Z] gofmt -l . [2021-07-30T22:41:11.196Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:41:11.196Z] ./bin/test-attribution-txt.sh [2021-07-30T22:41:11.470Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:41:11.754Z] $ docker stop --time=1 10362be9719dc8837158ffc2363504cba205dc11a9a8ac2b43e7ae8517f8ba06 [2021-07-30T22:41:13.302Z] $ docker rm -f 10362be9719dc8837158ffc2363504cba205dc11a9a8ac2b43e7ae8517f8ba06 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:41:13.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:41:14.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T22:41:15.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:41:15.506Z] + ls -al . [2021-07-30T22:41:15.506Z] total 140 [2021-07-30T22:41:15.506Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jul 30 22:41 . [2021-07-30T22:41:15.506Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 22:39 .. [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jul 30 22:39 Attribution.txt [2021-07-30T22:41:15.506Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 22:39 bin [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 6349 Jul 30 22:39 CHANGELOG.md [2021-07-30T22:41:15.506Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 22:39 cmd [2021-07-30T22:41:15.506Z] -rw-r--r--. 1 jenkins jenkins 47257 Jul 30 22:41 coverage.out [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jul 30 22:39 Dockerfile [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 998 Jul 30 22:39 Dockerfile.build [2021-07-30T22:41:15.506Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 30 22:40 .git [2021-07-30T22:41:15.506Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 22:39 .github [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 277 Jul 30 22:39 .gitignore [2021-07-30T22:41:15.506Z] -rw-r--r--. 1 jenkins jenkins 795 Jul 30 22:41 go.mod [2021-07-30T22:41:15.506Z] -rw-r--r--. 1 jenkins jenkins 22824 Jul 30 22:40 go.sum [2021-07-30T22:41:15.506Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 30 22:39 internal [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 660 Jul 30 22:39 Jenkinsfile [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 22:39 LICENSE [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 905 Jul 30 22:39 Makefile [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 2913 Jul 30 22:39 README.md [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 30 22:38 VERSION [2021-07-30T22:41:15.506Z] -rw-rw-r--. 1 jenkins jenkins 235 Jul 30 22:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:15.860Z] + 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=52f175e78e90f47d264d38148cd7058eb9c17db7 --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-30T22:41:15.860Z] Sending build context to Docker daemon 8.655MB [2021-07-30T22:41:15.860Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:41:15.860Z] Step 2/26 : FROM ${BASE} AS builder [2021-07-30T22:41:15.860Z] ---> 799c25b7d147 [2021-07-30T22:41:15.860Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:41:15.860Z] ---> Running in a342e70f374a [2021-07-30T22:41:16.137Z] Removing intermediate container a342e70f374a [2021-07-30T22:41:16.137Z] ---> d77d09962e0a [2021-07-30T22:41:16.137Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:41:16.137Z] ---> Running in 71dd04f657e0 [2021-07-30T22:41:16.137Z] Removing intermediate container 71dd04f657e0 [2021-07-30T22:41:16.137Z] ---> fca8f9da9bd5 [2021-07-30T22:41:16.137Z] Step 5/26 : WORKDIR /device-virtual-go [2021-07-30T22:41:16.137Z] ---> Running in a190d276ebc8 [2021-07-30T22:41:16.418Z] Removing intermediate container a190d276ebc8 [2021-07-30T22:41:16.418Z] ---> 85949a1ea8fb [2021-07-30T22:41:16.418Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:41:16.418Z] ---> Running in c8892adf6169 [2021-07-30T22:41:17.004Z] Removing intermediate container c8892adf6169 [2021-07-30T22:41:17.004Z] ---> 5435c7691613 [2021-07-30T22:41:17.004Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:41:17.004Z] ---> Running in f82a2eb824d8 [2021-07-30T22:41:17.270Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:41:18.240Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:41:18.511Z] OK: 156 MiB in 53 packages [2021-07-30T22:41:18.779Z] Removing intermediate container f82a2eb824d8 [2021-07-30T22:41:18.779Z] ---> f8c5e6d9d838 [2021-07-30T22:41:18.779Z] Step 8/26 : COPY . . [2021-07-30T22:41:19.046Z] ---> c350220ae6b0 [2021-07-30T22:41:19.046Z] Step 9/26 : RUN go mod tidy [2021-07-30T22:41:19.046Z] ---> Running in d0fdc32b2b28 [2021-07-30T22:41:20.028Z] Removing intermediate container d0fdc32b2b28 [2021-07-30T22:41:20.028Z] ---> 3638edb52141 [2021-07-30T22:41:20.028Z] Step 10/26 : RUN go mod download [2021-07-30T22:41:20.028Z] ---> Running in 034874b75f7b [2021-07-30T22:41:20.296Z] Removing intermediate container 034874b75f7b [2021-07-30T22:41:20.296Z] ---> 50133afecdd8 [2021-07-30T22:41:20.296Z] Step 11/26 : ARG MAKE='make build' [2021-07-30T22:41:20.296Z] ---> Running in ae0995985a39 [2021-07-30T22:41:20.563Z] Removing intermediate container ae0995985a39 [2021-07-30T22:41:20.563Z] ---> 62d3ac17c0c1 [2021-07-30T22:41:20.563Z] Step 12/26 : RUN $MAKE [2021-07-30T22:41:20.563Z] ---> Running in 1ef99a3e7f68 [2021-07-30T22:41:20.834Z] go mod tidy [2021-07-30T22:41:21.114Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.1" -o cmd/device-virtual ./cmd [2021-07-30T22:41:39.521Z] Removing intermediate container 1ef99a3e7f68 [2021-07-30T22:41:39.521Z] ---> 06d279afc10d [2021-07-30T22:41:39.521Z] Step 13/26 : FROM alpine:3.12 [2021-07-30T22:41:39.521Z] 3.12: Pulling from library/alpine [2021-07-30T22:41:39.521Z] 339de151aab4: Pulling fs layer [2021-07-30T22:41:39.521Z] 339de151aab4: Verifying Checksum [2021-07-30T22:41:39.521Z] 339de151aab4: Download complete [2021-07-30T22:41:39.521Z] 339de151aab4: Pull complete [2021-07-30T22:41:39.521Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:41:39.521Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:41:39.521Z] ---> 13621d1b12d4 [2021-07-30T22:41:39.521Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-07-30T22:41:39.521Z] ---> Running in 76318d3981b0 [2021-07-30T22:41:39.521Z] Removing intermediate container 76318d3981b0 [2021-07-30T22:41:39.521Z] ---> 379bdafb7284 [2021-07-30T22:41:39.521Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:41:39.521Z] ---> Running in c0e288bdfb67 [2021-07-30T22:41:40.116Z] Removing intermediate container c0e288bdfb67 [2021-07-30T22:41:40.116Z] ---> f8cc303957e0 [2021-07-30T22:41:40.116Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:41:40.116Z] ---> Running in 977297b4416c [2021-07-30T22:41:40.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:41:40.973Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:41:41.558Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:41:41.558Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:41:41.828Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:41:41.828Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:41:42.788Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:41:43.056Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:41:43.056Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:41:43.056Z] OK: 8 MiB in 20 packages [2021-07-30T22:41:43.646Z] Removing intermediate container 977297b4416c [2021-07-30T22:41:43.646Z] ---> 5c1b318bddd8 [2021-07-30T22:41:43.646Z] Step 17/26 : WORKDIR / [2021-07-30T22:41:43.646Z] ---> Running in 4457a88f1369 [2021-07-30T22:41:43.646Z] Removing intermediate container 4457a88f1369 [2021-07-30T22:41:43.646Z] ---> f54390ec4656 [2021-07-30T22:41:43.646Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-07-30T22:41:43.646Z] ---> 94e4385c7a39 [2021-07-30T22:41:43.646Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-07-30T22:41:43.916Z] ---> d6b31b983bb3 [2021-07-30T22:41:43.916Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-07-30T22:41:44.501Z] ---> c02895e7722b [2021-07-30T22:41:44.501Z] Step 21/26 : EXPOSE 59900 [2021-07-30T22:41:44.501Z] ---> Running in 2ddd4387477b [2021-07-30T22:41:44.501Z] Removing intermediate container 2ddd4387477b [2021-07-30T22:41:44.501Z] ---> d5d6a90e2c30 [2021-07-30T22:41:44.501Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-07-30T22:41:44.501Z] ---> Running in 60fe8528f016 [2021-07-30T22:41:44.501Z] Removing intermediate container 60fe8528f016 [2021-07-30T22:41:44.501Z] ---> 1c260ac3445a [2021-07-30T22:41:44.501Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:41:44.501Z] ---> Running in cfe8d5c8293f [2021-07-30T22:41:44.768Z] Removing intermediate container cfe8d5c8293f [2021-07-30T22:41:44.768Z] ---> d5985e6e3c74 [2021-07-30T22:41:44.768Z] Step 24/26 : LABEL arch=amd64 [2021-07-30T22:41:44.768Z] ---> Running in 80bbd2284af8 [2021-07-30T22:41:44.768Z] Removing intermediate container 80bbd2284af8 [2021-07-30T22:41:44.768Z] ---> 971d3f507e0c [2021-07-30T22:41:44.768Z] Step 25/26 : LABEL git_sha=52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:41:44.768Z] ---> Running in 135b7d02af74 [2021-07-30T22:41:45.036Z] Removing intermediate container 135b7d02af74 [2021-07-30T22:41:45.036Z] ---> 11ee1c3a0a14 [2021-07-30T22:41:45.036Z] Step 26/26 : LABEL version=2.0.1-dev.1 [2021-07-30T22:41:45.036Z] ---> Running in caa9e525c2e7 [2021-07-30T22:41:45.036Z] Removing intermediate container caa9e525c2e7 [2021-07-30T22:41:45.036Z] ---> c603d153b79a [2021-07-30T22:41:45.036Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T22:41:45.036Z] Successfully built c603d153b79a [2021-07-30T22:41:45.036Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:41:45.227Z] provisioning config files... [2021-07-30T22:41:45.246Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5308669622460846636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:41:45.594Z] ---> docker-login.sh [2021-07-30T22:41:45.594Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:41:45.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:45.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:45.594Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:45.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:45.594Z] [2021-07-30T22:41:45.594Z] Login Succeeded [2021-07-30T22:41:45.594Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:41:45.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:45.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:45.861Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:45.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:45.861Z] [2021-07-30T22:41:45.861Z] Login Succeeded [2021-07-30T22:41:45.861Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:41:45.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:46.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:46.129Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:46.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:46.129Z] [2021-07-30T22:41:46.129Z] Login Succeeded [2021-07-30T22:41:46.129Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:41:46.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:46.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:46.396Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:46.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:46.396Z] [2021-07-30T22:41:46.396Z] Login Succeeded [2021-07-30T22:41:46.396Z] docker.io [2021-07-30T22:41:46.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:41:46.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:41:46.663Z] Configure a credential helper to remove this warning. See [2021-07-30T22:41:46.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:41:46.663Z] [2021-07-30T22:41:46.663Z] Login Succeeded [2021-07-30T22:41:46.663Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:41:46.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:41:46.751Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-07-30T22:41:46.751Z] 52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:41:46.751Z] latest [2021-07-30T22:41:46.751Z] 2.0.1-dev.1 [2021-07-30T22:41:46.751Z] 52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:41:46.751Z] main [2021-07-30T22:41:46.751Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:47.124Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:47.449Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:41:47.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-07-30T22:41:47.449Z] 10b883cb934e: Preparing [2021-07-30T22:41:47.449Z] e2adb4dbbc91: Preparing [2021-07-30T22:41:47.449Z] 191ad36eaf87: Preparing [2021-07-30T22:41:47.449Z] e82c0dd297fc: Preparing [2021-07-30T22:41:47.449Z] 4bd745ec7bb1: Preparing [2021-07-30T22:41:47.449Z] 32f366d666a5: Preparing [2021-07-30T22:41:47.449Z] 32f366d666a5: Waiting [2021-07-30T22:41:47.717Z] 4bd745ec7bb1: Pushed [2021-07-30T22:41:47.717Z] e2adb4dbbc91: Pushed [2021-07-30T22:41:47.717Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:47.717Z] 191ad36eaf87: Pushed [2021-07-30T22:41:47.985Z] e82c0dd297fc: Pushed [2021-07-30T22:41:49.933Z] 10b883cb934e: Pushed [2021-07-30T22:41:49.933Z] 52f175e78e90f47d264d38148cd7058eb9c17db7: digest: sha256:0f8f99b0cf98fad85398fa8bb2d1314d3148484af36e08b22fb47f99b0a6f193 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:50.262Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:50.589Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-07-30T22:41:50.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-07-30T22:41:50.589Z] 10b883cb934e: Preparing [2021-07-30T22:41:50.589Z] e2adb4dbbc91: Preparing [2021-07-30T22:41:50.589Z] 191ad36eaf87: Preparing [2021-07-30T22:41:50.589Z] e82c0dd297fc: Preparing [2021-07-30T22:41:50.589Z] 4bd745ec7bb1: Preparing [2021-07-30T22:41:50.589Z] 32f366d666a5: Preparing [2021-07-30T22:41:50.589Z] 32f366d666a5: Waiting [2021-07-30T22:41:50.589Z] e82c0dd297fc: Layer already exists [2021-07-30T22:41:50.589Z] 10b883cb934e: Layer already exists [2021-07-30T22:41:50.589Z] e2adb4dbbc91: Layer already exists [2021-07-30T22:41:50.589Z] 191ad36eaf87: Layer already exists [2021-07-30T22:41:50.589Z] 4bd745ec7bb1: Layer already exists [2021-07-30T22:41:50.589Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:50.856Z] latest: digest: sha256:0f8f99b0cf98fad85398fa8bb2d1314d3148484af36e08b22fb47f99b0a6f193 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:51.185Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:51.503Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.1 [2021-07-30T22:41:51.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-07-30T22:41:51.504Z] 10b883cb934e: Preparing [2021-07-30T22:41:51.504Z] e2adb4dbbc91: Preparing [2021-07-30T22:41:51.504Z] 191ad36eaf87: Preparing [2021-07-30T22:41:51.504Z] e82c0dd297fc: Preparing [2021-07-30T22:41:51.504Z] 4bd745ec7bb1: Preparing [2021-07-30T22:41:51.504Z] 32f366d666a5: Preparing [2021-07-30T22:41:51.504Z] 32f366d666a5: Waiting [2021-07-30T22:41:51.504Z] e82c0dd297fc: Layer already exists [2021-07-30T22:41:51.504Z] 191ad36eaf87: Layer already exists [2021-07-30T22:41:51.504Z] 4bd745ec7bb1: Layer already exists [2021-07-30T22:41:51.504Z] 10b883cb934e: Layer already exists [2021-07-30T22:41:51.504Z] e2adb4dbbc91: Layer already exists [2021-07-30T22:41:51.504Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:51.770Z] 2.0.1-dev.1: digest: sha256:0f8f99b0cf98fad85398fa8bb2d1314d3148484af36e08b22fb47f99b0a6f193 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:52.099Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:52.413Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:41:52.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-07-30T22:41:52.414Z] 10b883cb934e: Preparing [2021-07-30T22:41:52.414Z] e2adb4dbbc91: Preparing [2021-07-30T22:41:52.414Z] 191ad36eaf87: Preparing [2021-07-30T22:41:52.414Z] e82c0dd297fc: Preparing [2021-07-30T22:41:52.414Z] 4bd745ec7bb1: Preparing [2021-07-30T22:41:52.414Z] 32f366d666a5: Preparing [2021-07-30T22:41:52.414Z] 32f366d666a5: Waiting [2021-07-30T22:41:52.414Z] 191ad36eaf87: Layer already exists [2021-07-30T22:41:52.414Z] e82c0dd297fc: Layer already exists [2021-07-30T22:41:52.414Z] 10b883cb934e: Layer already exists [2021-07-30T22:41:52.414Z] e2adb4dbbc91: Layer already exists [2021-07-30T22:41:52.414Z] 4bd745ec7bb1: Layer already exists [2021-07-30T22:41:52.414Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:52.680Z] 52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1: digest: sha256:0f8f99b0cf98fad85398fa8bb2d1314d3148484af36e08b22fb47f99b0a6f193 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:53.013Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:53.339Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2021-07-30T22:41:53.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-07-30T22:41:53.339Z] 10b883cb934e: Preparing [2021-07-30T22:41:53.339Z] e2adb4dbbc91: Preparing [2021-07-30T22:41:53.339Z] 191ad36eaf87: Preparing [2021-07-30T22:41:53.339Z] e82c0dd297fc: Preparing [2021-07-30T22:41:53.339Z] 4bd745ec7bb1: Preparing [2021-07-30T22:41:53.339Z] 32f366d666a5: Preparing [2021-07-30T22:41:53.339Z] 32f366d666a5: Waiting [2021-07-30T22:41:53.339Z] e82c0dd297fc: Layer already exists [2021-07-30T22:41:53.339Z] 4bd745ec7bb1: Layer already exists [2021-07-30T22:41:53.339Z] 191ad36eaf87: Layer already exists [2021-07-30T22:41:53.339Z] e2adb4dbbc91: Layer already exists [2021-07-30T22:41:53.339Z] 10b883cb934e: Layer already exists [2021-07-30T22:41:53.339Z] 32f366d666a5: Layer already exists [2021-07-30T22:41:53.611Z] main: digest: sha256:0f8f99b0cf98fad85398fa8bb2d1314d3148484af36e08b22fb47f99b0a6f193 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:41:53.672Z] ===================================================== [Pipeline] echo [2021-07-30T22:41:53.689Z] taggedImages: [2021-07-30T22:41:53.689Z] - nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:41:53.689Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-07-30T22:41:53.689Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.1 [2021-07-30T22:41:53.689Z] - nexus3.edgexfoundry.org:10004/device-virtual:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:41:53.689Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:54.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:41:54.217Z] [2021-07-30T22:41:54.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:54.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:41:54.852Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:41:54.852Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:41:54.852Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:41:54.852Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:41:54.852Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:41:54.852Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:41:54.852Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:41:54.852Z] d287ab97295c: Pulling fs layer [2021-07-30T22:41:54.852Z] dc539afda2c1: Waiting [2021-07-30T22:41:54.852Z] 77bc0d833cb6: Waiting [2021-07-30T22:41:54.852Z] 9065ff56babe: Waiting [2021-07-30T22:41:54.852Z] d287ab97295c: Waiting [2021-07-30T22:41:55.119Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:41:55.119Z] a1111a8f2ec3: Download complete [2021-07-30T22:41:55.119Z] dc539afda2c1: Download complete [2021-07-30T22:41:55.119Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:41:55.119Z] 77bc0d833cb6: Download complete [2021-07-30T22:41:55.384Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:41:55.384Z] 9065ff56babe: Download complete [2021-07-30T22:41:55.384Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:41:55.384Z] ed53099fbce6: Download complete [2021-07-30T22:41:56.345Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:41:56.345Z] b4d181a07f80: Download complete [2021-07-30T22:41:57.315Z] b4d181a07f80: Pull complete [2021-07-30T22:41:57.586Z] a1111a8f2ec3: Pull complete [2021-07-30T22:41:58.186Z] ed53099fbce6: Pull complete [2021-07-30T22:41:58.186Z] dc539afda2c1: Pull complete [2021-07-30T22:41:58.456Z] 77bc0d833cb6: Pull complete [2021-07-30T22:41:58.456Z] 9065ff56babe: Pull complete [2021-07-30T22:42:00.407Z] d287ab97295c: Verifying Checksum [2021-07-30T22:42:00.408Z] d287ab97295c: Download complete [2021-07-30T22:42:05.808Z] d287ab97295c: Pull complete [2021-07-30T22:42:05.808Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:42:05.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:42:05.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:42:05.918Z] prd-centos7-docker-4c-2g-1121 does not seem to be running inside a container [2021-07-30T22:42:05.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:42:08.354Z] $ docker top 5d3b48571069cd3af1b6798a253de737abff29d285e4d482672a5896ffc57e36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:42:08.836Z] ---> job-cost.sh [2021-07-30T22:42:08.836Z] lf-activate-venv: SKIPPING [2021-07-30T22:42:08.836Z] INFO: No Stack... [2021-07-30T22:42:09.797Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:42:10.065Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:42:10.394Z] + cut -d, -f6 [2021-07-30T22:42:10.394Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2021-07-30T22:42:10.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [2021-07-30T22:42:10.469Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] did not exist. Created. [2021-07-30T22:42:10.469Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:42:10.807Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T22:42:10.839Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:42:10.847Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:42:10.871Z] $ docker stop --time=1 5d3b48571069cd3af1b6798a253de737abff29d285e4d482672a5896ffc57e36 [2021-07-30T22:42:12.035Z] $ docker rm -f 5d3b48571069cd3af1b6798a253de737abff29d285e4d482672a5896ffc57e36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-30T22:42:18.423Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1123 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:42:18.442Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T22:42:18.657Z] The recommended git tool is: git [2021-07-30T22:42:24.847Z] using credential edgex-jenkins-ssh [2021-07-30T22:42:24.874Z] Cloning the remote Git repository [2021-07-30T22:42:24.971Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-07-30T22:42:25.099Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-07-30T22:42:25.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-07-30T22:42:25.229Z] > git --version # timeout=10 [2021-07-30T22:42:25.269Z] > git --version # 'git version 2.17.1' [2021-07-30T22:42:25.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:42:25.398Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:42:27.310Z] Avoid second fetch [2021-07-30T22:42:27.310Z] Checking out Revision 52f175e78e90f47d264d38148cd7058eb9c17db7 (main) [2021-07-30T22:42:27.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-07-30T22:42:27.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:42:27.332Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:42:27.349Z] > git checkout -f 52f175e78e90f47d264d38148cd7058eb9c17db7 # timeout=10 [2021-07-30T22:42:31.872Z] Commit message: "Merge pull request #233 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:42:32.233Z] provisioning config files... [2021-07-30T22:42:32.270Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8149859263339027235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:42:32.913Z] ---> docker-login.sh [2021-07-30T22:42:32.913Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:42:33.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:42:34.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:42:34.135Z] Configure a credential helper to remove this warning. See [2021-07-30T22:42:34.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:42:34.135Z] [2021-07-30T22:42:34.135Z] Login Succeeded [2021-07-30T22:42:34.135Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:42:34.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:42:34.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:42:34.748Z] Configure a credential helper to remove this warning. See [2021-07-30T22:42:34.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:42:34.748Z] [2021-07-30T22:42:34.748Z] Login Succeeded [2021-07-30T22:42:34.748Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:42:35.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:42:35.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:42:35.379Z] Configure a credential helper to remove this warning. See [2021-07-30T22:42:35.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:42:35.379Z] [2021-07-30T22:42:35.379Z] Login Succeeded [2021-07-30T22:42:35.379Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:42:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:42:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:42:35.984Z] Configure a credential helper to remove this warning. See [2021-07-30T22:42:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:42:35.984Z] [2021-07-30T22:42:35.984Z] Login Succeeded [2021-07-30T22:42:35.984Z] docker.io [2021-07-30T22:42:36.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:42:36.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:42:36.865Z] Configure a credential helper to remove this warning. See [2021-07-30T22:42:36.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:42:36.865Z] [2021-07-30T22:42:36.865Z] Login Succeeded [2021-07-30T22:42:36.865Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:42:36.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:42:37.411Z] ========================================================= [2021-07-30T22:42:37.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T22:42:37.411Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:42:37.802Z] + 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-07-30T22:42:38.418Z] Sending build context to Docker daemon 8.582MB [2021-07-30T22:42:38.418Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:42:38.418Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:42:38.702Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T22:42:38.702Z] 595b0fe564bb: Pulling fs layer [2021-07-30T22:42:38.702Z] 24495759ef45: Pulling fs layer [2021-07-30T22:42:38.702Z] d148012ef14d: Pulling fs layer [2021-07-30T22:42:38.702Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T22:42:38.702Z] 093eec477d81: Pulling fs layer [2021-07-30T22:42:38.702Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T22:42:38.702Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T22:42:38.702Z] 596795e73e0f: Pulling fs layer [2021-07-30T22:42:38.702Z] cb65c68fc2e2: Waiting [2021-07-30T22:42:38.702Z] 093eec477d81: Waiting [2021-07-30T22:42:38.702Z] a6d5b2bbb924: Waiting [2021-07-30T22:42:38.702Z] 2446dc1eb7d3: Waiting [2021-07-30T22:42:38.702Z] 596795e73e0f: Waiting [2021-07-30T22:42:38.702Z] d148012ef14d: Verifying Checksum [2021-07-30T22:42:38.702Z] d148012ef14d: Download complete [2021-07-30T22:42:38.702Z] 24495759ef45: Verifying Checksum [2021-07-30T22:42:38.702Z] 24495759ef45: Download complete [2021-07-30T22:42:38.983Z] 093eec477d81: Verifying Checksum [2021-07-30T22:42:38.983Z] 093eec477d81: Download complete [2021-07-30T22:42:38.983Z] a6d5b2bbb924: Verifying Checksum [2021-07-30T22:42:38.983Z] a6d5b2bbb924: Download complete [2021-07-30T22:42:38.983Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T22:42:38.983Z] 2446dc1eb7d3: Download complete [2021-07-30T22:42:38.983Z] 595b0fe564bb: Verifying Checksum [2021-07-30T22:42:38.983Z] 595b0fe564bb: Download complete [2021-07-30T22:42:39.992Z] 595b0fe564bb: Pull complete [2021-07-30T22:42:40.603Z] 24495759ef45: Pull complete [2021-07-30T22:42:41.214Z] d148012ef14d: Pull complete [2021-07-30T22:42:42.700Z] 596795e73e0f: Verifying Checksum [2021-07-30T22:42:42.700Z] 596795e73e0f: Download complete [2021-07-30T22:42:43.702Z] cb65c68fc2e2: Verifying Checksum [2021-07-30T22:42:43.702Z] cb65c68fc2e2: Download complete [2021-07-30T22:42:56.367Z] cb65c68fc2e2: Pull complete [2021-07-30T22:42:56.367Z] 093eec477d81: Pull complete [2021-07-30T22:42:56.367Z] a6d5b2bbb924: Pull complete [2021-07-30T22:42:56.367Z] 2446dc1eb7d3: Pull complete [2021-07-30T22:43:00.716Z] 596795e73e0f: Pull complete [2021-07-30T22:43:00.716Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T22:43:00.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T22:43:00.716Z] ---> d9e956139c92 [2021-07-30T22:43:00.716Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-30T22:43:03.430Z] ---> Running in f4d485c6b3c8 [2021-07-30T22:43:04.441Z] Removing intermediate container f4d485c6b3c8 [2021-07-30T22:43:04.441Z] ---> a37b60854bec [2021-07-30T22:43:04.441Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:43:04.441Z] ---> Running in a0d96a517266 [2021-07-30T22:43:07.089Z] Removing intermediate container a0d96a517266 [2021-07-30T22:43:07.089Z] ---> da35b63a816c [2021-07-30T22:43:07.089Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T22:43:07.089Z] ---> Running in 447189b59dd3 [2021-07-30T22:43:08.545Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:43:09.532Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:43:10.519Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-30T22:43:10.519Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-30T22:43:10.519Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-30T22:43:10.519Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:43:10.795Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:43:11.237Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-30T22:43:11.237Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:43:11.845Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-30T22:43:12.121Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-30T22:43:12.121Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-30T22:43:12.727Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-30T22:43:13.714Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-30T22:43:13.989Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:43:14.264Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:43:14.264Z] OK: 145 MiB in 53 packages [2021-07-30T22:43:16.250Z] Removing intermediate container 447189b59dd3 [2021-07-30T22:43:16.250Z] ---> f7ef7fa2110c [2021-07-30T22:43:16.250Z] Step 6/8 : WORKDIR /device-virtual-go [2021-07-30T22:43:16.250Z] ---> Running in db83f4665fe7 [2021-07-30T22:43:16.853Z] Removing intermediate container db83f4665fe7 [2021-07-30T22:43:16.853Z] ---> 6f083d26fc8d [2021-07-30T22:43:16.853Z] Step 7/8 : COPY . . [2021-07-30T22:43:18.301Z] ---> 11990b33968b [2021-07-30T22:43:18.301Z] Step 8/8 : RUN go mod download [2021-07-30T22:43:18.301Z] ---> Running in 0044855a2a86 [2021-07-30T22:43:50.772Z] Removing intermediate container 0044855a2a86 [2021-07-30T22:43:50.772Z] ---> d1120c02f11c [2021-07-30T22:43:50.772Z] Successfully built d1120c02f11c [2021-07-30T22:43:50.772Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:43:51.135Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:43:51.135Z] . [Pipeline] withDockerContainer [2021-07-30T22:43:51.414Z] prd-ubuntu18.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2021-07-30T22:43:51.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:43:53.383Z] $ docker top 43b9da7957ecd857352ac07a38573b6c49f9dbf51cde8fdcd457b7294078ef7d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:43:54.401Z] + go version [2021-07-30T22:43:54.401Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T22:43:54.426Z] $ docker stop --time=1 43b9da7957ecd857352ac07a38573b6c49f9dbf51cde8fdcd457b7294078ef7d [2021-07-30T22:43:56.477Z] $ docker rm -f 43b9da7957ecd857352ac07a38573b6c49f9dbf51cde8fdcd457b7294078ef7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:43:57.299Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:43:57.299Z] . [Pipeline] withDockerContainer [2021-07-30T22:43:57.566Z] prd-ubuntu18.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2021-07-30T22:43:57.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:43:59.463Z] $ docker top f0a36aa59cdfde54b66212717bf0f59af9d0a5e29163b38b4877843818ac43ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:44:00.489Z] + go mod tidy [Pipeline] sh [2021-07-30T22:44:02.184Z] + make test [2021-07-30T22:44:02.184Z] go mod tidy [2021-07-30T22:44:02.791Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-30T22:44:04.236Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-07-30T22:45:26.198Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-07-30T22:45:26.198Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.211s coverage: 63.8% of statements [2021-07-30T22:45:26.472Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:45:58.850Z] gofmt -l . [2021-07-30T22:45:58.850Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:45:58.850Z] ./bin/test-attribution-txt.sh [2021-07-30T22:46:00.834Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:46:01.457Z] $ docker stop --time=1 f0a36aa59cdfde54b66212717bf0f59af9d0a5e29163b38b4877843818ac43ed [2021-07-30T22:46:03.395Z] $ docker rm -f f0a36aa59cdfde54b66212717bf0f59af9d0a5e29163b38b4877843818ac43ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:46:04.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:46:04.339Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T22:46:04.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T22:46:05.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:46:05.850Z] + ls -al . [2021-07-30T22:46:05.850Z] total 164 [2021-07-30T22:46:05.850Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 30 22:46 . [2021-07-30T22:46:05.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:42 .. [2021-07-30T22:46:05.850Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 22:42 .git [2021-07-30T22:46:05.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:42 .github [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 277 Jul 30 22:42 .gitignore [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jul 30 22:42 Attribution.txt [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 6349 Jul 30 22:42 CHANGELOG.md [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jul 30 22:42 Dockerfile [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 998 Jul 30 22:42 Dockerfile.build [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 30 22:42 Jenkinsfile [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 22:42 LICENSE [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 905 Jul 30 22:42 Makefile [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 2913 Jul 30 22:42 README.md [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 30 22:38 VERSION [2021-07-30T22:46:05.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:42 bin [2021-07-30T22:46:05.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:42 cmd [2021-07-30T22:46:05.850Z] -rw-r--r-- 1 jenkins jenkins 47257 Jul 30 22:45 coverage.out [2021-07-30T22:46:05.850Z] -rw-r--r-- 1 jenkins jenkins 795 Jul 30 22:46 go.mod [2021-07-30T22:46:05.850Z] -rw-r--r-- 1 jenkins jenkins 22824 Jul 30 22:44 go.sum [2021-07-30T22:46:05.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:42 internal [2021-07-30T22:46:05.850Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 30 22:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:06.197Z] + 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=52f175e78e90f47d264d38148cd7058eb9c17db7 --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-30T22:46:06.806Z] Sending build context to Docker daemon 8.654MB [2021-07-30T22:46:06.806Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:46:06.806Z] Step 2/26 : FROM ${BASE} AS builder [2021-07-30T22:46:06.806Z] ---> d1120c02f11c [2021-07-30T22:46:06.806Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:46:07.085Z] ---> Running in a08b279743ba [2021-07-30T22:46:07.685Z] Removing intermediate container a08b279743ba [2021-07-30T22:46:07.685Z] ---> 4358642bd849 [2021-07-30T22:46:07.685Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:46:07.685Z] ---> Running in b03e2716d3ec [2021-07-30T22:46:08.281Z] Removing intermediate container b03e2716d3ec [2021-07-30T22:46:08.281Z] ---> 27b1a9cefd56 [2021-07-30T22:46:08.281Z] Step 5/26 : WORKDIR /device-virtual-go [2021-07-30T22:46:08.552Z] ---> Running in 351c9cc28bab [2021-07-30T22:46:09.152Z] Removing intermediate container 351c9cc28bab [2021-07-30T22:46:09.152Z] ---> 83a394347265 [2021-07-30T22:46:09.152Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:46:09.152Z] ---> Running in caf14f1b60e6 [2021-07-30T22:46:11.803Z] Removing intermediate container caf14f1b60e6 [2021-07-30T22:46:11.803Z] ---> 2cee77506c5f [2021-07-30T22:46:11.803Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:46:11.803Z] ---> Running in 1efcee20a7fe [2021-07-30T22:46:13.265Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:46:14.256Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:46:15.244Z] OK: 145 MiB in 53 packages [2021-07-30T22:46:16.687Z] Removing intermediate container 1efcee20a7fe [2021-07-30T22:46:16.687Z] ---> 8fc8734fc975 [2021-07-30T22:46:16.687Z] Step 8/26 : COPY . . [2021-07-30T22:46:18.137Z] ---> 41a9ac994a1a [2021-07-30T22:46:18.137Z] Step 9/26 : RUN go mod tidy [2021-07-30T22:46:18.138Z] ---> Running in 016a81266902 [2021-07-30T22:46:21.680Z] Removing intermediate container 016a81266902 [2021-07-30T22:46:21.680Z] ---> c63634ba2df0 [2021-07-30T22:46:21.680Z] Step 10/26 : RUN go mod download [2021-07-30T22:46:21.956Z] ---> Running in 27d356e721e3 [2021-07-30T22:46:25.371Z] Removing intermediate container 27d356e721e3 [2021-07-30T22:46:25.371Z] ---> c7bbea24c35d [2021-07-30T22:46:25.371Z] Step 11/26 : ARG MAKE='make build' [2021-07-30T22:46:25.371Z] ---> Running in cbb552ece0ee [2021-07-30T22:46:25.371Z] Removing intermediate container cbb552ece0ee [2021-07-30T22:46:25.371Z] ---> c75cfec13f20 [2021-07-30T22:46:25.371Z] Step 12/26 : RUN $MAKE [2021-07-30T22:46:25.646Z] ---> Running in 06838be56d95 [2021-07-30T22:46:27.664Z] go mod tidy [2021-07-30T22:46:27.955Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.1" -o cmd/device-virtual ./cmd [2021-07-30T22:47:36.118Z] Removing intermediate container 06838be56d95 [2021-07-30T22:47:36.118Z] ---> a020319627f1 [2021-07-30T22:47:36.118Z] Step 13/26 : FROM alpine:3.12 [2021-07-30T22:47:36.118Z] 3.12: Pulling from library/alpine [2021-07-30T22:47:36.118Z] d2f70382dc9a: Pulling fs layer [2021-07-30T22:47:36.118Z] d2f70382dc9a: Verifying Checksum [2021-07-30T22:47:36.118Z] d2f70382dc9a: Download complete [2021-07-30T22:47:36.118Z] d2f70382dc9a: Pull complete [2021-07-30T22:47:36.118Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:47:36.118Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:47:36.118Z] ---> c4fd0aeabfcf [2021-07-30T22:47:36.118Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-07-30T22:47:36.118Z] ---> Running in d3ad5cbdc8b7 [2021-07-30T22:47:36.118Z] Removing intermediate container d3ad5cbdc8b7 [2021-07-30T22:47:36.118Z] ---> 7d54a0101b83 [2021-07-30T22:47:36.118Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:47:36.118Z] ---> Running in 3d6b6cea66a3 [2021-07-30T22:47:36.118Z] Removing intermediate container 3d6b6cea66a3 [2021-07-30T22:47:36.118Z] ---> a90290579c40 [2021-07-30T22:47:36.118Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:47:36.118Z] ---> Running in 339d4b858188 [2021-07-30T22:47:36.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:47:36.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:47:36.394Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:47:36.671Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:47:36.671Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:47:36.671Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:47:37.268Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:47:37.540Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:47:37.541Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:47:37.541Z] OK: 8 MiB in 20 packages [2021-07-30T22:47:38.986Z] Removing intermediate container 339d4b858188 [2021-07-30T22:47:38.986Z] ---> b2706c001e34 [2021-07-30T22:47:38.986Z] Step 17/26 : WORKDIR / [2021-07-30T22:47:39.262Z] ---> Running in 3bdd848323e6 [2021-07-30T22:47:39.860Z] Removing intermediate container 3bdd848323e6 [2021-07-30T22:47:39.860Z] ---> c6b0a2096c7d [2021-07-30T22:47:39.860Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-07-30T22:47:40.467Z] ---> 52b21ad5cf4e [2021-07-30T22:47:40.467Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-07-30T22:47:41.449Z] ---> 9b64d834bea5 [2021-07-30T22:47:41.449Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-07-30T22:47:43.425Z] ---> 11b35e1f7746 [2021-07-30T22:47:43.425Z] Step 21/26 : EXPOSE 59900 [2021-07-30T22:47:43.425Z] ---> Running in aa271fc22cb7 [2021-07-30T22:47:43.704Z] Removing intermediate container aa271fc22cb7 [2021-07-30T22:47:43.704Z] ---> d2115de5c154 [2021-07-30T22:47:43.704Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-07-30T22:47:43.978Z] ---> Running in ecdbff3ac5de [2021-07-30T22:47:44.576Z] Removing intermediate container ecdbff3ac5de [2021-07-30T22:47:44.576Z] ---> 909a659f2f0c [2021-07-30T22:47:44.576Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:47:44.576Z] ---> Running in 72f587c77ff3 [2021-07-30T22:47:45.174Z] Removing intermediate container 72f587c77ff3 [2021-07-30T22:47:45.174Z] ---> 9beb8ab27a26 [2021-07-30T22:47:45.174Z] Step 24/26 : LABEL arch=arm64 [2021-07-30T22:47:45.456Z] ---> Running in 9c98c6c157d6 [2021-07-30T22:47:46.054Z] Removing intermediate container 9c98c6c157d6 [2021-07-30T22:47:46.054Z] ---> a0e7eaccecb3 [2021-07-30T22:47:46.054Z] Step 25/26 : LABEL git_sha=52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:47:46.054Z] ---> Running in 210581f22640 [2021-07-30T22:47:46.653Z] Removing intermediate container 210581f22640 [2021-07-30T22:47:46.653Z] ---> e333d9751a43 [2021-07-30T22:47:46.653Z] Step 26/26 : LABEL version=2.0.1-dev.1 [2021-07-30T22:47:46.653Z] ---> Running in 3cf62231c4ad [2021-07-30T22:47:47.249Z] Removing intermediate container 3cf62231c4ad [2021-07-30T22:47:47.249Z] ---> f9fff61578cb [2021-07-30T22:47:47.249Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T22:47:47.249Z] Successfully built f9fff61578cb [2021-07-30T22:47:47.249Z] 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-07-30T22:47:47.446Z] provisioning config files... [2021-07-30T22:47:47.469Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1465877517221630414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:47.837Z] ---> docker-login.sh [2021-07-30T22:47:47.837Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:47:48.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:48.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:48.387Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:48.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:48.387Z] [2021-07-30T22:47:48.387Z] Login Succeeded [2021-07-30T22:47:48.387Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:47:48.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:48.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:48.983Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:48.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:48.983Z] [2021-07-30T22:47:48.983Z] Login Succeeded [2021-07-30T22:47:48.983Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:47:49.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:49.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:49.853Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:49.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:49.853Z] [2021-07-30T22:47:49.853Z] Login Succeeded [2021-07-30T22:47:49.853Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:47:50.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:50.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:50.404Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:50.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:50.404Z] [2021-07-30T22:47:50.404Z] Login Succeeded [2021-07-30T22:47:50.404Z] docker.io [2021-07-30T22:47:52.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:52.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:52.528Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:52.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:52.528Z] [2021-07-30T22:47:52.528Z] Login Succeeded [2021-07-30T22:47:52.528Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:47:52.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:47:52.644Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-07-30T22:47:52.644Z] 52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:47:52.644Z] latest [2021-07-30T22:47:52.644Z] 2.0.1-dev.1 [2021-07-30T22:47:52.644Z] 52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:47:52.644Z] main [2021-07-30T22:47:52.644Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:53.106Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:53.463Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:47:53.463Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-07-30T22:47:53.463Z] 68ab9259528a: Preparing [2021-07-30T22:47:53.463Z] 47ec2a878500: Preparing [2021-07-30T22:47:53.463Z] 26ca083de7a3: Preparing [2021-07-30T22:47:53.463Z] 1b1863f5ce54: Preparing [2021-07-30T22:47:53.463Z] cdd92b919e1a: Preparing [2021-07-30T22:47:53.463Z] 3fbe34a1663b: Preparing [2021-07-30T22:47:53.463Z] 3fbe34a1663b: Waiting [2021-07-30T22:47:54.061Z] cdd92b919e1a: Pushed [2021-07-30T22:47:54.061Z] 26ca083de7a3: Pushed [2021-07-30T22:47:54.061Z] 47ec2a878500: Pushed [2021-07-30T22:47:54.061Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:47:54.657Z] 1b1863f5ce54: Pushed [2021-07-30T22:47:58.044Z] 68ab9259528a: Pushed [2021-07-30T22:47:58.044Z] 52f175e78e90f47d264d38148cd7058eb9c17db7: digest: sha256:7e474be463e544c374c93b3d05041c5096f8f3e43915aa7dadbdff95a728d837 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:58.401Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:58.747Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-07-30T22:47:58.747Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-07-30T22:47:58.747Z] 68ab9259528a: Preparing [2021-07-30T22:47:58.747Z] 47ec2a878500: Preparing [2021-07-30T22:47:58.747Z] 26ca083de7a3: Preparing [2021-07-30T22:47:58.747Z] 1b1863f5ce54: Preparing [2021-07-30T22:47:58.747Z] cdd92b919e1a: Preparing [2021-07-30T22:47:58.747Z] 3fbe34a1663b: Preparing [2021-07-30T22:47:58.747Z] 3fbe34a1663b: Waiting [2021-07-30T22:47:59.021Z] cdd92b919e1a: Layer already exists [2021-07-30T22:47:59.021Z] 68ab9259528a: Layer already exists [2021-07-30T22:47:59.021Z] 1b1863f5ce54: Layer already exists [2021-07-30T22:47:59.021Z] 26ca083de7a3: Layer already exists [2021-07-30T22:47:59.021Z] 47ec2a878500: Layer already exists [2021-07-30T22:47:59.021Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:47:59.021Z] latest: digest: sha256:7e474be463e544c374c93b3d05041c5096f8f3e43915aa7dadbdff95a728d837 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:59.386Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:59.739Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.1 [2021-07-30T22:47:59.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-07-30T22:47:59.739Z] 68ab9259528a: Preparing [2021-07-30T22:47:59.739Z] 47ec2a878500: Preparing [2021-07-30T22:47:59.739Z] 26ca083de7a3: Preparing [2021-07-30T22:47:59.739Z] 1b1863f5ce54: Preparing [2021-07-30T22:47:59.739Z] cdd92b919e1a: Preparing [2021-07-30T22:47:59.739Z] 3fbe34a1663b: Preparing [2021-07-30T22:47:59.739Z] 3fbe34a1663b: Waiting [2021-07-30T22:48:00.011Z] 1b1863f5ce54: Layer already exists [2021-07-30T22:48:00.011Z] 47ec2a878500: Layer already exists [2021-07-30T22:48:00.011Z] cdd92b919e1a: Layer already exists [2021-07-30T22:48:00.011Z] 26ca083de7a3: Layer already exists [2021-07-30T22:48:00.011Z] 68ab9259528a: Layer already exists [2021-07-30T22:48:00.011Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:48:00.011Z] 2.0.1-dev.1: digest: sha256:7e474be463e544c374c93b3d05041c5096f8f3e43915aa7dadbdff95a728d837 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:00.374Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:00.730Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:48:00.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-07-30T22:48:00.731Z] 68ab9259528a: Preparing [2021-07-30T22:48:00.731Z] 47ec2a878500: Preparing [2021-07-30T22:48:00.731Z] 26ca083de7a3: Preparing [2021-07-30T22:48:00.731Z] 1b1863f5ce54: Preparing [2021-07-30T22:48:00.731Z] cdd92b919e1a: Preparing [2021-07-30T22:48:00.731Z] 3fbe34a1663b: Preparing [2021-07-30T22:48:00.731Z] 3fbe34a1663b: Waiting [2021-07-30T22:48:01.011Z] 68ab9259528a: Layer already exists [2021-07-30T22:48:01.011Z] 1b1863f5ce54: Layer already exists [2021-07-30T22:48:01.011Z] cdd92b919e1a: Layer already exists [2021-07-30T22:48:01.011Z] 47ec2a878500: Layer already exists [2021-07-30T22:48:01.011Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:48:01.011Z] 26ca083de7a3: Layer already exists [2021-07-30T22:48:01.011Z] 52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1: digest: sha256:7e474be463e544c374c93b3d05041c5096f8f3e43915aa7dadbdff95a728d837 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:01.375Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:01.746Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2021-07-30T22:48:01.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-07-30T22:48:01.746Z] 68ab9259528a: Preparing [2021-07-30T22:48:01.746Z] 47ec2a878500: Preparing [2021-07-30T22:48:01.746Z] 26ca083de7a3: Preparing [2021-07-30T22:48:01.746Z] 1b1863f5ce54: Preparing [2021-07-30T22:48:01.746Z] cdd92b919e1a: Preparing [2021-07-30T22:48:01.746Z] 3fbe34a1663b: Preparing [2021-07-30T22:48:01.746Z] 3fbe34a1663b: Waiting [2021-07-30T22:48:02.027Z] 68ab9259528a: Layer already exists [2021-07-30T22:48:02.027Z] 47ec2a878500: Layer already exists [2021-07-30T22:48:02.027Z] 26ca083de7a3: Layer already exists [2021-07-30T22:48:02.027Z] 1b1863f5ce54: Layer already exists [2021-07-30T22:48:02.027Z] cdd92b919e1a: Layer already exists [2021-07-30T22:48:02.027Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:48:02.301Z] main: digest: sha256:7e474be463e544c374c93b3d05041c5096f8f3e43915aa7dadbdff95a728d837 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:48:02.370Z] ===================================================== [Pipeline] echo [2021-07-30T22:48:02.386Z] taggedImages: [2021-07-30T22:48:02.386Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7 [2021-07-30T22:48:02.386Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-07-30T22:48:02.386Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.1 [2021-07-30T22:48:02.386Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:52f175e78e90f47d264d38148cd7058eb9c17db7-2.0.1-dev.1 [2021-07-30T22:48:02.386Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:02.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:48:03.129Z] [2021-07-30T22:48:03.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:03.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:48:03.776Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T22:48:03.776Z] 448f6bf000e3: Pulling fs layer [2021-07-30T22:48:03.776Z] f757da607395: Pulling fs layer [2021-07-30T22:48:03.776Z] 05883995daec: Pulling fs layer [2021-07-30T22:48:03.776Z] 8603b9c90790: Pulling fs layer [2021-07-30T22:48:03.776Z] 1560dd03e051: Pulling fs layer [2021-07-30T22:48:03.776Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T22:48:03.776Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T22:48:03.776Z] 8603b9c90790: Waiting [2021-07-30T22:48:03.776Z] 1560dd03e051: Waiting [2021-07-30T22:48:03.776Z] 27f5ce0e4adf: Waiting [2021-07-30T22:48:03.776Z] c2d8d7efcc4b: Waiting [2021-07-30T22:48:04.054Z] f757da607395: Verifying Checksum [2021-07-30T22:48:04.054Z] f757da607395: Download complete [2021-07-30T22:48:04.054Z] 8603b9c90790: Verifying Checksum [2021-07-30T22:48:04.054Z] 8603b9c90790: Download complete [2021-07-30T22:48:04.329Z] 1560dd03e051: Verifying Checksum [2021-07-30T22:48:04.329Z] 1560dd03e051: Download complete [2021-07-30T22:48:04.329Z] 27f5ce0e4adf: Verifying Checksum [2021-07-30T22:48:04.329Z] 27f5ce0e4adf: Download complete [2021-07-30T22:48:04.329Z] 05883995daec: Verifying Checksum [2021-07-30T22:48:04.329Z] 05883995daec: Download complete [2021-07-30T22:48:04.928Z] 448f6bf000e3: Download complete [2021-07-30T22:48:08.348Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T22:48:08.348Z] c2d8d7efcc4b: Download complete [2021-07-30T22:48:08.982Z] 448f6bf000e3: Pull complete [2021-07-30T22:48:09.987Z] f757da607395: Pull complete [2021-07-30T22:48:11.452Z] 05883995daec: Pull complete [2021-07-30T22:48:12.436Z] 8603b9c90790: Pull complete [2021-07-30T22:48:13.444Z] 1560dd03e051: Pull complete [2021-07-30T22:48:13.722Z] 27f5ce0e4adf: Pull complete [2021-07-30T22:48:28.809Z] c2d8d7efcc4b: Pull complete [2021-07-30T22:48:28.809Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T22:48:28.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:48:28.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T22:48:29.082Z] prd-ubuntu18.04-docker-arm64-4c-16g-1123 does not seem to be running inside a container [2021-07-30T22:48:29.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-30T22:48:33.352Z] $ docker top b391d68d8ab882c0dd498564427846d27908f4c2e81b6fe0bdc2c22123d8f7ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:34.308Z] ---> job-cost.sh [2021-07-30T22:48:34.308Z] lf-activate-venv: SKIPPING [2021-07-30T22:48:34.308Z] INFO: No Stack... [2021-07-30T22:48:35.293Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T22:48:35.564Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:48:36.229Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-07-30T22:48:36.229Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T22:48:36.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [2021-07-30T22:48:36.318Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] did not exist. Created. [2021-07-30T22:48:36.318Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:48:37.003Z] /w/workspace/device-virtual-go/2@tmp/durable-f5e74e7d/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-f5e74e7d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T22:48:37.664Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T22:48:37.696Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T22:48:37.733Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:48:37.756Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:48:37.774Z] $ docker stop --time=1 b391d68d8ab882c0dd498564427846d27908f4c2e81b6fe0bdc2c22123d8f7ec [2021-07-30T22:48:39.420Z] $ docker rm -f b391d68d8ab882c0dd498564427846d27908f4c2e81b6fe0bdc2c22123d8f7ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-07-30T22:48:40.312Z] provisioning config files... [2021-07-30T22:48:40.330Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7796942897818409901tmp [Pipeline] { [Pipeline] sh [2021-07-30T22:48:40.661Z] + set +x [2021-07-30T22:48:40.661Z] + curl -s https://codecov.io/bash [2021-07-30T22:48:40.661Z] + bash -s -- [2021-07-30T22:48:40.661Z] [2021-07-30T22:48:40.661Z] _____ _ [2021-07-30T22:48:40.661Z] / ____| | | [2021-07-30T22:48:40.661Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T22:48:40.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T22:48:40.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T22:48:40.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T22:48:40.661Z] Bash-1.0.6 [2021-07-30T22:48:40.661Z] [2021-07-30T22:48:40.661Z] [2021-07-30T22:48:40.661Z] ==> git version 2.24.4 found [2021-07-30T22:48:40.661Z] ==> 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-07-30T22:48:40.661Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T22:48:40.661Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T22:48:40.661Z] ==> Jenkins CI detected. [2021-07-30T22:48:40.661Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:48:40.661Z] project root: . [2021-07-30T22:48:40.661Z] --> token set from env [2021-07-30T22:48:40.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T22:48:40.661Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T22:48:40.661Z] ==> Python coveragepy not found [2021-07-30T22:48:40.661Z] ==> Searching for coverage reports in: [2021-07-30T22:48:40.661Z] + . [2021-07-30T22:48:40.661Z] -> Found 1 reports [2021-07-30T22:48:40.661Z] ==> Detecting git/mercurial file structure [2021-07-30T22:48:40.661Z] ==> Reading reports [2021-07-30T22:48:40.661Z] + ./coverage.out bytes=47257 [2021-07-30T22:48:40.661Z] ==> Appending adjustments [2021-07-30T22:48:40.661Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T22:48:40.927Z] + Found adjustments [2021-07-30T22:48:40.927Z] ==> Gzipping contents [2021-07-30T22:48:40.927Z] 8.0K /tmp/codecov.Hh35pr.gz [2021-07-30T22:48:40.927Z] ==> Uploading reports [2021-07-30T22:48:40.927Z] url: https://codecov.io [2021-07-30T22:48:40.927Z] query: branch=main&commit=52f175e78e90f47d264d38148cd7058eb9c17db7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:48:40.927Z] -> Pinging Codecov [2021-07-30T22:48:40.927Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=52f175e78e90f47d264d38148cd7058eb9c17db7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:48:41.511Z] -> Uploading to [2021-07-30T22:48:41.511Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/5E52B4B073DB2E39498172D8E973AA87/52f175e78e90f47d264d38148cd7058eb9c17db7/2a24bb6a-6255-4ec7-856c-7ad489a7dff1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T224841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e3b470db5847a59cbe7c68ea779052416fd9a4c78fc90777fae3bd335d2cd30 [2021-07-30T22:48:41.511Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T22:48:41.511Z] Dload Upload Total Spent Left Speed [2021-07-30T22:48:41.777Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5606 0 0 100 5606 0 17197 --:--:-- --:--:-- --:--:-- 17196 100 5606 0 0 100 5606 0 17188 --:--:-- --:--:-- --:--:-- 17196 [2021-07-30T22:48:41.777Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] } [2021-07-30T22:48:41.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-30T22:48:42.189Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-30T22:48:42.226Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:42.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:48:42.572Z] [2021-07-30T22:48:42.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:42.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:48:42.921Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-30T22:48:42.921Z] 188c0c94c7c5: Pulling fs layer [2021-07-30T22:48:42.921Z] 0ef7d3d256c8: Pulling fs layer [2021-07-30T22:48:42.921Z] de9db76c5a1d: Pulling fs layer [2021-07-30T22:48:42.921Z] 0eba1c9be4d2: Pulling fs layer [2021-07-30T22:48:42.921Z] 0d57e429df01: Pulling fs layer [2021-07-30T22:48:42.921Z] 4e4be7b47b0d: Pulling fs layer [2021-07-30T22:48:42.921Z] e1f770b5df2f: Pulling fs layer [2021-07-30T22:48:42.921Z] 85a0685a4137: Pulling fs layer [2021-07-30T22:48:42.921Z] 0d57e429df01: Waiting [2021-07-30T22:48:42.921Z] 4e4be7b47b0d: Waiting [2021-07-30T22:48:42.921Z] e1f770b5df2f: Waiting [2021-07-30T22:48:42.921Z] 85a0685a4137: Waiting [2021-07-30T22:48:42.921Z] de9db76c5a1d: Verifying Checksum [2021-07-30T22:48:42.921Z] de9db76c5a1d: Download complete [2021-07-30T22:48:42.921Z] 0ef7d3d256c8: Verifying Checksum [2021-07-30T22:48:42.921Z] 0ef7d3d256c8: Download complete [2021-07-30T22:48:42.921Z] 0d57e429df01: Verifying Checksum [2021-07-30T22:48:42.921Z] 0d57e429df01: Download complete [2021-07-30T22:48:43.188Z] 4e4be7b47b0d: Verifying Checksum [2021-07-30T22:48:43.188Z] 4e4be7b47b0d: Download complete [2021-07-30T22:48:43.188Z] 188c0c94c7c5: Verifying Checksum [2021-07-30T22:48:43.188Z] 188c0c94c7c5: Download complete [2021-07-30T22:48:43.456Z] 188c0c94c7c5: Pull complete [2021-07-30T22:48:43.456Z] 0ef7d3d256c8: Pull complete [2021-07-30T22:48:43.456Z] de9db76c5a1d: Pull complete [2021-07-30T22:48:44.038Z] e1f770b5df2f: Verifying Checksum [2021-07-30T22:48:44.038Z] e1f770b5df2f: Download complete [2021-07-30T22:48:48.323Z] 0eba1c9be4d2: Verifying Checksum [2021-07-30T22:48:48.323Z] 0eba1c9be4d2: Download complete [2021-07-30T22:48:49.753Z] 85a0685a4137: Verifying Checksum [2021-07-30T22:48:49.753Z] 85a0685a4137: Download complete [2021-07-30T22:48:51.743Z] 0eba1c9be4d2: Pull complete [2021-07-30T22:48:51.743Z] 0d57e429df01: Pull complete [2021-07-30T22:48:51.743Z] 4e4be7b47b0d: Pull complete [2021-07-30T22:48:52.017Z] e1f770b5df2f: Pull complete [2021-07-30T22:48:55.397Z] 85a0685a4137: Pull complete [2021-07-30T22:48:55.397Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-30T22:48:55.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:48:55.397Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-30T22:48:55.493Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:48:55.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-30T22:48:57.698Z] $ docker top 339e284afd931dcc576d2ad4f852be1db3a38e98520b87b3afbabc183a8301a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-30T22:48:57.814Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-30T22:48:58.117Z] + set -o pipefail [2021-07-30T22:48:58.117Z] + snyk monitor '--org=edgex-jenkins' [2021-07-30T22:49:06.344Z] [2021-07-30T22:49:06.344Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2021-07-30T22:49:06.344Z] [2021-07-30T22:49:06.344Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/5343faa6-96ec-4bf4-aec3-06410a72af40 [2021-07-30T22:49:06.344Z] [2021-07-30T22:49:06.344Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-30T22:49:06.344Z] [2021-07-30T22:49:06.344Z] [Pipeline] } [2021-07-30T22:49:06.364Z] $ docker stop --time=1 339e284afd931dcc576d2ad4f852be1db3a38e98520b87b3afbabc183a8301a1 [2021-07-30T22:49:08.344Z] $ docker rm -f 339e284afd931dcc576d2ad4f852be1db3a38e98520b87b3afbabc183a8301a1 [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-07-30T22:49:09.380Z] + git log --format=format:%s -1 52f175e78e90f47d264d38148cd7058eb9c17db7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:09.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:49:09.709Z] . [Pipeline] withDockerContainer [2021-07-30T22:49:09.804Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:49:09.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:49:10.270Z] $ docker top 6ac2facf4a06da5f5b991cd836b17d36890b026dd56efedd215e78370aa7b602 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:49:10.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:49:10.420Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:49:10.546Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:49:10.549Z] $ docker exec 6ac2facf4a06da5f5b991cd836b17d36890b026dd56efedd215e78370aa7b602 ssh-agent [2021-07-30T22:49:10.672Z] SSH_AUTH_SOCK=/tmp/ssh-eM6iUmjXlKc0/agent.14 [2021-07-30T22:49:10.672Z] SSH_AGENT_PID=21 [2021-07-30T22:49:10.682Z] Running ssh-add (command line suppressed) [2021-07-30T22:49:10.790Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5332450459015782042.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5332450459015782042.key) [2021-07-30T22:49:10.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:49:11.129Z] + git semver tag [2021-07-30T22:49:11.129Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:49:11.129Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-07-30T22:49:11.129Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:49:11.129Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:49:11.129Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:49:11.129Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:49:11.129Z] # $SEMVER_BRANCH = main [2021-07-30T22:49:11.129Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2021-07-30T22:49:11.129Z] # 52f175e78e90f47d264d38148cd7058eb9c17db7 HEAD [2021-07-30T22:49:11.129Z] # -> Force: false [2021-07-30T22:49:11.129Z] # 238e553a5397126ea9a37a4a3625e55a4ded6213 refs/tags/v2.0.1-dev.1 [Pipeline] } [2021-07-30T22:49:11.146Z] $ docker exec --env ******** --env ******** 6ac2facf4a06da5f5b991cd836b17d36890b026dd56efedd215e78370aa7b602 ssh-agent -k [2021-07-30T22:49:11.266Z] unset SSH_AUTH_SOCK; [2021-07-30T22:49:11.266Z] unset SSH_AGENT_PID; [2021-07-30T22:49:11.266Z] echo Agent pid 21 killed; [2021-07-30T22:49:11.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:49:11.655Z] + git semver [Pipeline] } [2021-07-30T22:49:11.683Z] $ docker stop --time=1 6ac2facf4a06da5f5b991cd836b17d36890b026dd56efedd215e78370aa7b602 [2021-07-30T22:49:12.917Z] $ docker rm -f 6ac2facf4a06da5f5b991cd836b17d36890b026dd56efedd215e78370aa7b602 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:13.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:49:13.403Z] [2021-07-30T22:49:13.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:13.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:49:13.737Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-30T22:49:13.737Z] ab5ef0e58194: Pulling fs layer [2021-07-30T22:49:13.737Z] 9712f1f96733: Pulling fs layer [2021-07-30T22:49:13.737Z] 63f879dbbcfc: Pulling fs layer [2021-07-30T22:49:13.737Z] 0d9ebad4ef96: Pulling fs layer [2021-07-30T22:49:13.737Z] e9a5061849ea: Pulling fs layer [2021-07-30T22:49:13.737Z] d747dcd14b5f: Pulling fs layer [2021-07-30T22:49:13.737Z] 2de7ff778b66: Pulling fs layer [2021-07-30T22:49:13.737Z] 0d9ebad4ef96: Waiting [2021-07-30T22:49:13.737Z] e9a5061849ea: Waiting [2021-07-30T22:49:13.737Z] d747dcd14b5f: Waiting [2021-07-30T22:49:13.737Z] 2de7ff778b66: Waiting [2021-07-30T22:49:13.737Z] 9712f1f96733: Verifying Checksum [2021-07-30T22:49:13.737Z] 9712f1f96733: Download complete [2021-07-30T22:49:15.685Z] 63f879dbbcfc: Verifying Checksum [2021-07-30T22:49:15.685Z] 63f879dbbcfc: Download complete [2021-07-30T22:49:16.265Z] e9a5061849ea: Download complete [2021-07-30T22:49:16.265Z] d747dcd14b5f: Verifying Checksum [2021-07-30T22:49:16.265Z] d747dcd14b5f: Download complete [2021-07-30T22:49:16.848Z] 2de7ff778b66: Verifying Checksum [2021-07-30T22:49:16.848Z] 2de7ff778b66: Download complete [2021-07-30T22:49:17.113Z] 0d9ebad4ef96: Verifying Checksum [2021-07-30T22:49:17.113Z] 0d9ebad4ef96: Download complete [2021-07-30T22:49:17.698Z] ab5ef0e58194: Verifying Checksum [2021-07-30T22:49:17.698Z] ab5ef0e58194: Download complete [2021-07-30T22:49:20.309Z] ab5ef0e58194: Pull complete [2021-07-30T22:49:20.309Z] 9712f1f96733: Pull complete [2021-07-30T22:49:21.280Z] 63f879dbbcfc: Pull complete [2021-07-30T22:49:25.557Z] 0d9ebad4ef96: Pull complete [2021-07-30T22:49:25.557Z] e9a5061849ea: Pull complete [2021-07-30T22:49:25.557Z] d747dcd14b5f: Pull complete [2021-07-30T22:49:26.521Z] 2de7ff778b66: Pull complete [2021-07-30T22:49:26.521Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-30T22:49:26.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:49:26.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-30T22:49:26.614Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:49:26.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-30T22:49:30.013Z] $ docker top d9538b28f4ab3a07e6cc9c905b8e79633e5d4f92954dae6e91288e97678095df -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:49:30.130Z] provisioning config files... [2021-07-30T22:49:30.145Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5495583857701290382tmp [2021-07-30T22:49:30.165Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4273330692425533990tmp [2021-07-30T22:49:30.184Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3534409531568550186tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:49:30.208Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:49:30.541Z] ---> sigul-configuration.sh [2021-07-30T22:49:30.541Z] gpg: directory `/root/.gnupg' created [2021-07-30T22:49:30.541Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-30T22:49:30.541Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-30T22:49:30.541Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-30T22:49:30.541Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-30T22:49:30.541Z] gpg: CAST5 encrypted data [2021-07-30T22:49:30.541Z] gpg: encrypted with 1 passphrase [2021-07-30T22:49:30.541Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-30T22:49:30.853Z] + mkdir /home/jenkins [2021-07-30T22:49:30.853Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-30T22:49:31.167Z] + 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-07-30T22:49:31.183Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:49:31.493Z] ---> sigul-install.sh [2021-07-30T22:49:31.493Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-30T22:49:31.813Z] + git tag --list [2021-07-30T22:49:31.813Z] v1.0.0 [2021-07-30T22:49:31.813Z] v1.1.0 [2021-07-30T22:49:31.813Z] v1.1.1 [2021-07-30T22:49:31.813Z] v1.2.1 [2021-07-30T22:49:31.813Z] v1.2.2 [2021-07-30T22:49:31.813Z] v1.2.3 [2021-07-30T22:49:31.813Z] v1.3.0 [2021-07-30T22:49:31.813Z] v1.3.1 [2021-07-30T22:49:31.813Z] v2.0.0 [2021-07-30T22:49:31.813Z] v2.0.1-dev.1 [Pipeline] sh [2021-07-30T22:49:32.124Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-30T22:49:32.705Z] Signing Git tag with Sigul... [2021-07-30T22:49:32.705Z] Signing v2.0.1-dev.1 [Pipeline] echo [2021-07-30T22:49:33.679Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:49:33.990Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-30T22:49:34.003Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-30T22:49:34.032Z] $ docker stop --time=1 d9538b28f4ab3a07e6cc9c905b8e79633e5d4f92954dae6e91288e97678095df [2021-07-30T22:49:35.284Z] $ docker rm -f d9538b28f4ab3a07e6cc9c905b8e79633e5d4f92954dae6e91288e97678095df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:35.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:49:35.985Z] . [Pipeline] withDockerContainer [2021-07-30T22:49:36.077Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:49:36.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:49:36.518Z] $ docker top 127d5a4fc9118e3fc2fc079334a25819af926b018e298d3e92d9739667d941e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:49:36.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:49:36.662Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:49:36.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:49:36.792Z] $ docker exec 127d5a4fc9118e3fc2fc079334a25819af926b018e298d3e92d9739667d941e0 ssh-agent [2021-07-30T22:49:36.911Z] SSH_AUTH_SOCK=/tmp/ssh-dQXXPimfktRp/agent.15 [2021-07-30T22:49:36.911Z] SSH_AGENT_PID=22 [2021-07-30T22:49:36.919Z] Running ssh-add (command line suppressed) [2021-07-30T22:49:37.026Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3980580513685317752.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3980580513685317752.key) [2021-07-30T22:49:37.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:49:37.362Z] + git semver bump pre [2021-07-30T22:49:37.362Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:49:37.362Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-07-30T22:49:37.362Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:49:37.362Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:49:37.362Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:49:37.362Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:49:37.362Z] # $SEMVER_BRANCH = main [2021-07-30T22:49:37.362Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2021-07-30T22:49:37.362Z] 2.0.1-dev.2 [Pipeline] } [2021-07-30T22:49:37.377Z] $ docker exec --env ******** --env ******** 127d5a4fc9118e3fc2fc079334a25819af926b018e298d3e92d9739667d941e0 ssh-agent -k [2021-07-30T22:49:37.505Z] unset SSH_AUTH_SOCK; [2021-07-30T22:49:37.505Z] unset SSH_AGENT_PID; [2021-07-30T22:49:37.505Z] echo Agent pid 22 killed; [2021-07-30T22:49:37.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:49:37.873Z] + git semver [Pipeline] } [2021-07-30T22:49:37.895Z] $ docker stop --time=1 127d5a4fc9118e3fc2fc079334a25819af926b018e298d3e92d9739667d941e0 [2021-07-30T22:49:39.116Z] $ docker rm -f 127d5a4fc9118e3fc2fc079334a25819af926b018e298d3e92d9739667d941e0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:39.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:49:39.524Z] . [Pipeline] withDockerContainer [2021-07-30T22:49:39.623Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:49:39.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:49:40.466Z] $ docker top 81f352a3baae5d0114f62381ecb578e5069c5ff8ac3b3cc0ba1ba6f9bab49bdc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:49:40.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:49:40.665Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:49:40.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:49:40.815Z] $ docker exec 81f352a3baae5d0114f62381ecb578e5069c5ff8ac3b3cc0ba1ba6f9bab49bdc ssh-agent [2021-07-30T22:49:40.942Z] SSH_AUTH_SOCK=/tmp/ssh-s5iyDHMlAZRP/agent.13 [2021-07-30T22:49:40.942Z] SSH_AGENT_PID=20 [2021-07-30T22:49:40.951Z] Running ssh-add (command line suppressed) [2021-07-30T22:49:41.058Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2551750698905928871.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2551750698905928871.key) [2021-07-30T22:49:41.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:49:41.397Z] + git semver push [2021-07-30T22:49:41.397Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:49:41.397Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-07-30T22:49:41.397Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:49:41.397Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:49:41.397Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:49:41.397Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:49:41.397Z] # $SEMVER_BRANCH = main [2021-07-30T22:49:41.397Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2021-07-30T22:49:46.752Z] $ docker exec --env ******** --env ******** 81f352a3baae5d0114f62381ecb578e5069c5ff8ac3b3cc0ba1ba6f9bab49bdc ssh-agent -k [2021-07-30T22:49:46.864Z] unset SSH_AUTH_SOCK; [2021-07-30T22:49:46.864Z] unset SSH_AGENT_PID; [2021-07-30T22:49:46.864Z] echo Agent pid 20 killed; [2021-07-30T22:49:46.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:49:47.234Z] + git semver [Pipeline] } [2021-07-30T22:49:47.255Z] $ docker stop --time=1 81f352a3baae5d0114f62381ecb578e5069c5ff8ac3b3cc0ba1ba6f9bab49bdc [2021-07-30T22:49:48.474Z] $ docker rm -f 81f352a3baae5d0114f62381ecb578e5069c5ff8ac3b3cc0ba1ba6f9bab49bdc [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-07-30T22:49:49.462Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:49:50.062Z] ---> package-listing.sh [2021-07-30T22:49:50.062Z] ++ facter osfamily [2021-07-30T22:49:50.062Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T22:49:50.328Z] + OS_FAMILY=redhat [2021-07-30T22:49:50.328Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2021-07-30T22:49:50.328Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T22:49:50.328Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T22:49:50.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T22:49:50.328Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T22:49:50.328Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2021-07-30T22:49:50.329Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T22:49:50.329Z] + case "${OS_FAMILY}" in [2021-07-30T22:49:50.329Z] + rpm -qa [2021-07-30T22:49:50.329Z] + sort [2021-07-30T22:49:50.910Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T22:49:50.910Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T22:49:50.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T22:49:50.910Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2021-07-30T22:49:50.910Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2021-07-30T22:49:50.910Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2021-07-30T22:49:50.928Z] 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-30T22:49:51.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:51.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:49:51.820Z] [2021-07-30T22:49:51.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:52.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:49:52.155Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:49:52.155Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:49:52.155Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:49:52.155Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:49:52.155Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:49:52.155Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:49:52.155Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:49:52.155Z] d287ab97295c: Pulling fs layer [2021-07-30T22:49:52.155Z] dc539afda2c1: Waiting [2021-07-30T22:49:52.155Z] 77bc0d833cb6: Waiting [2021-07-30T22:49:52.155Z] 9065ff56babe: Waiting [2021-07-30T22:49:52.155Z] d287ab97295c: Waiting [2021-07-30T22:49:52.421Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:49:52.421Z] a1111a8f2ec3: Download complete [2021-07-30T22:49:52.421Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:49:52.421Z] dc539afda2c1: Download complete [2021-07-30T22:49:52.685Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:49:52.685Z] 77bc0d833cb6: Download complete [2021-07-30T22:49:52.685Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:49:52.685Z] 9065ff56babe: Download complete [2021-07-30T22:49:52.949Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:49:52.949Z] ed53099fbce6: Download complete [2021-07-30T22:49:53.907Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:49:53.907Z] b4d181a07f80: Download complete [2021-07-30T22:49:54.878Z] b4d181a07f80: Pull complete [2021-07-30T22:49:55.147Z] a1111a8f2ec3: Pull complete [2021-07-30T22:49:55.419Z] ed53099fbce6: Pull complete [2021-07-30T22:49:55.685Z] dc539afda2c1: Pull complete [2021-07-30T22:49:55.954Z] 77bc0d833cb6: Pull complete [2021-07-30T22:49:55.954Z] 9065ff56babe: Pull complete [2021-07-30T22:49:57.364Z] d287ab97295c: Verifying Checksum [2021-07-30T22:49:57.364Z] d287ab97295c: Download complete [2021-07-30T22:50:01.666Z] d287ab97295c: Pull complete [2021-07-30T22:50:01.666Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:50:01.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:50:01.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:50:01.799Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-07-30T22:50:01.852Z] $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:50:04.374Z] $ docker top 9749a099c12a49aa25c4087ccf34a59d8ee7ac71d31861af15cc55ad024f903e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:50:04.781Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T22:50:05.094Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T22:50:05.407Z] + ls /var/log/sa-host [2021-07-30T22:50:05.407Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T22:50:05.407Z] file_magic: OK [2021-07-30T22:50:05.407Z] HZ: Using current value: 100 [2021-07-30T22:50:05.407Z] file_header: OK [2021-07-30T22:50:05.407Z] 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-07-30T22:50:05.407Z] Statistics: [2021-07-30T22:50:05.407Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:50:05.407Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T22:50:05.407Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T22:50:05.407Z] file_magic: OK [2021-07-30T22:50:05.407Z] HZ: Using current value: 100 [2021-07-30T22:50:05.407Z] file_header: OK [2021-07-30T22:50:05.407Z] 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-07-30T22:50:05.407Z] Statistics: [2021-07-30T22:50:05.407Z] 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-07-30T22:50:05.407Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:50:05.722Z] provisioning config files... [2021-07-30T22:50:05.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4998826239268979808tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:50:05.766Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:50:06.073Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T22:50:06.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:50:06.495Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T22:50:06.509Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:50:06.817Z] ---> sudo-logs.sh [2021-07-30T22:50:06.817Z] Archiving 'sudo' log.. [2021-07-30T22:50:06.817Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1112.vexxhost.local: Name or service not known [2021-07-30T22:50:06.817Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1112.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T22:50:06.849Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:50:07.168Z] ---> job-cost.sh [2021-07-30T22:50:07.168Z] lf-activate-venv: SKIPPING [2021-07-30T22:50:07.168Z] DEBUG: total: 0.18000000715255737 [2021-07-30T22:50:07.168Z] INFO: Retrieving Stack Cost... [2021-07-30T22:50:08.127Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:50:08.720Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T22:50:08.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:50:09.053Z] ---> logs-deploy.sh [2021-07-30T22:50:09.053Z] lf-activate-venv: SKIPPING [2021-07-30T22:50:09.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/2 [2021-07-30T22:50:09.053Z] INFO: archiving workspace using pattern(s): [2021-07-30T22:50:09.636Z] Archives upload complete. [2021-07-30T22:50:09.902Z] INFO: archiving logs to Nexus