Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 12c6854996096b74e90d43960f739a4a5ae0269d 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-ssh4376123218859069210.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5678294175480280446.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh7991954770762481033.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh5446958913213780255.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-ssh4371442227991905533.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-498 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-ssh1336536002846773615.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 12c6854996096b74e90d43960f739a4a5ae0269d (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 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 Commit message: "Merge pull request #222 from hahattan/sdk-issue-967" > git rev-list --no-walk 9bccc4cec06c773c2a00f105ea4d68f813f72a03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:13:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:13:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:09 ========================================================= 08:13:09 EdgeX Global Pipelines Version Info 08:13:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:13:10 ------------------- 08:13:10 stable info: 08:13:10 ------------------- 08:13:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:13:10 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 08:13:10 Message: update stable to v1.0.195 08:13:11 ------------------- 08:13:11 experimental info: 08:13:11 ------------------- 08:13:11 Commited By: **** collab-it+edgex@linuxfoundation.org 08:13:11 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 08:13:11 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12c6854 [Pipeline] echo 08:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:12 provisioning config files... 08:13:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8743211611629615922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:12 ---> docker-login.sh 08:13:12 nexus3.edgexfoundry.org:10001 08:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:13 Configure a credential helper to remove this warning. See 08:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:13 08:13:13 Login Succeeded 08:13:13 nexus3.edgexfoundry.org:10002 08:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:13 Configure a credential helper to remove this warning. See 08:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:13 08:13:13 Login Succeeded 08:13:13 nexus3.edgexfoundry.org:10003 08:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:13 Configure a credential helper to remove this warning. See 08:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:13 08:13:13 Login Succeeded 08:13:13 nexus3.edgexfoundry.org:10004 08:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:13 Configure a credential helper to remove this warning. See 08:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:13 08:13:13 Login Succeeded 08:13:13 docker.io 08:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:14 Configure a credential helper to remove this warning. See 08:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:14 08:13:14 Login Succeeded 08:13:14 ---> docker-login.sh ends [Pipeline] } 08:13:14 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 08:13:14 + git log --format=format:%s -1 12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] echo 08:13:14 GIT_COMMIT: 12c6854996096b74e90d43960f739a4a5ae0269d, Commit Message: Merge pull request #222 from hahattan/sdk-issue-967 [Pipeline] echo 08:13:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:13:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:15 08:13:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:13:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:16 latest: Pulling from edgex-devops/git-semver 08:13:16 31603596830f: Pulling fs layer 08:13:16 54011a49482f: Pulling fs layer 08:13:16 a6820b24f6d8: Pulling fs layer 08:13:16 f581987b2513: Pulling fs layer 08:13:16 f581987b2513: Waiting 08:13:16 54011a49482f: Verifying Checksum 08:13:16 54011a49482f: Download complete 08:13:16 31603596830f: Verifying Checksum 08:13:16 31603596830f: Download complete 08:13:16 f581987b2513: Verifying Checksum 08:13:16 f581987b2513: Download complete 08:13:16 a6820b24f6d8: Verifying Checksum 08:13:16 a6820b24f6d8: Download complete 08:13:16 31603596830f: Pull complete 08:13:16 54011a49482f: Pull complete 08:13:17 a6820b24f6d8: Pull complete 08:13:17 f581987b2513: Pull complete 08:13:17 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:13:17 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:13:17 $ 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 08:13:18 $ docker top 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:13:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:18 [ssh-agent] Looking for ssh-agent implementation... 08:13:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:19 $ docker exec 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 ssh-agent 08:13:19 SSH_AUTH_SOCK=/tmp/ssh-K3DLZYHBBVBr/agent.13 08:13:19 SSH_AGENT_PID=20 08:13:19 Running ssh-add (command line suppressed) 08:13:19 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6278220463959967950.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6278220463959967950.key) 08:13:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:19 + git tag --points-at HEAD [Pipeline] } 08:13:19 $ docker exec --env ******** --env ******** 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 ssh-agent -k 08:13:19 unset SSH_AUTH_SOCK; 08:13:19 unset SSH_AGENT_PID; 08:13:19 echo Agent pid 20 killed; 08:13:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:13:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:19 [ssh-agent] Looking for ssh-agent implementation... 08:13:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:19 $ docker exec 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 ssh-agent 08:13:20 SSH_AUTH_SOCK=/tmp/ssh-Xazo58aCiGUi/agent.54 08:13:20 SSH_AGENT_PID=60 08:13:20 Running ssh-add (command line suppressed) 08:13:20 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_26204755184670961.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_26204755184670961.key) 08:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:20 + git semver init 08:13:20 # -> Open(): unable to determine branch for HEAD 08:13:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:13:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:13:20 # $SEMVER_REMOTE_NAME = origin 08:13:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:13:20 # $SEMVER_USER_NAME = edgex-jenkins 08:13:20 # $SEMVER_BRANCH = master 08:13:20 # $SEMVER_TEMP = /tmp/semver-046648560 08:13:20 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:13:21 # '/tmp/semver-046648560' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 08:13:21 # -> Force: false 08:13:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:13:21 $ docker exec --env ******** --env ******** 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 ssh-agent -k 08:13:21 unset SSH_AUTH_SOCK; 08:13:21 unset SSH_AGENT_PID; 08:13:21 echo Agent pid 60 killed; 08:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:21 + git semver [Pipeline] } 08:13:21 $ docker stop --time=1 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 08:13:23 $ docker rm -f 0a83607e4fc97b0b417db22f50531292b6d6cf2f82c882ba810b8fe8e819fda4 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:13:23 Stashed 1 file(s) [Pipeline] echo 08:13:23 [edgeXSemver]: initialized semver on version 1.3.2-dev.24 [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 08:13:39 Still waiting to schedule task 08:13:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-498’ 08:13:39 Still waiting to schedule task 08:13:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:15:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-499 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:15:41 Running in /w/workspace/device-virtual-go/64 [Pipeline] { [Pipeline] checkout 08:15:42 The recommended git tool is: git 08:15:47 using credential edgex-jenkins-ssh 08:15:47 Cloning the remote Git repository 08:15:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:15:47 > git init /w/workspace/device-virtual-go/64 # timeout=10 08:15:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:47 > git --version # timeout=10 08:15:47 > git --version # 'git version 2.17.1' 08:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:49 Avoid second fetch 08:15:49 Checking out Revision 12c6854996096b74e90d43960f739a4a5ae0269d (master) 08:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:49 > git config core.sparsecheckout # timeout=10 08:15:49 > git checkout -f 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 08:15:53 Commit message: "Merge pull request #222 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:54 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:15:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:15:55 + sudo service docker restart 08:15:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:14 provisioning config files... 08:16:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/64@tmp/config4523853730771855835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:14 ---> docker-login.sh 08:16:14 nexus3.edgexfoundry.org:10001 08:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:15 Configure a credential helper to remove this warning. See 08:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:15 08:16:15 Login Succeeded 08:16:15 nexus3.edgexfoundry.org:10002 08:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:16 Configure a credential helper to remove this warning. See 08:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:16 08:16:16 Login Succeeded 08:16:16 nexus3.edgexfoundry.org:10003 08:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:16 Configure a credential helper to remove this warning. See 08:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:16 08:16:16 Login Succeeded 08:16:16 nexus3.edgexfoundry.org:10004 08:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:17 Configure a credential helper to remove this warning. See 08:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:17 08:16:17 Login Succeeded 08:16:17 docker.io 08:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:20 Configure a credential helper to remove this warning. See 08:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:20 08:16:20 Login Succeeded 08:16:20 ---> docker-login.sh ends [Pipeline] } 08:16:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:21 ========================================================= 08:16:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:16:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:16:21 Running on prd-centos7-docker-4c-2g-500 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:16:21 Running in /w/workspace/device-virtual-go/64 [Pipeline] { [Pipeline] checkout 08:16:21 The recommended git tool is: git 08:16:21 + 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 . 08:16:21 Sending build context to Docker daemon 8.606MB 08:16:21 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:16:21 Step 2/8 : FROM ${BASE} 08:16:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:16:21 595b0fe564bb: Pulling fs layer 08:16:21 3088b5b3c5c0: Pulling fs layer 08:16:21 5b7225fbf94c: Pulling fs layer 08:16:21 ba82ee9f976e: Pulling fs layer 08:16:21 506bd15cee9f: Pulling fs layer 08:16:21 75a0a4a0db45: Pulling fs layer 08:16:21 618dc40b7e24: Pulling fs layer 08:16:21 506bd15cee9f: Waiting 08:16:21 75a0a4a0db45: Waiting 08:16:21 ba82ee9f976e: Waiting 08:16:21 618dc40b7e24: Waiting 08:16:22 5b7225fbf94c: Verifying Checksum 08:16:22 5b7225fbf94c: Download complete 08:16:22 3088b5b3c5c0: Verifying Checksum 08:16:22 3088b5b3c5c0: Download complete 08:16:22 506bd15cee9f: Verifying Checksum 08:16:22 506bd15cee9f: Download complete 08:16:22 75a0a4a0db45: Verifying Checksum 08:16:22 75a0a4a0db45: Download complete 08:16:22 595b0fe564bb: Verifying Checksum 08:16:22 595b0fe564bb: Download complete 08:16:22 595b0fe564bb: Pull complete 08:16:23 3088b5b3c5c0: Pull complete 08:16:23 using credential edgex-jenkins-ssh 08:16:23 Cloning the remote Git repository 08:16:24 5b7225fbf94c: Pull complete 08:16:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:16:23 > git init /w/workspace/device-virtual-go/64 # timeout=10 08:16:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:16:23 > git --version # timeout=10 08:16:23 > git --version # 'git version 2.24.4' 08:16:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:23 [INFO] Currently running in a labeled security context 08:16:23 [INFO] Currently SELinux is 'enforcing' on the host 08:16:23 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/64@tmp/jenkins-gitclient-ssh2683843741625699647.key 08:16:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:25 618dc40b7e24: Download complete 08:16:26 ba82ee9f976e: Verifying Checksum 08:16:26 ba82ee9f976e: Download complete 08:16:27 Avoid second fetch 08:16:27 Checking out Revision 12c6854996096b74e90d43960f739a4a5ae0269d (master) 08:16:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:16:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:27 > git config core.sparsecheckout # timeout=10 08:16:27 > git checkout -f 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 08:16:30 Commit message: "Merge pull request #222 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:16:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:16:32 + sudo service docker restart 08:16:32 + true 08:16:32 Redirecting to /bin/systemctl restart docker.service 08:16:36 ba82ee9f976e: Pull complete 08:16:36 506bd15cee9f: Pull complete 08:16:37 75a0a4a0db45: Pull complete 08:16:40 618dc40b7e24: Pull complete 08:16:40 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 08:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:16:40 ---> a36622ca3599 08:16:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 08:16:42 ---> Running in 54e5fa8cc54d 08:16:43 Removing intermediate container 54e5fa8cc54d 08:16:43 ---> 2b5611aa6652 08:16:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:16:43 ---> Running in d253d335eea5 08:16:45 Removing intermediate container d253d335eea5 08:16:45 ---> d2b34cf9e52d 08:16:45 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 08:16:45 ---> Running in 041e9760671f 08:16:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:16:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:16:48 (1/13) Installing libc-dev (0.7.2-r3) 08:16:48 (2/13) Installing libsodium (1.0.18-r0) 08:16:48 (3/13) Installing pkgconf (1.7.3-r0) 08:16:48 (4/13) Installing libsodium-dev (1.0.18-r0) 08:16:48 (5/13) Installing openssh-keygen (8.4_p1-r3) 08:16:49 (6/13) Installing libedit (20191231.3.1-r1) 08:16:49 (7/13) Installing openssh-client (8.4_p1-r3) 08:16:49 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 08:16:49 (9/13) Installing openssh-server-common (8.4_p1-r3) 08:16:49 (10/13) Installing openssh-server (8.4_p1-r3) 08:16:50 (11/13) Installing openssh (8.4_p1-r3) 08:16:50 (12/13) Installing libzmq (4.3.3-r1) 08:16:50 (13/13) Installing zeromq-dev (4.3.3-r1) 08:16:50 Executing busybox-1.32.1-r6.trigger 08:16:50 OK: 145 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:50 provisioning config files... 08:16:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/64@tmp/config1872155525119988938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:50 ---> docker-login.sh 08:16:50 nexus3.edgexfoundry.org:10001 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:51 Configure a credential helper to remove this warning. See 08:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:51 08:16:51 Login Succeeded 08:16:51 nexus3.edgexfoundry.org:10002 08:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:51 Configure a credential helper to remove this warning. See 08:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:51 08:16:51 Login Succeeded 08:16:51 nexus3.edgexfoundry.org:10003 08:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:51 Configure a credential helper to remove this warning. See 08:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:51 08:16:51 Login Succeeded 08:16:51 nexus3.edgexfoundry.org:10004 08:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:51 Configure a credential helper to remove this warning. See 08:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:51 08:16:51 Login Succeeded 08:16:51 docker.io 08:16:51 Removing intermediate container 041e9760671f 08:16:51 ---> 4b980b90910a 08:16:51 Step 6/8 : WORKDIR /device-virtual-go 08:16:51 ---> Running in e3202bef3397 08:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:52 Configure a credential helper to remove this warning. See 08:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:52 08:16:52 Login Succeeded 08:16:52 ---> docker-login.sh ends [Pipeline] } 08:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:52 ========================================================= 08:16:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:16:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:16:52 Removing intermediate container e3202bef3397 08:16:52 ---> 98c6605ddfc6 08:16:52 Step 7/8 : COPY . . 08:16:52 + 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 . 08:16:52 Sending build context to Docker daemon 8.607MB 08:16:52 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:16:52 Step 2/8 : FROM ${BASE} 08:16:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:16:52 540db60ca938: Pulling fs layer 08:16:52 adcc1eea9eea: Pulling fs layer 08:16:52 4c4ab2625f07: Pulling fs layer 08:16:52 0510c868ecb4: Pulling fs layer 08:16:52 afea3b2eda06: Pulling fs layer 08:16:52 7809a108b3ef: Pulling fs layer 08:16:52 f706445af74f: Pulling fs layer 08:16:52 0510c868ecb4: Waiting 08:16:52 afea3b2eda06: Waiting 08:16:52 7809a108b3ef: Waiting 08:16:52 f706445af74f: Waiting 08:16:52 4c4ab2625f07: Verifying Checksum 08:16:52 4c4ab2625f07: Download complete 08:16:52 adcc1eea9eea: Verifying Checksum 08:16:52 adcc1eea9eea: Download complete 08:16:52 afea3b2eda06: Verifying Checksum 08:16:52 afea3b2eda06: Download complete 08:16:52 540db60ca938: Verifying Checksum 08:16:52 540db60ca938: Download complete 08:16:52 7809a108b3ef: Verifying Checksum 08:16:52 7809a108b3ef: Download complete 08:16:53 540db60ca938: Pull complete 08:16:53 adcc1eea9eea: Pull complete 08:16:53 4c4ab2625f07: Pull complete 08:16:53 ---> 674ecc661bc4 08:16:53 Step 8/8 : RUN go mod download 08:16:53 ---> Running in 6b2b35caba34 08:16:54 f706445af74f: Verifying Checksum 08:16:54 f706445af74f: Download complete 08:16:54 0510c868ecb4: Verifying Checksum 08:16:54 0510c868ecb4: Download complete 08:16:59 0510c868ecb4: Pull complete 08:16:59 afea3b2eda06: Pull complete 08:16:59 7809a108b3ef: Pull complete 08:17:00 f706445af74f: Pull complete 08:17:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:17:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:17:00 ---> b068be0155e3 08:17:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 08:17:03 ---> Running in f93934e379ff 08:17:03 Removing intermediate container f93934e379ff 08:17:03 ---> 8ecaf80ba80d 08:17:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:03 ---> Running in c114af1427b4 08:17:04 Removing intermediate container c114af1427b4 08:17:04 ---> 54147c3fd023 08:17:04 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 08:17:04 ---> Running in f6d68dde0dd9 08:17:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:17:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:17:06 (1/13) Installing libc-dev (0.7.2-r3) 08:17:06 (2/13) Installing libsodium (1.0.18-r0) 08:17:06 (3/13) Installing pkgconf (1.7.3-r0) 08:17:06 (4/13) Installing libsodium-dev (1.0.18-r0) 08:17:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 08:17:06 (6/13) Installing libedit (20191231.3.1-r1) 08:17:06 (7/13) Installing openssh-client (8.4_p1-r3) 08:17:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 08:17:07 (9/13) Installing openssh-server-common (8.4_p1-r3) 08:17:07 (10/13) Installing openssh-server (8.4_p1-r3) 08:17:07 (11/13) Installing openssh (8.4_p1-r3) 08:17:07 (12/13) Installing libzmq (4.3.3-r1) 08:17:07 (13/13) Installing zeromq-dev (4.3.3-r1) 08:17:07 Executing busybox-1.32.1-r6.trigger 08:17:07 OK: 156 MiB in 53 packages 08:17:08 Removing intermediate container f6d68dde0dd9 08:17:08 ---> f56554fe3435 08:17:08 Step 6/8 : WORKDIR /device-virtual-go 08:17:08 ---> Running in 9ce1a0e3b810 08:17:08 Removing intermediate container 9ce1a0e3b810 08:17:08 ---> da7ca22665d4 08:17:08 Step 7/8 : COPY . . 08:17:08 ---> 99e5279380c5 08:17:08 Step 8/8 : RUN go mod download 08:17:08 ---> Running in d8493446a4b8 08:17:20 Removing intermediate container d8493446a4b8 08:17:20 ---> 86b151bffbe9 08:17:20 Successfully built 86b151bffbe9 08:17:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:17:20 + docker inspect -f . ci-base-image-x86_64 08:17:20 . [Pipeline] withDockerContainer 08:17:20 prd-centos7-docker-4c-2g-500 does not seem to be running inside a container 08:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/64 -v /w/workspace/device-virtual-go/64:/w/workspace/device-virtual-go/64:rw,z -v /w/workspace/device-virtual-go/64@tmp:/w/workspace/device-virtual-go/64@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-x86_64 cat 08:17:21 $ docker top 34e71a6e64c446c6f0e8c704849c8871907293a7c10194378b8f0c467bc0980e -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:21 + go version 08:17:21 go version go1.16.3 linux/amd64 [Pipeline] } 08:17:21 $ docker stop --time=1 34e71a6e64c446c6f0e8c704849c8871907293a7c10194378b8f0c467bc0980e 08:17:23 $ docker rm -f 34e71a6e64c446c6f0e8c704849c8871907293a7c10194378b8f0c467bc0980e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:17:23 + docker inspect -f . ci-base-image-x86_64 08:17:23 . [Pipeline] withDockerContainer 08:17:23 prd-centos7-docker-4c-2g-500 does not seem to be running inside a container 08:17:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/64 -v /w/workspace/device-virtual-go/64:/w/workspace/device-virtual-go/64:rw,z -v /w/workspace/device-virtual-go/64@tmp:/w/workspace/device-virtual-go/64@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-x86_64 cat 08:17:24 $ docker top 7fd4ece82acc2ce69c6f2b4ead9bcb1fa781a819e5b34a8045295d1dde46f4af -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:24 + go mod tidy [Pipeline] sh 08:17:25 + make test 08:17:25 go mod tidy 08:17:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:17:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:17:26 Removing intermediate container 6b2b35caba34 08:17:26 ---> 3de5e6b40ce2 08:17:26 Successfully built 3de5e6b40ce2 08:17:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:17:26 + docker inspect -f . ci-base-image-arm64 08:17:26 . [Pipeline] withDockerContainer 08:17:26 prd-ubuntu18.04-docker-arm64-4c-16g-499 does not seem to be running inside a container 08:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/64 -v /w/workspace/device-virtual-go/64:/w/workspace/device-virtual-go/64:rw,z -v /w/workspace/device-virtual-go/64@tmp:/w/workspace/device-virtual-go/64@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-arm64 cat 08:17:28 $ docker top 8eed857c519f21f27e0c304315f2ad652857021dec16c8b3c84f074cf49f4030 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:29 + go version 08:17:29 go version go1.16.5 linux/arm64 [Pipeline] } 08:17:29 $ docker stop --time=1 8eed857c519f21f27e0c304315f2ad652857021dec16c8b3c84f074cf49f4030 08:17:31 $ docker rm -f 8eed857c519f21f27e0c304315f2ad652857021dec16c8b3c84f074cf49f4030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:17:32 + docker inspect -f . ci-base-image-arm64 08:17:32 . [Pipeline] withDockerContainer 08:17:32 prd-ubuntu18.04-docker-arm64-4c-16g-499 does not seem to be running inside a container 08:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/64 -v /w/workspace/device-virtual-go/64:/w/workspace/device-virtual-go/64:rw,z -v /w/workspace/device-virtual-go/64@tmp:/w/workspace/device-virtual-go/64@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-arm64 cat 08:17:34 $ docker top d0ec662b3690552e166cde2fa82edcf45934fcad48e412ac8289db18307e7279 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:35 + go mod tidy [Pipeline] sh 08:17:36 + make test 08:17:36 go mod tidy 08:17:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:17:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:17:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:17:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.285s coverage: 63.8% of statements 08:17:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:17:56 gofmt -l . 08:17:56 [ "`gofmt -l .`" = "" ] 08:17:56 ./bin/test-attribution-txt.sh 08:17:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:17:56 $ docker stop --time=1 7fd4ece82acc2ce69c6f2b4ead9bcb1fa781a819e5b34a8045295d1dde46f4af 08:17:57 $ docker rm -f 7fd4ece82acc2ce69c6f2b4ead9bcb1fa781a819e5b34a8045295d1dde46f4af [Pipeline] // withDockerContainer [Pipeline] sh 08:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:17:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:18:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:01 + ls -al . 08:18:01 total 132 08:18:01 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 08:17 . 08:18:01 drwxrwxr-x. 4 jenkins jenkins 30 Jun 11 08:16 .. 08:18:01 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 11 08:16 Attribution.txt 08:18:01 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 08:16 bin 08:18:01 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 08:16 cmd 08:18:01 -rw-r--r--. 1 jenkins jenkins 47257 Jun 11 08:17 coverage.out 08:18:01 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 11 08:16 Dockerfile 08:18:01 -rw-rw-r--. 1 jenkins jenkins 998 Jun 11 08:16 Dockerfile.build 08:18:01 drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 08:16 .git 08:18:01 drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 08:16 .github 08:18:01 -rw-rw-r--. 1 jenkins jenkins 277 Jun 11 08:16 .gitignore 08:18:01 -rw-r--r--. 1 jenkins jenkins 810 Jun 11 08:17 go.mod 08:18:01 -rw-r--r--. 1 jenkins jenkins 23031 Jun 11 08:17 go.sum 08:18:01 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 08:16 internal 08:18:01 -rw-rw-r--. 1 jenkins jenkins 660 Jun 11 08:16 Jenkinsfile 08:18:01 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 08:16 LICENSE 08:18:01 -rw-rw-r--. 1 jenkins jenkins 905 Jun 11 08:16 Makefile 08:18:01 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 11 08:16 README.md 08:18:01 -rw-rw-r--. 1 jenkins jenkins 12 Jun 11 08:13 VERSION 08:18:01 -rw-rw-r--. 1 jenkins jenkins 235 Jun 11 08:16 version.go [Pipeline] isUnix [Pipeline] sh 08:18:01 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=12c6854996096b74e90d43960f739a4a5ae0269d --label arch=amd64 --label version=1.3.2-dev.24 . 08:18:01 Sending build context to Docker daemon 8.678MB 08:18:01 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 08:18:01 Step 2/26 : FROM ${BASE} AS builder 08:18:01 ---> 86b151bffbe9 08:18:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:18:01 ---> Running in 6e5f7b45f5d6 08:18:01 Removing intermediate container 6e5f7b45f5d6 08:18:01 ---> c4e541a1c257 08:18:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:18:01 ---> Running in dc6a181f1bf7 08:18:01 Removing intermediate container dc6a181f1bf7 08:18:01 ---> 7f4b644a82a5 08:18:01 Step 5/26 : WORKDIR /device-virtual-go 08:18:01 ---> Running in c252f21c499a 08:18:02 Removing intermediate container c252f21c499a 08:18:02 ---> 849ed813f5d3 08:18:02 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:18:02 ---> Running in 7fb783edb040 08:18:02 Removing intermediate container 7fb783edb040 08:18:02 ---> a7bc8cb56684 08:18:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:02 ---> Running in f16d854794bc 08:18:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:18:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:18:04 OK: 156 MiB in 53 packages 08:18:04 Removing intermediate container f16d854794bc 08:18:04 ---> 508dfd2fa5b3 08:18:04 Step 8/26 : COPY . . 08:18:04 ---> ff33099bdb60 08:18:04 Step 9/26 : RUN go mod tidy 08:18:04 ---> Running in ed4278abecbf 08:18:05 Removing intermediate container ed4278abecbf 08:18:05 ---> 0d1ce577ae12 08:18:05 Step 10/26 : RUN go mod download 08:18:05 ---> Running in 28a8af41a81f 08:18:06 Removing intermediate container 28a8af41a81f 08:18:06 ---> 32fcfc8891a2 08:18:06 Step 11/26 : ARG MAKE='make build' 08:18:06 ---> Running in 1d293ca9727c 08:18:06 Removing intermediate container 1d293ca9727c 08:18:06 ---> 0dd1df6156e7 08:18:06 Step 12/26 : RUN $MAKE 08:18:06 ---> Running in a42abfe5a778 08:18:06 go mod tidy 08:18:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.24" -o cmd/device-virtual ./cmd 08:18:25 Removing intermediate container a42abfe5a778 08:18:25 ---> 8708c0958284 08:18:25 Step 13/26 : FROM alpine:3.12 08:18:25 3.12: Pulling from library/alpine 08:18:25 339de151aab4: Pulling fs layer 08:18:25 339de151aab4: Verifying Checksum 08:18:25 339de151aab4: Download complete 08:18:25 339de151aab4: Pull complete 08:18:25 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:18:25 Status: Downloaded newer image for alpine:3.12 08:18:25 ---> 13621d1b12d4 08:18:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:18:25 ---> Running in 07520bd9ba54 08:18:25 Removing intermediate container 07520bd9ba54 08:18:25 ---> c16f233aa83f 08:18:25 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:18:25 ---> Running in ab414d496d8c 08:18:25 Removing intermediate container ab414d496d8c 08:18:25 ---> b0dbc5aa8d8b 08:18:25 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:18:25 ---> Running in 78599b659a8c 08:18:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:18:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:18:26 (1/6) Installing dumb-init (1.2.2-r1) 08:18:26 (2/6) Installing libgcc (9.3.0-r2) 08:18:26 (3/6) Installing libsodium (1.0.18-r0) 08:18:26 (4/6) Installing libstdc++ (9.3.0-r2) 08:18:27 (5/6) Installing libzmq (4.3.3-r0) 08:18:27 (6/6) Installing zeromq (4.3.3-r0) 08:18:27 Executing busybox-1.31.1-r20.trigger 08:18:27 OK: 8 MiB in 20 packages 08:18:27 Removing intermediate container 78599b659a8c 08:18:27 ---> a91b5a604a99 08:18:27 Step 17/26 : WORKDIR / 08:18:27 ---> Running in ea1704cf08a0 08:18:28 Removing intermediate container ea1704cf08a0 08:18:28 ---> 1ebfc1c59755 08:18:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:18:28 ---> 90b65c315f15 08:18:28 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:18:28 ---> 7e307f253e7a 08:18:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:18:29 ---> b92c29943b8c 08:18:29 Step 21/26 : EXPOSE 59900 08:18:29 ---> Running in 99e5c61f8e09 08:18:29 Removing intermediate container 99e5c61f8e09 08:18:29 ---> abdfd339dec1 08:18:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:18:29 ---> Running in 7acef84b271b 08:18:29 Removing intermediate container 7acef84b271b 08:18:29 ---> 1cee574c1d23 08:18:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:18:29 ---> Running in 6c8b9768b52d 08:18:29 Removing intermediate container 6c8b9768b52d 08:18:29 ---> 97556a313d13 08:18:29 Step 24/26 : LABEL arch=amd64 08:18:29 ---> Running in d58a33887f83 08:18:29 Removing intermediate container d58a33887f83 08:18:29 ---> e384be594a5a 08:18:29 Step 25/26 : LABEL git_sha=12c6854996096b74e90d43960f739a4a5ae0269d 08:18:29 ---> Running in 49a5950d3ec1 08:18:29 Removing intermediate container 49a5950d3ec1 08:18:29 ---> 2a908af4c81e 08:18:29 Step 26/26 : LABEL version=1.3.2-dev.24 08:18:29 ---> Running in 8bacc68f8617 08:18:29 Removing intermediate container 8bacc68f8617 08:18:29 ---> 43b83d3f30cb 08:18:29 [Warning] One or more build-args [ARCH] were not consumed 08:18:29 Successfully built 43b83d3f30cb 08:18:29 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:29 provisioning config files... 08:18:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/64@tmp/config8480554426657919016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:30 ---> docker-login.sh 08:18:30 nexus3.edgexfoundry.org:10001 08:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:30 Configure a credential helper to remove this warning. See 08:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:30 08:18:30 Login Succeeded 08:18:30 nexus3.edgexfoundry.org:10002 08:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:30 Configure a credential helper to remove this warning. See 08:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:30 08:18:30 Login Succeeded 08:18:30 nexus3.edgexfoundry.org:10003 08:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:30 Configure a credential helper to remove this warning. See 08:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:30 08:18:30 Login Succeeded 08:18:30 nexus3.edgexfoundry.org:10004 08:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:30 Configure a credential helper to remove this warning. See 08:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:30 08:18:30 Login Succeeded 08:18:30 docker.io 08:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:31 Configure a credential helper to remove this warning. See 08:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:31 08:18:31 Login Succeeded 08:18:31 ---> docker-login.sh ends [Pipeline] } 08:18:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:18:31 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:18:31 12c6854996096b74e90d43960f739a4a5ae0269d 08:18:31 latest 08:18:31 1.3.2-dev.24 08:18:31 12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:18:31 master 08:18:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:18:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] isUnix [Pipeline] sh 08:18:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d 08:18:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:18:31 1c9d4b8d87b0: Preparing 08:18:31 59fe18d58016: Preparing 08:18:31 8660fb8a7619: Preparing 08:18:31 8f39a818f7cf: Preparing 08:18:31 7fbdd8660aeb: Preparing 08:18:31 32f366d666a5: Preparing 08:18:31 32f366d666a5: Waiting 08:18:32 59fe18d58016: Pushed 08:18:32 32f366d666a5: Layer already exists 08:18:32 8660fb8a7619: Pushed 08:18:32 8f39a818f7cf: Pushed 08:18:32 7fbdd8660aeb: Pushed 08:18:34 1c9d4b8d87b0: Pushed 08:18:34 12c6854996096b74e90d43960f739a4a5ae0269d: digest: sha256:65179d3d270cb587b2bf63e3bdcfceb0f4eaa1edfed3ac66974c976b1d1d0295 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:18:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 08:18:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:18:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:18:34 1c9d4b8d87b0: Preparing 08:18:34 59fe18d58016: Preparing 08:18:34 8660fb8a7619: Preparing 08:18:34 8f39a818f7cf: Preparing 08:18:34 7fbdd8660aeb: Preparing 08:18:34 32f366d666a5: Preparing 08:18:34 32f366d666a5: Waiting 08:18:34 8660fb8a7619: Layer already exists 08:18:34 59fe18d58016: Layer already exists 08:18:34 8f39a818f7cf: Layer already exists 08:18:34 7fbdd8660aeb: Layer already exists 08:18:34 1c9d4b8d87b0: Layer already exists 08:18:34 32f366d666a5: Layer already exists 08:18:34 latest: digest: sha256:65179d3d270cb587b2bf63e3bdcfceb0f4eaa1edfed3ac66974c976b1d1d0295 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:18:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.24 [Pipeline] isUnix [Pipeline] sh 08:18:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.24 08:18:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:18:35 1c9d4b8d87b0: Preparing 08:18:35 59fe18d58016: Preparing 08:18:35 8660fb8a7619: Preparing 08:18:35 8f39a818f7cf: Preparing 08:18:35 7fbdd8660aeb: Preparing 08:18:35 32f366d666a5: Preparing 08:18:35 32f366d666a5: Waiting 08:18:35 59fe18d58016: Layer already exists 08:18:35 8660fb8a7619: Layer already exists 08:18:35 1c9d4b8d87b0: Layer already exists 08:18:35 7fbdd8660aeb: Layer already exists 08:18:35 8f39a818f7cf: Layer already exists 08:18:35 32f366d666a5: Layer already exists 08:18:35 1.3.2-dev.24: digest: sha256:65179d3d270cb587b2bf63e3bdcfceb0f4eaa1edfed3ac66974c976b1d1d0295 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:18:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 [Pipeline] isUnix [Pipeline] sh 08:18:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:18:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:18:35 1c9d4b8d87b0: Preparing 08:18:35 59fe18d58016: Preparing 08:18:35 8660fb8a7619: Preparing 08:18:35 8f39a818f7cf: Preparing 08:18:35 7fbdd8660aeb: Preparing 08:18:35 32f366d666a5: Preparing 08:18:35 32f366d666a5: Waiting 08:18:35 1c9d4b8d87b0: Layer already exists 08:18:35 59fe18d58016: Layer already exists 08:18:35 8660fb8a7619: Layer already exists 08:18:35 7fbdd8660aeb: Layer already exists 08:18:35 8f39a818f7cf: Layer already exists 08:18:35 32f366d666a5: Layer already exists 08:18:35 12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24: digest: sha256:65179d3d270cb587b2bf63e3bdcfceb0f4eaa1edfed3ac66974c976b1d1d0295 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:18:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 08:18:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 08:18:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:18:36 1c9d4b8d87b0: Preparing 08:18:36 59fe18d58016: Preparing 08:18:36 8660fb8a7619: Preparing 08:18:36 8f39a818f7cf: Preparing 08:18:36 7fbdd8660aeb: Preparing 08:18:36 32f366d666a5: Preparing 08:18:36 32f366d666a5: Waiting 08:18:36 59fe18d58016: Layer already exists 08:18:36 8660fb8a7619: Layer already exists 08:18:36 7fbdd8660aeb: Layer already exists 08:18:36 8f39a818f7cf: Layer already exists 08:18:36 1c9d4b8d87b0: Layer already exists 08:18:36 32f366d666a5: Layer already exists 08:18:36 master: digest: sha256:65179d3d270cb587b2bf63e3bdcfceb0f4eaa1edfed3ac66974c976b1d1d0295 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:18:36 ===================================================== [Pipeline] echo 08:18:36 taggedImages: 08:18:36 - nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d 08:18:36 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:18:36 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.24 08:18:36 - nexus3.edgexfoundry.org:10004/device-virtual:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:18:36 - 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 08:18:37 ---> job-cost.sh 08:18:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BgFP 08:18:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:18:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.719s coverage: 63.8% of statements 08:18:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:18:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:19:00 lf-activate-venv(): INFO: Adding /tmp/venv-BgFP/bin to PATH 08:19:00 INFO: No Stack... 08:19:00 INFO: Retrieving Pricing Info for: v3-standard-2 08:19:00 INFO: Archiving Costs [Pipeline] sh 08:19:00 + cat /w/workspace/device-virtual-go/64/archives/cost.csv 08:19:00 + cut -d, -f6 [Pipeline] lock 08:19:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] 08:19:00 Resource [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] did not exist. Created. 08:19:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:19:01 + echo total: 0.05999999865889549 [Pipeline] stash 08:19:01 Stashed 1 file(s) [Pipeline] } 08:19:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:19:08 gofmt -l . 08:19:08 [ "`gofmt -l .`" = "" ] 08:19:08 ./bin/test-attribution-txt.sh 08:19:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:19:10 $ docker stop --time=1 d0ec662b3690552e166cde2fa82edcf45934fcad48e412ac8289db18307e7279 08:19:12 $ docker rm -f d0ec662b3690552e166cde2fa82edcf45934fcad48e412ac8289db18307e7279 [Pipeline] // withDockerContainer [Pipeline] sh 08:19:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:19:13 Warning: overwriting stash ‘coverage-report’ 08:19:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:19:15 + ls -al . 08:19:15 total 156 08:19:15 drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 08:19 . 08:19:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 08:15 .. 08:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 08:15 .git 08:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 08:15 .github 08:19:15 -rw-rw-r-- 1 jenkins jenkins 277 Jun 11 08:15 .gitignore 08:19:15 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 11 08:15 Attribution.txt 08:19:15 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 11 08:15 Dockerfile 08:19:15 -rw-rw-r-- 1 jenkins jenkins 998 Jun 11 08:15 Dockerfile.build 08:19:15 -rw-rw-r-- 1 jenkins jenkins 660 Jun 11 08:15 Jenkinsfile 08:19:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 08:15 LICENSE 08:19:15 -rw-rw-r-- 1 jenkins jenkins 905 Jun 11 08:15 Makefile 08:19:15 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 11 08:15 README.md 08:19:15 -rw-rw-r-- 1 jenkins jenkins 12 Jun 11 08:13 VERSION 08:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 08:15 bin 08:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 08:15 cmd 08:19:15 -rw-r--r-- 1 jenkins jenkins 47257 Jun 11 08:18 coverage.out 08:19:15 -rw-r--r-- 1 jenkins jenkins 810 Jun 11 08:19 go.mod 08:19:15 -rw-r--r-- 1 jenkins jenkins 23031 Jun 11 08:17 go.sum 08:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 08:15 internal 08:19:15 -rw-rw-r-- 1 jenkins jenkins 235 Jun 11 08:15 version.go [Pipeline] isUnix [Pipeline] sh 08:19:15 + 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=12c6854996096b74e90d43960f739a4a5ae0269d --label arch=arm64 --label version=1.3.2-dev.24 . 08:19:16 Sending build context to Docker daemon 8.677MB 08:19:16 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 08:19:16 Step 2/26 : FROM ${BASE} AS builder 08:19:16 ---> 3de5e6b40ce2 08:19:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:19:16 ---> Running in ce49974c473e 08:19:16 Removing intermediate container ce49974c473e 08:19:16 ---> 1d927ed6bb95 08:19:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:19:16 ---> Running in 600fe119391b 08:19:17 Removing intermediate container 600fe119391b 08:19:17 ---> a88c45d849ac 08:19:17 Step 5/26 : WORKDIR /device-virtual-go 08:19:17 ---> Running in 1a9d2f736d46 08:19:18 Removing intermediate container 1a9d2f736d46 08:19:18 ---> f87271183f9f 08:19:18 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:18 ---> Running in ddb330055de7 08:19:20 Removing intermediate container ddb330055de7 08:19:20 ---> 6492f5db2631 08:19:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:19:20 ---> Running in 2e9afbe42e6a 08:19:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:19:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:19:23 OK: 145 MiB in 53 packages 08:19:24 Removing intermediate container 2e9afbe42e6a 08:19:24 ---> 92ded3b786db 08:19:24 Step 8/26 : COPY . . 08:19:25 ---> 5155443a75fe 08:19:25 Step 9/26 : RUN go mod tidy 08:19:25 ---> Running in ab1cf7ae5946 08:19:28 Removing intermediate container ab1cf7ae5946 08:19:28 ---> 262d953e7995 08:19:28 Step 10/26 : RUN go mod download 08:19:28 ---> Running in cc0a3e52e57b 08:19:31 Removing intermediate container cc0a3e52e57b 08:19:31 ---> e3bce50798ab 08:19:31 Step 11/26 : ARG MAKE='make build' 08:19:31 ---> Running in 73942edd294e 08:19:31 Removing intermediate container 73942edd294e 08:19:31 ---> d6228f96e532 08:19:31 Step 12/26 : RUN $MAKE 08:19:31 ---> Running in fa45be57f234 08:19:32 go mod tidy 08:19:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.24" -o cmd/device-virtual ./cmd 08:20:29 Removing intermediate container fa45be57f234 08:20:29 ---> f9d0cd574db6 08:20:29 Step 13/26 : FROM alpine:3.12 08:20:29 3.12: Pulling from library/alpine 08:20:29 d2f70382dc9a: Pulling fs layer 08:20:29 d2f70382dc9a: Verifying Checksum 08:20:29 d2f70382dc9a: Download complete 08:20:29 d2f70382dc9a: Pull complete 08:20:29 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:20:29 Status: Downloaded newer image for alpine:3.12 08:20:29 ---> 9852663dfa18 08:20:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:20:29 ---> Running in 3d9734c1cdcd 08:20:29 Removing intermediate container 3d9734c1cdcd 08:20:29 ---> 475d2fe2a7fb 08:20:29 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:29 ---> Running in 74931876c8d4 08:20:29 Removing intermediate container 74931876c8d4 08:20:29 ---> ab13114babaa 08:20:29 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:20:29 ---> Running in 753948c07a3c 08:20:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:20:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:20:29 (1/6) Installing dumb-init (1.2.2-r1) 08:20:29 (2/6) Installing libgcc (9.3.0-r2) 08:20:29 (3/6) Installing libsodium (1.0.18-r0) 08:20:29 (4/6) Installing libstdc++ (9.3.0-r2) 08:20:29 (5/6) Installing libzmq (4.3.3-r0) 08:20:29 (6/6) Installing zeromq (4.3.3-r0) 08:20:29 Executing busybox-1.31.1-r20.trigger 08:20:29 OK: 8 MiB in 20 packages 08:20:31 Removing intermediate container 753948c07a3c 08:20:31 ---> 1156c808359d 08:20:31 Step 17/26 : WORKDIR / 08:20:31 ---> Running in fe9ac7586b41 08:20:31 Removing intermediate container fe9ac7586b41 08:20:31 ---> 859cfc9c1b9e 08:20:31 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:20:32 ---> 8cfb7ff4a9d3 08:20:32 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:20:33 ---> 49cef140795c 08:20:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:20:34 ---> a2dd57537a88 08:20:34 Step 21/26 : EXPOSE 59900 08:20:34 ---> Running in 622a25e9ec28 08:20:35 Removing intermediate container 622a25e9ec28 08:20:35 ---> 4b3782308e7c 08:20:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:20:35 ---> Running in 2f735ff9660e 08:20:35 Removing intermediate container 2f735ff9660e 08:20:35 ---> 13cc8043f029 08:20:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:20:36 ---> Running in 71565292ba41 08:20:36 Removing intermediate container 71565292ba41 08:20:36 ---> 814f204f9865 08:20:36 Step 24/26 : LABEL arch=arm64 08:20:36 ---> Running in ad1c254e1770 08:20:37 Removing intermediate container ad1c254e1770 08:20:37 ---> 2a4e346f0213 08:20:37 Step 25/26 : LABEL git_sha=12c6854996096b74e90d43960f739a4a5ae0269d 08:20:37 ---> Running in 2ee7a39b4d85 08:20:37 Removing intermediate container 2ee7a39b4d85 08:20:37 ---> 3e5398d79afd 08:20:37 Step 26/26 : LABEL version=1.3.2-dev.24 08:20:37 ---> Running in 2f04933d1943 08:20:38 Removing intermediate container 2f04933d1943 08:20:38 ---> 13e452c5dd65 08:20:38 [Warning] One or more build-args [ARCH] were not consumed 08:20:38 Successfully built 13e452c5dd65 08:20:38 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 08:20:38 provisioning config files... 08:20:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/64@tmp/config8618011049031808927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:39 ---> docker-login.sh 08:20:39 nexus3.edgexfoundry.org:10001 08:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:39 Configure a credential helper to remove this warning. See 08:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:39 08:20:39 Login Succeeded 08:20:39 nexus3.edgexfoundry.org:10002 08:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:40 Configure a credential helper to remove this warning. See 08:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:40 08:20:40 Login Succeeded 08:20:40 nexus3.edgexfoundry.org:10003 08:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:40 Configure a credential helper to remove this warning. See 08:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:40 08:20:40 Login Succeeded 08:20:40 nexus3.edgexfoundry.org:10004 08:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:41 Configure a credential helper to remove this warning. See 08:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:41 08:20:41 Login Succeeded 08:20:41 docker.io 08:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:42 Configure a credential helper to remove this warning. See 08:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:42 08:20:42 Login Succeeded 08:20:42 ---> docker-login.sh ends [Pipeline] } 08:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:20:42 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:20:42 12c6854996096b74e90d43960f739a4a5ae0269d 08:20:42 latest 08:20:42 1.3.2-dev.24 08:20:42 12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:20:42 master 08:20:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:20:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] isUnix [Pipeline] sh 08:20:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d 08:20:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:20:42 08b7a4fe1d69: Preparing 08:20:42 e80758a3464b: Preparing 08:20:42 e3ad01f4979a: Preparing 08:20:42 817c9276e41e: Preparing 08:20:42 d335b5fd1829: Preparing 08:20:42 3fbe34a1663b: Preparing 08:20:42 3fbe34a1663b: Waiting 08:20:43 e3ad01f4979a: Pushed 08:20:43 d335b5fd1829: Pushed 08:20:43 e80758a3464b: Pushed 08:20:43 3fbe34a1663b: Layer already exists 08:20:43 817c9276e41e: Pushed 08:20:47 08b7a4fe1d69: Pushed 08:20:47 12c6854996096b74e90d43960f739a4a5ae0269d: digest: sha256:a05bd8fa2ddac7b2d1beef2f6ad1f47c1515b831fc0c4e26b67b7f975aab24ed size: 1572 [Pipeline] isUnix [Pipeline] sh 08:20:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:20:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:20:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:20:47 08b7a4fe1d69: Preparing 08:20:47 e80758a3464b: Preparing 08:20:47 e3ad01f4979a: Preparing 08:20:47 817c9276e41e: Preparing 08:20:47 d335b5fd1829: Preparing 08:20:47 3fbe34a1663b: Preparing 08:20:47 3fbe34a1663b: Waiting 08:20:47 e80758a3464b: Layer already exists 08:20:47 817c9276e41e: Layer already exists 08:20:47 d335b5fd1829: Layer already exists 08:20:47 e3ad01f4979a: Layer already exists 08:20:47 08b7a4fe1d69: Layer already exists 08:20:47 3fbe34a1663b: Layer already exists 08:20:48 latest: digest: sha256:a05bd8fa2ddac7b2d1beef2f6ad1f47c1515b831fc0c4e26b67b7f975aab24ed size: 1572 [Pipeline] isUnix [Pipeline] sh 08:20:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.24 [Pipeline] isUnix [Pipeline] sh 08:20:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.24 08:20:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:20:48 08b7a4fe1d69: Preparing 08:20:48 e80758a3464b: Preparing 08:20:48 e3ad01f4979a: Preparing 08:20:48 817c9276e41e: Preparing 08:20:48 d335b5fd1829: Preparing 08:20:48 3fbe34a1663b: Preparing 08:20:48 3fbe34a1663b: Waiting 08:20:49 817c9276e41e: Layer already exists 08:20:49 e3ad01f4979a: Layer already exists 08:20:49 08b7a4fe1d69: Layer already exists 08:20:49 e80758a3464b: Layer already exists 08:20:49 d335b5fd1829: Layer already exists 08:20:49 3fbe34a1663b: Layer already exists 08:20:49 1.3.2-dev.24: digest: sha256:a05bd8fa2ddac7b2d1beef2f6ad1f47c1515b831fc0c4e26b67b7f975aab24ed size: 1572 [Pipeline] isUnix [Pipeline] sh 08:20:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 [Pipeline] isUnix [Pipeline] sh 08:20:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:20:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:20:49 08b7a4fe1d69: Preparing 08:20:49 e80758a3464b: Preparing 08:20:49 e3ad01f4979a: Preparing 08:20:49 817c9276e41e: Preparing 08:20:49 d335b5fd1829: Preparing 08:20:49 3fbe34a1663b: Preparing 08:20:49 3fbe34a1663b: Waiting 08:20:49 e3ad01f4979a: Layer already exists 08:20:49 08b7a4fe1d69: Layer already exists 08:20:49 817c9276e41e: Layer already exists 08:20:49 e80758a3464b: Layer already exists 08:20:49 d335b5fd1829: Layer already exists 08:20:49 3fbe34a1663b: Layer already exists 08:20:50 12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24: digest: sha256:a05bd8fa2ddac7b2d1beef2f6ad1f47c1515b831fc0c4e26b67b7f975aab24ed size: 1572 [Pipeline] isUnix [Pipeline] sh 08:20:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 08:20:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 08:20:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:20:50 08b7a4fe1d69: Preparing 08:20:50 e80758a3464b: Preparing 08:20:50 e3ad01f4979a: Preparing 08:20:50 817c9276e41e: Preparing 08:20:50 d335b5fd1829: Preparing 08:20:50 3fbe34a1663b: Preparing 08:20:50 3fbe34a1663b: Waiting 08:20:51 d335b5fd1829: Layer already exists 08:20:51 e3ad01f4979a: Layer already exists 08:20:51 e80758a3464b: Layer already exists 08:20:51 817c9276e41e: Layer already exists 08:20:51 08b7a4fe1d69: Layer already exists 08:20:51 3fbe34a1663b: Layer already exists 08:20:51 master: digest: sha256:a05bd8fa2ddac7b2d1beef2f6ad1f47c1515b831fc0c4e26b67b7f975aab24ed size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:20:51 ===================================================== [Pipeline] echo 08:20:51 taggedImages: 08:20:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d 08:20:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:20:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.24 08:20:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:12c6854996096b74e90d43960f739a4a5ae0269d-1.3.2-dev.24 08:20:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:20:51 ---> job-cost.sh 08:20:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jNfn 08:21:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:23:07 lf-activate-venv(): INFO: Adding /tmp/venv-jNfn/bin to PATH 08:23:07 INFO: No Stack... 08:23:07 INFO: Retrieving Pricing Info for: v2-standard-4 08:23:07 INFO: Archiving Costs [Pipeline] sh 08:23:07 + cat /w/workspace/device-virtual-go/64/archives/cost.csv 08:23:07 + cut -d, -f6 [Pipeline] lock 08:23:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] 08:23:07 Resource [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] did not exist. Created. 08:23:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:08 /w/workspace/device-virtual-go/64@tmp/durable-3c60836e/script.sh: 1: /w/workspace/device-virtual-go/64@tmp/durable-3c60836e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:23:08 + echo total: 0.18000000715255737 [Pipeline] stash 08:23:08 Warning: overwriting stash ‘stack-cost’ 08:23:08 Stashed 1 file(s) [Pipeline] } 08:23:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-64-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 08:23:09 provisioning config files... 08:23:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5035855579795377512tmp [Pipeline] { [Pipeline] sh 08:23:09 + set +x 08:23:09 + curl -s https://codecov.io/bash 08:23:09 + bash -s -- 08:23:09 08:23:09 _____ _ 08:23:09 / ____| | | 08:23:09 | | ___ __| | ___ ___ _____ __ 08:23:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:23:09 | |___| (_) | (_| | __/ (_| (_) \ V / 08:23:09 \_____\___/ \__,_|\___|\___\___/ \_/ 08:23:09 Bash-1.0.3 08:23:09 08:23:09 08:23:09 ==> git version 2.24.4 found 08:23:09 ==> 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 08:23:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:23:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:23:09 ==> Jenkins CI detected. 08:23:09 project root: . 08:23:09 --> token set from env 08:23:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:23:10 ==> Running gcov in . (disable via -X gcov) 08:23:10 ==> Python coveragepy not found 08:23:10 ==> Searching for coverage reports in: 08:23:10 + . 08:23:10 -> Found 1 reports 08:23:10 ==> Detecting git/mercurial file structure 08:23:10 ==> Reading reports 08:23:10 + ./coverage.out bytes=47257 08:23:10 ==> Appending adjustments 08:23:10 https://docs.codecov.io/docs/fixing-reports 08:23:10 + Found adjustments 08:23:10 ==> Gzipping contents 08:23:10 8.0K /tmp/codecov.wPaTz0.gz 08:23:10 ==> Uploading reports 08:23:10 url: https://codecov.io 08:23:10 query: branch=master&commit=12c6854996096b74e90d43960f739a4a5ae0269d&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:23:10 -> Pinging Codecov 08:23:10 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=12c6854996096b74e90d43960f739a4a5ae0269d&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:23:10 -> Uploading to 08:23:10 https://storage.googleapis.com/codecov/v4/raw/2021-06-11/5E52B4B073DB2E39498172D8E973AA87/12c6854996096b74e90d43960f739a4a5ae0269d/34f4713a-6ab3-40bb-a8cc-336340254065.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T082310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b07d74e5249fc251b037078200a642e0170ccacac73c189371b293b1ec71eb1 08:23:10 % Total % Received % Xferd Average Speed Time Time Time Current 08:23:10 Dload Upload Total Spent Left Speed 08:23:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5771 0 0 100 5771 0 12603 --:--:-- --:--:-- --:--:-- 12628 08:23:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] } 08:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:23:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:23:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:23:12 08:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:23:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:23:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:23:12 188c0c94c7c5: Pulling fs layer 08:23:12 0ef7d3d256c8: Pulling fs layer 08:23:12 de9db76c5a1d: Pulling fs layer 08:23:12 0eba1c9be4d2: Pulling fs layer 08:23:12 0d57e429df01: Pulling fs layer 08:23:12 4e4be7b47b0d: Pulling fs layer 08:23:12 e1f770b5df2f: Pulling fs layer 08:23:12 85a0685a4137: Pulling fs layer 08:23:12 0eba1c9be4d2: Waiting 08:23:12 0d57e429df01: Waiting 08:23:12 4e4be7b47b0d: Waiting 08:23:12 e1f770b5df2f: Waiting 08:23:12 85a0685a4137: Waiting 08:23:12 de9db76c5a1d: Download complete 08:23:13 0ef7d3d256c8: Verifying Checksum 08:23:13 0ef7d3d256c8: Download complete 08:23:13 188c0c94c7c5: Verifying Checksum 08:23:13 188c0c94c7c5: Download complete 08:23:13 0d57e429df01: Verifying Checksum 08:23:13 0d57e429df01: Download complete 08:23:13 4e4be7b47b0d: Verifying Checksum 08:23:13 4e4be7b47b0d: Download complete 08:23:13 188c0c94c7c5: Pull complete 08:23:13 0ef7d3d256c8: Pull complete 08:23:13 de9db76c5a1d: Pull complete 08:23:15 e1f770b5df2f: Verifying Checksum 08:23:15 e1f770b5df2f: Download complete 08:23:16 0eba1c9be4d2: Verifying Checksum 08:23:16 0eba1c9be4d2: Download complete 08:23:17 85a0685a4137: Verifying Checksum 08:23:17 85a0685a4137: Download complete 08:23:20 0eba1c9be4d2: Pull complete 08:23:20 0d57e429df01: Pull complete 08:23:20 4e4be7b47b0d: Pull complete 08:23:21 e1f770b5df2f: Pull complete 08:23:24 85a0685a4137: Pull complete 08:23:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:23:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:23:25 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:23:25 $ 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 08:23:27 $ docker top d6895466e8a272e7abf0d06a71748eae45cd4eeab155eb9cad3c80085afe1a86 -eo pid,comm [Pipeline] { [Pipeline] echo 08:23:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:23:28 + set -o pipefail 08:23:28 + snyk monitor '--org=edgex-jenkins' 08:23:36 08:23:36 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 08:23:36 08:23:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/bee53bff-403b-408f-a77a-cb3c5bbcecee 08:23:36 08:23:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:23:36 08:23:36 [Pipeline] } 08:23:36 $ docker stop --time=1 d6895466e8a272e7abf0d06a71748eae45cd4eeab155eb9cad3c80085afe1a86 08:23:38 $ docker rm -f d6895466e8a272e7abf0d06a71748eae45cd4eeab155eb9cad3c80085afe1a86 [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 08:23:40 + git log --format=format:%s -1 12c6854996096b74e90d43960f739a4a5ae0269d [Pipeline] isUnix [Pipeline] sh 08:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:23:40 . [Pipeline] withDockerContainer 08:23:40 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:23:40 $ 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 08:23:40 $ docker top 598f7c34003fd8236d263b7aaeac029700b22943997d15540099fadae255dd58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:23:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:23:41 [ssh-agent] Looking for ssh-agent implementation... 08:23:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:23:41 $ docker exec 598f7c34003fd8236d263b7aaeac029700b22943997d15540099fadae255dd58 ssh-agent 08:23:41 SSH_AUTH_SOCK=/tmp/ssh-V41nuTpTHhLi/agent.13 08:23:41 SSH_AGENT_PID=19 08:23:41 Running ssh-add (command line suppressed) 08:23:41 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_515644668130763529.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_515644668130763529.key) 08:23:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:23:41 + git semver tag 08:23:41 # -> Open(): unable to determine branch for HEAD 08:23:41 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:23:41 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:23:41 # $SEMVER_REMOTE_NAME = origin 08:23:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:23:41 # $SEMVER_USER_NAME = edgex-jenkins 08:23:41 # $SEMVER_BRANCH = master 08:23:41 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:23:41 # 12c6854996096b74e90d43960f739a4a5ae0269d HEAD 08:23:41 # -> Force: false 08:23:41 # a8825b328dcef20b39a6120fb7b4f0f2dd14cb3d refs/tags/v1.3.2-dev.24 [Pipeline] } 08:23:41 $ docker exec --env ******** --env ******** 598f7c34003fd8236d263b7aaeac029700b22943997d15540099fadae255dd58 ssh-agent -k 08:23:42 unset SSH_AUTH_SOCK; 08:23:42 unset SSH_AGENT_PID; 08:23:42 echo Agent pid 19 killed; 08:23:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:23:42 + git semver [Pipeline] } 08:23:42 $ docker stop --time=1 598f7c34003fd8236d263b7aaeac029700b22943997d15540099fadae255dd58 08:23:43 $ docker rm -f 598f7c34003fd8236d263b7aaeac029700b22943997d15540099fadae255dd58 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:23:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:23:44 08:23:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:23:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:23:44 0.23.1-centos7: Pulling from edgex-lftools 08:23:44 ab5ef0e58194: Pulling fs layer 08:23:44 9712f1f96733: Pulling fs layer 08:23:44 63f879dbbcfc: Pulling fs layer 08:23:44 0d9ebad4ef96: Pulling fs layer 08:23:44 e9a5061849ea: Pulling fs layer 08:23:44 d747dcd14b5f: Pulling fs layer 08:23:44 2de7ff778b66: Pulling fs layer 08:23:44 0d9ebad4ef96: Waiting 08:23:44 e9a5061849ea: Waiting 08:23:44 d747dcd14b5f: Waiting 08:23:44 2de7ff778b66: Waiting 08:23:44 9712f1f96733: Verifying Checksum 08:23:44 9712f1f96733: Download complete 08:23:45 63f879dbbcfc: Verifying Checksum 08:23:45 63f879dbbcfc: Download complete 08:23:45 e9a5061849ea: Verifying Checksum 08:23:45 e9a5061849ea: Download complete 08:23:45 d747dcd14b5f: Verifying Checksum 08:23:45 d747dcd14b5f: Download complete 08:23:46 2de7ff778b66: Verifying Checksum 08:23:46 2de7ff778b66: Download complete 08:23:46 0d9ebad4ef96: Verifying Checksum 08:23:46 0d9ebad4ef96: Download complete 08:23:46 ab5ef0e58194: Verifying Checksum 08:23:46 ab5ef0e58194: Download complete 08:23:49 ab5ef0e58194: Pull complete 08:23:49 9712f1f96733: Pull complete 08:23:50 63f879dbbcfc: Pull complete 08:23:53 0d9ebad4ef96: Pull complete 08:23:54 e9a5061849ea: Pull complete 08:23:54 d747dcd14b5f: Pull complete 08:23:55 2de7ff778b66: Pull complete 08:23:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:23:55 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:23:55 $ 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 08:23:59 $ docker top 95d41a9a548f80ad00ade181895c0fd9ead2dd57cb9eed02e5b636a68bb5a8c4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:23:59 provisioning config files... 08:23:59 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8939784798074961460tmp 08:23:59 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8492577761655369375tmp 08:23:59 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4314030114599147217tmp [Pipeline] { [Pipeline] echo 08:23:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:23:59 ---> sigul-configuration.sh 08:23:59 gpg: directory `/root/.gnupg' created 08:23:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:23:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:23:59 gpg: keyring `/root/.gnupg/secring.gpg' created 08:23:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:23:59 gpg: CAST5 encrypted data 08:23:59 gpg: encrypted with 1 passphrase 08:23:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:23:59 + mkdir /home/jenkins 08:23:59 + mkdir /home/jenkins/sigul [Pipeline] sh 08:24:00 + 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 08:24:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:24:00 ---> sigul-install.sh 08:24:04 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:24:04 + git tag --list 08:24:04 v1.0.0 08:24:04 v1.1.0 08:24:04 v1.1.1 08:24:04 v1.2.1 08:24:04 v1.2.2 08:24:04 v1.2.3 08:24:04 v1.3.0 08:24:04 v1.3.1 08:24:04 v1.3.1-dev.1 08:24:04 v1.3.1-dev.2 08:24:04 v1.3.1-dev.3 08:24:04 v1.3.1-dev.4 08:24:04 v1.3.1-dev.5 08:24:04 v1.3.2-dev.1 08:24:04 v1.3.2-dev.10 08:24:04 v1.3.2-dev.11 08:24:04 v1.3.2-dev.12 08:24:04 v1.3.2-dev.13 08:24:04 v1.3.2-dev.14 08:24:04 v1.3.2-dev.15 08:24:04 v1.3.2-dev.16 08:24:04 v1.3.2-dev.17 08:24:04 v1.3.2-dev.18 08:24:04 v1.3.2-dev.19 08:24:04 v1.3.2-dev.2 08:24:04 v1.3.2-dev.20 08:24:04 v1.3.2-dev.21 08:24:04 v1.3.2-dev.22 08:24:04 v1.3.2-dev.23 08:24:04 v1.3.2-dev.24 08:24:04 v1.3.2-dev.3 08:24:04 v1.3.2-dev.4 08:24:04 v1.3.2-dev.5 08:24:04 v1.3.2-dev.6 08:24:04 v1.3.2-dev.7 08:24:04 v1.3.2-dev.8 08:24:04 v1.3.2-dev.9 [Pipeline] sh 08:24:05 + lftools sign git-tag v1.3.2-dev.24 08:24:05 Signing Git tag with Sigul... 08:24:05 Signing v1.3.2-dev.24 [Pipeline] echo 08:24:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:24:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:24:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:24:07 $ docker stop --time=1 95d41a9a548f80ad00ade181895c0fd9ead2dd57cb9eed02e5b636a68bb5a8c4 08:24:08 $ docker rm -f 95d41a9a548f80ad00ade181895c0fd9ead2dd57cb9eed02e5b636a68bb5a8c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:09 . [Pipeline] withDockerContainer 08:24:09 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:24:09 $ 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 08:24:10 $ docker top 55341bf7458d8ab8e61ef0c980d3b89ca784d6e3b937f4209dd47170e73a35de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:10 [ssh-agent] Looking for ssh-agent implementation... 08:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:10 $ docker exec 55341bf7458d8ab8e61ef0c980d3b89ca784d6e3b937f4209dd47170e73a35de ssh-agent 08:24:10 SSH_AUTH_SOCK=/tmp/ssh-mCkOKZopJJik/agent.15 08:24:10 SSH_AGENT_PID=21 08:24:10 Running ssh-add (command line suppressed) 08:24:10 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8149463021332004751.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8149463021332004751.key) 08:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:11 + git semver bump pre 08:24:11 # -> Open(): unable to determine branch for HEAD 08:24:11 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:24:11 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:24:11 # $SEMVER_REMOTE_NAME = origin 08:24:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:24:11 # $SEMVER_USER_NAME = edgex-jenkins 08:24:11 # $SEMVER_BRANCH = master 08:24:11 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:24:11 1.3.2-dev.25 [Pipeline] } 08:24:11 $ docker exec --env ******** --env ******** 55341bf7458d8ab8e61ef0c980d3b89ca784d6e3b937f4209dd47170e73a35de ssh-agent -k 08:24:11 unset SSH_AUTH_SOCK; 08:24:11 unset SSH_AGENT_PID; 08:24:11 echo Agent pid 21 killed; 08:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:11 + git semver [Pipeline] } 08:24:11 $ docker stop --time=1 55341bf7458d8ab8e61ef0c980d3b89ca784d6e3b937f4209dd47170e73a35de 08:24:12 $ docker rm -f 55341bf7458d8ab8e61ef0c980d3b89ca784d6e3b937f4209dd47170e73a35de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:24:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:13 . [Pipeline] withDockerContainer 08:24:13 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:24:13 $ 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 08:24:13 $ docker top 646c3e0c58607befe5b2097b96a08cbfac298f9ee1f9d23d3a027febd91b6308 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:13 [ssh-agent] Looking for ssh-agent implementation... 08:24:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:13 $ docker exec 646c3e0c58607befe5b2097b96a08cbfac298f9ee1f9d23d3a027febd91b6308 ssh-agent 08:24:14 SSH_AUTH_SOCK=/tmp/ssh-Xy1gsalktZRW/agent.13 08:24:14 SSH_AGENT_PID=20 08:24:14 Running ssh-add (command line suppressed) 08:24:14 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2376007683084799676.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2376007683084799676.key) 08:24:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:14 + git semver push 08:24:14 # -> Open(): unable to determine branch for HEAD 08:24:14 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:24:14 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:24:14 # $SEMVER_REMOTE_NAME = origin 08:24:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:24:14 # $SEMVER_USER_NAME = edgex-jenkins 08:24:14 # $SEMVER_BRANCH = master 08:24:14 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:24:19 $ docker exec --env ******** --env ******** 646c3e0c58607befe5b2097b96a08cbfac298f9ee1f9d23d3a027febd91b6308 ssh-agent -k 08:24:19 unset SSH_AUTH_SOCK; 08:24:19 unset SSH_AGENT_PID; 08:24:19 echo Agent pid 20 killed; 08:24:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:20 + git semver [Pipeline] } 08:24:20 $ docker stop --time=1 646c3e0c58607befe5b2097b96a08cbfac298f9ee1f9d23d3a027febd91b6308 08:24:21 $ docker rm -f 646c3e0c58607befe5b2097b96a08cbfac298f9ee1f9d23d3a027febd91b6308 [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 08:24:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:24:23 ---> package-listing.sh 08:24:23 ++ facter osfamily 08:24:23 ++ tr '[:upper:]' '[:lower:]' 08:24:23 + OS_FAMILY=redhat 08:24:23 + workspace=/w/workspace/foundry_device-virtual-go_master 08:24:23 + START_PACKAGES=/tmp/packages_start.txt 08:24:23 + END_PACKAGES=/tmp/packages_end.txt 08:24:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:24:23 + PACKAGES=/tmp/packages_start.txt 08:24:23 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:24:23 + PACKAGES=/tmp/packages_end.txt 08:24:23 + case "${OS_FAMILY}" in 08:24:23 + sort 08:24:23 + rpm -qa 08:24:24 + '[' -f /tmp/packages_start.txt ']' 08:24:24 + '[' -f /tmp/packages_end.txt ']' 08:24:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:24:24 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:24:24 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 08:24:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 08:24:24 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 08:24:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:24:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:25 08:24:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:24:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:25 alpine: Pulling from edgex-lftools-log-publisher 08:24:25 df20fa9351a1: Pulling fs layer 08:24:25 36b3adc4ff6f: Pulling fs layer 08:24:25 8ad3a11d3b57: Pulling fs layer 08:24:25 46f8f816bc3b: Pulling fs layer 08:24:25 93b61091891f: Pulling fs layer 08:24:25 93b9cdb0e59b: Pulling fs layer 08:24:25 5e14af77c1be: Pulling fs layer 08:24:25 01666e4c0597: Pulling fs layer 08:24:25 aa168da1d23b: Pulling fs layer 08:24:25 93b9cdb0e59b: Waiting 08:24:25 5e14af77c1be: Waiting 08:24:25 01666e4c0597: Waiting 08:24:25 aa168da1d23b: Waiting 08:24:25 46f8f816bc3b: Waiting 08:24:25 93b61091891f: Waiting 08:24:25 36b3adc4ff6f: Verifying Checksum 08:24:25 36b3adc4ff6f: Download complete 08:24:25 46f8f816bc3b: Verifying Checksum 08:24:25 46f8f816bc3b: Download complete 08:24:25 df20fa9351a1: Verifying Checksum 08:24:25 df20fa9351a1: Download complete 08:24:26 93b9cdb0e59b: Verifying Checksum 08:24:26 93b9cdb0e59b: Download complete 08:24:26 5e14af77c1be: Verifying Checksum 08:24:26 5e14af77c1be: Download complete 08:24:26 01666e4c0597: Verifying Checksum 08:24:26 01666e4c0597: Download complete 08:24:26 93b61091891f: Verifying Checksum 08:24:26 93b61091891f: Download complete 08:24:26 8ad3a11d3b57: Verifying Checksum 08:24:26 8ad3a11d3b57: Download complete 08:24:26 df20fa9351a1: Pull complete 08:24:26 36b3adc4ff6f: Pull complete 08:24:27 8ad3a11d3b57: Pull complete 08:24:27 46f8f816bc3b: Pull complete 08:24:27 93b61091891f: Pull complete 08:24:27 93b9cdb0e59b: Pull complete 08:24:27 5e14af77c1be: Pull complete 08:24:27 01666e4c0597: Pull complete 08:24:27 aa168da1d23b: Verifying Checksum 08:24:27 aa168da1d23b: Download complete 08:24:32 aa168da1d23b: Pull complete 08:24:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:24:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:24:32 prd-centos7-docker-4c-2g-498 does not seem to be running inside a container 08:24:32 $ 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 08:24:34 $ docker top 098c73b6960a81e70c95f35541e53da401db448aab812710cf5750d15305eaff -eo pid,comm [Pipeline] { [Pipeline] sh 08:24:35 + touch /tmp/pre-build-complete [Pipeline] sh 08:24:35 + mkdir -p /var/log/sa [Pipeline] sh 08:24:35 + ls /var/log/sa-host 08:24:35 + sadf -c /var/log/sa-host/sa05 08:24:35 file_magic: OK 08:24:35 HZ: Using current value: 100 08:24:35 file_header: OK 08:24:35 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 08:24:35 Statistics: 08:24:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:24:35 File successfully converted to sysstat format version 12.2.1 08:24:35 + sadf -c /var/log/sa-host/sa11 08:24:35 file_magic: OK 08:24:35 HZ: Using current value: 100 08:24:35 file_header: OK 08:24:35 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 08:24:35 Statistics: 08:24:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:24:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:36 provisioning config files... 08:24:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2429693657127215687tmp [Pipeline] { [Pipeline] echo 08:24:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:24:36 ---> create-netrc.sh [Pipeline] } 08:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:24:37 ---> python-tools-install.sh [Pipeline] echo 08:24:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:24:37 ---> sudo-logs.sh 08:24:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:24:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:24:37 ---> job-cost.sh 08:24:37 lf-activate-venv: SKIPPING 08:24:37 DEBUG: total: 0.18000000715255737 08:24:37 INFO: Retrieving Stack Cost... 08:24:39 INFO: Retrieving Pricing Info for: v3-standard-2 08:24:39 INFO: Archiving Costs [Pipeline] echo 08:24:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:24:39 ---> logs-deploy.sh 08:24:39 lf-activate-venv: SKIPPING 08:24:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/64 08:24:39 INFO: archiving workspace using pattern(s): 08:24:40 Archives upload complete. 08:24:40 INFO: archiving logs to Nexus 08:24:41 ---> uname -a: 08:24:41 Linux prd-centos7-docker-4c-2g-498.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 08:24:41 08:24:41 08:24:41 ---> lscpu: 08:24:41 Architecture: x86_64 08:24:41 CPU op-mode(s): 32-bit, 64-bit 08:24:41 Byte Order: Little Endian 08:24:41 Address sizes: 40 bits physical, 48 bits virtual 08:24:41 CPU(s): 2 08:24:41 On-line CPU(s) list: 0,1 08:24:41 Thread(s) per core: 1 08:24:41 Core(s) per socket: 1 08:24:41 Socket(s): 2 08:24:41 NUMA node(s): 1 08:24:41 Vendor ID: AuthenticAMD 08:24:41 CPU family: 23 08:24:41 Model: 49 08:24:41 Model name: AMD EPYC-Rome Processor 08:24:41 Stepping: 0 08:24:41 CPU MHz: 2800.000 08:24:41 BogoMIPS: 5600.00 08:24:41 Virtualization: AMD-V 08:24:41 Hypervisor vendor: KVM 08:24:41 Virtualization type: full 08:24:41 L1d cache: 64 KiB 08:24:41 L1i cache: 64 KiB 08:24:41 L2 cache: 1 MiB 08:24:41 L3 cache: 32 MiB 08:24:41 NUMA node0 CPU(s): 0,1 08:24:41 Vulnerability Itlb multihit: Not affected 08:24:41 Vulnerability L1tf: Not affected 08:24:41 Vulnerability Mds: Not affected 08:24:41 Vulnerability Meltdown: Not affected 08:24:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:24:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:24:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:24:41 Vulnerability Srbds: Not affected 08:24:41 Vulnerability Tsx async abort: Not affected 08:24:41 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 08:24:41 08:24:41 08:24:41 ---> nproc: 08:24:41 2 08:24:41 08:24:41 08:24:41 ---> df -h: 08:24:41 Filesystem Size Used Available Use% Mounted on 08:24:41 overlay 40.0G 8.9G 31.1G 22% / 08:24:41 tmpfs 64.0M 0 64.0M 0% /dev 08:24:41 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 08:24:41 shm 64.0M 0 64.0M 0% /dev/shm 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 08:24:41 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 08:24:41 08:24:41 08:24:41 ---> free -m: 08:24:41 total used free shared buff/cache available 08:24:41 Mem: 7821 1272 3148 0 3400 6467 08:24:41 Swap: 1023 0 1023 08:24:41 08:24:41 08:24:41 ---> ip addr: 08:24:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:24:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:24:41 inet 127.0.0.1/8 scope host lo 08:24:41 valid_lft forever preferred_lft forever 08:24:41 inet6 ::1/128 scope host 08:24:41 valid_lft forever preferred_lft forever 08:24:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:24:41 link/ether fa:16:3e:d2:5a:29 brd ff:ff:ff:ff:ff:ff 08:24:41 inet 10.30.122.205/23 brd 10.30.123.255 scope global dynamic eth0 08:24:41 valid_lft 85675sec preferred_lft 85675sec 08:24:41 inet6 fe80::f816:3eff:fed2:5a29/64 scope link 08:24:41 valid_lft forever preferred_lft forever 08:24:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:24:41 link/ether 02:42:be:c2:8d:f7 brd ff:ff:ff:ff:ff:ff 08:24:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:24:41 valid_lft forever preferred_lft forever 08:24:41 inet6 fe80::42:beff:fec2:8df7/64 scope link 08:24:41 valid_lft forever preferred_lft forever 08:24:41 08:24:41 08:24:41 ---> sar -b -r -n DEV: 08:24:41 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 08:24:41 08:24:41 08:12:26 LINUX RESTART (2 CPU) 08:24:41 08:24:41 08:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:24:41 08:14:01 80.14 3.68 76.46 0.00 2628.44 4197.89 0.00 08:24:41 08:15:01 0.50 0.00 0.50 0.00 0.00 8.91 0.00 08:24:41 08:16:01 0.15 0.00 0.15 0.00 0.00 1.87 0.00 08:24:41 08:17:01 0.25 0.00 0.25 0.00 0.00 3.46 0.00 08:24:41 08:18:01 0.23 0.00 0.23 0.00 0.00 3.03 0.00 08:24:41 08:19:02 0.27 0.00 0.27 0.00 0.00 3.10 0.00 08:24:41 08:20:01 0.29 0.00 0.29 0.00 0.00 3.73 0.00 08:24:41 08:21:01 0.23 0.00 0.23 0.00 0.00 2.72 0.00 08:24:41 08:22:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 08:24:41 08:23:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 08:24:41 08:24:01 201.91 0.03 201.88 0.00 3.73 55244.97 0.00 08:24:41 Average: 25.90 0.34 25.57 0.00 239.73 5416.78 0.00 08:24:41 08:24:41 08:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:24:41 08:14:01 5446364 0 807712 10.09 2620 1752244 1295008 14.30 577800 1584108 20 08:24:41 08:15:01 5458280 0 795788 9.94 2620 1752252 1205128 13.31 568484 1584072 16 08:24:41 08:16:01 5456264 0 797804 9.96 2620 1752252 1205392 13.31 573804 1580224 16 08:24:41 08:17:01 5455508 0 798552 9.97 2620 1752260 1205452 13.31 575228 1580224 16 08:24:41 08:18:01 5457068 0 796988 9.95 2620 1752264 1205236 13.31 567116 1587104 16 08:24:41 08:19:02 5456040 0 798016 9.96 2620 1752264 1205128 13.31 567496 1587104 12 08:24:41 08:20:01 5455384 0 798660 9.97 2620 1752276 1205128 13.31 568388 1587104 16 08:24:41 08:21:01 5452940 0 801100 10.00 2620 1752280 1205128 13.31 570912 1587104 8 08:24:41 08:22:01 5443304 0 810732 10.12 2620 1752284 1205128 13.31 580780 1587104 16 08:24:41 08:23:01 5442524 0 811508 10.13 2620 1752288 1205212 13.31 582752 1585416 16 08:24:41 08:24:01 3737136 0 1160576 14.49 2620 3108608 1362944 15.05 887168 2766472 512 08:24:41 Average: 5296437 0 834312 10.42 2620 1875570 1227717 13.55 601812 1692367 60 08:24:41 08:24:41 08:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:24:41 08:14:01 eth0 223.71 195.37 730.96 44.94 0.00 0.00 0.00 0.00 08:24:41 08:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:14:01 docker0 51.02 32.10 4.65 138.27 0.00 0.00 0.00 0.00 08:24:41 08:15:01 eth0 0.82 0.12 0.07 0.04 0.00 0.00 0.00 0.00 08:24:41 08:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:16:01 eth0 1.38 0.63 0.58 0.37 0.00 0.00 0.00 0.00 08:24:41 08:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:17:01 eth0 3.68 2.32 3.26 0.36 0.00 0.00 0.00 0.00 08:24:41 08:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:18:01 eth0 0.27 0.22 0.14 0.07 0.00 0.00 0.00 0.00 08:24:41 08:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:19:02 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 08:24:41 08:19:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:20:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:24:41 08:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:21:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:24:41 08:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:22:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:24:41 08:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:23:01 eth0 0.22 0.18 0.08 0.04 0.00 0.00 0.00 0.00 08:24:41 08:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:24:01 veth114e1bd 0.18 0.23 0.02 0.05 0.00 0.00 0.00 0.00 08:24:41 08:24:01 eth0 915.78 838.38 7705.65 77.85 0.00 0.00 0.00 0.00 08:24:41 08:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 08:24:01 docker0 72.19 73.63 6.05 403.37 0.00 0.00 0.00 0.00 08:24:41 Average: veth114e1bd 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 Average: eth0 104.40 94.50 768.75 11.27 0.00 0.00 0.00 0.00 08:24:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:41 Average: docker0 11.22 9.63 0.97 49.33 0.00 0.00 0.00 0.00 08:24:41 08:24:41 08:24:41 ---> sar -P ALL: 08:24:41 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/11/21 _x86_64_ (2 CPU) 08:24:41 08:24:41 08:12:26 LINUX RESTART (2 CPU) 08:24:41 08:24:41 08:13:01 CPU %user %nice %system %iowait %steal %idle 08:24:41 08:14:01 all 6.53 0.00 2.73 2.69 0.06 87.99 08:24:41 08:14:01 0 6.01 0.00 2.62 0.97 0.05 90.35 08:24:41 08:14:01 1 7.05 0.00 2.85 4.41 0.07 85.62 08:24:41 08:15:01 all 0.10 0.00 0.06 0.00 0.04 99.80 08:24:41 08:15:01 0 0.07 0.00 0.05 0.00 0.03 99.85 08:24:41 08:15:01 1 0.13 0.00 0.07 0.00 0.05 99.75 08:24:41 08:16:01 all 0.18 0.00 0.06 0.00 0.03 99.73 08:24:41 08:16:01 0 0.07 0.00 0.05 0.00 0.03 99.85 08:24:41 08:16:01 1 0.30 0.00 0.07 0.00 0.02 99.62 08:24:41 08:17:01 all 0.12 0.00 0.03 0.00 0.03 99.82 08:24:41 08:17:01 0 0.05 0.00 0.03 0.00 0.03 99.88 08:24:41 08:17:01 1 0.18 0.00 0.03 0.00 0.03 99.75 08:24:41 08:18:01 all 0.21 0.00 0.03 0.00 0.04 99.72 08:24:41 08:18:01 0 0.03 0.00 0.03 0.00 0.05 99.88 08:24:41 08:18:01 1 0.38 0.00 0.02 0.00 0.03 99.57 08:24:41 08:19:02 all 0.13 0.00 0.03 0.00 0.04 99.81 08:24:41 08:19:02 0 0.02 0.00 0.02 0.00 0.05 99.92 08:24:41 08:19:02 1 0.23 0.00 0.03 0.00 0.03 99.70 08:24:41 08:20:01 all 0.19 0.00 0.03 0.00 0.03 99.75 08:24:41 08:20:01 0 0.05 0.00 0.03 0.00 0.05 99.86 08:24:41 08:20:01 1 0.32 0.00 0.03 0.00 0.02 99.63 08:24:41 08:21:01 all 0.15 0.00 0.04 0.00 0.03 99.77 08:24:41 08:21:01 0 0.03 0.00 0.05 0.00 0.05 99.87 08:24:41 08:21:01 1 0.27 0.00 0.03 0.00 0.02 99.68 08:24:41 08:22:01 all 0.07 0.00 0.03 0.00 0.03 99.87 08:24:41 08:22:01 0 0.08 0.00 0.05 0.00 0.05 99.82 08:24:41 08:22:01 1 0.05 0.00 0.02 0.00 0.02 99.92 08:24:41 08:23:01 all 0.05 0.00 0.05 0.00 0.03 99.87 08:24:41 08:23:01 0 0.07 0.00 0.05 0.00 0.02 99.87 08:24:41 08:23:01 1 0.03 0.00 0.05 0.00 0.03 99.88 08:24:41 08:24:01 all 22.89 0.00 11.40 2.66 0.07 62.98 08:24:41 08:24:01 0 23.43 0.00 11.55 2.50 0.07 62.45 08:24:41 08:24:01 1 22.35 0.00 11.26 2.82 0.07 63.50 08:24:41 08:24:41 Average: CPU %user %nice %system %iowait %steal %idle 08:24:41 Average: all 2.67 0.00 1.26 0.47 0.04 95.56 08:24:41 Average: 0 2.59 0.00 1.26 0.30 0.04 95.80 08:24:41 Average: 1 2.74 0.00 1.26 0.64 0.04 95.32 08:24:41 08:24:41 08:24:41