Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4101374aba6aaebd04804f9de13bcb00ee2f3b6a Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5404070310792579420.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4354224370398285559.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4289601962269170349.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh5941538854506902245.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-ssh7600538208354736912.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1055 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-ssh6011547711303521736.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 4101374aba6aaebd04804f9de13bcb00ee2f3b6a (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 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 Commit message: "Merge pull request #239 from jpwhitemn/upgrade-alpine-314" > git rev-list --no-walk 60d9a57dff39513032cce8af6e955f5a8a0738df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:30:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:30:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:30:32 ========================================================= 23:30:32 EdgeX Global Pipelines Version Info 23:30:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:30:33 ------------------- 23:30:33 stable info: 23:30:33 ------------------- 23:30:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:30:33 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:30:33 Message: update stable to v1.0.205 23:30:34 ------------------- 23:30:34 experimental info: 23:30:34 ------------------- 23:30:34 Commited By: **** collab-it+edgex@linuxfoundation.org 23:30:34 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:30:34 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:30:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4101374 [Pipeline] echo 23:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:35 provisioning config files... 23:30:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8755409965373206384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:35 ---> docker-login.sh 23:30:35 nexus3.edgexfoundry.org:10001 23:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:36 Configure a credential helper to remove this warning. See 23:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:36 23:30:36 Login Succeeded 23:30:36 nexus3.edgexfoundry.org:10002 23:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:36 Configure a credential helper to remove this warning. See 23:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:36 23:30:36 Login Succeeded 23:30:36 nexus3.edgexfoundry.org:10003 23:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:36 Configure a credential helper to remove this warning. See 23:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:36 23:30:36 Login Succeeded 23:30:36 nexus3.edgexfoundry.org:10004 23:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:36 Configure a credential helper to remove this warning. See 23:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:36 23:30:36 Login Succeeded 23:30:36 docker.io 23:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:42 Configure a credential helper to remove this warning. See 23:30:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:42 23:30:42 Login Succeeded 23:30:42 ---> docker-login.sh ends [Pipeline] } 23:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:42 + git log --format=format:%s -1 4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] echo 23:30:42 GIT_COMMIT: 4101374aba6aaebd04804f9de13bcb00ee2f3b6a, Commit Message: Merge pull request #239 from jpwhitemn/upgrade-alpine-314 [Pipeline] echo 23:30:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:43 23:30:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:30:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:43 latest: Pulling from edgex-devops/git-semver 23:30:43 31603596830f: Pulling fs layer 23:30:43 04fac38145f0: Pulling fs layer 23:30:43 701f6daf10bf: Pulling fs layer 23:30:43 24f72da36158: Pulling fs layer 23:30:43 04fac38145f0: Verifying Checksum 23:30:43 04fac38145f0: Download complete 23:30:43 31603596830f: Verifying Checksum 23:30:43 31603596830f: Download complete 23:30:43 31603596830f: Pull complete 23:30:43 24f72da36158: Verifying Checksum 23:30:43 24f72da36158: Download complete 23:30:44 04fac38145f0: Pull complete 23:30:44 701f6daf10bf: Verifying Checksum 23:30:44 701f6daf10bf: Download complete 23:30:44 701f6daf10bf: Pull complete 23:30:45 24f72da36158: Pull complete 23:30:45 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:30:45 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:30:45 $ docker top 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:46 [ssh-agent] Looking for ssh-agent implementation... 23:30:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:46 $ docker exec 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 ssh-agent 23:30:46 SSH_AUTH_SOCK=/tmp/ssh-NDzq12nQROZ4/agent.13 23:30:46 SSH_AGENT_PID=19 23:30:46 Running ssh-add (command line suppressed) 23:30:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4301719943593245122.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4301719943593245122.key) 23:30:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:46 + git tag --points-at HEAD [Pipeline] } 23:30:46 $ docker exec --env ******** --env ******** 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 ssh-agent -k 23:30:46 unset SSH_AUTH_SOCK; 23:30:46 unset SSH_AGENT_PID; 23:30:46 echo Agent pid 19 killed; 23:30:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:30:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:47 [ssh-agent] Looking for ssh-agent implementation... 23:30:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:47 $ docker exec 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 ssh-agent 23:30:47 SSH_AUTH_SOCK=/tmp/ssh-ngkJ8TfLiLkt/agent.54 23:30:47 SSH_AGENT_PID=61 23:30:47 Running ssh-add (command line suppressed) 23:30:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8773998791301040454.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8773998791301040454.key) 23:30:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:47 + git semver init 23:30:47 # -> Open(): unable to determine branch for HEAD 23:30:47 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 23:30:47 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 23:30:47 # $SEMVER_REMOTE_NAME = origin 23:30:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:30:47 # $SEMVER_USER_NAME = edgex-jenkins 23:30:47 # $SEMVER_BRANCH = main 23:30:47 # $SEMVER_TEMP = /tmp/semver-611663128 23:30:47 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 23:30:49 # '/tmp/semver-611663128' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 23:30:49 # -> Force: false 23:30:49 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 23:30:49 $ docker exec --env ******** --env ******** 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 ssh-agent -k 23:30:49 unset SSH_AUTH_SOCK; 23:30:49 unset SSH_AGENT_PID; 23:30:49 echo Agent pid 61 killed; 23:30:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:49 + git semver [Pipeline] } 23:30:49 $ docker stop --time=1 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 23:30:50 $ docker rm -f 6421d2243f42c85fe350b5277010bd08e0363ef0283c89fdd7785f48875802a3 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:30:51 Stashed 1 file(s) [Pipeline] echo 23:30:51 [edgeXSemver]: initialized semver on version 2.0.1-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] node [Pipeline] node 23:31:06 Still waiting to schedule task 23:31:06 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ 23:31:06 ‘prd-centos7-docker-4c-2g-1051’ is offline 23:31:06 ‘prd-centos7-docker-4c-2g-1058’ is offline 23:31:06 Still waiting to schedule task 23:31:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:32:26 Running on prd-centos7-docker-4c-2g-1062 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 23:32:26 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 23:32:27 The recommended git tool is: git 23:32:30 using credential edgex-jenkins-ssh 23:32:30 Cloning the remote Git repository 23:32:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:32:30 > git init /w/workspace/device-virtual-go/6 # timeout=10 23:32:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:32:30 > git --version # timeout=10 23:32:30 > git --version # 'git version 2.24.4' 23:32:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:30 [INFO] Currently running in a labeled security context 23:32:30 [INFO] Currently SELinux is 'enforcing' on the host 23:32:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/6@tmp/jenkins-gitclient-ssh7337030482367427502.key 23:32:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:34 Avoid second fetch 23:32:34 Checking out Revision 4101374aba6aaebd04804f9de13bcb00ee2f3b6a (main) 23:32:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:32:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:34 > git config core.sparsecheckout # timeout=10 23:32:34 > git checkout -f 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 23:32:38 Commit message: "Merge pull request #239 from jpwhitemn/upgrade-alpine-314" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:38 provisioning config files... 23:32:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config3731840991858744577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:39 ---> docker-login.sh 23:32:39 nexus3.edgexfoundry.org:10001 23:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:39 Configure a credential helper to remove this warning. See 23:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:39 23:32:39 Login Succeeded 23:32:39 nexus3.edgexfoundry.org:10002 23:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:39 Configure a credential helper to remove this warning. See 23:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:39 23:32:39 Login Succeeded 23:32:39 nexus3.edgexfoundry.org:10003 23:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:39 Configure a credential helper to remove this warning. See 23:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:39 23:32:39 Login Succeeded 23:32:39 nexus3.edgexfoundry.org:10004 23:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:39 Configure a credential helper to remove this warning. See 23:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:39 23:32:39 Login Succeeded 23:32:39 docker.io 23:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:40 Configure a credential helper to remove this warning. See 23:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:40 23:32:40 Login Succeeded 23:32:40 ---> docker-login.sh ends [Pipeline] } 23:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:40 ========================================================= 23:32:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:32:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:32:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:32:40 Sending build context to Docker daemon 8.606MB 23:32:40 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:32:40 Step 2/12 : FROM ${BASE} AS builder 23:32:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:32:41 540db60ca938: Pulling fs layer 23:32:41 adcc1eea9eea: Pulling fs layer 23:32:41 4c4ab2625f07: Pulling fs layer 23:32:41 db62176df00c: Pulling fs layer 23:32:41 3b30891b0d05: Pulling fs layer 23:32:41 06b49ca38bd5: Pulling fs layer 23:32:41 c788192a36de: Pulling fs layer 23:32:41 a77e37c0d609: Pulling fs layer 23:32:41 c3185cebc471: Pulling fs layer 23:32:41 db62176df00c: Waiting 23:32:41 3b30891b0d05: Waiting 23:32:41 06b49ca38bd5: Waiting 23:32:41 c788192a36de: Waiting 23:32:41 a77e37c0d609: Waiting 23:32:41 c3185cebc471: Waiting 23:32:41 4c4ab2625f07: Verifying Checksum 23:32:41 4c4ab2625f07: Download complete 23:32:41 adcc1eea9eea: Download complete 23:32:41 3b30891b0d05: Verifying Checksum 23:32:41 3b30891b0d05: Download complete 23:32:41 06b49ca38bd5: Verifying Checksum 23:32:41 06b49ca38bd5: Download complete 23:32:41 c788192a36de: Verifying Checksum 23:32:41 c788192a36de: Download complete 23:32:41 540db60ca938: Verifying Checksum 23:32:41 540db60ca938: Download complete 23:32:41 540db60ca938: Pull complete 23:32:41 adcc1eea9eea: Pull complete 23:32:41 4c4ab2625f07: Pull complete 23:32:42 a77e37c0d609: Verifying Checksum 23:32:42 a77e37c0d609: Download complete 23:32:48 c3185cebc471: Verifying Checksum 23:32:48 c3185cebc471: Download complete 23:32:49 db62176df00c: Verifying Checksum 23:32:49 db62176df00c: Download complete 23:32:52 db62176df00c: Pull complete 23:32:52 3b30891b0d05: Pull complete 23:32:52 06b49ca38bd5: Pull complete 23:32:52 c788192a36de: Pull complete 23:32:52 a77e37c0d609: Pull complete 23:32:54 c3185cebc471: Pull complete 23:32:54 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:32:54 ---> 031687cdd783 23:32:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:32:57 ---> Running in 0083733d4651 23:32:57 Removing intermediate container 0083733d4651 23:32:57 ---> 1b3a35cfe2c2 23:32:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:32:57 ---> Running in 1bd2c5e28849 23:32:57 Removing intermediate container 1bd2c5e28849 23:32:57 ---> 8c960d65bf85 23:32:57 Step 5/12 : WORKDIR /device-virtual-go 23:32:57 ---> Running in 1e0f0aabb54b 23:32:57 Removing intermediate container 1e0f0aabb54b 23:32:57 ---> b1bb3deb7867 23:32:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:32:57 ---> Running in 88a40b440387 23:32:57 Removing intermediate container 88a40b440387 23:32:57 ---> a5187c30bd5d 23:32:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:32:57 ---> Running in b7b0207693d3 23:32:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:32:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:32:59 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:33:00 (2/3) Installing libedit (20191231.3.1-r1) 23:33:00 (3/3) Installing openssh-client (8.4_p1-r3) 23:33:00 Executing busybox-1.32.1-r6.trigger 23:33:00 OK: 223 MiB in 55 packages 23:33:00 Removing intermediate container b7b0207693d3 23:33:00 ---> ed498a593678 23:33:00 Step 8/12 : COPY . . 23:33:00 ---> 435549d7de36 23:33:00 Step 9/12 : RUN go mod tidy 23:33:01 ---> Running in 8b3ef7e945e8 23:33:06 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:33:06 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:33:06 go: downloading modernc.org/ql v1.0.0 23:33:06 go: downloading github.com/gorilla/mux v1.8.0 23:33:07 go: downloading github.com/stretchr/testify v1.7.0 23:33:07 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:33:07 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:33:07 go: downloading github.com/google/uuid v1.2.0 23:33:07 go: downloading github.com/go-kit/kit v0.9.0 23:33:07 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:33:07 go: downloading github.com/davecgh/go-spew v1.1.1 23:33:07 go: downloading github.com/pmezard/go-difflib v1.0.0 23:33:07 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:33:07 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:33:07 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:33:07 go: downloading github.com/pelletier/go-toml v1.9.2 23:33:07 go: downloading gopkg.in/yaml.v2 v2.4.0 23:33:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:33:08 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:33:08 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:33:08 go: downloading github.com/go-playground/universal-translator v0.17.0 23:33:08 go: downloading github.com/leodido/go-urn v1.2.0 23:33:08 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:33:08 go: downloading golang.org/x/text v0.3.2 23:33:08 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:33:08 go: downloading github.com/go-playground/locales v0.13.0 23:33:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:33:10 go: downloading github.com/go-stack/stack v1.8.0 23:33:10 go: downloading modernc.org/b v1.0.0 23:33:10 go: downloading modernc.org/db v1.0.0 23:33:10 go: downloading modernc.org/file v1.0.0 23:33:10 go: downloading modernc.org/golex v1.0.0 23:33:10 go: downloading modernc.org/internal v1.0.0 23:33:10 go: downloading modernc.org/lldb v1.0.0 23:33:10 go: downloading modernc.org/mathutil v1.0.0 23:33:10 go: downloading modernc.org/strutil v1.0.0 23:33:10 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:33:10 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:33:10 go: downloading github.com/hashicorp/consul/api v1.8.1 23:33:10 go: downloading github.com/x448/float16 v0.8.4 23:33:10 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:33:10 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:33:11 go: downloading modernc.org/fileutil v1.0.0 23:33:11 go: downloading modernc.org/sortutil v1.0.0 23:33:11 go: downloading modernc.org/zappy v1.0.0 23:33:11 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 23:33:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:33:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:33:11 go: downloading github.com/pebbe/zmq4 v1.2.7 23:33:11 go: downloading github.com/stretchr/objx v0.1.0 23:33:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:33:11 go: downloading github.com/kr/pretty v0.2.0 23:33:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:33:11 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:33:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:33:12 go: downloading github.com/hashicorp/serf v0.9.5 23:33:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:33:12 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:33:12 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:33:12 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:33:12 go: downloading github.com/golang/snappy v0.0.1 23:33:12 go: downloading github.com/gorilla/websocket v1.4.2 23:33:12 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:33:12 go: downloading github.com/onsi/ginkgo v1.10.1 23:33:12 go: downloading github.com/onsi/gomega v1.7.0 23:33:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:33:12 go: downloading github.com/mitchellh/copystructure v1.0.0 23:33:12 go: downloading github.com/kr/text v0.1.0 23:33:12 go: downloading github.com/fatih/color v1.9.0 23:33:13 go: downloading github.com/mattn/go-colorable v0.1.6 23:33:13 go: downloading github.com/mattn/go-isatty v0.0.12 23:33:13 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:33:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:33:13 go: downloading github.com/pkg/errors v0.8.1 23:33:13 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:33:13 go: downloading github.com/hashicorp/memberlist v0.2.2 23:33:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:33:13 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:33:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:33:13 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:33:13 go: downloading github.com/hpcloud/tail v1.0.0 23:33:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:33:13 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:33:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:33:13 go: downloading github.com/miekg/dns v1.1.26 23:33:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:33:13 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:33:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:33:14 go: downloading github.com/hashicorp/errwrap v1.0.0 23:33:14 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:33:19 Removing intermediate container 8b3ef7e945e8 23:33:19 ---> 7e8558b04fba 23:33:19 Step 10/12 : RUN go mod download 23:33:19 ---> Running in dc66f8cbf5af 23:33:31 Removing intermediate container dc66f8cbf5af 23:33:31 ---> 94e023d2f9f6 23:33:31 Step 11/12 : ARG MAKE='make build' 23:33:31 ---> Running in 0ff071407194 23:33:31 Removing intermediate container 0ff071407194 23:33:31 ---> 63bf4f68b101 23:33:31 Step 12/12 : RUN $MAKE 23:33:31 ---> Running in 4191042a3c11 23:33:32 noop 23:33:32 Removing intermediate container 4191042a3c11 23:33:32 ---> 81e413ce7f18 23:33:32 Successfully built 81e413ce7f18 23:33:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:33:32 + docker inspect -f . ci-base-image-x86_64 23:33:32 . [Pipeline] withDockerContainer 23:33:32 prd-centos7-docker-4c-2g-1062 does not seem to be running inside a container 23:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 23:33:33 $ docker top 68986ac4a697f0b20315f0c7a45bbc5fce8dfb5ae60e416246d59e71179eef89 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:33 + go version 23:33:33 go version go1.16.6 linux/amd64 [Pipeline] } 23:33:33 $ docker stop --time=1 68986ac4a697f0b20315f0c7a45bbc5fce8dfb5ae60e416246d59e71179eef89 23:33:35 $ docker rm -f 68986ac4a697f0b20315f0c7a45bbc5fce8dfb5ae60e416246d59e71179eef89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:33:35 + docker inspect -f . ci-base-image-x86_64 23:33:35 . [Pipeline] withDockerContainer 23:33:35 prd-centos7-docker-4c-2g-1062 does not seem to be running inside a container 23:33:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 23:33:36 $ docker top b31d11fd70fac7d34401d1de642afa929ab03b8e49f6219fffa0e55a3b8e5197 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:33:36 + go mod tidy [Pipeline] sh 23:33:37 + make test 23:33:37 go mod tidy 23:33:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:33:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:33:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:33:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.242s coverage: 64.6% of statements 23:33:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:34:05 gofmt -l . 23:34:05 [ "`gofmt -l .`" = "" ] 23:34:05 ./bin/test-attribution-txt.sh 23:34:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:34:05 $ docker stop --time=1 b31d11fd70fac7d34401d1de642afa929ab03b8e49f6219fffa0e55a3b8e5197 23:34:07 $ docker rm -f b31d11fd70fac7d34401d1de642afa929ab03b8e49f6219fffa0e55a3b8e5197 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:34:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:34:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:34:09 + ls -al . 23:34:09 total 144 23:34:09 drwxrwxr-x. 7 jenkins jenkins 4096 Sep 23 23:34 . 23:34:09 drwxrwxr-x. 4 jenkins jenkins 28 Sep 23 23:32 .. 23:34:09 -rw-rw-r--. 1 jenkins jenkins 8153 Sep 23 23:32 Attribution.txt 23:34:09 drwxrwxr-x. 2 jenkins jenkins 64 Sep 23 23:32 bin 23:34:09 -rw-rw-r--. 1 jenkins jenkins 6349 Sep 23 23:32 CHANGELOG.md 23:34:09 drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 23:32 cmd 23:34:09 -rw-r--r--. 1 jenkins jenkins 46339 Sep 23 23:33 coverage.out 23:34:09 -rw-rw-r--. 1 jenkins jenkins 1921 Sep 23 23:32 Dockerfile 23:34:09 drwxrwxr-x. 8 jenkins jenkins 162 Sep 23 23:32 .git 23:34:09 drwxrwxr-x. 2 jenkins jenkins 103 Sep 23 23:32 .github 23:34:09 -rw-rw-r--. 1 jenkins jenkins 277 Sep 23 23:32 .gitignore 23:34:09 -rw-r--r--. 1 jenkins jenkins 795 Sep 23 23:34 go.mod 23:34:09 -rw-r--r--. 1 jenkins jenkins 22824 Sep 23 23:33 go.sum 23:34:09 -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 23:32 GOVERNANCE.md 23:34:09 drwxrwxr-x. 3 jenkins jenkins 20 Sep 23 23:32 internal 23:34:09 -rw-rw-r--. 1 jenkins jenkins 660 Sep 23 23:32 Jenkinsfile 23:34:09 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 23:32 LICENSE 23:34:09 -rw-rw-r--. 1 jenkins jenkins 905 Sep 23 23:32 Makefile 23:34:09 -rw-rw-r--. 1 jenkins jenkins 623 Sep 23 23:32 OWNERS.md 23:34:09 -rw-rw-r--. 1 jenkins jenkins 2913 Sep 23 23:32 README.md 23:34:09 -rw-rw-r--. 1 jenkins jenkins 11 Sep 23 23:30 VERSION 23:34:09 -rw-rw-r--. 1 jenkins jenkins 235 Sep 23 23:32 version.go [Pipeline] isUnix [Pipeline] sh 23:34:09 + 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=4101374aba6aaebd04804f9de13bcb00ee2f3b6a --label arch=amd64 --label version=2.0.1-dev.5 . 23:34:09 Sending build context to Docker daemon 8.677MB 23:34:09 Step 1/26 : ARG BASE=golang:1.16-alpine3.14 23:34:09 Step 2/26 : FROM ${BASE} AS builder 23:34:09 ---> 81e413ce7f18 23:34:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:34:09 ---> Running in 20014c56ab1e 23:34:09 Removing intermediate container 20014c56ab1e 23:34:09 ---> 24563a6c76bc 23:34:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:34:10 ---> Running in e7f45eaee3ac 23:34:10 Removing intermediate container e7f45eaee3ac 23:34:10 ---> 196982061740 23:34:10 Step 5/26 : WORKDIR /device-virtual-go 23:34:10 ---> Running in dad0751571c3 23:34:10 Removing intermediate container dad0751571c3 23:34:10 ---> 5eb7e3a7e49e 23:34:10 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:34:10 ---> Running in 27f9d45403a1 23:34:11 Removing intermediate container 27f9d45403a1 23:34:11 ---> ea450c4013b6 23:34:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:11 ---> Running in 21e98c3d7a58 23:34:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:34:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:34:12 OK: 223 MiB in 55 packages 23:34:12 Removing intermediate container 21e98c3d7a58 23:34:12 ---> 2f353929fb4c 23:34:12 Step 8/26 : COPY . . 23:34:13 ---> 3677103fbdec 23:34:13 Step 9/26 : RUN go mod tidy 23:34:13 ---> Running in 7903c6f9af6f 23:34:14 Removing intermediate container 7903c6f9af6f 23:34:14 ---> eb06753e9265 23:34:14 Step 10/26 : RUN go mod download 23:34:14 ---> Running in b2507a8434ad 23:34:14 Removing intermediate container b2507a8434ad 23:34:14 ---> 1c7c0f7c0997 23:34:14 Step 11/26 : ARG MAKE='make build' 23:34:14 ---> Running in deb9b0a6d43e 23:34:14 Removing intermediate container deb9b0a6d43e 23:34:14 ---> 3b883a2a63ce 23:34:14 Step 12/26 : RUN $MAKE 23:34:14 ---> Running in 3f4a755b5d84 23:34:14 go mod tidy 23:34:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.5" -o cmd/device-virtual ./cmd 23:34:33 Removing intermediate container 3f4a755b5d84 23:34:33 ---> 738ef626a564 23:34:33 Step 13/26 : FROM alpine:3.14 23:34:33 3.14: Pulling from library/alpine 23:34:33 a0d0a0d46f8b: Pulling fs layer 23:34:33 a0d0a0d46f8b: Verifying Checksum 23:34:33 a0d0a0d46f8b: Download complete 23:34:33 a0d0a0d46f8b: Pull complete 23:34:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:34:33 Status: Downloaded newer image for alpine:3.14 23:34:33 ---> 14119a10abf4 23:34:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:34:33 ---> Running in e6267c10a20c 23:34:33 Removing intermediate container e6267c10a20c 23:34:33 ---> 4d8defec58b0 23:34:33 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:34:33 ---> Running in 602fe15d42f9 23:34:33 Removing intermediate container 602fe15d42f9 23:34:33 ---> b46bea6352ff 23:34:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:34:33 ---> Running in 73ec81ead0ae 23:34:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:34:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:34:35 (1/6) Installing dumb-init (1.2.5-r1) 23:34:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:34:35 (3/6) Installing libsodium (1.0.18-r0) 23:34:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:34:35 (5/6) Installing libzmq (4.3.4-r0) 23:34:35 (6/6) Installing zeromq (4.3.4-r0) 23:34:36 Executing busybox-1.33.1-r3.trigger 23:34:36 OK: 8 MiB in 20 packages 23:34:36 Removing intermediate container 73ec81ead0ae 23:34:36 ---> d3f3926c6cb3 23:34:36 Step 17/26 : WORKDIR / 23:34:36 ---> Running in 0e7ac5d7eceb 23:34:36 Removing intermediate container 0e7ac5d7eceb 23:34:36 ---> e2a8a2e2c80e 23:34:36 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:34:36 ---> 0c4d110136ad 23:34:36 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:34:36 ---> caad589f8210 23:34:36 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:34:37 ---> e76a26a71466 23:34:37 Step 21/26 : EXPOSE 59900 23:34:37 ---> Running in 2e639379d83d 23:34:37 Removing intermediate container 2e639379d83d 23:34:37 ---> b77b91e05761 23:34:37 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:34:37 ---> Running in 7e506bd07235 23:34:37 Removing intermediate container 7e506bd07235 23:34:37 ---> d1258df2d208 23:34:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:34:37 ---> Running in 104d14f3aa7b 23:34:37 Removing intermediate container 104d14f3aa7b 23:34:37 ---> 7adb66b787ee 23:34:37 Step 24/26 : LABEL arch=amd64 23:34:37 ---> Running in 96aa1703ab84 23:34:37 Removing intermediate container 96aa1703ab84 23:34:37 ---> 793c13c44b71 23:34:37 Step 25/26 : LABEL git_sha=4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:34:37 ---> Running in 70ce4a0722ca 23:34:37 Removing intermediate container 70ce4a0722ca 23:34:37 ---> 75a91d9830a9 23:34:37 Step 26/26 : LABEL version=2.0.1-dev.5 23:34:37 ---> Running in 441ddc23ecd1 23:34:37 Removing intermediate container 441ddc23ecd1 23:34:37 ---> 8caa7be446ed 23:34:37 [Warning] One or more build-args [ARCH] were not consumed 23:34:37 Successfully built 8caa7be446ed 23:34:37 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:38 provisioning config files... 23:34:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config3344823001133992001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:38 ---> docker-login.sh 23:34:38 nexus3.edgexfoundry.org:10001 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10002 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10003 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10004 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 docker.io 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:39 Configure a credential helper to remove this warning. See 23:34:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:39 23:34:39 Login Succeeded 23:34:39 ---> docker-login.sh ends [Pipeline] } 23:34:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:34:39 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 23:34:39 4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:34:39 latest 23:34:39 2.0.1-dev.5 23:34:39 4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:34:39 main 23:34:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:34:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] isUnix [Pipeline] sh 23:34:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:34:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:34:40 0df285d312e1: Preparing 23:34:40 f35c6c95f0b7: Preparing 23:34:40 6f8a1224d3b6: Preparing 23:34:40 9cde48bd79ef: Preparing 23:34:40 a1731f177deb: Preparing 23:34:40 e2eb06d8af82: Preparing 23:34:40 e2eb06d8af82: Waiting 23:34:40 f35c6c95f0b7: Pushed 23:34:40 a1731f177deb: Pushed 23:34:40 6f8a1224d3b6: Pushed 23:34:40 e2eb06d8af82: Layer already exists 23:34:40 9cde48bd79ef: Pushed 23:34:42 0df285d312e1: Pushed 23:34:42 4101374aba6aaebd04804f9de13bcb00ee2f3b6a: digest: sha256:675919eb6303723f7398a74d8b8a6c4d0dc738c11237968139077aed33cc85b1 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:34:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 23:34:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 23:34:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:34:43 0df285d312e1: Preparing 23:34:43 f35c6c95f0b7: Preparing 23:34:43 6f8a1224d3b6: Preparing 23:34:43 9cde48bd79ef: Preparing 23:34:43 a1731f177deb: Preparing 23:34:43 e2eb06d8af82: Preparing 23:34:43 e2eb06d8af82: Waiting 23:34:43 a1731f177deb: Layer already exists 23:34:43 0df285d312e1: Layer already exists 23:34:43 9cde48bd79ef: Layer already exists 23:34:43 f35c6c95f0b7: Layer already exists 23:34:43 6f8a1224d3b6: Layer already exists 23:34:43 e2eb06d8af82: Layer already exists 23:34:43 latest: digest: sha256:675919eb6303723f7398a74d8b8a6c4d0dc738c11237968139077aed33cc85b1 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:34:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 23:34:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.5 23:34:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:34:43 0df285d312e1: Preparing 23:34:43 f35c6c95f0b7: Preparing 23:34:43 6f8a1224d3b6: Preparing 23:34:43 9cde48bd79ef: Preparing 23:34:43 a1731f177deb: Preparing 23:34:43 e2eb06d8af82: Preparing 23:34:43 e2eb06d8af82: Waiting 23:34:43 6f8a1224d3b6: Layer already exists 23:34:43 f35c6c95f0b7: Layer already exists 23:34:43 9cde48bd79ef: Layer already exists 23:34:43 a1731f177deb: Layer already exists 23:34:43 0df285d312e1: Layer already exists 23:34:43 e2eb06d8af82: Layer already exists 23:34:43 2.0.1-dev.5: digest: sha256:675919eb6303723f7398a74d8b8a6c4d0dc738c11237968139077aed33cc85b1 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:34:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 23:34:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:34:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:34:44 0df285d312e1: Preparing 23:34:44 f35c6c95f0b7: Preparing 23:34:44 6f8a1224d3b6: Preparing 23:34:44 9cde48bd79ef: Preparing 23:34:44 a1731f177deb: Preparing 23:34:44 e2eb06d8af82: Preparing 23:34:44 e2eb06d8af82: Waiting 23:34:44 9cde48bd79ef: Layer already exists 23:34:44 6f8a1224d3b6: Layer already exists 23:34:44 a1731f177deb: Layer already exists 23:34:44 f35c6c95f0b7: Layer already exists 23:34:44 0df285d312e1: Layer already exists 23:34:44 e2eb06d8af82: Layer already exists 23:34:44 4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5: digest: sha256:675919eb6303723f7398a74d8b8a6c4d0dc738c11237968139077aed33cc85b1 size: 1573 [Pipeline] isUnix [Pipeline] sh 23:34:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 23:34:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 23:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:34:45 0df285d312e1: Preparing 23:34:45 f35c6c95f0b7: Preparing 23:34:45 6f8a1224d3b6: Preparing 23:34:45 9cde48bd79ef: Preparing 23:34:45 a1731f177deb: Preparing 23:34:45 e2eb06d8af82: Preparing 23:34:45 e2eb06d8af82: Waiting 23:34:45 a1731f177deb: Layer already exists 23:34:45 0df285d312e1: Layer already exists 23:34:45 6f8a1224d3b6: Layer already exists 23:34:45 f35c6c95f0b7: Layer already exists 23:34:45 9cde48bd79ef: Layer already exists 23:34:45 e2eb06d8af82: Layer already exists 23:34:45 main: digest: sha256:675919eb6303723f7398a74d8b8a6c4d0dc738c11237968139077aed33cc85b1 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:34:45 ===================================================== [Pipeline] echo 23:34:45 taggedImages: 23:34:45 - nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:34:45 - nexus3.edgexfoundry.org:10004/device-virtual:latest 23:34:45 - nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.5 23:34:45 - nexus3.edgexfoundry.org:10004/device-virtual:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:34:45 - 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 23:34:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:45 23:34:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:34:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:46 latest: Pulling from edgex-lftools-log-publisher 23:34:46 b4d181a07f80: Pulling fs layer 23:34:46 a1111a8f2ec3: Pulling fs layer 23:34:46 ed53099fbce6: Pulling fs layer 23:34:46 dc539afda2c1: Pulling fs layer 23:34:46 77bc0d833cb6: Pulling fs layer 23:34:46 9065ff56babe: Pulling fs layer 23:34:46 d287ab97295c: Pulling fs layer 23:34:46 dc539afda2c1: Waiting 23:34:46 77bc0d833cb6: Waiting 23:34:46 9065ff56babe: Waiting 23:34:46 d287ab97295c: Waiting 23:34:46 a1111a8f2ec3: Verifying Checksum 23:34:46 a1111a8f2ec3: Download complete 23:34:46 dc539afda2c1: Download complete 23:34:46 77bc0d833cb6: Verifying Checksum 23:34:46 77bc0d833cb6: Download complete 23:34:46 9065ff56babe: Verifying Checksum 23:34:46 9065ff56babe: Download complete 23:34:47 ed53099fbce6: Verifying Checksum 23:34:47 ed53099fbce6: Download complete 23:34:47 b4d181a07f80: Verifying Checksum 23:34:47 b4d181a07f80: Download complete 23:34:48 b4d181a07f80: Pull complete 23:34:49 a1111a8f2ec3: Pull complete 23:34:49 ed53099fbce6: Pull complete 23:34:49 dc539afda2c1: Pull complete 23:34:49 77bc0d833cb6: Pull complete 23:34:50 9065ff56babe: Pull complete 23:34:51 d287ab97295c: Verifying Checksum 23:34:51 d287ab97295c: Download complete 23:34:56 d287ab97295c: Pull complete 23:34:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:34:56 prd-centos7-docker-4c-2g-1062 does not seem to be running inside a container 23:34:56 $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 23:34:59 $ docker top ea37bfbe8161d0e9c55fc31ee99fdff84ec70ac69a55dd38c1ce5207ee8cfa45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:59 ---> job-cost.sh 23:34:59 lf-activate-venv: SKIPPING 23:34:59 INFO: No Stack... 23:35:00 INFO: Retrieving Pricing Info for: v3-standard-2 23:35:00 INFO: Archiving Costs [Pipeline] sh 23:35:01 + cat /w/workspace/device-virtual-go/6/archives/cost.csv 23:35:01 + cut -d, -f6 [Pipeline] lock 23:35:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] 23:35:01 Resource [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] did not exist. Created. 23:35:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:35:01 + echo total: 0.05999999865889549 [Pipeline] stash 23:35:01 Stashed 1 file(s) [Pipeline] } 23:35:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 23:35:01 $ docker stop --time=1 ea37bfbe8161d0e9c55fc31ee99fdff84ec70ac69a55dd38c1ce5207ee8cfa45 23:35:02 $ docker rm -f ea37bfbe8161d0e9c55fc31ee99fdff84ec70ac69a55dd38c1ce5207ee8cfa45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:35:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1069 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 23:35:38 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 23:35:39 The recommended git tool is: git 23:35:45 using credential edgex-jenkins-ssh 23:35:45 Cloning the remote Git repository 23:35:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:35:45 > git init /w/workspace/device-virtual-go/6 # timeout=10 23:35:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:35:45 > git --version # timeout=10 23:35:45 > git --version # 'git version 2.17.1' 23:35:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:35:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:35:48 Avoid second fetch 23:35:48 Checking out Revision 4101374aba6aaebd04804f9de13bcb00ee2f3b6a (main) 23:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:35:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:35:48 > git config core.sparsecheckout # timeout=10 23:35:48 > git checkout -f 4101374aba6aaebd04804f9de13bcb00ee2f3b6a # timeout=10 23:35:53 Commit message: "Merge pull request #239 from jpwhitemn/upgrade-alpine-314" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:53 provisioning config files... 23:35:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config1416355059875136117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:54 ---> docker-login.sh 23:35:54 nexus3.edgexfoundry.org:10001 23:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:56 Configure a credential helper to remove this warning. See 23:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:56 23:35:56 Login Succeeded 23:35:56 nexus3.edgexfoundry.org:10002 23:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:57 Configure a credential helper to remove this warning. See 23:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:57 23:35:57 Login Succeeded 23:35:57 nexus3.edgexfoundry.org:10003 23:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:57 Configure a credential helper to remove this warning. See 23:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:57 23:35:57 Login Succeeded 23:35:57 nexus3.edgexfoundry.org:10004 23:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:58 Configure a credential helper to remove this warning. See 23:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:58 23:35:58 Login Succeeded 23:35:58 docker.io 23:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:59 Configure a credential helper to remove this warning. See 23:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:59 23:35:59 Login Succeeded 23:35:59 ---> docker-login.sh ends [Pipeline] } 23:35:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:35:59 ========================================================= 23:35:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:35:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:36:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:36:00 Sending build context to Docker daemon 8.604MB 23:36:00 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:36:00 Step 2/12 : FROM ${BASE} AS builder 23:36:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:36:00 595b0fe564bb: Pulling fs layer 23:36:00 24495759ef45: Pulling fs layer 23:36:00 d148012ef14d: Pulling fs layer 23:36:00 e90a11edd702: Pulling fs layer 23:36:00 d77568369979: Pulling fs layer 23:36:00 fc1c9f9a7f3b: Pulling fs layer 23:36:00 170f2ba95c9a: Pulling fs layer 23:36:00 97ac5df62f85: Pulling fs layer 23:36:00 d77568369979: Waiting 23:36:00 fc1c9f9a7f3b: Waiting 23:36:00 e90a11edd702: Waiting 23:36:00 170f2ba95c9a: Waiting 23:36:00 97ac5df62f85: Waiting 23:36:00 d148012ef14d: Download complete 23:36:00 24495759ef45: Download complete 23:36:00 d77568369979: Verifying Checksum 23:36:00 fc1c9f9a7f3b: Download complete 23:36:00 595b0fe564bb: Verifying Checksum 23:36:00 595b0fe564bb: Download complete 23:36:01 170f2ba95c9a: Verifying Checksum 23:36:01 170f2ba95c9a: Download complete 23:36:01 595b0fe564bb: Pull complete 23:36:02 24495759ef45: Pull complete 23:36:03 d148012ef14d: Pull complete 23:36:05 97ac5df62f85: Verifying Checksum 23:36:05 97ac5df62f85: Download complete 23:36:05 e90a11edd702: Verifying Checksum 23:36:05 e90a11edd702: Download complete 23:36:15 e90a11edd702: Pull complete 23:36:15 d77568369979: Pull complete 23:36:16 fc1c9f9a7f3b: Pull complete 23:36:16 170f2ba95c9a: Pull complete 23:36:21 97ac5df62f85: Pull complete 23:36:21 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:36:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:36:21 ---> 04bc70af865f 23:36:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:36:28 ---> Running in 066f4fb2017e 23:36:28 Removing intermediate container 066f4fb2017e 23:36:28 ---> 835416a00948 23:36:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:36:28 ---> Running in 75449a3431ac 23:36:29 Removing intermediate container 75449a3431ac 23:36:29 ---> 7ff33d5bacc5 23:36:29 Step 5/12 : WORKDIR /device-virtual-go 23:36:29 ---> Running in 6353f2c69cf5 23:36:30 Removing intermediate container 6353f2c69cf5 23:36:30 ---> e737a8ced181 23:36:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:30 ---> Running in c0acb56d3d40 23:36:34 Removing intermediate container c0acb56d3d40 23:36:34 ---> a40624c49e44 23:36:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:34 ---> Running in 59529bd3b481 23:36:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:36:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:36:38 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:36:38 (2/3) Installing libedit (20191231.3.1-r1) 23:36:38 (3/3) Installing openssh-client (8.4_p1-r3) 23:36:40 Executing busybox-1.32.1-r6.trigger 23:36:40 OK: 222 MiB in 55 packages 23:36:41 Removing intermediate container 59529bd3b481 23:36:41 ---> 787c132d49c9 23:36:41 Step 8/12 : COPY . . 23:36:43 ---> 9cf385a5a67d 23:36:43 Step 9/12 : RUN go mod tidy 23:36:44 ---> Running in 29053ec3d487 23:36:52 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:36:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:36:52 go: downloading modernc.org/ql v1.0.0 23:36:52 go: downloading github.com/gorilla/mux v1.8.0 23:36:52 go: downloading github.com/stretchr/testify v1.7.0 23:36:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:36:52 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:36:52 go: downloading github.com/google/uuid v1.2.0 23:36:52 go: downloading github.com/go-kit/kit v0.9.0 23:36:52 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:36:52 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:36:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:36:52 go: downloading github.com/pelletier/go-toml v1.9.2 23:36:52 go: downloading gopkg.in/yaml.v2 v2.4.0 23:36:52 go: downloading github.com/davecgh/go-spew v1.1.1 23:36:55 go: downloading github.com/pmezard/go-difflib v1.0.0 23:36:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:36:55 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:36:55 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:36:55 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:36:55 go: downloading github.com/go-playground/universal-translator v0.17.0 23:36:55 go: downloading github.com/leodido/go-urn v1.2.0 23:36:55 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:36:55 go: downloading golang.org/x/text v0.3.2 23:36:55 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:36:55 go: downloading github.com/go-playground/locales v0.13.0 23:36:57 go: downloading modernc.org/b v1.0.0 23:36:57 go: downloading modernc.org/golex v1.0.0 23:36:57 go: downloading modernc.org/db v1.0.0 23:36:57 go: downloading modernc.org/file v1.0.0 23:36:57 go: downloading modernc.org/internal v1.0.0 23:36:57 go: downloading modernc.org/lldb v1.0.0 23:36:57 go: downloading modernc.org/mathutil v1.0.0 23:36:57 go: downloading modernc.org/strutil v1.0.0 23:36:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:36:57 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:36:57 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:36:58 go: downloading github.com/go-stack/stack v1.8.0 23:36:58 go: downloading github.com/hashicorp/consul/api v1.8.1 23:36:58 go: downloading github.com/x448/float16 v0.8.4 23:36:58 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:36:58 go: downloading github.com/stretchr/objx v0.1.0 23:36:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:36:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:36:58 go: downloading github.com/pebbe/zmq4 v1.2.7 23:36:58 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 23:36:58 go: downloading modernc.org/fileutil v1.0.0 23:36:58 go: downloading modernc.org/sortutil v1.0.0 23:36:58 go: downloading modernc.org/zappy v1.0.0 23:36:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:36:58 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:36:58 go: downloading github.com/kr/pretty v0.2.0 23:36:58 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:36:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:36:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:36:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:36:58 go: downloading github.com/hashicorp/serf v0.9.5 23:36:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:36:58 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:36:59 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:36:59 go: downloading github.com/gorilla/websocket v1.4.2 23:36:59 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:36:59 go: downloading github.com/onsi/ginkgo v1.10.1 23:36:59 go: downloading github.com/onsi/gomega v1.7.0 23:36:59 go: downloading github.com/golang/snappy v0.0.1 23:36:59 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:36:59 go: downloading github.com/mitchellh/copystructure v1.0.0 23:36:59 go: downloading github.com/kr/text v0.1.0 23:37:00 go: downloading github.com/fatih/color v1.9.0 23:37:00 go: downloading github.com/mattn/go-colorable v0.1.6 23:37:00 go: downloading github.com/mattn/go-isatty v0.0.12 23:37:00 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:37:00 go: downloading github.com/pkg/errors v0.8.1 23:37:00 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:37:00 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:37:00 go: downloading github.com/hashicorp/memberlist v0.2.2 23:37:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:37:00 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:37:00 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:37:00 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:37:00 go: downloading github.com/hpcloud/tail v1.0.0 23:37:00 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:37:00 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:37:00 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:37:00 go: downloading github.com/miekg/dns v1.1.26 23:37:00 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:37:00 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:37:01 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:37:01 go: downloading github.com/hashicorp/errwrap v1.0.0 23:37:01 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:37:19 Removing intermediate container 29053ec3d487 23:37:19 ---> c18cb4bb1c76 23:37:19 Step 10/12 : RUN go mod download 23:37:19 ---> Running in a3aa7c643d0d 23:37:41 Removing intermediate container a3aa7c643d0d 23:37:41 ---> a55589b0929f 23:37:41 Step 11/12 : ARG MAKE='make build' 23:37:41 ---> Running in 3986d23d1392 23:37:41 Removing intermediate container 3986d23d1392 23:37:41 ---> 938c3990f3a4 23:37:41 Step 12/12 : RUN $MAKE 23:37:41 ---> Running in 3a30182b158b 23:37:41 noop 23:37:42 Removing intermediate container 3a30182b158b 23:37:42 ---> 61051623224f 23:37:42 Successfully built 61051623224f 23:37:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:37:42 + docker inspect -f . ci-base-image-arm64 23:37:42 . [Pipeline] withDockerContainer 23:37:43 prd-ubuntu18.04-docker-arm64-4c-16g-1069 does not seem to be running inside a container 23:37:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:37:45 $ docker top f81a99cbb89d1e6dfca5faaba4f88fb40838a8e977d1ad8fb2fe73a1c954af78 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:46 + go version 23:37:46 go version go1.16.6 linux/arm64 [Pipeline] } 23:37:46 $ docker stop --time=1 f81a99cbb89d1e6dfca5faaba4f88fb40838a8e977d1ad8fb2fe73a1c954af78 23:37:48 $ docker rm -f f81a99cbb89d1e6dfca5faaba4f88fb40838a8e977d1ad8fb2fe73a1c954af78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:37:49 + docker inspect -f . ci-base-image-arm64 23:37:49 . [Pipeline] withDockerContainer 23:37:49 prd-ubuntu18.04-docker-arm64-4c-16g-1069 does not seem to be running inside a container 23:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:37:51 $ docker top ce27bea3bd0d86ea287ca7f06617a676fd2728d78de49ab57777d972dc0c1b05 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:37:53 + go mod tidy [Pipeline] sh 23:37:54 + make test 23:37:54 go mod tidy 23:37:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:37:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:39:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:39:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.365s coverage: 64.6% of statements 23:39:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:39:59 gofmt -l . 23:39:59 [ "`gofmt -l .`" = "" ] 23:39:59 ./bin/test-attribution-txt.sh 23:39:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:39:59 $ docker stop --time=1 ce27bea3bd0d86ea287ca7f06617a676fd2728d78de49ab57777d972dc0c1b05 23:40:01 $ docker rm -f ce27bea3bd0d86ea287ca7f06617a676fd2728d78de49ab57777d972dc0c1b05 [Pipeline] // withDockerContainer [Pipeline] sh 23:40:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:40:02 Warning: overwriting stash ‘coverage-report’ 23:40:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:40:04 + ls -al . 23:40:04 total 168 23:40:04 drwxrwxr-x 7 jenkins jenkins 4096 Sep 23 23:39 . 23:40:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 23:35 .. 23:40:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 23:35 .git 23:40:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:35 .github 23:40:04 -rw-rw-r-- 1 jenkins jenkins 277 Sep 23 23:35 .gitignore 23:40:04 -rw-rw-r-- 1 jenkins jenkins 8153 Sep 23 23:35 Attribution.txt 23:40:04 -rw-rw-r-- 1 jenkins jenkins 6349 Sep 23 23:35 CHANGELOG.md 23:40:04 -rw-rw-r-- 1 jenkins jenkins 1921 Sep 23 23:35 Dockerfile 23:40:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 23:35 GOVERNANCE.md 23:40:04 -rw-rw-r-- 1 jenkins jenkins 660 Sep 23 23:35 Jenkinsfile 23:40:04 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 23:35 LICENSE 23:40:04 -rw-rw-r-- 1 jenkins jenkins 905 Sep 23 23:35 Makefile 23:40:04 -rw-rw-r-- 1 jenkins jenkins 623 Sep 23 23:35 OWNERS.md 23:40:04 -rw-rw-r-- 1 jenkins jenkins 2913 Sep 23 23:35 README.md 23:40:04 -rw-rw-r-- 1 jenkins jenkins 11 Sep 23 23:30 VERSION 23:40:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:35 bin 23:40:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 23:35 cmd 23:40:04 -rw-r--r-- 1 jenkins jenkins 46339 Sep 23 23:39 coverage.out 23:40:04 -rw-r--r-- 1 jenkins jenkins 795 Sep 23 23:39 go.mod 23:40:04 -rw-r--r-- 1 jenkins jenkins 22824 Sep 23 23:37 go.sum 23:40:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 23:35 internal 23:40:04 -rw-rw-r-- 1 jenkins jenkins 235 Sep 23 23:35 version.go [Pipeline] isUnix [Pipeline] sh 23:40:04 + 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=4101374aba6aaebd04804f9de13bcb00ee2f3b6a --label arch=arm64 --label version=2.0.1-dev.5 . 23:40:05 Sending build context to Docker daemon 8.674MB 23:40:05 Step 1/26 : ARG BASE=golang:1.16-alpine3.14 23:40:05 Step 2/26 : FROM ${BASE} AS builder 23:40:05 ---> 61051623224f 23:40:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:40:05 ---> Running in 922e3d060d85 23:40:06 Removing intermediate container 922e3d060d85 23:40:06 ---> 10b55c5dcf69 23:40:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:40:06 ---> Running in df5a199bdd8c 23:40:06 Removing intermediate container df5a199bdd8c 23:40:06 ---> 74d61134e7dd 23:40:06 Step 5/26 : WORKDIR /device-virtual-go 23:40:07 ---> Running in f0a0418a9bcf 23:40:07 Removing intermediate container f0a0418a9bcf 23:40:07 ---> 70ac5a0f8ad1 23:40:07 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:40:08 ---> Running in 91550875ab02 23:40:10 Removing intermediate container 91550875ab02 23:40:10 ---> cf59e573ff14 23:40:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:10 ---> Running in ba3527d50f55 23:40:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:40:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:40:14 OK: 222 MiB in 55 packages 23:40:15 Removing intermediate container ba3527d50f55 23:40:15 ---> 3b5a9f02b64e 23:40:15 Step 8/26 : COPY . . 23:40:16 ---> 2cd66614a485 23:40:16 Step 9/26 : RUN go mod tidy 23:40:16 ---> Running in e6f59291e1ab 23:40:20 Removing intermediate container e6f59291e1ab 23:40:20 ---> 576b305f923f 23:40:20 Step 10/26 : RUN go mod download 23:40:20 ---> Running in de794ea0e583 23:40:22 Removing intermediate container de794ea0e583 23:40:22 ---> 8464a6215e1e 23:40:22 Step 11/26 : ARG MAKE='make build' 23:40:23 ---> Running in 72ba22d9d6f4 23:40:23 Removing intermediate container 72ba22d9d6f4 23:40:23 ---> 124cd364d3b1 23:40:23 Step 12/26 : RUN $MAKE 23:40:23 ---> Running in 799c5b7d95a6 23:40:25 go mod tidy 23:40:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.5" -o cmd/device-virtual ./cmd 23:41:34 Removing intermediate container 799c5b7d95a6 23:41:34 ---> 054052b3535d 23:41:34 Step 13/26 : FROM alpine:3.14 23:41:34 3.14: Pulling from library/alpine 23:41:34 552d1f2373af: Pulling fs layer 23:41:34 552d1f2373af: Verifying Checksum 23:41:34 552d1f2373af: Download complete 23:41:34 552d1f2373af: Pull complete 23:41:34 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:41:34 Status: Downloaded newer image for alpine:3.14 23:41:34 ---> bb3de5531c18 23:41:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:41:34 ---> Running in f149c20d3005 23:41:34 Removing intermediate container f149c20d3005 23:41:34 ---> 7b67e09a317c 23:41:34 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:34 ---> Running in d1e82ad11fdb 23:41:34 Removing intermediate container d1e82ad11fdb 23:41:34 ---> 073054493c69 23:41:34 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:41:34 ---> Running in ee09d7e6d25e 23:41:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:41:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:41:36 (1/6) Installing dumb-init (1.2.5-r1) 23:41:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:41:36 (3/6) Installing libsodium (1.0.18-r0) 23:41:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:41:36 (5/6) Installing libzmq (4.3.4-r0) 23:41:36 (6/6) Installing zeromq (4.3.4-r0) 23:41:36 Executing busybox-1.33.1-r3.trigger 23:41:36 OK: 8 MiB in 20 packages 23:41:38 Removing intermediate container ee09d7e6d25e 23:41:38 ---> a6e6d1a026f5 23:41:38 Step 17/26 : WORKDIR / 23:41:38 ---> Running in d9604af56565 23:41:39 Removing intermediate container d9604af56565 23:41:39 ---> bf95477143b5 23:41:39 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:41:40 ---> 4ae4d5cd94b9 23:41:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:41:40 ---> 84ca96b9ab5b 23:41:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:41:42 ---> db9603ff1d7d 23:41:42 Step 21/26 : EXPOSE 59900 23:41:42 ---> Running in ca98c30915c5 23:41:43 Removing intermediate container ca98c30915c5 23:41:43 ---> 399ef2aa66f1 23:41:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:41:43 ---> Running in 4672495ed661 23:41:44 Removing intermediate container 4672495ed661 23:41:44 ---> 9f0b4a3e9a43 23:41:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:41:44 ---> Running in 96c0bc08396a 23:41:44 Removing intermediate container 96c0bc08396a 23:41:44 ---> 46ee217972e5 23:41:44 Step 24/26 : LABEL arch=arm64 23:41:44 ---> Running in 65be300e6bf6 23:41:45 Removing intermediate container 65be300e6bf6 23:41:45 ---> e6888e3e4317 23:41:45 Step 25/26 : LABEL git_sha=4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:41:45 ---> Running in 3b4e4cbf3075 23:41:45 Removing intermediate container 3b4e4cbf3075 23:41:45 ---> 475c04eb1016 23:41:45 Step 26/26 : LABEL version=2.0.1-dev.5 23:41:46 ---> Running in efa32125b0bf 23:41:46 Removing intermediate container efa32125b0bf 23:41:46 ---> 8dbf89a9be47 23:41:46 [Warning] One or more build-args [ARCH] were not consumed 23:41:46 Successfully built 8dbf89a9be47 23:41:46 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 23:41:46 provisioning config files... 23:41:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config6299024715512915657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:47 ---> docker-login.sh 23:41:47 nexus3.edgexfoundry.org:10001 23:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:47 Configure a credential helper to remove this warning. See 23:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:47 23:41:47 Login Succeeded 23:41:47 nexus3.edgexfoundry.org:10002 23:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:48 Configure a credential helper to remove this warning. See 23:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:48 23:41:48 Login Succeeded 23:41:48 nexus3.edgexfoundry.org:10003 23:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:48 Configure a credential helper to remove this warning. See 23:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:48 23:41:48 Login Succeeded 23:41:48 nexus3.edgexfoundry.org:10004 23:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:49 Configure a credential helper to remove this warning. See 23:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:49 23:41:49 Login Succeeded 23:41:49 docker.io 23:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 ---> docker-login.sh ends [Pipeline] } 23:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:41:50 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 23:41:50 4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:41:50 latest 23:41:50 2.0.1-dev.5 23:41:50 4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:41:50 main 23:41:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:41:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] isUnix [Pipeline] sh 23:41:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:41:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:41:51 01f63ee421af: Preparing 23:41:51 6d9f56911e42: Preparing 23:41:51 90dd65bc55b7: Preparing 23:41:51 0f9f8c00c00a: Preparing 23:41:51 d94fed6655b1: Preparing 23:41:51 ee420dfed78a: Preparing 23:41:51 ee420dfed78a: Waiting 23:41:51 d94fed6655b1: Pushed 23:41:51 6d9f56911e42: Pushed 23:41:51 90dd65bc55b7: Pushed 23:41:51 ee420dfed78a: Layer already exists 23:41:52 0f9f8c00c00a: Pushed 23:41:54 01f63ee421af: Pushed 23:41:55 4101374aba6aaebd04804f9de13bcb00ee2f3b6a: digest: sha256:f2cc84e9d140dc561edd55bec9889d0aa5b415c2be14cf735ac8a1efaf91b4ce size: 1572 [Pipeline] isUnix [Pipeline] sh 23:41:55 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:41:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 23:41:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:41:56 01f63ee421af: Preparing 23:41:56 6d9f56911e42: Preparing 23:41:56 90dd65bc55b7: Preparing 23:41:56 0f9f8c00c00a: Preparing 23:41:56 d94fed6655b1: Preparing 23:41:56 ee420dfed78a: Preparing 23:41:56 ee420dfed78a: Waiting 23:41:57 6d9f56911e42: Layer already exists 23:41:57 90dd65bc55b7: Layer already exists 23:41:57 0f9f8c00c00a: Layer already exists 23:41:57 01f63ee421af: Layer already exists 23:41:57 d94fed6655b1: Layer already exists 23:41:57 ee420dfed78a: Layer already exists 23:41:57 latest: digest: sha256:f2cc84e9d140dc561edd55bec9889d0aa5b415c2be14cf735ac8a1efaf91b4ce size: 1572 [Pipeline] isUnix [Pipeline] sh 23:41:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 23:41:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.5 23:41:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:41:58 01f63ee421af: Preparing 23:41:58 6d9f56911e42: Preparing 23:41:58 90dd65bc55b7: Preparing 23:41:58 0f9f8c00c00a: Preparing 23:41:58 d94fed6655b1: Preparing 23:41:58 ee420dfed78a: Preparing 23:41:58 ee420dfed78a: Waiting 23:41:58 6d9f56911e42: Layer already exists 23:41:58 90dd65bc55b7: Layer already exists 23:41:58 01f63ee421af: Layer already exists 23:41:58 d94fed6655b1: Layer already exists 23:41:58 0f9f8c00c00a: Layer already exists 23:41:58 ee420dfed78a: Layer already exists 23:41:58 2.0.1-dev.5: digest: sha256:f2cc84e9d140dc561edd55bec9889d0aa5b415c2be14cf735ac8a1efaf91b4ce size: 1572 [Pipeline] isUnix [Pipeline] sh 23:41:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 23:41:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:41:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:41:59 01f63ee421af: Preparing 23:41:59 6d9f56911e42: Preparing 23:41:59 90dd65bc55b7: Preparing 23:41:59 0f9f8c00c00a: Preparing 23:41:59 d94fed6655b1: Preparing 23:41:59 ee420dfed78a: Preparing 23:41:59 ee420dfed78a: Waiting 23:41:59 0f9f8c00c00a: Layer already exists 23:41:59 90dd65bc55b7: Layer already exists 23:41:59 6d9f56911e42: Layer already exists 23:41:59 d94fed6655b1: Layer already exists 23:41:59 01f63ee421af: Layer already exists 23:41:59 ee420dfed78a: Layer already exists 23:41:59 4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5: digest: sha256:f2cc84e9d140dc561edd55bec9889d0aa5b415c2be14cf735ac8a1efaf91b4ce size: 1572 [Pipeline] isUnix [Pipeline] sh 23:42:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 23:42:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 23:42:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:42:01 01f63ee421af: Preparing 23:42:01 6d9f56911e42: Preparing 23:42:01 90dd65bc55b7: Preparing 23:42:01 0f9f8c00c00a: Preparing 23:42:01 d94fed6655b1: Preparing 23:42:01 ee420dfed78a: Preparing 23:42:01 ee420dfed78a: Waiting 23:42:01 d94fed6655b1: Layer already exists 23:42:01 01f63ee421af: Layer already exists 23:42:01 6d9f56911e42: Layer already exists 23:42:01 90dd65bc55b7: Layer already exists 23:42:01 0f9f8c00c00a: Layer already exists 23:42:01 ee420dfed78a: Layer already exists 23:42:01 main: digest: sha256:f2cc84e9d140dc561edd55bec9889d0aa5b415c2be14cf735ac8a1efaf91b4ce size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:42:01 ===================================================== [Pipeline] echo 23:42:01 taggedImages: 23:42:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a 23:42:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 23:42:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.5 23:42:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4101374aba6aaebd04804f9de13bcb00ee2f3b6a-2.0.1-dev.5 23:42:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:02 23:42:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:42:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:02 arm64: Pulling from edgex-lftools-log-publisher 23:42:02 448f6bf000e3: Pulling fs layer 23:42:02 f757da607395: Pulling fs layer 23:42:02 05883995daec: Pulling fs layer 23:42:02 8603b9c90790: Pulling fs layer 23:42:02 1560dd03e051: Pulling fs layer 23:42:02 27f5ce0e4adf: Pulling fs layer 23:42:02 c2d8d7efcc4b: Pulling fs layer 23:42:02 27f5ce0e4adf: Waiting 23:42:02 8603b9c90790: Waiting 23:42:02 1560dd03e051: Waiting 23:42:02 c2d8d7efcc4b: Waiting 23:42:03 f757da607395: Download complete 23:42:03 8603b9c90790: Download complete 23:42:03 05883995daec: Verifying Checksum 23:42:03 05883995daec: Download complete 23:42:03 27f5ce0e4adf: Verifying Checksum 23:42:03 27f5ce0e4adf: Download complete 23:42:03 1560dd03e051: Verifying Checksum 23:42:03 1560dd03e051: Download complete 23:42:04 448f6bf000e3: Verifying Checksum 23:42:04 448f6bf000e3: Download complete 23:42:07 c2d8d7efcc4b: Verifying Checksum 23:42:07 c2d8d7efcc4b: Download complete 23:42:07 448f6bf000e3: Pull complete 23:42:08 f757da607395: Pull complete 23:42:09 05883995daec: Pull complete 23:42:10 8603b9c90790: Pull complete 23:42:11 1560dd03e051: Pull complete 23:42:12 27f5ce0e4adf: Pull complete 23:42:27 c2d8d7efcc4b: Pull complete 23:42:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:42:27 prd-ubuntu18.04-docker-arm64-4c-16g-1069 does not seem to be running inside a container 23:42:27 $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:42:33 $ docker top a2d308107efe6b7e6274297c023e1c07237dfd831845f2dabbd7a520756ebe00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:34 ---> job-cost.sh 23:42:34 lf-activate-venv: SKIPPING 23:42:34 INFO: No Stack... 23:42:35 INFO: Retrieving Pricing Info for: v3-standard-4 23:42:35 INFO: Archiving Costs [Pipeline] sh 23:42:36 + cut -d, -f6 23:42:36 + cat /w/workspace/device-virtual-go/6/archives/cost.csv [Pipeline] lock 23:42:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] 23:42:36 Resource [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] did not exist. Created. 23:42:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:36 /w/workspace/device-virtual-go/6@tmp/durable-c1bef597/script.sh: 1: /w/workspace/device-virtual-go/6@tmp/durable-c1bef597/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:42:37 + echo total: 0.10999999940395355 [Pipeline] stash 23:42:37 Warning: overwriting stash ‘stack-cost’ 23:42:37 Stashed 1 file(s) [Pipeline] } 23:42:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:37 $ docker stop --time=1 a2d308107efe6b7e6274297c023e1c07237dfd831845f2dabbd7a520756ebe00 23:42:39 $ docker rm -f a2d308107efe6b7e6274297c023e1c07237dfd831845f2dabbd7a520756ebe00 [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 23:42:40 provisioning config files... 23:42:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7543773082993845989tmp [Pipeline] { [Pipeline] sh 23:42:40 + set +x 23:42:40 + curl -s https://codecov.io/bash 23:42:40 + bash -s -- 23:42:40 23:42:40 _____ _ 23:42:40 / ____| | | 23:42:40 | | ___ __| | ___ ___ _____ __ 23:42:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:42:40 | |___| (_) | (_| | __/ (_| (_) \ V / 23:42:40 \_____\___/ \__,_|\___|\___\___/ \_/ 23:42:40 Bash-1.0.6 23:42:40 23:42:40 23:42:40 ==> git version 2.24.4 found 23:42:40 ==> 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 23:42:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:42:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:42:40 ==> Jenkins CI detected. 23:42:40 current dir:  /w/workspace/exfoundry_device-virtual-go_main 23:42:40 project root: . 23:42:40 --> token set from env 23:42:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:42:40 ==> Running gcov in . (disable via -X gcov) 23:42:40 ==> Python coveragepy not found 23:42:40 ==> Searching for coverage reports in: 23:42:40 + . 23:42:40 -> Found 1 reports 23:42:40 ==> Detecting git/mercurial file structure 23:42:40 ==> Reading reports 23:42:41 + ./coverage.out bytes=46339 23:42:41 ==> Appending adjustments 23:42:41 https://docs.codecov.io/docs/fixing-reports 23:42:41 + Found adjustments 23:42:41 ==> Gzipping contents 23:42:41 8.0K /tmp/codecov.wy2IKE.gz 23:42:41 ==> Uploading reports 23:42:41 url: https://codecov.io 23:42:41 query: branch=main&commit=4101374aba6aaebd04804f9de13bcb00ee2f3b6a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:42:41 -> Pinging Codecov 23:42:41 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=4101374aba6aaebd04804f9de13bcb00ee2f3b6a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:42:41 -> Uploading to 23:42:41 https://storage.googleapis.com/codecov/v4/raw/2021-09-23/5E52B4B073DB2E39498172D8E973AA87/4101374aba6aaebd04804f9de13bcb00ee2f3b6a/897e5135-6e83-4011-a23b-697495747a7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T234241Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8608a4d6e5de8ca1f007881871908fcec12503e369645c1bdc30b4352556c30 23:42:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:41 Dload Upload Total Spent Left Speed 23:42:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5511 0 0 100 5511 0 6792 --:--:-- --:--:-- --:--:-- 6786 23:42:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] } 23:42:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:42:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:42:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:42:43 23:42:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:42:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:42:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:42:43 188c0c94c7c5: Pulling fs layer 23:42:43 0ef7d3d256c8: Pulling fs layer 23:42:43 de9db76c5a1d: Pulling fs layer 23:42:43 0eba1c9be4d2: Pulling fs layer 23:42:43 0d57e429df01: Pulling fs layer 23:42:43 4e4be7b47b0d: Pulling fs layer 23:42:43 e1f770b5df2f: Pulling fs layer 23:42:43 85a0685a4137: Pulling fs layer 23:42:43 0d57e429df01: Waiting 23:42:43 4e4be7b47b0d: Waiting 23:42:43 e1f770b5df2f: Waiting 23:42:43 85a0685a4137: Waiting 23:42:43 0eba1c9be4d2: Waiting 23:42:43 de9db76c5a1d: Verifying Checksum 23:42:43 de9db76c5a1d: Download complete 23:42:43 0ef7d3d256c8: Download complete 23:42:43 0d57e429df01: Verifying Checksum 23:42:43 0d57e429df01: Download complete 23:42:43 4e4be7b47b0d: Verifying Checksum 23:42:43 4e4be7b47b0d: Download complete 23:42:44 188c0c94c7c5: Download complete 23:42:44 188c0c94c7c5: Pull complete 23:42:44 0ef7d3d256c8: Pull complete 23:42:44 de9db76c5a1d: Pull complete 23:42:45 e1f770b5df2f: Verifying Checksum 23:42:45 e1f770b5df2f: Download complete 23:42:55 0eba1c9be4d2: Download complete 23:42:56 85a0685a4137: Verifying Checksum 23:42:56 85a0685a4137: Download complete 23:42:58 0eba1c9be4d2: Pull complete 23:42:58 0d57e429df01: Pull complete 23:42:58 4e4be7b47b0d: Pull complete 23:42:58 e1f770b5df2f: Pull complete 23:43:02 85a0685a4137: Pull complete 23:43:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:43:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:43:02 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:43:04 $ docker top 8da54a6f733130140c73e494a4e1b387a18e2499ba4f3445006edbb2998cf7c0 -eo pid,comm [Pipeline] { [Pipeline] echo 23:43:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:43:04 + set -o pipefail 23:43:04 + snyk monitor '--org=edgex-jenkins' 23:43:17 23:43:17 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 23:43:17 23:43:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/737e7983-c43c-48b4-a8c9-e15874a014cd 23:43:17 23:43:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:43:17 23:43:17 [Pipeline] } 23:43:17 $ docker stop --time=1 8da54a6f733130140c73e494a4e1b387a18e2499ba4f3445006edbb2998cf7c0 23:43:18 $ docker rm -f 8da54a6f733130140c73e494a4e1b387a18e2499ba4f3445006edbb2998cf7c0 [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 23:43:20 + git log --format=format:%s -1 4101374aba6aaebd04804f9de13bcb00ee2f3b6a [Pipeline] isUnix [Pipeline] sh 23:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:43:20 . [Pipeline] withDockerContainer 23:43:20 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:43:21 $ docker top 2352ec52a1d637b8a41db827f9065baaff787833e00dd15b924fd45a8305aecb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:43:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:43:21 [ssh-agent] Looking for ssh-agent implementation... 23:43:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:43:21 $ docker exec 2352ec52a1d637b8a41db827f9065baaff787833e00dd15b924fd45a8305aecb ssh-agent 23:43:21 SSH_AUTH_SOCK=/tmp/ssh-wZoH25sf6HZx/agent.14 23:43:21 SSH_AGENT_PID=21 23:43:21 Running ssh-add (command line suppressed) 23:43:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4231639909240523280.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4231639909240523280.key) 23:43:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:43:22 + git semver tag 23:43:22 # -> Open(): unable to determine branch for HEAD 23:43:22 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 23:43:22 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 23:43:22 # $SEMVER_REMOTE_NAME = origin 23:43:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:43:22 # $SEMVER_USER_NAME = edgex-jenkins 23:43:22 # $SEMVER_BRANCH = main 23:43:22 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 23:43:22 # 4101374aba6aaebd04804f9de13bcb00ee2f3b6a HEAD 23:43:22 # -> Force: false 23:43:22 # 7b8fd2929f2d4ef10e89a89d3f690c2a74e04969 refs/tags/v2.0.1-dev.5 [Pipeline] } 23:43:22 $ docker exec --env ******** --env ******** 2352ec52a1d637b8a41db827f9065baaff787833e00dd15b924fd45a8305aecb ssh-agent -k 23:43:22 unset SSH_AUTH_SOCK; 23:43:22 unset SSH_AGENT_PID; 23:43:22 echo Agent pid 21 killed; 23:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:43:22 + git semver [Pipeline] } 23:43:22 $ docker stop --time=1 2352ec52a1d637b8a41db827f9065baaff787833e00dd15b924fd45a8305aecb 23:43:23 $ docker rm -f 2352ec52a1d637b8a41db827f9065baaff787833e00dd15b924fd45a8305aecb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:43:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:43:24 23:43:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:43:25 0.23.1-centos7: Pulling from edgex-lftools 23:43:25 ab5ef0e58194: Pulling fs layer 23:43:25 9712f1f96733: Pulling fs layer 23:43:25 63f879dbbcfc: Pulling fs layer 23:43:25 0d9ebad4ef96: Pulling fs layer 23:43:25 e9a5061849ea: Pulling fs layer 23:43:25 d747dcd14b5f: Pulling fs layer 23:43:25 2de7ff778b66: Pulling fs layer 23:43:25 e9a5061849ea: Waiting 23:43:25 d747dcd14b5f: Waiting 23:43:25 2de7ff778b66: Waiting 23:43:25 0d9ebad4ef96: Waiting 23:43:25 9712f1f96733: Verifying Checksum 23:43:25 9712f1f96733: Download complete 23:43:29 63f879dbbcfc: Verifying Checksum 23:43:29 63f879dbbcfc: Download complete 23:43:29 e9a5061849ea: Verifying Checksum 23:43:29 e9a5061849ea: Download complete 23:43:29 d747dcd14b5f: Verifying Checksum 23:43:29 d747dcd14b5f: Download complete 23:43:30 2de7ff778b66: Verifying Checksum 23:43:30 2de7ff778b66: Download complete 23:43:30 0d9ebad4ef96: Verifying Checksum 23:43:30 0d9ebad4ef96: Download complete 23:43:31 ab5ef0e58194: Verifying Checksum 23:43:31 ab5ef0e58194: Download complete 23:43:34 ab5ef0e58194: Pull complete 23:43:34 9712f1f96733: Pull complete 23:43:34 63f879dbbcfc: Pull complete 23:43:38 0d9ebad4ef96: Pull complete 23:43:38 e9a5061849ea: Pull complete 23:43:38 d747dcd14b5f: Pull complete 23:43:39 2de7ff778b66: Pull complete 23:43:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:43:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:43:39 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:43:42 $ docker top 0ae3cfe1fe862627b29362e7b904495e1e1c5fb8656c6007e51da6083133e46b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:43:42 provisioning config files... 23:43:42 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3288063793460092728tmp 23:43:42 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1644474800612144813tmp 23:43:42 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8529273301683553315tmp [Pipeline] { [Pipeline] echo 23:43:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:43:42 ---> sigul-configuration.sh 23:43:42 gpg: directory `/root/.gnupg' created 23:43:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:43:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:43:42 gpg: keyring `/root/.gnupg/secring.gpg' created 23:43:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:43:42 gpg: CAST5 encrypted data 23:43:42 gpg: encrypted with 1 passphrase 23:43:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:43:43 + mkdir /home/jenkins 23:43:43 + mkdir /home/jenkins/sigul [Pipeline] sh 23:43:43 + 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 23:43:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:43:44 ---> sigul-install.sh 23:43:44 Sigul already installed; skipping installation. [Pipeline] sh 23:43:44 + git tag --list 23:43:44 v1.0.0 23:43:44 v1.1.0 23:43:44 v1.1.1 23:43:44 v1.2.1 23:43:44 v1.2.2 23:43:44 v1.2.3 23:43:44 v1.3.0 23:43:44 v1.3.1 23:43:44 v2.0.0 23:43:44 v2.0.1-dev.1 23:43:44 v2.0.1-dev.2 23:43:44 v2.0.1-dev.3 23:43:44 v2.0.1-dev.4 23:43:44 v2.0.1-dev.5 [Pipeline] sh 23:43:44 + lftools sign git-tag v2.0.1-dev.5 23:43:45 Signing Git tag with Sigul... 23:43:45 Signing v2.0.1-dev.5 [Pipeline] echo 23:43:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:43:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:43:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:43:46 $ docker stop --time=1 0ae3cfe1fe862627b29362e7b904495e1e1c5fb8656c6007e51da6083133e46b 23:43:47 $ docker rm -f 0ae3cfe1fe862627b29362e7b904495e1e1c5fb8656c6007e51da6083133e46b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:43:48 . [Pipeline] withDockerContainer 23:43:48 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:43:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:43:49 $ docker top bbdb4b1d6a1605b0067d35e727d8b6b6061c6950173cf45a926fa193c09b8e4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:43:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:43:49 [ssh-agent] Looking for ssh-agent implementation... 23:43:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:43:49 $ docker exec bbdb4b1d6a1605b0067d35e727d8b6b6061c6950173cf45a926fa193c09b8e4b ssh-agent 23:43:49 SSH_AUTH_SOCK=/tmp/ssh-sMpWBObkLJui/agent.14 23:43:49 SSH_AGENT_PID=22 23:43:49 Running ssh-add (command line suppressed) 23:43:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8893243247450390753.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8893243247450390753.key) 23:43:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:43:49 + git semver bump pre 23:43:49 # -> Open(): unable to determine branch for HEAD 23:43:49 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 23:43:49 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 23:43:49 # $SEMVER_REMOTE_NAME = origin 23:43:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:43:49 # $SEMVER_USER_NAME = edgex-jenkins 23:43:49 # $SEMVER_BRANCH = main 23:43:49 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 23:43:49 2.0.1-dev.6 [Pipeline] } 23:43:49 $ docker exec --env ******** --env ******** bbdb4b1d6a1605b0067d35e727d8b6b6061c6950173cf45a926fa193c09b8e4b ssh-agent -k 23:43:50 unset SSH_AUTH_SOCK; 23:43:50 unset SSH_AGENT_PID; 23:43:50 echo Agent pid 22 killed; 23:43:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:43:50 + git semver [Pipeline] } 23:43:50 $ docker stop --time=1 bbdb4b1d6a1605b0067d35e727d8b6b6061c6950173cf45a926fa193c09b8e4b 23:43:51 $ docker rm -f bbdb4b1d6a1605b0067d35e727d8b6b6061c6950173cf45a926fa193c09b8e4b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:43:52 . [Pipeline] withDockerContainer 23:43:52 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:43:52 $ docker top dcfbd95b133a5f6d6fdc284823ec7800650d18d3a6203576ce14b692cf69a238 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:43:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:43:52 [ssh-agent] Looking for ssh-agent implementation... 23:43:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:43:52 $ docker exec dcfbd95b133a5f6d6fdc284823ec7800650d18d3a6203576ce14b692cf69a238 ssh-agent 23:43:53 SSH_AUTH_SOCK=/tmp/ssh-kZABcY981Fdt/agent.13 23:43:53 SSH_AGENT_PID=19 23:43:53 Running ssh-add (command line suppressed) 23:43:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_384603295137026431.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_384603295137026431.key) 23:43:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:43:53 + git semver push 23:43:53 # -> Open(): unable to determine branch for HEAD 23:43:53 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 23:43:53 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 23:43:53 # $SEMVER_REMOTE_NAME = origin 23:43:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:43:53 # $SEMVER_USER_NAME = edgex-jenkins 23:43:53 # $SEMVER_BRANCH = main 23:43:53 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 23:43:54 $ docker exec --env ******** --env ******** dcfbd95b133a5f6d6fdc284823ec7800650d18d3a6203576ce14b692cf69a238 ssh-agent -k 23:43:55 unset SSH_AUTH_SOCK; 23:43:55 unset SSH_AGENT_PID; 23:43:55 echo Agent pid 19 killed; 23:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:43:55 + git semver [Pipeline] } 23:43:55 $ docker stop --time=1 dcfbd95b133a5f6d6fdc284823ec7800650d18d3a6203576ce14b692cf69a238 23:43:56 $ docker rm -f dcfbd95b133a5f6d6fdc284823ec7800650d18d3a6203576ce14b692cf69a238 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:43:57 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> package-listing.sh 23:43:58 ++ facter osfamily 23:43:58 ++ tr '[:upper:]' '[:lower:]' 23:43:59 + OS_FAMILY=redhat 23:43:59 + workspace=/w/workspace/exfoundry_device-virtual-go_main 23:43:59 + START_PACKAGES=/tmp/packages_start.txt 23:43:59 + END_PACKAGES=/tmp/packages_end.txt 23:43:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:43:59 + PACKAGES=/tmp/packages_start.txt 23:43:59 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 23:43:59 + PACKAGES=/tmp/packages_end.txt 23:43:59 + case "${OS_FAMILY}" in 23:43:59 + sort 23:43:59 + rpm -qa 23:43:59 + '[' -f /tmp/packages_start.txt ']' 23:43:59 + '[' -f /tmp/packages_end.txt ']' 23:43:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:43:59 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 23:43:59 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 23:43:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 23:43:59 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 23:43:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:00 23:44:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:44:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:00 latest: Pulling from edgex-lftools-log-publisher 23:44:00 b4d181a07f80: Pulling fs layer 23:44:00 a1111a8f2ec3: Pulling fs layer 23:44:00 ed53099fbce6: Pulling fs layer 23:44:00 dc539afda2c1: Pulling fs layer 23:44:00 77bc0d833cb6: Pulling fs layer 23:44:00 9065ff56babe: Pulling fs layer 23:44:00 d287ab97295c: Pulling fs layer 23:44:00 dc539afda2c1: Waiting 23:44:00 77bc0d833cb6: Waiting 23:44:00 d287ab97295c: Waiting 23:44:00 9065ff56babe: Waiting 23:44:01 a1111a8f2ec3: Verifying Checksum 23:44:01 a1111a8f2ec3: Download complete 23:44:01 dc539afda2c1: Verifying Checksum 23:44:01 dc539afda2c1: Download complete 23:44:01 77bc0d833cb6: Verifying Checksum 23:44:01 77bc0d833cb6: Download complete 23:44:01 9065ff56babe: Verifying Checksum 23:44:01 9065ff56babe: Download complete 23:44:01 ed53099fbce6: Verifying Checksum 23:44:01 ed53099fbce6: Download complete 23:44:02 b4d181a07f80: Verifying Checksum 23:44:02 b4d181a07f80: Download complete 23:44:03 b4d181a07f80: Pull complete 23:44:03 a1111a8f2ec3: Pull complete 23:44:04 ed53099fbce6: Pull complete 23:44:04 dc539afda2c1: Pull complete 23:44:04 77bc0d833cb6: Pull complete 23:44:04 9065ff56babe: Pull complete 23:44:07 d287ab97295c: Verifying Checksum 23:44:07 d287ab97295c: Download complete 23:44:12 d287ab97295c: Pull complete 23:44:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:44:12 prd-centos7-docker-4c-2g-1055 does not seem to be running inside a container 23:44:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:14 $ docker top fdcc7a175fa5ea60fc69cbd31b7bc3d8738e196e729b5a5fe5f1e9b65c69c71d -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:14 + touch /tmp/pre-build-complete [Pipeline] sh 23:44:15 + mkdir -p /var/log/sysstat [Pipeline] sh 23:44:15 + ls /var/log/sa-host 23:44:15 + sadf -c /var/log/sa-host/sa05 23:44:15 file_magic: OK 23:44:15 HZ: Using current value: 100 23:44:15 file_header: OK 23:44:15 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 23:44:15 Statistics: 23:44:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:44:15 File successfully converted to sysstat format version 12.0.3 23:44:15 + sadf -c /var/log/sa-host/sa23 23:44:15 file_magic: OK 23:44:15 HZ: Using current value: 100 23:44:15 file_header: OK 23:44:15 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 23:44:15 Statistics: 23:44:15 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... 23:44:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:15 provisioning config files... 23:44:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3551285478956597678tmp [Pipeline] { [Pipeline] echo 23:44:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:44:16 ---> create-netrc.sh [Pipeline] } 23:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:44:16 ---> python-tools-install.sh [Pipeline] echo 23:44:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:44:17 ---> sudo-logs.sh 23:44:17 Archiving 'sudo' log.. 23:44:17 sudo: unable to resolve host prd-centos7-docker-4c-2g-1055.vexxhost.local: Name or service not known 23:44:17 sudo: unable to resolve host prd-centos7-docker-4c-2g-1055.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:44:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:44:17 ---> job-cost.sh 23:44:17 lf-activate-venv: SKIPPING 23:44:17 DEBUG: total: 0.10999999940395355 23:44:17 INFO: Retrieving Stack Cost... 23:44:18 INFO: Retrieving Pricing Info for: v3-standard-2 23:44:18 INFO: Archiving Costs [Pipeline] echo 23:44:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:44:19 ---> logs-deploy.sh 23:44:19 lf-activate-venv: SKIPPING 23:44:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/6 23:44:19 INFO: archiving workspace using pattern(s): 23:44:19 Archives upload complete. 23:44:20 INFO: archiving logs to Nexus 23:44:20 ---> uname -a: 23:44:20 Linux prd-centos7-docker-4c-2g-1055.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 23:44:20 23:44:20 23:44:20 ---> lscpu: 23:44:20 Architecture: x86_64 23:44:20 CPU op-mode(s): 32-bit, 64-bit 23:44:20 Byte Order: Little Endian 23:44:20 Address sizes: 40 bits physical, 48 bits virtual 23:44:20 CPU(s): 2 23:44:20 On-line CPU(s) list: 0,1 23:44:20 Thread(s) per core: 1 23:44:20 Core(s) per socket: 1 23:44:20 Socket(s): 2 23:44:20 NUMA node(s): 1 23:44:20 Vendor ID: AuthenticAMD 23:44:20 CPU family: 23 23:44:20 Model: 49 23:44:20 Model name: AMD EPYC-Rome Processor 23:44:20 Stepping: 0 23:44:20 CPU MHz: 2799.998 23:44:20 BogoMIPS: 5599.99 23:44:20 Virtualization: AMD-V 23:44:20 Hypervisor vendor: KVM 23:44:20 Virtualization type: full 23:44:20 L1d cache: 32K 23:44:20 L1i cache: 32K 23:44:20 L2 cache: 512K 23:44:20 L3 cache: 16384K 23:44:20 NUMA node0 CPU(s): 0,1 23:44:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:44:20 23:44:20 23:44:20 ---> nproc: 23:44:20 2 23:44:20 23:44:20 23:44:20 ---> df -h: 23:44:20 Filesystem Size Used Avail Use% Mounted on 23:44:20 overlay 40G 9.0G 32G 23% / 23:44:20 tmpfs 64M 0 64M 0% /dev 23:44:20 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:44:20 shm 64M 0 64M 0% /dev/shm 23:44:20 /dev/vda1 40G 9.0G 32G 23% /facter-os 23:44:20 23:44:20 23:44:20 ---> sar -b -r -n DEV: 23:44:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:44:20 23:44:20 23:29:46 LINUX RESTART (2 CPU) 23:44:20 23:44:20 23:30:01 tps rtps wtps bread/s bwrtn/s 23:44:20 23:31:01 225.61 94.84 130.77 10666.58 40356.74 23:44:20 23:32:01 3.33 0.00 3.33 0.00 111.99 23:44:20 23:33:01 0.45 0.00 0.45 0.00 6.23 23:44:20 23:34:02 0.25 0.00 0.25 0.00 3.12 23:44:20 23:35:01 0.19 0.00 0.19 0.00 2.37 23:44:20 23:36:01 0.32 0.00 0.32 0.00 4.76 23:44:20 23:37:01 0.22 0.00 0.22 0.00 3.28 23:44:20 23:38:01 0.25 0.00 0.25 0.00 4.03 23:44:20 23:39:01 0.22 0.00 0.22 0.00 3.13 23:44:20 23:40:01 0.18 0.00 0.18 0.00 2.17 23:44:20 23:41:01 0.27 0.00 0.27 0.00 4.48 23:44:20 23:42:01 0.20 0.00 0.20 0.00 2.73 23:44:20 23:43:01 18.72 0.03 18.69 3.73 4441.27 23:44:20 23:44:01 183.98 0.10 183.88 9.99 50005.38 23:44:20 Average: 31.06 6.79 24.26 763.99 6792.06 23:44:20 23:44:20 23:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:44:20 23:31:01 5457368 0 800304 9.99 2620 1748640 1303164 14.39 580148 1570264 132 23:44:20 23:32:01 5464000 0 793664 9.91 2620 1748648 1248248 13.78 574592 1570344 12 23:44:20 23:33:01 5464684 0 792980 9.90 2620 1748648 1242080 13.71 576928 1567200 8 23:44:20 23:34:02 5467896 0 789760 9.86 2620 1748656 1206912 13.32 574000 1567872 8 23:44:20 23:35:01 5467148 0 790504 9.87 2620 1748660 1207208 13.33 575280 1567872 8 23:44:20 23:36:01 5467032 0 790616 9.87 2620 1748664 1207148 13.33 572620 1570440 8 23:44:20 23:37:01 5466580 0 791064 9.88 2620 1748668 1207232 13.33 573116 1570440 12 23:44:20 23:38:01 5456688 0 800948 10.00 2620 1748676 1207304 13.33 582848 1570444 20 23:44:20 23:39:01 5458404 0 799212 9.98 2620 1748696 1206980 13.33 581280 1570444 16 23:44:20 23:40:01 5457380 0 800252 9.99 2620 1748680 1207100 13.33 583668 1568864 20 23:44:20 23:41:01 5456476 0 801152 10.00 2620 1748684 1207284 13.33 584460 1568864 12 23:44:20 23:42:01 5458224 0 799400 9.98 2620 1748688 1207044 13.33 589864 1562112 8 23:44:20 23:43:01 4493020 0 981600 12.26 2620 2531692 1712900 18.91 835324 2196724 553032 23:44:20 23:44:01 3830264 0 1081604 13.50 2620 3094444 1524820 16.83 947360 2606548 23544 23:44:20 Average: 5276083 0 829504 10.36 2620 1900725 1278245 14.11 623678 1687745 41203 23:44:20 23:44:20 23:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:44:20 23:31:01 eth0 453.72 312.12 1260.27 80.27 0.00 0.00 0.00 0.00 23:44:20 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:31:01 docker0 48.54 37.34 4.29 138.76 0.00 0.00 0.00 0.00 23:44:20 23:32:01 eth0 3.75 1.05 1.90 0.61 0.00 0.00 0.00 0.00 23:44:20 23:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:33:01 eth0 3.22 0.85 0.97 0.59 0.00 0.00 0.00 0.00 23:44:20 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:34:02 eth0 2.95 0.08 0.22 0.04 0.00 0.00 0.00 0.00 23:44:20 23:34:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:34:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:35:01 eth0 3.42 0.81 1.02 0.60 0.00 0.00 0.00 0.00 23:44:20 23:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:36:01 eth0 1.75 0.47 0.51 0.27 0.00 0.00 0.00 0.00 23:44:20 23:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:37:01 eth0 3.71 1.53 2.02 0.65 0.00 0.00 0.00 0.00 23:44:20 23:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:38:01 eth0 2.85 0.83 0.89 0.60 0.00 0.00 0.00 0.00 23:44:20 23:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:39:01 eth0 1.03 0.07 0.11 0.01 0.00 0.00 0.00 0.00 23:44:20 23:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:40:01 eth0 0.67 0.25 0.29 0.17 0.00 0.00 0.00 0.00 23:44:20 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:41:01 eth0 3.27 0.95 1.05 0.67 0.00 0.00 0.00 0.00 23:44:20 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:42:01 eth0 1.38 0.08 0.12 0.04 0.00 0.00 0.00 0.00 23:44:20 23:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:43:01 eth0 824.25 570.09 4104.15 81.39 0.00 0.00 0.00 0.00 23:44:20 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:44:01 eth0 970.44 678.00 4099.19 115.65 0.00 0.00 0.00 0.00 23:44:20 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 23:44:01 docker0 86.59 115.25 6.46 400.35 0.00 0.00 0.00 0.00 23:44:20 Average: eth0 162.82 112.10 677.55 20.14 0.00 0.00 0.00 0.00 23:44:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:20 Average: docker0 9.67 10.92 0.77 38.56 0.00 0.00 0.00 0.00 23:44:20 23:44:20 23:44:20 ---> sar -P ALL: 23:44:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:44:20 23:44:20 23:29:46 LINUX RESTART (2 CPU) 23:44:20 23:44:20 23:30:01 CPU %user %nice %system %iowait %steal %idle 23:44:20 23:31:01 all 21.99 0.00 7.91 6.35 0.08 63.67 23:44:20 23:31:01 0 22.36 0.00 8.49 5.44 0.07 63.63 23:44:20 23:31:01 1 21.62 0.00 7.33 7.26 0.09 63.71 23:44:20 23:32:01 all 0.31 0.00 0.08 0.00 0.01 99.60 23:44:20 23:32:01 0 0.50 0.00 0.10 0.00 0.02 99.38 23:44:20 23:32:01 1 0.12 0.00 0.07 0.00 0.00 99.82 23:44:20 23:33:01 all 0.25 0.00 0.04 0.00 0.02 99.69 23:44:20 23:33:01 0 0.43 0.00 0.07 0.00 0.02 99.48 23:44:20 23:33:01 1 0.07 0.00 0.02 0.00 0.02 99.90 23:44:20 23:34:02 all 0.20 0.00 0.06 0.00 0.01 99.73 23:44:20 23:34:02 0 0.18 0.00 0.07 0.00 0.02 99.73 23:44:20 23:34:02 1 0.22 0.00 0.05 0.00 0.00 99.73 23:44:20 23:35:01 all 0.14 0.00 0.06 0.00 0.02 99.79 23:44:20 23:35:01 0 0.08 0.00 0.07 0.00 0.02 99.83 23:44:20 23:35:01 1 0.19 0.00 0.05 0.00 0.02 99.74 23:44:20 23:36:01 all 0.23 0.00 0.07 0.00 0.01 99.70 23:44:20 23:36:01 0 0.07 0.00 0.07 0.00 0.00 99.87 23:44:20 23:36:01 1 0.38 0.00 0.07 0.00 0.02 99.53 23:44:20 23:37:01 all 0.25 0.00 0.06 0.00 0.01 99.68 23:44:20 23:37:01 0 0.08 0.00 0.07 0.00 0.02 99.83 23:44:20 23:37:01 1 0.42 0.00 0.05 0.00 0.00 99.53 23:44:20 23:38:01 all 0.15 0.00 0.07 0.00 0.02 99.77 23:44:20 23:38:01 0 0.08 0.00 0.08 0.00 0.02 99.82 23:44:20 23:38:01 1 0.22 0.00 0.05 0.00 0.02 99.72 23:44:20 23:39:01 all 0.20 0.00 0.07 0.00 0.01 99.72 23:44:20 23:39:01 0 0.17 0.00 0.07 0.00 0.02 99.75 23:44:20 23:39:01 1 0.23 0.00 0.07 0.00 0.00 99.70 23:44:20 23:40:01 all 0.20 0.00 0.04 0.00 0.01 99.75 23:44:20 23:40:01 0 0.32 0.00 0.03 0.00 0.00 99.65 23:44:20 23:40:01 1 0.08 0.00 0.05 0.00 0.02 99.85 23:44:20 23:41:01 all 0.30 0.00 0.06 0.00 0.02 99.62 23:44:20 23:41:01 0 0.52 0.00 0.07 0.00 0.02 99.40 23:44:20 23:41:01 1 0.08 0.00 0.05 0.00 0.02 99.85 23:44:20 23:44:20 23:41:01 CPU %user %nice %system %iowait %steal %idle 23:44:20 23:42:01 all 0.23 0.00 0.05 0.00 0.00 99.72 23:44:20 23:42:01 0 0.08 0.00 0.07 0.00 0.00 99.85 23:44:20 23:42:01 1 0.38 0.00 0.03 0.00 0.00 99.58 23:44:20 23:43:01 all 7.95 0.00 3.22 0.08 0.04 88.71 23:44:20 23:43:01 0 7.93 0.00 3.43 0.03 0.05 88.56 23:44:20 23:43:01 1 7.97 0.00 3.01 0.12 0.03 88.86 23:44:20 23:44:01 all 17.44 0.00 8.62 1.71 0.10 72.13 23:44:20 23:44:01 0 18.12 0.00 9.08 1.64 0.09 71.07 23:44:20 23:44:01 1 16.77 0.00 8.17 1.78 0.11 73.17 23:44:20 Average: all 3.44 0.00 1.41 0.56 0.02 94.57 23:44:20 Average: 0 3.51 0.00 1.49 0.49 0.02 94.48 23:44:20 Average: 1 3.38 0.00 1.32 0.63 0.02 94.65 23:44:20 23:44:20 23:44:20