Pull request #261 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-virtual-go Loading trusted files from base branch main at d36d4eb5d49c50cebb55fcc728bec397aa4f388e rather than b49af054c53e0d1d353ebab51b2907ddb8cd2ffe Obtained Jenkinsfile from d36d4eb5d49c50cebb55fcc728bec397aa4f388e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1305810946052876942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6596412392828192861.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-261/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16207991305005053615.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14520681504826357037.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-261/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-261/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15808695506071079161.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4169’ Running on prd-centos7-docker-4c-2g-4173 in /w/workspace/foundry_device-virtual-go_PR-261 [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-261 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-261@tmp/jenkins-gitclient-ssh840997943909768842.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-261@tmp/jenkins-gitclient-ssh888848612336048529.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d36d4eb5d49c50cebb55fcc728bec397aa4f388e into PR head commit b49af054c53e0d1d353ebab51b2907ddb8cd2ffe Merge succeeded, producing b49af054c53e0d1d353ebab51b2907ddb8cd2ffe Checking out Revision b49af054c53e0d1d353ebab51b2907ddb8cd2ffe (PR-261) > git config core.sparsecheckout # timeout=10 > git checkout -f b49af054c53e0d1d353ebab51b2907ddb8cd2ffe # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-261@tmp/jenkins-gitclient-ssh8941409105902178047.key > git merge d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49af054c53e0d1d353ebab51b2907ddb8cd2ffe # timeout=10 Commit message: "fix: Cleanup from review comments." > git rev-list --no-walk a9f4e1c8f4b8aad9cf326d0725e2edf53bad2797 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:41:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:41:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:41:23 ========================================================= 23:41:23 EdgeX Global Pipelines Version Info 23:41:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:41:25 ------------------- 23:41:25 stable info: 23:41:25 ------------------- 23:41:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:41:25 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:41:25 Message: update stable to v1.0.219 23:41:25 ------------------- 23:41:25 experimental info: 23:41:25 ------------------- 23:41:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:41:25 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:41:25 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:41:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b49af05 [Pipeline] echo 23:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:26 provisioning config files... 23:41:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config304257289493803221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:26 ---> docker-login.sh 23:41:26 nexus3.edgexfoundry.org:10001 23:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:26 Configure a credential helper to remove this warning. See 23:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:26 23:41:26 Login Succeeded 23:41:26 nexus3.edgexfoundry.org:10002 23:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:26 Configure a credential helper to remove this warning. See 23:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:26 23:41:26 Login Succeeded 23:41:26 nexus3.edgexfoundry.org:10003 23:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:26 Configure a credential helper to remove this warning. See 23:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:26 23:41:26 Login Succeeded 23:41:26 nexus3.edgexfoundry.org:10004 23:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:27 Configure a credential helper to remove this warning. See 23:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:27 23:41:27 Login Succeeded 23:41:27 docker.io 23:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:27 Configure a credential helper to remove this warning. See 23:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:27 23:41:27 Login Succeeded 23:41:27 ---> docker-login.sh ends [Pipeline] } 23:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:41:27 + git rev-list -1 --merges b49af054c53e0d1d353ebab51b2907ddb8cd2ffe~1..b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [Pipeline] echo 23:41:27 -----------> git rev-list -1 --merges b49af054c53e0d1d353ebab51b2907ddb8cd2ffe~1..b49af054c53e0d1d353ebab51b2907ddb8cd2ffe b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [false] [Pipeline] sh 23:41:28 + git log --format=format:%s -1 b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [Pipeline] echo 23:41:28 ========================================================= 23:41:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:41:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:28 + git log --format=format:%s -1 b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [Pipeline] echo 23:41:28 [semverPrep] GIT_COMMIT: b49af054c53e0d1d353ebab51b2907ddb8cd2ffe, Commit Message: fix: Cleanup from review comments. [Pipeline] echo 23:41:28 [semverPrep] This is not a build commit. [Pipeline] sh 23:41:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:41:28 + grep -v github /etc/ssh/ssh_known_hosts 23:41:28 + '[' -e /tmp/ssh_known_hosts ']' 23:41:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:41:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:41:28 + sudo tee -a /etc/ssh/ssh_known_hosts 23:41:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:29 23:41:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:41:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:29 latest: Pulling from edgex-devops/git-semver 23:41:29 a0d0a0d46f8b: Pulling fs layer 23:41:29 3e5f54012d9b: Pulling fs layer 23:41:29 4c7163046ea9: Pulling fs layer 23:41:29 0c2d73faf560: Pulling fs layer 23:41:29 0c2d73faf560: Waiting 23:41:29 3e5f54012d9b: Verifying Checksum 23:41:29 3e5f54012d9b: Download complete 23:41:29 a0d0a0d46f8b: Verifying Checksum 23:41:29 a0d0a0d46f8b: Download complete 23:41:29 0c2d73faf560: Verifying Checksum 23:41:29 0c2d73faf560: Download complete 23:41:29 4c7163046ea9: Verifying Checksum 23:41:29 4c7163046ea9: Download complete 23:41:29 a0d0a0d46f8b: Pull complete 23:41:29 3e5f54012d9b: Pull complete 23:41:30 4c7163046ea9: Pull complete 23:41:30 0c2d73faf560: Pull complete 23:41:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:41:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:41:30 prd-centos7-docker-4c-2g-4173 does not seem to be running inside a container 23:41:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:31 $ docker top 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:31 [ssh-agent] Looking for ssh-agent implementation... 23:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:31 $ docker exec 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 ssh-agent 23:41:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHemhPn/agent.14 23:41:31 SSH_AGENT_PID=21 23:41:31 Running ssh-add (command line suppressed) 23:41:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_6220990519778917222.key (/w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_6220990519778917222.key) 23:41:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:31 + git tag --points-at HEAD [Pipeline] } 23:41:31 $ docker exec --env ******** --env ******** 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 ssh-agent -k 23:41:31 unset SSH_AUTH_SOCK; 23:41:31 unset SSH_AGENT_PID; 23:41:31 echo Agent pid 21 killed; 23:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:31 [ssh-agent] Looking for ssh-agent implementation... 23:41:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:32 $ docker exec 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 ssh-agent 23:41:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMlCCeG/agent.55 23:41:32 SSH_AGENT_PID=62 23:41:32 Running ssh-add (command line suppressed) 23:41:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_5086119068113043180.key (/w/workspace/foundry_device-virtual-go_PR-261@tmp/private_key_5086119068113043180.key) 23:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:32 + git semver init 23:41:32 # -> Open(): unable to determine branch for HEAD 23:41:32 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-261/.git 23:41:32 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-261 23:41:32 # $SEMVER_REMOTE_NAME = origin 23:41:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:32 # $SEMVER_USER_NAME = edgex-jenkins 23:41:32 # $SEMVER_BRANCH = PR-261 23:41:32 # $SEMVER_TEMP = /tmp/semver-859593912 23:41:32 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 23:41:33 # '/tmp/semver-859593912' -> '/w/workspace/foundry_device-virtual-go_PR-261/.semver' 23:41:33 # -> Force: false 23:41:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-261/.semver [Pipeline] } 23:41:33 $ docker exec --env ******** --env ******** 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 ssh-agent -k 23:41:34 unset SSH_AUTH_SOCK; 23:41:34 unset SSH_AGENT_PID; 23:41:34 echo Agent pid 62 killed; 23:41:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:34 + git semver [Pipeline] } 23:41:34 $ docker stop --time=1 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 23:41:35 $ docker rm -f 44e7e27b24246c41dc266edd47853529cb7465c1e32dec3052aacfa481055eb0 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:41:36 Stashed 1 file(s) [Pipeline] echo 23:41:36 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:36 provisioning config files... 23:41:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config3047830787493191095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:36 ---> docker-login.sh 23:41:36 nexus3.edgexfoundry.org:10001 23:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:36 Configure a credential helper to remove this warning. See 23:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:36 23:41:36 Login Succeeded 23:41:36 nexus3.edgexfoundry.org:10002 23:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:36 Configure a credential helper to remove this warning. See 23:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:36 23:41:36 Login Succeeded 23:41:36 nexus3.edgexfoundry.org:10003 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 nexus3.edgexfoundry.org:10004 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 docker.io 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 ---> docker-login.sh ends [Pipeline] } 23:41:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:37 ========================================================= 23:41:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:41:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:41:37 Sending build context to Docker daemon 22.91MB 23:41:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:41:37 Step 2/12 : FROM ${BASE} AS builder 23:41:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:38 59bf1c3509f3: Pulling fs layer 23:41:38 666ba61612fd: Pulling fs layer 23:41:38 8ed8ca486205: Pulling fs layer 23:41:38 4fe6c5a15a65: Pulling fs layer 23:41:38 22a0e8bec74d: Pulling fs layer 23:41:38 f965cba54748: Pulling fs layer 23:41:38 861ffc35075e: Pulling fs layer 23:41:38 4b385c91608e: Pulling fs layer 23:41:38 560528eb2ebb: Pulling fs layer 23:41:38 4fe6c5a15a65: Waiting 23:41:38 22a0e8bec74d: Waiting 23:41:38 f965cba54748: Waiting 23:41:38 861ffc35075e: Waiting 23:41:38 4b385c91608e: Waiting 23:41:38 560528eb2ebb: Waiting 23:41:38 8ed8ca486205: Verifying Checksum 23:41:38 8ed8ca486205: Download complete 23:41:38 666ba61612fd: Verifying Checksum 23:41:38 666ba61612fd: Download complete 23:41:38 22a0e8bec74d: Verifying Checksum 23:41:38 22a0e8bec74d: Download complete 23:41:38 f965cba54748: Verifying Checksum 23:41:38 f965cba54748: Download complete 23:41:38 59bf1c3509f3: Verifying Checksum 23:41:38 59bf1c3509f3: Download complete 23:41:38 861ffc35075e: Verifying Checksum 23:41:38 861ffc35075e: Download complete 23:41:38 4b385c91608e: Verifying Checksum 23:41:38 4b385c91608e: Download complete 23:41:38 560528eb2ebb: Verifying Checksum 23:41:38 560528eb2ebb: Download complete 23:41:38 4fe6c5a15a65: Verifying Checksum 23:41:38 4fe6c5a15a65: Download complete 23:41:38 59bf1c3509f3: Pull complete 23:41:38 666ba61612fd: Pull complete 23:41:38 8ed8ca486205: Pull complete 23:41:43 4fe6c5a15a65: Pull complete 23:41:43 22a0e8bec74d: Pull complete 23:41:43 f965cba54748: Pull complete 23:41:43 861ffc35075e: Pull complete 23:41:43 4b385c91608e: Pull complete 23:41:45 560528eb2ebb: Pull complete 23:41:45 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 23:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:41:45 ---> dd4a08f94e63 23:41:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:41:47 ---> Running in 0059ad4c01c4 23:41:47 Removing intermediate container 0059ad4c01c4 23:41:47 ---> 460299798995 23:41:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:41:47 ---> Running in bea79a56ca89 23:41:47 Removing intermediate container bea79a56ca89 23:41:47 ---> 64f2bb90bbc3 23:41:47 Step 5/12 : WORKDIR /device-virtual-go 23:41:47 ---> Running in ea8e41e9120c 23:41:47 Removing intermediate container ea8e41e9120c 23:41:47 ---> 01be7c5a78e3 23:41:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:48 ---> Running in e17768ca1719 23:41:48 Removing intermediate container e17768ca1719 23:41:48 ---> 0bee4227fe9d 23:41:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:48 ---> Running in fd5502745d28 23:41:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:41:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:41:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:41:50 (2/4) Installing libedit (20210910.3.1-r0) 23:41:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:41:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:41:50 Executing busybox-1.34.1-r3.trigger 23:41:50 OK: 224 MiB in 56 packages 23:41:50 Removing intermediate container fd5502745d28 23:41:50 ---> d72cb98bb719 23:41:50 Step 8/12 : COPY go.mod vendor* ./ 23:41:50 ---> ff0a6ce7edd1 23:41:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:50 ---> Running in 8e3ddb259732 23:41:51 Still waiting to schedule task 23:41:51 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4170’ 23:42:29 Removing intermediate container 8e3ddb259732 23:42:29 ---> 25861df16053 23:42:29 Step 10/12 : COPY . . 23:42:29 ---> 1fa512e948b3 23:42:29 Step 11/12 : ARG MAKE='make build' 23:42:29 ---> Running in 9dab6461b4df 23:42:29 Removing intermediate container 9dab6461b4df 23:42:29 ---> b1f9b0d04f22 23:42:29 Step 12/12 : RUN $MAKE 23:42:29 ---> Running in 39bc57add9c5 23:42:29 noop 23:42:29 Removing intermediate container 39bc57add9c5 23:42:29 ---> cbdfca621473 23:42:29 Successfully built cbdfca621473 23:42:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:42:29 + docker inspect -f . ci-base-image-x86_64 23:42:29 . [Pipeline] withDockerContainer 23:42:30 prd-centos7-docker-4c-2g-4173 does not seem to be running inside a container 23:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:30 $ docker top 3c54ef649ca6129c551a08a94850f65fa5e726502dbd68513e60c6d2961e6852 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:30 + go version 23:42:30 go version go1.17.6 linux/amd64 [Pipeline] } 23:42:30 $ docker stop --time=1 3c54ef649ca6129c551a08a94850f65fa5e726502dbd68513e60c6d2961e6852 23:42:31 $ docker rm -f 3c54ef649ca6129c551a08a94850f65fa5e726502dbd68513e60c6d2961e6852 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:32 + docker inspect -f . ci-base-image-x86_64 23:42:32 . [Pipeline] withDockerContainer 23:42:32 prd-centos7-docker-4c-2g-4173 does not seem to be running inside a container 23:42:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:32 $ docker top f941b2b7983259162df1da65a9e4d7eba485f37e299c625b7afa9e5ae89113eb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:42:33 + make test 23:42:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:42:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:42:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:42:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.026s coverage: 65.7% of statements 23:42:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:42:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:42:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:42:52 $ docker stop --time=1 f941b2b7983259162df1da65a9e4d7eba485f37e299c625b7afa9e5ae89113eb 23:42:54 $ docker rm -f f941b2b7983259162df1da65a9e4d7eba485f37e299c625b7afa9e5ae89113eb [Pipeline] // withDockerContainer [Pipeline] sh 23:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:42:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:55 + ls -al . 23:42:55 total 168 23:42:55 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 28 23:42 . 23:42:55 drwxrwxr-x. 4 jenkins jenkins 112 Jan 28 23:41 .. 23:42:55 -rw-rw-r--. 1 jenkins jenkins 6514 Jan 28 23:41 Attribution.txt 23:42:55 drwxrwxr-x. 2 jenkins jenkins 37 Jan 28 23:41 bin 23:42:55 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 28 23:41 CHANGELOG.md 23:42:55 drwxrwxr-x. 3 jenkins jenkins 32 Jan 28 23:41 cmd 23:42:55 -rw-r--r--. 1 jenkins jenkins 44128 Jan 28 23:42 coverage.out 23:42:55 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 28 23:41 Dockerfile 23:42:55 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 23:41 .git 23:42:55 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 23:41 .github 23:42:55 -rw-rw-r--. 1 jenkins jenkins 270 Jan 28 23:41 .gitignore 23:42:55 -rw-rw-r--. 1 jenkins jenkins 2733 Jan 28 23:41 go.mod 23:42:55 -rw-rw-r--. 1 jenkins jenkins 49169 Jan 28 23:41 go.sum 23:42:55 -rw-rw-r--. 1 jenkins jenkins 677 Jan 28 23:41 GOVERNANCE.md 23:42:55 drwxrwxr-x. 3 jenkins jenkins 20 Jan 28 23:41 internal 23:42:55 -rw-rw-r--. 1 jenkins jenkins 660 Jan 28 23:41 Jenkinsfile 23:42:55 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 28 23:41 LICENSE 23:42:55 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 28 23:41 Makefile 23:42:55 -rw-rw-r--. 1 jenkins jenkins 623 Jan 28 23:41 OWNERS.md 23:42:55 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 28 23:41 README.md 23:42:55 drwx------. 3 jenkins jenkins 71 Jan 28 23:41 .semver 23:42:55 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 23:41 VERSION 23:42:55 -rw-rw-r--. 1 jenkins jenkins 235 Jan 28 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:42:56 + 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=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe --label arch=amd64 --label version=0.0.0 . 23:42:56 Sending build context to Docker daemon 22.96MB 23:42:56 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 23:42:56 Step 2/26 : FROM ${BASE} AS builder 23:42:56 ---> cbdfca621473 23:42:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:42:56 ---> Running in 5ff5ca3bdff4 23:42:56 Removing intermediate container 5ff5ca3bdff4 23:42:56 ---> f813c1bd6e7f 23:42:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:42:56 ---> Running in 4c626417fa20 23:42:56 Removing intermediate container 4c626417fa20 23:42:56 ---> 07173031aa85 23:42:56 Step 5/26 : WORKDIR /device-virtual-go 23:42:56 ---> Running in c56d21f32215 23:42:56 Removing intermediate container c56d21f32215 23:42:56 ---> f89b1cdc4c93 23:42:56 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:56 ---> Running in a266183f6d52 23:42:57 Removing intermediate container a266183f6d52 23:42:57 ---> dd6c526f8f14 23:42:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:57 ---> Running in cdecf707ea09 23:42:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:42:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:42:58 OK: 224 MiB in 56 packages 23:42:58 Removing intermediate container cdecf707ea09 23:42:58 ---> af2b6d7543f2 23:42:58 Step 8/26 : COPY go.mod vendor* ./ 23:42:59 ---> c46ed49e2f74 23:42:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:59 ---> Running in 67260b35d05a 23:42:59 Removing intermediate container 67260b35d05a 23:42:59 ---> 95dd59036443 23:42:59 Step 10/26 : COPY . . 23:43:00 ---> 9933f2f1a384 23:43:00 Step 11/26 : ARG MAKE='make build' 23:43:00 ---> Running in 4fad23771a7b 23:43:00 Removing intermediate container 4fad23771a7b 23:43:00 ---> 48f2df177c11 23:43:00 Step 12/26 : RUN $MAKE 23:43:00 ---> Running in 4a1f6b137211 23:43:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:43:12 Removing intermediate container 4a1f6b137211 23:43:12 ---> 6dfb0b8c34ff 23:43:12 Step 13/26 : FROM alpine:3.14 23:43:12 3.14: Pulling from library/alpine 23:43:12 97518928ae5f: Pulling fs layer 23:43:13 97518928ae5f: Verifying Checksum 23:43:13 97518928ae5f: Download complete 23:43:13 97518928ae5f: Pull complete 23:43:13 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:43:13 Status: Downloaded newer image for alpine:3.14 23:43:13 ---> 0a97eee8041e 23:43:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:43:13 ---> Running in 6de9f026d622 23:43:13 Removing intermediate container 6de9f026d622 23:43:13 ---> adf9e8d3705a 23:43:13 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:43:13 ---> Running in 6c13bbef6ced 23:43:13 Removing intermediate container 6c13bbef6ced 23:43:13 ---> db9995e5e302 23:43:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:43:13 ---> Running in 92bf6a2703e4 23:43:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:43:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:43:15 (1/6) Installing dumb-init (1.2.5-r1) 23:43:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:43:15 (3/6) Installing libsodium (1.0.18-r0) 23:43:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:43:15 (5/6) Installing libzmq (4.3.4-r0) 23:43:15 (6/6) Installing zeromq (4.3.4-r0) 23:43:15 Executing busybox-1.33.1-r6.trigger 23:43:15 OK: 8 MiB in 20 packages 23:43:16 Removing intermediate container 92bf6a2703e4 23:43:16 ---> 4b725d3e0f5c 23:43:16 Step 17/26 : WORKDIR / 23:43:16 ---> Running in 2e7c4737f682 23:43:16 Removing intermediate container 2e7c4737f682 23:43:16 ---> 7c1a15799694 23:43:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:43:16 ---> 2d1593f5cd7e 23:43:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:43:16 ---> c4c46747d8dc 23:43:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:43:16 ---> ef5c95d97b40 23:43:16 Step 21/26 : EXPOSE 59900 23:43:16 ---> Running in 41635780762c 23:43:17 Removing intermediate container 41635780762c 23:43:17 ---> 623b2919bba4 23:43:17 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:43:17 ---> Running in ba0c3772442a 23:43:17 Removing intermediate container ba0c3772442a 23:43:17 ---> 2a1ca30491f0 23:43:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:43:17 ---> Running in 2fae80b1ac12 23:43:17 Removing intermediate container 2fae80b1ac12 23:43:17 ---> 98f76540be7c 23:43:17 Step 24/26 : LABEL arch=amd64 23:43:17 ---> Running in 6e50b87a375a 23:43:17 Removing intermediate container 6e50b87a375a 23:43:17 ---> 42053227e907 23:43:17 Step 25/26 : LABEL git_sha=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe 23:43:17 ---> Running in 4ddfef044c62 23:43:17 Removing intermediate container 4ddfef044c62 23:43:17 ---> 5258720b949f 23:43:17 Step 26/26 : LABEL version=0.0.0 23:43:17 ---> Running in 46a1b584aceb 23:43:17 Removing intermediate container 46a1b584aceb 23:43:17 ---> 6369e2f71a01 23:43:17 [Warning] One or more build-args [ARCH] were not consumed 23:43:17 Successfully built 6369e2f71a01 23:43:17 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 [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:18 23:43:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:18 latest: Pulling from edgex-lftools-log-publisher 23:43:18 b4d181a07f80: Pulling fs layer 23:43:18 a1111a8f2ec3: Pulling fs layer 23:43:18 ed53099fbce6: Pulling fs layer 23:43:18 dc539afda2c1: Pulling fs layer 23:43:18 77bc0d833cb6: Pulling fs layer 23:43:18 9065ff56babe: Pulling fs layer 23:43:18 d287ab97295c: Pulling fs layer 23:43:18 77bc0d833cb6: Waiting 23:43:18 9065ff56babe: Waiting 23:43:18 d287ab97295c: Waiting 23:43:18 dc539afda2c1: Waiting 23:43:18 a1111a8f2ec3: Verifying Checksum 23:43:18 a1111a8f2ec3: Download complete 23:43:18 dc539afda2c1: Verifying Checksum 23:43:18 dc539afda2c1: Download complete 23:43:18 ed53099fbce6: Verifying Checksum 23:43:18 ed53099fbce6: Download complete 23:43:18 9065ff56babe: Verifying Checksum 23:43:18 9065ff56babe: Download complete 23:43:18 77bc0d833cb6: Verifying Checksum 23:43:18 77bc0d833cb6: Download complete 23:43:18 b4d181a07f80: Verifying Checksum 23:43:18 b4d181a07f80: Download complete 23:43:19 d287ab97295c: Verifying Checksum 23:43:19 d287ab97295c: Download complete 23:43:20 b4d181a07f80: Pull complete 23:43:20 a1111a8f2ec3: Pull complete 23:43:20 ed53099fbce6: Pull complete 23:43:20 dc539afda2c1: Pull complete 23:43:21 77bc0d833cb6: Pull complete 23:43:21 9065ff56babe: Pull complete 23:43:26 d287ab97295c: Pull complete 23:43:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:43:26 prd-centos7-docker-4c-2g-4173 does not seem to be running inside a container 23:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:43:29 $ docker top 1c5f015d3b4e9614268ac3e67eb3c73e182423b2a87c89052c27af8c0bcb1ef7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:29 ---> job-cost.sh 23:43:29 lf-activate-venv: SKIPPING 23:43:29 INFO: No Stack... 23:43:29 INFO: Retrieving Pricing Info for: v3-standard-2 23:43:30 INFO: Archiving Costs [Pipeline] sh 23:43:30 + cut -d, -f6 23:43:30 + cat /w/workspace/foundry_device-virtual-go_PR-261/archives/cost.csv [Pipeline] lock 23:43:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] 23:43:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] did not exist. Created. 23:43:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:30 + echo total: 0.05999999865889549 [Pipeline] stash 23:43:30 Stashed 1 file(s) [Pipeline] } 23:43:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:43:30 $ docker stop --time=1 1c5f015d3b4e9614268ac3e67eb3c73e182423b2a87c89052c27af8c0bcb1ef7 23:43:31 $ docker rm -f 1c5f015d3b4e9614268ac3e67eb3c73e182423b2a87c89052c27af8c0bcb1ef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:45:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4174 in /w/workspace/foundry_device-virtual-go_PR-261 [Pipeline] { [Pipeline] ws 23:45:05 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 23:45:05 The recommended git tool is: git 23:45:09 using credential edgex-jenkins-ssh 23:45:09 Cloning the remote Git repository 23:45:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:45:09 > git init /w/workspace/device-virtual-go/5 # timeout=10 23:45:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:45:10 > git --version # timeout=10 23:45:10 > git --version # 'git version 2.17.1' 23:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:45:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:45:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:45:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:45:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:45:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:45:12 Merging remotes/origin/main commit d36d4eb5d49c50cebb55fcc728bec397aa4f388e into PR head commit b49af054c53e0d1d353ebab51b2907ddb8cd2ffe 23:45:13 Merge succeeded, producing b49af054c53e0d1d353ebab51b2907ddb8cd2ffe 23:45:13 Checking out Revision b49af054c53e0d1d353ebab51b2907ddb8cd2ffe (PR-261) 23:45:12 > git config core.sparsecheckout # timeout=10 23:45:12 > git checkout -f b49af054c53e0d1d353ebab51b2907ddb8cd2ffe # timeout=10 23:45:13 > git remote # timeout=10 23:45:13 > git config --get remote.origin.url # timeout=10 23:45:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:45:13 > git merge d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 23:45:13 > git rev-parse HEAD^{commit} # timeout=10 23:45:13 > git config core.sparsecheckout # timeout=10 23:45:13 > git checkout -f b49af054c53e0d1d353ebab51b2907ddb8cd2ffe # timeout=10 23:45:17 Commit message: "fix: Cleanup from review comments." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:45:18 % Total % Received % Xferd Average Speed Time Time Time Current 23:45:18 Dload Upload Total Spent Left Speed 23:45:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97876 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 23:45:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:45:19 + sudo tee /etc/docker/daemon.new 23:45:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:45:19 { 23:45:19 "registry-mirrors": [ 23:45:19 "https://nexus3.edgexfoundry.org:10001" 23:45:19 ], 23:45:19 "bip": "10.250.0.254/24", 23:45:19 "hosts": [ 23:45:19 "tcp://0.0.0.0:5555", 23:45:19 "unix:///var/run/docker.sock" 23:45:19 ], 23:45:19 "mtu": 1458, 23:45:19 "selinux-enabled": true, 23:45:19 "seccomp-profile": "/etc/docker/seccomp.json" 23:45:19 } [Pipeline] sh 23:45:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:45:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:38 provisioning config files... 23:45:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config1249669423622523816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:38 ---> docker-login.sh 23:45:38 nexus3.edgexfoundry.org:10001 23:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:39 Configure a credential helper to remove this warning. See 23:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:39 23:45:39 Login Succeeded 23:45:39 nexus3.edgexfoundry.org:10002 23:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:40 Configure a credential helper to remove this warning. See 23:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:40 23:45:40 Login Succeeded 23:45:40 nexus3.edgexfoundry.org:10003 23:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:40 Configure a credential helper to remove this warning. See 23:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:40 23:45:40 Login Succeeded 23:45:40 nexus3.edgexfoundry.org:10004 23:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:40 Configure a credential helper to remove this warning. See 23:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:40 23:45:40 Login Succeeded 23:45:40 docker.io 23:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:41 Configure a credential helper to remove this warning. See 23:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:41 23:45:41 Login Succeeded 23:45:41 ---> docker-login.sh ends [Pipeline] } 23:45:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:45:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:45:42 ========================================================= 23:45:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:45:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:45:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:45:42 Sending build context to Docker daemon 11.63MB 23:45:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:45:43 Step 2/12 : FROM ${BASE} AS builder 23:45:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:45:43 9b3977197b4f: Pulling fs layer 23:45:43 1a89e8eeedd5: Pulling fs layer 23:45:43 94645a83ff95: Pulling fs layer 23:45:43 3f3a8bcf1eab: Pulling fs layer 23:45:43 3f3a8bcf1eab: Waiting 23:45:43 0c92f367c5e7: Pulling fs layer 23:45:43 4b8299f9d1f4: Pulling fs layer 23:45:43 9a6b49a46696: Pulling fs layer 23:45:43 cf05db05a679: Pulling fs layer 23:45:43 4b8299f9d1f4: Waiting 23:45:43 9a6b49a46696: Waiting 23:45:43 cf05db05a679: Waiting 23:45:43 0c92f367c5e7: Waiting 23:45:43 94645a83ff95: Verifying Checksum 23:45:43 94645a83ff95: Download complete 23:45:43 1a89e8eeedd5: Verifying Checksum 23:45:43 1a89e8eeedd5: Download complete 23:45:43 0c92f367c5e7: Verifying Checksum 23:45:43 0c92f367c5e7: Download complete 23:45:43 4b8299f9d1f4: Verifying Checksum 23:45:43 4b8299f9d1f4: Download complete 23:45:43 9b3977197b4f: Download complete 23:45:43 9a6b49a46696: Verifying Checksum 23:45:43 9a6b49a46696: Download complete 23:45:44 9b3977197b4f: Pull complete 23:45:44 1a89e8eeedd5: Pull complete 23:45:45 94645a83ff95: Pull complete 23:45:45 cf05db05a679: Verifying Checksum 23:45:45 cf05db05a679: Download complete 23:45:45 3f3a8bcf1eab: Download complete 23:45:58 3f3a8bcf1eab: Pull complete 23:45:58 0c92f367c5e7: Pull complete 23:45:58 4b8299f9d1f4: Pull complete 23:45:58 9a6b49a46696: Pull complete 23:46:03 cf05db05a679: Pull complete 23:46:03 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 23:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:46:03 ---> 0ccda1f7e2ee 23:46:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:46:05 ---> Running in a4775145696c 23:46:05 Removing intermediate container a4775145696c 23:46:05 ---> aa69911cf3f8 23:46:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:46:05 ---> Running in 1f7c7e4a9819 23:46:05 Removing intermediate container 1f7c7e4a9819 23:46:05 ---> 8354fc3e39ec 23:46:05 Step 5/12 : WORKDIR /device-virtual-go 23:46:05 ---> Running in 1acfadbf24ed 23:46:06 Removing intermediate container 1acfadbf24ed 23:46:06 ---> bc38e035cb9b 23:46:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:46:06 ---> Running in 3d69aaaf4536 23:46:08 Removing intermediate container 3d69aaaf4536 23:46:08 ---> f18457884102 23:46:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:08 ---> Running in fc884cbda351 23:46:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:46:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:46:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:46:11 (2/4) Installing libedit (20210910.3.1-r0) 23:46:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:46:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:46:11 Executing busybox-1.34.1-r3.trigger 23:46:11 OK: 224 MiB in 56 packages 23:46:12 Removing intermediate container fc884cbda351 23:46:12 ---> 64a3ca4feec3 23:46:12 Step 8/12 : COPY go.mod vendor* ./ 23:46:12 ---> d5ac8dad64c7 23:46:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:12 ---> Running in 5d21775ddf81 23:47:34 Removing intermediate container 5d21775ddf81 23:47:34 ---> abd3c1b03141 23:47:34 Step 10/12 : COPY . . 23:47:34 ---> f67960f265b5 23:47:34 Step 11/12 : ARG MAKE='make build' 23:47:34 ---> Running in b8d8c8a864b2 23:47:34 Removing intermediate container b8d8c8a864b2 23:47:34 ---> 5c94ce7e0d6a 23:47:34 Step 12/12 : RUN $MAKE 23:47:34 ---> Running in ec2162f571aa 23:47:34 noop 23:47:34 Removing intermediate container ec2162f571aa 23:47:34 ---> 81f5218cda34 23:47:34 Successfully built 81f5218cda34 23:47:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:47:35 + docker inspect -f . ci-base-image-arm64 23:47:35 . [Pipeline] withDockerContainer 23:47:35 prd-ubuntu18.04-docker-arm64-4c-16g-4174 does not seem to be running inside a container 23:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:47:36 $ docker top 1a04a882aa708fe4d1dcd67bc8b557a0438c7b10a34534d5960d89d2e8826ee4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:47:37 + go version 23:47:37 go version go1.17.6 linux/arm64 [Pipeline] } 23:47:37 $ docker stop --time=1 1a04a882aa708fe4d1dcd67bc8b557a0438c7b10a34534d5960d89d2e8826ee4 23:47:38 $ docker rm -f 1a04a882aa708fe4d1dcd67bc8b557a0438c7b10a34534d5960d89d2e8826ee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:47:39 + docker inspect -f . ci-base-image-arm64 23:47:39 . [Pipeline] withDockerContainer 23:47:39 prd-ubuntu18.04-docker-arm64-4c-16g-4174 does not seem to be running inside a container 23:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:47:41 $ docker top 2b99ed9833c20afd6a686839665a0c03d57dbfb5094ef947ca0aa0be10c83dbe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:47:41 + make test 23:47:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:47:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:48:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:48:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.120s coverage: 65.7% of statements 23:48:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:48:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:48:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:48:48 ./bin/test-attribution-txt.sh [Pipeline] echo 23:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:48:49 $ docker stop --time=1 2b99ed9833c20afd6a686839665a0c03d57dbfb5094ef947ca0aa0be10c83dbe 23:48:51 $ docker rm -f 2b99ed9833c20afd6a686839665a0c03d57dbfb5094ef947ca0aa0be10c83dbe [Pipeline] // withDockerContainer [Pipeline] sh 23:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:48:52 Warning: overwriting stash ‘coverage-report’ 23:48:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:48:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:48:53 + ls -al . 23:48:53 total 192 23:48:53 drwxrwxr-x 7 jenkins jenkins 4096 Jan 28 23:48 . 23:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 23:45 .. 23:48:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 23:45 .git 23:48:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 23:45 .github 23:48:53 -rw-rw-r-- 1 jenkins jenkins 270 Jan 28 23:45 .gitignore 23:48:53 -rw-rw-r-- 1 jenkins jenkins 6514 Jan 28 23:45 Attribution.txt 23:48:53 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 28 23:45 CHANGELOG.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 28 23:45 Dockerfile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 677 Jan 28 23:45 GOVERNANCE.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 660 Jan 28 23:45 Jenkinsfile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 28 23:45 LICENSE 23:48:53 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 28 23:45 Makefile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 623 Jan 28 23:45 OWNERS.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 28 23:45 README.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 23:41 VERSION 23:48:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 23:45 bin 23:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 28 23:45 cmd 23:48:53 -rw-r--r-- 1 jenkins jenkins 44128 Jan 28 23:48 coverage.out 23:48:53 -rw-rw-r-- 1 jenkins jenkins 2733 Jan 28 23:45 go.mod 23:48:53 -rw-rw-r-- 1 jenkins jenkins 49169 Jan 28 23:45 go.sum 23:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 28 23:45 internal 23:48:53 -rw-rw-r-- 1 jenkins jenkins 235 Jan 28 23:45 version.go [Pipeline] isUnix [Pipeline] sh 23:48:54 + 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=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe --label arch=arm64 --label version=0.0.0 . 23:48:54 Sending build context to Docker daemon 11.67MB 23:48:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 23:48:54 Step 2/26 : FROM ${BASE} AS builder 23:48:54 ---> 81f5218cda34 23:48:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:48:54 ---> Running in 7800f56001fb 23:48:54 Removing intermediate container 7800f56001fb 23:48:54 ---> f4c6176fb1f3 23:48:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:48:55 ---> Running in 2e7ca0110e32 23:48:55 Removing intermediate container 2e7ca0110e32 23:48:55 ---> 18b495266c4a 23:48:55 Step 5/26 : WORKDIR /device-virtual-go 23:48:55 ---> Running in ab04d82f5440 23:48:56 Removing intermediate container ab04d82f5440 23:48:56 ---> 65e8f65a4891 23:48:56 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:48:56 ---> Running in f80f2b43c366 23:48:58 Removing intermediate container f80f2b43c366 23:48:58 ---> 60aa4a59355c 23:48:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:58 ---> Running in 30658f69e0bf 23:48:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:48:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:49:00 OK: 224 MiB in 56 packages 23:49:01 Removing intermediate container 30658f69e0bf 23:49:01 ---> 87544a5e4508 23:49:01 Step 8/26 : COPY go.mod vendor* ./ 23:49:02 ---> 46d7da2ed1d6 23:49:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:02 ---> Running in b059c155b825 23:49:04 Removing intermediate container b059c155b825 23:49:04 ---> 9c30b0d3014c 23:49:04 Step 10/26 : COPY . . 23:49:05 ---> 00a0f591a28a 23:49:05 Step 11/26 : ARG MAKE='make build' 23:49:05 ---> Running in 9ae96ac770dd 23:49:05 Removing intermediate container 9ae96ac770dd 23:49:05 ---> fed502d77c48 23:49:05 Step 12/26 : RUN $MAKE 23:49:05 ---> Running in 5c1adbb87382 23:49:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:49:53 Removing intermediate container 5c1adbb87382 23:49:53 ---> 2471514e35c5 23:49:53 Step 13/26 : FROM alpine:3.14 23:49:53 3.14: Pulling from library/alpine 23:49:53 be307f383ecc: Pulling fs layer 23:49:53 be307f383ecc: Verifying Checksum 23:49:53 be307f383ecc: Download complete 23:49:53 be307f383ecc: Pull complete 23:49:53 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:49:53 Status: Downloaded newer image for alpine:3.14 23:49:53 ---> 5b8b7b635229 23:49:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:49:53 ---> Running in f3ca5e2c4e1e 23:49:53 Removing intermediate container f3ca5e2c4e1e 23:49:53 ---> f563bd43399a 23:49:53 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:49:53 ---> Running in d617f073a963 23:49:53 Removing intermediate container d617f073a963 23:49:53 ---> 4acc05bfbf70 23:49:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:49:53 ---> Running in 0476d051410f 23:49:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:49:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:49:53 (1/6) Installing dumb-init (1.2.5-r1) 23:49:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:49:53 (3/6) Installing libsodium (1.0.18-r0) 23:49:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:49:53 (5/6) Installing libzmq (4.3.4-r0) 23:49:53 (6/6) Installing zeromq (4.3.4-r0) 23:49:53 Executing busybox-1.33.1-r6.trigger 23:49:53 OK: 8 MiB in 20 packages 23:49:54 Removing intermediate container 0476d051410f 23:49:54 ---> 412d49b5a0c8 23:49:54 Step 17/26 : WORKDIR / 23:49:54 ---> Running in ea91d5842f74 23:49:54 Removing intermediate container ea91d5842f74 23:49:54 ---> f9268a56240c 23:49:54 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:49:55 ---> 6f68c530681f 23:49:55 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:49:55 ---> 1a930fb53f07 23:49:55 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:49:56 ---> dafe0261fe1f 23:49:56 Step 21/26 : EXPOSE 59900 23:49:56 ---> Running in c11947d14eab 23:49:57 Removing intermediate container c11947d14eab 23:49:57 ---> b4b9de35cf87 23:49:57 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:49:57 ---> Running in 4c0962e0cbfc 23:49:57 Removing intermediate container 4c0962e0cbfc 23:49:57 ---> 53a257432eea 23:49:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:49:57 ---> Running in f349301cde8c 23:49:58 Removing intermediate container f349301cde8c 23:49:58 ---> 0f5355f9f605 23:49:58 Step 24/26 : LABEL arch=arm64 23:49:58 ---> Running in 637d5453d98a 23:49:58 Removing intermediate container 637d5453d98a 23:49:58 ---> cad1c951481f 23:49:58 Step 25/26 : LABEL git_sha=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe 23:49:58 ---> Running in afec115ed55a 23:49:58 Removing intermediate container afec115ed55a 23:49:58 ---> 5e0e8261d7f9 23:49:58 Step 26/26 : LABEL version=0.0.0 23:49:58 ---> Running in daac65c9b9a0 23:49:59 Removing intermediate container daac65c9b9a0 23:49:59 ---> f5cf9ebc0dd8 23:49:59 [Warning] One or more build-args [ARCH] were not consumed 23:49:59 Successfully built f5cf9ebc0dd8 23:49:59 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:59 23:49:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:49:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:59 arm64: Pulling from edgex-lftools-log-publisher 23:49:59 448f6bf000e3: Pulling fs layer 23:49:59 f757da607395: Pulling fs layer 23:50:00 05883995daec: Pulling fs layer 23:50:00 8603b9c90790: Pulling fs layer 23:50:00 1560dd03e051: Pulling fs layer 23:50:00 27f5ce0e4adf: Pulling fs layer 23:50:00 c2d8d7efcc4b: Pulling fs layer 23:50:00 8603b9c90790: Waiting 23:50:00 1560dd03e051: Waiting 23:50:00 27f5ce0e4adf: Waiting 23:50:00 c2d8d7efcc4b: Waiting 23:50:00 f757da607395: Verifying Checksum 23:50:00 f757da607395: Download complete 23:50:00 8603b9c90790: Verifying Checksum 23:50:00 8603b9c90790: Download complete 23:50:00 1560dd03e051: Verifying Checksum 23:50:00 1560dd03e051: Download complete 23:50:00 27f5ce0e4adf: Download complete 23:50:00 05883995daec: Verifying Checksum 23:50:00 05883995daec: Download complete 23:50:00 448f6bf000e3: Verifying Checksum 23:50:00 448f6bf000e3: Download complete 23:50:03 c2d8d7efcc4b: Verifying Checksum 23:50:03 c2d8d7efcc4b: Download complete 23:50:04 448f6bf000e3: Pull complete 23:50:04 f757da607395: Pull complete 23:50:06 05883995daec: Pull complete 23:50:06 8603b9c90790: Pull complete 23:50:07 1560dd03e051: Pull complete 23:50:07 27f5ce0e4adf: Pull complete 23:50:22 c2d8d7efcc4b: Pull complete 23:50:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:50:22 prd-ubuntu18.04-docker-arm64-4c-16g-4174 does not seem to be running inside a container 23:50:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:50:25 $ docker top ef4c41508850aafd557ecddc31dacea6dabad19ab60edaa11a8d0d5df27b3c2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:26 ---> job-cost.sh 23:50:26 lf-activate-venv: SKIPPING 23:50:26 INFO: No Stack... 23:50:26 INFO: Retrieving Pricing Info for: v3-standard-4 23:50:27 INFO: Archiving Costs [Pipeline] sh 23:50:27 + cut -d, -f6 23:50:27 + cat /w/workspace/device-virtual-go/5/archives/cost.csv [Pipeline] lock 23:50:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] 23:50:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] did not exist. Created. 23:50:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:28 /w/workspace/device-virtual-go/5@tmp/durable-e2d8b0dc/script.sh: 1: /w/workspace/device-virtual-go/5@tmp/durable-e2d8b0dc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:50:29 + echo total: 0.10999999940395355 [Pipeline] stash 23:50:29 Warning: overwriting stash ‘stack-cost’ 23:50:29 Stashed 1 file(s) [Pipeline] } 23:50:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-261-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:29 $ docker stop --time=1 ef4c41508850aafd557ecddc31dacea6dabad19ab60edaa11a8d0d5df27b3c2a 23:50:30 $ docker rm -f ef4c41508850aafd557ecddc31dacea6dabad19ab60edaa11a8d0d5df27b3c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:50:31 provisioning config files... 23:50:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config501745980878200846tmp [Pipeline] { [Pipeline] sh 23:50:31 + set +x 23:50:31 + bash -s -- 23:50:31 + curl -s https://codecov.io/bash 23:50:31 23:50:31 _____ _ 23:50:31 / ____| | | 23:50:31 | | ___ __| | ___ ___ _____ __ 23:50:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:50:31 | |___| (_) | (_| | __/ (_| (_) \ V / 23:50:31 \_____\___/ \__,_|\___|\___\___/ \_/ 23:50:31 Bash-1.0.6 23:50:31 23:50:31 23:50:31 ==> git version 2.24.4 found 23:50: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 23:50:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:50:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:50:31 ==> Jenkins CI detected. 23:50:31 current dir:  /w/workspace/foundry_device-virtual-go_PR-261 23:50:31 project root: . 23:50:31 --> token set from env 23:50:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:50:31 ==> Running gcov in . (disable via -X gcov) 23:50:31 ==> Python coveragepy not found 23:50:31 ==> Searching for coverage reports in: 23:50:31 + . 23:50:31 -> Found 1 reports 23:50:31 ==> Detecting git/mercurial file structure 23:50:31 ==> Reading reports 23:50:31 + ./coverage.out bytes=44128 23:50:31 ==> Appending adjustments 23:50:31 https://docs.codecov.io/docs/fixing-reports 23:50:31 + Found adjustments 23:50:31 ==> Gzipping contents 23:50:31 8.0K /tmp/codecov.PNfbGD.gz 23:50:31 ==> Uploading reports 23:50:31 url: https://codecov.io 23:50:31 query: branch=PR-261&commit=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-261%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=261&job=&cmd_args= 23:50:31 -> Pinging Codecov 23:50:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-261&commit=b49af054c53e0d1d353ebab51b2907ddb8cd2ffe&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-261%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=261&job=&cmd_args= 23:50:32 -> Uploading to 23:50:32 https://storage.googleapis.com/codecov/v4/raw/2022-01-28/5E52B4B073DB2E39498172D8E973AA87/b49af054c53e0d1d353ebab51b2907ddb8cd2ffe/a83948bd-d42f-41f3-a258-10176348a23f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220128T235032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a87a8bc0d32e5addeca5eb00c543e7968c5674a3d6e4a22f6ad81d26977bd61f 23:50:32 % Total % Received % Xferd Average Speed Time Time Time Current 23:50:32 Dload Upload Total Spent Left Speed 23:50:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5276 0 0 100 5276 0 14522 --:--:-- --:--:-- --:--:-- 14494 100 5276 0 0 100 5276 0 14516 --:--:-- --:--:-- --:--:-- 14494 23:50:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b49af054c53e0d1d353ebab51b2907ddb8cd2ffe [Pipeline] } 23:50: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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:50:33 + '[' -d /w/workspace/foundry_device-virtual-go_PR-261/archives ']' 23:50:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-261/archives 23:50:33 total 8 23:50:33 drwxr-xr-x. 3 root root 34 Jan 28 23:43 . 23:50:33 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 28 23:43 .. 23:50:33 drwxr-xr-x. 2 root root 6 Jan 28 23:43 cost 23:50:33 -rw-r--r--. 1 root root 88 Jan 28 23:43 cost.csv 23:50:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-261/archives 23:50:33 + ls -al /w/workspace/foundry_device-virtual-go_PR-261/archives 23:50:33 total 8 23:50:33 drwxr-xr-x. 3 jenkins jenkins 34 Jan 28 23:43 . 23:50:33 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 28 23:43 .. 23:50:33 drwxr-xr-x. 2 jenkins jenkins 6 Jan 28 23:43 cost 23:50:33 -rw-r--r--. 1 jenkins jenkins 88 Jan 28 23:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:50:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:34 ---> package-listing.sh 23:50:34 ++ facter osfamily 23:50:34 ++ tr '[:upper:]' '[:lower:]' 23:50:34 + OS_FAMILY=redhat 23:50:34 + workspace=/w/workspace/foundry_device-virtual-go_PR-261 23:50:34 + START_PACKAGES=/tmp/packages_start.txt 23:50:34 + END_PACKAGES=/tmp/packages_end.txt 23:50:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:34 + PACKAGES=/tmp/packages_start.txt 23:50:34 + '[' /w/workspace/foundry_device-virtual-go_PR-261 ']' 23:50:34 + PACKAGES=/tmp/packages_end.txt 23:50:34 + case "${OS_FAMILY}" in 23:50:34 + sort 23:50:34 + rpm -qa 23:50:35 + '[' -f /tmp/packages_start.txt ']' 23:50:35 + '[' -f /tmp/packages_end.txt ']' 23:50:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:35 + '[' /w/workspace/foundry_device-virtual-go_PR-261 ']' 23:50:35 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-261/archives/ 23:50:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-261/archives/ [Pipeline] echo 23:50:35 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:50:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:36 . [Pipeline] withDockerContainer 23:50:36 prd-centos7-docker-4c-2g-4173 does not seem to be running inside a container 23:50:36 $ 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-261/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-261 -v /w/workspace/foundry_device-virtual-go_PR-261:/w/workspace/foundry_device-virtual-go_PR-261:rw,z -v /w/workspace/foundry_device-virtual-go_PR-261@tmp:/w/workspace/foundry_device-virtual-go_PR-261@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:36 $ docker top c03281e8c26fc0cad8a65e37d6c6f946f257710303730cd527e18a3b1cadf803 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:37 + touch /tmp/pre-build-complete [Pipeline] sh 23:50:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:50:37 + ls /var/log/sa-host 23:50:37 + sadf -c /var/log/sa-host/sa17 23:50:37 file_magic: OK 23:50:37 HZ: Using current value: 100 23:50:37 file_header: OK 23:50:37 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 23:50:37 Statistics: 23:50:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:50:37 File successfully converted to sysstat format version 12.0.3 23:50:37 + sadf -c /var/log/sa-host/sa28 23:50:37 file_magic: OK 23:50:37 HZ: Using current value: 100 23:50:37 file_header: OK 23:50:37 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 23:50:37 Statistics: 23:50:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:50:37 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:37 provisioning config files... 23:50:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-261@tmp/config8811346255816704846tmp [Pipeline] { [Pipeline] echo 23:50:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:50:38 ---> create-netrc.sh [Pipeline] } 23:50:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:50:38 ---> python-tools-install.sh [Pipeline] echo 23:50:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:50:38 ---> sudo-logs.sh 23:50:38 Archiving 'sudo' log.. 23:50:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-4173.novalocal: Name or service not known 23:50:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-4173.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:50:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:50:39 ---> job-cost.sh 23:50:39 lf-activate-venv: SKIPPING 23:50:39 DEBUG: total: 0.05999999865889549 23:50:39 INFO: Retrieving Stack Cost... 23:50:39 INFO: Retrieving Pricing Info for: v3-standard-2 23:50:39 INFO: Archiving Costs [Pipeline] echo 23:50:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:50:40 ---> logs-deploy.sh 23:50:40 lf-activate-venv: SKIPPING 23:50:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-261/5 23:50:40 INFO: archiving workspace using pattern(s): 23:50:40 Archives upload complete. 23:50:41 INFO: archiving logs to Nexus