Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e418388a8703d5229e379f4d284fa8e853be613 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-ssh8588689123749665537.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-ssh1369562453715780544.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-ssh1446134886231831652.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-ssh16174998909411231904.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-ssh1965844851851971692.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2107’ Running on prd-centos7-docker-4c-2g-2111 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-ssh6134011602129945974.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 6e418388a8703d5229e379f4d284fa8e853be613 (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 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 Commit message: "Merge pull request #258 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk 724087511cf3d7293bcbfd68c5d6ae44a4ff0394 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T22:13:41.222Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T22:13:41.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T22:13:41.297Z] ========================================================= [2022-01-19T22:13:41.297Z] EdgeX Global Pipelines Version Info [2022-01-19T22:13:41.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:13:42.418Z] ------------------- [2022-01-19T22:13:42.418Z] stable info: [2022-01-19T22:13:42.418Z] ------------------- [2022-01-19T22:13:42.418Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T22:13:42.418Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T22:13:42.418Z] Message: update stable to v1.0.219 [2022-01-19T22:13:42.990Z] ------------------- [2022-01-19T22:13:42.990Z] experimental info: [2022-01-19T22:13:42.990Z] ------------------- [2022-01-19T22:13:42.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T22:13:42.990Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T22:13:42.990Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T22:13:43.146Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-01-19T22:13:43.161Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-01-19T22:13:43.170Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T22:13:43.182Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T22:13:43.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T22:13:43.203Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T22:13:43.220Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T22:13:43.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T22:13:43.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T22:13:43.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T22:13:43.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T22:13:43.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-01-19T22:13:43.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T22:13:43.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T22:13:43.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T22:13:43.334Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T22:13:43.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T22:13:43.367Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T22:13:43.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T22:13:43.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T22:13:43.407Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T22:13:43.420Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T22:13:43.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T22:13:43.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T22:13:43.458Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T22:13:43.477Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T22:13:43.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-19T22:13:43.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-19T22:13:43.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-19T22:13:43.530Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] echo [2022-01-19T22:13:43.542Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e41838 [Pipeline] echo [2022-01-19T22:13:43.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T22:13:43.592Z] provisioning config files... [2022-01-19T22:13:43.604Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config157136150563840287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:13:43.916Z] ---> docker-login.sh [2022-01-19T22:13:43.916Z] nexus3.edgexfoundry.org:10001 [2022-01-19T22:13:43.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:43.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:43.916Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:43.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:43.916Z] [2022-01-19T22:13:43.916Z] Login Succeeded [2022-01-19T22:13:43.916Z] nexus3.edgexfoundry.org:10002 [2022-01-19T22:13:44.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:44.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:44.187Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:44.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:44.187Z] [2022-01-19T22:13:44.187Z] Login Succeeded [2022-01-19T22:13:44.187Z] nexus3.edgexfoundry.org:10003 [2022-01-19T22:13:44.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:44.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:44.187Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:44.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:44.187Z] [2022-01-19T22:13:44.187Z] Login Succeeded [2022-01-19T22:13:44.187Z] nexus3.edgexfoundry.org:10004 [2022-01-19T22:13:44.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:44.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:44.448Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:44.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:44.448Z] [2022-01-19T22:13:44.448Z] Login Succeeded [2022-01-19T22:13:44.448Z] docker.io [2022-01-19T22:13:44.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:44.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:44.709Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:44.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:44.709Z] [2022-01-19T22:13:44.709Z] Login Succeeded [2022-01-19T22:13:44.709Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T22:13:44.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T22:13:45.090Z] + git rev-list -1 --merges 6e418388a8703d5229e379f4d284fa8e853be613~1..6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] echo [2022-01-19T22:13:45.113Z] -----------> git rev-list -1 --merges 6e418388a8703d5229e379f4d284fa8e853be613~1..6e418388a8703d5229e379f4d284fa8e853be613 6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:13:45.113Z] 6e418388a8703d5229e379f4d284fa8e853be613 [false] [Pipeline] sh [2022-01-19T22:13:45.408Z] + git log --format=format:%s -1 6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] echo [2022-01-19T22:13:45.424Z] ========================================================= [2022-01-19T22:13:45.424Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T22:13:45.424Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T22:13:45.776Z] + git log --format=format:%s -1 6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] echo [2022-01-19T22:13:45.789Z] [semverPrep] GIT_COMMIT: 6e418388a8703d5229e379f4d284fa8e853be613, Commit Message: Merge pull request #258 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo [2022-01-19T22:13:45.802Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T22:13:46.330Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T22:13:46.330Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T22:13:46.330Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T22:13:46.330Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T22:13:46.330Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T22:13:46.330Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T22:13:46.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:13:46.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:13:46.759Z] [2022-01-19T22:13:46.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:13:47.063Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:13:47.063Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T22:13:47.063Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T22:13:47.063Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T22:13:47.063Z] 4c7163046ea9: Pulling fs layer [2022-01-19T22:13:47.063Z] 0c2d73faf560: Pulling fs layer [2022-01-19T22:13:47.063Z] 0c2d73faf560: Waiting [2022-01-19T22:13:47.063Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T22:13:47.063Z] 3e5f54012d9b: Download complete [2022-01-19T22:13:47.063Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T22:13:47.063Z] a0d0a0d46f8b: Download complete [2022-01-19T22:13:47.063Z] 0c2d73faf560: Verifying Checksum [2022-01-19T22:13:47.063Z] 0c2d73faf560: Download complete [2022-01-19T22:13:47.325Z] 4c7163046ea9: Verifying Checksum [2022-01-19T22:13:47.325Z] 4c7163046ea9: Download complete [2022-01-19T22:13:47.325Z] a0d0a0d46f8b: Pull complete [2022-01-19T22:13:47.325Z] 3e5f54012d9b: Pull complete [2022-01-19T22:13:47.586Z] 4c7163046ea9: Pull complete [2022-01-19T22:13:47.850Z] 0c2d73faf560: Pull complete [2022-01-19T22:13:47.850Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T22:13:47.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:13:47.850Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T22:13:47.929Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:13:47.966Z] $ 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-19T22:13:48.533Z] $ docker top 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T22:13:48.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T22:13:48.635Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T22:13:48.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T22:13:48.732Z] $ docker exec 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 ssh-agent [2022-01-19T22:13:48.836Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpnKJgo/agent.15 [2022-01-19T22:13:48.836Z] SSH_AGENT_PID=22 [2022-01-19T22:13:48.844Z] Running ssh-add (command line suppressed) [2022-01-19T22:13:48.925Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4555609760545684666.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4555609760545684666.key) [2022-01-19T22:13:48.938Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T22:13:49.240Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T22:13:49.257Z] $ docker exec --env ******** --env ******** 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 ssh-agent -k [2022-01-19T22:13:49.348Z] unset SSH_AUTH_SOCK; [2022-01-19T22:13:49.348Z] unset SSH_AGENT_PID; [2022-01-19T22:13:49.348Z] echo Agent pid 22 killed; [2022-01-19T22:13:49.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T22:13:49.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T22:13:49.394Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T22:13:49.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T22:13:49.499Z] $ docker exec 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 ssh-agent [2022-01-19T22:13:49.602Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNDiMBc/agent.57 [2022-01-19T22:13:49.602Z] SSH_AGENT_PID=64 [2022-01-19T22:13:49.607Z] Running ssh-add (command line suppressed) [2022-01-19T22:13:49.697Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5259466216588844931.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5259466216588844931.key) [2022-01-19T22:13:49.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T22:13:50.009Z] + git semver init [2022-01-19T22:13:50.009Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T22:13:50.009Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-19T22:13:50.009Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:13:50.009Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T22:13:50.009Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T22:13:50.009Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T22:13:50.009Z] # $SEMVER_BRANCH = main [2022-01-19T22:13:50.009Z] # $SEMVER_TEMP = /tmp/semver-951030599 [2022-01-19T22:13:50.009Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-01-19T22:13:51.395Z] # '/tmp/semver-951030599' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-01-19T22:13:51.395Z] # -> Force: false [2022-01-19T22:13:51.395Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-01-19T22:13:51.404Z] $ docker exec --env ******** --env ******** 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 ssh-agent -k [2022-01-19T22:13:51.487Z] unset SSH_AUTH_SOCK; [2022-01-19T22:13:51.488Z] unset SSH_AGENT_PID; [2022-01-19T22:13:51.488Z] echo Agent pid 64 killed; [2022-01-19T22:13:51.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T22:13:51.801Z] + git semver [Pipeline] } [2022-01-19T22:13:51.815Z] $ docker stop --time=1 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 [2022-01-19T22:13:53.091Z] $ docker rm -f 7f301a07b65f480809aa9284c6bcb24f52afce63077db4f3b989b237542f9e44 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T22:13:53.441Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T22:13:53.653Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T22:13:53.657Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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-19T22:13:53.806Z] provisioning config files... [2022-01-19T22:13:53.818Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2222991832992238260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:13:54.142Z] ---> docker-login.sh [2022-01-19T22:13:54.143Z] nexus3.edgexfoundry.org:10001 [2022-01-19T22:13:54.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:54.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:54.143Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:54.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:54.143Z] [2022-01-19T22:13:54.143Z] Login Succeeded [2022-01-19T22:13:54.143Z] nexus3.edgexfoundry.org:10002 [2022-01-19T22:13:54.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:54.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:54.143Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:54.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:54.143Z] [2022-01-19T22:13:54.143Z] Login Succeeded [2022-01-19T22:13:54.143Z] nexus3.edgexfoundry.org:10003 [2022-01-19T22:13:54.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:54.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:54.404Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:54.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:54.404Z] [2022-01-19T22:13:54.404Z] Login Succeeded [2022-01-19T22:13:54.404Z] nexus3.edgexfoundry.org:10004 [2022-01-19T22:13:54.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:54.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:54.405Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:54.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:54.405Z] [2022-01-19T22:13:54.405Z] Login Succeeded [2022-01-19T22:13:54.405Z] docker.io [2022-01-19T22:13:54.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:13:54.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:13:54.925Z] Configure a credential helper to remove this warning. See [2022-01-19T22:13:54.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:13:54.925Z] [2022-01-19T22:13:54.925Z] Login Succeeded [2022-01-19T22:13:54.925Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T22:13:54.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T22:13:54.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T22:13:55.008Z] ========================================================= [2022-01-19T22:13:55.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T22:13:55.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:13:55.320Z] + 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-19T22:13:55.320Z] Sending build context to Docker daemon 22.81MB [2022-01-19T22:13:55.320Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T22:13:55.320Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T22:13:55.589Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T22:13:55.589Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T22:13:55.589Z] 666ba61612fd: Pulling fs layer [2022-01-19T22:13:55.589Z] 8ed8ca486205: Pulling fs layer [2022-01-19T22:13:55.589Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T22:13:55.589Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T22:13:55.589Z] f965cba54748: Pulling fs layer [2022-01-19T22:13:55.589Z] 861ffc35075e: Pulling fs layer [2022-01-19T22:13:55.589Z] 4b385c91608e: Pulling fs layer [2022-01-19T22:13:55.589Z] 560528eb2ebb: Pulling fs layer [2022-01-19T22:13:55.589Z] 4fe6c5a15a65: Waiting [2022-01-19T22:13:55.589Z] 22a0e8bec74d: Waiting [2022-01-19T22:13:55.589Z] f965cba54748: Waiting [2022-01-19T22:13:55.589Z] 861ffc35075e: Waiting [2022-01-19T22:13:55.589Z] 4b385c91608e: Waiting [2022-01-19T22:13:55.589Z] 560528eb2ebb: Waiting [2022-01-19T22:13:55.589Z] 8ed8ca486205: Verifying Checksum [2022-01-19T22:13:55.589Z] 8ed8ca486205: Download complete [2022-01-19T22:13:55.589Z] 666ba61612fd: Verifying Checksum [2022-01-19T22:13:55.589Z] 666ba61612fd: Download complete [2022-01-19T22:13:55.589Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T22:13:55.589Z] 22a0e8bec74d: Download complete [2022-01-19T22:13:55.589Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T22:13:55.589Z] 59bf1c3509f3: Download complete [2022-01-19T22:13:55.589Z] f965cba54748: Verifying Checksum [2022-01-19T22:13:55.589Z] f965cba54748: Download complete [2022-01-19T22:13:55.589Z] 861ffc35075e: Verifying Checksum [2022-01-19T22:13:55.589Z] 861ffc35075e: Download complete [2022-01-19T22:13:55.589Z] 4b385c91608e: Verifying Checksum [2022-01-19T22:13:55.589Z] 4b385c91608e: Download complete [2022-01-19T22:13:55.856Z] 59bf1c3509f3: Pull complete [2022-01-19T22:13:56.118Z] 666ba61612fd: Pull complete [2022-01-19T22:13:56.118Z] 560528eb2ebb: Verifying Checksum [2022-01-19T22:13:56.118Z] 560528eb2ebb: Download complete [2022-01-19T22:13:56.118Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T22:13:56.118Z] 4fe6c5a15a65: Download complete [2022-01-19T22:13:56.118Z] 8ed8ca486205: Pull complete [2022-01-19T22:14:00.366Z] 4fe6c5a15a65: Pull complete [2022-01-19T22:14:00.366Z] 22a0e8bec74d: Pull complete [2022-01-19T22:14:00.366Z] f965cba54748: Pull complete [2022-01-19T22:14:00.366Z] 861ffc35075e: Pull complete [2022-01-19T22:14:00.366Z] 4b385c91608e: Pull complete [2022-01-19T22:14:02.948Z] 560528eb2ebb: Pull complete [2022-01-19T22:14:02.948Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T22:14:02.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T22:14:02.948Z] ---> dd4a08f94e63 [2022-01-19T22:14:02.948Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T22:14:04.341Z] ---> Running in a0cf5327d956 [2022-01-19T22:14:04.341Z] Removing intermediate container a0cf5327d956 [2022-01-19T22:14:04.341Z] ---> 323a86b668f4 [2022-01-19T22:14:04.341Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T22:14:04.341Z] ---> Running in 30f650af863f [2022-01-19T22:14:04.341Z] Removing intermediate container 30f650af863f [2022-01-19T22:14:04.341Z] ---> cfda1b11dcb8 [2022-01-19T22:14:04.341Z] Step 5/12 : WORKDIR /device-virtual-go [2022-01-19T22:14:04.341Z] ---> Running in 394aaf7a0358 [2022-01-19T22:14:04.602Z] Removing intermediate container 394aaf7a0358 [2022-01-19T22:14:04.602Z] ---> 7ee7bc5aa457 [2022-01-19T22:14:04.602Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:14:04.602Z] ---> Running in e31eb9b8a72c [2022-01-19T22:14:04.861Z] Removing intermediate container e31eb9b8a72c [2022-01-19T22:14:04.861Z] ---> 3eae811c33e4 [2022-01-19T22:14:04.861Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T22:14:05.126Z] ---> Running in 08e643bfb804 [2022-01-19T22:14:05.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T22:14:06.345Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T22:14:06.607Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T22:14:06.607Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T22:14:06.607Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T22:14:06.871Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T22:14:06.871Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T22:14:06.871Z] OK: 224 MiB in 56 packages [2022-01-19T22:14:07.134Z] Removing intermediate container 08e643bfb804 [2022-01-19T22:14:07.134Z] ---> 69d10ad4cf04 [2022-01-19T22:14:07.134Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-19T22:14:07.396Z] ---> 6a4b220c309c [2022-01-19T22:14:07.396Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T22:14:07.396Z] ---> Running in 5ce12d6f2124 [2022-01-19T22:14:08.770Z] Still waiting to schedule task [2022-01-19T22:14:08.770Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2108’ [2022-01-19T22:14:39.532Z] Removing intermediate container 5ce12d6f2124 [2022-01-19T22:14:39.532Z] ---> 52c88c93d8f2 [2022-01-19T22:14:39.532Z] Step 10/12 : COPY . . [2022-01-19T22:14:39.532Z] ---> 788b68736481 [2022-01-19T22:14:39.532Z] Step 11/12 : ARG MAKE='make build' [2022-01-19T22:14:39.532Z] ---> Running in 185d98e4c23e [2022-01-19T22:14:39.532Z] Removing intermediate container 185d98e4c23e [2022-01-19T22:14:39.532Z] ---> 6bacae45089e [2022-01-19T22:14:39.532Z] Step 12/12 : RUN $MAKE [2022-01-19T22:14:39.532Z] ---> Running in 3328a1813cf2 [2022-01-19T22:14:39.532Z] noop [2022-01-19T22:14:39.532Z] Removing intermediate container 3328a1813cf2 [2022-01-19T22:14:39.532Z] ---> 8dbb91b32711 [2022-01-19T22:14:39.532Z] Successfully built 8dbb91b32711 [2022-01-19T22:14:39.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:14:39.837Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T22:14:39.837Z] . [Pipeline] withDockerContainer [2022-01-19T22:14:39.916Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:14:39.950Z] $ 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-19T22:14:40.330Z] $ docker top 6fb61e49a48a6a6150c8189bac9645b63ee0007d51ab508a0e6b8f947a61eba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T22:14:40.699Z] + go version [2022-01-19T22:14:40.699Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T22:14:40.710Z] $ docker stop --time=1 6fb61e49a48a6a6150c8189bac9645b63ee0007d51ab508a0e6b8f947a61eba4 [2022-01-19T22:14:41.898Z] $ docker rm -f 6fb61e49a48a6a6150c8189bac9645b63ee0007d51ab508a0e6b8f947a61eba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:14:42.304Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T22:14:42.304Z] . [Pipeline] withDockerContainer [2022-01-19T22:14:42.380Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:14:42.414Z] $ 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-19T22:14:42.748Z] $ docker top 0143786e2ef07f01a980689d66bfe65caafad3b8fe8fcf9abedaece0aec835bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T22:14:43.123Z] + make test [2022-01-19T22:14:43.123Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T22:14:43.392Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-01-19T22:15:05.433Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-01-19T22:15:05.433Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.239s coverage: 64.6% of statements [2022-01-19T22:15:05.433Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T22:15:09.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T22:15:09.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T22:15:09.677Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T22:15:09.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T22:15:09.968Z] $ docker stop --time=1 0143786e2ef07f01a980689d66bfe65caafad3b8fe8fcf9abedaece0aec835bf [2022-01-19T22:15:11.508Z] $ docker rm -f 0143786e2ef07f01a980689d66bfe65caafad3b8fe8fcf9abedaece0aec835bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T22:15:11.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T22:15:11.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T22:15:12.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T22:15:12.857Z] + ls -al . [2022-01-19T22:15:12.857Z] total 176 [2022-01-19T22:15:12.857Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 19 22:15 . [2022-01-19T22:15:12.857Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 22:13 .. [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 8449 Jan 19 22:13 Attribution.txt [2022-01-19T22:15:12.857Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 22:13 bin [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 6349 Jan 19 22:13 CHANGELOG.md [2022-01-19T22:15:12.857Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 22:13 cmd [2022-01-19T22:15:12.857Z] -rw-r--r--. 1 jenkins jenkins 46339 Jan 19 22:15 coverage.out [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 1974 Jan 19 22:13 Dockerfile [2022-01-19T22:15:12.857Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 22:13 .git [2022-01-19T22:15:12.857Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 22:13 .github [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 270 Jan 19 22:13 .gitignore [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 350 Jan 19 22:13 go.mod [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 52323 Jan 19 22:13 go.sum [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 22:13 GOVERNANCE.md [2022-01-19T22:15:12.857Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 22:13 internal [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 660 Jan 19 22:13 Jenkinsfile [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 22:13 LICENSE [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 1157 Jan 19 22:13 Makefile [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 623 Jan 19 22:13 OWNERS.md [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 2914 Jan 19 22:13 README.md [2022-01-19T22:15:12.857Z] drwx------. 3 jenkins jenkins 57 Jan 19 22:13 .semver [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 22:13 VERSION [2022-01-19T22:15:12.857Z] -rw-rw-r--. 1 jenkins jenkins 235 Jan 19 22:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:13.161Z] + 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=6e418388a8703d5229e379f4d284fa8e853be613 --label arch=amd64 --label version=2.2.0-dev.4 . [2022-01-19T22:15:13.161Z] Sending build context to Docker daemon 22.86MB [2022-01-19T22:15:13.161Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T22:15:13.161Z] Step 2/26 : FROM ${BASE} AS builder [2022-01-19T22:15:13.161Z] ---> 8dbb91b32711 [2022-01-19T22:15:13.161Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T22:15:13.422Z] ---> Running in d70ec20a3779 [2022-01-19T22:15:13.422Z] Removing intermediate container d70ec20a3779 [2022-01-19T22:15:13.422Z] ---> 4bce5b647aa4 [2022-01-19T22:15:13.422Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T22:15:13.422Z] ---> Running in 15d1822325b0 [2022-01-19T22:15:13.684Z] Removing intermediate container 15d1822325b0 [2022-01-19T22:15:13.684Z] ---> e349d8115ef0 [2022-01-19T22:15:13.684Z] Step 5/26 : WORKDIR /device-virtual-go [2022-01-19T22:15:13.684Z] ---> Running in b07ebb714482 [2022-01-19T22:15:13.684Z] Removing intermediate container b07ebb714482 [2022-01-19T22:15:13.684Z] ---> cf68f62f7288 [2022-01-19T22:15:13.684Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:15:13.684Z] ---> Running in b627634e9315 [2022-01-19T22:15:14.261Z] Removing intermediate container b627634e9315 [2022-01-19T22:15:14.261Z] ---> c4f5d3e814e7 [2022-01-19T22:15:14.261Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T22:15:14.261Z] ---> Running in 76edf321eaf6 [2022-01-19T22:15:14.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T22:15:15.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T22:15:15.722Z] OK: 224 MiB in 56 packages [2022-01-19T22:15:15.982Z] Removing intermediate container 76edf321eaf6 [2022-01-19T22:15:15.982Z] ---> 711e227004a3 [2022-01-19T22:15:15.982Z] Step 8/26 : COPY go.mod vendor* ./ [2022-01-19T22:15:16.244Z] ---> 2a00364d57f7 [2022-01-19T22:15:16.244Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T22:15:16.244Z] ---> Running in 2835977df140 [2022-01-19T22:15:16.823Z] Removing intermediate container 2835977df140 [2022-01-19T22:15:16.823Z] ---> e4898516ccff [2022-01-19T22:15:16.824Z] Step 10/26 : COPY . . [2022-01-19T22:15:17.395Z] ---> 29bb01bcb105 [2022-01-19T22:15:17.395Z] Step 11/26 : ARG MAKE='make build' [2022-01-19T22:15:17.395Z] ---> Running in 9b85a5b15d6c [2022-01-19T22:15:17.395Z] Removing intermediate container 9b85a5b15d6c [2022-01-19T22:15:17.395Z] ---> 7116cb0c0838 [2022-01-19T22:15:17.395Z] Step 12/26 : RUN $MAKE [2022-01-19T22:15:17.395Z] ---> Running in fe8c6f08069d [2022-01-19T22:15:17.655Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.4" -o cmd/device-virtual ./cmd [2022-01-19T22:15:39.748Z] Removing intermediate container fe8c6f08069d [2022-01-19T22:15:39.748Z] ---> f0daeb7806a2 [2022-01-19T22:15:39.748Z] Step 13/26 : FROM alpine:3.14 [2022-01-19T22:15:39.748Z] 3.14: Pulling from library/alpine [2022-01-19T22:15:39.748Z] 97518928ae5f: Pulling fs layer [2022-01-19T22:15:39.748Z] 97518928ae5f: Verifying Checksum [2022-01-19T22:15:39.748Z] 97518928ae5f: Download complete [2022-01-19T22:15:39.748Z] 97518928ae5f: Pull complete [2022-01-19T22:15:39.748Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T22:15:39.748Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T22:15:39.748Z] ---> 0a97eee8041e [2022-01-19T22:15:39.748Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-01-19T22:15:39.748Z] ---> Running in 99aca4daaed3 [2022-01-19T22:15:39.748Z] Removing intermediate container 99aca4daaed3 [2022-01-19T22:15:39.748Z] ---> b682fbff124a [2022-01-19T22:15:39.748Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:15:39.748Z] ---> Running in 4322493c84ff [2022-01-19T22:15:39.748Z] Removing intermediate container 4322493c84ff [2022-01-19T22:15:39.748Z] ---> 5a036720393b [2022-01-19T22:15:39.748Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T22:15:39.748Z] ---> Running in 475126222a5b [2022-01-19T22:15:39.748Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-19T22:15:39.748Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-19T22:15:39.748Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T22:15:39.748Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T22:15:39.748Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T22:15:40.010Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T22:15:40.010Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T22:15:40.010Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T22:15:40.270Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T22:15:40.271Z] OK: 8 MiB in 20 packages [2022-01-19T22:15:40.535Z] Removing intermediate container 475126222a5b [2022-01-19T22:15:40.535Z] ---> 2365cc0f67b7 [2022-01-19T22:15:40.535Z] Step 17/26 : WORKDIR / [2022-01-19T22:15:40.535Z] ---> Running in 38bc2762710d [2022-01-19T22:15:40.535Z] Removing intermediate container 38bc2762710d [2022-01-19T22:15:40.535Z] ---> 730ef58a2c01 [2022-01-19T22:15:40.535Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-01-19T22:15:40.798Z] ---> e154afff84ab [2022-01-19T22:15:40.798Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-01-19T22:15:40.798Z] ---> b69d8e94a5b3 [2022-01-19T22:15:40.798Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-01-19T22:15:41.370Z] ---> 07899ba73c09 [2022-01-19T22:15:41.370Z] Step 21/26 : EXPOSE 59900 [2022-01-19T22:15:41.370Z] ---> Running in 67df1a26f889 [2022-01-19T22:15:41.370Z] Removing intermediate container 67df1a26f889 [2022-01-19T22:15:41.370Z] ---> fd1c300babd9 [2022-01-19T22:15:41.370Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-01-19T22:15:41.370Z] ---> Running in d7b75bb2e003 [2022-01-19T22:15:41.630Z] Removing intermediate container d7b75bb2e003 [2022-01-19T22:15:41.630Z] ---> 08d437dbd4b1 [2022-01-19T22:15:41.630Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T22:15:41.630Z] ---> Running in ed2e8acbb115 [2022-01-19T22:15:41.630Z] Removing intermediate container ed2e8acbb115 [2022-01-19T22:15:41.630Z] ---> 7874386fdcf7 [2022-01-19T22:15:41.630Z] Step 24/26 : LABEL arch=amd64 [2022-01-19T22:15:41.630Z] ---> Running in 04575625b422 [2022-01-19T22:15:41.893Z] Removing intermediate container 04575625b422 [2022-01-19T22:15:41.893Z] ---> f090b3300730 [2022-01-19T22:15:41.893Z] Step 25/26 : LABEL git_sha=6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:15:41.893Z] ---> Running in a604c2155202 [2022-01-19T22:15:41.893Z] Removing intermediate container a604c2155202 [2022-01-19T22:15:41.893Z] ---> dad27a6c80dd [2022-01-19T22:15:41.893Z] Step 26/26 : LABEL version=2.2.0-dev.4 [2022-01-19T22:15:41.893Z] ---> Running in 6fc7dc594f27 [2022-01-19T22:15:41.893Z] Removing intermediate container 6fc7dc594f27 [2022-01-19T22:15:41.893Z] ---> d5ec53f6f1a7 [2022-01-19T22:15:41.893Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T22:15:41.893Z] Successfully built d5ec53f6f1a7 [2022-01-19T22:15:41.893Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T22:15:41.987Z] provisioning config files... [2022-01-19T22:15:41.996Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1111759226148359434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:15:42.297Z] ---> docker-login.sh [2022-01-19T22:15:42.297Z] nexus3.edgexfoundry.org:10001 [2022-01-19T22:15:42.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:15:42.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:15:42.297Z] Configure a credential helper to remove this warning. See [2022-01-19T22:15:42.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:15:42.297Z] [2022-01-19T22:15:42.297Z] Login Succeeded [2022-01-19T22:15:42.297Z] nexus3.edgexfoundry.org:10002 [2022-01-19T22:15:42.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:15:42.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:15:42.557Z] Configure a credential helper to remove this warning. See [2022-01-19T22:15:42.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:15:42.557Z] [2022-01-19T22:15:42.557Z] Login Succeeded [2022-01-19T22:15:42.557Z] nexus3.edgexfoundry.org:10003 [2022-01-19T22:15:42.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:15:42.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:15:42.557Z] Configure a credential helper to remove this warning. See [2022-01-19T22:15:42.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:15:42.557Z] [2022-01-19T22:15:42.557Z] Login Succeeded [2022-01-19T22:15:42.557Z] nexus3.edgexfoundry.org:10004 [2022-01-19T22:15:42.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:15:42.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:15:42.820Z] Configure a credential helper to remove this warning. See [2022-01-19T22:15:42.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:15:42.820Z] [2022-01-19T22:15:42.820Z] Login Succeeded [2022-01-19T22:15:42.820Z] docker.io [2022-01-19T22:15:42.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:15:43.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:15:43.080Z] Configure a credential helper to remove this warning. See [2022-01-19T22:15:43.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:15:43.080Z] [2022-01-19T22:15:43.080Z] Login Succeeded [2022-01-19T22:15:43.080Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T22:15:43.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T22:15:43.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T22:15:43.144Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-01-19T22:15:43.144Z] 6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:15:43.144Z] latest [2022-01-19T22:15:43.144Z] 2.2.0-dev.4 [2022-01-19T22:15:43.144Z] 6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:15:43.144Z] main [2022-01-19T22:15:43.144Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:43.467Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:43.762Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:15:43.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-19T22:15:43.762Z] 3ea1a6948846: Preparing [2022-01-19T22:15:43.762Z] 688b6c91d46b: Preparing [2022-01-19T22:15:43.762Z] 75afa0f9d2a5: Preparing [2022-01-19T22:15:43.762Z] 8b6c110adec7: Preparing [2022-01-19T22:15:43.762Z] 0550af225aca: Preparing [2022-01-19T22:15:43.762Z] 1a058d5342cc: Preparing [2022-01-19T22:15:43.762Z] 1a058d5342cc: Waiting [2022-01-19T22:15:44.027Z] 688b6c91d46b: Pushed [2022-01-19T22:15:44.027Z] 75afa0f9d2a5: Pushed [2022-01-19T22:15:44.027Z] 1a058d5342cc: Layer already exists [2022-01-19T22:15:44.027Z] 0550af225aca: Pushed [2022-01-19T22:15:44.027Z] 8b6c110adec7: Pushed [2022-01-19T22:15:45.409Z] 3ea1a6948846: Pushed [2022-01-19T22:15:45.409Z] 6e418388a8703d5229e379f4d284fa8e853be613: digest: sha256:8033ac2877cabb536f8f7795c8c7c4fdc42e1ae2f866b2f190c569948a7c9ec3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:45.712Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:46.013Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-01-19T22:15:46.013Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-19T22:15:46.013Z] 3ea1a6948846: Preparing [2022-01-19T22:15:46.013Z] 688b6c91d46b: Preparing [2022-01-19T22:15:46.013Z] 75afa0f9d2a5: Preparing [2022-01-19T22:15:46.013Z] 8b6c110adec7: Preparing [2022-01-19T22:15:46.013Z] 0550af225aca: Preparing [2022-01-19T22:15:46.013Z] 1a058d5342cc: Preparing [2022-01-19T22:15:46.013Z] 1a058d5342cc: Waiting [2022-01-19T22:15:46.013Z] 75afa0f9d2a5: Layer already exists [2022-01-19T22:15:46.013Z] 688b6c91d46b: Layer already exists [2022-01-19T22:15:46.013Z] 0550af225aca: Layer already exists [2022-01-19T22:15:46.013Z] 3ea1a6948846: Layer already exists [2022-01-19T22:15:46.013Z] 8b6c110adec7: Layer already exists [2022-01-19T22:15:46.013Z] 1a058d5342cc: Layer already exists [2022-01-19T22:15:46.013Z] latest: digest: sha256:8033ac2877cabb536f8f7795c8c7c4fdc42e1ae2f866b2f190c569948a7c9ec3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:46.311Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:46.606Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.4 [2022-01-19T22:15:46.606Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-19T22:15:46.606Z] 3ea1a6948846: Preparing [2022-01-19T22:15:46.606Z] 688b6c91d46b: Preparing [2022-01-19T22:15:46.606Z] 75afa0f9d2a5: Preparing [2022-01-19T22:15:46.606Z] 8b6c110adec7: Preparing [2022-01-19T22:15:46.606Z] 0550af225aca: Preparing [2022-01-19T22:15:46.606Z] 1a058d5342cc: Preparing [2022-01-19T22:15:46.606Z] 1a058d5342cc: Waiting [2022-01-19T22:15:46.606Z] 0550af225aca: Layer already exists [2022-01-19T22:15:46.606Z] 688b6c91d46b: Layer already exists [2022-01-19T22:15:46.606Z] 75afa0f9d2a5: Layer already exists [2022-01-19T22:15:46.606Z] 3ea1a6948846: Layer already exists [2022-01-19T22:15:46.606Z] 8b6c110adec7: Layer already exists [2022-01-19T22:15:46.606Z] 1a058d5342cc: Layer already exists [2022-01-19T22:15:46.606Z] 2.2.0-dev.4: digest: sha256:8033ac2877cabb536f8f7795c8c7c4fdc42e1ae2f866b2f190c569948a7c9ec3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:46.914Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:47.213Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:15:47.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-19T22:15:47.213Z] 3ea1a6948846: Preparing [2022-01-19T22:15:47.213Z] 688b6c91d46b: Preparing [2022-01-19T22:15:47.213Z] 75afa0f9d2a5: Preparing [2022-01-19T22:15:47.213Z] 8b6c110adec7: Preparing [2022-01-19T22:15:47.213Z] 0550af225aca: Preparing [2022-01-19T22:15:47.213Z] 1a058d5342cc: Preparing [2022-01-19T22:15:47.213Z] 1a058d5342cc: Waiting [2022-01-19T22:15:47.213Z] 75afa0f9d2a5: Layer already exists [2022-01-19T22:15:47.213Z] 8b6c110adec7: Layer already exists [2022-01-19T22:15:47.213Z] 3ea1a6948846: Layer already exists [2022-01-19T22:15:47.213Z] 688b6c91d46b: Layer already exists [2022-01-19T22:15:47.213Z] 0550af225aca: Layer already exists [2022-01-19T22:15:47.213Z] 1a058d5342cc: Layer already exists [2022-01-19T22:15:47.213Z] 6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4: digest: sha256:8033ac2877cabb536f8f7795c8c7c4fdc42e1ae2f866b2f190c569948a7c9ec3 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:47.516Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:47.815Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-01-19T22:15:47.815Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-01-19T22:15:47.815Z] 3ea1a6948846: Preparing [2022-01-19T22:15:47.815Z] 688b6c91d46b: Preparing [2022-01-19T22:15:47.815Z] 75afa0f9d2a5: Preparing [2022-01-19T22:15:47.815Z] 8b6c110adec7: Preparing [2022-01-19T22:15:47.815Z] 0550af225aca: Preparing [2022-01-19T22:15:47.815Z] 1a058d5342cc: Preparing [2022-01-19T22:15:47.815Z] 1a058d5342cc: Waiting [2022-01-19T22:15:47.815Z] 0550af225aca: Layer already exists [2022-01-19T22:15:47.815Z] 3ea1a6948846: Layer already exists [2022-01-19T22:15:47.815Z] 8b6c110adec7: Layer already exists [2022-01-19T22:15:47.815Z] 75afa0f9d2a5: Layer already exists [2022-01-19T22:15:47.815Z] 688b6c91d46b: Layer already exists [2022-01-19T22:15:47.815Z] 1a058d5342cc: Layer already exists [2022-01-19T22:15:47.815Z] main: digest: sha256:8033ac2877cabb536f8f7795c8c7c4fdc42e1ae2f866b2f190c569948a7c9ec3 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T22:15:47.856Z] ===================================================== [Pipeline] echo [2022-01-19T22:15:47.866Z] taggedImages: [2022-01-19T22:15:47.866Z] - nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:15:47.866Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-01-19T22:15:47.866Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.4 [2022-01-19T22:15:47.866Z] - nexus3.edgexfoundry.org:10004/device-virtual:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:15:47.866Z] - 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-19T22:15:48.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T22:15:48.258Z] [2022-01-19T22:15:48.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:15:48.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T22:15:48.577Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T22:15:48.577Z] b4d181a07f80: Pulling fs layer [2022-01-19T22:15:48.577Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T22:15:48.577Z] ed53099fbce6: Pulling fs layer [2022-01-19T22:15:48.577Z] dc539afda2c1: Pulling fs layer [2022-01-19T22:15:48.577Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T22:15:48.577Z] 9065ff56babe: Pulling fs layer [2022-01-19T22:15:48.577Z] d287ab97295c: Pulling fs layer [2022-01-19T22:15:48.577Z] dc539afda2c1: Waiting [2022-01-19T22:15:48.577Z] 77bc0d833cb6: Waiting [2022-01-19T22:15:48.577Z] 9065ff56babe: Waiting [2022-01-19T22:15:48.577Z] d287ab97295c: Waiting [2022-01-19T22:15:48.577Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T22:15:48.577Z] a1111a8f2ec3: Download complete [2022-01-19T22:15:48.577Z] dc539afda2c1: Verifying Checksum [2022-01-19T22:15:48.577Z] dc539afda2c1: Download complete [2022-01-19T22:15:48.840Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T22:15:48.840Z] 77bc0d833cb6: Download complete [2022-01-19T22:15:48.840Z] 9065ff56babe: Verifying Checksum [2022-01-19T22:15:48.840Z] 9065ff56babe: Download complete [2022-01-19T22:15:48.840Z] ed53099fbce6: Verifying Checksum [2022-01-19T22:15:48.840Z] ed53099fbce6: Download complete [2022-01-19T22:15:48.840Z] b4d181a07f80: Verifying Checksum [2022-01-19T22:15:48.840Z] b4d181a07f80: Download complete [2022-01-19T22:15:49.425Z] d287ab97295c: Verifying Checksum [2022-01-19T22:15:49.425Z] d287ab97295c: Download complete [2022-01-19T22:15:50.376Z] b4d181a07f80: Pull complete [2022-01-19T22:15:50.376Z] a1111a8f2ec3: Pull complete [2022-01-19T22:15:50.955Z] ed53099fbce6: Pull complete [2022-01-19T22:15:51.218Z] dc539afda2c1: Pull complete [2022-01-19T22:15:51.218Z] 77bc0d833cb6: Pull complete [2022-01-19T22:15:51.479Z] 9065ff56babe: Pull complete [2022-01-19T22:15:56.847Z] d287ab97295c: Pull complete [2022-01-19T22:15:56.847Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T22:15:56.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T22:15:56.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T22:15:56.925Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:15:56.965Z] $ 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-19T22:15:59.540Z] $ docker top 633f43358222ad6e48f2b204cde6b2a3dac5cdf8684c40e3d23580c732371791 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:16:00.012Z] ---> job-cost.sh [2022-01-19T22:16:00.012Z] lf-activate-venv: SKIPPING [2022-01-19T22:16:00.012Z] INFO: No Stack... [2022-01-19T22:16:00.273Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T22:16:00.535Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T22:16:00.837Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-01-19T22:16:00.837Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T22:16:00.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [2022-01-19T22:16:00.936Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] did not exist. Created. [2022-01-19T22:16:00.936Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T22:16:01.243Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T22:16:01.344Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T22:16:01.349Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T22:16:01.360Z] $ docker stop --time=1 633f43358222ad6e48f2b204cde6b2a3dac5cdf8684c40e3d23580c732371791 [2022-01-19T22:16:02.540Z] $ docker rm -f 633f43358222ad6e48f2b204cde6b2a3dac5cdf8684c40e3d23580c732371791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T22:17:37.851Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2113 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-01-19T22:17:37.867Z] Running in /w/workspace/device-virtual-go/20 [Pipeline] { [Pipeline] checkout [2022-01-19T22:17:38.038Z] The recommended git tool is: git [2022-01-19T22:17:42.987Z] using credential edgex-jenkins-ssh [2022-01-19T22:17:43.003Z] Cloning the remote Git repository [2022-01-19T22:17:43.035Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-01-19T22:17:43.103Z] > git init /w/workspace/device-virtual-go/20 # timeout=10 [2022-01-19T22:17:43.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-01-19T22:17:43.173Z] > git --version # timeout=10 [2022-01-19T22:17:43.195Z] > git --version # 'git version 2.17.1' [2022-01-19T22:17:43.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T22:17:43.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T22:17:45.307Z] Avoid second fetch [2022-01-19T22:17:45.307Z] Checking out Revision 6e418388a8703d5229e379f4d284fa8e853be613 (main) [2022-01-19T22:17:45.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-01-19T22:17:45.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T22:17:45.312Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T22:17:45.328Z] > git checkout -f 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 [2022-01-19T22:17:49.712Z] Commit message: "Merge pull request #258 from ernestojeda/go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T22:17:50.564Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T22:17:50.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T22:17:50.564Z] Dload Upload Total Spent Left Speed [2022-01-19T22:17:50.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 64364 0 --:--:-- --:--:-- --:--:-- 64364 [Pipeline] sh [2022-01-19T22:17:51.112Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T22:17:51.467Z] + sudo tee /etc/docker/daemon.new [2022-01-19T22:17:51.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T22:17:51.467Z] { [2022-01-19T22:17:51.467Z] "registry-mirrors": [ [2022-01-19T22:17:51.467Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T22:17:51.467Z] ], [2022-01-19T22:17:51.467Z] "bip": "10.250.0.254/24", [2022-01-19T22:17:51.467Z] "hosts": [ [2022-01-19T22:17:51.467Z] "tcp://0.0.0.0:5555", [2022-01-19T22:17:51.467Z] "unix:///var/run/docker.sock" [2022-01-19T22:17:51.467Z] ], [2022-01-19T22:17:51.467Z] "mtu": 1458, [2022-01-19T22:17:51.467Z] "selinux-enabled": true, [2022-01-19T22:17:51.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T22:17:51.467Z] } [Pipeline] sh [2022-01-19T22:17:51.833Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T22:17:52.179Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T22:18:10.517Z] provisioning config files... [2022-01-19T22:18:10.585Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/20@tmp/config4162441227782723805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:18:11.057Z] ---> docker-login.sh [2022-01-19T22:18:11.057Z] nexus3.edgexfoundry.org:10001 [2022-01-19T22:18:11.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:18:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:18:11.932Z] Configure a credential helper to remove this warning. See [2022-01-19T22:18:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:18:11.932Z] [2022-01-19T22:18:11.932Z] Login Succeeded [2022-01-19T22:18:11.932Z] nexus3.edgexfoundry.org:10002 [2022-01-19T22:18:12.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:18:12.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:18:12.203Z] Configure a credential helper to remove this warning. See [2022-01-19T22:18:12.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:18:12.203Z] [2022-01-19T22:18:12.203Z] Login Succeeded [2022-01-19T22:18:12.203Z] nexus3.edgexfoundry.org:10003 [2022-01-19T22:18:12.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:18:12.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:18:12.754Z] Configure a credential helper to remove this warning. See [2022-01-19T22:18:12.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:18:12.754Z] [2022-01-19T22:18:12.754Z] Login Succeeded [2022-01-19T22:18:12.754Z] nexus3.edgexfoundry.org:10004 [2022-01-19T22:18:13.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:18:13.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:18:13.030Z] Configure a credential helper to remove this warning. See [2022-01-19T22:18:13.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:18:13.030Z] [2022-01-19T22:18:13.030Z] Login Succeeded [2022-01-19T22:18:13.030Z] docker.io [2022-01-19T22:18:13.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:18:13.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:18:13.891Z] Configure a credential helper to remove this warning. See [2022-01-19T22:18:13.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:18:13.891Z] [2022-01-19T22:18:13.891Z] Login Succeeded [2022-01-19T22:18:13.891Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T22:18:13.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T22:18:14.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T22:18:14.337Z] ========================================================= [2022-01-19T22:18:14.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T22:18:14.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:18:14.674Z] + 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-19T22:18:14.946Z] Sending build context to Docker daemon 11.54MB [2022-01-19T22:18:14.946Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T22:18:14.946Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-19T22:18:15.219Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T22:18:15.219Z] 9b3977197b4f: Pulling fs layer [2022-01-19T22:18:15.219Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T22:18:15.219Z] 94645a83ff95: Pulling fs layer [2022-01-19T22:18:15.219Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T22:18:15.219Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T22:18:15.219Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T22:18:15.219Z] 3f3a8bcf1eab: Waiting [2022-01-19T22:18:15.219Z] 9a6b49a46696: Pulling fs layer [2022-01-19T22:18:15.219Z] 0c92f367c5e7: Waiting [2022-01-19T22:18:15.219Z] cf05db05a679: Pulling fs layer [2022-01-19T22:18:15.219Z] 9a6b49a46696: Waiting [2022-01-19T22:18:15.219Z] cf05db05a679: Waiting [2022-01-19T22:18:15.219Z] 4b8299f9d1f4: Waiting [2022-01-19T22:18:15.219Z] 94645a83ff95: Verifying Checksum [2022-01-19T22:18:15.219Z] 94645a83ff95: Download complete [2022-01-19T22:18:15.219Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T22:18:15.219Z] 1a89e8eeedd5: Download complete [2022-01-19T22:18:15.219Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T22:18:15.219Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T22:18:15.219Z] 4b8299f9d1f4: Download complete [2022-01-19T22:18:15.219Z] 9b3977197b4f: Verifying Checksum [2022-01-19T22:18:15.219Z] 9b3977197b4f: Download complete [2022-01-19T22:18:15.219Z] 9a6b49a46696: Verifying Checksum [2022-01-19T22:18:15.219Z] 9a6b49a46696: Download complete [2022-01-19T22:18:15.817Z] 9b3977197b4f: Pull complete [2022-01-19T22:18:16.418Z] 1a89e8eeedd5: Pull complete [2022-01-19T22:18:16.691Z] 94645a83ff95: Pull complete [2022-01-19T22:18:16.967Z] cf05db05a679: Verifying Checksum [2022-01-19T22:18:16.967Z] cf05db05a679: Download complete [2022-01-19T22:18:17.569Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T22:18:17.569Z] 3f3a8bcf1eab: Download complete [2022-01-19T22:18:29.954Z] 3f3a8bcf1eab: Pull complete [2022-01-19T22:18:29.954Z] 0c92f367c5e7: Pull complete [2022-01-19T22:18:29.954Z] 4b8299f9d1f4: Pull complete [2022-01-19T22:18:29.954Z] 9a6b49a46696: Pull complete [2022-01-19T22:18:35.363Z] cf05db05a679: Pull complete [2022-01-19T22:18:35.363Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T22:18:35.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T22:18:35.363Z] ---> 0ccda1f7e2ee [2022-01-19T22:18:35.363Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T22:18:36.341Z] ---> Running in 7a1f5e9c16a5 [2022-01-19T22:18:36.612Z] Removing intermediate container 7a1f5e9c16a5 [2022-01-19T22:18:36.612Z] ---> ab70d75a8072 [2022-01-19T22:18:36.612Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T22:18:36.886Z] ---> Running in 6f2e98681d10 [2022-01-19T22:18:37.159Z] Removing intermediate container 6f2e98681d10 [2022-01-19T22:18:37.159Z] ---> 8523530a0dcc [2022-01-19T22:18:37.159Z] Step 5/12 : WORKDIR /device-virtual-go [2022-01-19T22:18:37.159Z] ---> Running in e5bb620ce205 [2022-01-19T22:18:37.755Z] Removing intermediate container e5bb620ce205 [2022-01-19T22:18:37.755Z] ---> 636581c65d12 [2022-01-19T22:18:37.755Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:18:37.755Z] ---> Running in 4c461c498c99 [2022-01-19T22:18:39.720Z] Removing intermediate container 4c461c498c99 [2022-01-19T22:18:39.720Z] ---> a7e4a35a2665 [2022-01-19T22:18:39.720Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T22:18:39.720Z] ---> Running in b4a07e454ca5 [2022-01-19T22:18:40.312Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T22:18:41.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T22:18:41.877Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-19T22:18:42.148Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-19T22:18:42.148Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-19T22:18:42.421Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-19T22:18:42.421Z] Executing busybox-1.34.1-r3.trigger [2022-01-19T22:18:42.421Z] OK: 224 MiB in 56 packages [2022-01-19T22:18:43.407Z] Removing intermediate container b4a07e454ca5 [2022-01-19T22:18:43.407Z] ---> 1399e2368668 [2022-01-19T22:18:43.407Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-19T22:18:44.017Z] ---> 882946944abb [2022-01-19T22:18:44.017Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T22:18:44.017Z] ---> Running in 4a25fefac807 [2022-01-19T22:20:05.804Z] Removing intermediate container 4a25fefac807 [2022-01-19T22:20:05.804Z] ---> 034b3fe6ba40 [2022-01-19T22:20:05.804Z] Step 10/12 : COPY . . [2022-01-19T22:20:05.804Z] ---> 13055b5c2592 [2022-01-19T22:20:05.804Z] Step 11/12 : ARG MAKE='make build' [2022-01-19T22:20:05.804Z] ---> Running in 563cc118ca3a [2022-01-19T22:20:05.804Z] Removing intermediate container 563cc118ca3a [2022-01-19T22:20:05.804Z] ---> acc7ea0dbbb7 [2022-01-19T22:20:05.804Z] Step 12/12 : RUN $MAKE [2022-01-19T22:20:05.804Z] ---> Running in 7bac23c9ce59 [2022-01-19T22:20:05.804Z] noop [2022-01-19T22:20:05.804Z] Removing intermediate container 7bac23c9ce59 [2022-01-19T22:20:05.804Z] ---> 3d013168af75 [2022-01-19T22:20:05.804Z] Successfully built 3d013168af75 [2022-01-19T22:20:05.804Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:20:06.151Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T22:20:06.151Z] . [Pipeline] withDockerContainer [2022-01-19T22:20:06.353Z] prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container [2022-01-19T22:20:06.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/20 -v /w/workspace/device-virtual-go/20:/w/workspace/device-virtual-go/20:rw,z -v /w/workspace/device-virtual-go/20@tmp:/w/workspace/device-virtual-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T22:20:07.661Z] $ docker top 2d4587c7160e1f2c683013b0ebac0184ec577353b907d76593a185198cd42b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T22:20:08.521Z] + go version [2022-01-19T22:20:08.521Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T22:20:08.547Z] $ docker stop --time=1 2d4587c7160e1f2c683013b0ebac0184ec577353b907d76593a185198cd42b14 [2022-01-19T22:20:10.159Z] $ docker rm -f 2d4587c7160e1f2c683013b0ebac0184ec577353b907d76593a185198cd42b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:20:10.732Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T22:20:10.732Z] . [Pipeline] withDockerContainer [2022-01-19T22:20:10.931Z] prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container [2022-01-19T22:20:11.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/20 -v /w/workspace/device-virtual-go/20:/w/workspace/device-virtual-go/20:rw,z -v /w/workspace/device-virtual-go/20@tmp:/w/workspace/device-virtual-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T22:20:12.215Z] $ docker top 146dbeefd39cba70e32e5087d5ca03b62649af7d85248c088dbcf4163c9abbc6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T22:20:13.079Z] + make test [2022-01-19T22:20:13.079Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T22:20:14.060Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-01-19T22:21:10.637Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-01-19T22:21:12.626Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.699s coverage: 64.6% of statements [2022-01-19T22:21:12.901Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-19T22:21:35.081Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T22:21:35.081Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T22:21:35.081Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T22:21:35.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T22:21:35.122Z] $ docker stop --time=1 146dbeefd39cba70e32e5087d5ca03b62649af7d85248c088dbcf4163c9abbc6 [2022-01-19T22:21:36.833Z] $ docker rm -f 146dbeefd39cba70e32e5087d5ca03b62649af7d85248c088dbcf4163c9abbc6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T22:21:37.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T22:21:37.684Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T22:21:38.143Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T22:21:38.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T22:21:38.870Z] + ls -al . [2022-01-19T22:21:38.870Z] total 200 [2022-01-19T22:21:38.870Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 22:21 . [2022-01-19T22:21:38.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 22:17 .. [2022-01-19T22:21:38.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 22:17 .git [2022-01-19T22:21:38.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 22:17 .github [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 270 Jan 19 22:17 .gitignore [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 8449 Jan 19 22:17 Attribution.txt [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 6349 Jan 19 22:17 CHANGELOG.md [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jan 19 22:17 Dockerfile [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 22:17 GOVERNANCE.md [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 19 22:17 Jenkinsfile [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 22:17 LICENSE [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 1157 Jan 19 22:17 Makefile [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 19 22:17 OWNERS.md [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jan 19 22:17 README.md [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 22:13 VERSION [2022-01-19T22:21:38.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 22:17 bin [2022-01-19T22:21:38.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 22:17 cmd [2022-01-19T22:21:38.870Z] -rw-r--r-- 1 jenkins jenkins 46339 Jan 19 22:21 coverage.out [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 350 Jan 19 22:17 go.mod [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 52323 Jan 19 22:17 go.sum [2022-01-19T22:21:38.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 22:17 internal [2022-01-19T22:21:38.870Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 19 22:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:21:39.209Z] + 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=6e418388a8703d5229e379f4d284fa8e853be613 --label arch=arm64 --label version=2.2.0-dev.4 . [2022-01-19T22:21:39.480Z] Sending build context to Docker daemon 11.59MB [2022-01-19T22:21:39.758Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T22:21:39.758Z] Step 2/26 : FROM ${BASE} AS builder [2022-01-19T22:21:39.758Z] ---> 3d013168af75 [2022-01-19T22:21:39.758Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-19T22:21:39.758Z] ---> Running in c5030de87756 [2022-01-19T22:21:40.031Z] Removing intermediate container c5030de87756 [2022-01-19T22:21:40.031Z] ---> ea4914b6699c [2022-01-19T22:21:40.031Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-01-19T22:21:40.304Z] ---> Running in 9d5baa768c17 [2022-01-19T22:21:40.576Z] Removing intermediate container 9d5baa768c17 [2022-01-19T22:21:40.576Z] ---> 964d2247e5cc [2022-01-19T22:21:40.576Z] Step 5/26 : WORKDIR /device-virtual-go [2022-01-19T22:21:40.576Z] ---> Running in 88532648322f [2022-01-19T22:21:41.180Z] Removing intermediate container 88532648322f [2022-01-19T22:21:41.180Z] ---> 11b2c9e30de2 [2022-01-19T22:21:41.180Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:21:41.180Z] ---> Running in 02025c3fdae5 [2022-01-19T22:21:42.622Z] Removing intermediate container 02025c3fdae5 [2022-01-19T22:21:42.622Z] ---> 0b4b2e0b9923 [2022-01-19T22:21:42.622Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-19T22:21:42.897Z] ---> Running in 13eb79a34b8e [2022-01-19T22:21:43.880Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T22:21:44.858Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T22:21:45.453Z] OK: 224 MiB in 56 packages [2022-01-19T22:21:46.450Z] Removing intermediate container 13eb79a34b8e [2022-01-19T22:21:46.450Z] ---> f72fd36e5182 [2022-01-19T22:21:46.450Z] Step 8/26 : COPY go.mod vendor* ./ [2022-01-19T22:21:47.046Z] ---> 654a21853938 [2022-01-19T22:21:47.046Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T22:21:47.046Z] ---> Running in d01b304927be [2022-01-19T22:21:49.022Z] Removing intermediate container d01b304927be [2022-01-19T22:21:49.022Z] ---> afb69af6f13a [2022-01-19T22:21:49.022Z] Step 10/26 : COPY . . [2022-01-19T22:21:50.504Z] ---> 7eacc999049e [2022-01-19T22:21:50.504Z] Step 11/26 : ARG MAKE='make build' [2022-01-19T22:21:50.504Z] ---> Running in f45d6e89ed15 [2022-01-19T22:21:50.788Z] Removing intermediate container f45d6e89ed15 [2022-01-19T22:21:50.788Z] ---> 3590ddabb9cf [2022-01-19T22:21:50.788Z] Step 12/26 : RUN $MAKE [2022-01-19T22:21:50.788Z] ---> Running in 39ad73696a8d [2022-01-19T22:21:52.258Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.4" -o cmd/device-virtual ./cmd [2022-01-19T22:22:48.789Z] Removing intermediate container 39ad73696a8d [2022-01-19T22:22:48.789Z] ---> 95fcd4b6f289 [2022-01-19T22:22:48.789Z] Step 13/26 : FROM alpine:3.14 [2022-01-19T22:22:48.789Z] 3.14: Pulling from library/alpine [2022-01-19T22:22:48.789Z] be307f383ecc: Pulling fs layer [2022-01-19T22:22:48.789Z] be307f383ecc: Download complete [2022-01-19T22:22:48.789Z] be307f383ecc: Pull complete [2022-01-19T22:22:48.789Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T22:22:48.789Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T22:22:48.789Z] ---> 5b8b7b635229 [2022-01-19T22:22:48.789Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-01-19T22:22:48.789Z] ---> Running in 7433a16162a4 [2022-01-19T22:22:48.789Z] Removing intermediate container 7433a16162a4 [2022-01-19T22:22:48.789Z] ---> 70caf394fbd4 [2022-01-19T22:22:48.789Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T22:22:48.789Z] ---> Running in 712bd308f9e6 [2022-01-19T22:22:49.776Z] Removing intermediate container 712bd308f9e6 [2022-01-19T22:22:49.776Z] ---> 7f4fcbffbe98 [2022-01-19T22:22:49.776Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-19T22:22:49.776Z] ---> Running in 34e1a6ac68d3 [2022-01-19T22:22:50.755Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-19T22:22:51.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-19T22:22:52.701Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-19T22:22:52.701Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-19T22:22:52.701Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-19T22:22:52.701Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-19T22:22:52.976Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-19T22:22:52.976Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-19T22:22:52.976Z] Executing busybox-1.33.1-r6.trigger [2022-01-19T22:22:52.976Z] OK: 8 MiB in 20 packages [2022-01-19T22:22:53.950Z] Removing intermediate container 34e1a6ac68d3 [2022-01-19T22:22:53.950Z] ---> 86186aaf9926 [2022-01-19T22:22:53.950Z] Step 17/26 : WORKDIR / [2022-01-19T22:22:54.222Z] ---> Running in 43bd3001a1b1 [2022-01-19T22:22:54.493Z] Removing intermediate container 43bd3001a1b1 [2022-01-19T22:22:54.493Z] ---> 10462182934f [2022-01-19T22:22:54.493Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-01-19T22:22:55.085Z] ---> e5431137b40b [2022-01-19T22:22:55.085Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-01-19T22:22:55.678Z] ---> b27c4102ab7a [2022-01-19T22:22:55.678Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-01-19T22:22:56.656Z] ---> 20f897cd8794 [2022-01-19T22:22:56.656Z] Step 21/26 : EXPOSE 59900 [2022-01-19T22:22:56.656Z] ---> Running in 5a76ab72fe31 [2022-01-19T22:22:56.930Z] Removing intermediate container 5a76ab72fe31 [2022-01-19T22:22:56.930Z] ---> 0187d9c52b83 [2022-01-19T22:22:56.930Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-01-19T22:22:57.203Z] ---> Running in bff70c22fe7a [2022-01-19T22:22:57.476Z] Removing intermediate container bff70c22fe7a [2022-01-19T22:22:57.476Z] ---> adf9a16614eb [2022-01-19T22:22:57.476Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T22:22:57.476Z] ---> Running in ecb70a10e8b2 [2022-01-19T22:22:57.747Z] Removing intermediate container ecb70a10e8b2 [2022-01-19T22:22:57.747Z] ---> ddc5d8140be5 [2022-01-19T22:22:57.747Z] Step 24/26 : LABEL arch=arm64 [2022-01-19T22:22:58.018Z] ---> Running in 08e257231e9a [2022-01-19T22:22:58.291Z] Removing intermediate container 08e257231e9a [2022-01-19T22:22:58.291Z] ---> b03a3418cd4f [2022-01-19T22:22:58.291Z] Step 25/26 : LABEL git_sha=6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:22:58.291Z] ---> Running in cf1da5524452 [2022-01-19T22:22:58.885Z] Removing intermediate container cf1da5524452 [2022-01-19T22:22:58.885Z] ---> 93017d48e9c9 [2022-01-19T22:22:58.885Z] Step 26/26 : LABEL version=2.2.0-dev.4 [2022-01-19T22:22:58.885Z] ---> Running in 4affd2e9c556 [2022-01-19T22:22:59.155Z] Removing intermediate container 4affd2e9c556 [2022-01-19T22:22:59.155Z] ---> f9d70ba564b9 [2022-01-19T22:22:59.155Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T22:22:59.155Z] Successfully built f9d70ba564b9 [2022-01-19T22:22:59.155Z] 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-19T22:22:59.278Z] provisioning config files... [2022-01-19T22:22:59.295Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/20@tmp/config2473730128398947830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:22:59.639Z] ---> docker-login.sh [2022-01-19T22:22:59.639Z] nexus3.edgexfoundry.org:10001 [2022-01-19T22:22:59.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:22:59.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:22:59.912Z] Configure a credential helper to remove this warning. See [2022-01-19T22:22:59.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:22:59.912Z] [2022-01-19T22:22:59.912Z] Login Succeeded [2022-01-19T22:22:59.912Z] nexus3.edgexfoundry.org:10002 [2022-01-19T22:23:00.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:23:00.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:23:00.462Z] Configure a credential helper to remove this warning. See [2022-01-19T22:23:00.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:23:00.462Z] [2022-01-19T22:23:00.462Z] Login Succeeded [2022-01-19T22:23:00.462Z] nexus3.edgexfoundry.org:10003 [2022-01-19T22:23:00.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:23:01.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:23:01.009Z] Configure a credential helper to remove this warning. See [2022-01-19T22:23:01.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:23:01.009Z] [2022-01-19T22:23:01.009Z] Login Succeeded [2022-01-19T22:23:01.009Z] nexus3.edgexfoundry.org:10004 [2022-01-19T22:23:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:23:01.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:23:01.280Z] Configure a credential helper to remove this warning. See [2022-01-19T22:23:01.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:23:01.280Z] [2022-01-19T22:23:01.280Z] Login Succeeded [2022-01-19T22:23:01.280Z] docker.io [2022-01-19T22:23:01.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T22:23:02.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T22:23:02.154Z] Configure a credential helper to remove this warning. See [2022-01-19T22:23:02.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T22:23:02.154Z] [2022-01-19T22:23:02.154Z] Login Succeeded [2022-01-19T22:23:02.154Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T22:23:02.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T22:23:02.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T22:23:02.226Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-01-19T22:23:02.226Z] 6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:23:02.226Z] latest [2022-01-19T22:23:02.226Z] 2.2.0-dev.4 [2022-01-19T22:23:02.226Z] 6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:23:02.226Z] main [2022-01-19T22:23:02.226Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:02.577Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:02.913Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:23:02.914Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-19T22:23:02.914Z] 99b1d07b3a8f: Preparing [2022-01-19T22:23:02.914Z] 699f671b41b2: Preparing [2022-01-19T22:23:02.914Z] 75cc050e88d1: Preparing [2022-01-19T22:23:02.914Z] 403b46bec5ca: Preparing [2022-01-19T22:23:02.914Z] ca726e9221f5: Preparing [2022-01-19T22:23:02.914Z] 62170e181a92: Preparing [2022-01-19T22:23:02.914Z] 62170e181a92: Waiting [2022-01-19T22:23:03.186Z] 75cc050e88d1: Pushed [2022-01-19T22:23:03.186Z] ca726e9221f5: Pushed [2022-01-19T22:23:03.186Z] 699f671b41b2: Pushed [2022-01-19T22:23:03.186Z] 62170e181a92: Layer already exists [2022-01-19T22:23:03.781Z] 403b46bec5ca: Pushed [2022-01-19T22:23:06.384Z] 99b1d07b3a8f: Pushed [2022-01-19T22:23:06.656Z] 6e418388a8703d5229e379f4d284fa8e853be613: digest: sha256:768e89180198bc85bb43ece022df6026d5fc98adc9180923029a673f21904da6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:06.998Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:07.334Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-01-19T22:23:07.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-19T22:23:07.335Z] 99b1d07b3a8f: Preparing [2022-01-19T22:23:07.335Z] 699f671b41b2: Preparing [2022-01-19T22:23:07.335Z] 75cc050e88d1: Preparing [2022-01-19T22:23:07.335Z] 403b46bec5ca: Preparing [2022-01-19T22:23:07.335Z] ca726e9221f5: Preparing [2022-01-19T22:23:07.335Z] 62170e181a92: Preparing [2022-01-19T22:23:07.335Z] 62170e181a92: Waiting [2022-01-19T22:23:07.335Z] ca726e9221f5: Layer already exists [2022-01-19T22:23:07.335Z] 75cc050e88d1: Layer already exists [2022-01-19T22:23:07.335Z] 99b1d07b3a8f: Layer already exists [2022-01-19T22:23:07.335Z] 403b46bec5ca: Layer already exists [2022-01-19T22:23:07.335Z] 699f671b41b2: Layer already exists [2022-01-19T22:23:07.335Z] 62170e181a92: Layer already exists [2022-01-19T22:23:07.605Z] latest: digest: sha256:768e89180198bc85bb43ece022df6026d5fc98adc9180923029a673f21904da6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:08.198Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:08.535Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.4 [2022-01-19T22:23:08.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-19T22:23:08.535Z] 99b1d07b3a8f: Preparing [2022-01-19T22:23:08.535Z] 699f671b41b2: Preparing [2022-01-19T22:23:08.535Z] 75cc050e88d1: Preparing [2022-01-19T22:23:08.535Z] 403b46bec5ca: Preparing [2022-01-19T22:23:08.535Z] ca726e9221f5: Preparing [2022-01-19T22:23:08.535Z] 62170e181a92: Preparing [2022-01-19T22:23:08.535Z] 62170e181a92: Waiting [2022-01-19T22:23:08.535Z] 699f671b41b2: Layer already exists [2022-01-19T22:23:08.535Z] 99b1d07b3a8f: Layer already exists [2022-01-19T22:23:08.535Z] ca726e9221f5: Layer already exists [2022-01-19T22:23:08.535Z] 403b46bec5ca: Layer already exists [2022-01-19T22:23:08.535Z] 75cc050e88d1: Layer already exists [2022-01-19T22:23:08.535Z] 62170e181a92: Layer already exists [2022-01-19T22:23:08.806Z] 2.2.0-dev.4: digest: sha256:768e89180198bc85bb43ece022df6026d5fc98adc9180923029a673f21904da6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:09.148Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:09.485Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:23:09.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-19T22:23:09.485Z] 99b1d07b3a8f: Preparing [2022-01-19T22:23:09.485Z] 699f671b41b2: Preparing [2022-01-19T22:23:09.485Z] 75cc050e88d1: Preparing [2022-01-19T22:23:09.485Z] 403b46bec5ca: Preparing [2022-01-19T22:23:09.485Z] ca726e9221f5: Preparing [2022-01-19T22:23:09.485Z] 62170e181a92: Preparing [2022-01-19T22:23:09.485Z] 62170e181a92: Waiting [2022-01-19T22:23:09.485Z] 403b46bec5ca: Layer already exists [2022-01-19T22:23:09.485Z] 699f671b41b2: Layer already exists [2022-01-19T22:23:09.485Z] ca726e9221f5: Layer already exists [2022-01-19T22:23:09.485Z] 99b1d07b3a8f: Layer already exists [2022-01-19T22:23:09.485Z] 75cc050e88d1: Layer already exists [2022-01-19T22:23:09.485Z] 62170e181a92: Layer already exists [2022-01-19T22:23:09.754Z] 6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4: digest: sha256:768e89180198bc85bb43ece022df6026d5fc98adc9180923029a673f21904da6 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:10.097Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:10.431Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-01-19T22:23:10.431Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-01-19T22:23:10.431Z] 99b1d07b3a8f: Preparing [2022-01-19T22:23:10.431Z] 699f671b41b2: Preparing [2022-01-19T22:23:10.431Z] 75cc050e88d1: Preparing [2022-01-19T22:23:10.431Z] 403b46bec5ca: Preparing [2022-01-19T22:23:10.431Z] ca726e9221f5: Preparing [2022-01-19T22:23:10.431Z] 62170e181a92: Preparing [2022-01-19T22:23:10.431Z] 62170e181a92: Waiting [2022-01-19T22:23:10.431Z] 699f671b41b2: Layer already exists [2022-01-19T22:23:10.431Z] 99b1d07b3a8f: Layer already exists [2022-01-19T22:23:10.431Z] 403b46bec5ca: Layer already exists [2022-01-19T22:23:10.431Z] ca726e9221f5: Layer already exists [2022-01-19T22:23:10.431Z] 75cc050e88d1: Layer already exists [2022-01-19T22:23:10.431Z] 62170e181a92: Layer already exists [2022-01-19T22:23:10.704Z] main: digest: sha256:768e89180198bc85bb43ece022df6026d5fc98adc9180923029a673f21904da6 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-19T22:23:10.757Z] ===================================================== [Pipeline] echo [2022-01-19T22:23:10.766Z] taggedImages: [2022-01-19T22:23:10.766Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613 [2022-01-19T22:23:10.766Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-01-19T22:23:10.766Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.4 [2022-01-19T22:23:10.766Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6e418388a8703d5229e379f4d284fa8e853be613-2.2.0-dev.4 [2022-01-19T22:23:10.766Z] - 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-19T22:23:11.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T22:23:11.132Z] [2022-01-19T22:23:11.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:11.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T22:23:11.476Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T22:23:11.476Z] 448f6bf000e3: Pulling fs layer [2022-01-19T22:23:11.476Z] f757da607395: Pulling fs layer [2022-01-19T22:23:11.476Z] 05883995daec: Pulling fs layer [2022-01-19T22:23:11.476Z] 8603b9c90790: Pulling fs layer [2022-01-19T22:23:11.476Z] 1560dd03e051: Pulling fs layer [2022-01-19T22:23:11.476Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T22:23:11.476Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T22:23:11.476Z] 8603b9c90790: Waiting [2022-01-19T22:23:11.476Z] 1560dd03e051: Waiting [2022-01-19T22:23:11.476Z] 27f5ce0e4adf: Waiting [2022-01-19T22:23:11.476Z] c2d8d7efcc4b: Waiting [2022-01-19T22:23:11.751Z] f757da607395: Verifying Checksum [2022-01-19T22:23:11.752Z] f757da607395: Download complete [2022-01-19T22:23:11.752Z] 8603b9c90790: Verifying Checksum [2022-01-19T22:23:11.752Z] 8603b9c90790: Download complete [2022-01-19T22:23:11.752Z] 1560dd03e051: Verifying Checksum [2022-01-19T22:23:11.752Z] 1560dd03e051: Download complete [2022-01-19T22:23:11.752Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T22:23:11.752Z] 27f5ce0e4adf: Download complete [2022-01-19T22:23:11.752Z] 05883995daec: Verifying Checksum [2022-01-19T22:23:11.752Z] 05883995daec: Download complete [2022-01-19T22:23:12.345Z] 448f6bf000e3: Download complete [2022-01-19T22:23:15.044Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T22:23:15.044Z] c2d8d7efcc4b: Download complete [2022-01-19T22:23:16.497Z] 448f6bf000e3: Pull complete [2022-01-19T22:23:17.103Z] f757da607395: Pull complete [2022-01-19T22:23:18.541Z] 05883995daec: Pull complete [2022-01-19T22:23:18.541Z] 8603b9c90790: Pull complete [2022-01-19T22:23:19.539Z] 1560dd03e051: Pull complete [2022-01-19T22:23:19.810Z] 27f5ce0e4adf: Pull complete [2022-01-19T22:23:34.877Z] c2d8d7efcc4b: Pull complete [2022-01-19T22:23:34.877Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T22:23:34.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T22:23:34.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T22:23:35.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container [2022-01-19T22:23:35.157Z] $ 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/20 -v /w/workspace/device-virtual-go/20:/w/workspace/device-virtual-go/20:rw,z -v /w/workspace/device-virtual-go/20@tmp:/w/workspace/device-virtual-go/20@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:arm64 cat [2022-01-19T22:23:37.737Z] $ docker top 13f3f8604e8b8198c5480c20b2a0990b305999b76b94ad0a1ffd5266012ea0d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:23:38.600Z] ---> job-cost.sh [2022-01-19T22:23:38.601Z] lf-activate-venv: SKIPPING [2022-01-19T22:23:38.601Z] INFO: No Stack... [2022-01-19T22:23:38.871Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T22:23:39.142Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T22:23:40.071Z] + cat /w/workspace/device-virtual-go/20/archives/cost.csv [2022-01-19T22:23:40.071Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T22:23:40.137Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [2022-01-19T22:23:40.144Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] did not exist. Created. [2022-01-19T22:23:40.144Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T22:23:40.812Z] /w/workspace/device-virtual-go/20@tmp/durable-551f839b/script.sh: 1: /w/workspace/device-virtual-go/20@tmp/durable-551f839b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T22:23:41.485Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T22:23:41.513Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T22:23:41.550Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T22:23:41.557Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T22:23:41.584Z] $ docker stop --time=1 13f3f8604e8b8198c5480c20b2a0990b305999b76b94ad0a1ffd5266012ea0d7 [2022-01-19T22:23:43.079Z] $ docker rm -f 13f3f8604e8b8198c5480c20b2a0990b305999b76b94ad0a1ffd5266012ea0d7 [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-19T22:23:43.516Z] provisioning config files... [2022-01-19T22:23:43.525Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5232604608934878230tmp [Pipeline] { [Pipeline] sh [2022-01-19T22:23:43.827Z] + set +x [2022-01-19T22:23:43.827Z] + curl -s https://codecov.io/bash [2022-01-19T22:23:43.827Z] + bash -s -- [2022-01-19T22:23:43.827Z] [2022-01-19T22:23:43.827Z] _____ _ [2022-01-19T22:23:43.827Z] / ____| | | [2022-01-19T22:23:43.827Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T22:23:43.827Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T22:23:43.827Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T22:23:43.827Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T22:23:43.827Z] Bash-1.0.6 [2022-01-19T22:23:43.827Z] [2022-01-19T22:23:43.827Z] [2022-01-19T22:23:43.827Z] ==> git version 2.24.4 found [2022-01-19T22:23:43.827Z] ==> 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-19T22:23:43.827Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T22:23:43.827Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T22:23:43.827Z] ==> Jenkins CI detected. [2022-01-19T22:23:43.827Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:23:43.827Z] project root: . [2022-01-19T22:23:43.827Z] --> token set from env [2022-01-19T22:23:43.827Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T22:23:44.089Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T22:23:44.090Z] ==> Python coveragepy not found [2022-01-19T22:23:44.090Z] ==> Searching for coverage reports in: [2022-01-19T22:23:44.090Z] + . [2022-01-19T22:23:44.090Z] -> Found 1 reports [2022-01-19T22:23:44.090Z] ==> Detecting git/mercurial file structure [2022-01-19T22:23:44.090Z] ==> Reading reports [2022-01-19T22:23:44.090Z] + ./coverage.out bytes=46339 [2022-01-19T22:23:44.090Z] ==> Appending adjustments [2022-01-19T22:23:44.090Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T22:23:44.090Z] + Found adjustments [2022-01-19T22:23:44.090Z] ==> Gzipping contents [2022-01-19T22:23:44.090Z] 8.0K /tmp/codecov.MB4Pf5.gz [2022-01-19T22:23:44.090Z] ==> Uploading reports [2022-01-19T22:23:44.090Z] url: https://codecov.io [2022-01-19T22:23:44.090Z] query: branch=main&commit=6e418388a8703d5229e379f4d284fa8e853be613&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T22:23:44.090Z] -> Pinging Codecov [2022-01-19T22:23:44.090Z] 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=6e418388a8703d5229e379f4d284fa8e853be613&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-19T22:23:44.349Z] -> Uploading to [2022-01-19T22:23:44.350Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-19/5E52B4B073DB2E39498172D8E973AA87/6e418388a8703d5229e379f4d284fa8e853be613/8fff919d-198e-4094-bc7d-294751004f00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T222344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3fc39af281e82c4860be33823de2334a3ab391cff2586b15640237d107e12e2b [2022-01-19T22:23:44.350Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T22:23:44.350Z] Dload Upload Total Spent Left Speed [2022-01-19T22:23:44.609Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5483 0 0 100 5483 0 17994 --:--:-- --:--:-- --:--:-- 17977 100 5483 0 0 100 5483 0 17986 --:--:-- --:--:-- --:--:-- 17977 [2022-01-19T22:23:44.609Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] } [2022-01-19T22:23:44.618Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-19T22:23:44.767Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-19T22:23:44.778Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:45.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T22:23:45.068Z] [2022-01-19T22:23:45.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:23:45.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T22:23:45.389Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-19T22:23:45.389Z] 188c0c94c7c5: Pulling fs layer [2022-01-19T22:23:45.389Z] 0ef7d3d256c8: Pulling fs layer [2022-01-19T22:23:45.389Z] de9db76c5a1d: Pulling fs layer [2022-01-19T22:23:45.389Z] 0eba1c9be4d2: Pulling fs layer [2022-01-19T22:23:45.389Z] 0d57e429df01: Pulling fs layer [2022-01-19T22:23:45.389Z] 4e4be7b47b0d: Pulling fs layer [2022-01-19T22:23:45.389Z] e1f770b5df2f: Pulling fs layer [2022-01-19T22:23:45.389Z] 85a0685a4137: Pulling fs layer [2022-01-19T22:23:45.389Z] 0d57e429df01: Waiting [2022-01-19T22:23:45.389Z] 4e4be7b47b0d: Waiting [2022-01-19T22:23:45.389Z] e1f770b5df2f: Waiting [2022-01-19T22:23:45.389Z] 85a0685a4137: Waiting [2022-01-19T22:23:45.389Z] 0eba1c9be4d2: Waiting [2022-01-19T22:23:45.389Z] de9db76c5a1d: Verifying Checksum [2022-01-19T22:23:45.389Z] de9db76c5a1d: Download complete [2022-01-19T22:23:45.389Z] 0ef7d3d256c8: Verifying Checksum [2022-01-19T22:23:45.389Z] 0ef7d3d256c8: Download complete [2022-01-19T22:23:45.389Z] 0d57e429df01: Verifying Checksum [2022-01-19T22:23:45.389Z] 0d57e429df01: Download complete [2022-01-19T22:23:45.389Z] 4e4be7b47b0d: Verifying Checksum [2022-01-19T22:23:45.389Z] 4e4be7b47b0d: Download complete [2022-01-19T22:23:45.389Z] 188c0c94c7c5: Verifying Checksum [2022-01-19T22:23:45.389Z] 188c0c94c7c5: Download complete [2022-01-19T22:23:45.658Z] e1f770b5df2f: Verifying Checksum [2022-01-19T22:23:45.658Z] e1f770b5df2f: Download complete [2022-01-19T22:23:45.658Z] 188c0c94c7c5: Pull complete [2022-01-19T22:23:46.260Z] 0eba1c9be4d2: Verifying Checksum [2022-01-19T22:23:46.261Z] 0eba1c9be4d2: Download complete [2022-01-19T22:23:46.261Z] 0ef7d3d256c8: Pull complete [2022-01-19T22:23:46.261Z] de9db76c5a1d: Pull complete [2022-01-19T22:23:46.261Z] 85a0685a4137: Verifying Checksum [2022-01-19T22:23:46.261Z] 85a0685a4137: Download complete [2022-01-19T22:23:50.540Z] 0eba1c9be4d2: Pull complete [2022-01-19T22:23:50.540Z] 0d57e429df01: Pull complete [2022-01-19T22:23:50.540Z] 4e4be7b47b0d: Pull complete [2022-01-19T22:23:50.540Z] e1f770b5df2f: Pull complete [2022-01-19T22:23:55.853Z] 85a0685a4137: Pull complete [2022-01-19T22:23:55.853Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-19T22:23:55.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-19T22:23:55.853Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-19T22:23:55.924Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:23:55.962Z] $ 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-19T22:23:56.846Z] $ docker top d917969f82f4bf19e205efad76c37eace78d039a7bc34ab0148b795967641a8f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-19T22:23:56.945Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-19T22:23:57.233Z] + set -o pipefail [2022-01-19T22:23:57.233Z] + snyk monitor '--org=edgex-jenkins' [2022-01-19T22:24:02.556Z] [2022-01-19T22:24:02.556Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-01-19T22:24:02.556Z] [2022-01-19T22:24:02.556Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/3bcefbf8-1e9a-408e-8984-e3f68c2c4a08 [2022-01-19T22:24:02.556Z] [2022-01-19T22:24:02.556Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-19T22:24:02.556Z] [2022-01-19T22:24:02.556Z] [Pipeline] } [2022-01-19T22:24:02.568Z] $ docker stop --time=1 d917969f82f4bf19e205efad76c37eace78d039a7bc34ab0148b795967641a8f [2022-01-19T22:24:04.447Z] $ docker rm -f d917969f82f4bf19e205efad76c37eace78d039a7bc34ab0148b795967641a8f [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-19T22:24:05.220Z] + git log --format=format:%s -1 6e418388a8703d5229e379f4d284fa8e853be613 [Pipeline] sh [2022-01-19T22:24:05.517Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T22:24:05.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:05.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:24:05.818Z] . [Pipeline] withDockerContainer [2022-01-19T22:24:05.896Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:24:05.930Z] $ 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-19T22:24:06.363Z] $ docker top d7ad3ba069869fecc016afafa7ea10a3643f8164d0f9a7852b27907129ba3074 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T22:24:06.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T22:24:06.474Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T22:24:06.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T22:24:06.588Z] $ docker exec d7ad3ba069869fecc016afafa7ea10a3643f8164d0f9a7852b27907129ba3074 ssh-agent [2022-01-19T22:24:06.698Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMboGJ/agent.13 [2022-01-19T22:24:06.698Z] SSH_AGENT_PID=19 [2022-01-19T22:24:06.705Z] Running ssh-add (command line suppressed) [2022-01-19T22:24:06.802Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2092875450678948533.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2092875450678948533.key) [2022-01-19T22:24:06.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T22:24:07.130Z] + git semver tag [2022-01-19T22:24:07.130Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T22:24:07.130Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-19T22:24:07.130Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:24:07.130Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T22:24:07.130Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T22:24:07.130Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T22:24:07.130Z] # $SEMVER_BRANCH = main [2022-01-19T22:24:07.130Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-01-19T22:24:07.130Z] # 6e418388a8703d5229e379f4d284fa8e853be613 HEAD [2022-01-19T22:24:07.130Z] # -> Force: false [2022-01-19T22:24:07.130Z] # 06a0e1584e2649c97e2ef4c8abbb1d1777a79d35 refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-01-19T22:24:07.144Z] $ docker exec --env ******** --env ******** d7ad3ba069869fecc016afafa7ea10a3643f8164d0f9a7852b27907129ba3074 ssh-agent -k [2022-01-19T22:24:07.234Z] unset SSH_AUTH_SOCK; [2022-01-19T22:24:07.234Z] unset SSH_AGENT_PID; [2022-01-19T22:24:07.234Z] echo Agent pid 19 killed; [2022-01-19T22:24:07.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T22:24:07.568Z] + git semver [Pipeline] } [2022-01-19T22:24:07.584Z] $ docker stop --time=1 d7ad3ba069869fecc016afafa7ea10a3643f8164d0f9a7852b27907129ba3074 [2022-01-19T22:24:08.780Z] $ docker rm -f d7ad3ba069869fecc016afafa7ea10a3643f8164d0f9a7852b27907129ba3074 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:09.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T22:24:09.192Z] [2022-01-19T22:24:09.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:09.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T22:24:09.510Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-19T22:24:09.510Z] ab5ef0e58194: Pulling fs layer [2022-01-19T22:24:09.510Z] 9712f1f96733: Pulling fs layer [2022-01-19T22:24:09.510Z] 63f879dbbcfc: Pulling fs layer [2022-01-19T22:24:09.510Z] 0d9ebad4ef96: Pulling fs layer [2022-01-19T22:24:09.510Z] e9a5061849ea: Pulling fs layer [2022-01-19T22:24:09.510Z] d747dcd14b5f: Pulling fs layer [2022-01-19T22:24:09.510Z] 2de7ff778b66: Pulling fs layer [2022-01-19T22:24:09.510Z] 0d9ebad4ef96: Waiting [2022-01-19T22:24:09.510Z] e9a5061849ea: Waiting [2022-01-19T22:24:09.510Z] d747dcd14b5f: Waiting [2022-01-19T22:24:09.510Z] 2de7ff778b66: Waiting [2022-01-19T22:24:09.510Z] 9712f1f96733: Verifying Checksum [2022-01-19T22:24:09.510Z] 9712f1f96733: Download complete [2022-01-19T22:24:09.792Z] 63f879dbbcfc: Verifying Checksum [2022-01-19T22:24:09.792Z] 63f879dbbcfc: Download complete [2022-01-19T22:24:10.065Z] 0d9ebad4ef96: Verifying Checksum [2022-01-19T22:24:10.065Z] 0d9ebad4ef96: Download complete [2022-01-19T22:24:10.065Z] d747dcd14b5f: Verifying Checksum [2022-01-19T22:24:10.065Z] d747dcd14b5f: Download complete [2022-01-19T22:24:10.065Z] ab5ef0e58194: Verifying Checksum [2022-01-19T22:24:10.065Z] ab5ef0e58194: Download complete [2022-01-19T22:24:10.065Z] e9a5061849ea: Verifying Checksum [2022-01-19T22:24:10.065Z] e9a5061849ea: Download complete [2022-01-19T22:24:10.065Z] 2de7ff778b66: Verifying Checksum [2022-01-19T22:24:10.065Z] 2de7ff778b66: Download complete [2022-01-19T22:24:13.411Z] ab5ef0e58194: Pull complete [2022-01-19T22:24:13.411Z] 9712f1f96733: Pull complete [2022-01-19T22:24:13.999Z] 63f879dbbcfc: Pull complete [2022-01-19T22:24:19.324Z] 0d9ebad4ef96: Pull complete [2022-01-19T22:24:19.324Z] e9a5061849ea: Pull complete [2022-01-19T22:24:19.324Z] d747dcd14b5f: Pull complete [2022-01-19T22:24:20.732Z] 2de7ff778b66: Pull complete [2022-01-19T22:24:20.732Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-19T22:24:20.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-19T22:24:20.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-19T22:24:20.803Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:24:20.835Z] $ 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-19T22:24:24.009Z] $ docker top 947fe1632e9b5055e5c7b01c82b53984e7ec9cbad5f48c861b960441105014c6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-19T22:24:24.095Z] provisioning config files... [2022-01-19T22:24:24.104Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1836049257993282441tmp [2022-01-19T22:24:24.116Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8542745737768211758tmp [2022-01-19T22:24:24.126Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2487602768168136821tmp [Pipeline] { [Pipeline] echo [2022-01-19T22:24:24.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:24.434Z] ---> sigul-configuration.sh [2022-01-19T22:24:24.434Z] gpg: directory `/root/.gnupg' created [2022-01-19T22:24:24.434Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-19T22:24:24.434Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-19T22:24:24.434Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-19T22:24:24.434Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-19T22:24:24.434Z] gpg: CAST5 encrypted data [2022-01-19T22:24:24.434Z] gpg: encrypted with 1 passphrase [2022-01-19T22:24:24.434Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-19T22:24:24.726Z] + mkdir /home/jenkins [2022-01-19T22:24:24.726Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-19T22:24:25.029Z] + 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-19T22:24:25.039Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:25.330Z] ---> sigul-install.sh [2022-01-19T22:24:25.330Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-19T22:24:25.625Z] + git tag --list [2022-01-19T22:24:25.625Z] v1.0.0 [2022-01-19T22:24:25.625Z] v1.1.0 [2022-01-19T22:24:25.625Z] v1.1.1 [2022-01-19T22:24:25.625Z] v1.2.1 [2022-01-19T22:24:25.625Z] v1.2.2 [2022-01-19T22:24:25.625Z] v1.2.3 [2022-01-19T22:24:25.625Z] v1.3.0 [2022-01-19T22:24:25.625Z] v1.3.1 [2022-01-19T22:24:25.625Z] v2.0.0 [2022-01-19T22:24:25.625Z] v2.0.1-dev.1 [2022-01-19T22:24:25.625Z] v2.0.1-dev.10 [2022-01-19T22:24:25.625Z] v2.0.1-dev.11 [2022-01-19T22:24:25.625Z] v2.0.1-dev.12 [2022-01-19T22:24:25.625Z] v2.0.1-dev.13 [2022-01-19T22:24:25.625Z] v2.0.1-dev.14 [2022-01-19T22:24:25.625Z] v2.0.1-dev.15 [2022-01-19T22:24:25.625Z] v2.0.1-dev.2 [2022-01-19T22:24:25.625Z] v2.0.1-dev.3 [2022-01-19T22:24:25.625Z] v2.0.1-dev.4 [2022-01-19T22:24:25.625Z] v2.0.1-dev.5 [2022-01-19T22:24:25.625Z] v2.0.1-dev.6 [2022-01-19T22:24:25.625Z] v2.0.1-dev.7 [2022-01-19T22:24:25.625Z] v2.0.1-dev.8 [2022-01-19T22:24:25.625Z] v2.0.1-dev.9 [2022-01-19T22:24:25.625Z] v2.1.0 [2022-01-19T22:24:25.625Z] v2.2.0-dev.1 [2022-01-19T22:24:25.625Z] v2.2.0-dev.2 [2022-01-19T22:24:25.625Z] v2.2.0-dev.3 [2022-01-19T22:24:25.625Z] v2.2.0-dev.4 [Pipeline] sh [2022-01-19T22:24:25.919Z] + lftools sign git-tag v2.2.0-dev.4 [2022-01-19T22:24:26.488Z] Signing Git tag with Sigul... [2022-01-19T22:24:26.488Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-01-19T22:24:27.071Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:27.354Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-19T22:24:27.363Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-19T22:24:27.380Z] $ docker stop --time=1 947fe1632e9b5055e5c7b01c82b53984e7ec9cbad5f48c861b960441105014c6 [2022-01-19T22:24:28.586Z] $ docker rm -f 947fe1632e9b5055e5c7b01c82b53984e7ec9cbad5f48c861b960441105014c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-19T22:24:29.014Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T22:24:29.014Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:29.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:24:29.309Z] . [Pipeline] withDockerContainer [2022-01-19T22:24:29.374Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:24:29.406Z] $ 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-19T22:24:29.814Z] $ docker top 1e080e5b6d8259fff57ad936103bed6edcb89d15459745f8415b27be81025ec5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T22:24:29.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T22:24:29.923Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T22:24:30.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T22:24:30.029Z] $ docker exec 1e080e5b6d8259fff57ad936103bed6edcb89d15459745f8415b27be81025ec5 ssh-agent [2022-01-19T22:24:30.135Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNNCCmP/agent.15 [2022-01-19T22:24:30.135Z] SSH_AGENT_PID=21 [2022-01-19T22:24:30.140Z] Running ssh-add (command line suppressed) [2022-01-19T22:24:30.232Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_969455887642847328.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_969455887642847328.key) [2022-01-19T22:24:30.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T22:24:30.544Z] + git semver bump pre [2022-01-19T22:24:30.544Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T22:24:30.544Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-19T22:24:30.544Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:24:30.544Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T22:24:30.544Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T22:24:30.544Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T22:24:30.544Z] # $SEMVER_BRANCH = main [2022-01-19T22:24:30.544Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-01-19T22:24:30.544Z] 2.2.0-dev.5 [Pipeline] } [2022-01-19T22:24:30.555Z] $ docker exec --env ******** --env ******** 1e080e5b6d8259fff57ad936103bed6edcb89d15459745f8415b27be81025ec5 ssh-agent -k [2022-01-19T22:24:30.648Z] unset SSH_AUTH_SOCK; [2022-01-19T22:24:30.649Z] unset SSH_AGENT_PID; [2022-01-19T22:24:30.649Z] echo Agent pid 21 killed; [2022-01-19T22:24:30.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T22:24:30.966Z] + git semver [Pipeline] } [2022-01-19T22:24:30.981Z] $ docker stop --time=1 1e080e5b6d8259fff57ad936103bed6edcb89d15459745f8415b27be81025ec5 [2022-01-19T22:24:32.182Z] $ docker rm -f 1e080e5b6d8259fff57ad936103bed6edcb89d15459745f8415b27be81025ec5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T22:24:32.536Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T22:24:32.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:32.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T22:24:32.831Z] . [Pipeline] withDockerContainer [2022-01-19T22:24:32.898Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:24:32.930Z] $ 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-19T22:24:33.288Z] $ docker top b56b15ce753f9b82fd9f1a8e4edb53ac7da7808b06ba46783b1312f60a4521de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T22:24:33.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T22:24:33.382Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T22:24:33.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T22:24:33.493Z] $ docker exec b56b15ce753f9b82fd9f1a8e4edb53ac7da7808b06ba46783b1312f60a4521de ssh-agent [2022-01-19T22:24:33.611Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgedmpo/agent.13 [2022-01-19T22:24:33.611Z] SSH_AGENT_PID=19 [2022-01-19T22:24:33.616Z] Running ssh-add (command line suppressed) [2022-01-19T22:24:33.708Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3911402263994246190.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3911402263994246190.key) [2022-01-19T22:24:33.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T22:24:34.009Z] + git semver push [2022-01-19T22:24:34.009Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T22:24:34.009Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-01-19T22:24:34.009Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:24:34.009Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T22:24:34.009Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T22:24:34.009Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T22:24:34.009Z] # $SEMVER_BRANCH = main [2022-01-19T22:24:34.009Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-01-19T22:24:35.935Z] $ docker exec --env ******** --env ******** b56b15ce753f9b82fd9f1a8e4edb53ac7da7808b06ba46783b1312f60a4521de ssh-agent -k [2022-01-19T22:24:36.033Z] unset SSH_AUTH_SOCK; [2022-01-19T22:24:36.034Z] unset SSH_AGENT_PID; [2022-01-19T22:24:36.034Z] echo Agent pid 19 killed; [2022-01-19T22:24:36.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T22:24:36.358Z] + git semver [Pipeline] } [2022-01-19T22:24:36.371Z] $ docker stop --time=1 b56b15ce753f9b82fd9f1a8e4edb53ac7da7808b06ba46783b1312f60a4521de [2022-01-19T22:24:37.552Z] $ docker rm -f b56b15ce753f9b82fd9f1a8e4edb53ac7da7808b06ba46783b1312f60a4521de [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-19T22:24:38.115Z] + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [2022-01-19T22:24:38.115Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-19T22:24:38.115Z] total 8 [2022-01-19T22:24:38.115Z] drwxr-xr-x. 3 root root 34 Jan 19 22:16 . [2022-01-19T22:24:38.115Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 22:24 .. [2022-01-19T22:24:38.115Z] drwxr-xr-x. 2 root root 6 Jan 19 22:16 cost [2022-01-19T22:24:38.115Z] -rw-r--r--. 1 root root 87 Jan 19 22:16 cost.csv [2022-01-19T22:24:38.115Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-19T22:24:38.115Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-01-19T22:24:38.115Z] total 8 [2022-01-19T22:24:38.115Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 22:16 . [2022-01-19T22:24:38.115Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 22:24 .. [2022-01-19T22:24:38.115Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 22:16 cost [2022-01-19T22:24:38.115Z] -rw-r--r--. 1 jenkins jenkins 87 Jan 19 22:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:38.408Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:38.961Z] ---> package-listing.sh [2022-01-19T22:24:38.961Z] ++ facter osfamily [2022-01-19T22:24:38.961Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T22:24:39.222Z] + OS_FAMILY=redhat [2022-01-19T22:24:39.222Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-01-19T22:24:39.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T22:24:39.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T22:24:39.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T22:24:39.222Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T22:24:39.222Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-01-19T22:24:39.222Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T22:24:39.222Z] + case "${OS_FAMILY}" in [2022-01-19T22:24:39.222Z] + rpm -qa [2022-01-19T22:24:39.222Z] + sort [2022-01-19T22:24:39.799Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T22:24:39.799Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T22:24:39.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T22:24:39.799Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-01-19T22:24:39.799Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-01-19T22:24:39.799Z] + 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-19T22:24:39.816Z] 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-19T22:24:40.096Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T22:24:40.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T22:24:40.657Z] . [Pipeline] withDockerContainer [2022-01-19T22:24:40.737Z] prd-centos7-docker-4c-2g-2111 does not seem to be running inside a container [2022-01-19T22:24:40.771Z] $ 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-19T22:24:40.982Z] $ docker top 9f13b630afaa5dbf062752c7bd80358f6a3f4de2e7616bb5d7f8e73545463ce3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T22:24:41.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T22:24:41.638Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T22:24:41.931Z] + ls /var/log/sa-host [2022-01-19T22:24:41.931Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T22:24:41.931Z] file_magic: OK [2022-01-19T22:24:41.931Z] HZ: Using current value: 100 [2022-01-19T22:24:41.931Z] file_header: OK [2022-01-19T22:24:41.931Z] 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-19T22:24:41.931Z] Statistics: [2022-01-19T22:24:41.931Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T22:24:41.931Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T22:24:41.931Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T22:24:41.931Z] file_magic: OK [2022-01-19T22:24:41.931Z] HZ: Using current value: 100 [2022-01-19T22:24:41.931Z] file_header: OK [2022-01-19T22:24:41.931Z] 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-19T22:24:41.931Z] Statistics: [2022-01-19T22:24:41.931Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T22:24:41.931Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T22:24:42.021Z] provisioning config files... [2022-01-19T22:24:42.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6063437239172359165tmp [Pipeline] { [Pipeline] echo [2022-01-19T22:24:42.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:42.345Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T22:24:42.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:42.686Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T22:24:42.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:42.988Z] ---> sudo-logs.sh [2022-01-19T22:24:42.989Z] Archiving 'sudo' log.. [2022-01-19T22:24:42.989Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2111.novalocal: Name or service not known [2022-01-19T22:24:42.989Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2111.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T22:24:43.014Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:43.327Z] ---> job-cost.sh [2022-01-19T22:24:43.327Z] lf-activate-venv: SKIPPING [2022-01-19T22:24:43.327Z] DEBUG: total: 0.05999999865889549 [2022-01-19T22:24:43.327Z] INFO: Retrieving Stack Cost... [2022-01-19T22:24:43.898Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T22:24:44.158Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T22:24:44.174Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T22:24:44.460Z] ---> logs-deploy.sh [2022-01-19T22:24:44.460Z] lf-activate-venv: SKIPPING [2022-01-19T22:24:44.461Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/20 [2022-01-19T22:24:44.461Z] INFO: archiving workspace using pattern(s): [2022-01-19T22:24:45.030Z] Archives upload complete. [2022-01-19T22:24:45.296Z] INFO: archiving logs to Nexus