Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d36d4eb5d49c50cebb55fcc728bec397aa4f388e 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-ssh17166129382186604408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh17554813631455543062.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh5634647491125351171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh15823416123168623476.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh829784246142690891.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.17 USE_ALPINE: true 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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-2262’ is offline ‘prd-centos7-docker-4c-2g-2263’ is offline ‘prd-centos7-docker-4c-2g-2265’ is offline ‘prd-centos7-docker-4c-2g-2276’ is offline ‘prd-centos7-docker-4c-2g-2277’ is offline ‘prd-centos7-docker-4c-2g-2278’ is offline ‘prd-centos7-docker-4c-2g-2468’ is offline ‘prd-centos7-docker-4c-2g-2600’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-2267’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2269’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2274’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2471’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2472’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2478’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2480’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2829 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-ssh4676647212496608540.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 d36d4eb5d49c50cebb55fcc728bec397aa4f388e (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 d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 Commit message: "Merge pull request #259 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:23:50.085Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:23:50.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:23:50.157Z] ========================================================= [2022-01-20T18:23:50.157Z] EdgeX Global Pipelines Version Info [2022-01-20T18:23:50.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:23:51.326Z] ------------------- [2022-01-20T18:23:51.326Z] stable info: [2022-01-20T18:23:51.326Z] ------------------- [2022-01-20T18:23:51.326Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:23:51.326Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:23:51.326Z] Message: update stable to v1.0.219 [2022-01-20T18:23:51.922Z] ------------------- [2022-01-20T18:23:51.922Z] experimental info: [2022-01-20T18:23:51.922Z] ------------------- [2022-01-20T18:23:51.922Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:23:51.922Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:23:51.922Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:23:52.108Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-01-20T18:23:52.122Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-01-20T18:23:52.135Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:23:52.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:23:52.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:23:52.177Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:23:52.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:23:52.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:23:52.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:23:52.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:23:52.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:23:52.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-01-20T18:23:52.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:23:52.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:23:52.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:23:52.344Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:23:52.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:23:52.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:23:52.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:23:52.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-20T18:23:52.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:23:52.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:23:52.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:23:52.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:23:52.465Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:23:52.479Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:23:52.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-20T18:23:52.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-20T18:23:52.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-20T18:23:52.543Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo [2022-01-20T18:23:52.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d36d4eb [Pipeline] echo [2022-01-20T18:23:52.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:23:52.683Z] provisioning config files... [2022-01-20T18:23:52.710Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6778822154172974477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:23:53.125Z] ---> docker-login.sh [2022-01-20T18:23:53.125Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:23:53.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:23:53.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:23:53.397Z] Configure a credential helper to remove this warning. See [2022-01-20T18:23:53.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:23:53.397Z] [2022-01-20T18:23:53.397Z] Login Succeeded [2022-01-20T18:23:53.397Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:23:53.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:23:53.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:23:53.397Z] Configure a credential helper to remove this warning. See [2022-01-20T18:23:53.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:23:53.397Z] [2022-01-20T18:23:53.397Z] Login Succeeded [2022-01-20T18:23:53.397Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:23:53.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:23:53.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:23:53.668Z] Configure a credential helper to remove this warning. See [2022-01-20T18:23:53.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:23:53.668Z] [2022-01-20T18:23:53.668Z] Login Succeeded [2022-01-20T18:23:53.669Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:23:53.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:23:53.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:23:53.669Z] Configure a credential helper to remove this warning. See [2022-01-20T18:23:53.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:23:53.669Z] [2022-01-20T18:23:53.669Z] Login Succeeded [2022-01-20T18:23:53.669Z] docker.io [2022-01-20T18:23:53.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:23:54.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:23:54.199Z] Configure a credential helper to remove this warning. See [2022-01-20T18:23:54.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:23:54.199Z] [2022-01-20T18:23:54.199Z] Login Succeeded [2022-01-20T18:23:54.199Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:23:54.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T18:23:54.578Z] + git rev-list -1 --merges d36d4eb5d49c50cebb55fcc728bec397aa4f388e~1..d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo [2022-01-20T18:23:54.614Z] -----------> git rev-list -1 --merges d36d4eb5d49c50cebb55fcc728bec397aa4f388e~1..d36d4eb5d49c50cebb55fcc728bec397aa4f388e d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:23:54.614Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e [false] [Pipeline] sh [2022-01-20T18:23:54.907Z] + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo [2022-01-20T18:23:54.920Z] ========================================================= [2022-01-20T18:23:54.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:23:54.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:23:55.279Z] + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo [2022-01-20T18:23:55.307Z] [semverPrep] GIT_COMMIT: d36d4eb5d49c50cebb55fcc728bec397aa4f388e, Commit Message: Merge pull request #259 from ernestojeda/go-1_17-module-changes [Pipeline] echo [2022-01-20T18:23:55.316Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:23:55.792Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:23:55.792Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:23:55.792Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:23:55.792Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:23:55.792Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:23:55.792Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:23:55.792Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:23:56.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:23:56.147Z] [2022-01-20T18:23:56.147Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:23:56.491Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:23:56.491Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:23:56.491Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:23:56.491Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:23:56.491Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:23:56.491Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:23:56.491Z] 0c2d73faf560: Waiting [2022-01-20T18:23:56.491Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:23:56.491Z] 3e5f54012d9b: Download complete [2022-01-20T18:23:56.754Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:23:56.754Z] a0d0a0d46f8b: Download complete [2022-01-20T18:23:56.754Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:23:56.754Z] 4c7163046ea9: Download complete [2022-01-20T18:23:56.754Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:23:56.754Z] 0c2d73faf560: Download complete [2022-01-20T18:23:56.754Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:23:57.015Z] 3e5f54012d9b: Pull complete [2022-01-20T18:23:57.281Z] 4c7163046ea9: Pull complete [2022-01-20T18:23:57.281Z] 0c2d73faf560: Pull complete [2022-01-20T18:23:57.544Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:23:57.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:23:57.544Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:23:57.626Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:23:57.665Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:23:58.408Z] $ docker top ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:23:58.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:23:58.517Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:23:58.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:23:58.638Z] $ docker exec ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent [2022-01-20T18:23:58.749Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEkjLHC/agent.13 [2022-01-20T18:23:58.749Z] SSH_AGENT_PID=19 [2022-01-20T18:23:58.760Z] Running ssh-add (command line suppressed) [2022-01-20T18:23:58.863Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6990446454508210540.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6990446454508210540.key) [2022-01-20T18:23:58.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:23:59.176Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:23:59.208Z] $ docker exec --env ******** --env ******** ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent -k [2022-01-20T18:23:59.305Z] unset SSH_AUTH_SOCK; [2022-01-20T18:23:59.305Z] unset SSH_AGENT_PID; [2022-01-20T18:23:59.305Z] echo Agent pid 19 killed; [2022-01-20T18:23:59.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:23:59.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:23:59.342Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:23:59.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:23:59.464Z] $ docker exec ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent [2022-01-20T18:23:59.571Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXACbboa/agent.51 [2022-01-20T18:23:59.571Z] SSH_AGENT_PID=57 [2022-01-20T18:23:59.577Z] Running ssh-add (command line suppressed) [2022-01-20T18:23:59.673Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_263284814374380917.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_263284814374380917.key) [2022-01-20T18:23:59.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:23:59.998Z] + git semver init [2022-01-20T18:23:59.998Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:23:59.998Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-20T18:23:59.998Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:23:59.998Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:23:59.998Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:23:59.998Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:23:59.998Z] # $SEMVER_BRANCH = main [2022-01-20T18:23:59.998Z] # $SEMVER_TEMP = /tmp/semver-773800188 [2022-01-20T18:23:59.998Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-01-20T18:24:01.388Z] # '/tmp/semver-773800188' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-01-20T18:24:01.388Z] # -> Force: false [2022-01-20T18:24:01.388Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-01-20T18:24:01.402Z] $ docker exec --env ******** --env ******** ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent -k [2022-01-20T18:24:01.526Z] unset SSH_AUTH_SOCK; [2022-01-20T18:24:01.526Z] unset SSH_AGENT_PID; [2022-01-20T18:24:01.526Z] echo Agent pid 57 killed; [2022-01-20T18:24:01.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:24:01.848Z] + git semver [Pipeline] } [2022-01-20T18:24:01.863Z] $ docker stop --time=1 ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 [2022-01-20T18:24:03.227Z] $ docker rm -f ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:24:03.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:24:03.863Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:24:03.866Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:24:04.050Z] provisioning config files... [2022-01-20T18:24:04.059Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4311561564165885717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:24:04.367Z] ---> docker-login.sh [2022-01-20T18:24:04.367Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:24:04.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:24:04.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:24:04.367Z] Configure a credential helper to remove this warning. See [2022-01-20T18:24:04.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:24:04.367Z] [2022-01-20T18:24:04.367Z] Login Succeeded [2022-01-20T18:24:04.367Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:24:04.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:24:04.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:24:04.636Z] Configure a credential helper to remove this warning. See [2022-01-20T18:24:04.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:24:04.636Z] [2022-01-20T18:24:04.636Z] Login Succeeded [2022-01-20T18:24:04.636Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:24:04.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:24:04.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:24:04.636Z] Configure a credential helper to remove this warning. See [2022-01-20T18:24:04.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:24:04.636Z] [2022-01-20T18:24:04.636Z] Login Succeeded [2022-01-20T18:24:04.636Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:24:04.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:24:04.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:24:04.902Z] Configure a credential helper to remove this warning. See [2022-01-20T18:24:04.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:24:04.902Z] [2022-01-20T18:24:04.902Z] Login Succeeded [2022-01-20T18:24:04.902Z] docker.io [2022-01-20T18:24:04.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:24:05.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:24:05.161Z] Configure a credential helper to remove this warning. See [2022-01-20T18:24:05.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:24:05.161Z] [2022-01-20T18:24:05.161Z] Login Succeeded [2022-01-20T18:24:05.161Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:24:05.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:24:05.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:24:05.253Z] ========================================================= [2022-01-20T18:24:05.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:24:05.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:24:05.570Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-20T18:24:05.570Z] Sending build context to Docker daemon 22.83MB [2022-01-20T18:24:05.570Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:24:05.570Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:24:05.838Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:24:05.838Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:24:05.838Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:24:05.838Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:24:05.838Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:24:05.838Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:24:05.838Z] f965cba54748: Pulling fs layer [2022-01-20T18:24:05.838Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:24:05.838Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:24:05.838Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:24:05.838Z] 4fe6c5a15a65: Waiting [2022-01-20T18:24:05.838Z] 22a0e8bec74d: Waiting [2022-01-20T18:24:05.838Z] f965cba54748: Waiting [2022-01-20T18:24:05.838Z] 861ffc35075e: Waiting [2022-01-20T18:24:05.838Z] 4b385c91608e: Waiting [2022-01-20T18:24:05.838Z] 560528eb2ebb: Waiting [2022-01-20T18:24:05.838Z] 8ed8ca486205: Download complete [2022-01-20T18:24:05.838Z] 666ba61612fd: Verifying Checksum [2022-01-20T18:24:05.838Z] 666ba61612fd: Download complete [2022-01-20T18:24:05.838Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:24:05.838Z] 22a0e8bec74d: Download complete [2022-01-20T18:24:05.838Z] f965cba54748: Verifying Checksum [2022-01-20T18:24:05.838Z] f965cba54748: Download complete [2022-01-20T18:24:05.838Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:24:05.838Z] 59bf1c3509f3: Download complete [2022-01-20T18:24:05.838Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:24:05.838Z] 861ffc35075e: Download complete [2022-01-20T18:24:05.838Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:24:05.838Z] 4b385c91608e: Download complete [2022-01-20T18:24:06.103Z] 59bf1c3509f3: Pull complete [2022-01-20T18:24:06.365Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:24:06.365Z] 4fe6c5a15a65: Download complete [2022-01-20T18:24:06.631Z] 666ba61612fd: Pull complete [2022-01-20T18:24:06.631Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:24:06.631Z] 560528eb2ebb: Download complete [2022-01-20T18:24:06.631Z] 8ed8ca486205: Pull complete [2022-01-20T18:24:12.079Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:24:12.079Z] 22a0e8bec74d: Pull complete [2022-01-20T18:24:12.079Z] f965cba54748: Pull complete [2022-01-20T18:24:12.079Z] 861ffc35075e: Pull complete [2022-01-20T18:24:12.079Z] 4b385c91608e: Pull complete [2022-01-20T18:24:14.660Z] 560528eb2ebb: Pull complete [2022-01-20T18:24:14.660Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:24:14.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:24:14.660Z] ---> dd4a08f94e63 [2022-01-20T18:24:14.660Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:24:16.590Z] ---> Running in ace490021fdd [2022-01-20T18:24:16.590Z] Removing intermediate container ace490021fdd [2022-01-20T18:24:16.590Z] ---> 0d8c21f10da0 [2022-01-20T18:24:16.590Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:24:16.590Z] ---> Running in 34079e275242 [2022-01-20T18:24:16.863Z] Removing intermediate container 34079e275242 [2022-01-20T18:24:16.864Z] ---> 4556c2245fbc [2022-01-20T18:24:16.864Z] Step 5/12 : WORKDIR /device-virtual-go [2022-01-20T18:24:16.864Z] ---> Running in f57a57787737 [2022-01-20T18:24:16.864Z] Removing intermediate container f57a57787737 [2022-01-20T18:24:16.864Z] ---> 2fee263e82db [2022-01-20T18:24:16.864Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:24:16.864Z] ---> Running in 10e2753ff88b [2022-01-20T18:24:17.444Z] Removing intermediate container 10e2753ff88b [2022-01-20T18:24:17.444Z] ---> a5d97fb44be8 [2022-01-20T18:24:17.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:24:17.704Z] ---> Running in 60e6549ca6a9 [2022-01-20T18:24:17.967Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:24:18.551Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:24:18.989Z] Still waiting to schedule task [2022-01-20T18:24:18.990Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-20T18:24:19.130Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:24:19.130Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:24:19.130Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:24:19.393Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:24:19.393Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:24:19.393Z] OK: 224 MiB in 56 packages [2022-01-20T18:24:19.971Z] Removing intermediate container 60e6549ca6a9 [2022-01-20T18:24:19.971Z] ---> e1c914fbfb22 [2022-01-20T18:24:19.971Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:24:19.971Z] ---> e27a8b54eef0 [2022-01-20T18:24:19.971Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:24:19.971Z] ---> Running in ea39c45ca412 [2022-01-20T18:24:52.160Z] Removing intermediate container ea39c45ca412 [2022-01-20T18:24:52.160Z] ---> 344bff107640 [2022-01-20T18:24:52.160Z] Step 10/12 : COPY . . [2022-01-20T18:24:52.160Z] ---> bd637be07c03 [2022-01-20T18:24:52.160Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:24:52.160Z] ---> Running in 2691db3f06d0 [2022-01-20T18:24:52.160Z] Removing intermediate container 2691db3f06d0 [2022-01-20T18:24:52.160Z] ---> 07fa4688a01a [2022-01-20T18:24:52.160Z] Step 12/12 : RUN $MAKE [2022-01-20T18:24:52.160Z] ---> Running in fdf8ee602d0b [2022-01-20T18:24:52.424Z] noop [2022-01-20T18:24:52.687Z] Removing intermediate container fdf8ee602d0b [2022-01-20T18:24:52.687Z] ---> 981047991bd6 [2022-01-20T18:24:52.687Z] Successfully built 981047991bd6 [2022-01-20T18:24:52.687Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:24:52.998Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:24:52.998Z] . [Pipeline] withDockerContainer [2022-01-20T18:24:53.072Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:24:53.112Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:24:53.485Z] $ docker top aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:24:53.850Z] + go version [2022-01-20T18:24:53.850Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:24:53.862Z] $ docker stop --time=1 aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 [2022-01-20T18:24:55.043Z] $ docker rm -f aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:24:55.479Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:24:55.479Z] . [Pipeline] withDockerContainer [2022-01-20T18:24:55.546Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:24:55.579Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:24:55.936Z] $ docker top ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:24:56.311Z] + make test [2022-01-20T18:24:56.311Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:24:56.573Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-01-20T18:25:18.659Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-01-20T18:25:18.659Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.184s coverage: 64.6% of statements [2022-01-20T18:25:18.659Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:25:22.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:25:22.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:25:22.899Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:25:22.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:25:22.924Z] $ docker stop --time=1 ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 [2022-01-20T18:25:24.597Z] $ docker rm -f ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:25:25.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:25:25.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:25:25.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:25:25.911Z] + ls -al . [2022-01-20T18:25:25.911Z] total 176 [2022-01-20T18:25:25.911Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 18:25 . [2022-01-20T18:25:25.911Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:23 .. [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 8449 Jan 20 18:23 Attribution.txt [2022-01-20T18:25:25.911Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:23 bin [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 6349 Jan 20 18:23 CHANGELOG.md [2022-01-20T18:25:25.911Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:23 cmd [2022-01-20T18:25:25.911Z] -rw-r--r--. 1 jenkins jenkins 46339 Jan 20 18:25 coverage.out [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 1974 Jan 20 18:23 Dockerfile [2022-01-20T18:25:25.911Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:23 .git [2022-01-20T18:25:25.911Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:23 .github [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 270 Jan 20 18:23 .gitignore [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 3319 Jan 20 18:23 go.mod [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 52323 Jan 20 18:23 go.sum [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:23 GOVERNANCE.md [2022-01-20T18:25:25.911Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:23 internal [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 660 Jan 20 18:23 Jenkinsfile [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:23 LICENSE [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 1157 Jan 20 18:23 Makefile [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 623 Jan 20 18:23 OWNERS.md [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 2914 Jan 20 18:23 README.md [2022-01-20T18:25:25.911Z] drwx------. 3 jenkins jenkins 57 Jan 20 18:24 .semver [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:24 VERSION [2022-01-20T18:25:25.911Z] -rw-rw-r--. 1 jenkins jenkins 235 Jan 20 18:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:26.219Z] + 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=d36d4eb5d49c50cebb55fcc728bec397aa4f388e --label arch=amd64 --label version=2.2.0-dev.5 . [2022-01-20T18:25:26.219Z] Sending build context to Docker daemon 22.87MB [2022-01-20T18:25:26.220Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:25:26.220Z] Step 2/26 : FROM ${BASE} AS builder [2022-01-20T18:25:26.220Z] ---> 981047991bd6 [2022-01-20T18:25:26.220Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:25:26.479Z] ---> Running in 358da114d747 [2022-01-20T18:25:26.479Z] Removing intermediate container 358da114d747 [2022-01-20T18:25:26.479Z] ---> f79dceb33dea [2022-01-20T18:25:26.479Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:25:26.479Z] ---> Running in 8e1c0e5ab873 [2022-01-20T18:25:26.737Z] Removing intermediate container 8e1c0e5ab873 [2022-01-20T18:25:26.737Z] ---> a041f3006c3d [2022-01-20T18:25:26.737Z] Step 5/26 : WORKDIR /device-virtual-go [2022-01-20T18:25:26.737Z] ---> Running in 43125573b556 [2022-01-20T18:25:26.737Z] Removing intermediate container 43125573b556 [2022-01-20T18:25:26.737Z] ---> da90e3244fd8 [2022-01-20T18:25:26.737Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:25:26.737Z] ---> Running in 46bb31ef4c01 [2022-01-20T18:25:27.317Z] Removing intermediate container 46bb31ef4c01 [2022-01-20T18:25:27.317Z] ---> 80675b289860 [2022-01-20T18:25:27.317Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:25:27.317Z] ---> Running in e4ae27fb5b22 [2022-01-20T18:25:27.589Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:25:28.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:25:28.796Z] OK: 224 MiB in 56 packages [2022-01-20T18:25:29.062Z] Removing intermediate container e4ae27fb5b22 [2022-01-20T18:25:29.062Z] ---> 7a00e3bfee60 [2022-01-20T18:25:29.062Z] Step 8/26 : COPY go.mod vendor* ./ [2022-01-20T18:25:29.062Z] ---> 5f1dec6395e9 [2022-01-20T18:25:29.062Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:25:29.062Z] ---> Running in d5ec9ef855cf [2022-01-20T18:25:30.017Z] Removing intermediate container d5ec9ef855cf [2022-01-20T18:25:30.017Z] ---> 7dd4b647612a [2022-01-20T18:25:30.017Z] Step 10/26 : COPY . . [2022-01-20T18:25:30.279Z] ---> 9ce3ba1b38ef [2022-01-20T18:25:30.279Z] Step 11/26 : ARG MAKE='make build' [2022-01-20T18:25:30.279Z] ---> Running in a2fd3112092c [2022-01-20T18:25:30.538Z] Removing intermediate container a2fd3112092c [2022-01-20T18:25:30.538Z] ---> 4e21e5369acc [2022-01-20T18:25:30.538Z] Step 12/26 : RUN $MAKE [2022-01-20T18:25:30.538Z] ---> Running in 86892c811dc6 [2022-01-20T18:25:30.801Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.5" -o cmd/device-virtual ./cmd [2022-01-20T18:25:49.012Z] Removing intermediate container 86892c811dc6 [2022-01-20T18:25:49.012Z] ---> 45e0830c4f52 [2022-01-20T18:25:49.012Z] Step 13/26 : FROM alpine:3.14 [2022-01-20T18:25:49.012Z] 3.14: Pulling from library/alpine [2022-01-20T18:25:49.012Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:25:49.012Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:25:49.012Z] 97518928ae5f: Download complete [2022-01-20T18:25:49.012Z] 97518928ae5f: Pull complete [2022-01-20T18:25:49.012Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:25:49.012Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:25:49.012Z] ---> 0a97eee8041e [2022-01-20T18:25:49.012Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-01-20T18:25:49.012Z] ---> Running in 29bc468ae309 [2022-01-20T18:25:49.281Z] Removing intermediate container 29bc468ae309 [2022-01-20T18:25:49.281Z] ---> 8b6176d01497 [2022-01-20T18:25:49.281Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:25:49.281Z] ---> Running in d255d0ed7f06 [2022-01-20T18:25:49.851Z] Removing intermediate container d255d0ed7f06 [2022-01-20T18:25:49.851Z] ---> c1da7dbd59ad [2022-01-20T18:25:49.851Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:25:49.851Z] ---> Running in ee008399a53b [2022-01-20T18:25:49.851Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:25:50.791Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:25:51.051Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:25:51.051Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:25:51.314Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:25:51.314Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:25:51.574Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:25:51.574Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:25:51.574Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:25:51.574Z] OK: 8 MiB in 20 packages [2022-01-20T18:25:51.838Z] Removing intermediate container ee008399a53b [2022-01-20T18:25:51.838Z] ---> 27e15606540f [2022-01-20T18:25:51.838Z] Step 17/26 : WORKDIR / [2022-01-20T18:25:51.838Z] ---> Running in 9f4ede644dd8 [2022-01-20T18:25:52.101Z] Removing intermediate container 9f4ede644dd8 [2022-01-20T18:25:52.101Z] ---> 4da15c8ae68d [2022-01-20T18:25:52.101Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-01-20T18:25:52.101Z] ---> 0d57abbae581 [2022-01-20T18:25:52.101Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-01-20T18:25:52.363Z] ---> 2545aaf83606 [2022-01-20T18:25:52.363Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-01-20T18:25:52.623Z] ---> fd71316f51b3 [2022-01-20T18:25:52.623Z] Step 21/26 : EXPOSE 59900 [2022-01-20T18:25:52.882Z] ---> Running in dddd24dc1aec [2022-01-20T18:25:52.882Z] Removing intermediate container dddd24dc1aec [2022-01-20T18:25:52.882Z] ---> 78210d6cad31 [2022-01-20T18:25:52.882Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-01-20T18:25:52.882Z] ---> Running in 05972ac9b543 [2022-01-20T18:25:52.882Z] Removing intermediate container 05972ac9b543 [2022-01-20T18:25:52.882Z] ---> cae51d765c22 [2022-01-20T18:25:52.882Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:25:52.882Z] ---> Running in 28010819f400 [2022-01-20T18:25:53.145Z] Removing intermediate container 28010819f400 [2022-01-20T18:25:53.145Z] ---> fc0eacd5d8ef [2022-01-20T18:25:53.145Z] Step 24/26 : LABEL arch=amd64 [2022-01-20T18:25:53.145Z] ---> Running in 061179a694df [2022-01-20T18:25:53.145Z] Removing intermediate container 061179a694df [2022-01-20T18:25:53.145Z] ---> e259307b9e35 [2022-01-20T18:25:53.145Z] Step 25/26 : LABEL git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:25:53.145Z] ---> Running in d656f6ff2911 [2022-01-20T18:25:53.145Z] Removing intermediate container d656f6ff2911 [2022-01-20T18:25:53.145Z] ---> 0a4be3735312 [2022-01-20T18:25:53.145Z] Step 26/26 : LABEL version=2.2.0-dev.5 [2022-01-20T18:25:53.145Z] ---> Running in b6f84f7a9192 [2022-01-20T18:25:53.405Z] Removing intermediate container b6f84f7a9192 [2022-01-20T18:25:53.405Z] ---> 6a5e354f42bb [2022-01-20T18:25:53.405Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:25:53.405Z] Successfully built 6a5e354f42bb [2022-01-20T18:25:53.405Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:25:53.510Z] provisioning config files... [2022-01-20T18:25:53.519Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4313778492267918372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:25:53.823Z] ---> docker-login.sh [2022-01-20T18:25:53.823Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:25:53.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:53.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:53.823Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:53.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:53.823Z] [2022-01-20T18:25:53.823Z] Login Succeeded [2022-01-20T18:25:53.823Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:25:53.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:54.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:54.084Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:54.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:54.084Z] [2022-01-20T18:25:54.084Z] Login Succeeded [2022-01-20T18:25:54.084Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:25:54.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:54.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:54.084Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:54.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:54.084Z] [2022-01-20T18:25:54.084Z] Login Succeeded [2022-01-20T18:25:54.084Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:25:54.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:54.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:54.084Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:54.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:54.084Z] [2022-01-20T18:25:54.084Z] Login Succeeded [2022-01-20T18:25:54.343Z] docker.io [2022-01-20T18:25:54.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:54.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:54.608Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:54.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:54.608Z] [2022-01-20T18:25:54.608Z] Login Succeeded [2022-01-20T18:25:54.608Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:25:54.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:25:54.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:25:54.677Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-01-20T18:25:54.677Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:25:54.677Z] latest [2022-01-20T18:25:54.677Z] 2.2.0-dev.5 [2022-01-20T18:25:54.677Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:25:54.677Z] main [2022-01-20T18:25:54.677Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:55.007Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:55.302Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:25:55.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-20T18:25:55.302Z] 9ce29cf31c53: Preparing [2022-01-20T18:25:55.302Z] e7c8f509c7f4: Preparing [2022-01-20T18:25:55.302Z] b44b01e54c56: Preparing [2022-01-20T18:25:55.302Z] f056472fec92: Preparing [2022-01-20T18:25:55.302Z] c92293dcd122: Preparing [2022-01-20T18:25:55.302Z] 1a058d5342cc: Preparing [2022-01-20T18:25:55.302Z] 1a058d5342cc: Waiting [2022-01-20T18:25:55.563Z] b44b01e54c56: Pushed [2022-01-20T18:25:55.563Z] e7c8f509c7f4: Pushed [2022-01-20T18:25:55.563Z] 1a058d5342cc: Layer already exists [2022-01-20T18:25:55.563Z] c92293dcd122: Pushed [2022-01-20T18:25:55.563Z] f056472fec92: Pushed [2022-01-20T18:25:56.951Z] 9ce29cf31c53: Pushed [2022-01-20T18:25:56.951Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:57.257Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:57.556Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-01-20T18:25:57.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-20T18:25:57.556Z] 9ce29cf31c53: Preparing [2022-01-20T18:25:57.556Z] e7c8f509c7f4: Preparing [2022-01-20T18:25:57.556Z] b44b01e54c56: Preparing [2022-01-20T18:25:57.556Z] f056472fec92: Preparing [2022-01-20T18:25:57.556Z] c92293dcd122: Preparing [2022-01-20T18:25:57.556Z] 1a058d5342cc: Preparing [2022-01-20T18:25:57.556Z] 1a058d5342cc: Waiting [2022-01-20T18:25:57.556Z] b44b01e54c56: Layer already exists [2022-01-20T18:25:57.556Z] e7c8f509c7f4: Layer already exists [2022-01-20T18:25:57.556Z] c92293dcd122: Layer already exists [2022-01-20T18:25:57.556Z] 9ce29cf31c53: Layer already exists [2022-01-20T18:25:57.556Z] f056472fec92: Layer already exists [2022-01-20T18:25:57.556Z] 1a058d5342cc: Layer already exists [2022-01-20T18:25:57.556Z] latest: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:57.851Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:58.146Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 [2022-01-20T18:25:58.146Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-20T18:25:58.146Z] 9ce29cf31c53: Preparing [2022-01-20T18:25:58.146Z] e7c8f509c7f4: Preparing [2022-01-20T18:25:58.146Z] b44b01e54c56: Preparing [2022-01-20T18:25:58.146Z] f056472fec92: Preparing [2022-01-20T18:25:58.146Z] c92293dcd122: Preparing [2022-01-20T18:25:58.146Z] 1a058d5342cc: Preparing [2022-01-20T18:25:58.146Z] 1a058d5342cc: Waiting [2022-01-20T18:25:58.146Z] b44b01e54c56: Layer already exists [2022-01-20T18:25:58.146Z] f056472fec92: Layer already exists [2022-01-20T18:25:58.146Z] c92293dcd122: Layer already exists [2022-01-20T18:25:58.146Z] e7c8f509c7f4: Layer already exists [2022-01-20T18:25:58.146Z] 9ce29cf31c53: Layer already exists [2022-01-20T18:25:58.146Z] 1a058d5342cc: Layer already exists [2022-01-20T18:25:58.146Z] 2.2.0-dev.5: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:58.455Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:58.749Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:25:58.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-20T18:25:58.749Z] 9ce29cf31c53: Preparing [2022-01-20T18:25:58.749Z] e7c8f509c7f4: Preparing [2022-01-20T18:25:58.749Z] b44b01e54c56: Preparing [2022-01-20T18:25:58.749Z] f056472fec92: Preparing [2022-01-20T18:25:58.749Z] c92293dcd122: Preparing [2022-01-20T18:25:58.749Z] 1a058d5342cc: Preparing [2022-01-20T18:25:58.749Z] 1a058d5342cc: Waiting [2022-01-20T18:25:58.749Z] c92293dcd122: Layer already exists [2022-01-20T18:25:58.749Z] b44b01e54c56: Layer already exists [2022-01-20T18:25:58.749Z] e7c8f509c7f4: Layer already exists [2022-01-20T18:25:58.749Z] f056472fec92: Layer already exists [2022-01-20T18:25:58.749Z] 9ce29cf31c53: Layer already exists [2022-01-20T18:25:58.749Z] 1a058d5342cc: Layer already exists [2022-01-20T18:25:58.749Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:59.054Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:59.345Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-01-20T18:25:59.345Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-20T18:25:59.345Z] 9ce29cf31c53: Preparing [2022-01-20T18:25:59.345Z] e7c8f509c7f4: Preparing [2022-01-20T18:25:59.345Z] b44b01e54c56: Preparing [2022-01-20T18:25:59.345Z] f056472fec92: Preparing [2022-01-20T18:25:59.345Z] c92293dcd122: Preparing [2022-01-20T18:25:59.345Z] 1a058d5342cc: Preparing [2022-01-20T18:25:59.345Z] 1a058d5342cc: Waiting [2022-01-20T18:25:59.345Z] e7c8f509c7f4: Layer already exists [2022-01-20T18:25:59.345Z] b44b01e54c56: Layer already exists [2022-01-20T18:25:59.345Z] 9ce29cf31c53: Layer already exists [2022-01-20T18:25:59.345Z] f056472fec92: Layer already exists [2022-01-20T18:25:59.345Z] c92293dcd122: Layer already exists [2022-01-20T18:25:59.345Z] 1a058d5342cc: Layer already exists [2022-01-20T18:25:59.345Z] main: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:25:59.381Z] ===================================================== [Pipeline] echo [2022-01-20T18:25:59.391Z] taggedImages: [2022-01-20T18:25:59.391Z] - nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:25:59.391Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-01-20T18:25:59.391Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 [2022-01-20T18:25:59.391Z] - nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:25:59.391Z] - 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 [2022-01-20T18:26:00.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:26:00.005Z] [2022-01-20T18:26:00.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:26:00.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:26:00.441Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:26:00.441Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:26:00.441Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:26:00.441Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:26:00.441Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:26:00.441Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:26:00.441Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:26:00.441Z] d287ab97295c: Pulling fs layer [2022-01-20T18:26:00.441Z] dc539afda2c1: Waiting [2022-01-20T18:26:00.441Z] 77bc0d833cb6: Waiting [2022-01-20T18:26:00.441Z] 9065ff56babe: Waiting [2022-01-20T18:26:00.441Z] d287ab97295c: Waiting [2022-01-20T18:26:00.441Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:26:00.441Z] a1111a8f2ec3: Download complete [2022-01-20T18:26:00.441Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:26:00.441Z] dc539afda2c1: Download complete [2022-01-20T18:26:00.441Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:26:00.441Z] ed53099fbce6: Download complete [2022-01-20T18:26:00.706Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:26:00.706Z] 9065ff56babe: Download complete [2022-01-20T18:26:00.706Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:26:00.706Z] 77bc0d833cb6: Download complete [2022-01-20T18:26:00.706Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:26:00.706Z] b4d181a07f80: Download complete [2022-01-20T18:26:01.301Z] d287ab97295c: Verifying Checksum [2022-01-20T18:26:01.301Z] d287ab97295c: Download complete [2022-01-20T18:26:02.259Z] b4d181a07f80: Pull complete [2022-01-20T18:26:02.259Z] a1111a8f2ec3: Pull complete [2022-01-20T18:26:02.839Z] ed53099fbce6: Pull complete [2022-01-20T18:26:02.839Z] dc539afda2c1: Pull complete [2022-01-20T18:26:03.099Z] 77bc0d833cb6: Pull complete [2022-01-20T18:26:03.099Z] 9065ff56babe: Pull complete [2022-01-20T18:26:08.423Z] d287ab97295c: Pull complete [2022-01-20T18:26:08.423Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:26:08.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:26:08.423Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:26:08.494Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:26:08.529Z] $ 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/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 [2022-01-20T18:26:11.005Z] $ docker top 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:26:11.419Z] ---> job-cost.sh [2022-01-20T18:26:11.419Z] lf-activate-venv: SKIPPING [2022-01-20T18:26:11.419Z] INFO: No Stack... [2022-01-20T18:26:11.681Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:26:11.942Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:26:12.247Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-01-20T18:26:12.247Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:26:12.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [2022-01-20T18:26:12.275Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] did not exist. Created. [2022-01-20T18:26:12.275Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:26:12.590Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:26:12.621Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:26:12.627Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:26:12.640Z] $ docker stop --time=1 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 [2022-01-20T18:26:13.854Z] $ docker rm -f 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:34:56.458Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3263 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-01-20T18:34:56.474Z] Running in /w/workspace/device-virtual-go/21 [Pipeline] { [Pipeline] checkout [2022-01-20T18:34:56.796Z] The recommended git tool is: git [2022-01-20T18:35:03.354Z] using credential edgex-jenkins-ssh [2022-01-20T18:35:03.378Z] Cloning the remote Git repository [2022-01-20T18:35:03.454Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-01-20T18:35:03.555Z] > git init /w/workspace/device-virtual-go/21 # timeout=10 [2022-01-20T18:35:03.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-01-20T18:35:03.676Z] > git --version # timeout=10 [2022-01-20T18:35:03.700Z] > git --version # 'git version 2.17.1' [2022-01-20T18:35:03.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:35:03.796Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:35:06.301Z] Avoid second fetch [2022-01-20T18:35:06.301Z] Checking out Revision d36d4eb5d49c50cebb55fcc728bec397aa4f388e (main) [2022-01-20T18:35:06.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-01-20T18:35:06.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:35:06.329Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:35:06.354Z] > git checkout -f d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 [2022-01-20T18:35:11.645Z] Commit message: "Merge pull request #259 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:35:12.603Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:35:12.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:35:12.604Z] Dload Upload Total Spent Left Speed [2022-01-20T18:35:12.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-01-20T18:35:13.267Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:35:13.680Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T18:35:13.680Z] + sudo tee /etc/docker/daemon.new [2022-01-20T18:35:13.680Z] { [2022-01-20T18:35:13.680Z] "registry-mirrors": [ [2022-01-20T18:35:13.680Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:35:13.680Z] ], [2022-01-20T18:35:13.680Z] "bip": "10.250.0.254/24", [2022-01-20T18:35:13.680Z] "hosts": [ [2022-01-20T18:35:13.680Z] "tcp://0.0.0.0:5555", [2022-01-20T18:35:13.680Z] "unix:///var/run/docker.sock" [2022-01-20T18:35:13.680Z] ], [2022-01-20T18:35:13.680Z] "mtu": 1458, [2022-01-20T18:35:13.680Z] "selinux-enabled": true, [2022-01-20T18:35:13.680Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:35:13.680Z] } [Pipeline] sh [2022-01-20T18:35:14.076Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:35:14.431Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:35:32.790Z] provisioning config files... [2022-01-20T18:35:32.818Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config9074940123749577957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:35:33.190Z] ---> docker-login.sh [2022-01-20T18:35:33.190Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:35:34.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:35:34.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:35:34.458Z] Configure a credential helper to remove this warning. See [2022-01-20T18:35:34.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:35:34.458Z] [2022-01-20T18:35:34.458Z] Login Succeeded [2022-01-20T18:35:34.458Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:35:34.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:35:34.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:35:34.738Z] Configure a credential helper to remove this warning. See [2022-01-20T18:35:34.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:35:34.738Z] [2022-01-20T18:35:34.738Z] Login Succeeded [2022-01-20T18:35:34.738Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:35:35.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:35:35.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:35:35.343Z] Configure a credential helper to remove this warning. See [2022-01-20T18:35:35.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:35:35.343Z] [2022-01-20T18:35:35.343Z] Login Succeeded [2022-01-20T18:35:35.343Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:35:35.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:35:35.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:35:35.891Z] Configure a credential helper to remove this warning. See [2022-01-20T18:35:35.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:35:35.891Z] [2022-01-20T18:35:35.891Z] Login Succeeded [2022-01-20T18:35:35.891Z] docker.io [2022-01-20T18:35:36.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:35:36.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:35:36.442Z] Configure a credential helper to remove this warning. See [2022-01-20T18:35:36.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:35:36.442Z] [2022-01-20T18:35:36.442Z] Login Succeeded [2022-01-20T18:35:36.442Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:35:36.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:35:37.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:35:37.040Z] ========================================================= [2022-01-20T18:35:37.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:35:37.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:35:37.462Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-20T18:35:38.127Z] Sending build context to Docker daemon 11.55MB [2022-01-20T18:35:38.127Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:35:38.127Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:35:38.404Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:35:38.404Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:35:38.404Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:35:38.404Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:35:38.404Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:35:38.404Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:35:38.404Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:35:38.404Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:35:38.404Z] cf05db05a679: Pulling fs layer [2022-01-20T18:35:38.404Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:35:38.404Z] 0c92f367c5e7: Waiting [2022-01-20T18:35:38.404Z] 4b8299f9d1f4: Waiting [2022-01-20T18:35:38.404Z] 9a6b49a46696: Waiting [2022-01-20T18:35:38.404Z] cf05db05a679: Waiting [2022-01-20T18:35:38.404Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:35:38.404Z] 94645a83ff95: Download complete [2022-01-20T18:35:38.404Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T18:35:38.404Z] 1a89e8eeedd5: Download complete [2022-01-20T18:35:38.404Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:35:38.404Z] 0c92f367c5e7: Download complete [2022-01-20T18:35:38.404Z] 4b8299f9d1f4: Download complete [2022-01-20T18:35:38.404Z] 9a6b49a46696: Download complete [2022-01-20T18:35:38.404Z] 9b3977197b4f: Verifying Checksum [2022-01-20T18:35:38.404Z] 9b3977197b4f: Download complete [2022-01-20T18:35:39.041Z] 9b3977197b4f: Pull complete [2022-01-20T18:35:39.674Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:35:40.312Z] 94645a83ff95: Pull complete [2022-01-20T18:35:42.370Z] cf05db05a679: Verifying Checksum [2022-01-20T18:35:42.371Z] cf05db05a679: Download complete [2022-01-20T18:35:42.371Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T18:35:42.371Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:35:57.547Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:35:57.547Z] 0c92f367c5e7: Pull complete [2022-01-20T18:35:57.547Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:35:57.547Z] 9a6b49a46696: Pull complete [2022-01-20T18:36:03.015Z] cf05db05a679: Pull complete [2022-01-20T18:36:03.015Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:36:03.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:36:03.015Z] ---> 0ccda1f7e2ee [2022-01-20T18:36:03.015Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:36:04.470Z] ---> Running in 03e8452569f9 [2022-01-20T18:36:04.746Z] Removing intermediate container 03e8452569f9 [2022-01-20T18:36:04.746Z] ---> f50fd5f344a3 [2022-01-20T18:36:04.746Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:36:05.023Z] ---> Running in b79652fba71d [2022-01-20T18:36:05.318Z] Removing intermediate container b79652fba71d [2022-01-20T18:36:05.318Z] ---> 33e371f2764c [2022-01-20T18:36:05.318Z] Step 5/12 : WORKDIR /device-virtual-go [2022-01-20T18:36:05.595Z] ---> Running in 8d7ba1effe77 [2022-01-20T18:36:06.195Z] Removing intermediate container 8d7ba1effe77 [2022-01-20T18:36:06.195Z] ---> ba6c064a5b20 [2022-01-20T18:36:06.195Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:36:06.477Z] ---> Running in bcff4820440f [2022-01-20T18:36:09.152Z] Removing intermediate container bcff4820440f [2022-01-20T18:36:09.152Z] ---> a75b95a5fc6b [2022-01-20T18:36:09.152Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:36:09.152Z] ---> Running in 27f93585f5bd [2022-01-20T18:36:10.175Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:36:11.170Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:36:12.163Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:36:12.449Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:36:12.449Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:36:12.731Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:36:12.731Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:36:12.731Z] OK: 224 MiB in 56 packages [2022-01-20T18:36:14.204Z] Removing intermediate container 27f93585f5bd [2022-01-20T18:36:14.204Z] ---> 67c6a5bd6295 [2022-01-20T18:36:14.204Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T18:36:14.841Z] ---> df5b457cb9ad [2022-01-20T18:36:14.841Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:36:14.841Z] ---> Running in 3f54556c7560 [2022-01-20T18:37:51.830Z] Removing intermediate container 3f54556c7560 [2022-01-20T18:37:51.830Z] ---> 78eb14a8608c [2022-01-20T18:37:51.830Z] Step 10/12 : COPY . . [2022-01-20T18:37:51.830Z] ---> 2afda6968379 [2022-01-20T18:37:51.830Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T18:37:51.830Z] ---> Running in 08e28fccd361 [2022-01-20T18:37:51.830Z] Removing intermediate container 08e28fccd361 [2022-01-20T18:37:51.830Z] ---> fa5de888ad82 [2022-01-20T18:37:51.830Z] Step 12/12 : RUN $MAKE [2022-01-20T18:37:51.830Z] ---> Running in 398252d7d788 [2022-01-20T18:37:51.830Z] noop [2022-01-20T18:37:51.830Z] Removing intermediate container 398252d7d788 [2022-01-20T18:37:51.830Z] ---> 11b9ae553e4d [2022-01-20T18:37:51.830Z] Successfully built 11b9ae553e4d [2022-01-20T18:37:51.830Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:37:52.207Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:37:52.207Z] . [Pipeline] withDockerContainer [2022-01-20T18:37:52.506Z] prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container [2022-01-20T18:37:52.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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 ******** ci-base-image-arm64 cat [2022-01-20T18:37:54.184Z] $ docker top 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:37:55.119Z] + go version [2022-01-20T18:37:55.119Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:37:55.149Z] $ docker stop --time=1 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a [2022-01-20T18:37:56.841Z] $ docker rm -f 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:37:57.459Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:37:57.459Z] . [Pipeline] withDockerContainer [2022-01-20T18:37:57.703Z] prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container [2022-01-20T18:37:57.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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 ******** ci-base-image-arm64 cat [2022-01-20T18:37:59.243Z] $ docker top dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:38:00.172Z] + make test [2022-01-20T18:38:00.172Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:38:01.626Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-01-20T18:39:09.698Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-01-20T18:39:14.013Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.107s coverage: 64.6% of statements [2022-01-20T18:39:14.013Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:39:40.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:39:40.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:39:40.828Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:39:40.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:39:40.870Z] $ docker stop --time=1 dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 [2022-01-20T18:39:42.772Z] $ docker rm -f dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:39:43.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:39:43.770Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:39:44.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:39:44.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:39:45.151Z] + ls -al . [2022-01-20T18:39:45.151Z] total 200 [2022-01-20T18:39:45.151Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 18:39 . [2022-01-20T18:39:45.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:35 .. [2022-01-20T18:39:45.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:35 .git [2022-01-20T18:39:45.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 .github [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 270 Jan 20 18:35 .gitignore [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 8449 Jan 20 18:35 Attribution.txt [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 6349 Jan 20 18:35 CHANGELOG.md [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jan 20 18:35 Dockerfile [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:35 GOVERNANCE.md [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 20 18:35 Jenkinsfile [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:35 LICENSE [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 1157 Jan 20 18:35 Makefile [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 20 18:35 OWNERS.md [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jan 20 18:35 README.md [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:24 VERSION [2022-01-20T18:39:45.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 bin [2022-01-20T18:39:45.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 cmd [2022-01-20T18:39:45.151Z] -rw-r--r-- 1 jenkins jenkins 46339 Jan 20 18:39 coverage.out [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 3319 Jan 20 18:35 go.mod [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 52323 Jan 20 18:35 go.sum [2022-01-20T18:39:45.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 internal [2022-01-20T18:39:45.151Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 20 18:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:39:45.552Z] + 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=d36d4eb5d49c50cebb55fcc728bec397aa4f388e --label arch=arm64 --label version=2.2.0-dev.5 . [2022-01-20T18:39:46.206Z] Sending build context to Docker daemon 11.6MB [2022-01-20T18:39:46.206Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:39:46.206Z] Step 2/26 : FROM ${BASE} AS builder [2022-01-20T18:39:46.206Z] ---> 11b9ae553e4d [2022-01-20T18:39:46.206Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:39:46.488Z] ---> Running in 5a31eb88fd1c [2022-01-20T18:39:46.786Z] Removing intermediate container 5a31eb88fd1c [2022-01-20T18:39:46.786Z] ---> 4dbaa8dcdb52 [2022-01-20T18:39:46.786Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:39:46.786Z] ---> Running in 7e365f4b2004 [2022-01-20T18:39:47.449Z] Removing intermediate container 7e365f4b2004 [2022-01-20T18:39:47.449Z] ---> bc01d6d4fba5 [2022-01-20T18:39:47.449Z] Step 5/26 : WORKDIR /device-virtual-go [2022-01-20T18:39:47.449Z] ---> Running in 85ca4c616306 [2022-01-20T18:39:48.055Z] Removing intermediate container 85ca4c616306 [2022-01-20T18:39:48.055Z] ---> f1c6d7b1f92b [2022-01-20T18:39:48.055Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:39:48.055Z] ---> Running in a9d07592517c [2022-01-20T18:39:50.035Z] Removing intermediate container a9d07592517c [2022-01-20T18:39:50.035Z] ---> bbca9519e1b7 [2022-01-20T18:39:50.035Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:39:50.035Z] ---> Running in 33478560be9f [2022-01-20T18:39:51.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:39:52.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:39:53.444Z] OK: 224 MiB in 56 packages [2022-01-20T18:39:54.040Z] Removing intermediate container 33478560be9f [2022-01-20T18:39:54.040Z] ---> d7821979f8ea [2022-01-20T18:39:54.040Z] Step 8/26 : COPY go.mod vendor* ./ [2022-01-20T18:39:54.639Z] ---> ea9fe519e1ed [2022-01-20T18:39:54.639Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:39:54.916Z] ---> Running in 0c20d50d0253 [2022-01-20T18:39:57.550Z] Removing intermediate container 0c20d50d0253 [2022-01-20T18:39:57.550Z] ---> 004895dff52c [2022-01-20T18:39:57.550Z] Step 10/26 : COPY . . [2022-01-20T18:39:58.147Z] ---> 420d418bbbbb [2022-01-20T18:39:58.147Z] Step 11/26 : ARG MAKE='make build' [2022-01-20T18:39:58.420Z] ---> Running in 049ec7c4858d [2022-01-20T18:39:58.696Z] Removing intermediate container 049ec7c4858d [2022-01-20T18:39:58.696Z] ---> 476c638ea182 [2022-01-20T18:39:58.696Z] Step 12/26 : RUN $MAKE [2022-01-20T18:39:58.696Z] ---> Running in 6d16ca9e7b4e [2022-01-20T18:40:00.134Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.5" -o cmd/device-virtual ./cmd [2022-01-20T18:41:08.157Z] Removing intermediate container 6d16ca9e7b4e [2022-01-20T18:41:08.157Z] ---> 5e5446b2a348 [2022-01-20T18:41:08.157Z] Step 13/26 : FROM alpine:3.14 [2022-01-20T18:41:08.157Z] 3.14: Pulling from library/alpine [2022-01-20T18:41:08.157Z] be307f383ecc: Pulling fs layer [2022-01-20T18:41:08.157Z] be307f383ecc: Download complete [2022-01-20T18:41:08.157Z] be307f383ecc: Pull complete [2022-01-20T18:41:08.157Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:41:08.157Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:41:08.157Z] ---> 5b8b7b635229 [2022-01-20T18:41:08.157Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-01-20T18:41:08.157Z] ---> Running in 3b6356b6046c [2022-01-20T18:41:08.157Z] Removing intermediate container 3b6356b6046c [2022-01-20T18:41:08.157Z] ---> 3a8bf275cf12 [2022-01-20T18:41:08.157Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:41:08.157Z] ---> Running in b0f194be94da [2022-01-20T18:41:08.157Z] Removing intermediate container b0f194be94da [2022-01-20T18:41:08.157Z] ---> d60c8c7c1d6b [2022-01-20T18:41:08.157Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:41:08.157Z] ---> Running in f3aa2f02f60b [2022-01-20T18:41:08.157Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:41:08.157Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:41:08.157Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:41:08.157Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:41:08.157Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:41:08.157Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:41:08.434Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:41:08.434Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:41:08.434Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:41:08.434Z] OK: 8 MiB in 20 packages [2022-01-20T18:41:09.421Z] Removing intermediate container f3aa2f02f60b [2022-01-20T18:41:09.421Z] ---> df50f1e7996f [2022-01-20T18:41:09.421Z] Step 17/26 : WORKDIR / [2022-01-20T18:41:09.421Z] ---> Running in 7f430fd4a204 [2022-01-20T18:41:10.019Z] Removing intermediate container 7f430fd4a204 [2022-01-20T18:41:10.019Z] ---> f6f36cb03a98 [2022-01-20T18:41:10.019Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-01-20T18:41:10.614Z] ---> 5ef45e111857 [2022-01-20T18:41:10.614Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-01-20T18:41:11.213Z] ---> dc349787ac13 [2022-01-20T18:41:11.213Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-01-20T18:41:12.188Z] ---> 7e7435c732f0 [2022-01-20T18:41:12.188Z] Step 21/26 : EXPOSE 59900 [2022-01-20T18:41:12.459Z] ---> Running in 56a29254f643 [2022-01-20T18:41:12.730Z] Removing intermediate container 56a29254f643 [2022-01-20T18:41:12.730Z] ---> dab46b604266 [2022-01-20T18:41:12.730Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-01-20T18:41:12.730Z] ---> Running in e37390d9ad61 [2022-01-20T18:41:13.002Z] Removing intermediate container e37390d9ad61 [2022-01-20T18:41:13.002Z] ---> c79a05ff8623 [2022-01-20T18:41:13.002Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:41:13.273Z] ---> Running in 5dffdc12d5de [2022-01-20T18:41:13.544Z] Removing intermediate container 5dffdc12d5de [2022-01-20T18:41:13.544Z] ---> 8a88b034d306 [2022-01-20T18:41:13.544Z] Step 24/26 : LABEL arch=arm64 [2022-01-20T18:41:13.544Z] ---> Running in c170032dfa37 [2022-01-20T18:41:14.146Z] Removing intermediate container c170032dfa37 [2022-01-20T18:41:14.146Z] ---> 73e7545f4177 [2022-01-20T18:41:14.146Z] Step 25/26 : LABEL git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:41:14.146Z] ---> Running in f0252efef42e [2022-01-20T18:41:14.428Z] Removing intermediate container f0252efef42e [2022-01-20T18:41:14.428Z] ---> 8d87c2af529f [2022-01-20T18:41:14.428Z] Step 26/26 : LABEL version=2.2.0-dev.5 [2022-01-20T18:41:14.428Z] ---> Running in e84934313a7c [2022-01-20T18:41:15.023Z] Removing intermediate container e84934313a7c [2022-01-20T18:41:15.023Z] ---> 0e76a09143ce [2022-01-20T18:41:15.023Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:41:15.023Z] Successfully built 0e76a09143ce [2022-01-20T18:41:15.023Z] 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 [2022-01-20T18:41:15.116Z] provisioning config files... [2022-01-20T18:41:15.133Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config5027226025219585073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:41:15.485Z] ---> docker-login.sh [2022-01-20T18:41:15.485Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:41:15.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:41:15.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:41:15.757Z] Configure a credential helper to remove this warning. See [2022-01-20T18:41:15.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:41:15.757Z] [2022-01-20T18:41:15.757Z] Login Succeeded [2022-01-20T18:41:15.757Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:41:16.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:41:16.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:41:16.306Z] Configure a credential helper to remove this warning. See [2022-01-20T18:41:16.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:41:16.307Z] [2022-01-20T18:41:16.307Z] Login Succeeded [2022-01-20T18:41:16.307Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:41:16.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:41:16.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:41:16.852Z] Configure a credential helper to remove this warning. See [2022-01-20T18:41:16.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:41:16.852Z] [2022-01-20T18:41:16.852Z] Login Succeeded [2022-01-20T18:41:16.852Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:41:17.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:41:17.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:41:17.125Z] Configure a credential helper to remove this warning. See [2022-01-20T18:41:17.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:41:17.125Z] [2022-01-20T18:41:17.125Z] Login Succeeded [2022-01-20T18:41:17.125Z] docker.io [2022-01-20T18:41:17.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:41:17.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:41:17.997Z] Configure a credential helper to remove this warning. See [2022-01-20T18:41:17.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:41:17.997Z] [2022-01-20T18:41:17.997Z] Login Succeeded [2022-01-20T18:41:17.997Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:41:18.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:41:18.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:41:18.065Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-01-20T18:41:18.065Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:41:18.065Z] latest [2022-01-20T18:41:18.065Z] 2.2.0-dev.5 [2022-01-20T18:41:18.065Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:41:18.065Z] main [2022-01-20T18:41:18.065Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:18.418Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:18.765Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:41:18.765Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-20T18:41:18.765Z] b3879692025f: Preparing [2022-01-20T18:41:18.765Z] eb479380981e: Preparing [2022-01-20T18:41:18.765Z] 37a3089ea440: Preparing [2022-01-20T18:41:18.765Z] a26090b96576: Preparing [2022-01-20T18:41:18.765Z] 22bd1fdd9f59: Preparing [2022-01-20T18:41:18.765Z] 62170e181a92: Preparing [2022-01-20T18:41:18.765Z] 62170e181a92: Waiting [2022-01-20T18:41:19.042Z] 22bd1fdd9f59: Pushed [2022-01-20T18:41:19.042Z] eb479380981e: Pushed [2022-01-20T18:41:19.042Z] 37a3089ea440: Pushed [2022-01-20T18:41:19.042Z] 62170e181a92: Layer already exists [2022-01-20T18:41:19.633Z] a26090b96576: Pushed [2022-01-20T18:41:23.022Z] b3879692025f: Pushed [2022-01-20T18:41:23.022Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:23.365Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:23.711Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-01-20T18:41:23.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-20T18:41:23.712Z] b3879692025f: Preparing [2022-01-20T18:41:23.712Z] eb479380981e: Preparing [2022-01-20T18:41:23.712Z] 37a3089ea440: Preparing [2022-01-20T18:41:23.712Z] a26090b96576: Preparing [2022-01-20T18:41:23.712Z] 22bd1fdd9f59: Preparing [2022-01-20T18:41:23.712Z] 62170e181a92: Preparing [2022-01-20T18:41:23.712Z] 62170e181a92: Waiting [2022-01-20T18:41:23.712Z] 37a3089ea440: Layer already exists [2022-01-20T18:41:23.712Z] a26090b96576: Layer already exists [2022-01-20T18:41:23.712Z] b3879692025f: Layer already exists [2022-01-20T18:41:23.712Z] eb479380981e: Layer already exists [2022-01-20T18:41:23.712Z] 22bd1fdd9f59: Layer already exists [2022-01-20T18:41:23.712Z] 62170e181a92: Layer already exists [2022-01-20T18:41:23.984Z] latest: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:24.332Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:24.668Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 [2022-01-20T18:41:24.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-20T18:41:24.668Z] b3879692025f: Preparing [2022-01-20T18:41:24.668Z] eb479380981e: Preparing [2022-01-20T18:41:24.668Z] 37a3089ea440: Preparing [2022-01-20T18:41:24.668Z] a26090b96576: Preparing [2022-01-20T18:41:24.668Z] 22bd1fdd9f59: Preparing [2022-01-20T18:41:24.668Z] 62170e181a92: Preparing [2022-01-20T18:41:24.668Z] 62170e181a92: Waiting [2022-01-20T18:41:24.668Z] b3879692025f: Layer already exists [2022-01-20T18:41:24.668Z] a26090b96576: Layer already exists [2022-01-20T18:41:24.668Z] eb479380981e: Layer already exists [2022-01-20T18:41:24.668Z] 22bd1fdd9f59: Layer already exists [2022-01-20T18:41:24.668Z] 37a3089ea440: Layer already exists [2022-01-20T18:41:24.668Z] 62170e181a92: Layer already exists [2022-01-20T18:41:24.940Z] 2.2.0-dev.5: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:25.285Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:25.623Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:41:25.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-20T18:41:25.623Z] b3879692025f: Preparing [2022-01-20T18:41:25.623Z] eb479380981e: Preparing [2022-01-20T18:41:25.623Z] 37a3089ea440: Preparing [2022-01-20T18:41:25.623Z] a26090b96576: Preparing [2022-01-20T18:41:25.623Z] 22bd1fdd9f59: Preparing [2022-01-20T18:41:25.623Z] 62170e181a92: Preparing [2022-01-20T18:41:25.623Z] 62170e181a92: Waiting [2022-01-20T18:41:25.623Z] eb479380981e: Layer already exists [2022-01-20T18:41:25.623Z] 22bd1fdd9f59: Layer already exists [2022-01-20T18:41:25.623Z] a26090b96576: Layer already exists [2022-01-20T18:41:25.623Z] 37a3089ea440: Layer already exists [2022-01-20T18:41:25.623Z] b3879692025f: Layer already exists [2022-01-20T18:41:25.894Z] 62170e181a92: Layer already exists [2022-01-20T18:41:25.894Z] d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:26.236Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:26.575Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-01-20T18:41:26.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-20T18:41:26.575Z] b3879692025f: Preparing [2022-01-20T18:41:26.575Z] eb479380981e: Preparing [2022-01-20T18:41:26.575Z] 37a3089ea440: Preparing [2022-01-20T18:41:26.575Z] a26090b96576: Preparing [2022-01-20T18:41:26.575Z] 22bd1fdd9f59: Preparing [2022-01-20T18:41:26.575Z] 62170e181a92: Preparing [2022-01-20T18:41:26.575Z] 62170e181a92: Waiting [2022-01-20T18:41:26.575Z] eb479380981e: Layer already exists [2022-01-20T18:41:26.575Z] 37a3089ea440: Layer already exists [2022-01-20T18:41:26.575Z] a26090b96576: Layer already exists [2022-01-20T18:41:26.575Z] b3879692025f: Layer already exists [2022-01-20T18:41:26.575Z] 22bd1fdd9f59: Layer already exists [2022-01-20T18:41:26.575Z] 62170e181a92: Layer already exists [2022-01-20T18:41:26.847Z] main: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:41:26.889Z] ===================================================== [Pipeline] echo [2022-01-20T18:41:26.899Z] taggedImages: [2022-01-20T18:41:26.899Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [2022-01-20T18:41:26.899Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-01-20T18:41:26.899Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 [2022-01-20T18:41:26.899Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [2022-01-20T18:41:26.899Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:27.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:41:27.262Z] [2022-01-20T18:41:27.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:41:27.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:41:27.890Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:41:27.890Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:41:27.890Z] f757da607395: Pulling fs layer [2022-01-20T18:41:27.890Z] 05883995daec: Pulling fs layer [2022-01-20T18:41:27.890Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:41:27.890Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:41:27.890Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:41:27.890Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:41:27.890Z] 1560dd03e051: Waiting [2022-01-20T18:41:27.890Z] 27f5ce0e4adf: Waiting [2022-01-20T18:41:27.890Z] c2d8d7efcc4b: Waiting [2022-01-20T18:41:27.890Z] 8603b9c90790: Waiting [2022-01-20T18:41:27.890Z] f757da607395: Verifying Checksum [2022-01-20T18:41:27.890Z] f757da607395: Download complete [2022-01-20T18:41:27.890Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:41:27.890Z] 8603b9c90790: Download complete [2022-01-20T18:41:27.890Z] 1560dd03e051: Download complete [2022-01-20T18:41:28.164Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:41:28.164Z] 27f5ce0e4adf: Download complete [2022-01-20T18:41:28.164Z] 05883995daec: Verifying Checksum [2022-01-20T18:41:28.164Z] 05883995daec: Download complete [2022-01-20T18:41:28.439Z] 448f6bf000e3: Verifying Checksum [2022-01-20T18:41:28.439Z] 448f6bf000e3: Download complete [2022-01-20T18:41:31.054Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:41:31.054Z] c2d8d7efcc4b: Download complete [2022-01-20T18:41:32.026Z] 448f6bf000e3: Pull complete [2022-01-20T18:41:32.623Z] f757da607395: Pull complete [2022-01-20T18:41:34.054Z] 05883995daec: Pull complete [2022-01-20T18:41:34.327Z] 8603b9c90790: Pull complete [2022-01-20T18:41:35.303Z] 1560dd03e051: Pull complete [2022-01-20T18:41:35.576Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:41:53.991Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:41:53.991Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:41:53.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:41:53.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:41:54.219Z] prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container [2022-01-20T18:41:54.308Z] $ 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/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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:arm64 cat [2022-01-20T18:41:57.166Z] $ docker top 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:41:58.069Z] ---> job-cost.sh [2022-01-20T18:41:58.069Z] lf-activate-venv: SKIPPING [2022-01-20T18:41:58.069Z] INFO: No Stack... [2022-01-20T18:41:58.340Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:41:58.611Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:41:59.269Z] + cat /w/workspace/device-virtual-go/21/archives/cost.csv [2022-01-20T18:41:59.269Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:41:59.335Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [2022-01-20T18:41:59.341Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] did not exist. Created. [2022-01-20T18:41:59.341Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:42:00.011Z] /w/workspace/device-virtual-go/21@tmp/durable-645777c5/script.sh: 1: /w/workspace/device-virtual-go/21@tmp/durable-645777c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:42:00.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:42:00.705Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:42:00.746Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:42:00.753Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:42:00.780Z] $ docker stop --time=1 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec [2022-01-20T18:42:02.311Z] $ docker rm -f 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec [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 [2022-01-20T18:42:02.754Z] provisioning config files... [2022-01-20T18:42:02.764Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2839716329939052522tmp [Pipeline] { [Pipeline] sh [2022-01-20T18:42:03.077Z] + set +x [2022-01-20T18:42:03.077Z] + bash -s -- [2022-01-20T18:42:03.077Z] + curl -s https://codecov.io/bash [2022-01-20T18:42:03.077Z] [2022-01-20T18:42:03.077Z] _____ _ [2022-01-20T18:42:03.077Z] / ____| | | [2022-01-20T18:42:03.077Z] | | ___ __| | ___ ___ _____ __ [2022-01-20T18:42:03.077Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-20T18:42:03.077Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-20T18:42:03.077Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-20T18:42:03.077Z] Bash-1.0.6 [2022-01-20T18:42:03.077Z] [2022-01-20T18:42:03.077Z] [2022-01-20T18:42:03.077Z] ==> git version 2.24.4 found [2022-01-20T18:42:03.077Z] ==> 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 [2022-01-20T18:42:03.077Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-20T18:42:03.077Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-20T18:42:03.077Z] ==> Jenkins CI detected. [2022-01-20T18:42:03.077Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:42:03.077Z] project root: . [2022-01-20T18:42:03.077Z] --> token set from env [2022-01-20T18:42:03.077Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-20T18:42:03.077Z] ==> Running gcov in . (disable via -X gcov) [2022-01-20T18:42:03.077Z] ==> Python coveragepy not found [2022-01-20T18:42:03.077Z] ==> Searching for coverage reports in: [2022-01-20T18:42:03.077Z] + . [2022-01-20T18:42:03.077Z] -> Found 1 reports [2022-01-20T18:42:03.077Z] ==> Detecting git/mercurial file structure [2022-01-20T18:42:03.077Z] ==> Reading reports [2022-01-20T18:42:03.077Z] + ./coverage.out bytes=46339 [2022-01-20T18:42:03.077Z] ==> Appending adjustments [2022-01-20T18:42:03.077Z] https://docs.codecov.io/docs/fixing-reports [2022-01-20T18:42:03.338Z] + Found adjustments [2022-01-20T18:42:03.338Z] ==> Gzipping contents [2022-01-20T18:42:03.338Z] 8.0K /tmp/codecov.G8P0Nm.gz [2022-01-20T18:42:03.338Z] ==> Uploading reports [2022-01-20T18:42:03.338Z] url: https://codecov.io [2022-01-20T18:42:03.338Z] query: branch=main&commit=d36d4eb5d49c50cebb55fcc728bec397aa4f388e&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:42:03.338Z] -> Pinging Codecov [2022-01-20T18:42:03.338Z] 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=d36d4eb5d49c50cebb55fcc728bec397aa4f388e&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:42:03.599Z] -> Uploading to [2022-01-20T18:42:03.599Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-20/5E52B4B073DB2E39498172D8E973AA87/d36d4eb5d49c50cebb55fcc728bec397aa4f388e/c00c0ca0-b007-41c3-b5de-af1d29ee6285.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T184203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f87ffefe5cb08a2b0d55dacdd9fafeb25d2fd975c0ca8d204db27b33676897ef [2022-01-20T18:42:03.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:42:03.599Z] Dload Upload Total Spent Left Speed [2022-01-20T18:42:03.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 18906 --:--:-- --:--:-- --:--:-- 18937 [2022-01-20T18:42:03.858Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] } [2022-01-20T18:42:03.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-20T18:42:03.998Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-20T18:42:04.010Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:04.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:42:04.320Z] [2022-01-20T18:42:04.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:04.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:42:04.630Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-20T18:42:04.630Z] 188c0c94c7c5: Pulling fs layer [2022-01-20T18:42:04.630Z] 0ef7d3d256c8: Pulling fs layer [2022-01-20T18:42:04.630Z] de9db76c5a1d: Pulling fs layer [2022-01-20T18:42:04.630Z] 0eba1c9be4d2: Pulling fs layer [2022-01-20T18:42:04.630Z] 0d57e429df01: Pulling fs layer [2022-01-20T18:42:04.630Z] 4e4be7b47b0d: Pulling fs layer [2022-01-20T18:42:04.630Z] e1f770b5df2f: Pulling fs layer [2022-01-20T18:42:04.630Z] 85a0685a4137: Pulling fs layer [2022-01-20T18:42:04.630Z] 0eba1c9be4d2: Waiting [2022-01-20T18:42:04.630Z] 0d57e429df01: Waiting [2022-01-20T18:42:04.630Z] 4e4be7b47b0d: Waiting [2022-01-20T18:42:04.630Z] e1f770b5df2f: Waiting [2022-01-20T18:42:04.630Z] 85a0685a4137: Waiting [2022-01-20T18:42:04.630Z] de9db76c5a1d: Verifying Checksum [2022-01-20T18:42:04.630Z] de9db76c5a1d: Download complete [2022-01-20T18:42:04.630Z] 0ef7d3d256c8: Verifying Checksum [2022-01-20T18:42:04.630Z] 0ef7d3d256c8: Download complete [2022-01-20T18:42:04.630Z] 0d57e429df01: Verifying Checksum [2022-01-20T18:42:04.630Z] 0d57e429df01: Download complete [2022-01-20T18:42:04.630Z] 4e4be7b47b0d: Verifying Checksum [2022-01-20T18:42:04.630Z] 4e4be7b47b0d: Download complete [2022-01-20T18:42:04.630Z] 188c0c94c7c5: Verifying Checksum [2022-01-20T18:42:04.630Z] 188c0c94c7c5: Download complete [2022-01-20T18:42:04.903Z] 188c0c94c7c5: Pull complete [2022-01-20T18:42:04.903Z] e1f770b5df2f: Verifying Checksum [2022-01-20T18:42:04.903Z] e1f770b5df2f: Download complete [2022-01-20T18:42:05.164Z] 0ef7d3d256c8: Pull complete [2022-01-20T18:42:05.425Z] 0eba1c9be4d2: Verifying Checksum [2022-01-20T18:42:05.425Z] 0eba1c9be4d2: Download complete [2022-01-20T18:42:05.425Z] de9db76c5a1d: Pull complete [2022-01-20T18:42:05.697Z] 85a0685a4137: Verifying Checksum [2022-01-20T18:42:05.697Z] 85a0685a4137: Download complete [2022-01-20T18:42:09.950Z] 0eba1c9be4d2: Pull complete [2022-01-20T18:42:09.950Z] 0d57e429df01: Pull complete [2022-01-20T18:42:09.950Z] 4e4be7b47b0d: Pull complete [2022-01-20T18:42:09.950Z] e1f770b5df2f: Pull complete [2022-01-20T18:42:13.287Z] 85a0685a4137: Pull complete [2022-01-20T18:42:13.287Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-20T18:42:13.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:42:13.287Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-20T18:42:13.350Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:13.383Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-20T18:42:15.276Z] $ docker top 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-20T18:42:15.352Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-20T18:42:15.632Z] + set -o pipefail [2022-01-20T18:42:15.633Z] + snyk monitor '--org=edgex-jenkins' [2022-01-20T18:42:20.930Z] [2022-01-20T18:42:20.930Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-01-20T18:42:20.930Z] [2022-01-20T18:42:20.930Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e405fdcc-8afd-4817-951b-b1d7876bbff5 [2022-01-20T18:42:20.930Z] [2022-01-20T18:42:20.930Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-20T18:42:20.930Z] [2022-01-20T18:42:20.930Z] [Pipeline] } [2022-01-20T18:42:20.940Z] $ docker stop --time=1 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 [2022-01-20T18:42:22.850Z] $ docker rm -f 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 [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 [2022-01-20T18:42:23.571Z] + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] sh [2022-01-20T18:42:23.866Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:42:23.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:24.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:42:24.161Z] . [Pipeline] withDockerContainer [2022-01-20T18:42:24.219Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:24.251Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:42:24.602Z] $ docker top b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:42:24.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:42:24.691Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:42:24.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:42:24.784Z] $ docker exec b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 ssh-agent [2022-01-20T18:42:24.892Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAhBmlc/agent.14 [2022-01-20T18:42:24.892Z] SSH_AGENT_PID=20 [2022-01-20T18:42:24.897Z] Running ssh-add (command line suppressed) [2022-01-20T18:42:24.986Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6774469883278305454.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6774469883278305454.key) [2022-01-20T18:42:24.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:42:25.291Z] + git semver tag [2022-01-20T18:42:25.291Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:42:25.291Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-20T18:42:25.291Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:42:25.291Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:42:25.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:42:25.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:42:25.291Z] # $SEMVER_BRANCH = main [2022-01-20T18:42:25.291Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-01-20T18:42:25.291Z] # d36d4eb5d49c50cebb55fcc728bec397aa4f388e HEAD [2022-01-20T18:42:25.291Z] # -> Force: false [2022-01-20T18:42:25.291Z] # 7110cc34c07d8411d89a12404e29772deafa9cd8 refs/tags/v2.2.0-dev.5 [Pipeline] } [2022-01-20T18:42:25.301Z] $ docker exec --env ******** --env ******** b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 ssh-agent -k [2022-01-20T18:42:25.382Z] unset SSH_AUTH_SOCK; [2022-01-20T18:42:25.383Z] unset SSH_AGENT_PID; [2022-01-20T18:42:25.383Z] echo Agent pid 20 killed; [2022-01-20T18:42:25.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:42:25.697Z] + git semver [Pipeline] } [2022-01-20T18:42:25.708Z] $ docker stop --time=1 b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 [2022-01-20T18:42:26.881Z] $ docker rm -f b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:27.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:42:27.340Z] [2022-01-20T18:42:27.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:27.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:42:27.649Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-20T18:42:27.649Z] ab5ef0e58194: Pulling fs layer [2022-01-20T18:42:27.649Z] 9712f1f96733: Pulling fs layer [2022-01-20T18:42:27.649Z] 63f879dbbcfc: Pulling fs layer [2022-01-20T18:42:27.649Z] 0d9ebad4ef96: Pulling fs layer [2022-01-20T18:42:27.649Z] e9a5061849ea: Pulling fs layer [2022-01-20T18:42:27.649Z] d747dcd14b5f: Pulling fs layer [2022-01-20T18:42:27.649Z] 2de7ff778b66: Pulling fs layer [2022-01-20T18:42:27.649Z] 0d9ebad4ef96: Waiting [2022-01-20T18:42:27.649Z] e9a5061849ea: Waiting [2022-01-20T18:42:27.649Z] d747dcd14b5f: Waiting [2022-01-20T18:42:27.649Z] 2de7ff778b66: Waiting [2022-01-20T18:42:27.649Z] 9712f1f96733: Verifying Checksum [2022-01-20T18:42:27.649Z] 9712f1f96733: Download complete [2022-01-20T18:42:28.230Z] 63f879dbbcfc: Verifying Checksum [2022-01-20T18:42:28.230Z] 63f879dbbcfc: Download complete [2022-01-20T18:42:28.230Z] 0d9ebad4ef96: Verifying Checksum [2022-01-20T18:42:28.230Z] 0d9ebad4ef96: Download complete [2022-01-20T18:42:28.230Z] d747dcd14b5f: Verifying Checksum [2022-01-20T18:42:28.230Z] d747dcd14b5f: Download complete [2022-01-20T18:42:28.230Z] ab5ef0e58194: Verifying Checksum [2022-01-20T18:42:28.230Z] ab5ef0e58194: Download complete [2022-01-20T18:42:28.230Z] e9a5061849ea: Verifying Checksum [2022-01-20T18:42:28.230Z] e9a5061849ea: Download complete [2022-01-20T18:42:28.491Z] 2de7ff778b66: Verifying Checksum [2022-01-20T18:42:28.491Z] 2de7ff778b66: Download complete [2022-01-20T18:42:31.083Z] ab5ef0e58194: Pull complete [2022-01-20T18:42:31.083Z] 9712f1f96733: Pull complete [2022-01-20T18:42:32.484Z] 63f879dbbcfc: Pull complete [2022-01-20T18:42:36.749Z] 0d9ebad4ef96: Pull complete [2022-01-20T18:42:36.749Z] e9a5061849ea: Pull complete [2022-01-20T18:42:37.009Z] d747dcd14b5f: Pull complete [2022-01-20T18:42:38.396Z] 2de7ff778b66: Pull complete [2022-01-20T18:42:38.396Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-20T18:42:38.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:42:38.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-20T18:42:38.454Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:38.488Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-20T18:42:41.726Z] $ docker top 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:42:41.809Z] provisioning config files... [2022-01-20T18:42:41.818Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4171372528601752438tmp [2022-01-20T18:42:41.828Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5539691558727971924tmp [2022-01-20T18:42:41.837Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6193405760228708031tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:42:41.853Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:42.150Z] ---> sigul-configuration.sh [2022-01-20T18:42:42.150Z] gpg: directory `/root/.gnupg' created [2022-01-20T18:42:42.150Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-20T18:42:42.150Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-20T18:42:42.150Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-20T18:42:42.150Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-20T18:42:42.150Z] gpg: CAST5 encrypted data [2022-01-20T18:42:42.150Z] gpg: encrypted with 1 passphrase [2022-01-20T18:42:42.150Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-20T18:42:42.442Z] + mkdir /home/jenkins [2022-01-20T18:42:42.442Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-20T18:42:42.746Z] + 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 [2022-01-20T18:42:42.756Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:43.048Z] ---> sigul-install.sh [2022-01-20T18:42:43.048Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-20T18:42:43.338Z] + git tag --list [2022-01-20T18:42:43.339Z] v1.0.0 [2022-01-20T18:42:43.339Z] v1.1.0 [2022-01-20T18:42:43.339Z] v1.1.1 [2022-01-20T18:42:43.339Z] v1.2.1 [2022-01-20T18:42:43.339Z] v1.2.2 [2022-01-20T18:42:43.339Z] v1.2.3 [2022-01-20T18:42:43.339Z] v1.3.0 [2022-01-20T18:42:43.339Z] v1.3.1 [2022-01-20T18:42:43.339Z] v2.0.0 [2022-01-20T18:42:43.339Z] v2.0.1-dev.1 [2022-01-20T18:42:43.339Z] v2.0.1-dev.10 [2022-01-20T18:42:43.339Z] v2.0.1-dev.11 [2022-01-20T18:42:43.339Z] v2.0.1-dev.12 [2022-01-20T18:42:43.339Z] v2.0.1-dev.13 [2022-01-20T18:42:43.339Z] v2.0.1-dev.14 [2022-01-20T18:42:43.339Z] v2.0.1-dev.15 [2022-01-20T18:42:43.339Z] v2.0.1-dev.2 [2022-01-20T18:42:43.339Z] v2.0.1-dev.3 [2022-01-20T18:42:43.339Z] v2.0.1-dev.4 [2022-01-20T18:42:43.339Z] v2.0.1-dev.5 [2022-01-20T18:42:43.339Z] v2.0.1-dev.6 [2022-01-20T18:42:43.339Z] v2.0.1-dev.7 [2022-01-20T18:42:43.339Z] v2.0.1-dev.8 [2022-01-20T18:42:43.339Z] v2.0.1-dev.9 [2022-01-20T18:42:43.339Z] v2.1.0 [2022-01-20T18:42:43.339Z] v2.2.0-dev.1 [2022-01-20T18:42:43.339Z] v2.2.0-dev.2 [2022-01-20T18:42:43.339Z] v2.2.0-dev.3 [2022-01-20T18:42:43.339Z] v2.2.0-dev.4 [2022-01-20T18:42:43.339Z] v2.2.0-dev.5 [Pipeline] sh [2022-01-20T18:42:43.641Z] + lftools sign git-tag v2.2.0-dev.5 [2022-01-20T18:42:44.209Z] Signing Git tag with Sigul... [2022-01-20T18:42:44.209Z] Signing v2.2.0-dev.5 [Pipeline] echo [2022-01-20T18:42:44.479Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:44.769Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-20T18:42:44.782Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-20T18:42:44.803Z] $ docker stop --time=1 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 [2022-01-20T18:42:46.002Z] $ docker rm -f 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-20T18:42:46.414Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:42:46.414Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:46.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:42:46.712Z] . [Pipeline] withDockerContainer [2022-01-20T18:42:46.790Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:46.824Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:42:47.168Z] $ docker top 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:42:47.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:42:47.243Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:42:47.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:42:47.346Z] $ docker exec 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 ssh-agent [2022-01-20T18:42:47.442Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHonNLA/agent.15 [2022-01-20T18:42:47.442Z] SSH_AGENT_PID=21 [2022-01-20T18:42:47.446Z] Running ssh-add (command line suppressed) [2022-01-20T18:42:47.555Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4118781174222319967.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4118781174222319967.key) [2022-01-20T18:42:47.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:42:47.860Z] + git semver bump pre [2022-01-20T18:42:47.860Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:42:47.860Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-20T18:42:47.860Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:42:47.860Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:42:47.860Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:42:47.860Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:42:47.860Z] # $SEMVER_BRANCH = main [2022-01-20T18:42:47.860Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-01-20T18:42:47.860Z] 2.2.0-dev.6 [Pipeline] } [2022-01-20T18:42:47.868Z] $ docker exec --env ******** --env ******** 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 ssh-agent -k [2022-01-20T18:42:47.968Z] unset SSH_AUTH_SOCK; [2022-01-20T18:42:47.968Z] unset SSH_AGENT_PID; [2022-01-20T18:42:47.968Z] echo Agent pid 21 killed; [2022-01-20T18:42:47.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:42:48.293Z] + git semver [Pipeline] } [2022-01-20T18:42:48.305Z] $ docker stop --time=1 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 [2022-01-20T18:42:49.493Z] $ docker rm -f 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:42:49.845Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:42:49.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:50.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:42:50.139Z] . [Pipeline] withDockerContainer [2022-01-20T18:42:50.197Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:50.229Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:42:50.569Z] $ docker top a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:42:50.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:42:50.666Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:42:50.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:42:50.822Z] $ docker exec a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 ssh-agent [2022-01-20T18:42:50.956Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfDGEd/agent.15 [2022-01-20T18:42:50.956Z] SSH_AGENT_PID=21 [2022-01-20T18:42:50.969Z] Running ssh-add (command line suppressed) [2022-01-20T18:42:51.099Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578964072550458527.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578964072550458527.key) [2022-01-20T18:42:51.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:42:51.432Z] + git semver push [2022-01-20T18:42:51.432Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:42:51.432Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-20T18:42:51.432Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:42:51.432Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:42:51.432Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:42:51.432Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:42:51.432Z] # $SEMVER_BRANCH = main [2022-01-20T18:42:51.432Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-01-20T18:42:52.834Z] $ docker exec --env ******** --env ******** a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 ssh-agent -k [2022-01-20T18:42:52.915Z] unset SSH_AUTH_SOCK; [2022-01-20T18:42:52.915Z] unset SSH_AGENT_PID; [2022-01-20T18:42:52.915Z] echo Agent pid 21 killed; [2022-01-20T18:42:52.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:42:53.228Z] + git semver [Pipeline] } [2022-01-20T18:42:53.241Z] $ docker stop --time=1 a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 [2022-01-20T18:42:54.411Z] $ docker rm -f a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-20T18:42:54.985Z] + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [2022-01-20T18:42:54.985Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-20T18:42:54.985Z] total 8 [2022-01-20T18:42:54.985Z] drwxr-xr-x. 3 root root 34 Jan 20 18:26 . [2022-01-20T18:42:54.985Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:42 .. [2022-01-20T18:42:54.985Z] drwxr-xr-x. 2 root root 6 Jan 20 18:26 cost [2022-01-20T18:42:54.985Z] -rw-r--r--. 1 root root 87 Jan 20 18:26 cost.csv [2022-01-20T18:42:54.985Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-20T18:42:54.985Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-20T18:42:54.985Z] total 8 [2022-01-20T18:42:54.985Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:26 . [2022-01-20T18:42:54.985Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:42 .. [2022-01-20T18:42:54.985Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:26 cost [2022-01-20T18:42:54.985Z] -rw-r--r--. 1 jenkins jenkins 87 Jan 20 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:55.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:55.829Z] ---> package-listing.sh [2022-01-20T18:42:55.830Z] ++ facter osfamily [2022-01-20T18:42:55.830Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:42:56.089Z] + OS_FAMILY=redhat [2022-01-20T18:42:56.089Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-01-20T18:42:56.089Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:42:56.089Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:42:56.089Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:42:56.089Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:42:56.089Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-01-20T18:42:56.089Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:42:56.089Z] + case "${OS_FAMILY}" in [2022-01-20T18:42:56.089Z] + rpm -qa [2022-01-20T18:42:56.089Z] + sort [2022-01-20T18:42:56.662Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:42:56.662Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:42:56.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:42:56.662Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-01-20T18:42:56.662Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-01-20T18:42:56.662Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-01-20T18:42:56.674Z] 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 [2022-01-20T18:42:56.956Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:42:57.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:42:57.511Z] . [Pipeline] withDockerContainer [2022-01-20T18:42:57.567Z] prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container [2022-01-20T18:42:57.602Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:42:57.796Z] $ docker top 5df79ead652abd2815250af80c8b876efbc175e482544dbe13155fa6ea0fff12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:42:58.164Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:42:58.453Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:42:58.750Z] + ls /var/log/sa-host [2022-01-20T18:42:58.750Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:42:58.750Z] file_magic: OK [2022-01-20T18:42:58.750Z] HZ: Using current value: 100 [2022-01-20T18:42:58.750Z] file_header: OK [2022-01-20T18:42:58.750Z] 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 [2022-01-20T18:42:58.750Z] Statistics: [2022-01-20T18:42:58.750Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:42:58.750Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:42:58.750Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:42:58.750Z] file_magic: OK [2022-01-20T18:42:58.750Z] HZ: Using current value: 100 [2022-01-20T18:42:58.750Z] file_header: OK [2022-01-20T18:42:58.750Z] 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 [2022-01-20T18:42:58.750Z] Statistics: [2022-01-20T18:42:58.750Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:42:58.750Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:42:58.838Z] provisioning config files... [2022-01-20T18:42:58.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5266562885782486111tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:42:58.866Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:59.148Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:42:59.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:59.483Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:42:59.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:42:59.781Z] ---> sudo-logs.sh [2022-01-20T18:42:59.781Z] Archiving 'sudo' log.. [2022-01-20T18:42:59.781Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2829.novalocal: Name or service not known [2022-01-20T18:42:59.781Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:42:59.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:43:00.117Z] ---> job-cost.sh [2022-01-20T18:43:00.117Z] lf-activate-venv: SKIPPING [2022-01-20T18:43:00.117Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:43:00.117Z] INFO: Retrieving Stack Cost... [2022-01-20T18:43:00.377Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:43:00.639Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:43:00.651Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:43:00.937Z] ---> logs-deploy.sh [2022-01-20T18:43:00.937Z] lf-activate-venv: SKIPPING [2022-01-20T18:43:00.937Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/21 [2022-01-20T18:43:00.937Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:43:01.510Z] Archives upload complete. [2022-01-20T18:43:01.770Z] INFO: archiving logs to Nexus