Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d36d4eb5d49c50cebb55fcc728bec397aa4f388e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17166129382186604408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17554813631455543062.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5634647491125351171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15823416123168623476.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh829784246142690891.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-2262’ is offline ‘prd-centos7-docker-4c-2g-2263’ is offline ‘prd-centos7-docker-4c-2g-2265’ is offline ‘prd-centos7-docker-4c-2g-2276’ is offline ‘prd-centos7-docker-4c-2g-2277’ is offline ‘prd-centos7-docker-4c-2g-2278’ is offline ‘prd-centos7-docker-4c-2g-2468’ is offline ‘prd-centos7-docker-4c-2g-2600’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-2267’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2269’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2274’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2471’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2472’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2478’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2480’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2829 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_device-virtual-go_main@tmp/jenkins-gitclient-ssh4676647212496608540.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d36d4eb5d49c50cebb55fcc728bec397aa4f388e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 Commit message: "Merge pull request #259 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:23:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:23:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:23:50 ========================================================= 18:23:50 EdgeX Global Pipelines Version Info 18:23:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:23:51 ------------------- 18:23:51 stable info: 18:23:51 ------------------- 18:23:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:23:51 Message: update stable to v1.0.219 18:23:51 ------------------- 18:23:51 experimental info: 18:23:51 ------------------- 18:23:51 Commited By: **** collab-it+edgex@linuxfoundation.org 18:23:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:23:51 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d36d4eb [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:52 provisioning config files... 18:23:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6778822154172974477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:53 ---> docker-login.sh 18:23:53 nexus3.edgexfoundry.org:10001 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 nexus3.edgexfoundry.org:10002 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 nexus3.edgexfoundry.org:10003 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 nexus3.edgexfoundry.org:10004 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 docker.io 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:54 Configure a credential helper to remove this warning. See 18:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:54 18:23:54 Login Succeeded 18:23:54 ---> docker-login.sh ends [Pipeline] } 18:23:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:23:54 + git rev-list -1 --merges d36d4eb5d49c50cebb55fcc728bec397aa4f388e~1..d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo 18:23:54 -----------> git rev-list -1 --merges d36d4eb5d49c50cebb55fcc728bec397aa4f388e~1..d36d4eb5d49c50cebb55fcc728bec397aa4f388e d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:23:54 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [false] [Pipeline] sh 18:23:54 + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo 18:23:54 ========================================================= 18:23:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:23:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:55 + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] echo 18:23:55 [semverPrep] GIT_COMMIT: d36d4eb5d49c50cebb55fcc728bec397aa4f388e, Commit Message: Merge pull request #259 from ernestojeda/go-1_17-module-changes [Pipeline] echo 18:23:55 [semverPrep] This is not a build commit. [Pipeline] sh 18:23:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:23:55 + grep -v github /etc/ssh/ssh_known_hosts 18:23:55 + '[' -e /tmp/ssh_known_hosts ']' 18:23:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:23:55 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:23:55 + sudo tee -a /etc/ssh/ssh_known_hosts 18:23:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:56 18:23:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:23:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:56 latest: Pulling from edgex-devops/git-semver 18:23:56 a0d0a0d46f8b: Pulling fs layer 18:23:56 3e5f54012d9b: Pulling fs layer 18:23:56 4c7163046ea9: Pulling fs layer 18:23:56 0c2d73faf560: Pulling fs layer 18:23:56 0c2d73faf560: Waiting 18:23:56 3e5f54012d9b: Verifying Checksum 18:23:56 3e5f54012d9b: Download complete 18:23:56 a0d0a0d46f8b: Verifying Checksum 18:23:56 a0d0a0d46f8b: Download complete 18:23:56 4c7163046ea9: Verifying Checksum 18:23:56 4c7163046ea9: Download complete 18:23:56 0c2d73faf560: Verifying Checksum 18:23:56 0c2d73faf560: Download complete 18:23:56 a0d0a0d46f8b: Pull complete 18:23:57 3e5f54012d9b: Pull complete 18:23:57 4c7163046ea9: Pull complete 18:23:57 0c2d73faf560: Pull complete 18:23:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:23:57 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:23:57 $ 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 18:23:58 $ docker top ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:58 [ssh-agent] Looking for ssh-agent implementation... 18:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:58 $ docker exec ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent 18:23:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEkjLHC/agent.13 18:23:58 SSH_AGENT_PID=19 18:23:58 Running ssh-add (command line suppressed) 18:23:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6990446454508210540.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6990446454508210540.key) 18:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:59 + git tag --points-at HEAD [Pipeline] } 18:23:59 $ docker exec --env ******** --env ******** ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent -k 18:23:59 unset SSH_AUTH_SOCK; 18:23:59 unset SSH_AGENT_PID; 18:23:59 echo Agent pid 19 killed; 18:23:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:23:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:59 [ssh-agent] Looking for ssh-agent implementation... 18:23:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:59 $ docker exec ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent 18:23:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXACbboa/agent.51 18:23:59 SSH_AGENT_PID=57 18:23:59 Running ssh-add (command line suppressed) 18:23:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_263284814374380917.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_263284814374380917.key) 18:23:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:59 + git semver init 18:23:59 # -> Open(): unable to determine branch for HEAD 18:23:59 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 18:23:59 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 18:23:59 # $SEMVER_REMOTE_NAME = origin 18:23:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:23:59 # $SEMVER_USER_NAME = edgex-jenkins 18:23:59 # $SEMVER_BRANCH = main 18:23:59 # $SEMVER_TEMP = /tmp/semver-773800188 18:23:59 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:24:01 # '/tmp/semver-773800188' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 18:24:01 # -> Force: false 18:24:01 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 18:24:01 $ docker exec --env ******** --env ******** ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 ssh-agent -k 18:24:01 unset SSH_AUTH_SOCK; 18:24:01 unset SSH_AGENT_PID; 18:24:01 echo Agent pid 57 killed; 18:24:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:01 + git semver [Pipeline] } 18:24:01 $ docker stop --time=1 ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 18:24:03 $ docker rm -f ebd037e479ab619b9bfe4c2b9267e468be9334e839b45da7c52563312820ddd8 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:24:03 Stashed 1 file(s) [Pipeline] echo 18:24:03 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:04 provisioning config files... 18:24:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4311561564165885717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:04 ---> docker-login.sh 18:24:04 nexus3.edgexfoundry.org:10001 18:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:04 Configure a credential helper to remove this warning. See 18:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:04 18:24:04 Login Succeeded 18:24:04 nexus3.edgexfoundry.org:10002 18:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:04 Configure a credential helper to remove this warning. See 18:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:04 18:24:04 Login Succeeded 18:24:04 nexus3.edgexfoundry.org:10003 18:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:04 Configure a credential helper to remove this warning. See 18:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:04 18:24:04 Login Succeeded 18:24:04 nexus3.edgexfoundry.org:10004 18:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:04 Configure a credential helper to remove this warning. See 18:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:04 18:24:04 Login Succeeded 18:24:04 docker.io 18:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:05 Configure a credential helper to remove this warning. See 18:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:05 18:24:05 Login Succeeded 18:24:05 ---> docker-login.sh ends [Pipeline] } 18:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:05 ========================================================= 18:24:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:24:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:24:05 + 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 . 18:24:05 Sending build context to Docker daemon 22.83MB 18:24:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:24:05 Step 2/12 : FROM ${BASE} AS builder 18:24:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:05 59bf1c3509f3: Pulling fs layer 18:24:05 666ba61612fd: Pulling fs layer 18:24:05 8ed8ca486205: Pulling fs layer 18:24:05 4fe6c5a15a65: Pulling fs layer 18:24:05 22a0e8bec74d: Pulling fs layer 18:24:05 f965cba54748: Pulling fs layer 18:24:05 861ffc35075e: Pulling fs layer 18:24:05 4b385c91608e: Pulling fs layer 18:24:05 560528eb2ebb: Pulling fs layer 18:24:05 4fe6c5a15a65: Waiting 18:24:05 22a0e8bec74d: Waiting 18:24:05 f965cba54748: Waiting 18:24:05 861ffc35075e: Waiting 18:24:05 4b385c91608e: Waiting 18:24:05 560528eb2ebb: Waiting 18:24:05 8ed8ca486205: Download complete 18:24:05 666ba61612fd: Verifying Checksum 18:24:05 666ba61612fd: Download complete 18:24:05 22a0e8bec74d: Verifying Checksum 18:24:05 22a0e8bec74d: Download complete 18:24:05 f965cba54748: Verifying Checksum 18:24:05 f965cba54748: Download complete 18:24:05 59bf1c3509f3: Verifying Checksum 18:24:05 59bf1c3509f3: Download complete 18:24:05 861ffc35075e: Verifying Checksum 18:24:05 861ffc35075e: Download complete 18:24:05 4b385c91608e: Verifying Checksum 18:24:05 4b385c91608e: Download complete 18:24:06 59bf1c3509f3: Pull complete 18:24:06 4fe6c5a15a65: Verifying Checksum 18:24:06 4fe6c5a15a65: Download complete 18:24:06 666ba61612fd: Pull complete 18:24:06 560528eb2ebb: Verifying Checksum 18:24:06 560528eb2ebb: Download complete 18:24:06 8ed8ca486205: Pull complete 18:24:12 4fe6c5a15a65: Pull complete 18:24:12 22a0e8bec74d: Pull complete 18:24:12 f965cba54748: Pull complete 18:24:12 861ffc35075e: Pull complete 18:24:12 4b385c91608e: Pull complete 18:24:14 560528eb2ebb: Pull complete 18:24:14 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:24:14 ---> dd4a08f94e63 18:24:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:24:16 ---> Running in ace490021fdd 18:24:16 Removing intermediate container ace490021fdd 18:24:16 ---> 0d8c21f10da0 18:24:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:24:16 ---> Running in 34079e275242 18:24:16 Removing intermediate container 34079e275242 18:24:16 ---> 4556c2245fbc 18:24:16 Step 5/12 : WORKDIR /device-virtual-go 18:24:16 ---> Running in f57a57787737 18:24:16 Removing intermediate container f57a57787737 18:24:16 ---> 2fee263e82db 18:24:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:16 ---> Running in 10e2753ff88b 18:24:17 Removing intermediate container 10e2753ff88b 18:24:17 ---> a5d97fb44be8 18:24:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:17 ---> Running in 60e6549ca6a9 18:24:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:24:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:24:18 Still waiting to schedule task 18:24:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:24:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:24:19 (2/4) Installing libedit (20210910.3.1-r0) 18:24:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:24:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:24:19 Executing busybox-1.34.1-r3.trigger 18:24:19 OK: 224 MiB in 56 packages 18:24:19 Removing intermediate container 60e6549ca6a9 18:24:19 ---> e1c914fbfb22 18:24:19 Step 8/12 : COPY go.mod vendor* ./ 18:24:19 ---> e27a8b54eef0 18:24:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:19 ---> Running in ea39c45ca412 18:24:52 Removing intermediate container ea39c45ca412 18:24:52 ---> 344bff107640 18:24:52 Step 10/12 : COPY . . 18:24:52 ---> bd637be07c03 18:24:52 Step 11/12 : ARG MAKE='make build' 18:24:52 ---> Running in 2691db3f06d0 18:24:52 Removing intermediate container 2691db3f06d0 18:24:52 ---> 07fa4688a01a 18:24:52 Step 12/12 : RUN $MAKE 18:24:52 ---> Running in fdf8ee602d0b 18:24:52 noop 18:24:52 Removing intermediate container fdf8ee602d0b 18:24:52 ---> 981047991bd6 18:24:52 Successfully built 981047991bd6 18:24:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:24:52 + docker inspect -f . ci-base-image-x86_64 18:24:52 . [Pipeline] withDockerContainer 18:24:53 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:24:53 $ 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 18:24:53 $ docker top aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:53 + go version 18:24:53 go version go1.17.6 linux/amd64 [Pipeline] } 18:24:53 $ docker stop --time=1 aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 18:24:55 $ docker rm -f aef896454e2013a33bd30dbe54d390e2aa7f8061f1c49243b86c3454b69c0907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:55 + docker inspect -f . ci-base-image-x86_64 18:24:55 . [Pipeline] withDockerContainer 18:24:55 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:24:55 $ 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 18:24:55 $ docker top ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:24:56 + make test 18:24:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:24:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:25:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:25:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.184s coverage: 64.6% of statements 18:25:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:25:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:22 ./bin/test-attribution-txt.sh [Pipeline] echo 18:25:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:25:22 $ docker stop --time=1 ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 18:25:24 $ docker rm -f ccf16d708f993af1f3a7bcbb399522aa15dd3c70f920c6176670a2ac8075b767 [Pipeline] // withDockerContainer [Pipeline] sh 18:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:25 + ls -al . 18:25:25 total 176 18:25:25 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 18:25 . 18:25:25 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:23 .. 18:25:25 -rw-rw-r--. 1 jenkins jenkins 8449 Jan 20 18:23 Attribution.txt 18:25:25 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:23 bin 18:25:25 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 20 18:23 CHANGELOG.md 18:25:25 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:23 cmd 18:25:25 -rw-r--r--. 1 jenkins jenkins 46339 Jan 20 18:25 coverage.out 18:25:25 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 20 18:23 Dockerfile 18:25:25 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:23 .git 18:25:25 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:23 .github 18:25:25 -rw-rw-r--. 1 jenkins jenkins 270 Jan 20 18:23 .gitignore 18:25:25 -rw-rw-r--. 1 jenkins jenkins 3319 Jan 20 18:23 go.mod 18:25:25 -rw-rw-r--. 1 jenkins jenkins 52323 Jan 20 18:23 go.sum 18:25:25 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:23 GOVERNANCE.md 18:25:25 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:23 internal 18:25:25 -rw-rw-r--. 1 jenkins jenkins 660 Jan 20 18:23 Jenkinsfile 18:25:25 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:23 LICENSE 18:25:25 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 20 18:23 Makefile 18:25:25 -rw-rw-r--. 1 jenkins jenkins 623 Jan 20 18:23 OWNERS.md 18:25:25 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 20 18:23 README.md 18:25:25 drwx------. 3 jenkins jenkins 57 Jan 20 18:24 .semver 18:25:25 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:24 VERSION 18:25:25 -rw-rw-r--. 1 jenkins jenkins 235 Jan 20 18:23 version.go [Pipeline] isUnix [Pipeline] sh 18:25:26 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e --label arch=amd64 --label version=2.2.0-dev.5 . 18:25:26 Sending build context to Docker daemon 22.87MB 18:25:26 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 18:25:26 Step 2/26 : FROM ${BASE} AS builder 18:25:26 ---> 981047991bd6 18:25:26 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:25:26 ---> Running in 358da114d747 18:25:26 Removing intermediate container 358da114d747 18:25:26 ---> f79dceb33dea 18:25:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:25:26 ---> Running in 8e1c0e5ab873 18:25:26 Removing intermediate container 8e1c0e5ab873 18:25:26 ---> a041f3006c3d 18:25:26 Step 5/26 : WORKDIR /device-virtual-go 18:25:26 ---> Running in 43125573b556 18:25:26 Removing intermediate container 43125573b556 18:25:26 ---> da90e3244fd8 18:25:26 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:26 ---> Running in 46bb31ef4c01 18:25:27 Removing intermediate container 46bb31ef4c01 18:25:27 ---> 80675b289860 18:25:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:27 ---> Running in e4ae27fb5b22 18:25:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:25:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:25:28 OK: 224 MiB in 56 packages 18:25:29 Removing intermediate container e4ae27fb5b22 18:25:29 ---> 7a00e3bfee60 18:25:29 Step 8/26 : COPY go.mod vendor* ./ 18:25:29 ---> 5f1dec6395e9 18:25:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:29 ---> Running in d5ec9ef855cf 18:25:30 Removing intermediate container d5ec9ef855cf 18:25:30 ---> 7dd4b647612a 18:25:30 Step 10/26 : COPY . . 18:25:30 ---> 9ce3ba1b38ef 18:25:30 Step 11/26 : ARG MAKE='make build' 18:25:30 ---> Running in a2fd3112092c 18:25:30 Removing intermediate container a2fd3112092c 18:25:30 ---> 4e21e5369acc 18:25:30 Step 12/26 : RUN $MAKE 18:25:30 ---> Running in 86892c811dc6 18:25:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.5" -o cmd/device-virtual ./cmd 18:25:49 Removing intermediate container 86892c811dc6 18:25:49 ---> 45e0830c4f52 18:25:49 Step 13/26 : FROM alpine:3.14 18:25:49 3.14: Pulling from library/alpine 18:25:49 97518928ae5f: Pulling fs layer 18:25:49 97518928ae5f: Verifying Checksum 18:25:49 97518928ae5f: Download complete 18:25:49 97518928ae5f: Pull complete 18:25:49 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:25:49 Status: Downloaded newer image for alpine:3.14 18:25:49 ---> 0a97eee8041e 18:25:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:25:49 ---> Running in 29bc468ae309 18:25:49 Removing intermediate container 29bc468ae309 18:25:49 ---> 8b6176d01497 18:25:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:49 ---> Running in d255d0ed7f06 18:25:49 Removing intermediate container d255d0ed7f06 18:25:49 ---> c1da7dbd59ad 18:25:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:25:49 ---> Running in ee008399a53b 18:25:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:25:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:25:51 (1/6) Installing dumb-init (1.2.5-r1) 18:25:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:25:51 (3/6) Installing libsodium (1.0.18-r0) 18:25:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:25:51 (5/6) Installing libzmq (4.3.4-r0) 18:25:51 (6/6) Installing zeromq (4.3.4-r0) 18:25:51 Executing busybox-1.33.1-r6.trigger 18:25:51 OK: 8 MiB in 20 packages 18:25:51 Removing intermediate container ee008399a53b 18:25:51 ---> 27e15606540f 18:25:51 Step 17/26 : WORKDIR / 18:25:51 ---> Running in 9f4ede644dd8 18:25:52 Removing intermediate container 9f4ede644dd8 18:25:52 ---> 4da15c8ae68d 18:25:52 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:25:52 ---> 0d57abbae581 18:25:52 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:25:52 ---> 2545aaf83606 18:25:52 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:25:52 ---> fd71316f51b3 18:25:52 Step 21/26 : EXPOSE 59900 18:25:52 ---> Running in dddd24dc1aec 18:25:52 Removing intermediate container dddd24dc1aec 18:25:52 ---> 78210d6cad31 18:25:52 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:25:52 ---> Running in 05972ac9b543 18:25:52 Removing intermediate container 05972ac9b543 18:25:52 ---> cae51d765c22 18:25:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:25:52 ---> Running in 28010819f400 18:25:53 Removing intermediate container 28010819f400 18:25:53 ---> fc0eacd5d8ef 18:25:53 Step 24/26 : LABEL arch=amd64 18:25:53 ---> Running in 061179a694df 18:25:53 Removing intermediate container 061179a694df 18:25:53 ---> e259307b9e35 18:25:53 Step 25/26 : LABEL git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:25:53 ---> Running in d656f6ff2911 18:25:53 Removing intermediate container d656f6ff2911 18:25:53 ---> 0a4be3735312 18:25:53 Step 26/26 : LABEL version=2.2.0-dev.5 18:25:53 ---> Running in b6f84f7a9192 18:25:53 Removing intermediate container b6f84f7a9192 18:25:53 ---> 6a5e354f42bb 18:25:53 [Warning] One or more build-args [ARCH] were not consumed 18:25:53 Successfully built 6a5e354f42bb 18:25:53 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:53 provisioning config files... 18:25:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4313778492267918372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:53 ---> docker-login.sh 18:25:53 nexus3.edgexfoundry.org:10001 18:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:53 Configure a credential helper to remove this warning. See 18:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:53 18:25:53 Login Succeeded 18:25:53 nexus3.edgexfoundry.org:10002 18:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:54 Configure a credential helper to remove this warning. See 18:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:54 18:25:54 Login Succeeded 18:25:54 nexus3.edgexfoundry.org:10003 18:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:54 Configure a credential helper to remove this warning. See 18:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:54 18:25:54 Login Succeeded 18:25:54 nexus3.edgexfoundry.org:10004 18:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:54 Configure a credential helper to remove this warning. See 18:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:54 18:25:54 Login Succeeded 18:25:54 docker.io 18:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:54 Configure a credential helper to remove this warning. See 18:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:54 18:25:54 Login Succeeded 18:25:54 ---> docker-login.sh ends [Pipeline] } 18:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:25:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:54 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 18:25:54 d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:25:54 latest 18:25:54 2.2.0-dev.5 18:25:54 d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:25:54 main 18:25:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:25:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] isUnix [Pipeline] sh 18:25:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:25:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:25:55 9ce29cf31c53: Preparing 18:25:55 e7c8f509c7f4: Preparing 18:25:55 b44b01e54c56: Preparing 18:25:55 f056472fec92: Preparing 18:25:55 c92293dcd122: Preparing 18:25:55 1a058d5342cc: Preparing 18:25:55 1a058d5342cc: Waiting 18:25:55 b44b01e54c56: Pushed 18:25:55 e7c8f509c7f4: Pushed 18:25:55 1a058d5342cc: Layer already exists 18:25:55 c92293dcd122: Pushed 18:25:55 f056472fec92: Pushed 18:25:56 9ce29cf31c53: Pushed 18:25:56 d36d4eb5d49c50cebb55fcc728bec397aa4f388e: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh 18:25:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 18:25:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 18:25:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:25:57 9ce29cf31c53: Preparing 18:25:57 e7c8f509c7f4: Preparing 18:25:57 b44b01e54c56: Preparing 18:25:57 f056472fec92: Preparing 18:25:57 c92293dcd122: Preparing 18:25:57 1a058d5342cc: Preparing 18:25:57 1a058d5342cc: Waiting 18:25:57 b44b01e54c56: Layer already exists 18:25:57 e7c8f509c7f4: Layer already exists 18:25:57 c92293dcd122: Layer already exists 18:25:57 9ce29cf31c53: Layer already exists 18:25:57 f056472fec92: Layer already exists 18:25:57 1a058d5342cc: Layer already exists 18:25:57 latest: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh 18:25:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:25:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 18:25:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:25:58 9ce29cf31c53: Preparing 18:25:58 e7c8f509c7f4: Preparing 18:25:58 b44b01e54c56: Preparing 18:25:58 f056472fec92: Preparing 18:25:58 c92293dcd122: Preparing 18:25:58 1a058d5342cc: Preparing 18:25:58 1a058d5342cc: Waiting 18:25:58 b44b01e54c56: Layer already exists 18:25:58 f056472fec92: Layer already exists 18:25:58 c92293dcd122: Layer already exists 18:25:58 e7c8f509c7f4: Layer already exists 18:25:58 9ce29cf31c53: Layer already exists 18:25:58 1a058d5342cc: Layer already exists 18:25:58 2.2.0-dev.5: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh 18:25:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:25:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:25:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:25:58 9ce29cf31c53: Preparing 18:25:58 e7c8f509c7f4: Preparing 18:25:58 b44b01e54c56: Preparing 18:25:58 f056472fec92: Preparing 18:25:58 c92293dcd122: Preparing 18:25:58 1a058d5342cc: Preparing 18:25:58 1a058d5342cc: Waiting 18:25:58 c92293dcd122: Layer already exists 18:25:58 b44b01e54c56: Layer already exists 18:25:58 e7c8f509c7f4: Layer already exists 18:25:58 f056472fec92: Layer already exists 18:25:58 9ce29cf31c53: Layer already exists 18:25:58 1a058d5342cc: Layer already exists 18:25:58 d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] isUnix [Pipeline] sh 18:25:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 18:25:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 18:25:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:25:59 9ce29cf31c53: Preparing 18:25:59 e7c8f509c7f4: Preparing 18:25:59 b44b01e54c56: Preparing 18:25:59 f056472fec92: Preparing 18:25:59 c92293dcd122: Preparing 18:25:59 1a058d5342cc: Preparing 18:25:59 1a058d5342cc: Waiting 18:25:59 e7c8f509c7f4: Layer already exists 18:25:59 b44b01e54c56: Layer already exists 18:25:59 9ce29cf31c53: Layer already exists 18:25:59 f056472fec92: Layer already exists 18:25:59 c92293dcd122: Layer already exists 18:25:59 1a058d5342cc: Layer already exists 18:25:59 main: digest: sha256:1dee038ae8e7fb7d6d9242d0dd65d52aa115370297695cc8583168778bfc9ea5 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:25:59 ===================================================== [Pipeline] echo 18:25:59 taggedImages: 18:25:59 - nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:25:59 - nexus3.edgexfoundry.org:10004/device-virtual:latest 18:25:59 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.5 18:25:59 - nexus3.edgexfoundry.org:10004/device-virtual:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:25:59 - 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 18:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:00 18:26:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:26:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:00 latest: Pulling from edgex-lftools-log-publisher 18:26:00 b4d181a07f80: Pulling fs layer 18:26:00 a1111a8f2ec3: Pulling fs layer 18:26:00 ed53099fbce6: Pulling fs layer 18:26:00 dc539afda2c1: Pulling fs layer 18:26:00 77bc0d833cb6: Pulling fs layer 18:26:00 9065ff56babe: Pulling fs layer 18:26:00 d287ab97295c: Pulling fs layer 18:26:00 dc539afda2c1: Waiting 18:26:00 77bc0d833cb6: Waiting 18:26:00 9065ff56babe: Waiting 18:26:00 d287ab97295c: Waiting 18:26:00 a1111a8f2ec3: Verifying Checksum 18:26:00 a1111a8f2ec3: Download complete 18:26:00 dc539afda2c1: Verifying Checksum 18:26:00 dc539afda2c1: Download complete 18:26:00 ed53099fbce6: Verifying Checksum 18:26:00 ed53099fbce6: Download complete 18:26:00 9065ff56babe: Verifying Checksum 18:26:00 9065ff56babe: Download complete 18:26:00 77bc0d833cb6: Verifying Checksum 18:26:00 77bc0d833cb6: Download complete 18:26:00 b4d181a07f80: Verifying Checksum 18:26:00 b4d181a07f80: Download complete 18:26:01 d287ab97295c: Verifying Checksum 18:26:01 d287ab97295c: Download complete 18:26:02 b4d181a07f80: Pull complete 18:26:02 a1111a8f2ec3: Pull complete 18:26:02 ed53099fbce6: Pull complete 18:26:02 dc539afda2c1: Pull complete 18:26:03 77bc0d833cb6: Pull complete 18:26:03 9065ff56babe: Pull complete 18:26:08 d287ab97295c: Pull complete 18:26:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:26:08 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:26:08 $ 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 18:26:11 $ docker top 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:11 ---> job-cost.sh 18:26:11 lf-activate-venv: SKIPPING 18:26:11 INFO: No Stack... 18:26:11 INFO: Retrieving Pricing Info for: v3-standard-2 18:26:11 INFO: Archiving Costs [Pipeline] sh 18:26:12 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 18:26:12 + cut -d, -f6 [Pipeline] lock 18:26:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] 18:26:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] did not exist. Created. 18:26:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:12 + echo total: 0.05999999865889549 [Pipeline] stash 18:26:12 Stashed 1 file(s) [Pipeline] } 18:26:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:12 $ docker stop --time=1 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 18:26:13 $ docker rm -f 43c94c5fe6c4786504c329010e0937e88a2d41c0e418b418e420fdb274ca5726 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:34:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3263 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 18:34:56 Running in /w/workspace/device-virtual-go/21 [Pipeline] { [Pipeline] checkout 18:34:56 The recommended git tool is: git 18:35:03 using credential edgex-jenkins-ssh 18:35:03 Cloning the remote Git repository 18:35:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:35:03 > git init /w/workspace/device-virtual-go/21 # timeout=10 18:35:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:35:03 > git --version # timeout=10 18:35:03 > git --version # 'git version 2.17.1' 18:35:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:06 Avoid second fetch 18:35:06 Checking out Revision d36d4eb5d49c50cebb55fcc728bec397aa4f388e (main) 18:35:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:35:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:06 > git config core.sparsecheckout # timeout=10 18:35:06 > git checkout -f d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 18:35:11 Commit message: "Merge pull request #259 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:35:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:12 Dload Upload Total Spent Left Speed 18:35:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 18:35:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:35:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:35:13 + sudo tee /etc/docker/daemon.new 18:35:13 { 18:35:13 "registry-mirrors": [ 18:35:13 "https://nexus3.edgexfoundry.org:10001" 18:35:13 ], 18:35:13 "bip": "10.250.0.254/24", 18:35:13 "hosts": [ 18:35:13 "tcp://0.0.0.0:5555", 18:35:13 "unix:///var/run/docker.sock" 18:35:13 ], 18:35:13 "mtu": 1458, 18:35:13 "selinux-enabled": true, 18:35:13 "seccomp-profile": "/etc/docker/seccomp.json" 18:35:13 } [Pipeline] sh 18:35:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:35:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:32 provisioning config files... 18:35:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config9074940123749577957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:33 ---> docker-login.sh 18:35:33 nexus3.edgexfoundry.org:10001 18:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:34 Configure a credential helper to remove this warning. See 18:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:34 18:35:34 Login Succeeded 18:35:34 nexus3.edgexfoundry.org:10002 18:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:34 Configure a credential helper to remove this warning. See 18:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:34 18:35:34 Login Succeeded 18:35:34 nexus3.edgexfoundry.org:10003 18:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:35 Configure a credential helper to remove this warning. See 18:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:35 18:35:35 Login Succeeded 18:35:35 nexus3.edgexfoundry.org:10004 18:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:35 Configure a credential helper to remove this warning. See 18:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:35 18:35:35 Login Succeeded 18:35:35 docker.io 18:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:36 Configure a credential helper to remove this warning. See 18:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:36 18:35:36 Login Succeeded 18:35:36 ---> docker-login.sh ends [Pipeline] } 18:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:37 ========================================================= 18:35:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:35:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:35:37 + 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 . 18:35:38 Sending build context to Docker daemon 11.55MB 18:35:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:35:38 Step 2/12 : FROM ${BASE} AS builder 18:35:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:35:38 9b3977197b4f: Pulling fs layer 18:35:38 1a89e8eeedd5: Pulling fs layer 18:35:38 94645a83ff95: Pulling fs layer 18:35:38 3f3a8bcf1eab: Pulling fs layer 18:35:38 0c92f367c5e7: Pulling fs layer 18:35:38 4b8299f9d1f4: Pulling fs layer 18:35:38 9a6b49a46696: Pulling fs layer 18:35:38 cf05db05a679: Pulling fs layer 18:35:38 3f3a8bcf1eab: Waiting 18:35:38 0c92f367c5e7: Waiting 18:35:38 4b8299f9d1f4: Waiting 18:35:38 9a6b49a46696: Waiting 18:35:38 cf05db05a679: Waiting 18:35:38 94645a83ff95: Verifying Checksum 18:35:38 94645a83ff95: Download complete 18:35:38 1a89e8eeedd5: Verifying Checksum 18:35:38 1a89e8eeedd5: Download complete 18:35:38 0c92f367c5e7: Verifying Checksum 18:35:38 0c92f367c5e7: Download complete 18:35:38 4b8299f9d1f4: Download complete 18:35:38 9a6b49a46696: Download complete 18:35:38 9b3977197b4f: Verifying Checksum 18:35:38 9b3977197b4f: Download complete 18:35:39 9b3977197b4f: Pull complete 18:35:39 1a89e8eeedd5: Pull complete 18:35:40 94645a83ff95: Pull complete 18:35:42 cf05db05a679: Verifying Checksum 18:35:42 cf05db05a679: Download complete 18:35:42 3f3a8bcf1eab: Verifying Checksum 18:35:42 3f3a8bcf1eab: Download complete 18:35:57 3f3a8bcf1eab: Pull complete 18:35:57 0c92f367c5e7: Pull complete 18:35:57 4b8299f9d1f4: Pull complete 18:35:57 9a6b49a46696: Pull complete 18:36:03 cf05db05a679: Pull complete 18:36:03 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:36:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:36:03 ---> 0ccda1f7e2ee 18:36:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:36:04 ---> Running in 03e8452569f9 18:36:04 Removing intermediate container 03e8452569f9 18:36:04 ---> f50fd5f344a3 18:36:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:36:05 ---> Running in b79652fba71d 18:36:05 Removing intermediate container b79652fba71d 18:36:05 ---> 33e371f2764c 18:36:05 Step 5/12 : WORKDIR /device-virtual-go 18:36:05 ---> Running in 8d7ba1effe77 18:36:06 Removing intermediate container 8d7ba1effe77 18:36:06 ---> ba6c064a5b20 18:36:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:06 ---> Running in bcff4820440f 18:36:09 Removing intermediate container bcff4820440f 18:36:09 ---> a75b95a5fc6b 18:36:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:09 ---> Running in 27f93585f5bd 18:36:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:36:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:36:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:36:12 (2/4) Installing libedit (20210910.3.1-r0) 18:36:12 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:36:12 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:36:12 Executing busybox-1.34.1-r3.trigger 18:36:12 OK: 224 MiB in 56 packages 18:36:14 Removing intermediate container 27f93585f5bd 18:36:14 ---> 67c6a5bd6295 18:36:14 Step 8/12 : COPY go.mod vendor* ./ 18:36:14 ---> df5b457cb9ad 18:36:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:14 ---> Running in 3f54556c7560 18:37:51 Removing intermediate container 3f54556c7560 18:37:51 ---> 78eb14a8608c 18:37:51 Step 10/12 : COPY . . 18:37:51 ---> 2afda6968379 18:37:51 Step 11/12 : ARG MAKE='make build' 18:37:51 ---> Running in 08e28fccd361 18:37:51 Removing intermediate container 08e28fccd361 18:37:51 ---> fa5de888ad82 18:37:51 Step 12/12 : RUN $MAKE 18:37:51 ---> Running in 398252d7d788 18:37:51 noop 18:37:51 Removing intermediate container 398252d7d788 18:37:51 ---> 11b9ae553e4d 18:37:51 Successfully built 11b9ae553e4d 18:37:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:37:52 + docker inspect -f . ci-base-image-arm64 18:37:52 . [Pipeline] withDockerContainer 18:37:52 prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container 18:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:37:54 $ docker top 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:55 + go version 18:37:55 go version go1.17.6 linux/arm64 [Pipeline] } 18:37:55 $ docker stop --time=1 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a 18:37:56 $ docker rm -f 393023b4cb72533ec7a9ad110891b13ae495c7c1cf87cea100c1d2a11063dc2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:37:57 + docker inspect -f . ci-base-image-arm64 18:37:57 . [Pipeline] withDockerContainer 18:37:57 prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container 18:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:37:59 $ docker top dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:38:00 + make test 18:38:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:38:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:39:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:39:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.107s coverage: 64.6% of statements 18:39:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:39:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:39:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:39:40 ./bin/test-attribution-txt.sh [Pipeline] echo 18:39:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:39:40 $ docker stop --time=1 dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 18:39:42 $ docker rm -f dcace277eb3b21e063b2eefec1664d08437623ee25d2df53db8f78abfee295e3 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:43 Warning: overwriting stash ‘coverage-report’ 18:39:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:45 + ls -al . 18:39:45 total 200 18:39:45 drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 18:39 . 18:39:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:35 .. 18:39:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:35 .git 18:39:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 .github 18:39:45 -rw-rw-r-- 1 jenkins jenkins 270 Jan 20 18:35 .gitignore 18:39:45 -rw-rw-r-- 1 jenkins jenkins 8449 Jan 20 18:35 Attribution.txt 18:39:45 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 20 18:35 CHANGELOG.md 18:39:45 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 20 18:35 Dockerfile 18:39:45 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:35 GOVERNANCE.md 18:39:45 -rw-rw-r-- 1 jenkins jenkins 660 Jan 20 18:35 Jenkinsfile 18:39:45 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:35 LICENSE 18:39:45 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 20 18:35 Makefile 18:39:45 -rw-rw-r-- 1 jenkins jenkins 623 Jan 20 18:35 OWNERS.md 18:39:45 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 20 18:35 README.md 18:39:45 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:24 VERSION 18:39:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 bin 18:39:45 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 cmd 18:39:45 -rw-r--r-- 1 jenkins jenkins 46339 Jan 20 18:39 coverage.out 18:39:45 -rw-rw-r-- 1 jenkins jenkins 3319 Jan 20 18:35 go.mod 18:39:45 -rw-rw-r-- 1 jenkins jenkins 52323 Jan 20 18:35 go.sum 18:39:45 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 internal 18:39:45 -rw-rw-r-- 1 jenkins jenkins 235 Jan 20 18:35 version.go [Pipeline] isUnix [Pipeline] sh 18:39:45 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e --label arch=arm64 --label version=2.2.0-dev.5 . 18:39:46 Sending build context to Docker daemon 11.6MB 18:39:46 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 18:39:46 Step 2/26 : FROM ${BASE} AS builder 18:39:46 ---> 11b9ae553e4d 18:39:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:39:46 ---> Running in 5a31eb88fd1c 18:39:46 Removing intermediate container 5a31eb88fd1c 18:39:46 ---> 4dbaa8dcdb52 18:39:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:39:46 ---> Running in 7e365f4b2004 18:39:47 Removing intermediate container 7e365f4b2004 18:39:47 ---> bc01d6d4fba5 18:39:47 Step 5/26 : WORKDIR /device-virtual-go 18:39:47 ---> Running in 85ca4c616306 18:39:48 Removing intermediate container 85ca4c616306 18:39:48 ---> f1c6d7b1f92b 18:39:48 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:48 ---> Running in a9d07592517c 18:39:50 Removing intermediate container a9d07592517c 18:39:50 ---> bbca9519e1b7 18:39:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:50 ---> Running in 33478560be9f 18:39:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:39:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:39:53 OK: 224 MiB in 56 packages 18:39:54 Removing intermediate container 33478560be9f 18:39:54 ---> d7821979f8ea 18:39:54 Step 8/26 : COPY go.mod vendor* ./ 18:39:54 ---> ea9fe519e1ed 18:39:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:54 ---> Running in 0c20d50d0253 18:39:57 Removing intermediate container 0c20d50d0253 18:39:57 ---> 004895dff52c 18:39:57 Step 10/26 : COPY . . 18:39:58 ---> 420d418bbbbb 18:39:58 Step 11/26 : ARG MAKE='make build' 18:39:58 ---> Running in 049ec7c4858d 18:39:58 Removing intermediate container 049ec7c4858d 18:39:58 ---> 476c638ea182 18:39:58 Step 12/26 : RUN $MAKE 18:39:58 ---> Running in 6d16ca9e7b4e 18:40:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.5" -o cmd/device-virtual ./cmd 18:41:08 Removing intermediate container 6d16ca9e7b4e 18:41:08 ---> 5e5446b2a348 18:41:08 Step 13/26 : FROM alpine:3.14 18:41:08 3.14: Pulling from library/alpine 18:41:08 be307f383ecc: Pulling fs layer 18:41:08 be307f383ecc: Download complete 18:41:08 be307f383ecc: Pull complete 18:41:08 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:41:08 Status: Downloaded newer image for alpine:3.14 18:41:08 ---> 5b8b7b635229 18:41:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:41:08 ---> Running in 3b6356b6046c 18:41:08 Removing intermediate container 3b6356b6046c 18:41:08 ---> 3a8bf275cf12 18:41:08 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:41:08 ---> Running in b0f194be94da 18:41:08 Removing intermediate container b0f194be94da 18:41:08 ---> d60c8c7c1d6b 18:41:08 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:41:08 ---> Running in f3aa2f02f60b 18:41:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:41:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:41:08 (1/6) Installing dumb-init (1.2.5-r1) 18:41:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:41:08 (3/6) Installing libsodium (1.0.18-r0) 18:41:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:41:08 (5/6) Installing libzmq (4.3.4-r0) 18:41:08 (6/6) Installing zeromq (4.3.4-r0) 18:41:08 Executing busybox-1.33.1-r6.trigger 18:41:08 OK: 8 MiB in 20 packages 18:41:09 Removing intermediate container f3aa2f02f60b 18:41:09 ---> df50f1e7996f 18:41:09 Step 17/26 : WORKDIR / 18:41:09 ---> Running in 7f430fd4a204 18:41:10 Removing intermediate container 7f430fd4a204 18:41:10 ---> f6f36cb03a98 18:41:10 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:41:10 ---> 5ef45e111857 18:41:10 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:41:11 ---> dc349787ac13 18:41:11 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:41:12 ---> 7e7435c732f0 18:41:12 Step 21/26 : EXPOSE 59900 18:41:12 ---> Running in 56a29254f643 18:41:12 Removing intermediate container 56a29254f643 18:41:12 ---> dab46b604266 18:41:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:41:12 ---> Running in e37390d9ad61 18:41:13 Removing intermediate container e37390d9ad61 18:41:13 ---> c79a05ff8623 18:41:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:41:13 ---> Running in 5dffdc12d5de 18:41:13 Removing intermediate container 5dffdc12d5de 18:41:13 ---> 8a88b034d306 18:41:13 Step 24/26 : LABEL arch=arm64 18:41:13 ---> Running in c170032dfa37 18:41:14 Removing intermediate container c170032dfa37 18:41:14 ---> 73e7545f4177 18:41:14 Step 25/26 : LABEL git_sha=d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:41:14 ---> Running in f0252efef42e 18:41:14 Removing intermediate container f0252efef42e 18:41:14 ---> 8d87c2af529f 18:41:14 Step 26/26 : LABEL version=2.2.0-dev.5 18:41:14 ---> Running in e84934313a7c 18:41:15 Removing intermediate container e84934313a7c 18:41:15 ---> 0e76a09143ce 18:41:15 [Warning] One or more build-args [ARCH] were not consumed 18:41:15 Successfully built 0e76a09143ce 18:41:15 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 18:41:15 provisioning config files... 18:41:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config5027226025219585073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:15 ---> docker-login.sh 18:41:15 nexus3.edgexfoundry.org:10001 18:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:15 Configure a credential helper to remove this warning. See 18:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:15 18:41:15 Login Succeeded 18:41:15 nexus3.edgexfoundry.org:10002 18:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:16 Configure a credential helper to remove this warning. See 18:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:16 18:41:16 Login Succeeded 18:41:16 nexus3.edgexfoundry.org:10003 18:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:16 Configure a credential helper to remove this warning. See 18:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:16 18:41:16 Login Succeeded 18:41:16 nexus3.edgexfoundry.org:10004 18:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:17 Configure a credential helper to remove this warning. See 18:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:17 18:41:17 Login Succeeded 18:41:17 docker.io 18:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:17 Configure a credential helper to remove this warning. See 18:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:17 18:41:17 Login Succeeded 18:41:17 ---> docker-login.sh ends [Pipeline] } 18:41:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:41:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:18 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 18:41:18 d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:41:18 latest 18:41:18 2.2.0-dev.5 18:41:18 d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:41:18 main 18:41:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:41:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] isUnix [Pipeline] sh 18:41:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:41:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:41:18 b3879692025f: Preparing 18:41:18 eb479380981e: Preparing 18:41:18 37a3089ea440: Preparing 18:41:18 a26090b96576: Preparing 18:41:18 22bd1fdd9f59: Preparing 18:41:18 62170e181a92: Preparing 18:41:18 62170e181a92: Waiting 18:41:19 22bd1fdd9f59: Pushed 18:41:19 eb479380981e: Pushed 18:41:19 37a3089ea440: Pushed 18:41:19 62170e181a92: Layer already exists 18:41:19 a26090b96576: Pushed 18:41:23 b3879692025f: Pushed 18:41:23 d36d4eb5d49c50cebb55fcc728bec397aa4f388e: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh 18:41:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:41:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 18:41:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:41:23 b3879692025f: Preparing 18:41:23 eb479380981e: Preparing 18:41:23 37a3089ea440: Preparing 18:41:23 a26090b96576: Preparing 18:41:23 22bd1fdd9f59: Preparing 18:41:23 62170e181a92: Preparing 18:41:23 62170e181a92: Waiting 18:41:23 37a3089ea440: Layer already exists 18:41:23 a26090b96576: Layer already exists 18:41:23 b3879692025f: Layer already exists 18:41:23 eb479380981e: Layer already exists 18:41:23 22bd1fdd9f59: Layer already exists 18:41:23 62170e181a92: Layer already exists 18:41:23 latest: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh 18:41:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:41:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 18:41:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:41:24 b3879692025f: Preparing 18:41:24 eb479380981e: Preparing 18:41:24 37a3089ea440: Preparing 18:41:24 a26090b96576: Preparing 18:41:24 22bd1fdd9f59: Preparing 18:41:24 62170e181a92: Preparing 18:41:24 62170e181a92: Waiting 18:41:24 b3879692025f: Layer already exists 18:41:24 a26090b96576: Layer already exists 18:41:24 eb479380981e: Layer already exists 18:41:24 22bd1fdd9f59: Layer already exists 18:41:24 37a3089ea440: Layer already exists 18:41:24 62170e181a92: Layer already exists 18:41:24 2.2.0-dev.5: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh 18:41:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:41:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:41:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:41:25 b3879692025f: Preparing 18:41:25 eb479380981e: Preparing 18:41:25 37a3089ea440: Preparing 18:41:25 a26090b96576: Preparing 18:41:25 22bd1fdd9f59: Preparing 18:41:25 62170e181a92: Preparing 18:41:25 62170e181a92: Waiting 18:41:25 eb479380981e: Layer already exists 18:41:25 22bd1fdd9f59: Layer already exists 18:41:25 a26090b96576: Layer already exists 18:41:25 37a3089ea440: Layer already exists 18:41:25 b3879692025f: Layer already exists 18:41:25 62170e181a92: Layer already exists 18:41:25 d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] isUnix [Pipeline] sh 18:41:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 18:41:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 18:41:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:41:26 b3879692025f: Preparing 18:41:26 eb479380981e: Preparing 18:41:26 37a3089ea440: Preparing 18:41:26 a26090b96576: Preparing 18:41:26 22bd1fdd9f59: Preparing 18:41:26 62170e181a92: Preparing 18:41:26 62170e181a92: Waiting 18:41:26 eb479380981e: Layer already exists 18:41:26 37a3089ea440: Layer already exists 18:41:26 a26090b96576: Layer already exists 18:41:26 b3879692025f: Layer already exists 18:41:26 22bd1fdd9f59: Layer already exists 18:41:26 62170e181a92: Layer already exists 18:41:26 main: digest: sha256:9091c61de2aaef1da5f1ed567aed1242003b0b4cad9f09e6b3b37c840c51cc6e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:41:26 ===================================================== [Pipeline] echo 18:41:26 taggedImages: 18:41:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e 18:41:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 18:41:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.5 18:41:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:d36d4eb5d49c50cebb55fcc728bec397aa4f388e-2.2.0-dev.5 18:41:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:27 18:41:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:41:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:27 arm64: Pulling from edgex-lftools-log-publisher 18:41:27 448f6bf000e3: Pulling fs layer 18:41:27 f757da607395: Pulling fs layer 18:41:27 05883995daec: Pulling fs layer 18:41:27 8603b9c90790: Pulling fs layer 18:41:27 1560dd03e051: Pulling fs layer 18:41:27 27f5ce0e4adf: Pulling fs layer 18:41:27 c2d8d7efcc4b: Pulling fs layer 18:41:27 1560dd03e051: Waiting 18:41:27 27f5ce0e4adf: Waiting 18:41:27 c2d8d7efcc4b: Waiting 18:41:27 8603b9c90790: Waiting 18:41:27 f757da607395: Verifying Checksum 18:41:27 f757da607395: Download complete 18:41:27 8603b9c90790: Verifying Checksum 18:41:27 8603b9c90790: Download complete 18:41:27 1560dd03e051: Download complete 18:41:28 27f5ce0e4adf: Verifying Checksum 18:41:28 27f5ce0e4adf: Download complete 18:41:28 05883995daec: Verifying Checksum 18:41:28 05883995daec: Download complete 18:41:28 448f6bf000e3: Verifying Checksum 18:41:28 448f6bf000e3: Download complete 18:41:31 c2d8d7efcc4b: Verifying Checksum 18:41:31 c2d8d7efcc4b: Download complete 18:41:32 448f6bf000e3: Pull complete 18:41:32 f757da607395: Pull complete 18:41:34 05883995daec: Pull complete 18:41:34 8603b9c90790: Pull complete 18:41:35 1560dd03e051: Pull complete 18:41:35 27f5ce0e4adf: Pull complete 18:41:53 c2d8d7efcc4b: Pull complete 18:41:53 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:41:54 prd-ubuntu18.04-docker-arm64-4c-16g-3263 does not seem to be running inside a container 18:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:41:57 $ docker top 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:58 ---> job-cost.sh 18:41:58 lf-activate-venv: SKIPPING 18:41:58 INFO: No Stack... 18:41:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:41:58 INFO: Archiving Costs [Pipeline] sh 18:41:59 + cat /w/workspace/device-virtual-go/21/archives/cost.csv 18:41:59 + cut -d, -f6 [Pipeline] lock 18:41:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] 18:41:59 Resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] did not exist. Created. 18:41:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:00 /w/workspace/device-virtual-go/21@tmp/durable-645777c5/script.sh: 1: /w/workspace/device-virtual-go/21@tmp/durable-645777c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:42:00 + echo total: 0.10999999940395355 [Pipeline] stash 18:42:00 Warning: overwriting stash ‘stack-cost’ 18:42:00 Stashed 1 file(s) [Pipeline] } 18:42:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:00 $ docker stop --time=1 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec 18:42:02 $ docker rm -f 0e21f25cc1ad6393369b576b724febd8d52f05ee721a598f7f4d7f8ffe618bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:42:02 provisioning config files... 18:42:02 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2839716329939052522tmp [Pipeline] { [Pipeline] sh 18:42:03 + set +x 18:42:03 + bash -s -- 18:42:03 + curl -s https://codecov.io/bash 18:42:03 18:42:03 _____ _ 18:42:03 / ____| | | 18:42:03 | | ___ __| | ___ ___ _____ __ 18:42:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:42:03 | |___| (_) | (_| | __/ (_| (_) \ V / 18:42:03 \_____\___/ \__,_|\___|\___\___/ \_/ 18:42:03 Bash-1.0.6 18:42:03 18:42:03 18:42:03 ==> git version 2.24.4 found 18:42:03 ==> 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 18:42:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:42:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:42:03 ==> Jenkins CI detected. 18:42:03 current dir:  /w/workspace/exfoundry_device-virtual-go_main 18:42:03 project root: . 18:42:03 --> token set from env 18:42:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:42:03 ==> Running gcov in . (disable via -X gcov) 18:42:03 ==> Python coveragepy not found 18:42:03 ==> Searching for coverage reports in: 18:42:03 + . 18:42:03 -> Found 1 reports 18:42:03 ==> Detecting git/mercurial file structure 18:42:03 ==> Reading reports 18:42:03 + ./coverage.out bytes=46339 18:42:03 ==> Appending adjustments 18:42:03 https://docs.codecov.io/docs/fixing-reports 18:42:03 + Found adjustments 18:42:03 ==> Gzipping contents 18:42:03 8.0K /tmp/codecov.G8P0Nm.gz 18:42:03 ==> Uploading reports 18:42:03 url: https://codecov.io 18:42:03 query: branch=main&commit=d36d4eb5d49c50cebb55fcc728bec397aa4f388e&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:03 -> Pinging Codecov 18:42:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=d36d4eb5d49c50cebb55fcc728bec397aa4f388e&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:03 -> Uploading to 18:42:03 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/5E52B4B073DB2E39498172D8E973AA87/d36d4eb5d49c50cebb55fcc728bec397aa4f388e/c00c0ca0-b007-41c3-b5de-af1d29ee6285.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T184203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f87ffefe5cb08a2b0d55dacdd9fafeb25d2fd975c0ca8d204db27b33676897ef 18:42:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:03 Dload Upload Total Spent Left Speed 18:42:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 18906 --:--:-- --:--:-- --:--:-- 18937 18:42:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] } 18:42:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:42:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:42:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:04 18:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:42:04 188c0c94c7c5: Pulling fs layer 18:42:04 0ef7d3d256c8: Pulling fs layer 18:42:04 de9db76c5a1d: Pulling fs layer 18:42:04 0eba1c9be4d2: Pulling fs layer 18:42:04 0d57e429df01: Pulling fs layer 18:42:04 4e4be7b47b0d: Pulling fs layer 18:42:04 e1f770b5df2f: Pulling fs layer 18:42:04 85a0685a4137: Pulling fs layer 18:42:04 0eba1c9be4d2: Waiting 18:42:04 0d57e429df01: Waiting 18:42:04 4e4be7b47b0d: Waiting 18:42:04 e1f770b5df2f: Waiting 18:42:04 85a0685a4137: Waiting 18:42:04 de9db76c5a1d: Verifying Checksum 18:42:04 de9db76c5a1d: Download complete 18:42:04 0ef7d3d256c8: Verifying Checksum 18:42:04 0ef7d3d256c8: Download complete 18:42:04 0d57e429df01: Verifying Checksum 18:42:04 0d57e429df01: Download complete 18:42:04 4e4be7b47b0d: Verifying Checksum 18:42:04 4e4be7b47b0d: Download complete 18:42:04 188c0c94c7c5: Verifying Checksum 18:42:04 188c0c94c7c5: Download complete 18:42:04 188c0c94c7c5: Pull complete 18:42:04 e1f770b5df2f: Verifying Checksum 18:42:04 e1f770b5df2f: Download complete 18:42:05 0ef7d3d256c8: Pull complete 18:42:05 0eba1c9be4d2: Verifying Checksum 18:42:05 0eba1c9be4d2: Download complete 18:42:05 de9db76c5a1d: Pull complete 18:42:05 85a0685a4137: Verifying Checksum 18:42:05 85a0685a4137: Download complete 18:42:09 0eba1c9be4d2: Pull complete 18:42:09 0d57e429df01: Pull complete 18:42:09 4e4be7b47b0d: Pull complete 18:42:09 e1f770b5df2f: Pull complete 18:42:13 85a0685a4137: Pull complete 18:42:13 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:42:13 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:13 $ 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 18:42:15 $ docker top 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 -eo pid,comm [Pipeline] { [Pipeline] echo 18:42:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:42:15 + set -o pipefail 18:42:15 + snyk monitor '--org=edgex-jenkins' 18:42:20 18:42:20 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 18:42:20 18:42:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e405fdcc-8afd-4817-951b-b1d7876bbff5 18:42:20 18:42:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:42:20 18:42:20 [Pipeline] } 18:42:20 $ docker stop --time=1 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 18:42:22 $ docker rm -f 30b27f94315a57a042d56ceabe12845514d98530fe7fd32a46003ee3eb908c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:23 + git log --format=format:%s -1 d36d4eb5d49c50cebb55fcc728bec397aa4f388e [Pipeline] sh 18:42:23 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:42:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:24 . [Pipeline] withDockerContainer 18:42:24 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:24 $ 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 18:42:24 $ docker top b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:24 [ssh-agent] Looking for ssh-agent implementation... 18:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:24 $ docker exec b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 ssh-agent 18:42:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAhBmlc/agent.14 18:42:24 SSH_AGENT_PID=20 18:42:24 Running ssh-add (command line suppressed) 18:42:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6774469883278305454.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6774469883278305454.key) 18:42:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:25 + git semver tag 18:42:25 # -> Open(): unable to determine branch for HEAD 18:42:25 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 18:42:25 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 18:42:25 # $SEMVER_REMOTE_NAME = origin 18:42:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:25 # $SEMVER_USER_NAME = edgex-jenkins 18:42:25 # $SEMVER_BRANCH = main 18:42:25 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 18:42:25 # d36d4eb5d49c50cebb55fcc728bec397aa4f388e HEAD 18:42:25 # -> Force: false 18:42:25 # 7110cc34c07d8411d89a12404e29772deafa9cd8 refs/tags/v2.2.0-dev.5 [Pipeline] } 18:42:25 $ docker exec --env ******** --env ******** b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 ssh-agent -k 18:42:25 unset SSH_AUTH_SOCK; 18:42:25 unset SSH_AGENT_PID; 18:42:25 echo Agent pid 20 killed; 18:42:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:25 + git semver [Pipeline] } 18:42:25 $ docker stop --time=1 b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 18:42:26 $ docker rm -f b551491bc81c6ed111ee0a4c752a149eda0ea8a88111d5c4a99277b3f18e0b45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:27 18:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:27 0.23.1-centos7: Pulling from edgex-lftools 18:42:27 ab5ef0e58194: Pulling fs layer 18:42:27 9712f1f96733: Pulling fs layer 18:42:27 63f879dbbcfc: Pulling fs layer 18:42:27 0d9ebad4ef96: Pulling fs layer 18:42:27 e9a5061849ea: Pulling fs layer 18:42:27 d747dcd14b5f: Pulling fs layer 18:42:27 2de7ff778b66: Pulling fs layer 18:42:27 0d9ebad4ef96: Waiting 18:42:27 e9a5061849ea: Waiting 18:42:27 d747dcd14b5f: Waiting 18:42:27 2de7ff778b66: Waiting 18:42:27 9712f1f96733: Verifying Checksum 18:42:27 9712f1f96733: Download complete 18:42:28 63f879dbbcfc: Verifying Checksum 18:42:28 63f879dbbcfc: Download complete 18:42:28 0d9ebad4ef96: Verifying Checksum 18:42:28 0d9ebad4ef96: Download complete 18:42:28 d747dcd14b5f: Verifying Checksum 18:42:28 d747dcd14b5f: Download complete 18:42:28 ab5ef0e58194: Verifying Checksum 18:42:28 ab5ef0e58194: Download complete 18:42:28 e9a5061849ea: Verifying Checksum 18:42:28 e9a5061849ea: Download complete 18:42:28 2de7ff778b66: Verifying Checksum 18:42:28 2de7ff778b66: Download complete 18:42:31 ab5ef0e58194: Pull complete 18:42:31 9712f1f96733: Pull complete 18:42:32 63f879dbbcfc: Pull complete 18:42:36 0d9ebad4ef96: Pull complete 18:42:36 e9a5061849ea: Pull complete 18:42:37 d747dcd14b5f: Pull complete 18:42:38 2de7ff778b66: Pull complete 18:42:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:42:38 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:38 $ 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 18:42:41 $ docker top 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:42:41 provisioning config files... 18:42:41 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4171372528601752438tmp 18:42:41 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5539691558727971924tmp 18:42:41 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6193405760228708031tmp [Pipeline] { [Pipeline] echo 18:42:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:42:42 ---> sigul-configuration.sh 18:42:42 gpg: directory `/root/.gnupg' created 18:42:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:42:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:42:42 gpg: keyring `/root/.gnupg/secring.gpg' created 18:42:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:42:42 gpg: CAST5 encrypted data 18:42:42 gpg: encrypted with 1 passphrase 18:42:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:42:42 + mkdir /home/jenkins 18:42:42 + mkdir /home/jenkins/sigul [Pipeline] sh 18:42:42 + 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 18:42:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:42:43 ---> sigul-install.sh 18:42:43 Sigul already installed; skipping installation. [Pipeline] sh 18:42:43 + git tag --list 18:42:43 v1.0.0 18:42:43 v1.1.0 18:42:43 v1.1.1 18:42:43 v1.2.1 18:42:43 v1.2.2 18:42:43 v1.2.3 18:42:43 v1.3.0 18:42:43 v1.3.1 18:42:43 v2.0.0 18:42:43 v2.0.1-dev.1 18:42:43 v2.0.1-dev.10 18:42:43 v2.0.1-dev.11 18:42:43 v2.0.1-dev.12 18:42:43 v2.0.1-dev.13 18:42:43 v2.0.1-dev.14 18:42:43 v2.0.1-dev.15 18:42:43 v2.0.1-dev.2 18:42:43 v2.0.1-dev.3 18:42:43 v2.0.1-dev.4 18:42:43 v2.0.1-dev.5 18:42:43 v2.0.1-dev.6 18:42:43 v2.0.1-dev.7 18:42:43 v2.0.1-dev.8 18:42:43 v2.0.1-dev.9 18:42:43 v2.1.0 18:42:43 v2.2.0-dev.1 18:42:43 v2.2.0-dev.2 18:42:43 v2.2.0-dev.3 18:42:43 v2.2.0-dev.4 18:42:43 v2.2.0-dev.5 [Pipeline] sh 18:42:43 + lftools sign git-tag v2.2.0-dev.5 18:42:44 Signing Git tag with Sigul... 18:42:44 Signing v2.2.0-dev.5 [Pipeline] echo 18:42:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:42:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:42:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:42:44 $ docker stop --time=1 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 18:42:46 $ docker rm -f 2ab2618b00bd71c40b552286bf1532dd6a4f40bab64d2be72c57a597bf876fc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:42:46 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:42:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:46 . [Pipeline] withDockerContainer 18:42:46 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:46 $ 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 18:42:47 $ docker top 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:47 [ssh-agent] Looking for ssh-agent implementation... 18:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:47 $ docker exec 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 ssh-agent 18:42:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHonNLA/agent.15 18:42:47 SSH_AGENT_PID=21 18:42:47 Running ssh-add (command line suppressed) 18:42:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4118781174222319967.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4118781174222319967.key) 18:42:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:47 + git semver bump pre 18:42:47 # -> Open(): unable to determine branch for HEAD 18:42:47 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 18:42:47 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 18:42:47 # $SEMVER_REMOTE_NAME = origin 18:42:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:47 # $SEMVER_USER_NAME = edgex-jenkins 18:42:47 # $SEMVER_BRANCH = main 18:42:47 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 18:42:47 2.2.0-dev.6 [Pipeline] } 18:42:47 $ docker exec --env ******** --env ******** 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 ssh-agent -k 18:42:47 unset SSH_AUTH_SOCK; 18:42:47 unset SSH_AGENT_PID; 18:42:47 echo Agent pid 21 killed; 18:42:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:48 + git semver [Pipeline] } 18:42:48 $ docker stop --time=1 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 18:42:49 $ docker rm -f 0721c124ce20f35b5cac76e27c710b01549a10c7415186d2c2a69925857dea28 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:49 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:42:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:50 . [Pipeline] withDockerContainer 18:42:50 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:50 $ 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 18:42:50 $ docker top a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:50 [ssh-agent] Looking for ssh-agent implementation... 18:42:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:50 $ docker exec a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 ssh-agent 18:42:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfDGEd/agent.15 18:42:50 SSH_AGENT_PID=21 18:42:50 Running ssh-add (command line suppressed) 18:42:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578964072550458527.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3578964072550458527.key) 18:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:51 + git semver push 18:42:51 # -> Open(): unable to determine branch for HEAD 18:42:51 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 18:42:51 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 18:42:51 # $SEMVER_REMOTE_NAME = origin 18:42:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:51 # $SEMVER_USER_NAME = edgex-jenkins 18:42:51 # $SEMVER_BRANCH = main 18:42:51 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 18:42:52 $ docker exec --env ******** --env ******** a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 ssh-agent -k 18:42:52 unset SSH_AUTH_SOCK; 18:42:52 unset SSH_AGENT_PID; 18:42:52 echo Agent pid 21 killed; 18:42:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:53 + git semver [Pipeline] } 18:42:53 $ docker stop --time=1 a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 18:42:54 $ docker rm -f a9a1f1881f0c5e197af885eb1986fc66fddaeb92cfb66095ddae89b03cc32f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:42:54 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' 18:42:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 18:42:54 total 8 18:42:54 drwxr-xr-x. 3 root root 34 Jan 20 18:26 . 18:42:54 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:42 .. 18:42:54 drwxr-xr-x. 2 root root 6 Jan 20 18:26 cost 18:42:54 -rw-r--r--. 1 root root 87 Jan 20 18:26 cost.csv 18:42:54 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 18:42:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 18:42:54 total 8 18:42:54 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:26 . 18:42:54 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:42 .. 18:42:54 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:26 cost 18:42:54 -rw-r--r--. 1 jenkins jenkins 87 Jan 20 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:55 ---> package-listing.sh 18:42:55 ++ facter osfamily 18:42:55 ++ tr '[:upper:]' '[:lower:]' 18:42:56 + OS_FAMILY=redhat 18:42:56 + workspace=/w/workspace/exfoundry_device-virtual-go_main 18:42:56 + START_PACKAGES=/tmp/packages_start.txt 18:42:56 + END_PACKAGES=/tmp/packages_end.txt 18:42:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:56 + PACKAGES=/tmp/packages_start.txt 18:42:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 18:42:56 + PACKAGES=/tmp/packages_end.txt 18:42:56 + case "${OS_FAMILY}" in 18:42:56 + rpm -qa 18:42:56 + sort 18:42:56 + '[' -f /tmp/packages_start.txt ']' 18:42:56 + '[' -f /tmp/packages_end.txt ']' 18:42:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 18:42:56 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 18:42:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 18:42:56 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 18:42:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:57 . [Pipeline] withDockerContainer 18:42:57 prd-centos7-docker-4c-2g-2829 does not seem to be running inside a container 18:42:57 $ 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 18:42:57 $ docker top 5df79ead652abd2815250af80c8b876efbc175e482544dbe13155fa6ea0fff12 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:58 + touch /tmp/pre-build-complete [Pipeline] sh 18:42:58 + mkdir -p /var/log/sysstat [Pipeline] sh 18:42:58 + ls /var/log/sa-host 18:42:58 + sadf -c /var/log/sa-host/sa17 18:42:58 file_magic: OK 18:42:58 HZ: Using current value: 100 18:42:58 file_header: OK 18:42:58 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 18:42:58 Statistics: 18:42:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:42:58 File successfully converted to sysstat format version 12.0.3 18:42:58 + sadf -c /var/log/sa-host/sa20 18:42:58 file_magic: OK 18:42:58 HZ: Using current value: 100 18:42:58 file_header: OK 18:42:58 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 18:42:58 Statistics: 18:42:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:42:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:58 provisioning config files... 18:42:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5266562885782486111tmp [Pipeline] { [Pipeline] echo 18:42:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:42:59 ---> create-netrc.sh [Pipeline] } 18:42:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:42:59 ---> python-tools-install.sh [Pipeline] echo 18:42:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:59 ---> sudo-logs.sh 18:42:59 Archiving 'sudo' log.. 18:42:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-2829.novalocal: Name or service not known 18:42:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-2829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:42:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:43:00 ---> job-cost.sh 18:43:00 lf-activate-venv: SKIPPING 18:43:00 DEBUG: total: 0.05999999865889549 18:43:00 INFO: Retrieving Stack Cost... 18:43:00 INFO: Retrieving Pricing Info for: v3-standard-2 18:43:00 INFO: Archiving Costs [Pipeline] echo 18:43:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:43:00 ---> logs-deploy.sh 18:43:00 lf-activate-venv: SKIPPING 18:43:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/21 18:43:00 INFO: archiving workspace using pattern(s): 18:43:01 Archives upload complete. 18:43:01 INFO: archiving logs to Nexus