Pull request #302 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761+eb73192e64f29d5b7509ef98fadefc4f8094ab1e (237b77b8d26cdd2846ec2af1b7ef04401f37153f) 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-ssh15040466859956738701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7637517051192667709.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15548659781213115750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh5959165946065222120.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1278125629259890091.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24151 in /w/workspace/foundry_device-virtual-go_PR-302 [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-302 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 Merge succeeded, producing b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 Checking out Revision b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 (PR-302) Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 Commit message: "build: Add option to build Core/Support services with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:14 ========================================================= 00:42:14 EdgeX Global Pipelines Version Info 00:42:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b91021cb91e463882b30122b38254e31238ac68e # timeout=10 00:42:15 ------------------- 00:42:15 stable info: 00:42:15 ------------------- 00:42:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:42:15 Message: update stable to v1.0.239 00:42:16 ------------------- 00:42:16 experimental info: 00:42:16 ------------------- 00:42:16 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:16 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:42:16 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2c1e7d [Pipeline] echo 00:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:16 provisioning config files... 00:42:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config8891287437814073305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:17 ---> docker-login.sh 00:42:17 nexus3.edgexfoundry.org:10001 00:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 nexus3.edgexfoundry.org:10002 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 nexus3.edgexfoundry.org:10003 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 nexus3.edgexfoundry.org:10004 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 docker.io 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 ---> docker-login.sh ends [Pipeline] } 00:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:19 + git rev-list -1 --merges b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761~1..b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo 00:42:19 -----------> git rev-list -1 --merges b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761~1..b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [false] [Pipeline] sh 00:42:19 + git log --format=format:%s -1 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo 00:42:19 ========================================================= 00:42:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:20 + git log --format=format:%s -1 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo 00:42:20 [semverPrep] GIT_COMMIT: b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761, Commit Message: build: Add option to build Core/Support services with NATS Capability [Pipeline] echo 00:42:20 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:20 + grep -v github /etc/ssh/ssh_known_hosts 00:42:20 + [ -e /tmp/ssh_known_hosts ] 00:42:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:20 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:20 00:42:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:21 0.1.4: Pulling from edgex-devops/py-git-semver 00:42:21 b85a868b505f: Pulling fs layer 00:42:21 e2be974225ed: Pulling fs layer 00:42:21 339a4e72a1f5: Pulling fs layer 00:42:21 988bab9f4d93: Pulling fs layer 00:42:21 1469e6f7b9e6: Pulling fs layer 00:42:21 eaf3925da568: Pulling fs layer 00:42:21 bab4dde63d76: Pulling fs layer 00:42:21 bde34c3a00c8: Pulling fs layer 00:42:21 b352a97aabf1: Pulling fs layer 00:42:21 4872d77fe225: Pulling fs layer 00:42:21 5851b861e8e6: Pulling fs layer 00:42:21 b352a97aabf1: Waiting 00:42:21 988bab9f4d93: Waiting 00:42:21 4872d77fe225: Waiting 00:42:21 bde34c3a00c8: Waiting 00:42:21 1469e6f7b9e6: Waiting 00:42:21 eaf3925da568: Waiting 00:42:21 5851b861e8e6: Waiting 00:42:21 bab4dde63d76: Waiting 00:42:21 e2be974225ed: Verifying Checksum 00:42:21 e2be974225ed: Download complete 00:42:21 988bab9f4d93: Verifying Checksum 00:42:21 988bab9f4d93: Download complete 00:42:21 1469e6f7b9e6: Verifying Checksum 00:42:21 1469e6f7b9e6: Download complete 00:42:21 339a4e72a1f5: Verifying Checksum 00:42:21 339a4e72a1f5: Download complete 00:42:21 eaf3925da568: Verifying Checksum 00:42:21 eaf3925da568: Download complete 00:42:21 bde34c3a00c8: Verifying Checksum 00:42:21 bde34c3a00c8: Download complete 00:42:21 b352a97aabf1: Verifying Checksum 00:42:21 b352a97aabf1: Download complete 00:42:21 4872d77fe225: Download complete 00:42:21 5851b861e8e6: Download complete 00:42:21 b85a868b505f: Verifying Checksum 00:42:21 b85a868b505f: Download complete 00:42:21 bab4dde63d76: Verifying Checksum 00:42:21 bab4dde63d76: Download complete 00:42:23 b85a868b505f: Pull complete 00:42:23 e2be974225ed: Pull complete 00:42:24 339a4e72a1f5: Pull complete 00:42:24 988bab9f4d93: Pull complete 00:42:24 1469e6f7b9e6: Pull complete 00:42:24 eaf3925da568: Pull complete 00:42:26 bab4dde63d76: Pull complete 00:42:26 bde34c3a00c8: Pull complete 00:42:27 b352a97aabf1: Pull complete 00:42:27 4872d77fe225: Pull complete 00:42:27 5851b861e8e6: Pull complete 00:42:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:27 prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container 00:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:42:35 $ docker top 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 -eo pid,comm 00:42:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:42:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:35 [ssh-agent] Looking for ssh-agent implementation... 00:42:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:35 $ docker exec 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent 00:42:35 SSH_AUTH_SOCK=/tmp/ssh-8J0QnLNVOqs9/agent.15 00:42:35 SSH_AGENT_PID=21 00:42:35 Running ssh-add (command line suppressed) 00:42:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_4650101792502010330.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_4650101792502010330.key) 00:42:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:36 + git tag --points-at HEAD [Pipeline] } 00:42:36 $ docker exec --env ******** --env ******** 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent -k 00:42:36 unset SSH_AUTH_SOCK; 00:42:36 unset SSH_AGENT_PID; 00:42:36 echo Agent pid 21 killed; 00:42:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:36 [ssh-agent] Looking for ssh-agent implementation... 00:42:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:36 $ docker exec 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent 00:42:36 SSH_AUTH_SOCK=/tmp/ssh-my6z5kEBgH5V/agent.62 00:42:36 SSH_AGENT_PID=79 00:42:36 Running ssh-add (command line suppressed) 00:42:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_579353742372381765.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_579353742372381765.key) 00:42:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:37 + git semver init 00:42:37 2022-08-31 00:42:37,367 [run_init] DEBUG init version:0.0.0 force:False 00:42:37 2022-08-31 00:42:37,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-302/.semver 00:42:37 2022-08-31 00:42:37,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-302/.semver 00:42:37 2022-08-31 00:42:37,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-302/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-302, universal_newlines=False, shell=None, istream=None) 00:42:39 2022-08-31 00:42:38,813 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-302/.git/info/exclude 00:42:39 2022-08-31 00:42:38,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 with force:False 00:42:39 2022-08-31 00:42:38,814 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 00:42:39 2022-08-31 00:42:38,818 [execute] INFO git cat-file --batch-check 00:42:39 2022-08-31 00:42:38,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 00:42:39 2022-08-31 00:42:38,824 [execute] INFO git cat-file --batch 00:42:39 2022-08-31 00:42:38,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 00:42:39 2022-08-31 00:42:38,829 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 00:42:39 0.0.0 [Pipeline] } 00:42:39 $ docker exec --env ******** --env ******** 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent -k 00:42:39 unset SSH_AUTH_SOCK; 00:42:39 unset SSH_AGENT_PID; 00:42:39 echo Agent pid 79 killed; 00:42:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:39 + git semver [Pipeline] } 00:42:40 $ docker stop --time=1 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 00:42:42 $ docker rm -f 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:43 Stashed 1 file(s) [Pipeline] echo 00:42:43 [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 00:42:43 provisioning config files... 00:42:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config1264942521594321001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:43 ---> docker-login.sh 00:42:43 nexus3.edgexfoundry.org:10001 00:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:43 Configure a credential helper to remove this warning. See 00:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:43 00:42:43 Login Succeeded 00:42:43 nexus3.edgexfoundry.org:10002 00:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:43 Configure a credential helper to remove this warning. See 00:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:43 00:42:43 Login Succeeded 00:42:43 nexus3.edgexfoundry.org:10003 00:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:43 Configure a credential helper to remove this warning. See 00:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:43 00:42:43 Login Succeeded 00:42:43 nexus3.edgexfoundry.org:10004 00:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:44 Configure a credential helper to remove this warning. See 00:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:44 00:42:44 Login Succeeded 00:42:44 docker.io 00:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:44 Configure a credential helper to remove this warning. See 00:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:44 00:42:44 Login Succeeded 00:42:44 ---> docker-login.sh ends [Pipeline] } 00:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:44 ========================================================= 00:42:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:42:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:42:44 Sending build context to Docker daemon 23.12MB 00:42:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:42:44 Step 2/13 : FROM ${BASE} AS builder 00:42:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:45 2408cc74d12b: Pulling fs layer 00:42:45 ea60b727a1ce: Pulling fs layer 00:42:45 30c4a7721957: Pulling fs layer 00:42:45 370296b7ddb6: Pulling fs layer 00:42:45 7c6cee850709: Pulling fs layer 00:42:45 39a5fcdaea64: Pulling fs layer 00:42:45 d94ebbe4e438: Pulling fs layer 00:42:45 bcfd1f05c69d: Pulling fs layer 00:42:45 59ccb84bbe0f: Pulling fs layer 00:42:45 370296b7ddb6: Waiting 00:42:45 7c6cee850709: Waiting 00:42:45 39a5fcdaea64: Waiting 00:42:45 d94ebbe4e438: Waiting 00:42:45 bcfd1f05c69d: Waiting 00:42:45 59ccb84bbe0f: Waiting 00:42:45 30c4a7721957: Verifying Checksum 00:42:45 30c4a7721957: Download complete 00:42:45 ea60b727a1ce: Download complete 00:42:45 7c6cee850709: Verifying Checksum 00:42:45 7c6cee850709: Download complete 00:42:46 39a5fcdaea64: Download complete 00:42:46 2408cc74d12b: Verifying Checksum 00:42:46 2408cc74d12b: Download complete 00:42:46 d94ebbe4e438: Download complete 00:42:46 2408cc74d12b: Pull complete 00:42:46 59ccb84bbe0f: Verifying Checksum 00:42:46 59ccb84bbe0f: Download complete 00:42:46 bcfd1f05c69d: Verifying Checksum 00:42:46 bcfd1f05c69d: Download complete 00:42:46 370296b7ddb6: Verifying Checksum 00:42:46 370296b7ddb6: Download complete 00:42:47 ea60b727a1ce: Pull complete 00:42:47 30c4a7721957: Pull complete 00:42:52 370296b7ddb6: Pull complete 00:42:52 7c6cee850709: Pull complete 00:42:52 39a5fcdaea64: Pull complete 00:42:52 d94ebbe4e438: Pull complete 00:42:54 bcfd1f05c69d: Pull complete 00:42:55 59ccb84bbe0f: Pull complete 00:42:55 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:42:55 ---> a4fb48ad2a94 00:42:55 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:42:58 Still waiting to schedule task 00:42:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:43:17 ---> Running in 2c0f9c16cbad 00:43:17 Removing intermediate container 2c0f9c16cbad 00:43:17 ---> 9a30a47e4753 00:43:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:43:17 ---> Running in 2da2a7f41c4e 00:43:17 Removing intermediate container 2da2a7f41c4e 00:43:17 ---> 2cb03a711212 00:43:17 Step 5/13 : ARG ADD_BUILD_TAGS="" 00:43:17 ---> Running in 2002ec985749 00:43:17 Removing intermediate container 2002ec985749 00:43:17 ---> a5ed7f98fadd 00:43:17 Step 6/13 : WORKDIR /device-virtual-go 00:43:17 ---> Running in 49712bec1ebd 00:43:17 Removing intermediate container 49712bec1ebd 00:43:17 ---> f57f2f9edfdf 00:43:17 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:17 ---> Running in a0617f74d985 00:43:17 Removing intermediate container a0617f74d985 00:43:17 ---> 3d06e70878ee 00:43:17 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:17 ---> Running in c797155f0259 00:43:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:43:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:43:19 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:43:19 (2/4) Installing libedit (20210910.3.1-r0) 00:43:19 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:43:19 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:43:19 Executing busybox-1.35.0-r13.trigger 00:43:19 OK: 216 MiB in 55 packages 00:43:21 Removing intermediate container c797155f0259 00:43:21 ---> 36e8b96393f9 00:43:21 Step 9/13 : COPY go.mod vendor* ./ 00:43:21 ---> 84140bcb89c7 00:43:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:21 ---> Running in 9f8928baa943 00:44:00 Removing intermediate container 9f8928baa943 00:44:00 ---> 1a0b69a01e3a 00:44:00 Step 11/13 : COPY . . 00:44:00 ---> 0e3f26fd4017 00:44:00 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:00 ---> Running in 7831295b7f54 00:44:00 Removing intermediate container 7831295b7f54 00:44:00 ---> fbfbd539a69d 00:44:00 Step 13/13 : RUN $MAKE 00:44:00 ---> Running in 8f2a8e254022 00:44:00 noop 00:44:00 Removing intermediate container 8f2a8e254022 00:44:00 ---> 3ff7a16fb2c7 00:44:00 Successfully built 3ff7a16fb2c7 00:44:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:01 + docker inspect -f . ci-base-image-x86_64 00:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:01 prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container 00:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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 ******** -e ******** ci-base-image-x86_64 cat 00:44:02 $ docker top a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:02 + go version 00:44:02 go version go1.18.3 linux/amd64 [Pipeline] } 00:44:02 $ docker stop --time=1 a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e 00:44:04 $ docker rm -f a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:05 + docker inspect -f . ci-base-image-x86_64 00:44:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:05 prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container 00:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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 ******** -e ******** ci-base-image-x86_64 cat 00:44:07 $ docker top 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:07 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] fileExists [Pipeline] sh 00:44:07 + make test 00:44:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:44:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:44:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:44:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 00:44:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:44:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:44:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:29 ./bin/test-attribution-txt.sh 00:44:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 00:44:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 00:44:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 00:44:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:44:29 $ docker stop --time=1 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f 00:44:35 $ docker rm -f 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f [Pipeline] // withDockerContainer [Pipeline] sh 00:44:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:44:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:44:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:44:36 + ls -al . 00:44:36 total 192 00:44:36 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:44 . 00:44:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 .. 00:44:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:44 .git 00:44:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 .github 00:44:36 -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:42 .gitignore 00:44:36 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:42 .golangci.yml 00:44:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:42 .semver 00:44:36 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:42 Attribution.txt 00:44:36 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:42 CHANGELOG.md 00:44:36 -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:42 Dockerfile 00:44:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:42 GOVERNANCE.md 00:44:36 -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:42 Jenkinsfile 00:44:36 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:42 LICENSE 00:44:36 -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:42 Makefile 00:44:36 -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:42 OWNERS.md 00:44:36 -rw-rw-r-- 1 jenkins jenkins 3578 Aug 31 00:42 README.md 00:44:36 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION 00:44:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:42 bin 00:44:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 cmd 00:44:36 -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:44 coverage.out 00:44:36 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:42 go.mod 00:44:36 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:42 go.sum 00:44:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 internal 00:44:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 snap 00:44:36 -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:37 + 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=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 --label arch=amd64 --label version=0.0.0 . 00:44:37 Sending build context to Docker daemon 23.17MB 00:44:37 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:44:37 Step 2/27 : FROM ${BASE} AS builder 00:44:37 ---> 3ff7a16fb2c7 00:44:37 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:44:37 ---> Running in 0d0acee04a35 00:44:38 Removing intermediate container 0d0acee04a35 00:44:38 ---> 2ffe91253acd 00:44:38 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:44:38 ---> Running in 239e57978cec 00:44:39 Removing intermediate container 239e57978cec 00:44:39 ---> 380fbed517cf 00:44:39 Step 5/27 : ARG ADD_BUILD_TAGS="" 00:44:39 ---> Running in 4a38ad7bd6aa 00:44:40 Removing intermediate container 4a38ad7bd6aa 00:44:40 ---> eeb227073f0f 00:44:40 Step 6/27 : WORKDIR /device-virtual-go 00:44:40 ---> Running in 2528ca65dfd7 00:44:40 Removing intermediate container 2528ca65dfd7 00:44:40 ---> 01d164d27bee 00:44:40 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:44:40 ---> Running in 0d82de0abca3 00:44:42 Removing intermediate container 0d82de0abca3 00:44:42 ---> a7bf83e79922 00:44:42 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:43 ---> Running in ea2eb35d8087 00:44:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:44:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:44:44 OK: 216 MiB in 55 packages 00:44:46 Removing intermediate container ea2eb35d8087 00:44:46 ---> a77fee940c31 00:44:46 Step 9/27 : COPY go.mod vendor* ./ 00:44:46 ---> 397a9c2a13fb 00:44:46 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:47 ---> Running in 47857817a8b5 00:44:49 Removing intermediate container 47857817a8b5 00:44:49 ---> cac2fff2605e 00:44:49 Step 11/27 : COPY . . 00:44:50 ---> f194d06fca0c 00:44:50 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:50 ---> Running in d9904977b9f6 00:44:51 Removing intermediate container d9904977b9f6 00:44:51 ---> aea6d4cfb2b9 00:44:51 Step 13/27 : RUN $MAKE 00:44:51 ---> Running in a9dcba1dda75 00:44:52 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 00:44:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24155 in /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] { [Pipeline] ws 00:44:53 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 00:44:53 The recommended git tool is: git 00:45:00 using credential edgex-jenkins-ssh 00:45:00 Cloning the remote Git repository 00:45:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:45:00 > git init /w/workspace/device-virtual-go/3 # timeout=10 00:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:45:00 > git --version # timeout=10 00:45:01 > git --version # 'git version 2.25.1' 00:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:03 Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 00:45:04 Merge succeeded, producing b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 00:45:04 Checking out Revision b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 (PR-302) 00:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:45:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:45:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:03 > git config core.sparsecheckout # timeout=10 00:45:03 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 00:45:04 > git remote # timeout=10 00:45:04 > git config --get remote.origin.url # timeout=10 00:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:04 > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 00:45:04 > git rev-parse HEAD^{commit} # timeout=10 00:45:04 > git config core.sparsecheckout # timeout=10 00:45:04 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 00:45:08 Commit message: "build: Add option to build Core/Support services with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:09 Dload Upload Total Spent Left Speed 00:45:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 00:45:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:10 + sudo tee /etc/docker/daemon.new 00:45:10 { 00:45:10 "registry-mirrors": [ 00:45:10 "https://nexus3.edgexfoundry.org:10001" 00:45:10 ], 00:45:10 "bip": "10.250.0.254/24", 00:45:10 "hosts": [ 00:45:10 "tcp://0.0.0.0:5555", 00:45:10 "unix:///var/run/docker.sock" 00:45:10 ], 00:45:10 "mtu": 1458, 00:45:10 "selinux-enabled": true, 00:45:10 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:10 } [Pipeline] sh 00:45:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:11 + sudo service docker restart 00:45:24 Removing intermediate container a9dcba1dda75 00:45:24 ---> 354500eb7e57 00:45:24 Step 14/27 : FROM alpine:3.16 00:45:24 3.16: Pulling from library/alpine 00:45:24 213ec9aee27d: Pulling fs layer 00:45:24 213ec9aee27d: Download complete 00:45:24 213ec9aee27d: Pull complete 00:45:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:45:24 Status: Downloaded newer image for alpine:3.16 00:45:24 ---> 9c6f07244728 00:45:24 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:45:24 ---> Running in 9d9da1b5418a 00:45:24 Removing intermediate container 9d9da1b5418a 00:45:24 ---> 639ed0176a07 00:45:24 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:45:24 ---> Running in 20f1907e8e56 00:45:24 Removing intermediate container 20f1907e8e56 00:45:24 ---> 6a510e299128 00:45:24 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:45:24 ---> Running in 914827e83617 00:45:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:45:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:45:26 (1/6) Installing dumb-init (1.2.5-r1) 00:45:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:45:26 (3/6) Installing libsodium (1.0.18-r0) 00:45:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:45:26 (5/6) Installing libzmq (4.3.4-r0) 00:45:26 (6/6) Installing zeromq (4.3.4-r0) 00:45:27 Executing busybox-1.35.0-r17.trigger 00:45:27 OK: 8 MiB in 20 packages 00:45:28 Removing intermediate container 914827e83617 00:45:28 ---> 42993d95d420 00:45:28 Step 18/27 : WORKDIR / 00:45:28 ---> Running in 486f8cb8f8df 00:45:29 Removing intermediate container 486f8cb8f8df 00:45:29 ---> d167cb77e5af 00:45:29 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:29 provisioning config files... 00:45:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config988023151214495383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:29 ---> docker-login.sh 00:45:29 nexus3.edgexfoundry.org:10001 00:45:30 ---> 2a6ed5efd447 00:45:30 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 00:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:30 Configure a credential helper to remove this warning. See 00:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:30 00:45:30 Login Succeeded 00:45:30 nexus3.edgexfoundry.org:10002 00:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:31 Configure a credential helper to remove this warning. See 00:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:31 00:45:31 Login Succeeded 00:45:31 nexus3.edgexfoundry.org:10003 00:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:31 ---> c76be7c0688f 00:45:31 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 00:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:31 Configure a credential helper to remove this warning. See 00:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:31 00:45:31 Login Succeeded 00:45:31 nexus3.edgexfoundry.org:10004 00:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:32 Configure a credential helper to remove this warning. See 00:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:32 00:45:32 Login Succeeded 00:45:32 docker.io 00:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:33 Configure a credential helper to remove this warning. See 00:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:33 00:45:33 Login Succeeded 00:45:33 ---> docker-login.sh ends [Pipeline] } 00:45:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:33 ========================================================= 00:45:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:45:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:45:34 ---> 1d785b143853 00:45:34 Step 22/27 : EXPOSE 59900 00:45:34 Sending build context to Docker daemon 11.7MB 00:45:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:45:34 Step 2/13 : FROM ${BASE} AS builder 00:45:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:34 b3c136eddcbf: Pulling fs layer 00:45:34 c0a3192eca97: Pulling fs layer 00:45:34 a050256f5b6f: Pulling fs layer 00:45:34 656be50a0ddc: Pulling fs layer 00:45:34 2bbca73fdf42: Pulling fs layer 00:45:34 46d945488cbd: Pulling fs layer 00:45:34 8a5474983e97: Pulling fs layer 00:45:34 329c88fbcd65: Pulling fs layer 00:45:34 2bbca73fdf42: Waiting 00:45:34 46d945488cbd: Waiting 00:45:34 8a5474983e97: Waiting 00:45:34 329c88fbcd65: Waiting 00:45:34 656be50a0ddc: Waiting 00:45:34 a050256f5b6f: Verifying Checksum 00:45:34 a050256f5b6f: Download complete 00:45:34 c0a3192eca97: Verifying Checksum 00:45:34 c0a3192eca97: Download complete 00:45:34 2bbca73fdf42: Verifying Checksum 00:45:34 2bbca73fdf42: Download complete 00:45:35 46d945488cbd: Verifying Checksum 00:45:35 46d945488cbd: Download complete 00:45:35 b3c136eddcbf: Verifying Checksum 00:45:35 b3c136eddcbf: Download complete 00:45:35 ---> Running in ce2fb477acbd 00:45:35 Removing intermediate container ce2fb477acbd 00:45:35 ---> d8b6d8a06c1e 00:45:35 Step 23/27 : ENTRYPOINT ["/device-virtual"] 00:45:35 ---> Running in 9690b6645fa4 00:45:36 b3c136eddcbf: Pull complete 00:45:36 329c88fbcd65: Verifying Checksum 00:45:36 329c88fbcd65: Download complete 00:45:36 Removing intermediate container 9690b6645fa4 00:45:36 ---> a6590a526a02 00:45:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:45:36 c0a3192eca97: Pull complete 00:45:36 ---> Running in 9d2cc9f51f2c 00:45:36 a050256f5b6f: Pull complete 00:45:37 Removing intermediate container 9d2cc9f51f2c 00:45:37 ---> 3a2f43717065 00:45:37 Step 25/27 : LABEL arch=amd64 00:45:37 ---> Running in 661ddf8d0376 00:45:37 8a5474983e97: Verifying Checksum 00:45:37 8a5474983e97: Download complete 00:45:37 Removing intermediate container 661ddf8d0376 00:45:37 ---> d1483a7d794a 00:45:37 Step 26/27 : LABEL git_sha=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 00:45:37 ---> Running in fe6b00992c03 00:45:37 Removing intermediate container fe6b00992c03 00:45:37 ---> d1e4db80ca64 00:45:37 Step 27/27 : LABEL version=0.0.0 00:45:37 656be50a0ddc: Verifying Checksum 00:45:37 656be50a0ddc: Download complete 00:45:37 ---> Running in 83c2c6c293d3 00:45:38 Removing intermediate container 83c2c6c293d3 00:45:38 ---> 5f2fcbe1e8e9 00:45:38 [Warning] One or more build-args [ARCH] were not consumed 00:45:38 Successfully built 5f2fcbe1e8e9 00:45:38 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 00:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:38 00:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:39 latest: Pulling from edgex-lftools-log-publisher 00:45:39 5eb5b503b376: Pulling fs layer 00:45:39 5c69ac0246d0: Pulling fs layer 00:45:39 ec43610c2a17: Pulling fs layer 00:45:39 3a2ae6a8a46f: Pulling fs layer 00:45:39 33b1e0a273af: Pulling fs layer 00:45:39 5d3b04190fa2: Pulling fs layer 00:45:39 2f39f015ded8: Pulling fs layer 00:45:39 33b1e0a273af: Waiting 00:45:39 2f39f015ded8: Waiting 00:45:39 5d3b04190fa2: Waiting 00:45:39 3a2ae6a8a46f: Waiting 00:45:39 5c69ac0246d0: Download complete 00:45:39 3a2ae6a8a46f: Verifying Checksum 00:45:39 3a2ae6a8a46f: Download complete 00:45:39 33b1e0a273af: Verifying Checksum 00:45:39 33b1e0a273af: Download complete 00:45:39 ec43610c2a17: Verifying Checksum 00:45:39 ec43610c2a17: Download complete 00:45:39 5d3b04190fa2: Download complete 00:45:39 5eb5b503b376: Verifying Checksum 00:45:39 5eb5b503b376: Download complete 00:45:40 2f39f015ded8: Download complete 00:45:40 5eb5b503b376: Pull complete 00:45:40 5c69ac0246d0: Pull complete 00:45:41 ec43610c2a17: Pull complete 00:45:41 3a2ae6a8a46f: Pull complete 00:45:41 33b1e0a273af: Pull complete 00:45:41 5d3b04190fa2: Pull complete 00:45:47 2f39f015ded8: Pull complete 00:45:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:45:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:47 prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container 00:45:47 $ 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-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:45:50 656be50a0ddc: Pull complete 00:45:50 2bbca73fdf42: Pull complete 00:45:50 46d945488cbd: Pull complete 00:45:54 $ docker top f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:54 ---> job-cost.sh 00:45:54 lf-activate-venv: SKIPPING 00:45:54 INFO: No Stack... 00:45:54 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:55 INFO: Archiving Costs [Pipeline] sh 00:45:55 + cat /w/workspace/foundry_device-virtual-go_PR-302/archives/cost.csv 00:45:55 + cut -d, -f6 [Pipeline] lock 00:45:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] 00:45:55 Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] did not exist. Created. 00:45:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:45:56 + echo total: 0.2199999988079071 [Pipeline] stash 00:45:56 Stashed 1 file(s) [Pipeline] } 00:45:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:45:56 $ docker stop --time=1 f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b 00:45:56 8a5474983e97: Pull complete 00:45:57 $ docker rm -f f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:58 329c88fbcd65: Pull complete 00:45:58 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:45:58 ---> ff4287adb874 00:45:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:45:58 ---> Running in b78f17ad9c09 00:45:59 Removing intermediate container b78f17ad9c09 00:45:59 ---> 8cd80c056acd 00:45:59 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:45:59 ---> Running in 41aa2a9ce638 00:45:59 Removing intermediate container 41aa2a9ce638 00:45:59 ---> 4ba2f26c9746 00:45:59 Step 5/13 : ARG ADD_BUILD_TAGS="" 00:45:59 ---> Running in 8e15325a52c6 00:46:00 Removing intermediate container 8e15325a52c6 00:46:00 ---> deb0e31ac0dd 00:46:00 Step 6/13 : WORKDIR /device-virtual-go 00:46:00 ---> Running in 46dc0e1931eb 00:46:00 Removing intermediate container 46dc0e1931eb 00:46:00 ---> c07f0e6cf9a2 00:46:00 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:00 ---> Running in 006cfe9718a7 00:46:04 Removing intermediate container 006cfe9718a7 00:46:04 ---> 17485b452075 00:46:04 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:04 ---> Running in cc8d6eaa40d8 00:46:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:46:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:46:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:46:06 (2/4) Installing libedit (20210910.3.1-r0) 00:46:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:46:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:46:07 Executing busybox-1.35.0-r13.trigger 00:46:07 OK: 226 MiB in 55 packages 00:46:08 Removing intermediate container cc8d6eaa40d8 00:46:08 ---> 41bc1fd57e96 00:46:08 Step 9/13 : COPY go.mod vendor* ./ 00:46:08 ---> 934303abbd02 00:46:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:09 ---> Running in 482b1c2929ba 00:47:05 Removing intermediate container 482b1c2929ba 00:47:05 ---> b38a34f45889 00:47:05 Step 11/13 : COPY . . 00:47:05 ---> 07b42245f38f 00:47:05 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:47:05 ---> Running in 97b4278ddd28 00:47:05 Removing intermediate container 97b4278ddd28 00:47:05 ---> 6fd19611239b 00:47:05 Step 13/13 : RUN $MAKE 00:47:05 ---> Running in 767025c58846 00:47:05 noop 00:47:05 Removing intermediate container 767025c58846 00:47:05 ---> 03ead7f3b724 00:47:05 Successfully built 03ead7f3b724 00:47:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:06 + docker inspect -f . ci-base-image-arm64 00:47:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:06 prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container 00:47:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:08 $ docker top 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:08 + go version 00:47:08 go version go1.18.3 linux/arm64 [Pipeline] } 00:47:09 $ docker stop --time=1 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 00:47:10 $ docker rm -f 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:11 + docker inspect -f . ci-base-image-arm64 00:47:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:11 prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container 00:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:13 $ docker top 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:14 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 00:47:14 + make test 00:47:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:47:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:48:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:48:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 65.7% of statements 00:48:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:48:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:49:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:12 ./bin/test-attribution-txt.sh 00:49:12 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 00:49:12 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 00:49:12 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 00:49:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:49:12 $ docker stop --time=1 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 00:49:14 $ docker rm -f 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 [Pipeline] // withDockerContainer [Pipeline] sh 00:49:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:15 Warning: overwriting stash ‘coverage-report’ 00:49:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:16 + ls -al . 00:49:16 total 188 00:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:47 . 00:49:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:45 .. 00:49:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:45 .git 00:49:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 .github 00:49:16 -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:45 .gitignore 00:49:16 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:45 .golangci.yml 00:49:16 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:45 Attribution.txt 00:49:16 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:45 CHANGELOG.md 00:49:16 -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:45 Dockerfile 00:49:16 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:45 GOVERNANCE.md 00:49:16 -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:45 Jenkinsfile 00:49:16 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:45 LICENSE 00:49:16 -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:45 Makefile 00:49:16 -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:45 OWNERS.md 00:49:16 -rw-rw-r-- 1 jenkins jenkins 3578 Aug 31 00:45 README.md 00:49:16 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION 00:49:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:45 bin 00:49:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 cmd 00:49:16 -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:48 coverage.out 00:49:16 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:45 go.mod 00:49:16 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:45 go.sum 00:49:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 internal 00:49:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:45 snap 00:49:16 -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:17 + 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=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 --label arch=arm64 --label version=0.0.0 . 00:49:17 Sending build context to Docker daemon 11.75MB 00:49:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:49:17 Step 2/27 : FROM ${BASE} AS builder 00:49:17 ---> 03ead7f3b724 00:49:17 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:49:17 ---> Running in bc22c12b9950 00:49:18 Removing intermediate container bc22c12b9950 00:49:18 ---> b3b4eadf53b6 00:49:18 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:49:18 ---> Running in 3559a7a3ca26 00:49:18 Removing intermediate container 3559a7a3ca26 00:49:18 ---> 7cb9cbef98a9 00:49:18 Step 5/27 : ARG ADD_BUILD_TAGS="" 00:49:18 ---> Running in 919f9c777ffc 00:49:19 Removing intermediate container 919f9c777ffc 00:49:19 ---> e80eeeab7a9b 00:49:19 Step 6/27 : WORKDIR /device-virtual-go 00:49:19 ---> Running in 51353d94ef7b 00:49:19 Removing intermediate container 51353d94ef7b 00:49:19 ---> e09a773af8dd 00:49:19 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:19 ---> Running in 0424b413d8db 00:49:21 Removing intermediate container 0424b413d8db 00:49:21 ---> 4c6d13af3c69 00:49:21 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:21 ---> Running in fbf16533ce62 00:49:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:49:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:49:24 OK: 226 MiB in 55 packages 00:49:25 Removing intermediate container fbf16533ce62 00:49:25 ---> b19a38bd0eb3 00:49:25 Step 9/27 : COPY go.mod vendor* ./ 00:49:25 ---> 4e3c2cb563be 00:49:25 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:26 ---> Running in b1889fa48bf4 00:49:28 Removing intermediate container b1889fa48bf4 00:49:28 ---> d1e93c4ca4af 00:49:28 Step 11/27 : COPY . . 00:49:29 ---> dd9f2a47edeb 00:49:29 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:49:29 ---> Running in 3d48e4e9b034 00:49:29 Removing intermediate container 3d48e4e9b034 00:49:29 ---> 8e4c3d40607c 00:49:29 Step 13/27 : RUN $MAKE 00:49:29 ---> Running in 742d37661cff 00:49:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 00:51:53 Removing intermediate container 742d37661cff 00:51:53 ---> 12afd76bee8c 00:51:53 Step 14/27 : FROM alpine:3.16 00:51:53 3.16: Pulling from library/alpine 00:51:53 9b18e9b68314: Pulling fs layer 00:51:53 9b18e9b68314: Verifying Checksum 00:51:53 9b18e9b68314: Download complete 00:51:53 9b18e9b68314: Pull complete 00:51:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:51:53 Status: Downloaded newer image for alpine:3.16 00:51:53 ---> a6215f271958 00:51:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:51:53 ---> Running in 59b06cb8c916 00:51:53 Removing intermediate container 59b06cb8c916 00:51:53 ---> 087acad4fecc 00:51:53 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:51:53 ---> Running in ca712566604e 00:51:53 Removing intermediate container ca712566604e 00:51:53 ---> d27679474a32 00:51:53 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:51:53 ---> Running in e0c521fd4967 00:51:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:51:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:51:56 (1/6) Installing dumb-init (1.2.5-r1) 00:51:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:51:56 (3/6) Installing libsodium (1.0.18-r0) 00:51:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:51:56 (5/6) Installing libzmq (4.3.4-r0) 00:51:56 (6/6) Installing zeromq (4.3.4-r0) 00:51:56 Executing busybox-1.35.0-r17.trigger 00:51:56 OK: 8 MiB in 20 packages 00:51:57 Removing intermediate container e0c521fd4967 00:51:57 ---> 244dd536e533 00:51:57 Step 18/27 : WORKDIR / 00:51:58 ---> Running in e25248b0724b 00:51:58 Removing intermediate container e25248b0724b 00:51:58 ---> 6b1fcb1391ab 00:51:58 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:51:58 ---> 87dc7cf297b5 00:51:58 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 00:51:59 ---> 5a9c0e37c339 00:51:59 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 00:52:01 ---> 0fe3bd234164 00:52:01 Step 22/27 : EXPOSE 59900 00:52:01 ---> Running in 19a00eb8c4f2 00:52:01 Removing intermediate container 19a00eb8c4f2 00:52:01 ---> 1fca94621fc5 00:52:01 Step 23/27 : ENTRYPOINT ["/device-virtual"] 00:52:01 ---> Running in cccbce534682 00:52:01 Removing intermediate container cccbce534682 00:52:01 ---> e2252f115438 00:52:01 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:52:01 ---> Running in 59e7d3b70c6a 00:52:02 Removing intermediate container 59e7d3b70c6a 00:52:02 ---> 6c6ef04bf51d 00:52:02 Step 25/27 : LABEL arch=arm64 00:52:02 ---> Running in 2983c89440e0 00:52:02 Removing intermediate container 2983c89440e0 00:52:02 ---> c38a2624bead 00:52:02 Step 26/27 : LABEL git_sha=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 00:52:02 ---> Running in b3892a073029 00:52:03 Removing intermediate container b3892a073029 00:52:03 ---> 1b150e3817a2 00:52:03 Step 27/27 : LABEL version=0.0.0 00:52:03 ---> Running in c6a350e1035f 00:52:03 Removing intermediate container c6a350e1035f 00:52:03 ---> dcf3641eb9b7 00:52:03 [Warning] One or more build-args [ARCH] were not consumed 00:52:03 Successfully built dcf3641eb9b7 00:52:03 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 00:52:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:03 00:52:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:04 arm64: Pulling from edgex-lftools-log-publisher 00:52:04 8998bd30e6a1: Pulling fs layer 00:52:04 04944245beec: Pulling fs layer 00:52:04 699f458cf7ca: Pulling fs layer 00:52:04 765212b225bb: Pulling fs layer 00:52:04 f23df028b6ca: Pulling fs layer 00:52:04 d65c8cfc05b1: Pulling fs layer 00:52:04 2437ff75d9bd: Pulling fs layer 00:52:04 f23df028b6ca: Waiting 00:52:04 d65c8cfc05b1: Waiting 00:52:04 2437ff75d9bd: Waiting 00:52:04 765212b225bb: Waiting 00:52:04 04944245beec: Verifying Checksum 00:52:04 04944245beec: Download complete 00:52:04 765212b225bb: Download complete 00:52:04 f23df028b6ca: Download complete 00:52:04 d65c8cfc05b1: Verifying Checksum 00:52:04 d65c8cfc05b1: Download complete 00:52:04 699f458cf7ca: Verifying Checksum 00:52:04 699f458cf7ca: Download complete 00:52:04 8998bd30e6a1: Verifying Checksum 00:52:04 8998bd30e6a1: Download complete 00:52:07 2437ff75d9bd: Verifying Checksum 00:52:07 2437ff75d9bd: Download complete 00:52:09 8998bd30e6a1: Pull complete 00:52:09 04944245beec: Pull complete 00:52:11 699f458cf7ca: Pull complete 00:52:11 765212b225bb: Pull complete 00:52:12 f23df028b6ca: Pull complete 00:52:12 d65c8cfc05b1: Pull complete 00:52:27 2437ff75d9bd: Pull complete 00:52:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:27 prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container 00:52:27 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:52:30 $ docker top 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:31 ---> job-cost.sh 00:52:31 lf-activate-venv: SKIPPING 00:52:31 INFO: No Stack... 00:52:31 INFO: Retrieving Pricing Info for: v3-standard-4 00:52:32 INFO: Archiving Costs [Pipeline] sh 00:52:33 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 00:52:33 + cut -d, -f6 [Pipeline] lock 00:52:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] 00:52:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] did not exist. Created. 00:52:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:52:33 /w/workspace/device-virtual-go/3@tmp/durable-549ea444/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:52:34 + echo total: 0.10999999940395355 [Pipeline] stash 00:52:34 Warning: overwriting stash ‘stack-cost’ 00:52:34 Stashed 1 file(s) [Pipeline] } 00:52:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:52:34 $ docker stop --time=1 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c 00:52:36 $ docker rm -f 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c [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 00:52:36 provisioning config files... 00:52:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config5355355292262828516tmp [Pipeline] { [Pipeline] sh 00:52:37 + set +x 00:52:37 + + curl -s https://codecov.io/bash 00:52:37 bash -s -- 00:52:37 00:52:37 _____ _ 00:52:37 / ____| | | 00:52:37 | | ___ __| | ___ ___ _____ __ 00:52:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:52:37 | |___| (_) | (_| | __/ (_| (_) \ V / 00:52:37 \_____\___/ \__,_|\___|\___\___/ \_/ 00:52:37 Bash-1.0.6 00:52:37 00:52:37 00:52:37 ==> git version 2.25.1 found 00:52:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:52:37 Release-Date: 2020-01-08 00:52:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:52:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:52:37 ==> Jenkins CI detected. 00:52:37 current dir:  /w/workspace/foundry_device-virtual-go_PR-302 00:52:37 project root: . 00:52:37 --> token set from env 00:52:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:52:37 ==> Running gcov in . (disable via -X gcov) 00:52:37 ==> Python coveragepy not found 00:52:37 ==> Searching for coverage reports in: 00:52:37 + . 00:52:37 -> Found 1 reports 00:52:37 ==> Detecting git/mercurial file structure 00:52:37 ==> Reading reports 00:52:37 + ./coverage.out bytes=44128 00:52:37 ==> Appending adjustments 00:52:37 https://docs.codecov.io/docs/fixing-reports 00:52:37 + Found adjustments 00:52:37 ==> Gzipping contents 00:52:37 8.0K /tmp/codecov.r75mjm.gz 00:52:37 ==> Uploading reports 00:52:37 url: https://codecov.io 00:52:37 query: branch=PR-302&commit=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= 00:52:37 -> Pinging Codecov 00:52:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-302&commit=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= 00:52:37 -> Uploading to 00:52:37 https://storage.googleapis.com/codecov/v4/raw/2022-08-31/5E52B4B073DB2E39498172D8E973AA87/b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761/9b5b6bc1-194f-4988-b65f-7625136f1493.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T005237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ffe7c92e5ec56e4b75758a8c954d0e88cd547037a0e710cf2e9ad291f14bdce 00:52:37 % Total % Received % Xferd Average Speed Time Time Time Current 00:52:37 Dload Upload Total Spent Left Speed 00:52:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 24689 --:--:-- --:--:-- --:--:-- 24578 100 5481 0 0 100 5481 0 22463 --:--:-- --:--:-- --:--:-- 22371 00:52:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] } 00:52:37 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 00:52:38 + [ -d /w/workspace/foundry_device-virtual-go_PR-302/archives ] 00:52:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives 00:52:38 total 16 00:52:38 drwxr-xr-x 3 root root 4096 Aug 31 00:45 . 00:52:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:45 .. 00:52:38 drwxr-xr-x 2 root root 4096 Aug 31 00:45 cost 00:52:38 -rw-r--r-- 1 root root 89 Aug 31 00:45 cost.csv 00:52:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-302/archives 00:52:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives 00:52:38 total 16 00:52:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:45 . 00:52:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:45 .. 00:52:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:45 cost 00:52:38 -rw-r--r-- 1 jenkins jenkins 89 Aug 31 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:52:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:52:39 ---> package-listing.sh 00:52:39 ++ facter osfamily 00:52:39 ++ tr '[:upper:]' '[:lower:]' 00:52:39 + OS_FAMILY=debian 00:52:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-302 00:52:39 + START_PACKAGES=/tmp/packages_start.txt 00:52:39 + END_PACKAGES=/tmp/packages_end.txt 00:52:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:52:39 + PACKAGES=/tmp/packages_start.txt 00:52:39 + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' 00:52:39 + PACKAGES=/tmp/packages_end.txt 00:52:39 + case "${OS_FAMILY}" in 00:52:39 + dpkg -l 00:52:39 + grep '^ii' 00:52:39 + '[' -f /tmp/packages_start.txt ']' 00:52:39 + '[' -f /tmp/packages_end.txt ']' 00:52:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:52:39 + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' 00:52:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-302/archives/ 00:52:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-302/archives/ [Pipeline] echo 00:52:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:52:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:52:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:40 prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container 00:52:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-302/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-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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 00:52:41 $ docker top 50ebd21ad9131f91108d1af8ae1683fded6d23d9db4119ec58be27624896fff2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:41 + touch /tmp/pre-build-complete [Pipeline] sh 00:52:41 + mkdir -p /var/log/sysstat [Pipeline] sh 00:52:42 + ls /var/log/sa-host 00:52:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:42 provisioning config files... 00:52:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config1121785591541114567tmp [Pipeline] { [Pipeline] echo 00:52:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:52:42 ---> create-netrc.sh [Pipeline] } 00:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:52:42 ---> python-tools-install.sh [Pipeline] echo 00:52:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:52:43 ---> sudo-logs.sh 00:52:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:52:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:52:43 ---> job-cost.sh 00:52:43 lf-activate-venv: SKIPPING 00:52:43 DEBUG: total: 0.2199999988079071 00:52:43 INFO: Retrieving Stack Cost... 00:52:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:52:44 INFO: Archiving Costs [Pipeline] echo 00:52:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:52:44 ---> logs-deploy.sh 00:52:44 lf-activate-venv: SKIPPING 00:52:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-302/3 00:52:44 INFO: archiving workspace using pattern(s): 00:52:45 Archives upload complete. 00:52:45 INFO: archiving logs to Nexus 00:52:46 ---> uname -a: 00:52:46 Linux prd-ubuntu20-04-docker-8c-8g-24151 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:52:46 00:52:46 00:52:46 ---> lscpu: 00:52:46 Architecture: x86_64 00:52:46 CPU op-mode(s): 32-bit, 64-bit 00:52:46 Byte Order: Little Endian 00:52:46 Address sizes: 40 bits physical, 48 bits virtual 00:52:46 CPU(s): 8 00:52:46 On-line CPU(s) list: 0-7 00:52:46 Thread(s) per core: 1 00:52:46 Core(s) per socket: 1 00:52:46 Socket(s): 8 00:52:46 NUMA node(s): 1 00:52:46 Vendor ID: AuthenticAMD 00:52:46 CPU family: 23 00:52:46 Model: 49 00:52:46 Model name: AMD EPYC-Rome Processor 00:52:46 Stepping: 0 00:52:46 CPU MHz: 2800.002 00:52:46 BogoMIPS: 5600.00 00:52:46 Virtualization: AMD-V 00:52:46 Hypervisor vendor: KVM 00:52:46 Virtualization type: full 00:52:46 L1d cache: 256 KiB 00:52:46 L1i cache: 256 KiB 00:52:46 L2 cache: 4 MiB 00:52:46 L3 cache: 128 MiB 00:52:46 NUMA node0 CPU(s): 0-7 00:52:46 Vulnerability Itlb multihit: Not affected 00:52:46 Vulnerability L1tf: Not affected 00:52:46 Vulnerability Mds: Not affected 00:52:46 Vulnerability Meltdown: Not affected 00:52:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:52:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:52:46 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:52:46 Vulnerability Srbds: Not affected 00:52:46 Vulnerability Tsx async abort: Not affected 00:52:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:52:46 00:52:46 00:52:46 ---> nproc: 00:52:46 8 00:52:46 00:52:46 00:52:46 ---> df -h: 00:52:46 Filesystem Size Used Avail Use% Mounted on 00:52:46 overlay 155G 11G 145G 7% / 00:52:46 tmpfs 64M 0 64M 0% /dev 00:52:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:52:46 shm 64M 0 64M 0% /dev/shm 00:52:46 /dev/vda1 155G 11G 145G 7% /facter-os 00:52:46 00:52:46