Pull request #224 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from dee740d0c6712039b542b0a282df6e8aa80d14bf+12c6854996096b74e90d43960f739a4a5ae0269d (307bab62119051e8c945fc833552572632c3fb6e) Running in Durability level: MAX_SURVIVABILITY 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-ssh4822875416687958175.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-ssh5624265047772910574.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/PR-224/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/PR-224/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh990376483391070625.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-ssh3977149785237116503.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/PR-224/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/PR-224/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh353769216229673466.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 ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1825’ is offline ‘prd-centos7-docker-4c-2g-23’ is offline ‘prd-centos7-docker-4c-2g-30’ is offline ‘prd-centos7-docker-4c-2g-34’ is offline ‘prd-centos7-docker-4c-2g-35’ is offline ‘prd-ubuntu18.04-docker-8c-8g-31’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-26’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-37 in /w/workspace/foundry_device-virtual-go_PR-224 [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_PR-224 # 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_PR-224@tmp/jenkins-gitclient-ssh4892634258868239700.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 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_PR-224@tmp/jenkins-gitclient-ssh2493831680860425130.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) > git config core.sparsecheckout # timeout=10 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 > git remote # timeout=10 > 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 /w/workspace/foundry_device-virtual-go_PR-224@tmp/jenkins-gitclient-ssh3588579157758075762.key > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 Commit message: "feat: Enable using MessageBus as the default" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:19:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:19:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:19:12 ========================================================= 18:19:12 EdgeX Global Pipelines Version Info 18:19:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:19:14 ------------------- 18:19:14 stable info: 18:19:14 ------------------- 18:19:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:19:14 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 18:19:14 Message: update stable to v1.0.195 18:19:15 ------------------- 18:19:15 experimental info: 18:19:15 ------------------- 18:19:15 Commited By: **** collab-it+edgex@linuxfoundation.org 18:19:15 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 18:19:15 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:19:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo 18:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo 18:19:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo 18:19:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] echo 18:19:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dee740d [Pipeline] echo 18:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:17 provisioning config files... 18:19:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config8623125170040160014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:17 ---> docker-login.sh 18:19:17 nexus3.edgexfoundry.org:10001 18:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:18 Configure a credential helper to remove this warning. See 18:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:18 18:19:18 Login Succeeded 18:19:18 nexus3.edgexfoundry.org:10002 18:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:18 Configure a credential helper to remove this warning. See 18:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:18 18:19:18 Login Succeeded 18:19:18 nexus3.edgexfoundry.org:10003 18:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:18 Configure a credential helper to remove this warning. See 18:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:18 18:19:18 Login Succeeded 18:19:18 nexus3.edgexfoundry.org:10004 18:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:18 Configure a credential helper to remove this warning. See 18:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:18 18:19:18 Login Succeeded 18:19:18 docker.io 18:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:19 Configure a credential helper to remove this warning. See 18:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:19 18:19:19 Login Succeeded 18:19:19 ---> docker-login.sh ends [Pipeline] } 18:19:19 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:19:19 + git log --format=format:%s -1 dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] echo 18:19:19 GIT_COMMIT: dee740d0c6712039b542b0a282df6e8aa80d14bf, Commit Message: feat: Enable using MessageBus as the default [Pipeline] echo 18:19:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:20 18:19:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:19:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:21 latest: Pulling from edgex-devops/git-semver 18:19:21 31603596830f: Pulling fs layer 18:19:21 54011a49482f: Pulling fs layer 18:19:21 a6820b24f6d8: Pulling fs layer 18:19:21 f581987b2513: Pulling fs layer 18:19:21 f581987b2513: Waiting 18:19:21 54011a49482f: Verifying Checksum 18:19:21 54011a49482f: Download complete 18:19:21 31603596830f: Verifying Checksum 18:19:21 31603596830f: Download complete 18:19:21 a6820b24f6d8: Verifying Checksum 18:19:21 a6820b24f6d8: Download complete 18:19:21 f581987b2513: Verifying Checksum 18:19:21 f581987b2513: Download complete 18:19:21 31603596830f: Pull complete 18:19:21 54011a49482f: Pull complete 18:19:21 a6820b24f6d8: Pull complete 18:19:22 f581987b2513: Pull complete 18:19:22 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:19:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:19:22 prd-centos7-docker-4c-2g-37 does not seem to be running inside a container 18:19:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-224 -v /w/workspace/foundry_device-virtual-go_PR-224:/w/workspace/foundry_device-virtual-go_PR-224:rw,z -v /w/workspace/foundry_device-virtual-go_PR-224@tmp:/w/workspace/foundry_device-virtual-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:19:23 $ docker top 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:23 [ssh-agent] Looking for ssh-agent implementation... 18:19:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:23 $ docker exec 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent 18:19:24 SSH_AUTH_SOCK=/tmp/ssh-t8Fc8Qsgfu70/agent.13 18:19:24 SSH_AGENT_PID=19 18:19:24 Running ssh-add (command line suppressed) 18:19:24 Identity added: /w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1422648714638101424.key (/w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1422648714638101424.key) 18:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:24 + git tag --points-at HEAD [Pipeline] } 18:19:24 $ docker exec --env ******** --env ******** 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent -k 18:19:24 unset SSH_AUTH_SOCK; 18:19:24 unset SSH_AGENT_PID; 18:19:24 echo Agent pid 19 killed; 18:19:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:19:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:24 [ssh-agent] Looking for ssh-agent implementation... 18:19:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:24 $ docker exec 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent 18:19:24 SSH_AUTH_SOCK=/tmp/ssh-692chDDvUZA5/agent.54 18:19:24 SSH_AGENT_PID=61 18:19:24 Running ssh-add (command line suppressed) 18:19:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1446133925148305333.key (/w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1446133925148305333.key) 18:19:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:25 + git semver init 18:19:25 # -> Open(): unable to determine branch for HEAD 18:19:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-224/.git 18:19:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-224 18:19:25 # $SEMVER_REMOTE_NAME = origin 18:19:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:19:25 # $SEMVER_USER_NAME = edgex-jenkins 18:19:25 # $SEMVER_BRANCH = PR-224 18:19:25 # $SEMVER_TEMP = /tmp/semver-385210780 18:19:25 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:19:26 # '/tmp/semver-385210780' -> '/w/workspace/foundry_device-virtual-go_PR-224/.semver' 18:19:26 # -> Force: false 18:19:26 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-224/.semver [Pipeline] } 18:19:26 $ docker exec --env ******** --env ******** 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent -k 18:19:26 unset SSH_AUTH_SOCK; 18:19:26 unset SSH_AGENT_PID; 18:19:26 echo Agent pid 61 killed; 18:19:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:26 + git semver [Pipeline] } 18:19:27 $ docker stop --time=1 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 18:19:28 $ docker rm -f 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 [Pipeline] // withDockerContainer [Pipeline] sh 18:19:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:19:29 Stashed 1 file(s) [Pipeline] echo 18:19:29 [edgeXSemver]: initialized semver on version 0.0.0 [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:19:44 Still waiting to schedule task 18:19:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:19:44 Still waiting to schedule task 18:19:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:21:48 Running on prd-centos7-docker-4c-2g-42 in /w/workspace/foundry_device-virtual-go_PR-224 [Pipeline] { [Pipeline] ws 18:21:48 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 18:21:49 The recommended git tool is: git 18:21:51 using credential edgex-jenkins-ssh 18:21:51 Cloning the remote Git repository 18:21:51 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:21:51 > git init /w/workspace/device-virtual-go/2 # timeout=10 18:21:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:21:51 > git --version # timeout=10 18:21:51 > git --version # 'git version 2.24.4' 18:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:21:51 [INFO] Currently running in a labeled security context 18:21:51 [INFO] Currently SELinux is 'enforcing' on the host 18:21:51 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh715320575958762078.key 18:21:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:21:53 Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf 18:21:53 Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf 18:21:53 Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) 18:21:52 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:21:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:21:52 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:21:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:21:52 [INFO] Currently running in a labeled security context 18:21:52 [INFO] Currently SELinux is 'enforcing' on the host 18:21:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh5131771455970905044.key 18:21:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:21:52 > git config core.sparsecheckout # timeout=10 18:21:52 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 18:21:52 > git remote # timeout=10 18:21:52 > git config --get remote.origin.url # timeout=10 18:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 18:21:52 [INFO] Currently running in a labeled security context 18:21:52 [INFO] Currently SELinux is 'enforcing' on the host 18:21:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh6429514084223876541.key 18:21:53 > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 18:21:53 > git rev-parse HEAD^{commit} # timeout=10 18:21:53 > git config core.sparsecheckout # timeout=10 18:21:53 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 18:21:56 Commit message: "feat: Enable using MessageBus as the default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:21:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:21:58 + true 18:21:58 + sudo service docker restart 18:21:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:22:16 provisioning config files... 18:22:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4446725766076828756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:17 ---> docker-login.sh 18:22:17 nexus3.edgexfoundry.org:10001 18:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:17 Configure a credential helper to remove this warning. See 18:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:17 18:22:17 Login Succeeded 18:22:17 nexus3.edgexfoundry.org:10002 18:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:17 Configure a credential helper to remove this warning. See 18:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:17 18:22:17 Login Succeeded 18:22:17 nexus3.edgexfoundry.org:10003 18:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:17 Configure a credential helper to remove this warning. See 18:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:17 18:22:17 Login Succeeded 18:22:17 nexus3.edgexfoundry.org:10004 18:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:17 Configure a credential helper to remove this warning. See 18:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:17 18:22:17 Login Succeeded 18:22:17 docker.io 18:22:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:18 Configure a credential helper to remove this warning. See 18:22:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:18 18:22:18 Login Succeeded 18:22:18 ---> docker-login.sh ends [Pipeline] } 18:22:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:22:18 ========================================================= 18:22:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:22:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:22:19 + 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 . 18:22:19 Sending build context to Docker daemon 8.62MB 18:22:19 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:22:19 Step 2/8 : FROM ${BASE} 18:22:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:22:19 540db60ca938: Pulling fs layer 18:22:19 adcc1eea9eea: Pulling fs layer 18:22:19 4c4ab2625f07: Pulling fs layer 18:22:19 0510c868ecb4: Pulling fs layer 18:22:19 afea3b2eda06: Pulling fs layer 18:22:19 7809a108b3ef: Pulling fs layer 18:22:19 f706445af74f: Pulling fs layer 18:22:19 0510c868ecb4: Waiting 18:22:19 afea3b2eda06: Waiting 18:22:19 f706445af74f: Waiting 18:22:19 7809a108b3ef: Waiting 18:22:19 4c4ab2625f07: Verifying Checksum 18:22:19 4c4ab2625f07: Download complete 18:22:19 adcc1eea9eea: Verifying Checksum 18:22:19 adcc1eea9eea: Download complete 18:22:19 afea3b2eda06: Verifying Checksum 18:22:19 afea3b2eda06: Download complete 18:22:19 540db60ca938: Verifying Checksum 18:22:19 540db60ca938: Download complete 18:22:19 7809a108b3ef: Verifying Checksum 18:22:19 7809a108b3ef: Download complete 18:22:19 540db60ca938: Pull complete 18:22:19 adcc1eea9eea: Pull complete 18:22:19 4c4ab2625f07: Pull complete 18:22:20 f706445af74f: Verifying Checksum 18:22:20 f706445af74f: Download complete 18:22:21 0510c868ecb4: Verifying Checksum 18:22:21 0510c868ecb4: Download complete 18:22:25 0510c868ecb4: Pull complete 18:22:25 afea3b2eda06: Pull complete 18:22:25 7809a108b3ef: Pull complete 18:22:26 f706445af74f: Pull complete 18:22:26 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:22:26 ---> b068be0155e3 18:22:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:22:30 ---> Running in 6d2e4ce20d85 18:22:30 Removing intermediate container 6d2e4ce20d85 18:22:30 ---> 068b4a19ccc2 18:22:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:22:30 ---> Running in c7f14998ce1b 18:22:30 Removing intermediate container c7f14998ce1b 18:22:30 ---> 6b86c0c57015 18:22:30 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 18:22:30 ---> Running in ef00b1833a2d 18:22:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:22:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:22:32 (1/13) Installing libc-dev (0.7.2-r3) 18:22:32 (2/13) Installing libsodium (1.0.18-r0) 18:22:32 (3/13) Installing pkgconf (1.7.3-r0) 18:22:32 (4/13) Installing libsodium-dev (1.0.18-r0) 18:22:32 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:22:33 (6/13) Installing libedit (20191231.3.1-r1) 18:22:33 (7/13) Installing openssh-client (8.4_p1-r3) 18:22:33 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:22:33 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:22:33 (10/13) Installing openssh-server (8.4_p1-r3) 18:22:33 (11/13) Installing openssh (8.4_p1-r3) 18:22:33 (12/13) Installing libzmq (4.3.3-r1) 18:22:33 (13/13) Installing zeromq-dev (4.3.3-r1) 18:22:34 Executing busybox-1.32.1-r6.trigger 18:22:34 OK: 156 MiB in 53 packages 18:22:34 Removing intermediate container ef00b1833a2d 18:22:34 ---> 7691d27ec99b 18:22:34 Step 6/8 : WORKDIR /device-virtual-go 18:22:34 ---> Running in 3c75b66c10e7 18:22:34 Removing intermediate container 3c75b66c10e7 18:22:34 ---> 498317d02bae 18:22:34 Step 7/8 : COPY . . 18:22:35 ---> ba406066ad81 18:22:35 Step 8/8 : RUN go mod download 18:22:35 ---> Running in 1a0d4437d553 18:22:47 Removing intermediate container 1a0d4437d553 18:22:47 ---> 016f1fdfb9ed 18:22:47 Successfully built 016f1fdfb9ed 18:22:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:22:47 + docker inspect -f . ci-base-image-x86_64 18:22:47 . [Pipeline] withDockerContainer 18:22:47 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 18:22:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:22:48 $ docker top b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:48 + go version 18:22:48 go version go1.16.3 linux/amd64 [Pipeline] } 18:22:48 $ docker stop --time=1 b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 18:22:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43 in /w/workspace/foundry_device-virtual-go_PR-224 18:22:49 $ docker rm -f b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 18:22:50 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:22:51 The recommended git tool is: git 18:22:51 + docker inspect -f . ci-base-image-x86_64 18:22:51 . [Pipeline] withDockerContainer 18:22:51 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 18:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:22:51 $ docker top 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:52 + go mod tidy [Pipeline] sh 18:22:52 + make test 18:22:52 go mod tidy 18:22:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:22:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:22:56 using credential edgex-jenkins-ssh 18:22:56 Cloning the remote Git repository 18:22:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:22:56 > git init /w/workspace/device-virtual-go/2 # timeout=10 18:22:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:22:56 > git --version # timeout=10 18:22:56 > git --version # 'git version 2.17.1' 18:22:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:22:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:22:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:22:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:22:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:22:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:22:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:22:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:22:59 Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf 18:22:59 Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf 18:22:59 Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) 18:22:59 > git config core.sparsecheckout # timeout=10 18:22:59 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 18:22:59 > git remote # timeout=10 18:22:59 > git config --get remote.origin.url # timeout=10 18:22:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:22:59 > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 18:22:59 > git rev-parse HEAD^{commit} # timeout=10 18:22:59 > git config core.sparsecheckout # timeout=10 18:22:59 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 18:23:03 Commit message: "feat: Enable using MessageBus as the default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:23:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:23:05 + sudo+ service docker restarttrue 18:23:05 18:23:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:23:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.266s coverage: 63.8% of statements 18:23:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:23:23 gofmt -l . 18:23:23 [ "`gofmt -l .`" = "" ] 18:23:23 ./bin/test-attribution-txt.sh 18:23:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:23:23 $ docker stop --time=1 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff 18:23:25 $ docker rm -f 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:25 provisioning config files... 18:23:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config2575791857476278533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:23:26 Stashed 1 file(s) 18:23:26 ---> docker-login.sh 18:23:26 nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 18:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:27 Configure a credential helper to remove this warning. See 18:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:27 18:23:27 Login Succeeded 18:23:27 nexus3.edgexfoundry.org:10002 18:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:27 + ls -al . 18:23:27 total 132 18:23:27 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 17 18:23 . 18:23:27 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:21 .. 18:23:27 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 17 18:21 Attribution.txt 18:23:27 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 18:21 bin 18:23:27 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:21 cmd 18:23:27 -rw-r--r--. 1 jenkins jenkins 47257 Jun 17 18:23 coverage.out 18:23:27 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 17 18:21 Dockerfile 18:23:27 -rw-rw-r--. 1 jenkins jenkins 998 Jun 17 18:21 Dockerfile.build 18:23:27 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:21 .git 18:23:27 drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 18:21 .github 18:23:27 -rw-rw-r--. 1 jenkins jenkins 277 Jun 17 18:21 .gitignore 18:23:27 -rw-r--r--. 1 jenkins jenkins 810 Jun 17 18:23 go.mod 18:23:27 -rw-r--r--. 1 jenkins jenkins 23031 Jun 17 18:22 go.sum 18:23:27 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 18:21 internal 18:23:27 -rw-rw-r--. 1 jenkins jenkins 660 Jun 17 18:21 Jenkinsfile 18:23:27 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:21 LICENSE 18:23:27 -rw-rw-r--. 1 jenkins jenkins 905 Jun 17 18:21 Makefile 18:23:27 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 17 18:21 README.md 18:23:27 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:19 VERSION 18:23:27 -rw-rw-r--. 1 jenkins jenkins 235 Jun 17 18:21 version.go [Pipeline] isUnix [Pipeline] sh 18:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:27 Configure a credential helper to remove this warning. See 18:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:27 18:23:27 Login Succeeded 18:23:27 nexus3.edgexfoundry.org:10003 18:23:28 + 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=dee740d0c6712039b542b0a282df6e8aa80d14bf --label arch=amd64 --label version=0.0.0 . 18:23:28 Sending build context to Docker daemon 8.691MB 18:23:28 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 18:23:28 Step 2/26 : FROM ${BASE} AS builder 18:23:28 ---> 016f1fdfb9ed 18:23:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:23:28 ---> Running in 29cfbebb0821 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 Removing intermediate container 29cfbebb0821 18:23:28 ---> aa720fe36258 18:23:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:23:28 ---> Running in 654129704b9d 18:23:28 Removing intermediate container 654129704b9d 18:23:28 ---> ddfc2c27ef74 18:23:28 Step 5/26 : WORKDIR /device-virtual-go 18:23:28 ---> Running in 0564abdc0145 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 nexus3.edgexfoundry.org:10004 18:23:28 Removing intermediate container 0564abdc0145 18:23:28 ---> 593de8cbc618 18:23:28 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:28 ---> Running in d3b39f7386dc 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:29 Configure a credential helper to remove this warning. See 18:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:29 18:23:29 Login Succeeded 18:23:29 docker.io 18:23:29 Removing intermediate container d3b39f7386dc 18:23:29 ---> c5429d2ac1ff 18:23:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:23:29 ---> Running in 307190307e9b 18:23:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:29 Configure a credential helper to remove this warning. See 18:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:29 18:23:29 Login Succeeded 18:23:29 ---> docker-login.sh ends [Pipeline] } 18:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:23:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 18:23:30 ========================================================= 18:23:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:23:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:23:30 OK: 156 MiB in 53 packages 18:23:30 Removing intermediate container 307190307e9b 18:23:30 ---> 484349fc1519 18:23:30 Step 8/26 : COPY . . 18:23:30 + 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 . 18:23:31 ---> 6dd2ada4bb20 18:23:31 Step 9/26 : RUN go mod tidy 18:23:31 ---> Running in ba2892fe823e 18:23:31 Sending build context to Docker daemon 8.618MB 18:23:31 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:23:31 Step 2/8 : FROM ${BASE} 18:23:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:23:31 595b0fe564bb: Pulling fs layer 18:23:31 3088b5b3c5c0: Pulling fs layer 18:23:31 5b7225fbf94c: Pulling fs layer 18:23:31 ba82ee9f976e: Pulling fs layer 18:23:31 506bd15cee9f: Pulling fs layer 18:23:31 75a0a4a0db45: Pulling fs layer 18:23:31 618dc40b7e24: Pulling fs layer 18:23:31 75a0a4a0db45: Waiting 18:23:31 ba82ee9f976e: Waiting 18:23:31 506bd15cee9f: Waiting 18:23:31 5b7225fbf94c: Verifying Checksum 18:23:31 5b7225fbf94c: Download complete 18:23:31 3088b5b3c5c0: Verifying Checksum 18:23:31 3088b5b3c5c0: Download complete 18:23:31 506bd15cee9f: Verifying Checksum 18:23:31 506bd15cee9f: Download complete 18:23:31 75a0a4a0db45: Download complete 18:23:31 595b0fe564bb: Download complete 18:23:32 Removing intermediate container ba2892fe823e 18:23:32 ---> 7958e2532221 18:23:32 Step 10/26 : RUN go mod download 18:23:32 ---> Running in fc546051101b 18:23:32 Removing intermediate container fc546051101b 18:23:32 ---> fee6cab7215c 18:23:32 Step 11/26 : ARG MAKE='make build' 18:23:32 ---> Running in 4caffeb6ee73 18:23:32 Removing intermediate container 4caffeb6ee73 18:23:32 ---> d636a15c7643 18:23:32 Step 12/26 : RUN $MAKE 18:23:32 ---> Running in 724e56765b70 18:23:32 595b0fe564bb: Pull complete 18:23:32 go mod tidy 18:23:33 3088b5b3c5c0: Pull complete 18:23:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:23:33 5b7225fbf94c: Pull complete 18:23:33 618dc40b7e24: Verifying Checksum 18:23:33 618dc40b7e24: Download complete 18:23:36 ba82ee9f976e: Verifying Checksum 18:23:36 ba82ee9f976e: Download complete 18:23:46 ba82ee9f976e: Pull complete 18:23:46 506bd15cee9f: Pull complete 18:23:46 75a0a4a0db45: Pull complete 18:23:48 Removing intermediate container 724e56765b70 18:23:48 ---> e32f08f621a4 18:23:48 Step 13/26 : FROM alpine:3.12 18:23:48 3.12: Pulling from library/alpine 18:23:48 339de151aab4: Pulling fs layer 18:23:49 339de151aab4: Verifying Checksum 18:23:49 339de151aab4: Download complete 18:23:49 339de151aab4: Pull complete 18:23:49 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 18:23:49 Status: Downloaded newer image for alpine:3.12 18:23:49 ---> 13621d1b12d4 18:23:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:23:49 ---> Running in 7afc9282bc36 18:23:49 Removing intermediate container 7afc9282bc36 18:23:49 ---> e763098548d4 18:23:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:49 ---> Running in 1b67c990cf5a 18:23:49 Removing intermediate container 1b67c990cf5a 18:23:49 ---> 24c68b82cf8e 18:23:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:23:49 ---> Running in 3335fc189998 18:23:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:23:51 618dc40b7e24: Pull complete 18:23:51 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 18:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:23:51 ---> a36622ca3599 18:23:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:23:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:23:53 ---> Running in b4add0730915 18:23:53 Removing intermediate container b4add0730915 18:23:53 ---> f58ae44decd4 18:23:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:53 ---> Running in 7690f0fd4175 18:23:54 (1/6) Installing dumb-init (1.2.2-r1) 18:23:54 (2/6) Installing libgcc (9.3.0-r2) 18:23:54 (3/6) Installing libsodium (1.0.18-r0) 18:23:55 (4/6) Installing libstdc++ (9.3.0-r2) 18:23:56 Removing intermediate container 7690f0fd4175 18:23:56 ---> 5c047fda1ccb 18:23:56 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 18:23:56 ---> Running in e3f1388f4059 18:23:56 (5/6) Installing libzmq (4.3.3-r0) 18:23:56 (6/6) Installing zeromq (4.3.3-r0) 18:23:56 Executing busybox-1.31.1-r20.trigger 18:23:56 OK: 8 MiB in 20 packages 18:23:57 Removing intermediate container 3335fc189998 18:23:57 ---> 62a2f2de0fd4 18:23:57 Step 17/26 : WORKDIR / 18:23:57 ---> Running in 9008054737ea 18:23:57 Removing intermediate container 9008054737ea 18:23:57 ---> ef82f4429235 18:23:57 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:23:57 ---> b414b51a07a0 18:23:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:23:57 ---> f743d280be0f 18:23:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:23:57 ---> 958cdad1483c 18:23:57 Step 21/26 : EXPOSE 59900 18:23:57 ---> Running in a90710bf3208 18:23:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:23:58 Removing intermediate container a90710bf3208 18:23:58 ---> fdb2de39d83d 18:23:58 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:23:58 ---> Running in ba875edc8ee3 18:23:58 Removing intermediate container ba875edc8ee3 18:23:58 ---> 051fda7efa51 18:23:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:23:58 ---> Running in 7701fecfa0e9 18:23:58 Removing intermediate container 7701fecfa0e9 18:23:58 ---> 86cecd8addd5 18:23:58 Step 24/26 : LABEL arch=amd64 18:23:58 ---> Running in 1b6bc3c6b5f1 18:23:58 Removing intermediate container 1b6bc3c6b5f1 18:23:58 ---> 83bee2086803 18:23:58 Step 25/26 : LABEL git_sha=dee740d0c6712039b542b0a282df6e8aa80d14bf 18:23:58 ---> Running in f522bd913f94 18:23:58 Removing intermediate container f522bd913f94 18:23:58 ---> 83ba236f1642 18:23:58 Step 26/26 : LABEL version=0.0.0 18:23:58 ---> Running in 2f577612fa8f 18:23:58 Removing intermediate container 2f577612fa8f 18:23:58 ---> b867716569e9 18:23:58 [Warning] One or more build-args [ARCH] were not consumed 18:23:58 Successfully built b867716569e9 18:23:58 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional 18:23:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:23:59 ---> job-cost.sh 18:23:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S4Qe 18:23:59 (1/13) Installing libc-dev (0.7.2-r3) 18:23:59 (2/13) Installing libsodium (1.0.18-r0) 18:23:59 (3/13) Installing pkgconf (1.7.3-r0) 18:23:59 (4/13) Installing libsodium-dev (1.0.18-r0) 18:24:00 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:24:00 (6/13) Installing libedit (20191231.3.1-r1) 18:24:00 (7/13) Installing openssh-client (8.4_p1-r3) 18:24:00 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:24:00 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:24:00 (10/13) Installing openssh-server (8.4_p1-r3) 18:24:00 (11/13) Installing openssh (8.4_p1-r3) 18:24:00 (12/13) Installing libzmq (4.3.3-r1) 18:24:01 (13/13) Installing zeromq-dev (4.3.3-r1) 18:24:01 Executing busybox-1.32.1-r6.trigger 18:24:01 OK: 145 MiB in 53 packages 18:24:02 Removing intermediate container e3f1388f4059 18:24:02 ---> faf96b99726a 18:24:02 Step 6/8 : WORKDIR /device-virtual-go 18:24:02 ---> Running in 865ab21218a1 18:24:03 Removing intermediate container 865ab21218a1 18:24:03 ---> 32f493ff07be 18:24:03 Step 7/8 : COPY . . 18:24:04 ---> e8858989771e 18:24:04 Step 8/8 : RUN go mod download 18:24:04 ---> Running in f957693d9a6d 18:24:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:24:21 lf-activate-venv(): INFO: Adding /tmp/venv-S4Qe/bin to PATH 18:24:21 INFO: No Stack... 18:24:21 INFO: Retrieving Pricing Info for: v3-standard-2 18:24:22 INFO: Archiving Costs [Pipeline] sh 18:24:22 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 18:24:22 + cut -d, -f6 [Pipeline] lock 18:24:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] 18:24:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] did not exist. Created. 18:24:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:23 + echo total: 0.05999999865889549 [Pipeline] stash 18:24:23 Stashed 1 file(s) [Pipeline] } 18:24:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:24:31 Removing intermediate container f957693d9a6d 18:24:31 ---> f0b459371067 18:24:31 Successfully built f0b459371067 18:24:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:24:31 + docker inspect -f . ci-base-image-arm64 18:24:31 . [Pipeline] withDockerContainer 18:24:32 prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container 18:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:24:34 $ docker top e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:35 + go version 18:24:35 go version go1.16.5 linux/arm64 [Pipeline] } 18:24:35 $ docker stop --time=1 e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a 18:24:37 $ docker rm -f e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:38 + docker inspect -f . ci-base-image-arm64 18:24:38 . [Pipeline] withDockerContainer 18:24:38 prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container 18:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:24:40 $ docker top 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:41 + go mod tidy [Pipeline] sh 18:24:42 + make test 18:24:42 go mod tidy 18:24:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:24:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:25:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:25:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.878s coverage: 63.8% of statements 18:25:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:26:19 gofmt -l . 18:26:19 [ "`gofmt -l .`" = "" ] 18:26:19 ./bin/test-attribution-txt.sh 18:26:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:26:19 $ docker stop --time=1 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 18:26:21 $ docker rm -f 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 [Pipeline] // withDockerContainer [Pipeline] sh 18:26:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:26:22 Warning: overwriting stash ‘coverage-report’ 18:26:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:24 + ls -al . 18:26:24 total 156 18:26:24 drwxrwxr-x 7 jenkins jenkins 4096 Jun 17 18:26 . 18:26:24 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:22 .. 18:26:24 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:23 .git 18:26:24 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:22 .github 18:26:24 -rw-rw-r-- 1 jenkins jenkins 277 Jun 17 18:22 .gitignore 18:26:24 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 17 18:22 Attribution.txt 18:26:24 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 17 18:22 Dockerfile 18:26:24 -rw-rw-r-- 1 jenkins jenkins 998 Jun 17 18:22 Dockerfile.build 18:26:24 -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 18:22 Jenkinsfile 18:26:24 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:22 LICENSE 18:26:24 -rw-rw-r-- 1 jenkins jenkins 905 Jun 17 18:22 Makefile 18:26:24 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 17 18:22 README.md 18:26:24 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:19 VERSION 18:26:24 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:22 bin 18:26:24 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:22 cmd 18:26:24 -rw-r--r-- 1 jenkins jenkins 47257 Jun 17 18:25 coverage.out 18:26:24 -rw-r--r-- 1 jenkins jenkins 810 Jun 17 18:26 go.mod 18:26:24 -rw-r--r-- 1 jenkins jenkins 23031 Jun 17 18:24 go.sum 18:26:24 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:22 internal 18:26:24 -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 18:22 version.go [Pipeline] isUnix [Pipeline] sh 18:26:24 + 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=dee740d0c6712039b542b0a282df6e8aa80d14bf --label arch=arm64 --label version=0.0.0 . 18:26:25 Sending build context to Docker daemon 8.69MB 18:26:25 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 18:26:25 Step 2/26 : FROM ${BASE} AS builder 18:26:25 ---> f0b459371067 18:26:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:26:25 ---> Running in 6a1c1707e325 18:26:26 Removing intermediate container 6a1c1707e325 18:26:26 ---> 6a839f5ac5e4 18:26:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:26:26 ---> Running in 12ec377da7a3 18:26:26 Removing intermediate container 12ec377da7a3 18:26:26 ---> b2ff97756b91 18:26:26 Step 5/26 : WORKDIR /device-virtual-go 18:26:26 ---> Running in 8d5872d60c0d 18:26:27 Removing intermediate container 8d5872d60c0d 18:26:27 ---> 335d9702d251 18:26:27 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:27 ---> Running in e84127e30d15 18:26:29 Removing intermediate container e84127e30d15 18:26:29 ---> 3a7ce5220e1e 18:26:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:29 ---> Running in 89b383246e41 18:26:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:26:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:26:32 OK: 145 MiB in 53 packages 18:26:33 Removing intermediate container 89b383246e41 18:26:33 ---> 8ddfeaf350ea 18:26:33 Step 8/26 : COPY . . 18:26:35 ---> 2ebaf0714eb3 18:26:35 Step 9/26 : RUN go mod tidy 18:26:35 ---> Running in e696c46175d6 18:26:37 Removing intermediate container e696c46175d6 18:26:37 ---> 58222aaf9a25 18:26:37 Step 10/26 : RUN go mod download 18:26:38 ---> Running in 40eb72254bc5 18:26:40 Removing intermediate container 40eb72254bc5 18:26:40 ---> af3569d8d1fc 18:26:40 Step 11/26 : ARG MAKE='make build' 18:26:40 ---> Running in d6e10047e565 18:26:41 Removing intermediate container d6e10047e565 18:26:41 ---> c79ab0c9c9ad 18:26:41 Step 12/26 : RUN $MAKE 18:26:41 ---> Running in 96434e0ceea2 18:26:42 go mod tidy 18:26:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:27:40 Removing intermediate container 96434e0ceea2 18:27:40 ---> 8c8d76124ef7 18:27:40 Step 13/26 : FROM alpine:3.12 18:27:40 3.12: Pulling from library/alpine 18:27:40 d2f70382dc9a: Pulling fs layer 18:27:40 d2f70382dc9a: Verifying Checksum 18:27:40 d2f70382dc9a: Download complete 18:27:40 d2f70382dc9a: Pull complete 18:27:40 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 18:27:40 Status: Downloaded newer image for alpine:3.12 18:27:40 ---> c4fd0aeabfcf 18:27:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:27:40 ---> Running in 75ef05022ad4 18:27:40 Removing intermediate container 75ef05022ad4 18:27:40 ---> 272c2ce0a47a 18:27:40 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:27:40 ---> Running in 6535d1e57948 18:27:41 Removing intermediate container 6535d1e57948 18:27:41 ---> 695ea06121ec 18:27:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:27:41 ---> Running in e2a2cadf23cd 18:27:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:27:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:27:44 (1/6) Installing dumb-init (1.2.2-r1) 18:27:44 (2/6) Installing libgcc (9.3.0-r2) 18:27:44 (3/6) Installing libsodium (1.0.18-r0) 18:27:44 (4/6) Installing libstdc++ (9.3.0-r2) 18:27:45 (5/6) Installing libzmq (4.3.3-r0) 18:27:45 (6/6) Installing zeromq (4.3.3-r0) 18:27:45 Executing busybox-1.31.1-r20.trigger 18:27:45 OK: 8 MiB in 20 packages 18:27:46 Removing intermediate container e2a2cadf23cd 18:27:46 ---> bd325f427121 18:27:46 Step 17/26 : WORKDIR / 18:27:46 ---> Running in c8db09d838d8 18:27:47 Removing intermediate container c8db09d838d8 18:27:47 ---> 3a09baec58b6 18:27:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:27:48 ---> e2f3534d2b5c 18:27:48 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:27:48 ---> 65668459f5b7 18:27:48 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:27:50 ---> 2ceeb1cb3813 18:27:50 Step 21/26 : EXPOSE 59900 18:27:50 ---> Running in aa659b334f81 18:27:51 Removing intermediate container aa659b334f81 18:27:51 ---> e93c048803ac 18:27:51 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:27:51 ---> Running in 23676f9dc83c 18:27:51 Removing intermediate container 23676f9dc83c 18:27:51 ---> a46d864d3f1d 18:27:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:27:51 ---> Running in fcf35e07968b 18:27:52 Removing intermediate container fcf35e07968b 18:27:52 ---> 7558a9e0d757 18:27:52 Step 24/26 : LABEL arch=arm64 18:27:52 ---> Running in 1811ddf32edf 18:27:53 Removing intermediate container 1811ddf32edf 18:27:53 ---> 8768255ea549 18:27:53 Step 25/26 : LABEL git_sha=dee740d0c6712039b542b0a282df6e8aa80d14bf 18:27:53 ---> Running in 23d226b8c330 18:27:53 Removing intermediate container 23d226b8c330 18:27:53 ---> 695eae8ebc4e 18:27:53 Step 26/26 : LABEL version=0.0.0 18:27:53 ---> Running in 63e6246cfe87 18:27:54 Removing intermediate container 63e6246cfe87 18:27:54 ---> 5283f9ef78ab 18:27:54 [Warning] One or more build-args [ARCH] were not consumed 18:27:54 Successfully built 5283f9ef78ab 18:27:54 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:27:55 ---> job-cost.sh 18:27:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E20x 18:28:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:30:28 lf-activate-venv(): INFO: Adding /tmp/venv-E20x/bin to PATH 18:30:28 INFO: No Stack... 18:30:28 INFO: Retrieving Pricing Info for: v2-standard-4 18:30:28 INFO: Archiving Costs [Pipeline] sh 18:30:29 + cut -d, -f6 18:30:29 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 18:30:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] 18:30:29 Resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] did not exist. Created. 18:30:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:29 /w/workspace/device-virtual-go/2@tmp/durable-8e99a9e3/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-8e99a9e3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:30:29 + echo total: 0.18000000715255737 [Pipeline] stash 18:30:30 Warning: overwriting stash ‘stack-cost’ 18:30:30 Stashed 1 file(s) [Pipeline] } 18:30:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-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 18:30:31 provisioning config files... 18:30:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config5026792213940691832tmp [Pipeline] { [Pipeline] sh 18:30:31 + set +x 18:30:31 + bash -s -- 18:30:31 + curl -s https://codecov.io/bash 18:30:31 18:30:31 _____ _ 18:30:31 / ____| | | 18:30:31 | | ___ __| | ___ ___ _____ __ 18:30:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:30:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:30:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:30:31 Bash-1.0.3 18:30:31 18:30:31 18:30:31 ==> git version 2.24.4 found 18:30:31 ==> 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 18:30:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:30:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:30:31 ==> Jenkins CI detected. 18:30:31 project root: . 18:30:31 --> token set from env 18:30:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:30:31 ==> Running gcov in . (disable via -X gcov) 18:30:31 ==> Python coveragepy not found 18:30:31 ==> Searching for coverage reports in: 18:30:31 + . 18:30:31 -> Found 1 reports 18:30:31 ==> Detecting git/mercurial file structure 18:30:31 ==> Reading reports 18:30:31 + ./coverage.out bytes=47257 18:30:31 ==> Appending adjustments 18:30:31 https://docs.codecov.io/docs/fixing-reports 18:30:31 + Found adjustments 18:30:31 ==> Gzipping contents 18:30:31 8.0K /tmp/codecov.lDeZt3.gz 18:30:31 ==> Uploading reports 18:30:31 url: https://codecov.io 18:30:31 query: branch=PR-224&commit=dee740d0c6712039b542b0a282df6e8aa80d14bf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=224&job=&cmd_args= 18:30:31 -> Pinging Codecov 18:30:31 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-224&commit=dee740d0c6712039b542b0a282df6e8aa80d14bf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=224&job=&cmd_args= 18:30:32 -> Uploading to 18:30:32 https://storage.googleapis.com/codecov/v4/raw/2021-06-17/5E52B4B073DB2E39498172D8E973AA87/dee740d0c6712039b542b0a282df6e8aa80d14bf/c89ee182-7a58-4e6e-af4f-3b5961fb89a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T183032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e279b9e278fc4f05c844cda7c2cc6ddb08c1aacb064fb2f971dee9706b60389 18:30:32 % Total % Received % Xferd Average Speed Time Time Time Current 18:30:32 Dload Upload Total Spent Left Speed 18:30:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5781 0 0 100 5781 0 18210 --:--:-- --:--:-- --:--:-- 18179 18:30:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] } 18:30:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 18:30:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:30:36 ---> package-listing.sh 18:30:36 ++ facter osfamily 18:30:36 ++ tr '[:upper:]' '[:lower:]' 18:30:36 + OS_FAMILY=redhat 18:30:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-224 18:30:36 + START_PACKAGES=/tmp/packages_start.txt 18:30:36 + END_PACKAGES=/tmp/packages_end.txt 18:30:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:30:36 + PACKAGES=/tmp/packages_start.txt 18:30:36 + '[' /w/workspace/foundry_device-virtual-go_PR-224 ']' 18:30:36 + PACKAGES=/tmp/packages_end.txt 18:30:36 + case "${OS_FAMILY}" in 18:30:36 + rpm -qa 18:30:36 + sort 18:30:37 + '[' -f /tmp/packages_start.txt ']' 18:30:37 + '[' -f /tmp/packages_end.txt ']' 18:30:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:30:37 + '[' /w/workspace/foundry_device-virtual-go_PR-224 ']' 18:30:37 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-224/archives/ 18:30:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-224/archives/ [Pipeline] echo 18:30:37 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_PR-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:30:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:30:38 18:30:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:30:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:30:38 alpine: Pulling from edgex-lftools-log-publisher 18:30:38 df20fa9351a1: Pulling fs layer 18:30:38 36b3adc4ff6f: Pulling fs layer 18:30:38 8ad3a11d3b57: Pulling fs layer 18:30:38 46f8f816bc3b: Pulling fs layer 18:30:38 93b61091891f: Pulling fs layer 18:30:38 93b9cdb0e59b: Pulling fs layer 18:30:38 5e14af77c1be: Pulling fs layer 18:30:38 01666e4c0597: Pulling fs layer 18:30:38 aa168da1d23b: Pulling fs layer 18:30:38 93b9cdb0e59b: Waiting 18:30:38 5e14af77c1be: Waiting 18:30:38 01666e4c0597: Waiting 18:30:38 aa168da1d23b: Waiting 18:30:38 46f8f816bc3b: Waiting 18:30:38 93b61091891f: Waiting 18:30:38 36b3adc4ff6f: Verifying Checksum 18:30:38 36b3adc4ff6f: Download complete 18:30:38 46f8f816bc3b: Verifying Checksum 18:30:38 46f8f816bc3b: Download complete 18:30:38 df20fa9351a1: Verifying Checksum 18:30:38 df20fa9351a1: Download complete 18:30:38 93b9cdb0e59b: Verifying Checksum 18:30:38 93b9cdb0e59b: Download complete 18:30:38 5e14af77c1be: Verifying Checksum 18:30:38 5e14af77c1be: Download complete 18:30:38 93b61091891f: Verifying Checksum 18:30:38 01666e4c0597: Verifying Checksum 18:30:38 01666e4c0597: Download complete 18:30:38 93b61091891f: Download complete 18:30:38 df20fa9351a1: Pull complete 18:30:38 8ad3a11d3b57: Verifying Checksum 18:30:38 8ad3a11d3b57: Download complete 18:30:38 36b3adc4ff6f: Pull complete 18:30:39 8ad3a11d3b57: Pull complete 18:30:39 46f8f816bc3b: Pull complete 18:30:39 93b61091891f: Pull complete 18:30:39 93b9cdb0e59b: Pull complete 18:30:39 5e14af77c1be: Pull complete 18:30:40 01666e4c0597: Pull complete 18:30:40 aa168da1d23b: Verifying Checksum 18:30:40 aa168da1d23b: Download complete 18:30:44 aa168da1d23b: Pull complete 18:30:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:30:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:30:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:30:44 prd-centos7-docker-4c-2g-37 does not seem to be running inside a container 18:30:44 $ 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_PR-224/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_PR-224 -v /w/workspace/foundry_device-virtual-go_PR-224:/w/workspace/foundry_device-virtual-go_PR-224:rw,z -v /w/workspace/foundry_device-virtual-go_PR-224@tmp:/w/workspace/foundry_device-virtual-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:30:47 $ docker top 62065b5e08ce94ee2bc52cc027336f4270aede0c627acb84dadf188dba3ebc2c -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:47 + touch /tmp/pre-build-complete [Pipeline] sh 18:30:47 + mkdir -p /var/log/sa [Pipeline] sh 18:30:48 + ls /var/log/sa-host 18:30:48 + sadf -c /var/log/sa-host/sa05 18:30:48 file_magic: OK 18:30:48 HZ: Using current value: 100 18:30:48 file_header: OK 18:30:48 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 18:30:48 Statistics: 18:30:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:30:48 File successfully converted to sysstat format version 12.2.1 18:30:48 + sadf -c /var/log/sa-host/sa17 18:30:48 file_magic: OK 18:30:48 HZ: Using current value: 100 18:30:48 file_header: OK 18:30:48 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 18:30:48 Statistics: 18:30:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:30:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:48 provisioning config files... 18:30:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config900232540327348555tmp [Pipeline] { [Pipeline] echo 18:30:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:30:49 ---> create-netrc.sh [Pipeline] } 18:30:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:30:49 ---> python-tools-install.sh [Pipeline] echo 18:30:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:30:49 ---> sudo-logs.sh 18:30:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:30:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:30:50 ---> job-cost.sh 18:30:50 lf-activate-venv: SKIPPING 18:30:50 DEBUG: total: 0.18000000715255737 18:30:50 INFO: Retrieving Stack Cost... 18:30:51 INFO: Retrieving Pricing Info for: v3-standard-2 18:30:51 INFO: Archiving Costs [Pipeline] echo 18:30:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:30:51 ---> logs-deploy.sh 18:30:51 lf-activate-venv: SKIPPING 18:30:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-224/2 18:30:51 INFO: archiving workspace using pattern(s): 18:30:52 Archives upload complete. 18:30:52 INFO: archiving logs to Nexus