Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fd53acc9c14dc637ad1d0649aa2130107251e178 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-ssh2090382127066330908.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-ssh3639829289500780547.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-ssh8795945230925214737.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-ssh956705104154408808.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-ssh412594464030567956.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-64 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-ssh7632228521337393394.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 fd53acc9c14dc637ad1d0649aa2130107251e178 (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 fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" > git rev-list --no-walk 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:59:10 ========================================================= 18:59:10 EdgeX Global Pipelines Version Info 18:59:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:59:11 ------------------- 18:59:11 stable info: 18:59:11 ------------------- 18:59:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:59:11 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 18:59:11 Message: update stable to v1.0.195 18:59:12 ------------------- 18:59:12 experimental info: 18:59:12 ------------------- 18:59:12 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:12 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 18:59:12 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 18:59:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 18:59:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 18:59:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] echo 18:59:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd53acc [Pipeline] echo 18:59:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:13 provisioning config files... 18:59:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2182150550515525262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:13 ---> docker-login.sh 18:59:13 nexus3.edgexfoundry.org:10001 18:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:13 Configure a credential helper to remove this warning. See 18:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:13 18:59:13 Login Succeeded 18:59:13 nexus3.edgexfoundry.org:10002 18:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:13 Configure a credential helper to remove this warning. See 18:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:13 18:59:13 Login Succeeded 18:59:13 nexus3.edgexfoundry.org:10003 18:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:14 Configure a credential helper to remove this warning. See 18:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:14 18:59:14 Login Succeeded 18:59:14 nexus3.edgexfoundry.org:10004 18:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:14 Configure a credential helper to remove this warning. See 18:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:14 18:59:14 Login Succeeded 18:59:14 docker.io 18:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:14 Configure a credential helper to remove this warning. See 18:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:14 18:59:14 Login Succeeded 18:59:14 ---> docker-login.sh ends [Pipeline] } 18:59: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 18:59:15 + git log --format=format:%s -1 fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] echo 18:59:15 GIT_COMMIT: fd53acc9c14dc637ad1d0649aa2130107251e178, Commit Message: Merge pull request #224 from lenny-intel/defaut-to-publish [Pipeline] echo 18:59:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:59:16 18:59:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:59:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:59:16 latest: Pulling from edgex-devops/git-semver 18:59:16 31603596830f: Pulling fs layer 18:59:16 54011a49482f: Pulling fs layer 18:59:16 a6820b24f6d8: Pulling fs layer 18:59:16 f581987b2513: Pulling fs layer 18:59:16 f581987b2513: Waiting 18:59:16 54011a49482f: Verifying Checksum 18:59:16 54011a49482f: Download complete 18:59:16 31603596830f: Verifying Checksum 18:59:16 31603596830f: Download complete 18:59:16 f581987b2513: Verifying Checksum 18:59:16 f581987b2513: Download complete 18:59:16 a6820b24f6d8: Verifying Checksum 18:59:16 a6820b24f6d8: Download complete 18:59:16 31603596830f: Pull complete 18:59:17 54011a49482f: Pull complete 18:59:17 a6820b24f6d8: Pull complete 18:59:18 f581987b2513: Pull complete 18:59:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:59:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:59:18 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 18:59:18 $ 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 18:59:19 $ docker top f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:19 [ssh-agent] Looking for ssh-agent implementation... 18:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:19 $ docker exec f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent 18:59:19 SSH_AUTH_SOCK=/tmp/ssh-oH9I4acjnyTI/agent.14 18:59:19 SSH_AGENT_PID=20 18:59:19 Running ssh-add (command line suppressed) 18:59:19 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2546125369502023364.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2546125369502023364.key) 18:59:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:20 + git tag --points-at HEAD [Pipeline] } 18:59:20 $ docker exec --env ******** --env ******** f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent -k 18:59:20 unset SSH_AUTH_SOCK; 18:59:20 unset SSH_AGENT_PID; 18:59:20 echo Agent pid 20 killed; 18:59:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:20 [ssh-agent] Looking for ssh-agent implementation... 18:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:20 $ docker exec f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent 18:59:20 SSH_AUTH_SOCK=/tmp/ssh-Zro4jySjtfAN/agent.55 18:59:20 SSH_AGENT_PID=61 18:59:20 Running ssh-add (command line suppressed) 18:59:20 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8242525444424923608.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8242525444424923608.key) 18:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:20 + git semver init 18:59:20 # -> Open(): unable to determine branch for HEAD 18:59:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 18:59:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 18:59:20 # $SEMVER_REMOTE_NAME = origin 18:59:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:59:20 # $SEMVER_USER_NAME = edgex-jenkins 18:59:20 # $SEMVER_BRANCH = master 18:59:20 # $SEMVER_TEMP = /tmp/semver-381175324 18:59:20 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:59:21 # '/tmp/semver-381175324' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 18:59:21 # -> Force: false 18:59:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 18:59:21 $ docker exec --env ******** --env ******** f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e ssh-agent -k 18:59:22 unset SSH_AUTH_SOCK; 18:59:22 unset SSH_AGENT_PID; 18:59:22 echo Agent pid 61 killed; 18:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:59:22 + git semver [Pipeline] } 18:59:22 $ docker stop --time=1 f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e 18:59:23 $ docker rm -f f24a895433702e34a9a0fed0ff59a4a966d841828f065d9e6153f136ba18ef3e [Pipeline] // withDockerContainer [Pipeline] sh 18:59:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:59:24 Stashed 1 file(s) [Pipeline] echo 18:59:24 [edgeXSemver]: initialized semver on version 1.3.2-dev.25 [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 18:59:39 Still waiting to schedule task 18:59:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:59:39 Still waiting to schedule task 18:59:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:01:14 Running on prd-centos7-docker-4c-2g-68 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 19:01:14 Running in /w/workspace/device-virtual-go/65 [Pipeline] { [Pipeline] checkout 19:01:14 The recommended git tool is: git 19:01:16 using credential edgex-jenkins-ssh 19:01:16 Cloning the remote Git repository 19:01:16 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:01:16 > git init /w/workspace/device-virtual-go/65 # timeout=10 19:01:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:01:16 > git --version # timeout=10 19:01:17 Avoid second fetch 19:01:17 Checking out Revision fd53acc9c14dc637ad1d0649aa2130107251e178 (master) 19:01:16 > git --version # 'git version 2.24.4' 19:01:16 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:16 [INFO] Currently running in a labeled security context 19:01:16 [INFO] Currently SELinux is 'enforcing' on the host 19:01:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/65@tmp/jenkins-gitclient-ssh7197464091056840814.key 19:01:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:01:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:17 > git config core.sparsecheckout # timeout=10 19:01:17 > git checkout -f fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 19:01:20 Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:01:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:01:22 + true 19:01:22 + sudo service docker restart 19:01:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:40 provisioning config files... 19:01:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config5801381703744498095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:41 ---> docker-login.sh 19:01:41 nexus3.edgexfoundry.org:10001 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:41 Configure a credential helper to remove this warning. See 19:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:41 19:01:41 Login Succeeded 19:01:41 nexus3.edgexfoundry.org:10002 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:41 Configure a credential helper to remove this warning. See 19:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:41 19:01:41 Login Succeeded 19:01:41 nexus3.edgexfoundry.org:10003 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:41 Configure a credential helper to remove this warning. See 19:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:41 19:01:41 Login Succeeded 19:01:41 nexus3.edgexfoundry.org:10004 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:41 Configure a credential helper to remove this warning. See 19:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:41 19:01:41 Login Succeeded 19:01:41 docker.io 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:42 Configure a credential helper to remove this warning. See 19:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:42 19:01:42 Login Succeeded 19:01:42 ---> docker-login.sh ends [Pipeline] } 19:01:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:42 ========================================================= 19:01:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:01:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:01:42 + 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 . 19:01:42 Sending build context to Docker daemon 8.609MB 19:01:42 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:01:42 Step 2/8 : FROM ${BASE} 19:01:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:43 540db60ca938: Pulling fs layer 19:01:43 adcc1eea9eea: Pulling fs layer 19:01:43 4c4ab2625f07: Pulling fs layer 19:01:43 0510c868ecb4: Pulling fs layer 19:01:43 afea3b2eda06: Pulling fs layer 19:01:43 7809a108b3ef: Pulling fs layer 19:01:43 f706445af74f: Pulling fs layer 19:01:43 0510c868ecb4: Waiting 19:01:43 afea3b2eda06: Waiting 19:01:43 7809a108b3ef: Waiting 19:01:43 f706445af74f: Waiting 19:01:43 4c4ab2625f07: Verifying Checksum 19:01:43 4c4ab2625f07: Download complete 19:01:43 adcc1eea9eea: Verifying Checksum 19:01:43 adcc1eea9eea: Download complete 19:01:43 afea3b2eda06: Verifying Checksum 19:01:43 afea3b2eda06: Download complete 19:01:43 540db60ca938: Verifying Checksum 19:01:43 540db60ca938: Download complete 19:01:43 7809a108b3ef: Verifying Checksum 19:01:43 7809a108b3ef: Download complete 19:01:43 540db60ca938: Pull complete 19:01:43 adcc1eea9eea: Pull complete 19:01:43 4c4ab2625f07: Pull complete 19:01:44 f706445af74f: Verifying Checksum 19:01:44 f706445af74f: Download complete 19:01:45 0510c868ecb4: Verifying Checksum 19:01:45 0510c868ecb4: Download complete 19:01:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-66 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 19:01:45 Running in /w/workspace/device-virtual-go/65 [Pipeline] { [Pipeline] checkout 19:01:45 The recommended git tool is: git 19:01:48 0510c868ecb4: Pull complete 19:01:48 afea3b2eda06: Pull complete 19:01:48 7809a108b3ef: Pull complete 19:01:49 f706445af74f: Pull complete 19:01:49 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 19:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:01:49 ---> b068be0155e3 19:01:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:01:51 using credential edgex-jenkins-ssh 19:01:51 Cloning the remote Git repository 19:01:51 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:01:51 > git init /w/workspace/device-virtual-go/65 # timeout=10 19:01:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:01:51 > git --version # timeout=10 19:01:51 > git --version # 'git version 2.17.1' 19:01:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:53 Avoid second fetch 19:01:53 Checking out Revision fd53acc9c14dc637ad1d0649aa2130107251e178 (master) 19:01:54 ---> Running in c0ee3fb7238a 19:01:54 Removing intermediate container c0ee3fb7238a 19:01:54 ---> 52b959eb01aa 19:01:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:54 ---> Running in 17bc9c1a3e26 19:01:54 Removing intermediate container 17bc9c1a3e26 19:01:54 ---> 64dcc74e9ee8 19:01:54 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:01:54 ---> Running in 9203bea58e5a 19:01:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:01:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:01:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:53 > git config core.sparsecheckout # timeout=10 19:01:53 > git checkout -f fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 19:01:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:01:55 (1/13) Installing libc-dev (0.7.2-r3) 19:01:55 (2/13) Installing libsodium (1.0.18-r0) 19:01:55 (3/13) Installing pkgconf (1.7.3-r0) 19:01:55 (4/13) Installing libsodium-dev (1.0.18-r0) 19:01:56 (5/13) Installing openssh-keygen (8.4_p1-r3) 19:01:56 (6/13) Installing libedit (20191231.3.1-r1) 19:01:56 (7/13) Installing openssh-client (8.4_p1-r3) 19:01:56 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 19:01:56 (9/13) Installing openssh-server-common (8.4_p1-r3) 19:01:56 (10/13) Installing openssh-server (8.4_p1-r3) 19:01:56 (11/13) Installing openssh (8.4_p1-r3) 19:01:56 (12/13) Installing libzmq (4.3.3-r1) 19:01:56 (13/13) Installing zeromq-dev (4.3.3-r1) 19:01:57 Executing busybox-1.32.1-r6.trigger 19:01:57 OK: 156 MiB in 53 packages 19:01:57 Removing intermediate container 9203bea58e5a 19:01:57 ---> d67596147f6c 19:01:57 Step 6/8 : WORKDIR /device-virtual-go 19:01:57 ---> Running in 21e66db4e33c 19:01:57 Removing intermediate container 21e66db4e33c 19:01:57 ---> 119ed0ec2077 19:01:57 Step 7/8 : COPY . . 19:01:57 Commit message: "Merge pull request #224 from lenny-intel/defaut-to-publish" 19:01:58 ---> 3166c5b69df6 19:01:58 Step 8/8 : RUN go mod download 19:01:58 ---> Running in 269ff1a61567 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:59 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:01:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:01:59 + true 19:01:59 + sudo service docker restart 19:02:12 Removing intermediate container 269ff1a61567 19:02:12 ---> 41cab418b6db 19:02:12 Successfully built 41cab418b6db 19:02:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:02:13 + docker inspect -f . ci-base-image-x86_64 19:02:13 . [Pipeline] withDockerContainer 19:02:13 prd-centos7-docker-4c-2g-68 does not seem to be running inside a container 19:02:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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 19:02:13 $ docker top 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:14 + go version 19:02:14 go version go1.16.3 linux/amd64 [Pipeline] } 19:02:14 $ docker stop --time=1 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c 19:02:15 $ docker rm -f 5c63acb81d92a4f7b12a7164b7269b93d47ada827a7364eb1794f799b0f3a40c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:02:16 + docker inspect -f . ci-base-image-x86_64 19:02:16 . [Pipeline] withDockerContainer 19:02:16 prd-centos7-docker-4c-2g-68 does not seem to be running inside a container 19:02:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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 19:02:16 $ docker top 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:17 + go mod tidy [Pipeline] sh 19:02:17 + make test 19:02:17 go mod tidy 19:02:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:02:18 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:18 provisioning config files... 19:02:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config5076881453543090232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:18 ---> docker-login.sh 19:02:18 nexus3.edgexfoundry.org:10001 19:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:19 Configure a credential helper to remove this warning. See 19:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:19 19:02:19 Login Succeeded 19:02:19 nexus3.edgexfoundry.org:10002 19:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:20 Configure a credential helper to remove this warning. See 19:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:20 19:02:20 Login Succeeded 19:02:20 nexus3.edgexfoundry.org:10003 19:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:21 Configure a credential helper to remove this warning. See 19:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:21 19:02:21 Login Succeeded 19:02:21 nexus3.edgexfoundry.org:10004 19:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:21 Configure a credential helper to remove this warning. See 19:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:21 19:02:21 Login Succeeded 19:02:21 docker.io 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 ---> docker-login.sh ends [Pipeline] } 19:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:22 ========================================================= 19:02:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:02:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:02:23 + 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 . 19:02:23 Sending build context to Docker daemon 8.608MB 19:02:23 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:02:23 Step 2/8 : FROM ${BASE} 19:02:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:02:23 595b0fe564bb: Pulling fs layer 19:02:23 3088b5b3c5c0: Pulling fs layer 19:02:23 5b7225fbf94c: Pulling fs layer 19:02:23 ba82ee9f976e: Pulling fs layer 19:02:23 506bd15cee9f: Pulling fs layer 19:02:23 75a0a4a0db45: Pulling fs layer 19:02:23 618dc40b7e24: Pulling fs layer 19:02:23 506bd15cee9f: Waiting 19:02:23 75a0a4a0db45: Waiting 19:02:23 618dc40b7e24: Waiting 19:02:23 ba82ee9f976e: Waiting 19:02:23 3088b5b3c5c0: Download complete 19:02:23 5b7225fbf94c: Verifying Checksum 19:02:23 5b7225fbf94c: Download complete 19:02:23 506bd15cee9f: Verifying Checksum 19:02:23 506bd15cee9f: Download complete 19:02:23 75a0a4a0db45: Download complete 19:02:23 595b0fe564bb: Verifying Checksum 19:02:23 595b0fe564bb: Download complete 19:02:24 595b0fe564bb: Pull complete 19:02:25 3088b5b3c5c0: Pull complete 19:02:25 5b7225fbf94c: Pull complete 19:02:26 618dc40b7e24: Verifying Checksum 19:02:26 618dc40b7e24: Download complete 19:02:27 ba82ee9f976e: Verifying Checksum 19:02:27 ba82ee9f976e: Download complete 19:02:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:02:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.266s coverage: 63.8% of statements 19:02:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:02:39 ba82ee9f976e: Pull complete 19:02:39 506bd15cee9f: Pull complete 19:02:39 75a0a4a0db45: Pull complete 19:02:42 618dc40b7e24: Pull complete 19:02:42 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 19:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:02:42 ---> a36622ca3599 19:02:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:02:44 ---> Running in bb59d9e887e7 19:02:44 gofmt -l . 19:02:44 [ "`gofmt -l .`" = "" ] 19:02:44 ./bin/test-attribution-txt.sh 19:02:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:02:44 $ docker stop --time=1 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 19:02:44 Removing intermediate container bb59d9e887e7 19:02:44 ---> f809570daa7a 19:02:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:44 ---> Running in 24a4de8e74c3 19:02:46 $ docker rm -f 8c6c00049efc753782ead54c195e4cba995fd7194cab4f832dd4d04b6ed28228 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 19:02:47 Removing intermediate container 24a4de8e74c3 19:02:47 ---> 1b10c4f1bc10 19:02:47 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:02:47 ---> Running in 6e9ad18a4cb8 19:02:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] sh 19:02:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:02:49 + ls -al . 19:02:49 total 132 19:02:49 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 17 19:02 . 19:02:49 drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 19:01 .. 19:02:49 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 17 19:01 Attribution.txt 19:02:49 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 19:01 bin 19:02:49 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 19:01 cmd 19:02:49 -rw-r--r--. 1 jenkins jenkins 47257 Jun 17 19:02 coverage.out 19:02:49 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 17 19:01 Dockerfile 19:02:49 -rw-rw-r--. 1 jenkins jenkins 998 Jun 17 19:01 Dockerfile.build 19:02:49 drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 19:01 .git 19:02:49 drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 19:01 .github 19:02:49 -rw-rw-r--. 1 jenkins jenkins 277 Jun 17 19:01 .gitignore 19:02:49 -rw-r--r--. 1 jenkins jenkins 810 Jun 17 19:02 go.mod 19:02:49 -rw-r--r--. 1 jenkins jenkins 23031 Jun 17 19:02 go.sum 19:02:49 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 19:01 internal 19:02:49 -rw-rw-r--. 1 jenkins jenkins 660 Jun 17 19:01 Jenkinsfile 19:02:49 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 19:01 LICENSE 19:02:49 -rw-rw-r--. 1 jenkins jenkins 905 Jun 17 19:01 Makefile 19:02:49 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 17 19:01 README.md 19:02:49 -rw-rw-r--. 1 jenkins jenkins 12 Jun 17 18:59 VERSION 19:02:49 -rw-rw-r--. 1 jenkins jenkins 235 Jun 17 19:01 version.go [Pipeline] isUnix [Pipeline] sh 19:02:50 + 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=fd53acc9c14dc637ad1d0649aa2130107251e178 --label arch=amd64 --label version=1.3.2-dev.25 . 19:02:50 Sending build context to Docker daemon 8.681MB 19:02:50 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 19:02:50 Step 2/26 : FROM ${BASE} AS builder 19:02:50 ---> 41cab418b6db 19:02:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:02:50 ---> Running in 0f8f6847ecc5 19:02:50 Removing intermediate container 0f8f6847ecc5 19:02:50 ---> d9a7d06a8d36 19:02:50 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:02:50 ---> Running in 2225b36e33ad 19:02:50 Removing intermediate container 2225b36e33ad 19:02:50 ---> 866d7b5fad0e 19:02:50 Step 5/26 : WORKDIR /device-virtual-go 19:02:50 ---> Running in 13b148531221 19:02:50 Removing intermediate container 13b148531221 19:02:50 ---> 1cc3b38ee22f 19:02:50 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:50 ---> Running in 26ccb9c8adb7 19:02:50 (1/13) Installing libc-dev (0.7.2-r3) 19:02:50 (2/13) Installing libsodium (1.0.18-r0) 19:02:50 (3/13) Installing pkgconf (1.7.3-r0) 19:02:50 (4/13) Installing libsodium-dev (1.0.18-r0) 19:02:50 (5/13) Installing openssh-keygen (8.4_p1-r3) 19:02:50 Removing intermediate container 26ccb9c8adb7 19:02:50 ---> 062bd147fe9a 19:02:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:50 ---> Running in 6b4a129df56f 19:02:51 (6/13) Installing libedit (20191231.3.1-r1) 19:02:51 (7/13) Installing openssh-client (8.4_p1-r3) 19:02:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:02:51 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 19:02:51 (9/13) Installing openssh-server-common (8.4_p1-r3) 19:02:51 (10/13) Installing openssh-server (8.4_p1-r3) 19:02:51 (11/13) Installing openssh (8.4_p1-r3) 19:02:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:02:52 (12/13) Installing libzmq (4.3.3-r1) 19:02:52 (13/13) Installing zeromq-dev (4.3.3-r1) 19:02:52 Executing busybox-1.32.1-r6.trigger 19:02:52 OK: 145 MiB in 53 packages 19:02:52 OK: 156 MiB in 53 packages 19:02:52 Removing intermediate container 6b4a129df56f 19:02:52 ---> 533dcfa129e4 19:02:52 Step 8/26 : COPY . . 19:02:53 ---> b593a94f83c5 19:02:53 Step 9/26 : RUN go mod tidy 19:02:53 ---> Running in 824b6f4611ef 19:02:53 Removing intermediate container 824b6f4611ef 19:02:53 ---> 29ef04c8999f 19:02:53 Step 10/26 : RUN go mod download 19:02:53 ---> Running in 9f379c052460 19:02:53 Removing intermediate container 6e9ad18a4cb8 19:02:53 ---> 88801d535513 19:02:53 Step 6/8 : WORKDIR /device-virtual-go 19:02:53 ---> Running in b69e37f532f9 19:02:54 Removing intermediate container 9f379c052460 19:02:54 ---> 98ff138cd0af 19:02:54 Step 11/26 : ARG MAKE='make build' 19:02:54 ---> Running in 83eceb9c10e8 19:02:54 Removing intermediate container 83eceb9c10e8 19:02:54 ---> 7f82b0591abe 19:02:54 Step 12/26 : RUN $MAKE 19:02:54 ---> Running in c2227be32575 19:02:54 Removing intermediate container b69e37f532f9 19:02:54 ---> cf2e5d49f68e 19:02:54 Step 7/8 : COPY . . 19:02:54 go mod tidy 19:02:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.25" -o cmd/device-virtual ./cmd 19:02:55 ---> 3ef6d92cd7b9 19:02:55 Step 8/8 : RUN go mod download 19:02:55 ---> Running in 193c17266cec 19:03:10 Removing intermediate container c2227be32575 19:03:10 ---> cfc6a62dfe1d 19:03:10 Step 13/26 : FROM alpine:3.12 19:03:10 3.12: Pulling from library/alpine 19:03:10 339de151aab4: Pulling fs layer 19:03:10 339de151aab4: Verifying Checksum 19:03:10 339de151aab4: Download complete 19:03:10 339de151aab4: Pull complete 19:03:10 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 19:03:10 Status: Downloaded newer image for alpine:3.12 19:03:10 ---> 13621d1b12d4 19:03:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:03:10 ---> Running in 458c9ac328dc 19:03:10 Removing intermediate container 458c9ac328dc 19:03:10 ---> 36fabd0cddd5 19:03:10 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:03:10 ---> Running in e691dc771b09 19:03:11 Removing intermediate container e691dc771b09 19:03:11 ---> ca6a43c85b2f 19:03:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:03:11 ---> Running in d6f34238b584 19:03:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:03:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:03:12 (1/6) Installing dumb-init (1.2.2-r1) 19:03:12 (2/6) Installing libgcc (9.3.0-r2) 19:03:12 (3/6) Installing libsodium (1.0.18-r0) 19:03:12 (4/6) Installing libstdc++ (9.3.0-r2) 19:03:13 (5/6) Installing libzmq (4.3.3-r0) 19:03:13 (6/6) Installing zeromq (4.3.3-r0) 19:03:13 Executing busybox-1.31.1-r20.trigger 19:03:13 OK: 8 MiB in 20 packages 19:03:14 Removing intermediate container d6f34238b584 19:03:14 ---> c5648ad93043 19:03:14 Step 17/26 : WORKDIR / 19:03:14 ---> Running in 5f936f785a6d 19:03:14 Removing intermediate container 5f936f785a6d 19:03:14 ---> d7053d92e94e 19:03:14 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:03:14 ---> 93a60db4a986 19:03:14 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:03:14 ---> 61b2938bab14 19:03:14 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:03:15 ---> 2ae33ba5fba5 19:03:15 Step 21/26 : EXPOSE 59900 19:03:15 ---> Running in 3888e424c3e6 19:03:15 Removing intermediate container 3888e424c3e6 19:03:15 ---> a3e77fec8138 19:03:15 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:03:15 ---> Running in d72371c43e17 19:03:15 Removing intermediate container d72371c43e17 19:03:15 ---> 1abfde671eac 19:03:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:03:15 ---> Running in 372d0d3d2323 19:03:15 Removing intermediate container 372d0d3d2323 19:03:15 ---> efa2e60b769a 19:03:15 Step 24/26 : LABEL arch=amd64 19:03:15 ---> Running in 1d9c1f8d3625 19:03:15 Removing intermediate container 1d9c1f8d3625 19:03:15 ---> 04fc5909ead8 19:03:15 Step 25/26 : LABEL git_sha=fd53acc9c14dc637ad1d0649aa2130107251e178 19:03:15 ---> Running in 5c5bf61e33b0 19:03:15 Removing intermediate container 5c5bf61e33b0 19:03:15 ---> acf775ba3d72 19:03:15 Step 26/26 : LABEL version=1.3.2-dev.25 19:03:15 ---> Running in 8369f3741d27 19:03:15 Removing intermediate container 8369f3741d27 19:03:15 ---> 33c12a1f0d1a 19:03:15 [Warning] One or more build-args [ARCH] were not consumed 19:03:15 Successfully built 33c12a1f0d1a 19:03:15 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:15 provisioning config files... 19:03:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config3176959054575518498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:16 ---> docker-login.sh 19:03:16 nexus3.edgexfoundry.org:10001 19:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:16 Configure a credential helper to remove this warning. See 19:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:16 19:03:16 Login Succeeded 19:03:16 nexus3.edgexfoundry.org:10002 19:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:16 Configure a credential helper to remove this warning. See 19:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:16 19:03:16 Login Succeeded 19:03:16 nexus3.edgexfoundry.org:10003 19:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:16 Configure a credential helper to remove this warning. See 19:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:16 19:03:16 Login Succeeded 19:03:16 nexus3.edgexfoundry.org:10004 19:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:16 Configure a credential helper to remove this warning. See 19:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:16 19:03:16 Login Succeeded 19:03:16 docker.io 19:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:17 Configure a credential helper to remove this warning. See 19:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:17 19:03:17 Login Succeeded 19:03:17 ---> docker-login.sh ends [Pipeline] } 19:03:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:03:17 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 19:03:17 fd53acc9c14dc637ad1d0649aa2130107251e178 19:03:17 latest 19:03:17 1.3.2-dev.25 19:03:17 fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:03:17 master 19:03:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:03:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh 19:03:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 19:03:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:03:17 cb3a314c718d: Preparing 19:03:17 c23bbdf709f7: Preparing 19:03:17 76131f0a2d96: Preparing 19:03:17 ba499567fc73: Preparing 19:03:17 020ea92ffb47: Preparing 19:03:17 32f366d666a5: Preparing 19:03:17 32f366d666a5: Waiting 19:03:19 c23bbdf709f7: Pushed 19:03:19 32f366d666a5: Layer already exists 19:03:19 020ea92ffb47: Pushed 19:03:19 ba499567fc73: Pushed 19:03:19 76131f0a2d96: Pushed 19:03:19 cb3a314c718d: Pushed 19:03:19 fd53acc9c14dc637ad1d0649aa2130107251e178: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:03:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 19:03:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 19:03:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:03:20 cb3a314c718d: Preparing 19:03:20 c23bbdf709f7: Preparing 19:03:20 76131f0a2d96: Preparing 19:03:20 ba499567fc73: Preparing 19:03:20 020ea92ffb47: Preparing 19:03:20 32f366d666a5: Preparing 19:03:20 32f366d666a5: Waiting 19:03:20 cb3a314c718d: Layer already exists 19:03:20 c23bbdf709f7: Layer already exists 19:03:20 020ea92ffb47: Layer already exists 19:03:20 76131f0a2d96: Layer already exists 19:03:20 ba499567fc73: Layer already exists 19:03:20 32f366d666a5: Layer already exists 19:03:20 latest: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:03:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 19:03:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 19:03:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:03:21 cb3a314c718d: Preparing 19:03:21 c23bbdf709f7: Preparing 19:03:21 76131f0a2d96: Preparing 19:03:21 ba499567fc73: Preparing 19:03:21 020ea92ffb47: Preparing 19:03:21 32f366d666a5: Preparing 19:03:21 32f366d666a5: Waiting 19:03:21 cb3a314c718d: Layer already exists 19:03:21 c23bbdf709f7: Layer already exists 19:03:21 020ea92ffb47: Layer already exists 19:03:21 ba499567fc73: Layer already exists 19:03:21 76131f0a2d96: Layer already exists 19:03:21 32f366d666a5: Layer already exists 19:03:21 1.3.2-dev.25: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:03:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 19:03:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:03:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:03:21 cb3a314c718d: Preparing 19:03:21 c23bbdf709f7: Preparing 19:03:21 76131f0a2d96: Preparing 19:03:21 ba499567fc73: Preparing 19:03:21 020ea92ffb47: Preparing 19:03:21 32f366d666a5: Preparing 19:03:21 32f366d666a5: Waiting 19:03:21 020ea92ffb47: Layer already exists 19:03:21 76131f0a2d96: Layer already exists 19:03:21 ba499567fc73: Layer already exists 19:03:21 cb3a314c718d: Layer already exists 19:03:21 c23bbdf709f7: Layer already exists 19:03:21 32f366d666a5: Layer already exists 19:03:21 fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:03:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 19:03:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 19:03:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:03:22 cb3a314c718d: Preparing 19:03:22 c23bbdf709f7: Preparing 19:03:22 76131f0a2d96: Preparing 19:03:22 ba499567fc73: Preparing 19:03:22 020ea92ffb47: Preparing 19:03:22 32f366d666a5: Preparing 19:03:22 32f366d666a5: Waiting 19:03:22 c23bbdf709f7: Layer already exists 19:03:22 cb3a314c718d: Layer already exists 19:03:22 020ea92ffb47: Layer already exists 19:03:22 ba499567fc73: Layer already exists 19:03:22 76131f0a2d96: Layer already exists 19:03:22 32f366d666a5: Layer already exists 19:03:22 master: digest: sha256:e239c953da4c8af9f6afda46fff8e054d539660ea941762d9c4007e6df75de45 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:03:22 ===================================================== [Pipeline] echo 19:03:22 taggedImages: 19:03:22 - nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178 19:03:22 - nexus3.edgexfoundry.org:10004/device-virtual:latest 19:03:22 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.25 19:03:22 - nexus3.edgexfoundry.org:10004/device-virtual:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:03:22 - 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 19:03:23 ---> job-cost.sh 19:03:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eDyW 19:03:24 Removing intermediate container 193c17266cec 19:03:24 ---> 82293dcefb88 19:03:24 Successfully built 82293dcefb88 19:03:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:03:24 + docker inspect -f . ci-base-image-arm64 19:03:24 . [Pipeline] withDockerContainer 19:03:25 prd-ubuntu18.04-docker-arm64-4c-16g-66 does not seem to be running inside a container 19:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:03:26 $ docker top b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:27 + go version 19:03:27 go version go1.16.5 linux/arm64 [Pipeline] } 19:03:27 $ docker stop --time=1 b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 19:03:29 $ docker rm -f b34308810aafb307942cc8272c4c58e436f998276844847567f99f72bdd86045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:03:30 + docker inspect -f . ci-base-image-arm64 19:03:30 . [Pipeline] withDockerContainer 19:03:30 prd-ubuntu18.04-docker-arm64-4c-16g-66 does not seem to be running inside a container 19:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:03:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:03:32 $ docker top 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:33 + go mod tidy [Pipeline] sh 19:03:34 + make test 19:03:34 go mod tidy 19:03:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:03:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:03:46 lf-activate-venv(): INFO: Adding /tmp/venv-eDyW/bin to PATH 19:03:46 INFO: No Stack... 19:03:46 INFO: Retrieving Pricing Info for: v3-standard-2 19:03:46 INFO: Archiving Costs [Pipeline] sh 19:03:46 + cut -d, -f6 19:03:46 + cat /w/workspace/device-virtual-go/65/archives/cost.csv [Pipeline] lock 19:03:46 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] 19:03:46 Resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] did not exist. Created. 19:03:46 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:47 + echo total: 0.05999999865889549 [Pipeline] stash 19:03:47 Stashed 1 file(s) [Pipeline] } 19:03:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:04:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:04:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.745s coverage: 63.8% of statements 19:04:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:05:11 gofmt -l . 19:05:11 [ "`gofmt -l .`" = "" ] 19:05:11 ./bin/test-attribution-txt.sh 19:05:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:05:11 $ docker stop --time=1 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e 19:05:13 $ docker rm -f 95c3755e61215bdf2b37a6518a440ffa5faca0f1fa854e62ba85679864753f1e [Pipeline] // withDockerContainer [Pipeline] sh 19:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:14 Warning: overwriting stash ‘coverage-report’ 19:05:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:15 + ls -al . 19:05:15 total 156 19:05:15 drwxrwxr-x 7 jenkins jenkins 4096 Jun 17 19:05 . 19:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 19:01 .. 19:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 19:01 .git 19:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:01 .github 19:05:15 -rw-rw-r-- 1 jenkins jenkins 277 Jun 17 19:01 .gitignore 19:05:15 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 17 19:01 Attribution.txt 19:05:15 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 17 19:01 Dockerfile 19:05:15 -rw-rw-r-- 1 jenkins jenkins 998 Jun 17 19:01 Dockerfile.build 19:05:15 -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 19:01 Jenkinsfile 19:05:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 19:01 LICENSE 19:05:15 -rw-rw-r-- 1 jenkins jenkins 905 Jun 17 19:01 Makefile 19:05:15 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 17 19:01 README.md 19:05:15 -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 18:59 VERSION 19:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:01 bin 19:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:01 cmd 19:05:15 -rw-r--r-- 1 jenkins jenkins 47257 Jun 17 19:04 coverage.out 19:05:15 -rw-r--r-- 1 jenkins jenkins 810 Jun 17 19:05 go.mod 19:05:15 -rw-r--r-- 1 jenkins jenkins 23031 Jun 17 19:03 go.sum 19:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:01 internal 19:05:15 -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 19:01 version.go [Pipeline] isUnix [Pipeline] sh 19:05: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=fd53acc9c14dc637ad1d0649aa2130107251e178 --label arch=arm64 --label version=1.3.2-dev.25 . 19:05:16 Sending build context to Docker daemon 8.68MB 19:05:16 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 19:05:16 Step 2/26 : FROM ${BASE} AS builder 19:05:16 ---> 82293dcefb88 19:05:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:05:16 ---> Running in cf2f5e5e1058 19:05:16 Removing intermediate container cf2f5e5e1058 19:05:16 ---> fc128bff092a 19:05:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:05:17 ---> Running in 28379618b3b9 19:05:17 Removing intermediate container 28379618b3b9 19:05:17 ---> dbdefa4a0981 19:05:17 Step 5/26 : WORKDIR /device-virtual-go 19:05:17 ---> Running in de2a981bf20a 19:05:18 Removing intermediate container de2a981bf20a 19:05:18 ---> 08db2b383f7f 19:05:18 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:05:18 ---> Running in 8c7eb007b399 19:05:21 Removing intermediate container 8c7eb007b399 19:05:21 ---> 93c8d61e2c8e 19:05:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:05:21 ---> Running in 70bb6a4fc002 19:05:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:05:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:05:23 OK: 145 MiB in 53 packages 19:05:24 Removing intermediate container 70bb6a4fc002 19:05:24 ---> 7512233d41b3 19:05:24 Step 8/26 : COPY . . 19:05:25 ---> 54e3bba049f4 19:05:25 Step 9/26 : RUN go mod tidy 19:05:26 ---> Running in f4e28128b1ee 19:05:28 Removing intermediate container f4e28128b1ee 19:05:28 ---> c200a6c9fe6d 19:05:28 Step 10/26 : RUN go mod download 19:05:29 ---> Running in 0eccb572d4e6 19:05:31 Removing intermediate container 0eccb572d4e6 19:05:31 ---> 5491b3c30733 19:05:31 Step 11/26 : ARG MAKE='make build' 19:05:31 ---> Running in 0bbc3e88f869 19:05:32 Removing intermediate container 0bbc3e88f869 19:05:32 ---> 1d05f99281b7 19:05:32 Step 12/26 : RUN $MAKE 19:05:32 ---> Running in 72fb5765e38e 19:05:33 go mod tidy 19:05:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.25" -o cmd/device-virtual ./cmd 19:06:30 Removing intermediate container 72fb5765e38e 19:06:30 ---> fb0a8856a1e8 19:06:30 Step 13/26 : FROM alpine:3.12 19:06:30 3.12: Pulling from library/alpine 19:06:30 d2f70382dc9a: Pulling fs layer 19:06:30 d2f70382dc9a: Download complete 19:06:30 d2f70382dc9a: Pull complete 19:06:30 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 19:06:30 Status: Downloaded newer image for alpine:3.12 19:06:30 ---> c4fd0aeabfcf 19:06:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:06:30 ---> Running in ff13fc45eac3 19:06:30 Removing intermediate container ff13fc45eac3 19:06:30 ---> d41144cc6f7b 19:06:30 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:06:30 ---> Running in 14b20b13eec5 19:06:30 Removing intermediate container 14b20b13eec5 19:06:30 ---> 96b783823ed3 19:06:30 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:06:30 ---> Running in 0f0ad1063bb2 19:06:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:06:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:06:30 (1/6) Installing dumb-init (1.2.2-r1) 19:06:30 (2/6) Installing libgcc (9.3.0-r2) 19:06:30 (3/6) Installing libsodium (1.0.18-r0) 19:06:30 (4/6) Installing libstdc++ (9.3.0-r2) 19:06:30 (5/6) Installing libzmq (4.3.3-r0) 19:06:30 (6/6) Installing zeromq (4.3.3-r0) 19:06:30 Executing busybox-1.31.1-r20.trigger 19:06:30 OK: 8 MiB in 20 packages 19:06:31 Removing intermediate container 0f0ad1063bb2 19:06:31 ---> cfd0eaa5c576 19:06:31 Step 17/26 : WORKDIR / 19:06:31 ---> Running in ec3978f45df1 19:06:31 Removing intermediate container ec3978f45df1 19:06:31 ---> 2c64d9a9d7e1 19:06:31 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:06:32 ---> 6c557cbe048f 19:06:32 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:06:33 ---> c1f4ad95d854 19:06:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:06:34 ---> 1a070058731d 19:06:34 Step 21/26 : EXPOSE 59900 19:06:34 ---> Running in 0cbf1e46f136 19:06:35 Removing intermediate container 0cbf1e46f136 19:06:35 ---> cbf513e45aa7 19:06:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:06:35 ---> Running in 7d4484d8691b 19:06:36 Removing intermediate container 7d4484d8691b 19:06:36 ---> 4f89d6745565 19:06:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:06:36 ---> Running in 6f629211726f 19:06:36 Removing intermediate container 6f629211726f 19:06:36 ---> 86d3b5fdbb2b 19:06:36 Step 24/26 : LABEL arch=arm64 19:06:36 ---> Running in c53b4650bc66 19:06:37 Removing intermediate container c53b4650bc66 19:06:37 ---> 3f1f40385d31 19:06:37 Step 25/26 : LABEL git_sha=fd53acc9c14dc637ad1d0649aa2130107251e178 19:06:37 ---> Running in d57fbbb89e38 19:06:37 Removing intermediate container d57fbbb89e38 19:06:37 ---> ce399522e590 19:06:37 Step 26/26 : LABEL version=1.3.2-dev.25 19:06:37 ---> Running in fdeac6984fba 19:06:38 Removing intermediate container fdeac6984fba 19:06:38 ---> 5888c5abe68a 19:06:38 [Warning] One or more build-args [ARCH] were not consumed 19:06:38 Successfully built 5888c5abe68a 19:06: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 19:06:38 provisioning config files... 19:06:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config921586785130538180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:39 ---> docker-login.sh 19:06:39 nexus3.edgexfoundry.org:10001 19:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:39 Configure a credential helper to remove this warning. See 19:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:39 19:06:39 Login Succeeded 19:06:39 nexus3.edgexfoundry.org:10002 19:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:40 Configure a credential helper to remove this warning. See 19:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:40 19:06:40 Login Succeeded 19:06:40 nexus3.edgexfoundry.org:10003 19:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:40 Configure a credential helper to remove this warning. See 19:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:40 19:06:40 Login Succeeded 19:06:40 nexus3.edgexfoundry.org:10004 19:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:41 Configure a credential helper to remove this warning. See 19:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:41 19:06:41 Login Succeeded 19:06:41 docker.io 19:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:42 Configure a credential helper to remove this warning. See 19:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:42 19:06:42 Login Succeeded 19:06:42 ---> docker-login.sh ends [Pipeline] } 19:06:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:06:42 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 19:06:42 fd53acc9c14dc637ad1d0649aa2130107251e178 19:06:42 latest 19:06:42 1.3.2-dev.25 19:06:42 fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:06:42 master 19:06:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:06:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh 19:06:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 19:06:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:06:43 73f9ebaaf174: Preparing 19:06:43 e6ad2ed2b877: Preparing 19:06:43 40653b914c00: Preparing 19:06:43 644135be4dae: Preparing 19:06:43 116dc3d1587f: Preparing 19:06:43 3fbe34a1663b: Preparing 19:06:43 3fbe34a1663b: Waiting 19:06:43 40653b914c00: Pushed 19:06:43 116dc3d1587f: Pushed 19:06:43 e6ad2ed2b877: Pushed 19:06:43 3fbe34a1663b: Layer already exists 19:06:43 644135be4dae: Pushed 19:06:46 73f9ebaaf174: Pushed 19:06:46 fd53acc9c14dc637ad1d0649aa2130107251e178: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:06:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:06:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:06:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:06:47 73f9ebaaf174: Preparing 19:06:47 e6ad2ed2b877: Preparing 19:06:47 40653b914c00: Preparing 19:06:47 644135be4dae: Preparing 19:06:47 116dc3d1587f: Preparing 19:06:47 3fbe34a1663b: Preparing 19:06:47 3fbe34a1663b: Waiting 19:06:47 e6ad2ed2b877: Layer already exists 19:06:47 73f9ebaaf174: Layer already exists 19:06:47 116dc3d1587f: Layer already exists 19:06:47 644135be4dae: Layer already exists 19:06:47 40653b914c00: Layer already exists 19:06:47 3fbe34a1663b: Layer already exists 19:06:48 latest: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:06:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 19:06:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 19:06:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:06:48 73f9ebaaf174: Preparing 19:06:48 e6ad2ed2b877: Preparing 19:06:48 40653b914c00: Preparing 19:06:48 644135be4dae: Preparing 19:06:48 116dc3d1587f: Preparing 19:06:48 3fbe34a1663b: Preparing 19:06:48 3fbe34a1663b: Waiting 19:06:49 40653b914c00: Layer already exists 19:06:49 e6ad2ed2b877: Layer already exists 19:06:49 644135be4dae: Layer already exists 19:06:49 116dc3d1587f: Layer already exists 19:06:49 73f9ebaaf174: Layer already exists 19:06:49 3fbe34a1663b: Layer already exists 19:06:49 1.3.2-dev.25: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:06:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh 19:06:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:06:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:06:49 73f9ebaaf174: Preparing 19:06:49 e6ad2ed2b877: Preparing 19:06:49 40653b914c00: Preparing 19:06:49 644135be4dae: Preparing 19:06:49 116dc3d1587f: Preparing 19:06:49 3fbe34a1663b: Preparing 19:06:49 3fbe34a1663b: Waiting 19:06:50 e6ad2ed2b877: Layer already exists 19:06:50 40653b914c00: Layer already exists 19:06:50 644135be4dae: Layer already exists 19:06:50 116dc3d1587f: Layer already exists 19:06:50 73f9ebaaf174: Layer already exists 19:06:50 3fbe34a1663b: Layer already exists 19:06:50 fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] isUnix [Pipeline] sh 19:06:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 19:06:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 19:06:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:06:50 73f9ebaaf174: Preparing 19:06:50 e6ad2ed2b877: Preparing 19:06:50 40653b914c00: Preparing 19:06:50 644135be4dae: Preparing 19:06:50 116dc3d1587f: Preparing 19:06:50 3fbe34a1663b: Preparing 19:06:50 3fbe34a1663b: Waiting 19:06:50 644135be4dae: Layer already exists 19:06:50 40653b914c00: Layer already exists 19:06:50 e6ad2ed2b877: Layer already exists 19:06:50 73f9ebaaf174: Layer already exists 19:06:51 116dc3d1587f: Layer already exists 19:06:51 3fbe34a1663b: Layer already exists 19:06:51 master: digest: sha256:2e95ce72cf29384e6b7cfc0a94b06319fac6563883b2d3d777bad67d989921e3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:06:51 ===================================================== [Pipeline] echo 19:06:51 taggedImages: 19:06:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178 19:06:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:06:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.25 19:06:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:fd53acc9c14dc637ad1d0649aa2130107251e178-1.3.2-dev.25 19:06:51 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 19:06:51 ---> job-cost.sh 19:06:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CQGP 19:07:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:08:52 lf-activate-venv(): INFO: Adding /tmp/venv-CQGP/bin to PATH 19:08:52 INFO: No Stack... 19:08:52 INFO: Retrieving Pricing Info for: v2-standard-4 19:08:53 INFO: Archiving Costs [Pipeline] sh 19:08:53 + cut -d, -f6 19:08:53 + cat /w/workspace/device-virtual-go/65/archives/cost.csv [Pipeline] lock 19:08:53 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] 19:08:53 Resource [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] did not exist. Created. 19:08:53 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:54 /w/workspace/device-virtual-go/65@tmp/durable-d4cf4b30/script.sh: 1: /w/workspace/device-virtual-go/65@tmp/durable-d4cf4b30/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:08:54 + echo total: 0.18000000715255737 [Pipeline] stash 19:08:54 Warning: overwriting stash ‘stack-cost’ 19:08:54 Stashed 1 file(s) [Pipeline] } 19:08:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-65-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 19:08:55 provisioning config files... 19:08:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3094027466920478743tmp [Pipeline] { [Pipeline] sh 19:08:55 + set +x 19:08:55 + curl -s https://codecov.io/bash 19:08:55 + bash -s -- 19:08:55 19:08:55 _____ _ 19:08:55 / ____| | | 19:08:55 | | ___ __| | ___ ___ _____ __ 19:08:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:08:55 | |___| (_) | (_| | __/ (_| (_) \ V / 19:08:55 \_____\___/ \__,_|\___|\___\___/ \_/ 19:08:55 Bash-1.0.3 19:08:55 19:08:55 19:08:55 ==> git version 2.24.4 found 19:08:55 ==> 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 19:08:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:08:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:08:55 ==> Jenkins CI detected. 19:08:55 project root: . 19:08:55 --> token set from env 19:08:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:08:55 ==> Running gcov in . (disable via -X gcov) 19:08:55 ==> Python coveragepy not found 19:08:55 ==> Searching for coverage reports in: 19:08:55 + . 19:08:55 -> Found 1 reports 19:08:55 ==> Detecting git/mercurial file structure 19:08:55 ==> Reading reports 19:08:55 + ./coverage.out bytes=47257 19:08:55 ==> Appending adjustments 19:08:55 https://docs.codecov.io/docs/fixing-reports 19:08:55 + Found adjustments 19:08:55 ==> Gzipping contents 19:08:55 8.0K /tmp/codecov.ZvnTkg.gz 19:08:55 ==> Uploading reports 19:08:55 url: https://codecov.io 19:08:55 query: branch=master&commit=fd53acc9c14dc637ad1d0649aa2130107251e178&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:55 -> Pinging Codecov 19:08:55 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=fd53acc9c14dc637ad1d0649aa2130107251e178&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:56 -> Uploading to 19:08:56 https://storage.googleapis.com/codecov/v4/raw/2021-06-17/5E52B4B073DB2E39498172D8E973AA87/fd53acc9c14dc637ad1d0649aa2130107251e178/c97c763f-ce32-4f5f-bf17-4d3efb76b2b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T190856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01018bd5da9676cd5f40a1cdf3021b70274db59eae439dbde0337d38ad5aca53 19:08:56 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:56 Dload Upload Total Spent Left Speed 19:08:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5806 0 0 100 5806 0 13982 --:--:-- --:--:-- --:--:-- 13956 19:08:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] } 19:08:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:08:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:08:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:57 19:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:08:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:08:58 188c0c94c7c5: Pulling fs layer 19:08:58 0ef7d3d256c8: Pulling fs layer 19:08:58 de9db76c5a1d: Pulling fs layer 19:08:58 0eba1c9be4d2: Pulling fs layer 19:08:58 0d57e429df01: Pulling fs layer 19:08:58 4e4be7b47b0d: Pulling fs layer 19:08:58 e1f770b5df2f: Pulling fs layer 19:08:58 85a0685a4137: Pulling fs layer 19:08:58 0d57e429df01: Waiting 19:08:58 4e4be7b47b0d: Waiting 19:08:58 e1f770b5df2f: Waiting 19:08:58 85a0685a4137: Waiting 19:08:58 0eba1c9be4d2: Waiting 19:08:58 de9db76c5a1d: Verifying Checksum 19:08:58 de9db76c5a1d: Download complete 19:08:58 0ef7d3d256c8: Verifying Checksum 19:08:58 0ef7d3d256c8: Download complete 19:08:58 0d57e429df01: Verifying Checksum 19:08:58 0d57e429df01: Download complete 19:08:58 4e4be7b47b0d: Verifying Checksum 19:08:58 4e4be7b47b0d: Download complete 19:08:58 188c0c94c7c5: Verifying Checksum 19:08:58 188c0c94c7c5: Download complete 19:08:58 188c0c94c7c5: Pull complete 19:08:58 0ef7d3d256c8: Pull complete 19:08:58 de9db76c5a1d: Pull complete 19:08:59 e1f770b5df2f: Verifying Checksum 19:08:59 e1f770b5df2f: Download complete 19:09:01 0eba1c9be4d2: Verifying Checksum 19:09:01 0eba1c9be4d2: Download complete 19:09:01 85a0685a4137: Verifying Checksum 19:09:01 85a0685a4137: Download complete 19:09:05 0eba1c9be4d2: Pull complete 19:09:05 0d57e429df01: Pull complete 19:09:05 4e4be7b47b0d: Pull complete 19:09:05 e1f770b5df2f: Pull complete 19:09:09 85a0685a4137: Pull complete 19:09:09 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:09:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:09:09 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:09:09 $ 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 19:09:11 $ docker top 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 -eo pid,comm [Pipeline] { [Pipeline] echo 19:09:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:09:12 + set -o pipefail 19:09:12 + snyk monitor '--org=edgex-jenkins' 19:09:20 19:09:20 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 19:09:20 19:09:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9fec6f1e-0368-4436-a875-705c738b6c2f 19:09:20 19:09:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:09:20 19:09:20 [Pipeline] } 19:09:20 $ docker stop --time=1 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 19:09:22 $ docker rm -f 824b9a9eb90308bf2c216f33eff25ce94ea922967619bfa2d4babc6599f094f4 [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 19:09:23 + git log --format=format:%s -1 fd53acc9c14dc637ad1d0649aa2130107251e178 [Pipeline] isUnix [Pipeline] sh 19:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:23 . [Pipeline] withDockerContainer 19:09:24 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:09:24 $ 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 19:09:24 $ docker top 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:24 [ssh-agent] Looking for ssh-agent implementation... 19:09:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:24 $ docker exec 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 ssh-agent 19:09:24 SSH_AUTH_SOCK=/tmp/ssh-5es0OyQnn1qX/agent.14 19:09:24 SSH_AGENT_PID=20 19:09:24 Running ssh-add (command line suppressed) 19:09:24 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1279244413492337062.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1279244413492337062.key) 19:09:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:25 + git semver tag 19:09:25 # -> Open(): unable to determine branch for HEAD 19:09:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 19:09:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 19:09:25 # $SEMVER_REMOTE_NAME = origin 19:09:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:09:25 # $SEMVER_USER_NAME = edgex-jenkins 19:09:25 # $SEMVER_BRANCH = master 19:09:25 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 19:09:25 # fd53acc9c14dc637ad1d0649aa2130107251e178 HEAD 19:09:25 # -> Force: false 19:09:25 # 359256a694bba90f4127a9c404e7cec1aff37426 refs/tags/v1.3.2-dev.25 [Pipeline] } 19:09:25 $ docker exec --env ******** --env ******** 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 ssh-agent -k 19:09:25 unset SSH_AUTH_SOCK; 19:09:25 unset SSH_AGENT_PID; 19:09:25 echo Agent pid 20 killed; 19:09:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:25 + git semver [Pipeline] } 19:09:25 $ docker stop --time=1 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 19:09:26 $ docker rm -f 6ebf4b10857ccc11845ef2834af684f581d0ec8f73eb196d6cae6189b70f93b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:09:27 19:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:09:27 0.23.1-centos7: Pulling from edgex-lftools 19:09:27 ab5ef0e58194: Pulling fs layer 19:09:27 9712f1f96733: Pulling fs layer 19:09:27 63f879dbbcfc: Pulling fs layer 19:09:27 0d9ebad4ef96: Pulling fs layer 19:09:27 e9a5061849ea: Pulling fs layer 19:09:27 d747dcd14b5f: Pulling fs layer 19:09:27 2de7ff778b66: Pulling fs layer 19:09:27 e9a5061849ea: Waiting 19:09:27 d747dcd14b5f: Waiting 19:09:27 2de7ff778b66: Waiting 19:09:27 0d9ebad4ef96: Waiting 19:09:27 9712f1f96733: Verifying Checksum 19:09:27 9712f1f96733: Download complete 19:09:28 63f879dbbcfc: Verifying Checksum 19:09:28 63f879dbbcfc: Download complete 19:09:29 e9a5061849ea: Verifying Checksum 19:09:29 e9a5061849ea: Download complete 19:09:29 d747dcd14b5f: Verifying Checksum 19:09:29 d747dcd14b5f: Download complete 19:09:29 2de7ff778b66: Verifying Checksum 19:09:29 2de7ff778b66: Download complete 19:09:29 0d9ebad4ef96: Verifying Checksum 19:09:29 0d9ebad4ef96: Download complete 19:09:29 ab5ef0e58194: Verifying Checksum 19:09:29 ab5ef0e58194: Download complete 19:09:33 ab5ef0e58194: Pull complete 19:09:33 9712f1f96733: Pull complete 19:09:33 63f879dbbcfc: Pull complete 19:09:36 0d9ebad4ef96: Pull complete 19:09:37 e9a5061849ea: Pull complete 19:09:37 d747dcd14b5f: Pull complete 19:09:38 2de7ff778b66: Pull complete 19:09:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:09:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:09:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:09:38 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:09:38 $ 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 19:09:41 $ docker top 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:09:41 provisioning config files... 19:09:41 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4803041765433552461tmp 19:09:41 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config9163542569019120716tmp 19:09:41 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7084421837937529674tmp [Pipeline] { [Pipeline] echo 19:09:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:09:41 ---> sigul-configuration.sh 19:09:41 gpg: directory `/root/.gnupg' created 19:09:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:09:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:09:41 gpg: keyring `/root/.gnupg/secring.gpg' created 19:09:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:09:41 gpg: CAST5 encrypted data 19:09:41 gpg: encrypted with 1 passphrase 19:09:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:09:42 + mkdir /home/jenkins 19:09:42 + mkdir /home/jenkins/sigul [Pipeline] sh 19:09:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:09:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:09:42 ---> sigul-install.sh 19:09:46 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:09:47 + git tag --list 19:09:47 v1.0.0 19:09:47 v1.1.0 19:09:47 v1.1.1 19:09:47 v1.2.1 19:09:47 v1.2.2 19:09:47 v1.2.3 19:09:47 v1.3.0 19:09:47 v1.3.1 19:09:47 v1.3.1-dev.1 19:09:47 v1.3.1-dev.2 19:09:47 v1.3.1-dev.3 19:09:47 v1.3.1-dev.4 19:09:47 v1.3.1-dev.5 19:09:47 v1.3.2-dev.1 19:09:47 v1.3.2-dev.10 19:09:47 v1.3.2-dev.11 19:09:47 v1.3.2-dev.12 19:09:47 v1.3.2-dev.13 19:09:47 v1.3.2-dev.14 19:09:47 v1.3.2-dev.15 19:09:47 v1.3.2-dev.16 19:09:47 v1.3.2-dev.17 19:09:47 v1.3.2-dev.18 19:09:47 v1.3.2-dev.19 19:09:47 v1.3.2-dev.2 19:09:47 v1.3.2-dev.20 19:09:47 v1.3.2-dev.21 19:09:47 v1.3.2-dev.22 19:09:47 v1.3.2-dev.23 19:09:47 v1.3.2-dev.24 19:09:47 v1.3.2-dev.25 19:09:47 v1.3.2-dev.3 19:09:47 v1.3.2-dev.4 19:09:47 v1.3.2-dev.5 19:09:47 v1.3.2-dev.6 19:09:47 v1.3.2-dev.7 19:09:47 v1.3.2-dev.8 19:09:47 v1.3.2-dev.9 [Pipeline] sh 19:09:47 + lftools sign git-tag v1.3.2-dev.25 19:09:48 Signing Git tag with Sigul... 19:09:48 Signing v1.3.2-dev.25 [Pipeline] echo 19:09:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:09:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:09:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:09:49 $ docker stop --time=1 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e 19:09:50 $ docker rm -f 50318428a0de663172bc696827e1066adf7545ad19fe2c13fb09cbe4a770282e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:09:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:51 . [Pipeline] withDockerContainer 19:09:51 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:09:51 $ 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 19:09:52 $ docker top 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:52 [ssh-agent] Looking for ssh-agent implementation... 19:09:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:52 $ docker exec 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de ssh-agent 19:09:52 SSH_AUTH_SOCK=/tmp/ssh-xCqfstgNGcEF/agent.13 19:09:52 SSH_AGENT_PID=19 19:09:52 Running ssh-add (command line suppressed) 19:09:52 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1143974165309371196.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1143974165309371196.key) 19:09:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:52 + git semver bump pre 19:09:52 # -> Open(): unable to determine branch for HEAD 19:09:52 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 19:09:52 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 19:09:52 # $SEMVER_REMOTE_NAME = origin 19:09:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:09:52 # $SEMVER_USER_NAME = edgex-jenkins 19:09:52 # $SEMVER_BRANCH = master 19:09:52 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 19:09:52 1.3.2-dev.26 [Pipeline] } 19:09:52 $ docker exec --env ******** --env ******** 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de ssh-agent -k 19:09:53 unset SSH_AUTH_SOCK; 19:09:53 unset SSH_AGENT_PID; 19:09:53 echo Agent pid 19 killed; 19:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:53 + git semver [Pipeline] } 19:09:53 $ docker stop --time=1 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de 19:09:54 $ docker rm -f 50c70ef778cfe8009073dd4f1215a51427539b14511a975b251ba65fb17a33de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:09:55 . [Pipeline] withDockerContainer 19:09:55 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:09:55 $ 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 19:09:55 $ docker top 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:55 [ssh-agent] Looking for ssh-agent implementation... 19:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:55 $ docker exec 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb ssh-agent 19:09:55 SSH_AUTH_SOCK=/tmp/ssh-k0Ze08oCnHSB/agent.14 19:09:55 SSH_AGENT_PID=19 19:09:55 Running ssh-add (command line suppressed) 19:09:56 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2300240937439229947.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2300240937439229947.key) 19:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:56 + git semver push 19:09:56 # -> Open(): unable to determine branch for HEAD 19:09:56 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 19:09:56 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 19:09:56 # $SEMVER_REMOTE_NAME = origin 19:09:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:09:56 # $SEMVER_USER_NAME = edgex-jenkins 19:09:56 # $SEMVER_BRANCH = master 19:09:56 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 19:10:01 $ docker exec --env ******** --env ******** 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb ssh-agent -k 19:10:01 unset SSH_AUTH_SOCK; 19:10:01 unset SSH_AGENT_PID; 19:10:01 echo Agent pid 19 killed; 19:10:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:10:02 + git semver [Pipeline] } 19:10:02 $ docker stop --time=1 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb 19:10:03 $ docker rm -f 4c6e4e1ff6c5da4eb3699691d3662c9e914de2002463b47afadbb3375cd962cb [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 19:10:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:10:05 ---> package-listing.sh 19:10:05 ++ facter osfamily 19:10:05 ++ tr '[:upper:]' '[:lower:]' 19:10:05 + OS_FAMILY=redhat 19:10:05 + workspace=/w/workspace/foundry_device-virtual-go_master 19:10:05 + START_PACKAGES=/tmp/packages_start.txt 19:10:05 + END_PACKAGES=/tmp/packages_end.txt 19:10:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:10:05 + PACKAGES=/tmp/packages_start.txt 19:10:05 + '[' /w/workspace/foundry_device-virtual-go_master ']' 19:10:05 + PACKAGES=/tmp/packages_end.txt 19:10:05 + case "${OS_FAMILY}" in 19:10:05 + rpm -qa 19:10:05 + sort 19:10:06 + '[' -f /tmp/packages_start.txt ']' 19:10:06 + '[' -f /tmp/packages_end.txt ']' 19:10:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:10:06 + '[' /w/workspace/foundry_device-virtual-go_master ']' 19:10:06 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 19:10:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 19:10:06 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 19:10:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:10:07 19:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:10:07 alpine: Pulling from edgex-lftools-log-publisher 19:10:07 df20fa9351a1: Pulling fs layer 19:10:07 36b3adc4ff6f: Pulling fs layer 19:10:07 8ad3a11d3b57: Pulling fs layer 19:10:07 46f8f816bc3b: Pulling fs layer 19:10:07 93b61091891f: Pulling fs layer 19:10:07 93b9cdb0e59b: Pulling fs layer 19:10:07 5e14af77c1be: Pulling fs layer 19:10:07 01666e4c0597: Pulling fs layer 19:10:07 aa168da1d23b: Pulling fs layer 19:10:07 93b61091891f: Waiting 19:10:07 93b9cdb0e59b: Waiting 19:10:07 5e14af77c1be: Waiting 19:10:07 01666e4c0597: Waiting 19:10:07 aa168da1d23b: Waiting 19:10:07 46f8f816bc3b: Waiting 19:10:07 36b3adc4ff6f: Verifying Checksum 19:10:07 36b3adc4ff6f: Download complete 19:10:07 46f8f816bc3b: Verifying Checksum 19:10:07 46f8f816bc3b: Download complete 19:10:07 df20fa9351a1: Verifying Checksum 19:10:07 df20fa9351a1: Download complete 19:10:07 93b9cdb0e59b: Verifying Checksum 19:10:07 93b9cdb0e59b: Download complete 19:10:07 93b61091891f: Verifying Checksum 19:10:07 93b61091891f: Download complete 19:10:07 01666e4c0597: Verifying Checksum 19:10:07 01666e4c0597: Download complete 19:10:07 8ad3a11d3b57: Verifying Checksum 19:10:07 8ad3a11d3b57: Download complete 19:10:07 df20fa9351a1: Pull complete 19:10:07 36b3adc4ff6f: Pull complete 19:10:08 5e14af77c1be: Verifying Checksum 19:10:08 5e14af77c1be: Download complete 19:10:08 8ad3a11d3b57: Pull complete 19:10:08 46f8f816bc3b: Pull complete 19:10:08 93b61091891f: Pull complete 19:10:08 93b9cdb0e59b: Pull complete 19:10:08 5e14af77c1be: Pull complete 19:10:08 01666e4c0597: Pull complete 19:10:09 aa168da1d23b: Verifying Checksum 19:10:09 aa168da1d23b: Download complete 19:10:13 aa168da1d23b: Pull complete 19:10:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:10:13 prd-centos7-docker-4c-2g-64 does not seem to be running inside a container 19:10:13 $ 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 19:10:15 $ docker top 02946624179b388088cd300b38a3a43ece2f6d66d6fca5349c9439f79157bb49 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:16 + touch /tmp/pre-build-complete [Pipeline] sh 19:10:16 + mkdir -p /var/log/sa [Pipeline] sh 19:10:16 + ls /var/log/sa-host 19:10:16 + sadf -c /var/log/sa-host/sa05 19:10:16 file_magic: OK 19:10:16 HZ: Using current value: 100 19:10:16 file_header: OK 19:10:16 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 19:10:16 Statistics: 19:10:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:10:16 File successfully converted to sysstat format version 12.2.1 19:10:16 + sadf -c /var/log/sa-host/sa17 19:10:16 file_magic: OK 19:10:16 HZ: Using current value: 100 19:10:16 file_header: OK 19:10:16 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 19:10:16 Statistics: 19:10:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:10:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:17 provisioning config files... 19:10:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1791244096648086774tmp [Pipeline] { [Pipeline] echo 19:10:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:10:17 ---> create-netrc.sh [Pipeline] } 19:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:10:18 ---> python-tools-install.sh [Pipeline] echo 19:10:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:10:18 ---> sudo-logs.sh 19:10:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:10:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:10:19 ---> job-cost.sh 19:10:19 lf-activate-venv: SKIPPING 19:10:19 DEBUG: total: 0.18000000715255737 19:10:19 INFO: Retrieving Stack Cost... 19:10:20 INFO: Retrieving Pricing Info for: v3-standard-2 19:10:20 INFO: Archiving Costs [Pipeline] echo 19:10:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:10:20 ---> logs-deploy.sh 19:10:20 lf-activate-venv: SKIPPING 19:10:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/65 19:10:20 INFO: archiving workspace using pattern(s): 19:10:21 Archives upload complete. 19:10:21 INFO: archiving logs to Nexus 19:10:22 ---> uname -a: 19:10:22 Linux prd-centos7-docker-4c-2g-64.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 19:10:22 19:10:22 19:10:22 ---> lscpu: 19:10:22 Architecture: x86_64 19:10:22 CPU op-mode(s): 32-bit, 64-bit 19:10:22 Byte Order: Little Endian 19:10:22 Address sizes: 40 bits physical, 48 bits virtual 19:10:22 CPU(s): 2 19:10:22 On-line CPU(s) list: 0,1 19:10:22 Thread(s) per core: 1 19:10:22 Core(s) per socket: 1 19:10:22 Socket(s): 2 19:10:22 NUMA node(s): 1 19:10:22 Vendor ID: AuthenticAMD 19:10:22 CPU family: 23 19:10:22 Model: 49 19:10:22 Model name: AMD EPYC-Rome Processor 19:10:22 Stepping: 0 19:10:22 CPU MHz: 2800.000 19:10:22 BogoMIPS: 5600.00 19:10:22 Virtualization: AMD-V 19:10:22 Hypervisor vendor: KVM 19:10:22 Virtualization type: full 19:10:22 L1d cache: 64 KiB 19:10:22 L1i cache: 64 KiB 19:10:22 L2 cache: 1 MiB 19:10:22 L3 cache: 32 MiB 19:10:22 NUMA node0 CPU(s): 0,1 19:10:22 Vulnerability Itlb multihit: Not affected 19:10:22 Vulnerability L1tf: Not affected 19:10:22 Vulnerability Mds: Not affected 19:10:22 Vulnerability Meltdown: Not affected 19:10:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:10:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:10:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:10:22 Vulnerability Srbds: Not affected 19:10:22 Vulnerability Tsx async abort: Not affected 19:10:22 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 19:10:22 19:10:22 19:10:22 ---> nproc: 19:10:22 2 19:10:22 19:10:22 19:10:22 ---> df -h: 19:10:22 Filesystem Size Used Available Use% Mounted on 19:10:22 overlay 40.0G 8.9G 31.1G 22% / 19:10:22 tmpfs 64.0M 0 64.0M 0% /dev 19:10:22 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 19:10:22 shm 64.0M 0 64.0M 0% /dev/shm 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 19:10:22 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 19:10:22 19:10:22 19:10:22 ---> free -m: 19:10:22 total used free shared buff/cache available 19:10:22 Mem: 7821 1274 3146 0 3400 6462 19:10:22 Swap: 1023 0 1023 19:10:22 19:10:22 19:10:22 ---> ip addr: 19:10:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:10:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:10:22 inet 127.0.0.1/8 scope host lo 19:10:22 valid_lft forever preferred_lft forever 19:10:22 inet6 ::1/128 scope host 19:10:22 valid_lft forever preferred_lft forever 19:10:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:10:22 link/ether fa:16:3e:64:5a:86 brd ff:ff:ff:ff:ff:ff 19:10:22 inet 10.30.123.215/23 brd 10.30.123.255 scope global dynamic eth0 19:10:22 valid_lft 85699sec preferred_lft 85699sec 19:10:22 inet6 fe80::f816:3eff:fe64:5a86/64 scope link 19:10:22 valid_lft forever preferred_lft forever 19:10:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:10:22 link/ether 02:42:26:ac:a3:81 brd ff:ff:ff:ff:ff:ff 19:10:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:10:22 valid_lft forever preferred_lft forever 19:10:22 inet6 fe80::42:26ff:feac:a381/64 scope link 19:10:22 valid_lft forever preferred_lft forever 19:10:22 19:10:22 19:10:22 ---> sar -b -r -n DEV: 19:10:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 19:10:22 19:10:22 18:58:31 LINUX RESTART (2 CPU) 19:10:22 19:10:22 18:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:10:22 19:00:01 83.79 4.23 79.56 0.00 2807.92 4190.63 0.00 19:10:22 19:01:02 0.50 0.02 0.48 0.00 0.13 7.31 0.00 19:10:22 19:02:01 0.46 0.10 0.36 0.00 1.76 5.52 0.00 19:10:22 19:03:01 0.20 0.00 0.20 0.00 0.00 3.05 0.00 19:10:22 19:04:01 0.22 0.00 0.22 0.00 0.00 2.90 0.00 19:10:22 19:05:01 0.38 0.00 0.38 0.00 0.00 6.18 0.00 19:10:22 19:06:01 0.23 0.00 0.23 0.00 0.00 4.56 0.00 19:10:22 19:07:01 0.27 0.00 0.27 0.00 0.00 4.10 0.00 19:10:22 19:08:01 0.25 0.00 0.25 0.00 0.00 4.00 0.00 19:10:22 19:09:01 1.58 0.03 1.55 0.00 3.73 28.76 0.00 19:10:22 19:10:01 207.25 0.00 207.25 0.00 0.00 58604.98 0.00 19:10:22 Average: 26.87 0.40 26.47 0.00 256.29 5723.49 0.00 19:10:22 19:10:22 18:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:10:22 19:00:01 5440144 0 813932 10.16 2620 1752244 1306200 14.42 584400 1583800 20 19:10:22 19:01:02 5448464 0 805608 10.06 2620 1752248 1232452 13.61 577364 1583764 20 19:10:22 19:02:01 5449368 0 804580 10.05 2620 1752372 1230240 13.58 574788 1586136 16 19:10:22 19:03:01 5447708 0 806232 10.07 2620 1752380 1207600 13.33 576384 1586136 20 19:10:22 19:04:01 5444692 0 809216 10.10 2620 1752412 1207672 13.33 576880 1588744 20 19:10:22 19:05:01 5445688 0 808244 10.09 2620 1752388 1207612 13.33 576584 1588744 20 19:10:22 19:06:01 5444540 0 809388 10.11 2620 1752392 1207684 13.33 577592 1588744 20 19:10:22 19:07:01 5433912 0 820008 10.24 2620 1752400 1207612 13.33 587600 1588748 12 19:10:22 19:08:01 5432012 0 821908 10.26 2620 1752400 1207648 13.33 589912 1588744 16 19:10:22 19:09:01 5191836 0 873848 10.91 2620 1940636 1395232 15.40 676780 1733544 188016 19:10:22 19:10:01 3738916 0 1192948 14.90 2620 3074456 1326392 14.64 925892 2708612 52 19:10:22 Average: 5265207 0 851447 10.63 2620 1889666 1248759 13.79 620380 1702338 17112 19:10:22 19:10:22 18:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:10:22 19:00:01 eth0 402.85 314.75 943.83 65.10 0.00 0.00 0.00 0.00 19:10:22 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:00:01 docker0 53.89 42.60 4.52 139.03 0.00 0.00 0.00 0.00 19:10:22 19:01:02 eth0 2.21 0.30 0.43 0.20 0.00 0.00 0.00 0.00 19:10:22 19:01:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:01:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:02:01 eth0 1.64 0.51 0.60 0.43 0.00 0.00 0.00 0.00 19:10:22 19:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:03:01 eth0 2.37 0.25 0.47 0.16 0.00 0.00 0.00 0.00 19:10:22 19:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:04:01 eth0 1.27 0.77 0.65 0.47 0.00 0.00 0.00 0.00 19:10:22 19:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:05:01 eth0 2.30 0.40 0.49 0.20 0.00 0.00 0.00 0.00 19:10:22 19:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:06:01 eth0 2.38 0.63 0.67 0.40 0.00 0.00 0.00 0.00 19:10:22 19:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:07:01 eth0 1.15 0.30 0.34 0.23 0.00 0.00 0.00 0.00 19:10:22 19:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:08:01 eth0 0.53 0.30 0.27 0.20 0.00 0.00 0.00 0.00 19:10:22 19:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:09:01 eth0 279.91 263.21 3108.01 20.29 0.00 0.00 0.00 0.00 19:10:22 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:10:01 veth89c6993 1.98 1.45 0.35 0.34 0.00 0.00 0.00 0.00 19:10:22 19:10:01 eth0 618.00 547.39 4904.33 65.52 0.00 0.00 0.00 0.00 19:10:22 19:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 19:10:01 docker0 102.25 112.69 7.62 675.27 0.00 0.00 0.00 0.00 19:10:22 Average: veth89c6993 0.18 0.13 0.03 0.03 0.00 0.00 0.00 0.00 19:10:22 Average: eth0 119.71 102.79 815.82 13.95 0.00 0.00 0.00 0.00 19:10:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:22 Average: docker0 14.22 14.14 1.11 74.15 0.00 0.00 0.00 0.00 19:10:22 19:10:22 19:10:22 ---> sar -P ALL: 19:10:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 19:10:22 19:10:22 18:58:31 LINUX RESTART (2 CPU) 19:10:22 19:10:22 18:59:01 CPU %user %nice %system %iowait %steal %idle 19:10:22 19:00:01 all 8.62 0.00 3.12 1.92 0.07 86.28 19:10:22 19:00:01 0 9.27 0.00 3.38 2.54 0.09 84.72 19:10:22 19:00:01 1 7.97 0.00 2.85 1.30 0.05 87.83 19:10:22 19:01:02 all 0.18 0.00 0.07 0.00 0.03 99.72 19:10:22 19:01:02 0 0.05 0.00 0.07 0.00 0.03 99.85 19:10:22 19:01:02 1 0.32 0.00 0.07 0.00 0.02 99.60 19:10:22 19:02:01 all 0.15 0.00 0.08 0.00 0.03 99.75 19:10:22 19:02:01 0 0.08 0.00 0.07 0.00 0.03 99.81 19:10:22 19:02:01 1 0.22 0.00 0.09 0.00 0.02 99.68 19:10:22 19:03:01 all 0.10 0.00 0.03 0.00 0.03 99.83 19:10:22 19:03:01 0 0.05 0.00 0.03 0.00 0.05 99.87 19:10:22 19:03:01 1 0.15 0.00 0.03 0.00 0.02 99.80 19:10:22 19:04:01 all 0.18 0.00 0.05 0.00 0.03 99.74 19:10:22 19:04:01 0 0.07 0.00 0.05 0.00 0.05 99.83 19:10:22 19:04:01 1 0.28 0.00 0.05 0.00 0.02 99.65 19:10:22 19:05:01 all 0.05 0.00 0.03 0.00 0.04 99.87 19:10:22 19:05:01 0 0.07 0.00 0.02 0.00 0.05 99.87 19:10:22 19:05:01 1 0.03 0.00 0.05 0.00 0.03 99.88 19:10:22 19:06:01 all 0.09 0.00 0.04 0.00 0.03 99.84 19:10:22 19:06:01 0 0.07 0.00 0.05 0.00 0.03 99.85 19:10:22 19:06:01 1 0.12 0.00 0.03 0.00 0.02 99.83 19:10:22 19:07:01 all 0.13 0.00 0.06 0.00 0.03 99.79 19:10:22 19:07:01 0 0.03 0.00 0.03 0.00 0.03 99.90 19:10:22 19:07:01 1 0.22 0.00 0.08 0.00 0.02 99.68 19:10:22 19:08:01 all 0.18 0.00 0.03 0.00 0.03 99.77 19:10:22 19:08:01 0 0.07 0.00 0.03 0.00 0.03 99.87 19:10:22 19:08:01 1 0.28 0.00 0.03 0.00 0.02 99.67 19:10:22 19:09:01 all 1.44 0.00 0.70 0.03 0.04 97.78 19:10:22 19:09:01 0 1.38 0.00 0.78 0.03 0.05 97.76 19:10:22 19:09:01 1 1.50 0.00 0.62 0.03 0.03 97.81 19:10:22 19:10:01 all 23.77 0.00 11.23 2.83 0.08 62.10 19:10:22 19:10:01 0 25.93 0.00 11.42 2.40 0.07 60.18 19:10:22 19:10:01 1 21.62 0.00 11.04 3.26 0.09 63.99 19:10:22 19:10:22 Average: CPU %user %nice %system %iowait %steal %idle 19:10:22 Average: all 3.05 0.00 1.35 0.42 0.04 95.14 19:10:22 Average: 0 3.23 0.00 1.39 0.44 0.05 94.90 19:10:22 Average: 1 2.88 0.00 1.31 0.40 0.03 95.38 19:10:22 19:10:22 19:10:22