Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9bccc4cec06c773c2a00f105ea4d68f813f72a03 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2106392780805767009.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3893471206275191169.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4688201988162389168.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5473959827931968577.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5029794089632064700.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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_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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-232 in /w/workspace/foundry_device-virtual-go_master [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/foundry_device-virtual-go_master # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh3365197516621569046.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 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) > 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 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk 8a9f53767de23efea08b28f521ee9bca65565c85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:55 ========================================================= 16:13:55 EdgeX Global Pipelines Version Info 16:13:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:56 ------------------- 16:13:56 stable info: 16:13:56 ------------------- 16:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:56 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 16:13:56 Message: update stable to v1.0.194 16:13:57 ------------------- 16:13:57 experimental info: 16:13:57 ------------------- 16:13:57 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:57 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 16:13:57 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bccc4c [Pipeline] echo 16:13:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:58 provisioning config files... 16:13:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6677164085070112788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:58 ---> docker-login.sh 16:13:58 nexus3.edgexfoundry.org:10001 16:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10002 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10003 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 nexus3.edgexfoundry.org:10004 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 docker.io 16:13:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:59 Configure a credential helper to remove this warning. See 16:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:59 16:13:59 Login Succeeded 16:13:59 ---> docker-login.sh ends [Pipeline] } 16:13:59 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 16:14:00 + git log --format=format:%s -1 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] echo 16:14:00 GIT_COMMIT: 9bccc4cec06c773c2a00f105ea4d68f813f72a03, Commit Message: Merge pull request #221 from lenny-intel/PublishTopicPrefix [Pipeline] echo 16:14:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:01 16:14:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:14:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:02 latest: Pulling from edgex-devops/git-semver 16:14:02 31603596830f: Pulling fs layer 16:14:02 54011a49482f: Pulling fs layer 16:14:02 a6820b24f6d8: Pulling fs layer 16:14:02 f581987b2513: Pulling fs layer 16:14:02 f581987b2513: Waiting 16:14:02 54011a49482f: Verifying Checksum 16:14:02 54011a49482f: Download complete 16:14:02 31603596830f: Verifying Checksum 16:14:02 31603596830f: Download complete 16:14:02 f581987b2513: Verifying Checksum 16:14:02 f581987b2513: Download complete 16:14:02 a6820b24f6d8: Verifying Checksum 16:14:02 a6820b24f6d8: Download complete 16:14:02 31603596830f: Pull complete 16:14:02 54011a49482f: Pull complete 16:14:03 a6820b24f6d8: Pull complete 16:14:03 f581987b2513: Pull complete 16:14:03 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 16:14:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:14:03 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:14:05 $ docker top 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:05 [ssh-agent] Looking for ssh-agent implementation... 16:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:05 $ docker exec 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent 16:14:05 SSH_AUTH_SOCK=/tmp/ssh-Jb9uohb97EUV/agent.14 16:14:05 SSH_AGENT_PID=20 16:14:05 Running ssh-add (command line suppressed) 16:14:05 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8054570209996642714.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8054570209996642714.key) 16:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:05 + git tag --points-at HEAD [Pipeline] } 16:14:05 $ docker exec --env ******** --env ******** 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent -k 16:14:06 unset SSH_AUTH_SOCK; 16:14:06 unset SSH_AGENT_PID; 16:14:06 echo Agent pid 20 killed; 16:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:14:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:06 [ssh-agent] Looking for ssh-agent implementation... 16:14:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:06 $ docker exec 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent 16:14:06 SSH_AUTH_SOCK=/tmp/ssh-N05j01TtlJBx/agent.54 16:14:06 SSH_AGENT_PID=60 16:14:06 Running ssh-add (command line suppressed) 16:14:06 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8696008646416262387.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8696008646416262387.key) 16:14:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:06 + git semver init 16:14:06 # -> Open(): unable to determine branch for HEAD 16:14:06 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 16:14:06 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 16:14:06 # $SEMVER_REMOTE_NAME = origin 16:14:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:14:06 # $SEMVER_USER_NAME = edgex-jenkins 16:14:06 # $SEMVER_BRANCH = master 16:14:06 # $SEMVER_TEMP = /tmp/semver-845568980 16:14:06 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 16:14:07 # '/tmp/semver-845568980' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 16:14:07 # -> Force: false 16:14:07 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 16:14:07 $ docker exec --env ******** --env ******** 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a ssh-agent -k 16:14:07 unset SSH_AUTH_SOCK; 16:14:07 unset SSH_AGENT_PID; 16:14:07 echo Agent pid 60 killed; 16:14:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14:08 + git semver [Pipeline] } 16:14:08 $ docker stop --time=1 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a 16:14:09 $ docker rm -f 9fab1b94ad7246345b7c3c6b58088ce54d2e3ef5e48522b43b38c797ab32f85a [Pipeline] // withDockerContainer [Pipeline] sh 16:14:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:14:10 Stashed 1 file(s) [Pipeline] echo 16:14:10 [edgeXSemver]: initialized semver on version 1.3.2-dev.23 [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 16:14:25 Still waiting to schedule task 16:14:25 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-232’ 16:14:25 Still waiting to schedule task 16:14:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:16:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-233 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 16:16:40 Running in /w/workspace/device-virtual-go/63 [Pipeline] { [Pipeline] checkout 16:16:40 The recommended git tool is: git 16:16:44 Running on prd-centos7-docker-4c-2g-234 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 16:16:44 Running in /w/workspace/device-virtual-go/63 [Pipeline] { [Pipeline] checkout 16:16:44 The recommended git tool is: git 16:16:46 using credential edgex-jenkins-ssh 16:16:46 Cloning the remote Git repository 16:16:46 using credential edgex-jenkins-ssh 16:16:46 Cloning the remote Git repository 16:16:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:16:46 > git init /w/workspace/device-virtual-go/63 # timeout=10 16:16:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:16:46 > git --version # timeout=10 16:16:46 > git --version # 'git version 2.17.1' 16:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:16:46 > git init /w/workspace/device-virtual-go/63 # timeout=10 16:16:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:16:46 > git --version # timeout=10 16:16:46 > git --version # 'git version 2.24.4' 16:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:46 [INFO] Currently running in a labeled security context 16:16:46 [INFO] Currently SELinux is 'enforcing' on the host 16:16:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/63@tmp/jenkins-gitclient-ssh6223016361779068531.key 16:16:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:47 Avoid second fetch 16:16:47 Checking out Revision 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) 16:16:48 Avoid second fetch 16:16:48 Checking out Revision 9bccc4cec06c773c2a00f105ea4d68f813f72a03 (master) 16:16:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:16:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:47 > git config core.sparsecheckout # timeout=10 16:16:47 > git checkout -f 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 16:16:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:16:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:48 > git config core.sparsecheckout # timeout=10 16:16:48 > git checkout -f 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 16:16:51 Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:16:52 Commit message: "Merge pull request #221 from lenny-intel/PublishTopicPrefix" 16:16:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 16:16:52 + sudo service docker restart 16:16:52 + true 16:16:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] sh 16:16:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:16:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:16:54 + true 16:16:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:10 provisioning config files... 16:17:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config2565748141003679078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:11 ---> docker-login.sh 16:17:11 nexus3.edgexfoundry.org:10001 16:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:11 Configure a credential helper to remove this warning. See 16:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:11 16:17:11 Login Succeeded 16:17:11 nexus3.edgexfoundry.org:10002 16:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:11 Configure a credential helper to remove this warning. See 16:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:11 16:17:11 Login Succeeded 16:17:11 nexus3.edgexfoundry.org:10003 16:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:11 Configure a credential helper to remove this warning. See 16:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:11 16:17:11 Login Succeeded 16:17:11 nexus3.edgexfoundry.org:10004 16:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:12 Configure a credential helper to remove this warning. See 16:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:12 16:17:12 Login Succeeded 16:17:12 docker.io 16:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:12 Configure a credential helper to remove this warning. See 16:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:12 16:17:12 Login Succeeded 16:17:12 ---> docker-login.sh ends [Pipeline] } 16:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:12 ========================================================= 16:17:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:17:12 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { 16:17:12 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:17:12 Sending build context to Docker daemon 8.599MB 16:17:12 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:17:12 Step 2/8 : FROM ${BASE} 16:17:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:17:12 540db60ca938: Pulling fs layer 16:17:12 adcc1eea9eea: Pulling fs layer 16:17:12 4c4ab2625f07: Pulling fs layer 16:17:12 0510c868ecb4: Pulling fs layer 16:17:12 afea3b2eda06: Pulling fs layer 16:17:12 7809a108b3ef: Pulling fs layer 16:17:12 f706445af74f: Pulling fs layer 16:17:12 0510c868ecb4: Waiting 16:17:12 7809a108b3ef: Waiting 16:17:12 f706445af74f: Waiting 16:17:12 afea3b2eda06: Waiting 16:17:12 4c4ab2625f07: Verifying Checksum 16:17:12 4c4ab2625f07: Download complete 16:17:12 adcc1eea9eea: Verifying Checksum 16:17:12 adcc1eea9eea: Download complete [Pipeline] configFileProvider 16:17:12 provisioning config files... 16:17:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config4260976231883153690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:13 afea3b2eda06: Download complete 16:17:13 540db60ca938: Verifying Checksum 16:17:13 540db60ca938: Download complete 16:17:13 540db60ca938: Pull complete 16:17:13 ---> docker-login.sh 16:17:13 nexus3.edgexfoundry.org:10001 16:17:13 7809a108b3ef: Verifying Checksum 16:17:13 7809a108b3ef: Download complete 16:17:13 adcc1eea9eea: Pull complete 16:17:13 4c4ab2625f07: Pull complete 16:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:14 Configure a credential helper to remove this warning. See 16:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:14 16:17:14 Login Succeeded 16:17:14 nexus3.edgexfoundry.org:10002 16:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:15 Configure a credential helper to remove this warning. See 16:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:15 16:17:15 Login Succeeded 16:17:15 nexus3.edgexfoundry.org:10003 16:17:15 f706445af74f: Verifying Checksum 16:17:15 f706445af74f: Download complete 16:17:15 0510c868ecb4: Verifying Checksum 16:17:15 0510c868ecb4: Download complete 16:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:15 Configure a credential helper to remove this warning. See 16:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:15 16:17:15 Login Succeeded 16:17:15 nexus3.edgexfoundry.org:10004 16:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:16 Configure a credential helper to remove this warning. See 16:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:16 16:17:16 Login Succeeded 16:17:16 docker.io 16:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:17 Configure a credential helper to remove this warning. See 16:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:17 16:17:17 Login Succeeded 16:17:17 ---> docker-login.sh ends [Pipeline] } 16:17:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:17 ========================================================= 16:17:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:17:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:17:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:17:18 Sending build context to Docker daemon 8.598MB 16:17:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 16:17:18 Step 2/8 : FROM ${BASE} 16:17:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:17:18 595b0fe564bb: Pulling fs layer 16:17:18 3088b5b3c5c0: Pulling fs layer 16:17:18 5b7225fbf94c: Pulling fs layer 16:17:18 ba82ee9f976e: Pulling fs layer 16:17:18 506bd15cee9f: Pulling fs layer 16:17:18 75a0a4a0db45: Pulling fs layer 16:17:18 618dc40b7e24: Pulling fs layer 16:17:18 ba82ee9f976e: Waiting 16:17:18 506bd15cee9f: Waiting 16:17:18 75a0a4a0db45: Waiting 16:17:18 618dc40b7e24: Waiting 16:17:18 5b7225fbf94c: Download complete 16:17:18 3088b5b3c5c0: Verifying Checksum 16:17:18 3088b5b3c5c0: Download complete 16:17:18 506bd15cee9f: Verifying Checksum 16:17:18 506bd15cee9f: Download complete 16:17:18 75a0a4a0db45: Verifying Checksum 16:17:18 75a0a4a0db45: Download complete 16:17:18 595b0fe564bb: Download complete 16:17:19 595b0fe564bb: Pull complete 16:17:19 3088b5b3c5c0: Pull complete 16:17:19 0510c868ecb4: Pull complete 16:17:19 afea3b2eda06: Pull complete 16:17:19 7809a108b3ef: Pull complete 16:17:20 5b7225fbf94c: Pull complete 16:17:20 618dc40b7e24: Verifying Checksum 16:17:20 618dc40b7e24: Download complete 16:17:20 f706445af74f: Pull complete 16:17:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 16:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:17:20 ---> b068be0155e3 16:17:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:17:21 ba82ee9f976e: Verifying Checksum 16:17:21 ba82ee9f976e: Download complete 16:17:34 ba82ee9f976e: Pull complete 16:17:34 506bd15cee9f: Pull complete 16:17:34 75a0a4a0db45: Pull complete 16:17:36 618dc40b7e24: Pull complete 16:17:36 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 16:17:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:17:36 ---> a36622ca3599 16:17:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 16:17:38 ---> Running in d466d890ca91 16:17:39 Removing intermediate container d466d890ca91 16:17:39 ---> 89a0e2e12d9c 16:17:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:39 ---> Running in 9230aecd1c65 16:17:42 Removing intermediate container 9230aecd1c65 16:17:42 ---> fd8447e08551 16:17:42 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 16:17:42 ---> Running in b43e261423b2 16:17:42 ---> Running in c033cd5ddf89 16:17:42 Removing intermediate container c033cd5ddf89 16:17:42 ---> 654fb8ac5189 16:17:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:42 ---> Running in b6f1eac774bf 16:17:42 Removing intermediate container b6f1eac774bf 16:17:42 ---> 37c0e06ea18c 16:17:42 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 16:17:42 ---> Running in 98356d1235c8 16:17:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:17:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:17:42 (1/13) Installing libc-dev (0.7.2-r3) 16:17:42 (2/13) Installing libsodium (1.0.18-r0) 16:17:42 (3/13) Installing pkgconf (1.7.3-r0) 16:17:42 (4/13) Installing libsodium-dev (1.0.18-r0) 16:17:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:17:43 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:17:43 (6/13) Installing libedit (20191231.3.1-r1) 16:17:43 (7/13) Installing openssh-client (8.4_p1-r3) 16:17:43 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:17:43 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:17:43 (10/13) Installing openssh-server (8.4_p1-r3) 16:17:43 (11/13) Installing openssh (8.4_p1-r3) 16:17:43 (12/13) Installing libzmq (4.3.3-r1) 16:17:44 (13/13) Installing zeromq-dev (4.3.3-r1) 16:17:44 Executing busybox-1.32.1-r6.trigger 16:17:44 OK: 156 MiB in 53 packages 16:17:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:17:44 Removing intermediate container 98356d1235c8 16:17:44 ---> e9d01fe1d86e 16:17:44 Step 6/8 : WORKDIR /device-virtual-go 16:17:44 ---> Running in 4203c0dfb36a 16:17:45 Removing intermediate container 4203c0dfb36a 16:17:45 ---> 624b1a0c6ec9 16:17:45 Step 7/8 : COPY . . 16:17:45 (1/13) Installing libc-dev (0.7.2-r3) 16:17:45 (2/13) Installing libsodium (1.0.18-r0) 16:17:45 (3/13) Installing pkgconf (1.7.3-r0) 16:17:45 (4/13) Installing libsodium-dev (1.0.18-r0) 16:17:45 (5/13) Installing openssh-keygen (8.4_p1-r3) 16:17:45 (6/13) Installing libedit (20191231.3.1-r1) 16:17:45 (7/13) Installing openssh-client (8.4_p1-r3) 16:17:45 ---> 9830fec26d5f 16:17:45 Step 8/8 : RUN go mod download 16:17:45 ---> Running in 1ab0f779a9f3 16:17:45 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 16:17:45 (9/13) Installing openssh-server-common (8.4_p1-r3) 16:17:46 (10/13) Installing openssh-server (8.4_p1-r3) 16:17:46 (11/13) Installing openssh (8.4_p1-r3) 16:17:46 (12/13) Installing libzmq (4.3.3-r1) 16:17:46 (13/13) Installing zeromq-dev (4.3.3-r1) 16:17:46 Executing busybox-1.32.1-r6.trigger 16:17:46 OK: 145 MiB in 53 packages 16:17:47 Removing intermediate container b43e261423b2 16:17:47 ---> 7f2b342f9b4a 16:17:47 Step 6/8 : WORKDIR /device-virtual-go 16:17:48 ---> Running in 57c38b6260d6 16:17:48 Removing intermediate container 57c38b6260d6 16:17:48 ---> 8a89623ebfd0 16:17:48 Step 7/8 : COPY . . 16:17:49 ---> 77b62e930110 16:17:49 Step 8/8 : RUN go mod download 16:17:50 ---> Running in b628f2f3245a 16:18:03 Removing intermediate container 1ab0f779a9f3 16:18:03 ---> a4ee2a54cf26 16:18:03 Successfully built a4ee2a54cf26 16:18:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:18:04 + docker inspect -f . ci-base-image-x86_64 16:18:04 . [Pipeline] withDockerContainer 16:18:04 prd-centos7-docker-4c-2g-234 does not seem to be running inside a container 16:18:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 ******** ci-base-image-x86_64 cat 16:18:04 $ docker top e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:05 + go version 16:18:05 go version go1.16.3 linux/amd64 [Pipeline] } 16:18:05 $ docker stop --time=1 e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 16:18:06 $ docker rm -f e18009683811c073f7bbbf4d9d0aaa6d56e75581a787bf06e4bfa8b36ba4d1e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:06 + docker inspect -f . ci-base-image-x86_64 16:18:06 . [Pipeline] withDockerContainer 16:18:06 prd-centos7-docker-4c-2g-234 does not seem to be running inside a container 16:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 ******** ci-base-image-x86_64 cat 16:18:07 $ docker top 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:08 + go mod tidy [Pipeline] sh 16:18:08 + make test 16:18:08 go mod tidy 16:18:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:18:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:18:17 Removing intermediate container b628f2f3245a 16:18:17 ---> b82314561aa6 16:18:17 Successfully built b82314561aa6 16:18:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:18:17 + docker inspect -f . ci-base-image-arm64 16:18:17 . [Pipeline] withDockerContainer 16:18:17 prd-ubuntu18.04-docker-arm64-4c-16g-233 does not seem to be running inside a container 16:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:18:19 $ docker top ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:20 + go version 16:18:20 go version go1.16.5 linux/arm64 [Pipeline] } 16:18:20 $ docker stop --time=1 ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 16:18:22 $ docker rm -f ddb5253f5b0ee69a17d012a4d17570b48f7fca87e3bab18a6030220eca337146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:22 + docker inspect -f . ci-base-image-arm64 16:18:22 . [Pipeline] withDockerContainer 16:18:23 prd-ubuntu18.04-docker-arm64-4c-16g-233 does not seem to be running inside a container 16:18:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:18:24 $ docker top 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:25 + go mod tidy [Pipeline] sh 16:18:26 + make test 16:18:26 go mod tidy 16:18:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:18:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:18:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:18:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.278s coverage: 63.8% of statements 16:18:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:18:39 gofmt -l . 16:18:39 [ "`gofmt -l .`" = "" ] 16:18:39 ./bin/test-attribution-txt.sh 16:18:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:18:39 $ docker stop --time=1 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed 16:18:41 $ docker rm -f 497ec97fd51f59c9528da69308d1ff774cc92be59c8eae8dddfcd17ec08946ed [Pipeline] // withDockerContainer [Pipeline] sh 16:18:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:18:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:44 + ls -al . 16:18:44 total 132 16:18:44 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 10 16:18 . 16:18:44 drwxrwxr-x. 4 jenkins jenkins 30 Jun 10 16:16 .. 16:18:44 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 10 16:16 Attribution.txt 16:18:44 drwxrwxr-x. 2 jenkins jenkins 64 Jun 10 16:16 bin 16:18:44 drwxrwxr-x. 3 jenkins jenkins 32 Jun 10 16:16 cmd 16:18:44 -rw-r--r--. 1 jenkins jenkins 47247 Jun 10 16:18 coverage.out 16:18:44 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 10 16:16 Dockerfile 16:18:44 -rw-rw-r--. 1 jenkins jenkins 998 Jun 10 16:16 Dockerfile.build 16:18:44 drwxrwxr-x. 8 jenkins jenkins 162 Jun 10 16:16 .git 16:18:44 drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 16:16 .github 16:18:44 -rw-rw-r--. 1 jenkins jenkins 277 Jun 10 16:16 .gitignore 16:18:44 -rw-r--r--. 1 jenkins jenkins 809 Jun 10 16:18 go.mod 16:18:44 -rw-r--r--. 1 jenkins jenkins 23009 Jun 10 16:18 go.sum 16:18:44 drwxrwxr-x. 3 jenkins jenkins 20 Jun 10 16:16 internal 16:18:44 -rw-rw-r--. 1 jenkins jenkins 660 Jun 10 16:16 Jenkinsfile 16:18:44 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 10 16:16 LICENSE 16:18:44 -rw-rw-r--. 1 jenkins jenkins 905 Jun 10 16:16 Makefile 16:18:44 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 10 16:16 README.md 16:18:44 -rw-rw-r--. 1 jenkins jenkins 12 Jun 10 16:14 VERSION 16:18:44 -rw-rw-r--. 1 jenkins jenkins 235 Jun 10 16:16 version.go [Pipeline] isUnix [Pipeline] sh 16:18:45 + 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=9bccc4cec06c773c2a00f105ea4d68f813f72a03 --label arch=amd64 --label version=1.3.2-dev.23 . 16:18:45 Sending build context to Docker daemon 8.67MB 16:18:45 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 16:18:45 Step 2/26 : FROM ${BASE} AS builder 16:18:45 ---> a4ee2a54cf26 16:18:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:18:45 ---> Running in c262430f40ba 16:18:45 Removing intermediate container c262430f40ba 16:18:45 ---> 181b84c20a74 16:18:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:18:45 ---> Running in a9cd17e89cf9 16:18:45 Removing intermediate container a9cd17e89cf9 16:18:45 ---> 6ae3cc8958cc 16:18:45 Step 5/26 : WORKDIR /device-virtual-go 16:18:45 ---> Running in 3a8912e8b460 16:18:45 Removing intermediate container 3a8912e8b460 16:18:45 ---> b89f41b51c1f 16:18:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:18:45 ---> Running in af7b1364c9ce 16:18:46 Removing intermediate container af7b1364c9ce 16:18:46 ---> 7c2a7deab2da 16:18:46 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:46 ---> Running in 57dea3d33a39 16:18:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:18:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:18:47 OK: 156 MiB in 53 packages 16:18:47 Removing intermediate container 57dea3d33a39 16:18:47 ---> 52b29c606acb 16:18:47 Step 8/26 : COPY . . 16:18:48 ---> 53b57741796d 16:18:48 Step 9/26 : RUN go mod tidy 16:18:48 ---> Running in ec86c3baa296 16:18:49 Removing intermediate container ec86c3baa296 16:18:49 ---> a43b3e6d0f37 16:18:49 Step 10/26 : RUN go mod download 16:18:49 ---> Running in a4c2289f4960 16:18:49 Removing intermediate container a4c2289f4960 16:18:49 ---> 2c3fa9db28dc 16:18:49 Step 11/26 : ARG MAKE='make build' 16:18:49 ---> Running in fda67005299a 16:18:49 Removing intermediate container fda67005299a 16:18:49 ---> 1c6c18633f38 16:18:49 Step 12/26 : RUN $MAKE 16:18:49 ---> Running in 446e5ae42f60 16:18:49 go mod tidy 16:18:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.23" -o cmd/device-virtual ./cmd 16:19:08 Removing intermediate container 446e5ae42f60 16:19:08 ---> 2d2d7ac31447 16:19:08 Step 13/26 : FROM alpine:3.12 16:19:08 3.12: Pulling from library/alpine 16:19:08 339de151aab4: Pulling fs layer 16:19:08 339de151aab4: Verifying Checksum 16:19:08 339de151aab4: Download complete 16:19:08 339de151aab4: Pull complete 16:19:08 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 16:19:08 Status: Downloaded newer image for alpine:3.12 16:19:08 ---> 13621d1b12d4 16:19:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:19:09 ---> Running in d9698e405344 16:19:09 Removing intermediate container d9698e405344 16:19:09 ---> 8aba2f0983e3 16:19:09 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:19:09 ---> Running in 21bf44e47baf 16:19:09 Removing intermediate container 21bf44e47baf 16:19:09 ---> 17217f254015 16:19:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:19:09 ---> Running in 4b2a41437a6d 16:19:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:19:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:19:10 (1/6) Installing dumb-init (1.2.2-r1) 16:19:11 (2/6) Installing libgcc (9.3.0-r2) 16:19:11 (3/6) Installing libsodium (1.0.18-r0) 16:19:11 (4/6) Installing libstdc++ (9.3.0-r2) 16:19:12 (5/6) Installing libzmq (4.3.3-r0) 16:19:12 (6/6) Installing zeromq (4.3.3-r0) 16:19:12 Executing busybox-1.31.1-r20.trigger 16:19:12 OK: 8 MiB in 20 packages 16:19:12 Removing intermediate container 4b2a41437a6d 16:19:12 ---> 4a9e9f8cd8aa 16:19:12 Step 17/26 : WORKDIR / 16:19:12 ---> Running in 109dca2a8854 16:19:12 Removing intermediate container 109dca2a8854 16:19:12 ---> 2fc00ba1f212 16:19:12 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:19:12 ---> f15f89a861ae 16:19:12 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:19:12 ---> e97cf91394ae 16:19:12 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:19:13 ---> 7ec483f04f89 16:19:13 Step 21/26 : EXPOSE 59900 16:19:13 ---> Running in c76354425fc4 16:19:13 Removing intermediate container c76354425fc4 16:19:13 ---> ac8be1a24f05 16:19:13 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:19:13 ---> Running in 3cc4b8c4e1a8 16:19:13 Removing intermediate container 3cc4b8c4e1a8 16:19:13 ---> 18ccb64fa977 16:19:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:19:13 ---> Running in d0647bfd35ab 16:19:13 Removing intermediate container d0647bfd35ab 16:19:13 ---> cdb9390b172b 16:19:13 Step 24/26 : LABEL arch=amd64 16:19:13 ---> Running in 80f99bf90c2d 16:19:14 Removing intermediate container 80f99bf90c2d 16:19:14 ---> 26daff33979c 16:19:14 Step 25/26 : LABEL git_sha=9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:19:14 ---> Running in 8bd986a36237 16:19:14 Removing intermediate container 8bd986a36237 16:19:14 ---> f279c8a0f041 16:19:14 Step 26/26 : LABEL version=1.3.2-dev.23 16:19:14 ---> Running in f01b1bcac16a 16:19:14 Removing intermediate container f01b1bcac16a 16:19:14 ---> 292d9f629573 16:19:14 [Warning] One or more build-args [ARCH] were not consumed 16:19:14 Successfully built 292d9f629573 16:19:14 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:14 provisioning config files... 16:19:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config1172671959616112624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:14 ---> docker-login.sh 16:19:14 nexus3.edgexfoundry.org:10001 16:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:14 Configure a credential helper to remove this warning. See 16:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:14 16:19:14 Login Succeeded 16:19:14 nexus3.edgexfoundry.org:10002 16:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:15 Configure a credential helper to remove this warning. See 16:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:15 16:19:15 Login Succeeded 16:19:15 nexus3.edgexfoundry.org:10003 16:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:15 Configure a credential helper to remove this warning. See 16:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:15 16:19:15 Login Succeeded 16:19:15 nexus3.edgexfoundry.org:10004 16:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:15 Configure a credential helper to remove this warning. See 16:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:15 16:19:15 Login Succeeded 16:19:15 docker.io 16:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:15 Configure a credential helper to remove this warning. See 16:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:15 16:19:15 Login Succeeded 16:19:15 ---> docker-login.sh ends [Pipeline] } 16:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:19:15 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 16:19:15 9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:19:15 latest 16:19:15 1.3.2-dev.23 16:19:15 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:19:15 master 16:19:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:19:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh 16:19:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:19:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:19:16 99dbcffe4c82: Preparing 16:19:16 dca25ac5b816: Preparing 16:19:16 93b1d4bfbc3c: Preparing 16:19:16 30d258793bcf: Preparing 16:19:16 75cf20c9e4d5: Preparing 16:19:16 32f366d666a5: Preparing 16:19:16 32f366d666a5: Waiting 16:19:16 75cf20c9e4d5: Pushed 16:19:16 dca25ac5b816: Pushed 16:19:16 32f366d666a5: Layer already exists 16:19:16 93b1d4bfbc3c: Pushed 16:19:16 30d258793bcf: Pushed 16:19:18 99dbcffe4c82: Pushed 16:19:18 9bccc4cec06c773c2a00f105ea4d68f813f72a03: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:19:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 16:19:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 16:19:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:19:19 99dbcffe4c82: Preparing 16:19:19 dca25ac5b816: Preparing 16:19:19 93b1d4bfbc3c: Preparing 16:19:19 30d258793bcf: Preparing 16:19:19 75cf20c9e4d5: Preparing 16:19:19 32f366d666a5: Preparing 16:19:19 32f366d666a5: Waiting 16:19:19 75cf20c9e4d5: Layer already exists 16:19:19 99dbcffe4c82: Layer already exists 16:19:19 93b1d4bfbc3c: Layer already exists 16:19:19 dca25ac5b816: Layer already exists 16:19:19 30d258793bcf: Layer already exists 16:19:19 32f366d666a5: Layer already exists 16:19:19 latest: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:19:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh 16:19:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 16:19:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:19:19 99dbcffe4c82: Preparing 16:19:19 dca25ac5b816: Preparing 16:19:19 93b1d4bfbc3c: Preparing 16:19:19 30d258793bcf: Preparing 16:19:19 75cf20c9e4d5: Preparing 16:19:19 32f366d666a5: Preparing 16:19:19 32f366d666a5: Waiting 16:19:19 93b1d4bfbc3c: Layer already exists 16:19:19 75cf20c9e4d5: Layer already exists 16:19:19 99dbcffe4c82: Layer already exists 16:19:19 30d258793bcf: Layer already exists 16:19:19 dca25ac5b816: Layer already exists 16:19:19 32f366d666a5: Layer already exists 16:19:19 1.3.2-dev.23: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:19:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh 16:19:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:19:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:19:20 99dbcffe4c82: Preparing 16:19:20 dca25ac5b816: Preparing 16:19:20 93b1d4bfbc3c: Preparing 16:19:20 30d258793bcf: Preparing 16:19:20 75cf20c9e4d5: Preparing 16:19:20 32f366d666a5: Preparing 16:19:20 32f366d666a5: Waiting 16:19:20 99dbcffe4c82: Layer already exists 16:19:20 93b1d4bfbc3c: Layer already exists 16:19:20 30d258793bcf: Layer already exists 16:19:20 dca25ac5b816: Layer already exists 16:19:20 75cf20c9e4d5: Layer already exists 16:19:20 32f366d666a5: Layer already exists 16:19:20 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:19:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 16:19:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 16:19:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:19:21 99dbcffe4c82: Preparing 16:19:21 dca25ac5b816: Preparing 16:19:21 93b1d4bfbc3c: Preparing 16:19:21 30d258793bcf: Preparing 16:19:21 75cf20c9e4d5: Preparing 16:19:21 32f366d666a5: Preparing 16:19:21 32f366d666a5: Waiting 16:19:21 dca25ac5b816: Layer already exists 16:19:21 30d258793bcf: Layer already exists 16:19:21 75cf20c9e4d5: Layer already exists 16:19:21 99dbcffe4c82: Layer already exists 16:19:21 93b1d4bfbc3c: Layer already exists 16:19:21 32f366d666a5: Layer already exists 16:19:21 master: digest: sha256:d68ef3dbf1806435af11416c96b0606d9f45eb7310c422ed32e6f4a784d10a48 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:19:21 ===================================================== [Pipeline] echo 16:19:21 taggedImages: 16:19:21 - nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:19:21 - nexus3.edgexfoundry.org:10004/device-virtual:latest 16:19:21 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.23 16:19:21 - nexus3.edgexfoundry.org:10004/device-virtual:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:19:21 - nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:19:22 ---> job-cost.sh 16:19:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UuzL 16:19:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:19:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:19:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.758s coverage: 63.8% of statements 16:19:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:19:44 lf-activate-venv(): INFO: Adding /tmp/venv-UuzL/bin to PATH 16:19:44 INFO: No Stack... 16:19:45 INFO: Retrieving Pricing Info for: v3-standard-2 16:19:45 INFO: Archiving Costs [Pipeline] sh 16:19:46 + cat /w/workspace/device-virtual-go/63/archives/cost.csv 16:19:46 + cut -d, -f6 [Pipeline] lock 16:19:46 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] 16:19:46 Resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] did not exist. Created. 16:19:46 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:19:46 + echo total: 0.05999999865889549 [Pipeline] stash 16:19:46 Stashed 1 file(s) [Pipeline] } 16:19:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:19:59 gofmt -l . 16:19:59 [ "`gofmt -l .`" = "" ] 16:19:59 ./bin/test-attribution-txt.sh 16:19:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:20:00 $ docker stop --time=1 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 16:20:02 $ docker rm -f 5e1fe37a2813b8320e2f16a15afd4fe17fb49e9654fdb68c9e94fd1cdd7b9ec7 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:03 Warning: overwriting stash ‘coverage-report’ 16:20:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:04 + ls -al . 16:20:04 total 156 16:20:04 drwxrwxr-x 7 jenkins jenkins 4096 Jun 10 16:20 . 16:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:16 .. 16:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 16:16 .git 16:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:16 .github 16:20:04 -rw-rw-r-- 1 jenkins jenkins 277 Jun 10 16:16 .gitignore 16:20:04 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 10 16:16 Attribution.txt 16:20:04 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 10 16:16 Dockerfile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 998 Jun 10 16:16 Dockerfile.build 16:20:04 -rw-rw-r-- 1 jenkins jenkins 660 Jun 10 16:16 Jenkinsfile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 10 16:16 LICENSE 16:20:04 -rw-rw-r-- 1 jenkins jenkins 905 Jun 10 16:16 Makefile 16:20:04 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 10 16:16 README.md 16:20:04 -rw-rw-r-- 1 jenkins jenkins 12 Jun 10 16:14 VERSION 16:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:16 bin 16:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:16 cmd 16:20:04 -rw-r--r-- 1 jenkins jenkins 47247 Jun 10 16:19 coverage.out 16:20:04 -rw-r--r-- 1 jenkins jenkins 809 Jun 10 16:19 go.mod 16:20:04 -rw-r--r-- 1 jenkins jenkins 23009 Jun 10 16:18 go.sum 16:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:16 internal 16:20:04 -rw-rw-r-- 1 jenkins jenkins 235 Jun 10 16:16 version.go [Pipeline] isUnix [Pipeline] sh 16:20:04 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9bccc4cec06c773c2a00f105ea4d68f813f72a03 --label arch=arm64 --label version=1.3.2-dev.23 . 16:20:05 Sending build context to Docker daemon 8.669MB 16:20:05 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 16:20:05 Step 2/26 : FROM ${BASE} AS builder 16:20:05 ---> b82314561aa6 16:20:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:20:05 ---> Running in 6505bdda5588 16:20:06 Removing intermediate container 6505bdda5588 16:20:06 ---> c6f333f8d39d 16:20:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:20:06 ---> Running in 38c315e4fc76 16:20:07 Removing intermediate container 38c315e4fc76 16:20:07 ---> 8f1dc507beea 16:20:07 Step 5/26 : WORKDIR /device-virtual-go 16:20:07 ---> Running in f2bf6a77c68c 16:20:08 Removing intermediate container f2bf6a77c68c 16:20:08 ---> 97e605a074c2 16:20:08 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:08 ---> Running in f26481cb5523 16:20:10 Removing intermediate container f26481cb5523 16:20:10 ---> 2914e7427e03 16:20:10 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:10 ---> Running in 7b589157467f 16:20:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:20:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:20:13 OK: 145 MiB in 53 packages 16:20:14 Removing intermediate container 7b589157467f 16:20:14 ---> c289bafb1aec 16:20:14 Step 8/26 : COPY . . 16:20:15 ---> 145766e75d94 16:20:15 Step 9/26 : RUN go mod tidy 16:20:16 ---> Running in 5bd5efee98f9 16:20:19 Removing intermediate container 5bd5efee98f9 16:20:19 ---> 02d3b1e51895 16:20:19 Step 10/26 : RUN go mod download 16:20:19 ---> Running in 145d3fc466d2 16:20:22 Removing intermediate container 145d3fc466d2 16:20:22 ---> 7e83c34eb292 16:20:22 Step 11/26 : ARG MAKE='make build' 16:20:22 ---> Running in 8558fd5430fa 16:20:22 Removing intermediate container 8558fd5430fa 16:20:22 ---> ee3da08e23f5 16:20:22 Step 12/26 : RUN $MAKE 16:20:22 ---> Running in a027b3f48991 16:20:23 go mod tidy 16:20:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.23" -o cmd/device-virtual ./cmd 16:21:20 Removing intermediate container a027b3f48991 16:21:20 ---> a58f8217fa78 16:21:20 Step 13/26 : FROM alpine:3.12 16:21:20 3.12: Pulling from library/alpine 16:21:20 d2f70382dc9a: Pulling fs layer 16:21:20 d2f70382dc9a: Download complete 16:21:20 d2f70382dc9a: Pull complete 16:21:20 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 16:21:20 Status: Downloaded newer image for alpine:3.12 16:21:20 ---> 9852663dfa18 16:21:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:21:20 ---> Running in 3eb0a571c142 16:21:20 Removing intermediate container 3eb0a571c142 16:21:20 ---> 5a8ace4c8995 16:21:20 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:20 ---> Running in 33c2230ccf32 16:21:20 Removing intermediate container 33c2230ccf32 16:21:20 ---> b6e34e649846 16:21:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:21:20 ---> Running in 681be6488689 16:21:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:21:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:21:20 (1/6) Installing dumb-init (1.2.2-r1) 16:21:20 (2/6) Installing libgcc (9.3.0-r2) 16:21:20 (3/6) Installing libsodium (1.0.18-r0) 16:21:20 (4/6) Installing libstdc++ (9.3.0-r2) 16:21:20 (5/6) Installing libzmq (4.3.3-r0) 16:21:20 (6/6) Installing zeromq (4.3.3-r0) 16:21:20 Executing busybox-1.31.1-r20.trigger 16:21:20 OK: 8 MiB in 20 packages 16:21:21 Removing intermediate container 681be6488689 16:21:21 ---> 5b27dbb564f5 16:21:21 Step 17/26 : WORKDIR / 16:21:21 ---> Running in f2b92a4be2b0 16:21:22 Removing intermediate container f2b92a4be2b0 16:21:22 ---> 16a682fc33f3 16:21:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:21:23 ---> 1284677d5a5f 16:21:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:21:23 ---> bb2b94f81086 16:21:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:21:25 ---> e1803a630c1e 16:21:25 Step 21/26 : EXPOSE 59900 16:21:25 ---> Running in b72a10f731cb 16:21:26 Removing intermediate container b72a10f731cb 16:21:26 ---> c192c07514c5 16:21:26 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:21:26 ---> Running in ad3a9d3b46ba 16:21:27 Removing intermediate container ad3a9d3b46ba 16:21:27 ---> a379f9390285 16:21:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:21:27 ---> Running in 9091d221acbe 16:21:27 Removing intermediate container 9091d221acbe 16:21:27 ---> b50632915e10 16:21:27 Step 24/26 : LABEL arch=arm64 16:21:27 ---> Running in 48007030a7b4 16:21:28 Removing intermediate container 48007030a7b4 16:21:28 ---> 53fec8e067c1 16:21:28 Step 25/26 : LABEL git_sha=9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:21:28 ---> Running in 011e4d524dad 16:21:28 Removing intermediate container 011e4d524dad 16:21:28 ---> 848997b1cca2 16:21:28 Step 26/26 : LABEL version=1.3.2-dev.23 16:21:28 ---> Running in 5198dde3d9cb 16:21:29 Removing intermediate container 5198dde3d9cb 16:21:29 ---> d4a0e4b0a64e 16:21:29 [Warning] One or more build-args [ARCH] were not consumed 16:21:29 Successfully built d4a0e4b0a64e 16:21:29 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:21:29 provisioning config files... 16:21:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config3988543380615949042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:30 ---> docker-login.sh 16:21:30 nexus3.edgexfoundry.org:10001 16:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:30 Configure a credential helper to remove this warning. See 16:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:30 16:21:30 Login Succeeded 16:21:30 nexus3.edgexfoundry.org:10002 16:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:31 Configure a credential helper to remove this warning. See 16:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:31 16:21:31 Login Succeeded 16:21:31 nexus3.edgexfoundry.org:10003 16:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:31 Configure a credential helper to remove this warning. See 16:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:31 16:21:31 Login Succeeded 16:21:31 nexus3.edgexfoundry.org:10004 16:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:32 Configure a credential helper to remove this warning. See 16:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:32 16:21:32 Login Succeeded 16:21:32 docker.io 16:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:33 Configure a credential helper to remove this warning. See 16:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:33 16:21:33 Login Succeeded 16:21:33 ---> docker-login.sh ends [Pipeline] } 16:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:21:33 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 16:21:33 9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:21:33 latest 16:21:33 1.3.2-dev.23 16:21:33 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:21:33 master 16:21:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:21:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh 16:21:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:21:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:21:33 04f8865cfc18: Preparing 16:21:33 46d5ebab1386: Preparing 16:21:33 c7dfbf60aa83: Preparing 16:21:33 882f2fbc816f: Preparing 16:21:33 68ea4d06f637: Preparing 16:21:33 3fbe34a1663b: Preparing 16:21:33 3fbe34a1663b: Waiting 16:21:34 68ea4d06f637: Pushed 16:21:34 46d5ebab1386: Pushed 16:21:34 c7dfbf60aa83: Pushed 16:21:34 3fbe34a1663b: Layer already exists 16:21:35 882f2fbc816f: Pushed 16:21:37 04f8865cfc18: Pushed 16:21:38 9bccc4cec06c773c2a00f105ea4d68f813f72a03: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:21:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:21:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:21:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:21:38 04f8865cfc18: Preparing 16:21:38 46d5ebab1386: Preparing 16:21:38 c7dfbf60aa83: Preparing 16:21:38 882f2fbc816f: Preparing 16:21:38 68ea4d06f637: Preparing 16:21:38 3fbe34a1663b: Preparing 16:21:38 3fbe34a1663b: Waiting 16:21:38 46d5ebab1386: Layer already exists 16:21:38 04f8865cfc18: Layer already exists 16:21:38 882f2fbc816f: Layer already exists 16:21:38 c7dfbf60aa83: Layer already exists 16:21:38 68ea4d06f637: Layer already exists 16:21:38 3fbe34a1663b: Layer already exists 16:21:38 latest: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:21:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh 16:21:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 16:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:21:39 04f8865cfc18: Preparing 16:21:39 46d5ebab1386: Preparing 16:21:39 c7dfbf60aa83: Preparing 16:21:39 882f2fbc816f: Preparing 16:21:39 68ea4d06f637: Preparing 16:21:39 3fbe34a1663b: Preparing 16:21:39 3fbe34a1663b: Waiting 16:21:39 04f8865cfc18: Layer already exists 16:21:39 46d5ebab1386: Layer already exists 16:21:39 882f2fbc816f: Layer already exists 16:21:39 c7dfbf60aa83: Layer already exists 16:21:39 68ea4d06f637: Layer already exists 16:21:39 3fbe34a1663b: Layer already exists 16:21:39 1.3.2-dev.23: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:21:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh 16:21:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:21:40 04f8865cfc18: Preparing 16:21:40 46d5ebab1386: Preparing 16:21:40 c7dfbf60aa83: Preparing 16:21:40 882f2fbc816f: Preparing 16:21:40 68ea4d06f637: Preparing 16:21:40 3fbe34a1663b: Preparing 16:21:40 3fbe34a1663b: Waiting 16:21:40 882f2fbc816f: Layer already exists 16:21:40 04f8865cfc18: Layer already exists 16:21:40 68ea4d06f637: Layer already exists 16:21:40 c7dfbf60aa83: Layer already exists 16:21:40 46d5ebab1386: Layer already exists 16:21:40 3fbe34a1663b: Layer already exists 16:21:40 9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] isUnix [Pipeline] sh 16:21:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 16:21:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 16:21:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:21:41 04f8865cfc18: Preparing 16:21:41 46d5ebab1386: Preparing 16:21:41 c7dfbf60aa83: Preparing 16:21:41 882f2fbc816f: Preparing 16:21:41 68ea4d06f637: Preparing 16:21:41 3fbe34a1663b: Preparing 16:21:41 3fbe34a1663b: Waiting 16:21:41 04f8865cfc18: Layer already exists 16:21:41 46d5ebab1386: Layer already exists 16:21:41 c7dfbf60aa83: Layer already exists 16:21:41 68ea4d06f637: Layer already exists 16:21:41 882f2fbc816f: Layer already exists 16:21:41 3fbe34a1663b: Layer already exists 16:21:41 master: digest: sha256:96a9d6f08b04ec3b69ea3cf479cabd422b70638ca23d6748e562d18ce90d7aa6 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:21:41 ===================================================== [Pipeline] echo 16:21:41 taggedImages: 16:21:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03 16:21:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:21:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.23 16:21:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9bccc4cec06c773c2a00f105ea4d68f813f72a03-1.3.2-dev.23 16:21:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 16:21:42 ---> job-cost.sh 16:21:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rYOm 16:22:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:23:43 lf-activate-venv(): INFO: Adding /tmp/venv-rYOm/bin to PATH 16:23:43 INFO: No Stack... 16:23:43 INFO: Retrieving Pricing Info for: v2-standard-4 16:23:43 INFO: Archiving Costs [Pipeline] sh 16:23:44 + cat /w/workspace/device-virtual-go/63/archives/cost.csv 16:23:44 + cut -d, -f6 [Pipeline] lock 16:23:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] 16:23:44 Resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] did not exist. Created. 16:23:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:44 /w/workspace/device-virtual-go/63@tmp/durable-cde889f0/script.sh: 1: /w/workspace/device-virtual-go/63@tmp/durable-cde889f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:23:44 + echo total: 0.18000000715255737 [Pipeline] stash 16:23:44 Warning: overwriting stash ‘stack-cost’ 16:23:45 Stashed 1 file(s) [Pipeline] } 16:23:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-63-stack-cost] [Pipeline] // lock [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:23:45 provisioning config files... 16:23:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5212546060951475585tmp [Pipeline] { [Pipeline] sh 16:23:46 + set +x 16:23:46 + curl -s https://codecov.io/bash 16:23:46 + bash -s -- 16:23:46 16:23:46 _____ _ 16:23:46 / ____| | | 16:23:46 | | ___ __| | ___ ___ _____ __ 16:23:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:23:46 | |___| (_) | (_| | __/ (_| (_) \ V / 16:23:46 \_____\___/ \__,_|\___|\___\___/ \_/ 16:23:46 Bash-1.0.3 16:23:46 16:23:46 16:23:46 ==> git version 2.24.4 found 16:23:46 ==> 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:23:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:23:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:23:46 ==> Jenkins CI detected. 16:23:46 project root: . 16:23:46 --> token set from env 16:23:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:23:46 ==> Running gcov in . (disable via -X gcov) 16:23:46 ==> Python coveragepy not found 16:23:46 ==> Searching for coverage reports in: 16:23:46 + . 16:23:46 -> Found 1 reports 16:23:46 ==> Detecting git/mercurial file structure 16:23:46 ==> Reading reports 16:23:46 + ./coverage.out bytes=47247 16:23:46 ==> Appending adjustments 16:23:46 https://docs.codecov.io/docs/fixing-reports 16:23:46 + Found adjustments 16:23:46 ==> Gzipping contents 16:23:46 8.0K /tmp/codecov.L8s1sy.gz 16:23:46 ==> Uploading reports 16:23:46 url: https://codecov.io 16:23:46 query: branch=master&commit=9bccc4cec06c773c2a00f105ea4d68f813f72a03&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:23:46 -> Pinging Codecov 16:23:46 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=9bccc4cec06c773c2a00f105ea4d68f813f72a03&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:23:47 -> Uploading to 16:23:47 https://storage.googleapis.com/codecov/v4/raw/2021-06-10/5E52B4B073DB2E39498172D8E973AA87/9bccc4cec06c773c2a00f105ea4d68f813f72a03/41f3e0bf-b9f0-447e-aa21-5b3308b644fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T162346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66f8e7e52a5e8e0ee0b24478fb0272e83c675e0e74364f67bd4b7202e008588b 16:23:47 % Total % Received % Xferd Average Speed Time Time Time Current 16:23:47 Dload Upload Total Spent Left Speed 16:23:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5773 0 0 100 5773 0 13270 --:--:-- --:--:-- --:--:-- 13301 16:23:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] } 16:23:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:23:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:23:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:23:48 16:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:23:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:23:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:23:49 188c0c94c7c5: Pulling fs layer 16:23:49 0ef7d3d256c8: Pulling fs layer 16:23:49 de9db76c5a1d: Pulling fs layer 16:23:49 0eba1c9be4d2: Pulling fs layer 16:23:49 0d57e429df01: Pulling fs layer 16:23:49 4e4be7b47b0d: Pulling fs layer 16:23:49 e1f770b5df2f: Pulling fs layer 16:23:49 85a0685a4137: Pulling fs layer 16:23:49 0d57e429df01: Waiting 16:23:49 4e4be7b47b0d: Waiting 16:23:49 e1f770b5df2f: Waiting 16:23:49 85a0685a4137: Waiting 16:23:49 0eba1c9be4d2: Waiting 16:23:49 de9db76c5a1d: Verifying Checksum 16:23:49 de9db76c5a1d: Download complete 16:23:49 0ef7d3d256c8: Verifying Checksum 16:23:49 0ef7d3d256c8: Download complete 16:23:49 0d57e429df01: Verifying Checksum 16:23:49 0d57e429df01: Download complete 16:23:49 188c0c94c7c5: Verifying Checksum 16:23:49 188c0c94c7c5: Download complete 16:23:49 4e4be7b47b0d: Download complete 16:23:49 188c0c94c7c5: Pull complete 16:23:49 0ef7d3d256c8: Pull complete 16:23:49 de9db76c5a1d: Pull complete 16:23:50 e1f770b5df2f: Verifying Checksum 16:23:50 e1f770b5df2f: Download complete 16:23:52 0eba1c9be4d2: Verifying Checksum 16:23:52 0eba1c9be4d2: Download complete 16:23:52 85a0685a4137: Verifying Checksum 16:23:52 85a0685a4137: Download complete 16:23:56 0eba1c9be4d2: Pull complete 16:23:56 0d57e429df01: Pull complete 16:23:56 4e4be7b47b0d: Pull complete 16:23:56 e1f770b5df2f: Pull complete 16:24:00 85a0685a4137: Pull complete 16:24:00 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:24:00 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:24:03 $ docker top 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 -eo pid,comm [Pipeline] { [Pipeline] echo 16:24:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:24:03 + set -o pipefail 16:24:03 + snyk monitor '--org=edgex-jenkins' 16:24:15 16:24:15 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 16:24:15 16:24:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/6f34ac66-0e49-4699-b9b8-e183f15580de 16:24:15 16:24:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:24:15 16:24:15 [Pipeline] } 16:24:15 $ docker stop --time=1 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 16:24:17 $ docker rm -f 9dab35b9a220e9537d3dd14238f427b924da4be23604f3f7b7c0ee6800b1dee6 [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:24:18 + git log --format=format:%s -1 9bccc4cec06c773c2a00f105ea4d68f813f72a03 [Pipeline] isUnix [Pipeline] sh 16:24:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:24:19 . [Pipeline] withDockerContainer 16:24:19 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 16:24:19 $ docker top a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:19 [ssh-agent] Looking for ssh-agent implementation... 16:24:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:20 $ docker exec a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a ssh-agent 16:24:20 SSH_AUTH_SOCK=/tmp/ssh-1LTcboWhBc0q/agent.13 16:24:20 SSH_AGENT_PID=19 16:24:20 Running ssh-add (command line suppressed) 16:24:20 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7683989969804899450.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7683989969804899450.key) 16:24:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:20 + git semver tag 16:24:20 # -> Open(): unable to determine branch for HEAD 16:24:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 16:24:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 16:24:20 # $SEMVER_REMOTE_NAME = origin 16:24:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:24:20 # $SEMVER_USER_NAME = edgex-jenkins 16:24:20 # $SEMVER_BRANCH = master 16:24:20 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 16:24:20 # 9bccc4cec06c773c2a00f105ea4d68f813f72a03 HEAD 16:24:20 # -> Force: false 16:24:20 # af75504ed089de342498a435ebdd0cc67f2fe0c2 refs/tags/v1.3.2-dev.23 [Pipeline] } 16:24:20 $ docker exec --env ******** --env ******** a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a ssh-agent -k 16:24:20 unset SSH_AUTH_SOCK; 16:24:20 unset SSH_AGENT_PID; 16:24:20 echo Agent pid 19 killed; 16:24:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:21 + git semver [Pipeline] } 16:24:21 $ docker stop --time=1 a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a 16:24:22 $ docker rm -f a6050a77da72b485d2ad655bdbef1653d3453c32065149bda6b1b3da98a6050a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:24:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:22 16:24:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:24:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:23 0.23.1-centos7: Pulling from edgex-lftools 16:24:23 ab5ef0e58194: Pulling fs layer 16:24:23 9712f1f96733: Pulling fs layer 16:24:23 63f879dbbcfc: Pulling fs layer 16:24:23 0d9ebad4ef96: Pulling fs layer 16:24:23 e9a5061849ea: Pulling fs layer 16:24:23 d747dcd14b5f: Pulling fs layer 16:24:23 2de7ff778b66: Pulling fs layer 16:24:23 0d9ebad4ef96: Waiting 16:24:23 e9a5061849ea: Waiting 16:24:23 d747dcd14b5f: Waiting 16:24:23 2de7ff778b66: Waiting 16:24:23 9712f1f96733: Verifying Checksum 16:24:23 9712f1f96733: Download complete 16:24:25 63f879dbbcfc: Verifying Checksum 16:24:25 63f879dbbcfc: Download complete 16:24:25 e9a5061849ea: Verifying Checksum 16:24:25 e9a5061849ea: Download complete 16:24:25 d747dcd14b5f: Verifying Checksum 16:24:25 d747dcd14b5f: Download complete 16:24:25 2de7ff778b66: Verifying Checksum 16:24:25 2de7ff778b66: Download complete 16:24:25 ab5ef0e58194: Verifying Checksum 16:24:25 ab5ef0e58194: Download complete 16:24:25 0d9ebad4ef96: Verifying Checksum 16:24:25 0d9ebad4ef96: Download complete 16:24:28 ab5ef0e58194: Pull complete 16:24:28 9712f1f96733: Pull complete 16:24:29 63f879dbbcfc: Pull complete 16:24:32 0d9ebad4ef96: Pull complete 16:24:33 e9a5061849ea: Pull complete 16:24:33 d747dcd14b5f: Pull complete 16:24:34 2de7ff778b66: Pull complete 16:24:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:24:34 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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:10003/edgex-lftools:0.23.1-centos7 cat 16:24:37 $ docker top 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:24:37 provisioning config files... 16:24:37 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7636885098029430267tmp 16:24:37 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1888963201524955419tmp 16:24:37 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6597007634408049894tmp [Pipeline] { [Pipeline] echo 16:24:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:24:38 ---> sigul-configuration.sh 16:24:38 gpg: directory `/root/.gnupg' created 16:24:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:24:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:24:38 gpg: keyring `/root/.gnupg/secring.gpg' created 16:24:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:24:38 gpg: CAST5 encrypted data 16:24:38 gpg: encrypted with 1 passphrase 16:24:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:24:38 + mkdir /home/jenkins 16:24:38 + mkdir /home/jenkins/sigul [Pipeline] sh 16:24:38 + 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:24:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:24:39 ---> sigul-install.sh 16:24:44 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:24:44 + git tag --list 16:24:44 v1.0.0 16:24:44 v1.1.0 16:24:44 v1.1.1 16:24:44 v1.2.1 16:24:44 v1.2.2 16:24:44 v1.2.3 16:24:44 v1.3.0 16:24:44 v1.3.1 16:24:44 v1.3.1-dev.1 16:24:44 v1.3.1-dev.2 16:24:44 v1.3.1-dev.3 16:24:44 v1.3.1-dev.4 16:24:44 v1.3.1-dev.5 16:24:44 v1.3.2-dev.1 16:24:44 v1.3.2-dev.10 16:24:44 v1.3.2-dev.11 16:24:44 v1.3.2-dev.12 16:24:44 v1.3.2-dev.13 16:24:44 v1.3.2-dev.14 16:24:44 v1.3.2-dev.15 16:24:44 v1.3.2-dev.16 16:24:44 v1.3.2-dev.17 16:24:44 v1.3.2-dev.18 16:24:44 v1.3.2-dev.19 16:24:44 v1.3.2-dev.2 16:24:44 v1.3.2-dev.20 16:24:44 v1.3.2-dev.21 16:24:44 v1.3.2-dev.22 16:24:44 v1.3.2-dev.23 16:24:44 v1.3.2-dev.3 16:24:44 v1.3.2-dev.4 16:24:44 v1.3.2-dev.5 16:24:44 v1.3.2-dev.6 16:24:44 v1.3.2-dev.7 16:24:44 v1.3.2-dev.8 16:24:44 v1.3.2-dev.9 [Pipeline] sh 16:24:44 + lftools sign git-tag v1.3.2-dev.23 16:24:45 Signing Git tag with Sigul... 16:24:45 Signing v1.3.2-dev.23 [Pipeline] echo 16:24:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:24:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:24:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:24:47 $ docker stop --time=1 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 16:24:48 $ docker rm -f 22773c8f03b8338c0254971f0f5ee9f7e3ba54a2e9a5835717c14d3ae09c58f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:24:49 . [Pipeline] withDockerContainer 16:24:49 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 16:24:49 $ docker top 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:50 [ssh-agent] Looking for ssh-agent implementation... 16:24:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:50 $ docker exec 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 ssh-agent 16:24:50 SSH_AUTH_SOCK=/tmp/ssh-7Huq3PuXhzAd/agent.15 16:24:50 SSH_AGENT_PID=22 16:24:50 Running ssh-add (command line suppressed) 16:24:50 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4857340562517113395.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4857340562517113395.key) 16:24:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:50 + git semver bump pre 16:24:50 # -> Open(): unable to determine branch for HEAD 16:24:50 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 16:24:50 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 16:24:50 # $SEMVER_REMOTE_NAME = origin 16:24:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:24:50 # $SEMVER_USER_NAME = edgex-jenkins 16:24:50 # $SEMVER_BRANCH = master 16:24:50 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 16:24:50 1.3.2-dev.24 [Pipeline] } 16:24:50 $ docker exec --env ******** --env ******** 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 ssh-agent -k 16:24:50 unset SSH_AUTH_SOCK; 16:24:50 unset SSH_AGENT_PID; 16:24:50 echo Agent pid 22 killed; 16:24:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:51 + git semver [Pipeline] } 16:24:51 $ docker stop --time=1 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 16:24:52 $ docker rm -f 14988de454f791efc100f33433a848b051a7b4397fdadd84ac8a8775ad327bd4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:24:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:24:52 . [Pipeline] withDockerContainer 16:24:53 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 16:24:53 $ docker top b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:53 [ssh-agent] Looking for ssh-agent implementation... 16:24:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:53 $ docker exec b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f ssh-agent 16:24:53 SSH_AUTH_SOCK=/tmp/ssh-Uv7INGf1tOgc/agent.13 16:24:53 SSH_AGENT_PID=20 16:24:53 Running ssh-add (command line suppressed) 16:24:54 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6760572243015994938.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6760572243015994938.key) 16:24:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:54 + git semver push 16:24:54 # -> Open(): unable to determine branch for HEAD 16:24:54 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 16:24:54 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 16:24:54 # $SEMVER_REMOTE_NAME = origin 16:24:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:24:54 # $SEMVER_USER_NAME = edgex-jenkins 16:24:54 # $SEMVER_BRANCH = master 16:24:54 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 16:24:59 $ docker exec --env ******** --env ******** b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f ssh-agent -k 16:24:59 unset SSH_AUTH_SOCK; 16:24:59 unset SSH_AGENT_PID; 16:24:59 echo Agent pid 20 killed; 16:24:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:00 + git semver [Pipeline] } 16:25:00 $ docker stop --time=1 b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f 16:25:01 $ docker rm -f b97c42eadfb30d1350d23ab4fa025be4b543812a53a55616eb066e7cbf3b951f [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] libraryResource [Pipeline] sh 16:25:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:25:03 ---> package-listing.sh 16:25:03 ++ tr '[:upper:]' '[:lower:]' 16:25:03 ++ facter osfamily 16:25:03 + OS_FAMILY=redhat 16:25:03 + workspace=/w/workspace/foundry_device-virtual-go_master 16:25:03 + START_PACKAGES=/tmp/packages_start.txt 16:25:03 + END_PACKAGES=/tmp/packages_end.txt 16:25:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:25:03 + PACKAGES=/tmp/packages_start.txt 16:25:03 + '[' /w/workspace/foundry_device-virtual-go_master ']' 16:25:03 + PACKAGES=/tmp/packages_end.txt 16:25:03 + case "${OS_FAMILY}" in 16:25:03 + sort 16:25:03 + rpm -qa 16:25:04 + '[' -f /tmp/packages_start.txt ']' 16:25:04 + '[' -f /tmp/packages_end.txt ']' 16:25:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:25:04 + '[' /w/workspace/foundry_device-virtual-go_master ']' 16:25:04 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 16:25:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 16:25:04 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/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:25:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:25:04 16:25:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:25:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:25:05 alpine: Pulling from edgex-lftools-log-publisher 16:25:05 df20fa9351a1: Pulling fs layer 16:25:05 36b3adc4ff6f: Pulling fs layer 16:25:05 8ad3a11d3b57: Pulling fs layer 16:25:05 46f8f816bc3b: Pulling fs layer 16:25:05 93b61091891f: Pulling fs layer 16:25:05 93b9cdb0e59b: Pulling fs layer 16:25:05 5e14af77c1be: Pulling fs layer 16:25:05 01666e4c0597: Pulling fs layer 16:25:05 aa168da1d23b: Pulling fs layer 16:25:05 46f8f816bc3b: Waiting 16:25:05 93b61091891f: Waiting 16:25:05 93b9cdb0e59b: Waiting 16:25:05 5e14af77c1be: Waiting 16:25:05 01666e4c0597: Waiting 16:25:05 aa168da1d23b: Waiting 16:25:05 36b3adc4ff6f: Verifying Checksum 16:25:05 36b3adc4ff6f: Download complete 16:25:05 46f8f816bc3b: Verifying Checksum 16:25:05 46f8f816bc3b: Download complete 16:25:05 df20fa9351a1: Verifying Checksum 16:25:05 df20fa9351a1: Download complete 16:25:05 93b9cdb0e59b: Verifying Checksum 16:25:05 93b9cdb0e59b: Download complete 16:25:05 5e14af77c1be: Verifying Checksum 16:25:05 5e14af77c1be: Download complete 16:25:05 01666e4c0597: Verifying Checksum 16:25:05 01666e4c0597: Download complete 16:25:05 93b61091891f: Verifying Checksum 16:25:05 93b61091891f: Download complete 16:25:05 df20fa9351a1: Pull complete 16:25:05 8ad3a11d3b57: Verifying Checksum 16:25:05 8ad3a11d3b57: Download complete 16:25:05 36b3adc4ff6f: Pull complete 16:25:06 8ad3a11d3b57: Pull complete 16:25:06 46f8f816bc3b: Pull complete 16:25:06 93b61091891f: Pull complete 16:25:06 93b9cdb0e59b: Pull complete 16:25:06 5e14af77c1be: Pull complete 16:25:06 01666e4c0597: Pull complete 16:25:07 aa168da1d23b: Verifying Checksum 16:25:07 aa168da1d23b: Download complete 16:25:12 aa168da1d23b: Pull complete 16:25:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:25:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:25:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:25:12 prd-centos7-docker-4c-2g-232 does not seem to be running inside a container 16:25:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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:10003/edgex-lftools-log-publisher:alpine cat 16:25:14 $ docker top 433f289445db8a5abd877437c21b3071a7dc010e1cf219502d7450380bd538a6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:25:14 + mkdir -p /var/log/sa [Pipeline] sh 16:25:15 + ls /var/log/sa-host 16:25:15 + sadf -c /var/log/sa-host/sa05 16:25:15 file_magic: OK 16:25:15 HZ: Using current value: 100 16:25:15 file_header: OK 16:25:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:25:15 Statistics: 16:25:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:25:15 File successfully converted to sysstat format version 12.2.1 16:25:15 + sadf -c /var/log/sa-host/sa10 16:25:15 file_magic: OK 16:25:15 HZ: Using current value: 100 16:25:15 file_header: OK 16:25:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:25:15 Statistics: 16:25:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:25:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:15 provisioning config files... 16:25:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5068179741808338463tmp [Pipeline] { [Pipeline] echo 16:25:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:25:16 ---> create-netrc.sh [Pipeline] } 16:25:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:25:16 ---> python-tools-install.sh [Pipeline] echo 16:25:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:25:16 ---> sudo-logs.sh 16:25:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:25:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:25:17 ---> job-cost.sh 16:25:17 lf-activate-venv: SKIPPING 16:25:17 DEBUG: total: 0.18000000715255737 16:25:17 INFO: Retrieving Stack Cost... 16:25:18 INFO: Retrieving Pricing Info for: v3-standard-2 16:25:18 INFO: Archiving Costs [Pipeline] echo 16:25:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:25:18 ---> logs-deploy.sh 16:25:18 lf-activate-venv: SKIPPING 16:25:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/63 16:25:18 INFO: archiving workspace using pattern(s): 16:25:19 Archives upload complete. 16:25:19 INFO: archiving logs to Nexus 16:25:20 ---> uname -a: 16:25:20 Linux prd-centos7-docker-4c-2g-232.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 16:25:20 16:25:20 16:25:20 ---> lscpu: 16:25:20 Architecture: x86_64 16:25:20 CPU op-mode(s): 32-bit, 64-bit 16:25:20 Byte Order: Little Endian 16:25:20 Address sizes: 40 bits physical, 48 bits virtual 16:25:20 CPU(s): 2 16:25:20 On-line CPU(s) list: 0,1 16:25:20 Thread(s) per core: 1 16:25:20 Core(s) per socket: 1 16:25:20 Socket(s): 2 16:25:20 NUMA node(s): 1 16:25:20 Vendor ID: AuthenticAMD 16:25:20 CPU family: 23 16:25:20 Model: 49 16:25:20 Model name: AMD EPYC-Rome Processor 16:25:20 Stepping: 0 16:25:20 CPU MHz: 2800.000 16:25:20 BogoMIPS: 5600.00 16:25:20 Virtualization: AMD-V 16:25:20 Hypervisor vendor: KVM 16:25:20 Virtualization type: full 16:25:20 L1d cache: 64 KiB 16:25:20 L1i cache: 64 KiB 16:25:20 L2 cache: 1 MiB 16:25:20 L3 cache: 32 MiB 16:25:20 NUMA node0 CPU(s): 0,1 16:25:20 Vulnerability Itlb multihit: Not affected 16:25:20 Vulnerability L1tf: Not affected 16:25:20 Vulnerability Mds: Not affected 16:25:20 Vulnerability Meltdown: Not affected 16:25:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:25:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:25:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:25:20 Vulnerability Srbds: Not affected 16:25:20 Vulnerability Tsx async abort: Not affected 16:25:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 16:25:20 16:25:20 16:25:20 ---> nproc: 16:25:20 2 16:25:20 16:25:20 16:25:20 ---> df -h: 16:25:20 Filesystem Size Used Available Use% Mounted on 16:25:20 overlay 40.0G 8.9G 31.1G 22% / 16:25:20 tmpfs 64.0M 0 64.0M 0% /dev 16:25:20 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 16:25:20 shm 64.0M 0 64.0M 0% /dev/shm 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 16:25:20 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 16:25:20 16:25:20 16:25:20 ---> free -m: 16:25:20 total used free shared buff/cache available 16:25:20 Mem: 7821 1275 3148 0 3397 6464 16:25:20 Swap: 1023 0 1023 16:25:20 16:25:20 16:25:20 ---> ip addr: 16:25:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:25:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:25:20 inet 127.0.0.1/8 scope host lo 16:25:20 valid_lft forever preferred_lft forever 16:25:20 inet6 ::1/128 scope host 16:25:20 valid_lft forever preferred_lft forever 16:25:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:25:20 link/ether fa:16:3e:e1:a1:67 brd ff:ff:ff:ff:ff:ff 16:25:20 inet 10.30.123.116/23 brd 10.30.123.255 scope global dynamic eth0 16:25:20 valid_lft 85680sec preferred_lft 85680sec 16:25:20 inet6 fe80::f816:3eff:fee1:a167/64 scope link 16:25:20 valid_lft forever preferred_lft forever 16:25:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:25:20 link/ether 02:42:5c:3e:9e:4a brd ff:ff:ff:ff:ff:ff 16:25:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:25:20 valid_lft forever preferred_lft forever 16:25:20 inet6 fe80::42:5cff:fe3e:9e4a/64 scope link 16:25:20 valid_lft forever preferred_lft forever 16:25:20 16:25:20 16:25:20 ---> sar -b -r -n DEV: 16:25:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/10/21 _x86_64_ (2 CPU) 16:25:20 16:25:20 16:13:09 LINUX RESTART (2 CPU) 16:25:20 16:25:20 16:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:25:20 16:15:01 19.94 0.67 19.28 0.00 353.05 3090.44 0.00 16:25:20 16:16:01 1.80 0.00 1.80 0.00 0.00 33.49 0.00 16:25:20 16:17:01 0.28 0.00 0.28 0.00 0.00 3.86 0.00 16:25:20 16:18:01 0.18 0.00 0.18 0.00 0.00 2.97 0.00 16:25:20 16:19:01 0.20 0.00 0.20 0.00 0.00 1.95 0.00 16:25:20 16:20:01 0.33 0.00 0.33 0.00 0.00 4.70 0.00 16:25:20 16:21:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 16:25:20 16:22:01 0.25 0.00 0.25 0.00 0.00 3.90 0.00 16:25:20 16:23:01 0.27 0.00 0.27 0.00 0.00 3.01 0.00 16:25:20 16:24:01 43.97 0.03 43.94 0.00 3.73 18644.69 0.00 16:25:20 16:25:02 165.70 0.00 165.70 0.00 0.00 40240.09 0.00 16:25:20 Average: 21.20 0.06 21.14 0.00 32.45 5640.84 0.00 16:25:20 16:25:20 16:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:25:20 16:15:01 5464936 0 792192 9.89 2620 1749192 1255628 13.86 568836 1574372 20 16:25:20 16:16:01 5467624 0 789496 9.86 2620 1749200 1203524 13.29 572812 1568960 8 16:25:20 16:17:01 5468396 0 788724 9.85 2620 1749200 1203440 13.29 570704 1570480 20 16:25:20 16:18:01 5467312 0 789800 9.86 2620 1749208 1203392 13.29 571948 1570484 16 16:25:20 16:19:01 5466984 0 790124 9.87 2620 1749212 1203488 13.29 565388 1577608 20 16:25:20 16:20:01 5467592 0 789516 9.86 2620 1749212 1203188 13.28 564788 1577608 12 16:25:20 16:21:01 5463096 0 794004 9.91 2620 1749220 1203188 13.28 569284 1577608 16 16:25:20 16:22:01 5454944 0 802148 10.02 2620 1749228 1203416 13.29 577264 1577608 8 16:25:20 16:23:01 5455196 0 801892 10.01 2620 1749232 1203452 13.29 578800 1575888 16 16:25:20 16:24:01 4564900 0 974088 12.16 2620 2467332 1383548 15.28 703048 2235788 230372 16:25:20 16:25:02 3749384 0 1185664 14.80 2620 3071272 1463856 16.16 924436 2697928 44 16:25:20 Average: 5226397 0 845241 10.55 2620 1934683 1248193 13.78 615210 1736757 20959 16:25:20 16:25:20 16:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:25:20 16:15:01 eth0 92.14 98.83 463.30 16.13 0.00 0.00 0.00 0.00 16:25:20 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:15:01 docker0 51.56 32.08 4.32 138.18 0.00 0.00 0.00 0.00 16:25:20 16:16:01 eth0 4.31 1.77 3.54 0.29 0.00 0.00 0.00 0.00 16:25:20 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:17:01 eth0 1.47 0.52 0.59 0.39 0.00 0.00 0.00 0.00 16:25:20 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:18:01 eth0 1.35 0.38 0.40 0.17 0.00 0.00 0.00 0.00 16:25:20 16:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:19:01 eth0 1.15 0.48 0.45 0.30 0.00 0.00 0.00 0.00 16:25:20 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:20:01 eth0 0.58 0.08 0.04 0.01 0.00 0.00 0.00 0.00 16:25:20 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:21:01 eth0 0.37 0.08 0.04 0.01 0.00 0.00 0.00 0.00 16:25:20 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:22:01 eth0 1.68 0.30 0.38 0.20 0.00 0.00 0.00 0.00 16:25:20 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:23:01 eth0 0.98 0.75 0.54 0.41 0.00 0.00 0.00 0.00 16:25:20 16:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:24:01 eth0 414.24 376.41 4077.73 30.80 0.00 0.00 0.00 0.00 16:25:20 16:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:25:02 eth0 524.63 460.52 3927.48 131.42 0.00 0.00 0.00 0.00 16:25:20 16:25:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 16:25:02 docker0 115.28 128.52 8.46 666.23 0.00 0.00 0.00 0.00 16:25:20 Average: eth0 94.84 85.49 770.62 16.38 0.00 0.00 0.00 0.00 16:25:20 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:20 Average: docker0 15.17 14.60 1.16 73.15 0.00 0.00 0.00 0.00 16:25:20 16:25:20 16:25:20 ---> sar -P ALL: 16:25:20 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/10/21 _x86_64_ (2 CPU) 16:25:20 16:25:20 16:13:09 LINUX RESTART (2 CPU) 16:25:20 16:25:20 16:14:01 CPU %user %nice %system %iowait %steal %idle 16:25:20 16:15:01 all 2.96 0.00 1.57 0.94 0.04 94.48 16:25:20 16:15:01 0 2.80 0.00 1.58 0.52 0.07 95.03 16:25:20 16:15:01 1 3.13 0.00 1.55 1.36 0.02 93.94 16:25:20 16:16:01 all 0.17 0.00 0.06 0.00 0.03 99.75 16:25:20 16:16:01 0 0.27 0.00 0.07 0.00 0.03 99.63 16:25:20 16:16:01 1 0.07 0.00 0.05 0.00 0.02 99.87 16:25:20 16:17:01 all 0.18 0.00 0.03 0.00 0.03 99.75 16:25:20 16:17:01 0 0.30 0.00 0.05 0.00 0.05 99.60 16:25:20 16:17:01 1 0.07 0.00 0.02 0.00 0.02 99.90 16:25:20 16:18:01 all 0.11 0.00 0.03 0.00 0.03 99.83 16:25:20 16:18:01 0 0.20 0.00 0.02 0.00 0.02 99.77 16:25:20 16:18:01 1 0.02 0.00 0.03 0.00 0.05 99.90 16:25:20 16:19:01 all 0.13 0.00 0.04 0.00 0.03 99.81 16:25:20 16:19:01 0 0.15 0.00 0.05 0.00 0.03 99.77 16:25:20 16:19:01 1 0.10 0.00 0.03 0.00 0.02 99.85 16:25:20 16:20:01 all 0.11 0.00 0.03 0.00 0.03 99.84 16:25:20 16:20:01 0 0.20 0.00 0.02 0.00 0.00 99.78 16:25:20 16:20:01 1 0.02 0.00 0.03 0.00 0.05 99.90 16:25:20 16:21:01 all 0.08 0.00 0.04 0.00 0.03 99.85 16:25:20 16:21:01 0 0.10 0.00 0.05 0.00 0.05 99.80 16:25:20 16:21:01 1 0.05 0.00 0.03 0.00 0.02 99.90 16:25:20 16:22:01 all 0.04 0.00 0.04 0.00 0.03 99.89 16:25:20 16:22:01 0 0.05 0.00 0.05 0.00 0.03 99.87 16:25:20 16:22:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:25:20 16:23:01 all 0.06 0.00 0.03 0.00 0.03 99.88 16:25:20 16:23:01 0 0.07 0.00 0.05 0.00 0.03 99.85 16:25:20 16:23:01 1 0.05 0.00 0.02 0.00 0.02 99.92 16:25:20 16:24:01 all 8.04 0.00 3.88 0.42 0.05 87.60 16:25:20 16:24:01 0 8.77 0.00 4.39 0.26 0.05 86.53 16:25:20 16:24:01 1 7.31 0.00 3.38 0.58 0.05 88.68 16:25:20 16:25:02 all 19.04 0.00 9.58 2.86 0.09 68.43 16:25:20 16:25:02 0 16.72 0.00 10.12 2.74 0.09 70.34 16:25:20 16:25:02 1 21.37 0.00 9.04 2.98 0.09 66.52 16:25:20 16:25:20 Average: CPU %user %nice %system %iowait %steal %idle 16:25:20 Average: all 2.72 0.00 1.35 0.37 0.04 95.52 16:25:20 Average: 0 2.61 0.00 1.45 0.31 0.04 95.59 16:25:20 Average: 1 2.83 0.00 1.25 0.43 0.03 95.46 16:25:20 16:25:20 16:25:20