Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60d9a57dff39513032cce8af6e955f5a8a0738df 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-ssh7368680909773991331.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-ssh1969913154210794920.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-ssh5209367119045679250.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-ssh1520559575751098782.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3636878270713470854.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3341 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-ssh8023433149177303784.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 60d9a57dff39513032cce8af6e955f5a8a0738df (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 60d9a57dff39513032cce8af6e955f5a8a0738df # timeout=10 Commit message: "Merge pull request #237 from ernestojeda/remove-build-dockerfile" > git rev-list --no-walk bc210961dad487f65c24165ea760efecea2d010a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:57 ========================================================= 15:58:57 EdgeX Global Pipelines Version Info 15:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:58 ------------------- 15:58:58 stable info: 15:58:58 ------------------- 15:58:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:58 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:58:58 Message: update stable to v1.0.205 15:58:59 ------------------- 15:58:59 experimental info: 15:58:59 ------------------- 15:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:59 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:58:59 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60d9a57 [Pipeline] echo 15:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:00 provisioning config files... 15:59:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8954519285983268572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:01 ---> docker-login.sh 15:59:01 nexus3.edgexfoundry.org:10001 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 nexus3.edgexfoundry.org:10002 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 nexus3.edgexfoundry.org:10003 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 nexus3.edgexfoundry.org:10004 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:01 Configure a credential helper to remove this warning. See 15:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:01 15:59:01 Login Succeeded 15:59:01 docker.io 15:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:02 Configure a credential helper to remove this warning. See 15:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:02 15:59:02 Login Succeeded 15:59:02 ---> docker-login.sh ends [Pipeline] } 15:59:02 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 15:59:02 + git log --format=format:%s -1 60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] echo 15:59:02 GIT_COMMIT: 60d9a57dff39513032cce8af6e955f5a8a0738df, Commit Message: Merge pull request #237 from ernestojeda/remove-build-dockerfile [Pipeline] echo 15:59:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:59:03 15:59:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:59:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:59:03 latest: Pulling from edgex-devops/git-semver 15:59:03 31603596830f: Pulling fs layer 15:59:03 d4622e32a9a9: Pulling fs layer 15:59:03 1030fce36090: Pulling fs layer 15:59:03 6c6cb7e1b49b: Pulling fs layer 15:59:03 6c6cb7e1b49b: Waiting 15:59:03 d4622e32a9a9: Download complete 15:59:04 31603596830f: Verifying Checksum 15:59:04 31603596830f: Download complete 15:59:04 31603596830f: Pull complete 15:59:04 d4622e32a9a9: Pull complete 15:59:04 1030fce36090: Verifying Checksum 15:59:04 1030fce36090: Download complete 15:59:04 6c6cb7e1b49b: Verifying Checksum 15:59:04 6c6cb7e1b49b: Download complete 15:59:04 1030fce36090: Pull complete 15:59:04 6c6cb7e1b49b: Pull complete 15:59:04 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 15:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:59:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:59:05 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 15:59:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:59:05 $ docker top 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:06 [ssh-agent] Looking for ssh-agent implementation... 15:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:06 $ docker exec 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 ssh-agent 15:59:06 SSH_AUTH_SOCK=/tmp/ssh-UwDs6RYavy1U/agent.13 15:59:06 SSH_AGENT_PID=20 15:59:06 Running ssh-add (command line suppressed) 15:59:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6451007444716963820.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6451007444716963820.key) 15:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:06 + git tag --points-at HEAD [Pipeline] } 15:59:06 $ docker exec --env ******** --env ******** 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 ssh-agent -k 15:59:07 unset SSH_AUTH_SOCK; 15:59:07 unset SSH_AGENT_PID; 15:59:07 echo Agent pid 20 killed; 15:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:07 [ssh-agent] Looking for ssh-agent implementation... 15:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:07 $ docker exec 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 ssh-agent 15:59:07 SSH_AUTH_SOCK=/tmp/ssh-PdBmeOBRExSc/agent.54 15:59:07 SSH_AGENT_PID=61 15:59:07 Running ssh-add (command line suppressed) 15:59:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6192224142164299891.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6192224142164299891.key) 15:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:07 + git semver init 15:59:07 # -> Open(): unable to determine branch for HEAD 15:59:07 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 15:59:07 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 15:59:07 # $SEMVER_REMOTE_NAME = origin 15:59:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:59:07 # $SEMVER_USER_NAME = edgex-jenkins 15:59:07 # $SEMVER_BRANCH = main 15:59:07 # $SEMVER_TEMP = /tmp/semver-487831242 15:59:07 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 15:59:08 # '/tmp/semver-487831242' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 15:59:08 # -> Force: false 15:59:08 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 15:59:08 $ docker exec --env ******** --env ******** 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 ssh-agent -k 15:59:08 unset SSH_AUTH_SOCK; 15:59:08 unset SSH_AGENT_PID; 15:59:08 echo Agent pid 61 killed; 15:59:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:09 + git semver [Pipeline] } 15:59:09 $ docker stop --time=1 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 15:59:10 $ docker rm -f 1533bb3df3c87154225f568c8299626c6d708115401e53573a18ab3b5c397d70 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:59:11 Stashed 1 file(s) [Pipeline] echo 15:59:11 [edgeXSemver]: initialized semver on version 2.0.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:59:26 Still waiting to schedule task 15:59:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:59:26 Still waiting to schedule task 15:59:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 16:00:31 Running on prd-centos7-docker-4c-2g-3353 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 16:00:31 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 16:00:31 The recommended git tool is: git 16:00:34 using credential edgex-jenkins-ssh 16:00:34 Cloning the remote Git repository 16:00:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:00:34 > git init /w/workspace/device-virtual-go/5 # timeout=10 16:00:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:00:35 > git --version # timeout=10 16:00:35 > git --version # 'git version 2.24.4' 16:00:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:00:35 [INFO] Currently running in a labeled security context 16:00:35 [INFO] Currently SELinux is 'enforcing' on the host 16:00:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/5@tmp/jenkins-gitclient-ssh955514484459486755.key 16:00:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:35 Avoid second fetch 16:00:35 Checking out Revision 60d9a57dff39513032cce8af6e955f5a8a0738df (main) 16:00:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:00:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:00:35 > git config core.sparsecheckout # timeout=10 16:00:35 > git checkout -f 60d9a57dff39513032cce8af6e955f5a8a0738df # timeout=10 16:00:39 Commit message: "Merge pull request #237 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:40 provisioning config files... 16:00:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config8399784880418583148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:40 ---> docker-login.sh 16:00:40 nexus3.edgexfoundry.org:10001 16:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:40 Configure a credential helper to remove this warning. See 16:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:40 16:00:40 Login Succeeded 16:00:40 nexus3.edgexfoundry.org:10002 16:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:40 Configure a credential helper to remove this warning. See 16:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:40 16:00:40 Login Succeeded 16:00:40 nexus3.edgexfoundry.org:10003 16:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:41 Configure a credential helper to remove this warning. See 16:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:41 16:00:41 Login Succeeded 16:00:41 nexus3.edgexfoundry.org:10004 16:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:41 Configure a credential helper to remove this warning. See 16:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:41 16:00:41 Login Succeeded 16:00:41 docker.io 16:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:41 Configure a credential helper to remove this warning. See 16:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:41 16:00:41 Login Succeeded 16:00:41 ---> docker-login.sh ends [Pipeline] } 16:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:00:42 ========================================================= 16:00:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:00:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:00:42 + 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 . 16:00:42 Sending build context to Docker daemon 8.601MB 16:00:42 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 16:00:42 Step 2/12 : FROM ${BASE} AS builder 16:00:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:00:42 540db60ca938: Pulling fs layer 16:00:42 adcc1eea9eea: Pulling fs layer 16:00:42 4c4ab2625f07: Pulling fs layer 16:00:42 db62176df00c: Pulling fs layer 16:00:42 3b30891b0d05: Pulling fs layer 16:00:42 06b49ca38bd5: Pulling fs layer 16:00:42 c788192a36de: Pulling fs layer 16:00:42 a77e37c0d609: Pulling fs layer 16:00:42 c3185cebc471: Pulling fs layer 16:00:42 db62176df00c: Waiting 16:00:42 3b30891b0d05: Waiting 16:00:42 06b49ca38bd5: Waiting 16:00:42 c788192a36de: Waiting 16:00:42 a77e37c0d609: Waiting 16:00:42 c3185cebc471: Waiting 16:00:42 4c4ab2625f07: Verifying Checksum 16:00:42 4c4ab2625f07: Download complete 16:00:42 adcc1eea9eea: Verifying Checksum 16:00:42 adcc1eea9eea: Download complete 16:00:42 3b30891b0d05: Verifying Checksum 16:00:42 3b30891b0d05: Download complete 16:00:43 540db60ca938: Verifying Checksum 16:00:43 06b49ca38bd5: Download complete 16:00:43 c788192a36de: Verifying Checksum 16:00:43 c788192a36de: Download complete 16:00:43 540db60ca938: Pull complete 16:00:43 adcc1eea9eea: Pull complete 16:00:43 4c4ab2625f07: Pull complete 16:00:44 a77e37c0d609: Verifying Checksum 16:00:44 a77e37c0d609: Download complete 16:00:48 c3185cebc471: Verifying Checksum 16:00:48 c3185cebc471: Download complete 16:00:49 db62176df00c: Verifying Checksum 16:00:49 db62176df00c: Download complete 16:00:52 db62176df00c: Pull complete 16:00:52 3b30891b0d05: Pull complete 16:00:52 06b49ca38bd5: Pull complete 16:00:52 c788192a36de: Pull complete 16:00:53 a77e37c0d609: Pull complete 16:00:55 c3185cebc471: Pull complete 16:00:55 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 16:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:00:55 ---> 031687cdd783 16:00:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:00:56 ---> Running in 69d048089c37 16:00:56 Removing intermediate container 69d048089c37 16:00:56 ---> a95e35361ee1 16:00:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:00:56 ---> Running in 666186f4564e 16:00:56 Removing intermediate container 666186f4564e 16:00:56 ---> 37d48a9785b3 16:00:56 Step 5/12 : WORKDIR /device-virtual-go 16:00:56 ---> Running in 36103893961b 16:00:57 Removing intermediate container 36103893961b 16:00:57 ---> 8e4a0a219aa4 16:00:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:00:57 ---> Running in 7c2763a5fd26 16:00:57 Removing intermediate container 7c2763a5fd26 16:00:57 ---> 22286a391ce9 16:00:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:00:57 ---> Running in c606462ea0e5 16:00:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:00:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:01:02 (1/3) Installing openssh-keygen (8.4_p1-r3) 16:01:02 (2/3) Installing libedit (20191231.3.1-r1) 16:01:03 (3/3) Installing openssh-client (8.4_p1-r3) 16:01:07 Executing busybox-1.32.1-r6.trigger 16:01:07 OK: 223 MiB in 55 packages 16:01:07 Removing intermediate container c606462ea0e5 16:01:07 ---> 98c476dc3742 16:01:07 Step 8/12 : COPY . . 16:01:07 ---> 21297c6e0bb4 16:01:07 Step 9/12 : RUN go mod tidy 16:01:07 ---> Running in 786e9d40a5ac 16:01:09 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 16:01:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 16:01:09 go: downloading modernc.org/ql v1.0.0 16:01:09 go: downloading github.com/gorilla/mux v1.8.0 16:01:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 16:01:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 16:01:09 go: downloading github.com/google/uuid v1.2.0 16:01:09 go: downloading github.com/stretchr/testify v1.7.0 16:01:09 go: downloading github.com/go-kit/kit v0.9.0 16:01:09 go: downloading github.com/go-playground/validator/v10 v10.6.1 16:01:09 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:01:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 16:01:09 go: downloading github.com/pelletier/go-toml v1.9.2 16:01:09 go: downloading gopkg.in/yaml.v2 v2.4.0 16:01:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 16:01:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 16:01:09 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:01:09 go: downloading github.com/davecgh/go-spew v1.1.1 16:01:09 go: downloading github.com/pmezard/go-difflib v1.0.0 16:01:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 16:01:09 go: downloading github.com/go-playground/universal-translator v0.17.0 16:01:09 go: downloading github.com/leodido/go-urn v1.2.0 16:01:09 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 16:01:09 go: downloading golang.org/x/text v0.3.2 16:01:09 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:01:09 go: downloading github.com/go-playground/locales v0.13.0 16:01:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:01:10 go: downloading github.com/go-stack/stack v1.8.0 16:01:10 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:01:10 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 16:01:10 go: downloading modernc.org/b v1.0.0 16:01:10 go: downloading modernc.org/db v1.0.0 16:01:10 go: downloading modernc.org/file v1.0.0 16:01:11 go: downloading modernc.org/golex v1.0.0 16:01:11 go: downloading modernc.org/internal v1.0.0 16:01:11 go: downloading modernc.org/lldb v1.0.0 16:01:11 go: downloading modernc.org/mathutil v1.0.0 16:01:11 go: downloading modernc.org/strutil v1.0.0 16:01:11 go: downloading github.com/hashicorp/consul/api v1.8.1 16:01:11 go: downloading github.com/x448/float16 v0.8.4 16:01:11 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 16:01:11 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:01:11 go: downloading github.com/stretchr/objx v0.1.0 16:01:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:01:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:01:11 go: downloading github.com/pebbe/zmq4 v1.2.7 16:01:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:01:11 go: downloading github.com/kr/pretty v0.2.0 16:01:11 go: downloading modernc.org/fileutil v1.0.0 16:01:11 go: downloading modernc.org/sortutil v1.0.0 16:01:12 go: downloading modernc.org/zappy v1.0.0 16:01:12 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 16:01:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:01:12 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:01:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:01:12 go: downloading github.com/hashicorp/serf v0.9.5 16:01:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:01:12 go: downloading github.com/hashicorp/consul/sdk v0.7.0 16:01:12 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:01:12 go: downloading github.com/gorilla/websocket v1.4.2 16:01:12 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 16:01:12 go: downloading github.com/onsi/ginkgo v1.10.1 16:01:12 go: downloading github.com/onsi/gomega v1.7.0 16:01:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:01:12 go: downloading github.com/mitchellh/copystructure v1.0.0 16:01:12 go: downloading github.com/edsrzf/mmap-go v1.0.0 16:01:12 go: downloading github.com/kr/text v0.1.0 16:01:12 go: downloading github.com/golang/snappy v0.0.1 16:01:12 go: downloading github.com/fatih/color v1.9.0 16:01:12 go: downloading github.com/mattn/go-colorable v0.1.6 16:01:12 go: downloading github.com/mattn/go-isatty v0.0.12 16:01:12 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:01:12 go: downloading github.com/pkg/errors v0.8.1 16:01:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:01:12 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:01:12 go: downloading github.com/hashicorp/memberlist v0.2.2 16:01:12 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:01:12 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:01:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:01:12 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:01:12 go: downloading github.com/hpcloud/tail v1.0.0 16:01:12 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:01:12 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:01:12 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:01:12 go: downloading github.com/miekg/dns v1.1.26 16:01:12 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:01:12 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:01:12 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:01:12 go: downloading github.com/hashicorp/errwrap v1.0.0 16:01:12 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:01:18 Removing intermediate container 786e9d40a5ac 16:01:18 ---> fafe1327c417 16:01:18 Step 10/12 : RUN go mod download 16:01:18 ---> Running in 3b7a3110b0f1 16:01:22 Removing intermediate container 3b7a3110b0f1 16:01:22 ---> 0d69e4c484ad 16:01:22 Step 11/12 : ARG MAKE='make build' 16:01:22 ---> Running in 1099a5c70c9b 16:01:22 Removing intermediate container 1099a5c70c9b 16:01:22 ---> a93c519a9686 16:01:22 Step 12/12 : RUN $MAKE 16:01:22 ---> Running in 016eca85ac0f 16:01:22 noop 16:01:22 Removing intermediate container 016eca85ac0f 16:01:22 ---> f6bb7f4b9aa4 16:01:22 Successfully built f6bb7f4b9aa4 16:01:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:01:22 + docker inspect -f . ci-base-image-x86_64 16:01:22 . [Pipeline] withDockerContainer 16:01:22 prd-centos7-docker-4c-2g-3353 does not seem to be running inside a container 16:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:01:23 $ docker top 4d146d8b7b99e1c742814b48d4b2dbf2dac9f7bb5b468915b5a54e2c26ea55b7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:23 + go version 16:01:23 go version go1.16.6 linux/amd64 [Pipeline] } 16:01:23 $ docker stop --time=1 4d146d8b7b99e1c742814b48d4b2dbf2dac9f7bb5b468915b5a54e2c26ea55b7 16:01:25 $ docker rm -f 4d146d8b7b99e1c742814b48d4b2dbf2dac9f7bb5b468915b5a54e2c26ea55b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:01:25 + docker inspect -f . ci-base-image-x86_64 16:01:25 . [Pipeline] withDockerContainer 16:01:25 prd-centos7-docker-4c-2g-3353 does not seem to be running inside a container 16:01:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:01:26 $ docker top bd781a9a8613e38024bcfebb320a8e8719522fee772f38dadeaa31d695665a5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:01:26 + go mod tidy [Pipeline] sh 16:01:27 + make test 16:01:27 go mod tidy 16:01:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:01:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:01:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:01:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.262s coverage: 64.6% of statements 16:01:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:01:56 gofmt -l . 16:01:56 [ "`gofmt -l .`" = "" ] 16:01:56 ./bin/test-attribution-txt.sh 16:01:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:01:57 $ docker stop --time=1 bd781a9a8613e38024bcfebb320a8e8719522fee772f38dadeaa31d695665a5d 16:01:59 $ docker rm -f bd781a9a8613e38024bcfebb320a8e8719522fee772f38dadeaa31d695665a5d [Pipeline] // withDockerContainer [Pipeline] sh 16:01:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:01:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:02:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:01 + ls -al . 16:02:01 total 144 16:02:01 drwxrwxr-x. 7 jenkins jenkins 4096 Aug 18 16:01 . 16:02:01 drwxrwxr-x. 4 jenkins jenkins 28 Aug 18 16:00 .. 16:02:01 -rw-rw-r--. 1 jenkins jenkins 8153 Aug 18 16:00 Attribution.txt 16:02:01 drwxrwxr-x. 2 jenkins jenkins 64 Aug 18 16:00 bin 16:02:01 -rw-rw-r--. 1 jenkins jenkins 6349 Aug 18 16:00 CHANGELOG.md 16:02:01 drwxrwxr-x. 3 jenkins jenkins 32 Aug 18 16:00 cmd 16:02:01 -rw-r--r--. 1 jenkins jenkins 46339 Aug 18 16:01 coverage.out 16:02:01 -rw-rw-r--. 1 jenkins jenkins 1921 Aug 18 16:00 Dockerfile 16:02:01 drwxrwxr-x. 8 jenkins jenkins 162 Aug 18 16:00 .git 16:02:01 drwxrwxr-x. 2 jenkins jenkins 103 Aug 18 16:00 .github 16:02:01 -rw-rw-r--. 1 jenkins jenkins 277 Aug 18 16:00 .gitignore 16:02:01 -rw-r--r--. 1 jenkins jenkins 795 Aug 18 16:01 go.mod 16:02:01 -rw-r--r--. 1 jenkins jenkins 22824 Aug 18 16:01 go.sum 16:02:01 -rw-rw-r--. 1 jenkins jenkins 677 Aug 18 16:00 GOVERNANCE.md 16:02:01 drwxrwxr-x. 3 jenkins jenkins 20 Aug 18 16:00 internal 16:02:01 -rw-rw-r--. 1 jenkins jenkins 660 Aug 18 16:00 Jenkinsfile 16:02:01 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 18 16:00 LICENSE 16:02:01 -rw-rw-r--. 1 jenkins jenkins 905 Aug 18 16:00 Makefile 16:02:01 -rw-rw-r--. 1 jenkins jenkins 623 Aug 18 16:00 OWNERS.md 16:02:01 -rw-rw-r--. 1 jenkins jenkins 2913 Aug 18 16:00 README.md 16:02:01 -rw-rw-r--. 1 jenkins jenkins 11 Aug 18 15:59 VERSION 16:02:01 -rw-rw-r--. 1 jenkins jenkins 235 Aug 18 16:00 version.go [Pipeline] isUnix [Pipeline] sh 16:02:01 + 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=60d9a57dff39513032cce8af6e955f5a8a0738df --label arch=amd64 --label version=2.0.1-dev.4 . 16:02:01 Sending build context to Docker daemon 8.671MB 16:02:01 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 16:02:01 Step 2/26 : FROM ${BASE} AS builder 16:02:01 ---> f6bb7f4b9aa4 16:02:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:02:01 ---> Running in 79e920112eeb 16:02:01 Removing intermediate container 79e920112eeb 16:02:01 ---> 33ab1bd89806 16:02:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:02:01 ---> Running in 550943d83e6e 16:02:01 Removing intermediate container 550943d83e6e 16:02:01 ---> 5b16e815945f 16:02:01 Step 5/26 : WORKDIR /device-virtual-go 16:02:01 ---> Running in c9f214e14376 16:02:02 Removing intermediate container c9f214e14376 16:02:02 ---> eac0913f6a21 16:02:02 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:02:02 ---> Running in dd58bcd3e374 16:02:05 Removing intermediate container dd58bcd3e374 16:02:05 ---> eb4a1d73f2bf 16:02:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:05 ---> Running in 077fa578ecb8 16:02:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:02:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:02:13 OK: 223 MiB in 55 packages 16:02:13 Removing intermediate container 077fa578ecb8 16:02:13 ---> 08f34d233625 16:02:13 Step 8/26 : COPY . . 16:02:13 ---> acda747c321b 16:02:13 Step 9/26 : RUN go mod tidy 16:02:13 ---> Running in 0f9b27aa8fb9 16:02:13 Removing intermediate container 0f9b27aa8fb9 16:02:13 ---> 4869299793e5 16:02:13 Step 10/26 : RUN go mod download 16:02:13 ---> Running in 89af78187814 16:02:14 Removing intermediate container 89af78187814 16:02:14 ---> 4bfc79b00507 16:02:14 Step 11/26 : ARG MAKE='make build' 16:02:14 ---> Running in b627bbc53303 16:02:14 Removing intermediate container b627bbc53303 16:02:14 ---> bf16f18c7459 16:02:14 Step 12/26 : RUN $MAKE 16:02:14 ---> Running in dc8afbbca030 16:02:15 go mod tidy 16:02:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.4" -o cmd/device-virtual ./cmd 16:02:31 Removing intermediate container dc8afbbca030 16:02:31 ---> f6fc4e9e008b 16:02:31 Step 13/26 : FROM alpine:3.12 16:02:32 3.12: Pulling from library/alpine 16:02:32 339de151aab4: Pulling fs layer 16:02:32 339de151aab4: Verifying Checksum 16:02:32 339de151aab4: Download complete 16:02:32 339de151aab4: Pull complete 16:02:32 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 16:02:32 Status: Downloaded newer image for alpine:3.12 16:02:32 ---> 13621d1b12d4 16:02:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:02:32 ---> Running in a4a23f0db5d0 16:02:33 Removing intermediate container a4a23f0db5d0 16:02:33 ---> c3c215f7ad38 16:02:33 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:02:33 ---> Running in af840cb75c8f 16:02:33 Removing intermediate container af840cb75c8f 16:02:33 ---> 9b791a26065d 16:02:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:02:33 ---> Running in 757f57f50713 16:02:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:02:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:02:35 (1/6) Installing dumb-init (1.2.2-r1) 16:02:35 (2/6) Installing libgcc (9.3.0-r2) 16:02:35 (3/6) Installing libsodium (1.0.18-r0) 16:02:35 (4/6) Installing libstdc++ (9.3.0-r2) 16:02:35 (5/6) Installing libzmq (4.3.3-r0) 16:02:36 (6/6) Installing zeromq (4.3.3-r0) 16:02:36 Executing busybox-1.31.1-r20.trigger 16:02:36 OK: 8 MiB in 20 packages 16:02:36 Removing intermediate container 757f57f50713 16:02:36 ---> 6136201b5ff7 16:02:36 Step 17/26 : WORKDIR / 16:02:37 ---> Running in da2a5ecfdb19 16:02:37 Removing intermediate container da2a5ecfdb19 16:02:37 ---> 85c7803a7f5a 16:02:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:02:37 ---> 73ee510a0638 16:02:37 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:02:37 ---> fe6459d571b3 16:02:37 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:02:37 ---> 5cb817c9b8ac 16:02:37 Step 21/26 : EXPOSE 59900 16:02:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3361 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 16:02:37 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 16:02:37 ---> Running in fb09c22e7182 16:02:37 Removing intermediate container fb09c22e7182 16:02:37 ---> da94920e168a 16:02:37 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:02:37 ---> Running in 331d4533cd18 16:02:37 Removing intermediate container 331d4533cd18 16:02:37 ---> cacfdfbfd2c1 16:02:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:02:37 ---> Running in 5fbb5010cb87 16:02:37 The recommended git tool is: git 16:02:38 Removing intermediate container 5fbb5010cb87 16:02:38 ---> 79923cdf3a58 16:02:38 Step 24/26 : LABEL arch=amd64 16:02:38 ---> Running in 8896a58c8ba5 16:02:38 Removing intermediate container 8896a58c8ba5 16:02:38 ---> 37a440d696d7 16:02:38 Step 25/26 : LABEL git_sha=60d9a57dff39513032cce8af6e955f5a8a0738df 16:02:38 ---> Running in c49e9daf08dc 16:02:38 Removing intermediate container c49e9daf08dc 16:02:38 ---> ad22c2392441 16:02:38 Step 26/26 : LABEL version=2.0.1-dev.4 16:02:38 ---> Running in 7a781677263e 16:02:38 Removing intermediate container 7a781677263e 16:02:38 ---> 69819a81f8df 16:02:38 [Warning] One or more build-args [ARCH] were not consumed 16:02:38 Successfully built 69819a81f8df 16:02:38 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:02:38 provisioning config files... 16:02:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config3417772896486791534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:38 ---> docker-login.sh 16:02:38 nexus3.edgexfoundry.org:10001 16:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:38 Configure a credential helper to remove this warning. See 16:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:38 16:02:38 Login Succeeded 16:02:38 nexus3.edgexfoundry.org:10002 16:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:39 Configure a credential helper to remove this warning. See 16:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:39 16:02:39 Login Succeeded 16:02:39 nexus3.edgexfoundry.org:10003 16:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:40 Configure a credential helper to remove this warning. See 16:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:40 16:02:40 Login Succeeded 16:02:40 nexus3.edgexfoundry.org:10004 16:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:40 Configure a credential helper to remove this warning. See 16:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:40 16:02:40 Login Succeeded 16:02:40 docker.io 16:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:40 Configure a credential helper to remove this warning. See 16:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:40 16:02:40 Login Succeeded 16:02:40 ---> docker-login.sh ends [Pipeline] } 16:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:02:40 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 16:02:40 60d9a57dff39513032cce8af6e955f5a8a0738df 16:02:40 latest 16:02:40 2.0.1-dev.4 16:02:40 60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:02:40 main 16:02:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:02:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] isUnix [Pipeline] sh 16:02:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df 16:02:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:02:41 5370777b99c7: Preparing 16:02:41 0d269dc5c053: Preparing 16:02:41 6702d4e97725: Preparing 16:02:41 29aacdc2b43f: Preparing 16:02:41 0e3cb74351b2: Preparing 16:02:41 32f366d666a5: Preparing 16:02:41 0d269dc5c053: Pushed 16:02:42 6702d4e97725: Pushed 16:02:42 0e3cb74351b2: Pushed 16:02:42 32f366d666a5: Layer already exists 16:02:42 29aacdc2b43f: Pushed 16:02:43 5370777b99c7: Pushed 16:02:43 60d9a57dff39513032cce8af6e955f5a8a0738df: digest: sha256:03de3479bd7b7573c2e42fbe92ee6a76d87c19f136b68fb753b6679243dd478d size: 1572 [Pipeline] isUnix [Pipeline] sh 16:02:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 16:02:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 16:02:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:02:46 5370777b99c7: Preparing 16:02:46 0d269dc5c053: Preparing 16:02:46 6702d4e97725: Preparing 16:02:46 29aacdc2b43f: Preparing 16:02:46 0e3cb74351b2: Preparing 16:02:46 32f366d666a5: Preparing 16:02:46 32f366d666a5: Waiting 16:02:46 0e3cb74351b2: Layer already exists 16:02:46 6702d4e97725: Layer already exists 16:02:46 29aacdc2b43f: Layer already exists 16:02:46 5370777b99c7: Layer already exists 16:02:46 0d269dc5c053: Layer already exists 16:02:46 32f366d666a5: Layer already exists 16:02:46 latest: digest: sha256:03de3479bd7b7573c2e42fbe92ee6a76d87c19f136b68fb753b6679243dd478d size: 1572 [Pipeline] isUnix [Pipeline] sh 16:02:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.4 16:02:46 using credential edgex-jenkins-ssh [Pipeline] isUnix [Pipeline] sh 16:02:46 Cloning the remote Git repository 16:02:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.4 16:02:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:02:46 5370777b99c7: Preparing 16:02:46 0d269dc5c053: Preparing 16:02:46 6702d4e97725: Preparing 16:02:46 29aacdc2b43f: Preparing 16:02:46 0e3cb74351b2: Preparing 16:02:46 32f366d666a5: Preparing 16:02:46 32f366d666a5: Waiting 16:02:46 29aacdc2b43f: Layer already exists 16:02:46 0e3cb74351b2: Layer already exists 16:02:46 5370777b99c7: Layer already exists 16:02:46 6702d4e97725: Layer already exists 16:02:46 0d269dc5c053: Layer already exists 16:02:46 32f366d666a5: Layer already exists 16:02:46 2.0.1-dev.4: digest: sha256:03de3479bd7b7573c2e42fbe92ee6a76d87c19f136b68fb753b6679243dd478d size: 1572 [Pipeline] isUnix [Pipeline] sh 16:02:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:02:46 > git init /w/workspace/device-virtual-go/5 # timeout=10 16:02:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:02:46 > git --version # timeout=10 16:02:46 > git --version # 'git version 2.17.1' 16:02:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:02:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 16:02:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:02:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:02:47 5370777b99c7: Preparing 16:02:47 0d269dc5c053: Preparing 16:02:47 6702d4e97725: Preparing 16:02:47 29aacdc2b43f: Preparing 16:02:47 0e3cb74351b2: Preparing 16:02:47 32f366d666a5: Preparing 16:02:47 32f366d666a5: Waiting 16:02:47 29aacdc2b43f: Layer already exists 16:02:47 0d269dc5c053: Layer already exists 16:02:47 5370777b99c7: Layer already exists 16:02:47 0e3cb74351b2: Layer already exists 16:02:47 6702d4e97725: Layer already exists 16:02:47 32f366d666a5: Layer already exists 16:02:47 60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4: digest: sha256:03de3479bd7b7573c2e42fbe92ee6a76d87c19f136b68fb753b6679243dd478d size: 1572 [Pipeline] isUnix [Pipeline] sh 16:02:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 16:02:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 16:02:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:02:48 5370777b99c7: Preparing 16:02:48 0d269dc5c053: Preparing 16:02:48 6702d4e97725: Preparing 16:02:48 29aacdc2b43f: Preparing 16:02:48 0e3cb74351b2: Preparing 16:02:48 32f366d666a5: Preparing 16:02:48 32f366d666a5: Waiting 16:02:48 29aacdc2b43f: Layer already exists 16:02:48 0d269dc5c053: Layer already exists 16:02:48 0e3cb74351b2: Layer already exists 16:02:48 6702d4e97725: Layer already exists 16:02:48 5370777b99c7: Layer already exists 16:02:48 32f366d666a5: Layer already exists 16:02:48 main: digest: sha256:03de3479bd7b7573c2e42fbe92ee6a76d87c19f136b68fb753b6679243dd478d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:02:48 ===================================================== [Pipeline] echo 16:02:48 taggedImages: 16:02:48 - nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df 16:02:48 - nexus3.edgexfoundry.org:10004/device-virtual:latest 16:02:48 - nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.4 16:02:48 - nexus3.edgexfoundry.org:10004/device-virtual:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:02:48 - 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] { 16:02:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] sh 16:02:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:48 16:02:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:02:48 Avoid second fetch 16:02:48 Checking out Revision 60d9a57dff39513032cce8af6e955f5a8a0738df (main) 16:02:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:48 latest: Pulling from edgex-lftools-log-publisher 16:02:48 b4d181a07f80: Pulling fs layer 16:02:48 a1111a8f2ec3: Pulling fs layer 16:02:48 ed53099fbce6: Pulling fs layer 16:02:48 dc539afda2c1: Pulling fs layer 16:02:48 77bc0d833cb6: Pulling fs layer 16:02:48 9065ff56babe: Pulling fs layer 16:02:48 d287ab97295c: Pulling fs layer 16:02:48 dc539afda2c1: Waiting 16:02:48 77bc0d833cb6: Waiting 16:02:48 9065ff56babe: Waiting 16:02:48 d287ab97295c: Waiting 16:02:49 a1111a8f2ec3: Verifying Checksum 16:02:49 a1111a8f2ec3: Download complete 16:02:49 dc539afda2c1: Verifying Checksum 16:02:49 dc539afda2c1: Download complete 16:02:49 77bc0d833cb6: Download complete 16:02:49 9065ff56babe: Verifying Checksum 16:02:49 9065ff56babe: Download complete 16:02:49 ed53099fbce6: Verifying Checksum 16:02:49 ed53099fbce6: Download complete 16:02:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:02:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:48 > git config core.sparsecheckout # timeout=10 16:02:48 > git checkout -f 60d9a57dff39513032cce8af6e955f5a8a0738df # timeout=10 16:02:50 b4d181a07f80: Verifying Checksum 16:02:50 b4d181a07f80: Download complete 16:02:51 b4d181a07f80: Pull complete 16:02:51 a1111a8f2ec3: Pull complete 16:02:52 ed53099fbce6: Pull complete 16:02:52 dc539afda2c1: Pull complete 16:02:52 77bc0d833cb6: Pull complete 16:02:52 9065ff56babe: Pull complete 16:02:53 Commit message: "Merge pull request #237 from ernestojeda/remove-build-dockerfile" 16:02:53 16:02:53 GitHub has been notified of this commit’s build result 16:02:53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:02:53 provisioning config files... 16:02:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config6474223495838659330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:54 ---> docker-login.sh 16:02:54 nexus3.edgexfoundry.org:10001 16:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:54 d287ab97295c: Verifying Checksum 16:02:54 d287ab97295c: Download complete 16:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:55 Configure a credential helper to remove this warning. See 16:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:55 16:02:55 Login Succeeded 16:02:55 nexus3.edgexfoundry.org:10002 16:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:56 Configure a credential helper to remove this warning. See 16:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:56 16:02:56 Login Succeeded 16:02:56 nexus3.edgexfoundry.org:10003 16:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:56 Configure a credential helper to remove this warning. See 16:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:56 16:02:56 Login Succeeded 16:02:56 nexus3.edgexfoundry.org:10004 16:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:57 Configure a credential helper to remove this warning. See 16:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:57 16:02:57 Login Succeeded 16:02:57 docker.io 16:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:58 Configure a credential helper to remove this warning. See 16:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:58 16:02:58 Login Succeeded 16:02:58 ---> docker-login.sh ends [Pipeline] } 16:02:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:02:58 ========================================================= 16:02:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:02:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:02:59 + 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 . 16:03:00 d287ab97295c: Pull complete 16:03:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:03:00 Sending build context to Docker daemon 8.6MB 16:03:00 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 16:03:00 Step 2/12 : FROM ${BASE} AS builder 16:03:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:03:00 595b0fe564bb: Pulling fs layer 16:03:00 24495759ef45: Pulling fs layer 16:03:00 d148012ef14d: Pulling fs layer 16:03:00 e90a11edd702: Pulling fs layer 16:03:00 d77568369979: Pulling fs layer 16:03:00 fc1c9f9a7f3b: Pulling fs layer 16:03:00 170f2ba95c9a: Pulling fs layer 16:03:00 97ac5df62f85: Pulling fs layer 16:03:00 fc1c9f9a7f3b: Waiting 16:03:00 e90a11edd702: Waiting 16:03:00 d77568369979: Waiting 16:03:00 170f2ba95c9a: Waiting 16:03:00 97ac5df62f85: Waiting 16:03:00 d148012ef14d: Verifying Checksum 16:03:00 d148012ef14d: Download complete 16:03:00 24495759ef45: Verifying Checksum 16:03:00 24495759ef45: Download complete 16:03:00 d77568369979: Download complete 16:03:00 fc1c9f9a7f3b: Verifying Checksum 16:03:00 fc1c9f9a7f3b: Download complete 16:03:00 170f2ba95c9a: Verifying Checksum 16:03:00 170f2ba95c9a: Download complete 16:03:00 595b0fe564bb: Verifying Checksum 16:03:00 595b0fe564bb: Download complete 16:03:00 prd-centos7-docker-4c-2g-3353 does not seem to be running inside a container 16:03:00 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:03:00 595b0fe564bb: Pull complete 16:03:01 24495759ef45: Pull complete 16:03:02 d148012ef14d: Pull complete 16:03:03 $ docker top b2d8c9cfaa3e6fa4cad6e4b09bc91d5a1bbf19ba0f61144c74bfc1ca5e22026d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:04 97ac5df62f85: Verifying Checksum 16:03:04 97ac5df62f85: Download complete 16:03:04 ---> job-cost.sh 16:03:04 lf-activate-venv: SKIPPING 16:03:04 INFO: No Stack... 16:03:04 e90a11edd702: Verifying Checksum 16:03:04 e90a11edd702: Download complete 16:03:04 INFO: Retrieving Pricing Info for: v3-standard-2 16:03:05 INFO: Archiving Costs [Pipeline] sh 16:03:05 + cat /w/workspace/device-virtual-go/5/archives/cost.csv 16:03:05 + cut -d, -f6 [Pipeline] lock 16:03:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] 16:03:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] did not exist. Created. 16:03:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:03:06 + echo total: 0.05999999865889549 [Pipeline] stash 16:03:06 Stashed 1 file(s) [Pipeline] } 16:03:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 16:03:06 $ docker stop --time=1 b2d8c9cfaa3e6fa4cad6e4b09bc91d5a1bbf19ba0f61144c74bfc1ca5e22026d 16:03:07 $ docker rm -f b2d8c9cfaa3e6fa4cad6e4b09bc91d5a1bbf19ba0f61144c74bfc1ca5e22026d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:03:15 e90a11edd702: Pull complete 16:03:15 d77568369979: Pull complete 16:03:15 fc1c9f9a7f3b: Pull complete 16:03:15 170f2ba95c9a: Pull complete 16:03:20 97ac5df62f85: Pull complete 16:03:20 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 16:03:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:03:20 ---> 04bc70af865f 16:03:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:03:27 ---> Running in ead618ad2607 16:03:27 Removing intermediate container ead618ad2607 16:03:27 ---> 27d4b444d41d 16:03:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:03:27 ---> Running in 28b305d9ce30 16:03:28 Removing intermediate container 28b305d9ce30 16:03:28 ---> 03ce8aceea4f 16:03:28 Step 5/12 : WORKDIR /device-virtual-go 16:03:28 ---> Running in 4bf4408f4dc3 16:03:28 Removing intermediate container 4bf4408f4dc3 16:03:28 ---> c09c88c9b757 16:03:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:03:29 ---> Running in 5179a9857531 16:03:32 Removing intermediate container 5179a9857531 16:03:32 ---> 04f56d0a8320 16:03:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:03:32 ---> Running in 9f9d7211269b 16:03:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:03:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:03:37 (1/3) Installing openssh-keygen (8.4_p1-r3) 16:03:37 (2/3) Installing libedit (20191231.3.1-r1) 16:03:37 (3/3) Installing openssh-client (8.4_p1-r3) 16:03:37 Executing busybox-1.32.1-r6.trigger 16:03:37 OK: 222 MiB in 55 packages 16:03:38 Removing intermediate container 9f9d7211269b 16:03:38 ---> 460723cbec02 16:03:38 Step 8/12 : COPY . . 16:03:40 ---> aa199e18fcca 16:03:40 Step 9/12 : RUN go mod tidy 16:03:40 ---> Running in 57c1b4ed1630 16:03:44 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 16:03:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 16:03:44 go: downloading modernc.org/ql v1.0.0 16:03:44 go: downloading github.com/gorilla/mux v1.8.0 16:03:44 go: downloading github.com/stretchr/testify v1.7.0 16:03:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 16:03:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 16:03:44 go: downloading github.com/google/uuid v1.2.0 16:03:44 go: downloading github.com/go-kit/kit v0.9.0 16:03:44 go: downloading github.com/go-playground/validator/v10 v10.6.1 16:03:44 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:03:45 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 16:03:45 go: downloading github.com/pelletier/go-toml v1.9.2 16:03:45 go: downloading gopkg.in/yaml.v2 v2.4.0 16:03:45 go: downloading github.com/davecgh/go-spew v1.1.1 16:03:45 go: downloading github.com/pmezard/go-difflib v1.0.0 16:03:45 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 16:03:45 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 16:03:45 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 16:03:45 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:03:45 go: downloading github.com/go-playground/universal-translator v0.17.0 16:03:45 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 16:03:45 go: downloading github.com/leodido/go-urn v1.2.0 16:03:45 go: downloading golang.org/x/text v0.3.2 16:03:45 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:03:45 go: downloading github.com/go-playground/locales v0.13.0 16:03:49 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:03:49 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 16:03:49 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:03:49 go: downloading github.com/go-stack/stack v1.8.0 16:03:49 go: downloading modernc.org/b v1.0.0 16:03:49 go: downloading modernc.org/db v1.0.0 16:03:49 go: downloading modernc.org/file v1.0.0 16:03:49 go: downloading modernc.org/golex v1.0.0 16:03:49 go: downloading modernc.org/internal v1.0.0 16:03:49 go: downloading modernc.org/lldb v1.0.0 16:03:49 go: downloading modernc.org/mathutil v1.0.0 16:03:49 go: downloading modernc.org/strutil v1.0.0 16:03:49 go: downloading github.com/hashicorp/consul/api v1.8.1 16:03:49 go: downloading github.com/x448/float16 v0.8.4 16:03:49 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 16:03:49 go: downloading github.com/stretchr/objx v0.1.0 16:03:49 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:03:49 go: downloading github.com/pebbe/zmq4 v1.2.7 16:03:49 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:03:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:03:49 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:03:49 go: downloading github.com/kr/pretty v0.2.0 16:03:49 go: downloading modernc.org/fileutil v1.0.0 16:03:49 go: downloading modernc.org/sortutil v1.0.0 16:03:49 go: downloading modernc.org/zappy v1.0.0 16:03:49 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 16:03:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:03:49 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:03:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:03:49 go: downloading github.com/hashicorp/serf v0.9.5 16:03:49 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:03:49 go: downloading github.com/hashicorp/consul/sdk v0.7.0 16:03:50 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:03:50 go: downloading github.com/gorilla/websocket v1.4.2 16:03:50 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 16:03:50 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:03:50 go: downloading github.com/mitchellh/copystructure v1.0.0 16:03:50 go: downloading github.com/edsrzf/mmap-go v1.0.0 16:03:50 go: downloading github.com/onsi/ginkgo v1.10.1 16:03:50 go: downloading github.com/onsi/gomega v1.7.0 16:03:50 go: downloading github.com/kr/text v0.1.0 16:03:50 go: downloading github.com/golang/snappy v0.0.1 16:03:50 go: downloading github.com/fatih/color v1.9.0 16:03:50 go: downloading github.com/mattn/go-colorable v0.1.6 16:03:50 go: downloading github.com/mattn/go-isatty v0.0.12 16:03:50 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:03:50 go: downloading github.com/pkg/errors v0.8.1 16:03:50 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:03:50 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:03:50 go: downloading github.com/hashicorp/memberlist v0.2.2 16:03:50 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:03:50 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:03:50 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:03:50 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:03:50 go: downloading github.com/hpcloud/tail v1.0.0 16:03:50 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:03:51 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:03:51 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:03:51 go: downloading github.com/miekg/dns v1.1.26 16:03:51 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:03:51 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:03:51 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:03:51 go: downloading github.com/hashicorp/errwrap v1.0.0 16:03:51 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:04:06 Removing intermediate container 57c1b4ed1630 16:04:06 ---> a203b6c382fb 16:04:06 Step 10/12 : RUN go mod download 16:04:07 ---> Running in 1b29c0ef56bc 16:04:19 Removing intermediate container 1b29c0ef56bc 16:04:19 ---> a5e3e1d1daca 16:04:19 Step 11/12 : ARG MAKE='make build' 16:04:19 ---> Running in dcb5aafc27ae 16:04:20 Removing intermediate container dcb5aafc27ae 16:04:20 ---> 45d1996b61cc 16:04:20 Step 12/12 : RUN $MAKE 16:04:20 ---> Running in 0da7da62aece 16:04:21 noop 16:04:23 Removing intermediate container 0da7da62aece 16:04:23 ---> 6173b8af705c 16:04:23 Successfully built 6173b8af705c 16:04:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:04:23 + docker inspect -f . ci-base-image-arm64 16:04:23 . [Pipeline] withDockerContainer 16:04:24 prd-ubuntu18.04-docker-arm64-4c-16g-3361 does not seem to be running inside a container 16:04:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 16:04:25 $ docker top 2067f7e45220a33000e868015c44cda093e43265094f9885aae7d3865c3a68c3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:26 + go version 16:04:26 go version go1.16.6 linux/arm64 [Pipeline] } 16:04:26 $ docker stop --time=1 2067f7e45220a33000e868015c44cda093e43265094f9885aae7d3865c3a68c3 16:04:30 $ docker rm -f 2067f7e45220a33000e868015c44cda093e43265094f9885aae7d3865c3a68c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:04:31 + docker inspect -f . ci-base-image-arm64 16:04:31 . [Pipeline] withDockerContainer 16:04:31 prd-ubuntu18.04-docker-arm64-4c-16g-3361 does not seem to be running inside a container 16:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 16:04:33 $ docker top dff5f67609c23fa3f3531747fb38433f23415bd84b8af7a70001c0305c0d074c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:04:34 + go mod tidy [Pipeline] sh 16:04:36 + make test 16:04:36 go mod tidy 16:04:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:04:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:05:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:05:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.390s coverage: 64.6% of statements 16:05:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:06:38 gofmt -l . 16:06:38 [ "`gofmt -l .`" = "" ] 16:06:38 ./bin/test-attribution-txt.sh 16:06:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:06:38 $ docker stop --time=1 dff5f67609c23fa3f3531747fb38433f23415bd84b8af7a70001c0305c0d074c 16:06:40 $ docker rm -f dff5f67609c23fa3f3531747fb38433f23415bd84b8af7a70001c0305c0d074c [Pipeline] // withDockerContainer [Pipeline] sh 16:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:06:41 Warning: overwriting stash ‘coverage-report’ 16:06:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:06:44 + ls -al . 16:06:44 total 168 16:06:44 drwxrwxr-x 7 jenkins jenkins 4096 Aug 18 16:06 . 16:06:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 16:02 .. 16:06:44 drwxrwxr-x 8 jenkins jenkins 4096 Aug 18 16:02 .git 16:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 16:02 .github 16:06:44 -rw-rw-r-- 1 jenkins jenkins 277 Aug 18 16:02 .gitignore 16:06:44 -rw-rw-r-- 1 jenkins jenkins 8153 Aug 18 16:02 Attribution.txt 16:06:44 -rw-rw-r-- 1 jenkins jenkins 6349 Aug 18 16:02 CHANGELOG.md 16:06:44 -rw-rw-r-- 1 jenkins jenkins 1921 Aug 18 16:02 Dockerfile 16:06:44 -rw-rw-r-- 1 jenkins jenkins 677 Aug 18 16:02 GOVERNANCE.md 16:06:44 -rw-rw-r-- 1 jenkins jenkins 660 Aug 18 16:02 Jenkinsfile 16:06:44 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 18 16:02 LICENSE 16:06:44 -rw-rw-r-- 1 jenkins jenkins 905 Aug 18 16:02 Makefile 16:06:44 -rw-rw-r-- 1 jenkins jenkins 623 Aug 18 16:02 OWNERS.md 16:06:44 -rw-rw-r-- 1 jenkins jenkins 2913 Aug 18 16:02 README.md 16:06:44 -rw-rw-r-- 1 jenkins jenkins 11 Aug 18 15:59 VERSION 16:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 16:02 bin 16:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 16:02 cmd 16:06:44 -rw-r--r-- 1 jenkins jenkins 46339 Aug 18 16:05 coverage.out 16:06:44 -rw-r--r-- 1 jenkins jenkins 795 Aug 18 16:06 go.mod 16:06:44 -rw-r--r-- 1 jenkins jenkins 22824 Aug 18 16:04 go.sum 16:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 16:02 internal 16:06:44 -rw-rw-r-- 1 jenkins jenkins 235 Aug 18 16:02 version.go [Pipeline] isUnix [Pipeline] sh 16:06:44 + 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=60d9a57dff39513032cce8af6e955f5a8a0738df --label arch=arm64 --label version=2.0.1-dev.4 . 16:06:45 Sending build context to Docker daemon 8.67MB 16:06:45 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 16:06:45 Step 2/26 : FROM ${BASE} AS builder 16:06:45 ---> 6173b8af705c 16:06:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:06:45 ---> Running in ebb53ded2e7c 16:06:46 Removing intermediate container ebb53ded2e7c 16:06:46 ---> 2604be0dd1f3 16:06:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:06:46 ---> Running in 6236544036a8 16:06:47 Removing intermediate container 6236544036a8 16:06:47 ---> 196e992c10c7 16:06:47 Step 5/26 : WORKDIR /device-virtual-go 16:06:47 ---> Running in ecaaf14b8e74 16:06:47 Removing intermediate container ecaaf14b8e74 16:06:47 ---> d7effa98fe92 16:06:47 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:06:48 ---> Running in 3fdb74d3e036 16:06:50 Removing intermediate container 3fdb74d3e036 16:06:50 ---> 522328c9f2f5 16:06:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:06:51 ---> Running in 8787062b4581 16:06:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:06:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:06:56 OK: 222 MiB in 55 packages 16:06:57 Removing intermediate container 8787062b4581 16:06:57 ---> 7bcc62cf8e43 16:06:57 Step 8/26 : COPY . . 16:06:58 ---> a63d276b56e7 16:06:58 Step 9/26 : RUN go mod tidy 16:06:58 ---> Running in 2021f829897f 16:07:01 Removing intermediate container 2021f829897f 16:07:01 ---> 4abff69e6e00 16:07:01 Step 10/26 : RUN go mod download 16:07:01 ---> Running in c16a3e4cefb0 16:07:04 Removing intermediate container c16a3e4cefb0 16:07:04 ---> b1e26f4e215c 16:07:04 Step 11/26 : ARG MAKE='make build' 16:07:04 ---> Running in ec883f7b9369 16:07:05 Removing intermediate container ec883f7b9369 16:07:05 ---> d9f87c1896e2 16:07:05 Step 12/26 : RUN $MAKE 16:07:05 ---> Running in 80c90c3359a6 16:07:06 go mod tidy 16:07:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.4" -o cmd/device-virtual ./cmd 16:08:04 Removing intermediate container 80c90c3359a6 16:08:04 ---> a61238c8f741 16:08:04 Step 13/26 : FROM alpine:3.12 16:08:05 3.12: Pulling from library/alpine 16:08:05 d2f70382dc9a: Pulling fs layer 16:08:05 d2f70382dc9a: Download complete 16:08:06 d2f70382dc9a: Pull complete 16:08:06 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 16:08:06 Status: Downloaded newer image for alpine:3.12 16:08:06 ---> c4fd0aeabfcf 16:08:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:08:06 ---> Running in f46727f860fe 16:08:07 Removing intermediate container f46727f860fe 16:08:07 ---> 05fa5bd07677 16:08:07 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:08:07 ---> Running in 4a7c09bc7cee 16:08:09 Removing intermediate container 4a7c09bc7cee 16:08:09 ---> 3f4894257f93 16:08:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:08:09 ---> Running in 9c621a98f780 16:08:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:08:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:08:12 (1/6) Installing dumb-init (1.2.2-r1) 16:08:12 (2/6) Installing libgcc (9.3.0-r2) 16:08:12 (3/6) Installing libsodium (1.0.18-r0) 16:08:12 (4/6) Installing libstdc++ (9.3.0-r2) 16:08:13 (5/6) Installing libzmq (4.3.3-r0) 16:08:16 (6/6) Installing zeromq (4.3.3-r0) 16:08:16 Executing busybox-1.31.1-r20.trigger 16:08:16 OK: 8 MiB in 20 packages 16:08:16 Removing intermediate container 9c621a98f780 16:08:16 ---> e2802a1d7f6d 16:08:16 Step 17/26 : WORKDIR / 16:08:16 ---> Running in 3e71d5eccd45 16:08:16 Removing intermediate container 3e71d5eccd45 16:08:16 ---> 783a7c7165d3 16:08:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:08:16 ---> 8b0a2d6f01b3 16:08:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:08:17 ---> 9ffc2a15fbc8 16:08:17 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:08:19 ---> e7f4b8c3c65c 16:08:19 Step 21/26 : EXPOSE 59900 16:08:19 ---> Running in d54441b482a0 16:08:19 Removing intermediate container d54441b482a0 16:08:19 ---> d16bd7a7d6c1 16:08:19 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:08:19 ---> Running in 1b43cde53821 16:08:19 Removing intermediate container 1b43cde53821 16:08:19 ---> 4d420c74e35c 16:08:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:08:20 ---> Running in 7d8b1a9414eb 16:08:20 Removing intermediate container 7d8b1a9414eb 16:08:20 ---> ad8f74fe38c2 16:08:20 Step 24/26 : LABEL arch=arm64 16:08:20 ---> Running in 09efbc8ad100 16:08:21 Removing intermediate container 09efbc8ad100 16:08:21 ---> e93efd4be27c 16:08:21 Step 25/26 : LABEL git_sha=60d9a57dff39513032cce8af6e955f5a8a0738df 16:08:21 ---> Running in 29894d96858c 16:08:22 Removing intermediate container 29894d96858c 16:08:22 ---> 27fe1c25462b 16:08:22 Step 26/26 : LABEL version=2.0.1-dev.4 16:08:22 ---> Running in f76127c247d6 16:08:22 Removing intermediate container f76127c247d6 16:08:22 ---> 8fb12bf890d4 16:08:22 [Warning] One or more build-args [ARCH] were not consumed 16:08:22 Successfully built 8fb12bf890d4 16:08:22 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 16:08:23 provisioning config files... 16:08:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config4405614408701594881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:23 ---> docker-login.sh 16:08:23 nexus3.edgexfoundry.org:10001 16:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:23 Configure a credential helper to remove this warning. See 16:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:23 16:08:23 Login Succeeded 16:08:23 nexus3.edgexfoundry.org:10002 16:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:24 Configure a credential helper to remove this warning. See 16:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:24 16:08:24 Login Succeeded 16:08:24 nexus3.edgexfoundry.org:10003 16:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:24 Configure a credential helper to remove this warning. See 16:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:24 16:08:24 Login Succeeded 16:08:24 nexus3.edgexfoundry.org:10004 16:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:25 Configure a credential helper to remove this warning. See 16:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:25 16:08:25 Login Succeeded 16:08:25 docker.io 16:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:26 Configure a credential helper to remove this warning. See 16:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:26 16:08:26 Login Succeeded 16:08:26 ---> docker-login.sh ends [Pipeline] } 16:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:08:26 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 16:08:26 60d9a57dff39513032cce8af6e955f5a8a0738df 16:08:26 latest 16:08:26 2.0.1-dev.4 16:08:26 60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:08:26 main 16:08:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] isUnix [Pipeline] sh 16:08:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df 16:08:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:08:27 e7b0c72ad304: Preparing 16:08:27 81cd59cd6e45: Preparing 16:08:27 1ddf923d91e4: Preparing 16:08:27 f945a412b16d: Preparing 16:08:27 6f814dff4445: Preparing 16:08:27 3fbe34a1663b: Preparing 16:08:27 3fbe34a1663b: Waiting 16:08:27 81cd59cd6e45: Pushed 16:08:27 1ddf923d91e4: Pushed 16:08:27 6f814dff4445: Pushed 16:08:27 3fbe34a1663b: Layer already exists 16:08:27 f945a412b16d: Pushed 16:08:30 e7b0c72ad304: Pushed 16:08:30 60d9a57dff39513032cce8af6e955f5a8a0738df: digest: sha256:7a4e5d398afe0df6273c27745f6d7acd44fe631b5eb09995c21427f7a5ac847b size: 1572 [Pipeline] isUnix [Pipeline] sh 16:08:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:08:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:08:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:08:31 e7b0c72ad304: Preparing 16:08:31 81cd59cd6e45: Preparing 16:08:31 1ddf923d91e4: Preparing 16:08:31 f945a412b16d: Preparing 16:08:31 6f814dff4445: Preparing 16:08:31 3fbe34a1663b: Preparing 16:08:31 3fbe34a1663b: Waiting 16:08:31 e7b0c72ad304: Layer already exists 16:08:31 6f814dff4445: Layer already exists 16:08:31 81cd59cd6e45: Layer already exists 16:08:31 f945a412b16d: Layer already exists 16:08:31 1ddf923d91e4: Layer already exists 16:08:31 3fbe34a1663b: Layer already exists 16:08:31 latest: digest: sha256:7a4e5d398afe0df6273c27745f6d7acd44fe631b5eb09995c21427f7a5ac847b size: 1572 [Pipeline] isUnix [Pipeline] sh 16:08:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 16:08:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.4 16:08:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:08:32 e7b0c72ad304: Preparing 16:08:32 81cd59cd6e45: Preparing 16:08:32 1ddf923d91e4: Preparing 16:08:32 f945a412b16d: Preparing 16:08:32 6f814dff4445: Preparing 16:08:32 3fbe34a1663b: Preparing 16:08:32 3fbe34a1663b: Waiting 16:08:32 1ddf923d91e4: Layer already exists 16:08:32 6f814dff4445: Layer already exists 16:08:32 f945a412b16d: Layer already exists 16:08:32 81cd59cd6e45: Layer already exists 16:08:32 e7b0c72ad304: Layer already exists 16:08:32 3fbe34a1663b: Layer already exists 16:08:32 2.0.1-dev.4: digest: sha256:7a4e5d398afe0df6273c27745f6d7acd44fe631b5eb09995c21427f7a5ac847b size: 1572 [Pipeline] isUnix [Pipeline] sh 16:08:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 16:08:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:08:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:08:33 e7b0c72ad304: Preparing 16:08:33 81cd59cd6e45: Preparing 16:08:33 1ddf923d91e4: Preparing 16:08:33 f945a412b16d: Preparing 16:08:33 6f814dff4445: Preparing 16:08:33 3fbe34a1663b: Preparing 16:08:33 3fbe34a1663b: Waiting 16:08:33 f945a412b16d: Layer already exists 16:08:33 1ddf923d91e4: Layer already exists 16:08:33 e7b0c72ad304: Layer already exists 16:08:33 6f814dff4445: Layer already exists 16:08:33 81cd59cd6e45: Layer already exists 16:08:33 3fbe34a1663b: Layer already exists 16:08:33 60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4: digest: sha256:7a4e5d398afe0df6273c27745f6d7acd44fe631b5eb09995c21427f7a5ac847b size: 1572 [Pipeline] isUnix [Pipeline] sh 16:08:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 16:08:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 16:08:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:08:34 e7b0c72ad304: Preparing 16:08:34 81cd59cd6e45: Preparing 16:08:34 1ddf923d91e4: Preparing 16:08:34 f945a412b16d: Preparing 16:08:34 6f814dff4445: Preparing 16:08:34 3fbe34a1663b: Preparing 16:08:34 3fbe34a1663b: Waiting 16:08:34 81cd59cd6e45: Layer already exists 16:08:34 1ddf923d91e4: Layer already exists 16:08:34 f945a412b16d: Layer already exists 16:08:34 6f814dff4445: Layer already exists 16:08:34 e7b0c72ad304: Layer already exists 16:08:34 3fbe34a1663b: Layer already exists 16:08:34 main: digest: sha256:7a4e5d398afe0df6273c27745f6d7acd44fe631b5eb09995c21427f7a5ac847b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:08:34 ===================================================== [Pipeline] echo 16:08:34 taggedImages: 16:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df 16:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.4 16:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:60d9a57dff39513032cce8af6e955f5a8a0738df-2.0.1-dev.4 16:08:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:35 16:08:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:08:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:36 arm64: Pulling from edgex-lftools-log-publisher 16:08:36 448f6bf000e3: Pulling fs layer 16:08:36 f757da607395: Pulling fs layer 16:08:36 05883995daec: Pulling fs layer 16:08:36 8603b9c90790: Pulling fs layer 16:08:36 1560dd03e051: Pulling fs layer 16:08:36 27f5ce0e4adf: Pulling fs layer 16:08:36 c2d8d7efcc4b: Pulling fs layer 16:08:36 1560dd03e051: Waiting 16:08:36 27f5ce0e4adf: Waiting 16:08:36 c2d8d7efcc4b: Waiting 16:08:36 8603b9c90790: Waiting 16:08:36 f757da607395: Verifying Checksum 16:08:36 f757da607395: Download complete 16:08:36 8603b9c90790: Verifying Checksum 16:08:36 8603b9c90790: Download complete 16:08:36 1560dd03e051: Verifying Checksum 16:08:36 1560dd03e051: Download complete 16:08:36 27f5ce0e4adf: Verifying Checksum 16:08:36 27f5ce0e4adf: Download complete 16:08:36 05883995daec: Verifying Checksum 16:08:36 05883995daec: Download complete 16:08:37 448f6bf000e3: Verifying Checksum 16:08:37 448f6bf000e3: Download complete 16:08:40 c2d8d7efcc4b: Verifying Checksum 16:08:40 c2d8d7efcc4b: Download complete 16:08:40 448f6bf000e3: Pull complete 16:08:40 f757da607395: Pull complete 16:08:42 05883995daec: Pull complete 16:08:42 8603b9c90790: Pull complete 16:08:43 1560dd03e051: Pull complete 16:08:44 27f5ce0e4adf: Pull complete 16:08:59 c2d8d7efcc4b: Pull complete 16:08:59 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:08:59 prd-ubuntu18.04-docker-arm64-4c-16g-3361 does not seem to be running inside a container 16:08:59 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 16:09:05 $ docker top e9bde5b1e03195b25903f02f5a7317978d4eb3b148878124dd642be982a79868 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:06 ---> job-cost.sh 16:09:06 lf-activate-venv: SKIPPING 16:09:06 INFO: No Stack... 16:09:08 INFO: Retrieving Pricing Info for: v2-standard-4 16:09:08 INFO: Archiving Costs [Pipeline] sh 16:09:08 + cut -d, -f6 16:09:08 + cat /w/workspace/device-virtual-go/5/archives/cost.csv [Pipeline] lock 16:09:09 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] 16:09:09 Resource [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] did not exist. Created. 16:09:09 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:09:09 /w/workspace/device-virtual-go/5@tmp/durable-400c2705/script.sh: 1: /w/workspace/device-virtual-go/5@tmp/durable-400c2705/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:09:10 + echo total: 0.18000000715255737 [Pipeline] stash 16:09:10 Warning: overwriting stash ‘stack-cost’ 16:09:10 Stashed 1 file(s) [Pipeline] } 16:09:10 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 16:09:10 $ docker stop --time=1 e9bde5b1e03195b25903f02f5a7317978d4eb3b148878124dd642be982a79868 16:09:12 $ docker rm -f e9bde5b1e03195b25903f02f5a7317978d4eb3b148878124dd642be982a79868 [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 16:09:12 provisioning config files... 16:09:12 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3537217541513654150tmp [Pipeline] { [Pipeline] sh 16:09:13 + set +x 16:09:13 + bash -s -- 16:09:13 + curl -s https://codecov.io/bash 16:09:13 16:09:13 _____ _ 16:09:13 / ____| | | 16:09:13 | | ___ __| | ___ ___ _____ __ 16:09:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:09:13 | |___| (_) | (_| | __/ (_| (_) \ V / 16:09:13 \_____\___/ \__,_|\___|\___\___/ \_/ 16:09:13 Bash-1.0.6 16:09:13 16:09:13 16:09:13 ==> git version 2.24.4 found 16:09:13 ==> 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 16:09:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:09:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:09:13 ==> Jenkins CI detected. 16:09:13 current dir:  /w/workspace/exfoundry_device-virtual-go_main 16:09:13 project root: . 16:09:13 --> token set from env 16:09:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:09:13 ==> Running gcov in . (disable via -X gcov) 16:09:13 ==> Python coveragepy not found 16:09:13 ==> Searching for coverage reports in: 16:09:13 + . 16:09:13 -> Found 1 reports 16:09:13 ==> Detecting git/mercurial file structure 16:09:13 ==> Reading reports 16:09:13 + ./coverage.out bytes=46339 16:09:13 ==> Appending adjustments 16:09:13 https://docs.codecov.io/docs/fixing-reports 16:09:13 + Found adjustments 16:09:13 ==> Gzipping contents 16:09:13 8.0K /tmp/codecov.KzlEXE.gz 16:09:13 ==> Uploading reports 16:09:13 url: https://codecov.io 16:09:13 query: branch=main&commit=60d9a57dff39513032cce8af6e955f5a8a0738df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:13 -> Pinging Codecov 16:09:13 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=60d9a57dff39513032cce8af6e955f5a8a0738df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:09:13 -> Uploading to 16:09:13 https://storage.googleapis.com/codecov/v4/raw/2021-08-18/5E52B4B073DB2E39498172D8E973AA87/60d9a57dff39513032cce8af6e955f5a8a0738df/b5d65dcb-9ba3-4a64-9b3e-61c14dfcc09c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210818%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210818T160913Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9aef608cf9279d5da021420db8f2162fc4c967e57482b56b3666550bc00993a9 16:09:13 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:13 Dload Upload Total Spent Left Speed 16:09:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 17369 --:--:-- --:--:-- --:--:-- 17428 16:09:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] } 16:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:09:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:09:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:14 16:09:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:09:15 188c0c94c7c5: Pulling fs layer 16:09:15 0ef7d3d256c8: Pulling fs layer 16:09:15 de9db76c5a1d: Pulling fs layer 16:09:15 0eba1c9be4d2: Pulling fs layer 16:09:15 0d57e429df01: Pulling fs layer 16:09:15 4e4be7b47b0d: Pulling fs layer 16:09:15 e1f770b5df2f: Pulling fs layer 16:09:15 85a0685a4137: Pulling fs layer 16:09:15 0d57e429df01: Waiting 16:09:15 4e4be7b47b0d: Waiting 16:09:15 e1f770b5df2f: Waiting 16:09:15 85a0685a4137: Waiting 16:09:15 0eba1c9be4d2: Waiting 16:09:15 de9db76c5a1d: Verifying Checksum 16:09:15 de9db76c5a1d: Download complete 16:09:15 0ef7d3d256c8: Verifying Checksum 16:09:15 0ef7d3d256c8: Download complete 16:09:15 0d57e429df01: Verifying Checksum 16:09:15 0d57e429df01: Download complete 16:09:15 4e4be7b47b0d: Verifying Checksum 16:09:15 4e4be7b47b0d: Download complete 16:09:15 188c0c94c7c5: Verifying Checksum 16:09:15 188c0c94c7c5: Download complete 16:09:15 188c0c94c7c5: Pull complete 16:09:15 0ef7d3d256c8: Pull complete 16:09:15 de9db76c5a1d: Pull complete 16:09:16 e1f770b5df2f: Verifying Checksum 16:09:16 e1f770b5df2f: Download complete 16:09:20 0eba1c9be4d2: Verifying Checksum 16:09:20 0eba1c9be4d2: Download complete 16:09:20 85a0685a4137: Verifying Checksum 16:09:20 85a0685a4137: Download complete 16:09:23 0eba1c9be4d2: Pull complete 16:09:23 0d57e429df01: Pull complete 16:09:23 4e4be7b47b0d: Pull complete 16:09:23 e1f770b5df2f: Pull complete 16:09:27 85a0685a4137: Pull complete 16:09:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:09:27 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:09:29 $ docker top bf6de3a5cac83907d8e791d546a341ca0101bb36c18cb4ba9b3fbcad76fd7308 -eo pid,comm [Pipeline] { [Pipeline] echo 16:09:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:09:30 + set -o pipefail 16:09:30 + snyk monitor '--org=edgex-jenkins' 16:09:37 16:09:37 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 16:09:37 16:09:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/d476f1ac-7972-45a3-8f3a-98ec1ac485f9 16:09:37 16:09:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:09:37 16:09:37 16:09:37 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 16:09:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:09:37 $ docker stop --time=1 bf6de3a5cac83907d8e791d546a341ca0101bb36c18cb4ba9b3fbcad76fd7308 16:09:39 $ docker rm -f bf6de3a5cac83907d8e791d546a341ca0101bb36c18cb4ba9b3fbcad76fd7308 [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 16:09:40 + git log --format=format:%s -1 60d9a57dff39513032cce8af6e955f5a8a0738df [Pipeline] isUnix [Pipeline] sh 16:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:40 . [Pipeline] withDockerContainer 16:09:40 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:09:41 $ docker top 891b2c634e11a51ea24c9bded434726ba83aede8db9f4c3efda8384e845d2397 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:41 [ssh-agent] Looking for ssh-agent implementation... 16:09:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:41 $ docker exec 891b2c634e11a51ea24c9bded434726ba83aede8db9f4c3efda8384e845d2397 ssh-agent 16:09:41 SSH_AUTH_SOCK=/tmp/ssh-Kbdx6HK57rf0/agent.13 16:09:41 SSH_AGENT_PID=20 16:09:41 Running ssh-add (command line suppressed) 16:09:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4501823003975234376.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4501823003975234376.key) 16:09:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:42 + git semver tag 16:09:42 # -> Open(): unable to determine branch for HEAD 16:09:42 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 16:09:42 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 16:09:42 # $SEMVER_REMOTE_NAME = origin 16:09:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:09:42 # $SEMVER_USER_NAME = edgex-jenkins 16:09:42 # $SEMVER_BRANCH = main 16:09:42 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 16:09:42 # 60d9a57dff39513032cce8af6e955f5a8a0738df HEAD 16:09:42 # -> Force: false 16:09:42 # 69cf2767edaabdb343f891766def44f9cb60d361 refs/tags/v2.0.1-dev.4 [Pipeline] } 16:09:42 $ docker exec --env ******** --env ******** 891b2c634e11a51ea24c9bded434726ba83aede8db9f4c3efda8384e845d2397 ssh-agent -k 16:09:42 unset SSH_AUTH_SOCK; 16:09:42 unset SSH_AGENT_PID; 16:09:42 echo Agent pid 20 killed; 16:09:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:42 + git semver [Pipeline] } 16:09:42 $ docker stop --time=1 891b2c634e11a51ea24c9bded434726ba83aede8db9f4c3efda8384e845d2397 16:09:43 $ docker rm -f 891b2c634e11a51ea24c9bded434726ba83aede8db9f4c3efda8384e845d2397 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:09:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:44 16:09:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:09:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:44 0.23.1-centos7: Pulling from edgex-lftools 16:09:44 ab5ef0e58194: Pulling fs layer 16:09:44 9712f1f96733: Pulling fs layer 16:09:44 63f879dbbcfc: Pulling fs layer 16:09:44 0d9ebad4ef96: Pulling fs layer 16:09:44 e9a5061849ea: Pulling fs layer 16:09:44 d747dcd14b5f: Pulling fs layer 16:09:44 2de7ff778b66: Pulling fs layer 16:09:44 e9a5061849ea: Waiting 16:09:44 d747dcd14b5f: Waiting 16:09:44 2de7ff778b66: Waiting 16:09:44 0d9ebad4ef96: Waiting 16:09:44 9712f1f96733: Verifying Checksum 16:09:44 9712f1f96733: Download complete 16:09:46 63f879dbbcfc: Verifying Checksum 16:09:46 63f879dbbcfc: Download complete 16:09:46 e9a5061849ea: Verifying Checksum 16:09:46 e9a5061849ea: Download complete 16:09:46 d747dcd14b5f: Verifying Checksum 16:09:46 d747dcd14b5f: Download complete 16:09:47 2de7ff778b66: Verifying Checksum 16:09:47 2de7ff778b66: Download complete 16:09:47 0d9ebad4ef96: Verifying Checksum 16:09:47 0d9ebad4ef96: Download complete 16:09:48 ab5ef0e58194: Download complete 16:09:50 ab5ef0e58194: Pull complete 16:09:50 9712f1f96733: Pull complete 16:09:51 63f879dbbcfc: Pull complete 16:09:54 0d9ebad4ef96: Pull complete 16:09:54 e9a5061849ea: Pull complete 16:09:54 d747dcd14b5f: Pull complete 16:09:55 2de7ff778b66: Pull complete 16:09:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:09:56 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:09:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:09:59 $ docker top 66cea1d65c58af5c8ff0445bd1f2233d203317179b133065d02a33e387356a20 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:09:59 provisioning config files... 16:09:59 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2479743336590380338tmp 16:09:59 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6596343845435252929tmp 16:09:59 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6248777176146003491tmp [Pipeline] { [Pipeline] echo 16:10:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:10:01 ---> sigul-configuration.sh 16:10:01 gpg: directory `/root/.gnupg' created 16:10:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:10:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:10:01 gpg: keyring `/root/.gnupg/secring.gpg' created 16:10:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:10:01 gpg: CAST5 encrypted data 16:10:01 gpg: encrypted with 1 passphrase 16:10:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:10:01 + mkdir /home/jenkins 16:10:01 + mkdir /home/jenkins/sigul [Pipeline] sh 16:10:01 + 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 16:10:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:10:02 ---> sigul-install.sh 16:10:02 Sigul already installed; skipping installation. [Pipeline] sh 16:10:02 + git tag --list 16:10:02 v1.0.0 16:10:02 v1.1.0 16:10:02 v1.1.1 16:10:02 v1.2.1 16:10:02 v1.2.2 16:10:02 v1.2.3 16:10:02 v1.3.0 16:10:02 v1.3.1 16:10:02 v2.0.0 16:10:02 v2.0.1-dev.1 16:10:02 v2.0.1-dev.2 16:10:02 v2.0.1-dev.3 16:10:02 v2.0.1-dev.4 [Pipeline] sh 16:10:02 + lftools sign git-tag v2.0.1-dev.4 16:10:03 Signing Git tag with Sigul... 16:10:03 Signing v2.0.1-dev.4 [Pipeline] echo 16:10:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:10:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:10:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:10:04 $ docker stop --time=1 66cea1d65c58af5c8ff0445bd1f2233d203317179b133065d02a33e387356a20 16:10:05 $ docker rm -f 66cea1d65c58af5c8ff0445bd1f2233d203317179b133065d02a33e387356a20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:10:06 . [Pipeline] withDockerContainer 16:10:06 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:10:07 $ docker top 2b4adc8fc10678ad95d738e446de5a32f6ebd0f0011f66ed6a24357d41931104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:07 [ssh-agent] Looking for ssh-agent implementation... 16:10:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:07 $ docker exec 2b4adc8fc10678ad95d738e446de5a32f6ebd0f0011f66ed6a24357d41931104 ssh-agent 16:10:07 SSH_AUTH_SOCK=/tmp/ssh-DvHWrkt0TqSL/agent.14 16:10:07 SSH_AGENT_PID=21 16:10:07 Running ssh-add (command line suppressed) 16:10:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2407458464473262177.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2407458464473262177.key) 16:10:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:07 + git semver bump pre 16:10:07 # -> Open(): unable to determine branch for HEAD 16:10:07 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 16:10:07 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 16:10:07 # $SEMVER_REMOTE_NAME = origin 16:10:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:10:07 # $SEMVER_USER_NAME = edgex-jenkins 16:10:07 # $SEMVER_BRANCH = main 16:10:07 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 16:10:07 2.0.1-dev.5 [Pipeline] } 16:10:07 $ docker exec --env ******** --env ******** 2b4adc8fc10678ad95d738e446de5a32f6ebd0f0011f66ed6a24357d41931104 ssh-agent -k 16:10:08 unset SSH_AUTH_SOCK; 16:10:08 unset SSH_AGENT_PID; 16:10:08 echo Agent pid 21 killed; 16:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:08 + git semver [Pipeline] } 16:10:08 $ docker stop --time=1 2b4adc8fc10678ad95d738e446de5a32f6ebd0f0011f66ed6a24357d41931104 16:10:09 $ docker rm -f 2b4adc8fc10678ad95d738e446de5a32f6ebd0f0011f66ed6a24357d41931104 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:10:10 . [Pipeline] withDockerContainer 16:10:10 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:10:10 $ docker top 2319859e3ccb562a42face5db3322a61267a38a2078b2928800ec551e9cb2e70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:10 [ssh-agent] Looking for ssh-agent implementation... 16:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:10 $ docker exec 2319859e3ccb562a42face5db3322a61267a38a2078b2928800ec551e9cb2e70 ssh-agent 16:10:10 SSH_AUTH_SOCK=/tmp/ssh-glfRGLVrEHMT/agent.14 16:10:10 SSH_AGENT_PID=20 16:10:10 Running ssh-add (command line suppressed) 16:10:10 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3351618424578421214.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3351618424578421214.key) 16:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:11 + git semver push 16:10:11 # -> Open(): unable to determine branch for HEAD 16:10:11 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 16:10:11 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 16:10:11 # $SEMVER_REMOTE_NAME = origin 16:10:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:10:11 # $SEMVER_USER_NAME = edgex-jenkins 16:10:11 # $SEMVER_BRANCH = main 16:10:11 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 16:10:12 $ docker exec --env ******** --env ******** 2319859e3ccb562a42face5db3322a61267a38a2078b2928800ec551e9cb2e70 ssh-agent -k 16:10:12 unset SSH_AUTH_SOCK; 16:10:12 unset SSH_AGENT_PID; 16:10:12 echo Agent pid 20 killed; 16:10:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:13 + git semver [Pipeline] } 16:10:13 $ docker stop --time=1 2319859e3ccb562a42face5db3322a61267a38a2078b2928800ec551e9cb2e70 16:10:14 $ docker rm -f 2319859e3ccb562a42face5db3322a61267a38a2078b2928800ec551e9cb2e70 [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 16:10:15 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:10:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:10:16 ---> package-listing.sh 16:10:16 ++ facter osfamily 16:10:16 ++ tr '[:upper:]' '[:lower:]' 16:10:16 + OS_FAMILY=redhat 16:10:16 + workspace=/w/workspace/exfoundry_device-virtual-go_main 16:10:16 + START_PACKAGES=/tmp/packages_start.txt 16:10:16 + END_PACKAGES=/tmp/packages_end.txt 16:10:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:10:16 + PACKAGES=/tmp/packages_start.txt 16:10:16 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:10:16 + PACKAGES=/tmp/packages_end.txt 16:10:16 + case "${OS_FAMILY}" in 16:10:16 + rpm -qa 16:10:16 + sort 16:10:16 + '[' -f /tmp/packages_start.txt ']' 16:10:16 + '[' -f /tmp/packages_end.txt ']' 16:10:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:10:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:10:17 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 16:10:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 16:10:17 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 16:10:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:18 16:10:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:10:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:18 latest: Pulling from edgex-lftools-log-publisher 16:10:18 b4d181a07f80: Pulling fs layer 16:10:18 a1111a8f2ec3: Pulling fs layer 16:10:18 ed53099fbce6: Pulling fs layer 16:10:18 dc539afda2c1: Pulling fs layer 16:10:18 77bc0d833cb6: Pulling fs layer 16:10:18 9065ff56babe: Pulling fs layer 16:10:18 d287ab97295c: Pulling fs layer 16:10:18 77bc0d833cb6: Waiting 16:10:18 9065ff56babe: Waiting 16:10:18 d287ab97295c: Waiting 16:10:18 dc539afda2c1: Waiting 16:10:18 a1111a8f2ec3: Download complete 16:10:18 dc539afda2c1: Verifying Checksum 16:10:18 dc539afda2c1: Download complete 16:10:19 77bc0d833cb6: Verifying Checksum 16:10:19 77bc0d833cb6: Download complete 16:10:19 9065ff56babe: Verifying Checksum 16:10:19 9065ff56babe: Download complete 16:10:19 ed53099fbce6: Verifying Checksum 16:10:19 ed53099fbce6: Download complete 16:10:20 b4d181a07f80: Verifying Checksum 16:10:20 b4d181a07f80: Download complete 16:10:21 b4d181a07f80: Pull complete 16:10:21 a1111a8f2ec3: Pull complete 16:10:22 ed53099fbce6: Pull complete 16:10:22 dc539afda2c1: Pull complete 16:10:22 77bc0d833cb6: Pull complete 16:10:22 9065ff56babe: Pull complete 16:10:23 d287ab97295c: Verifying Checksum 16:10:23 d287ab97295c: Download complete 16:10:28 d287ab97295c: Pull complete 16:10:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:10:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:10:29 prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container 16:10:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:10:31 $ docker top aa9e3d5cd6844ba882dd8cc8061827141c355d1bbeb998ab55aebe1796bbc85f -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:32 + touch /tmp/pre-build-complete [Pipeline] sh 16:10:32 + mkdir -p /var/log/sysstat [Pipeline] sh 16:10:33 + ls /var/log/sa-host 16:10:33 + sadf -c /var/log/sa-host/sa05 16:10:33 file_magic: OK 16:10:33 HZ: Using current value: 100 16:10:33 file_header: OK 16:10:33 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 16:10:33 Statistics: 16:10:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:33 File successfully converted to sysstat format version 12.0.3 16:10:33 + sadf -c /var/log/sa-host/sa18 16:10:33 file_magic: OK 16:10:33 HZ: Using current value: 100 16:10:33 file_header: OK 16:10:33 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 16:10:33 Statistics: 16:10:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:33 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:34 provisioning config files... 16:10:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1192669709520500315tmp [Pipeline] { [Pipeline] echo 16:10:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:35 ---> create-netrc.sh [Pipeline] } 16:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:10:35 ---> python-tools-install.sh [Pipeline] echo 16:10:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:10:35 ---> sudo-logs.sh 16:10:35 Archiving 'sudo' log.. 16:10:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-3341.vexxhost.local: Name or service not known 16:10:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-3341.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:10:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:10:36 ---> job-cost.sh 16:10:36 lf-activate-venv: SKIPPING 16:10:36 DEBUG: total: 0.18000000715255737 16:10:36 INFO: Retrieving Stack Cost... 16:10:37 INFO: Retrieving Pricing Info for: v3-standard-2 16:10:37 INFO: Archiving Costs [Pipeline] echo 16:10:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:10:37 ---> logs-deploy.sh 16:10:37 lf-activate-venv: SKIPPING 16:10:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/5 16:10:37 INFO: archiving workspace using pattern(s): 16:10:38 Archives upload complete. 16:10:38 INFO: archiving logs to Nexus 16:10:39 ---> uname -a: 16:10:39 Linux prd-centos7-docker-4c-2g-3341.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 16:10:39 16:10:39 16:10:39 ---> lscpu: 16:10:39 Architecture: x86_64 16:10:39 CPU op-mode(s): 32-bit, 64-bit 16:10:39 Byte Order: Little Endian 16:10:39 Address sizes: 40 bits physical, 48 bits virtual 16:10:39 CPU(s): 2 16:10:39 On-line CPU(s) list: 0,1 16:10:39 Thread(s) per core: 1 16:10:39 Core(s) per socket: 1 16:10:39 Socket(s): 2 16:10:39 NUMA node(s): 1 16:10:39 Vendor ID: AuthenticAMD 16:10:39 CPU family: 23 16:10:39 Model: 49 16:10:39 Model name: AMD EPYC-Rome Processor 16:10:39 Stepping: 0 16:10:39 CPU MHz: 2799.996 16:10:39 BogoMIPS: 5599.99 16:10:39 Virtualization: AMD-V 16:10:39 Hypervisor vendor: KVM 16:10:39 Virtualization type: full 16:10:39 L1d cache: 32K 16:10:39 L1i cache: 32K 16:10:39 L2 cache: 512K 16:10:39 L3 cache: 16384K 16:10:39 NUMA node0 CPU(s): 0,1 16:10:39 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 16:10:39 16:10:39 16:10:39 ---> nproc: 16:10:39 2 16:10:39 16:10:39 16:10:39 ---> df -h: 16:10:39 Filesystem Size Used Avail Use% Mounted on 16:10:39 overlay 40G 9.0G 32G 23% / 16:10:39 tmpfs 64M 0 64M 0% /dev 16:10:39 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:10:39 shm 64M 0 64M 0% /dev/shm 16:10:39 /dev/vda1 40G 9.0G 32G 23% /facter-os 16:10:39 16:10:39 16:10:39 ---> sar -b -r -n DEV: 16:10:39 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/18/21 _x86_64_ (2 CPU) 16:10:39 16:10:39 15:58:18 LINUX RESTART (2 CPU) 16:10:39 16:10:39 15:59:02 tps rtps wtps bread/s bwrtn/s 16:10:39 16:00:01 18.57 0.68 17.89 358.22 3016.54 16:10:39 16:01:01 0.48 0.02 0.47 0.13 7.59 16:10:39 16:02:01 0.47 0.10 0.37 1.73 7.03 16:10:39 16:03:01 0.25 0.00 0.25 0.00 2.98 16:10:39 16:04:01 0.22 0.00 0.22 0.00 2.23 16:10:39 16:05:01 0.30 0.00 0.30 0.00 4.93 16:10:39 16:06:01 0.23 0.00 0.23 0.00 3.20 16:10:39 16:07:01 0.32 0.00 0.32 0.00 4.81 16:10:39 16:08:01 0.20 0.00 0.20 0.00 1.37 16:10:39 16:09:02 0.15 0.00 0.15 0.00 1.75 16:10:39 16:10:01 198.53 0.03 198.49 3.79 55088.03 16:10:39 Average: 19.71 0.07 19.63 32.65 5213.68 16:10:39 16:10:39 15:59:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:10:39 16:00:01 5460596 0 797164 9.95 2620 1748560 1250628 13.81 577520 1572324 20 16:10:39 16:01:01 5460320 0 797428 9.96 2620 1748572 1227536 13.55 577840 1572472 20 16:10:39 16:02:01 5460668 0 796956 9.95 2620 1748696 1225608 13.53 580100 1569948 8 16:10:39 16:03:01 5458192 0 799428 9.98 2620 1748700 1225720 13.53 581896 1570700 12 16:10:39 16:04:01 5459488 0 798124 9.97 2620 1748708 1225588 13.53 578292 1573560 20 16:10:39 16:05:01 5460044 0 797568 9.96 2620 1748708 1216300 13.43 578248 1573556 8 16:10:39 16:06:01 5459516 0 798092 9.97 2620 1748712 1206832 13.32 578832 1573556 20 16:10:39 16:07:01 5459452 0 798148 9.97 2620 1748720 1206832 13.32 578844 1573556 8 16:10:39 16:08:01 5450880 0 806720 10.07 2620 1748720 1206832 13.32 587160 1573556 16 16:10:39 16:09:02 5450604 0 806988 10.08 2620 1748728 1206928 13.33 589296 1571884 12 16:10:39 16:10:01 3881708 0 1053860 13.16 2620 3070752 1438524 15.88 783196 2729128 64 16:10:39 Average: 5314679 0 822771 10.27 2620 1868871 1239757 13.69 599202 1677658 19 16:10:39 16:10:39 15:59:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:10:39 16:00:01 eth0 115.30 74.10 477.94 15.70 0.00 0.00 0.00 0.00 16:10:39 16:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:00:01 docker0 23.72 31.17 2.81 140.32 0.00 0.00 0.00 0.00 16:10:39 16:01:01 eth0 6.64 1.28 1.75 0.95 0.00 0.00 0.00 0.00 16:10:39 16:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:02:01 eth0 5.98 1.40 1.72 0.99 0.00 0.00 0.00 0.00 16:10:39 16:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:03:01 eth0 1.30 0.67 0.55 0.45 0.00 0.00 0.00 0.00 16:10:39 16:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:04:01 eth0 0.72 0.38 0.35 0.26 0.00 0.00 0.00 0.00 16:10:39 16:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:05:01 eth0 0.22 0.17 0.07 0.01 0.00 0.00 0.00 0.00 16:10:39 16:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:06:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:10:39 16:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:07:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:10:39 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:08:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:10:39 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:09:02 eth0 0.32 0.20 0.09 0.07 0.00 0.00 0.00 0.00 16:10:39 16:09:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:09:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:10:01 veth247477b 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 16:10:39 16:10:01 eth0 1173.46 815.06 7849.93 109.38 0.00 0.00 0.00 0.00 16:10:39 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 16:10:01 docker0 70.73 92.67 5.79 409.07 0.00 0.00 0.00 0.00 16:10:39 Average: veth247477b 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 Average: eth0 116.99 80.13 747.20 11.47 0.00 0.00 0.00 0.00 16:10:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:39 Average: docker0 8.47 11.11 0.77 49.27 0.00 0.00 0.00 0.00 16:10:39 16:10:39 16:10:39 ---> sar -P ALL: 16:10:39 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/18/21 _x86_64_ (2 CPU) 16:10:39 16:10:39 15:58:18 LINUX RESTART (2 CPU) 16:10:39 16:10:39 15:59:02 CPU %user %nice %system %iowait %steal %idle 16:10:39 16:00:01 all 3.24 0.00 1.62 0.46 0.03 94.65 16:10:39 16:00:01 0 3.21 0.00 1.83 0.45 0.03 94.48 16:10:39 16:00:01 1 3.27 0.00 1.41 0.48 0.02 94.83 16:10:39 16:01:01 all 0.20 0.00 0.11 0.00 0.02 99.67 16:10:39 16:01:01 0 0.20 0.00 0.12 0.00 0.02 99.67 16:10:39 16:01:01 1 0.20 0.00 0.10 0.00 0.02 99.68 16:10:39 16:02:01 all 0.13 0.00 0.07 0.00 0.03 99.77 16:10:39 16:02:01 0 0.08 0.00 0.07 0.00 0.03 99.82 16:10:39 16:02:01 1 0.17 0.00 0.07 0.00 0.03 99.73 16:10:39 16:03:01 all 0.17 0.00 0.11 0.00 0.01 99.72 16:10:39 16:03:01 0 0.08 0.00 0.12 0.00 0.02 99.78 16:10:39 16:03:01 1 0.25 0.00 0.10 0.00 0.00 99.65 16:10:39 16:04:01 all 0.18 0.00 0.04 0.00 0.04 99.73 16:10:39 16:04:01 0 0.07 0.00 0.05 0.00 0.05 99.83 16:10:39 16:04:01 1 0.30 0.00 0.03 0.00 0.03 99.63 16:10:39 16:05:01 all 0.17 0.00 0.03 0.00 0.02 99.78 16:10:39 16:05:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:10:39 16:05:01 1 0.28 0.00 0.03 0.00 0.02 99.67 16:10:39 16:06:01 all 0.21 0.00 0.05 0.00 0.02 99.72 16:10:39 16:06:01 0 0.07 0.00 0.05 0.00 0.02 99.87 16:10:39 16:06:01 1 0.35 0.00 0.05 0.00 0.02 99.58 16:10:39 16:07:01 all 0.15 0.00 0.06 0.00 0.02 99.77 16:10:39 16:07:01 0 0.17 0.00 0.07 0.00 0.02 99.75 16:10:39 16:07:01 1 0.13 0.00 0.05 0.00 0.02 99.80 16:10:39 16:08:01 all 0.20 0.00 0.05 0.00 0.02 99.73 16:10:39 16:08:01 0 0.05 0.00 0.05 0.00 0.02 99.88 16:10:39 16:08:01 1 0.35 0.00 0.05 0.00 0.02 99.58 16:10:39 16:09:02 all 0.25 0.00 0.04 0.00 0.03 99.68 16:10:39 16:09:02 0 0.05 0.00 0.03 0.00 0.03 99.88 16:10:39 16:09:02 1 0.45 0.00 0.05 0.00 0.02 99.48 16:10:39 16:10:01 all 22.06 0.00 10.08 2.02 0.08 65.75 16:10:39 16:10:01 0 20.91 0.00 11.10 2.55 0.07 65.38 16:10:39 16:10:01 1 23.21 0.00 9.08 1.50 0.09 66.12 16:10:39 16:10:39 Average: CPU %user %nice %system %iowait %steal %idle 16:10:39 Average: all 2.32 0.00 1.06 0.21 0.03 96.38 16:10:39 Average: 0 2.13 0.00 1.16 0.26 0.03 96.42 16:10:39 Average: 1 2.51 0.00 0.95 0.17 0.02 96.34 16:10:39 16:10:39 16:10:39