Pull request #305 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 8e09dda8b9aa182ade6eb2b9437360abeeb2d025+266afac79739f3db6a467d2e291baff0c6e168aa (4d4e8335f91a4483f7d3dd0624f2c830ba170708) 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-ssh15540726499289869870.key Verifying host key using known hosts file > 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-ssh16193937232611441417.key Verifying host key using known hosts file > 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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8090025123554650743.key Verifying host key using known hosts file > 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-ssh13764479458789439997.key Verifying host key using known hosts file > 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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10766655157022912520.key Verifying host key using known hosts file > 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 Running on prd-ubuntu20.04-docker-8c-8g-1401 in /w/workspace/foundry_device-virtual-go_PR-305 [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-305 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 266afac79739f3db6a467d2e291baff0c6e168aa into PR head commit 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 Merge succeeded, producing 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 Checking out Revision 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 266afac79739f3db6a467d2e291baff0c6e168aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. > git rev-list --no-walk 55baadd97b2491ed3c22238d812226204efb8613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:50:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:50:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:50:42 ========================================================= 20:50:42 EdgeX Global Pipelines Version Info 20:50:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:50:43 ------------------- 20:50:43 stable info: 20:50:43 ------------------- 20:50:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:50:43 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:50:43 Message: update stable to v1.0.239 20:50:43 ------------------- 20:50:43 experimental info: 20:50:43 ------------------- 20:50:43 Commited By: **** collab-it+edgex@linuxfoundation.org 20:50:43 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:50:43 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e09dda [Pipeline] echo 20:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:44 provisioning config files... 20:50:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config12965740791708657431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:44 ---> docker-login.sh 20:50:44 nexus3.edgexfoundry.org:10001 20:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:45 Configure a credential helper to remove this warning. See 20:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:45 20:50:45 Login Succeeded 20:50:45 nexus3.edgexfoundry.org:10002 20:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:45 Configure a credential helper to remove this warning. See 20:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:45 20:50:45 Login Succeeded 20:50:45 nexus3.edgexfoundry.org:10003 20:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:45 Configure a credential helper to remove this warning. See 20:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:45 20:50:45 Login Succeeded 20:50:45 nexus3.edgexfoundry.org:10004 20:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:45 Configure a credential helper to remove this warning. See 20:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:45 20:50:45 Login Succeeded 20:50:45 docker.io 20:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:45 Configure a credential helper to remove this warning. See 20:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:45 20:50:45 Login Succeeded 20:50:45 ---> docker-login.sh ends [Pipeline] } 20:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:50:46 + git rev-list -1 --merges 8e09dda8b9aa182ade6eb2b9437360abeeb2d025~1..8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [Pipeline] echo 20:50:46 -----------> git rev-list -1 --merges 8e09dda8b9aa182ade6eb2b9437360abeeb2d025~1..8e09dda8b9aa182ade6eb2b9437360abeeb2d025 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [false] [Pipeline] sh 20:50:46 + git log --format=format:%s -1 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [Pipeline] echo 20:50:46 ========================================================= 20:50:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:50:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:46 + git log --format=format:%s -1 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [Pipeline] echo 20:50:46 [semverPrep] GIT_COMMIT: 8e09dda8b9aa182ade6eb2b9437360abeeb2d025, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo 20:50:46 [semverPrep] This is not a build commit. [Pipeline] sh 20:50:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:50:47 + grep -v github /etc/ssh/ssh_known_hosts 20:50:47 + [ -e /tmp/ssh_known_hosts ] 20:50:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:50:47 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:50:47 sudo tee -a /etc/ssh/ssh_known_hosts 20:50:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:47 20:50:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:48 0.1.4: Pulling from edgex-devops/py-git-semver 20:50:48 b85a868b505f: Pulling fs layer 20:50:48 e2be974225ed: Pulling fs layer 20:50:48 339a4e72a1f5: Pulling fs layer 20:50:48 988bab9f4d93: Pulling fs layer 20:50:48 1469e6f7b9e6: Pulling fs layer 20:50:48 eaf3925da568: Pulling fs layer 20:50:48 bab4dde63d76: Pulling fs layer 20:50:48 bde34c3a00c8: Pulling fs layer 20:50:48 b352a97aabf1: Pulling fs layer 20:50:48 4872d77fe225: Pulling fs layer 20:50:48 5851b861e8e6: Pulling fs layer 20:50:48 988bab9f4d93: Waiting 20:50:48 1469e6f7b9e6: Waiting 20:50:48 bab4dde63d76: Waiting 20:50:48 eaf3925da568: Waiting 20:50:48 bde34c3a00c8: Waiting 20:50:48 b352a97aabf1: Waiting 20:50:48 4872d77fe225: Waiting 20:50:48 5851b861e8e6: Waiting 20:50:48 e2be974225ed: Download complete 20:50:48 988bab9f4d93: Verifying Checksum 20:50:48 988bab9f4d93: Download complete 20:50:48 1469e6f7b9e6: Verifying Checksum 20:50:48 1469e6f7b9e6: Download complete 20:50:48 eaf3925da568: Verifying Checksum 20:50:48 eaf3925da568: Download complete 20:50:48 339a4e72a1f5: Verifying Checksum 20:50:48 339a4e72a1f5: Download complete 20:50:48 bde34c3a00c8: Verifying Checksum 20:50:48 bde34c3a00c8: Download complete 20:50:48 b352a97aabf1: Download complete 20:50:48 4872d77fe225: Verifying Checksum 20:50:48 4872d77fe225: Download complete 20:50:48 5851b861e8e6: Verifying Checksum 20:50:48 5851b861e8e6: Download complete 20:50:48 b85a868b505f: Verifying Checksum 20:50:48 b85a868b505f: Download complete 20:50:48 bab4dde63d76: Verifying Checksum 20:50:48 bab4dde63d76: Download complete 20:50:49 b85a868b505f: Pull complete 20:50:49 e2be974225ed: Pull complete 20:50:49 339a4e72a1f5: Pull complete 20:50:50 988bab9f4d93: Pull complete 20:50:50 1469e6f7b9e6: Pull complete 20:50:50 eaf3925da568: Pull complete 20:50:52 bab4dde63d76: Pull complete 20:50:52 bde34c3a00c8: Pull complete 20:50:52 b352a97aabf1: Pull complete 20:50:52 4872d77fe225: Pull complete 20:50:52 5851b861e8e6: Pull complete 20:50:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:50:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:52 prd-ubuntu20.04-docker-8c-8g-1401 does not seem to be running inside a container 20:50:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:50:53 $ docker top 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea -eo pid,comm 20:50:53 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). 20:50:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:53 [ssh-agent] Looking for ssh-agent implementation... 20:50:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:53 $ docker exec 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea ssh-agent 20:50:53 SSH_AUTH_SOCK=/tmp/ssh-rDi8kIY2heN5/agent.32 20:50:53 SSH_AGENT_PID=39 20:50:53 Running ssh-add (command line suppressed) 20:50:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_17586305852503347392.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_17586305852503347392.key) 20:50:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:54 + git tag --points-at HEAD [Pipeline] } 20:50:54 $ docker exec --env ******** --env ******** 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea ssh-agent -k 20:50:54 unset SSH_AUTH_SOCK; 20:50:54 unset SSH_AGENT_PID; 20:50:54 echo Agent pid 39 killed; 20:50:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:50:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:54 [ssh-agent] Looking for ssh-agent implementation... 20:50:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:54 $ docker exec 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea ssh-agent 20:50:54 SSH_AUTH_SOCK=/tmp/ssh-bOv0fikGN0rF/agent.73 20:50:54 SSH_AGENT_PID=79 20:50:54 Running ssh-add (command line suppressed) 20:50:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_65014611070707362.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_65014611070707362.key) 20:50:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:55 + git semver init 20:50:55 2022-09-27 20:50:55,232 [run_init] DEBUG init version:0.0.0 force:False 20:50:55 2022-09-27 20:50:55,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver 20:50:55 2022-09-27 20:50:55,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver 20:50:55 2022-09-27 20:50:55,233 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-305/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-305, universal_newlines=False, shell=None, istream=None) 20:50:56 2022-09-27 20:50:56,320 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude 20:50:56 2022-09-27 20:50:56,321 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False 20:50:56 2022-09-27 20:50:56,321 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 20:50:56 2022-09-27 20:50:56,325 [execute] INFO git cat-file --batch-check 20:50:56 2022-09-27 20:50:56,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 20:50:56 2022-09-27 20:50:56,331 [execute] INFO git cat-file --batch 20:50:56 2022-09-27 20:50:56,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 20:50:56 2022-09-27 20:50:56,336 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 20:50:56 0.0.0 [Pipeline] } 20:50:56 $ docker exec --env ******** --env ******** 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea ssh-agent -k 20:50:56 unset SSH_AUTH_SOCK; 20:50:56 unset SSH_AGENT_PID; 20:50:56 echo Agent pid 79 killed; 20:50:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:57 + git semver [Pipeline] } 20:50:57 $ docker stop --time=1 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea 20:50:58 $ docker rm -f 0453d6124efb47c71cbd883b71d65cef89a426d7119bbdad92ef493069679eea [Pipeline] // withDockerContainer [Pipeline] sh 20:50:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:50:59 Stashed 1 file(s) [Pipeline] echo 20:50:59 [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 20:50:59 provisioning config files... 20:50:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11377455881195719527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:59 ---> docker-login.sh 20:50:59 nexus3.edgexfoundry.org:10001 20:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:59 Configure a credential helper to remove this warning. See 20:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:59 20:50:59 Login Succeeded 20:50:59 nexus3.edgexfoundry.org:10002 20:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:59 Configure a credential helper to remove this warning. See 20:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:59 20:50:59 Login Succeeded 20:50:59 nexus3.edgexfoundry.org:10003 20:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:59 Configure a credential helper to remove this warning. See 20:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:59 20:50:59 Login Succeeded 20:50:59 nexus3.edgexfoundry.org:10004 20:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:59 Configure a credential helper to remove this warning. See 20:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:59 20:50:59 Login Succeeded 20:50:59 docker.io 20:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:00 Configure a credential helper to remove this warning. See 20:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:00 20:51:00 Login Succeeded 20:51:00 ---> docker-login.sh ends [Pipeline] } 20:51:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:00 ========================================================= 20:51:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:51:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:00 + 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 . 20:51:00 Sending build context to Docker daemon 23.17MB 20:51:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:51:00 Step 2/13 : FROM ${BASE} AS builder 20:51:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:51:00 2408cc74d12b: Pulling fs layer 20:51:00 ea60b727a1ce: Pulling fs layer 20:51:00 30c4a7721957: Pulling fs layer 20:51:00 370296b7ddb6: Pulling fs layer 20:51:00 7c6cee850709: Pulling fs layer 20:51:00 39a5fcdaea64: Pulling fs layer 20:51:00 d94ebbe4e438: Pulling fs layer 20:51:00 bcfd1f05c69d: Pulling fs layer 20:51:00 59ccb84bbe0f: Pulling fs layer 20:51:00 bcfd1f05c69d: Waiting 20:51:00 59ccb84bbe0f: Waiting 20:51:00 7c6cee850709: Waiting 20:51:00 39a5fcdaea64: Waiting 20:51:00 370296b7ddb6: Waiting 20:51:01 30c4a7721957: Verifying Checksum 20:51:01 30c4a7721957: Download complete 20:51:01 ea60b727a1ce: Verifying Checksum 20:51:01 ea60b727a1ce: Download complete 20:51:01 7c6cee850709: Download complete 20:51:01 39a5fcdaea64: Verifying Checksum 20:51:01 39a5fcdaea64: Download complete 20:51:01 2408cc74d12b: Verifying Checksum 20:51:01 2408cc74d12b: Download complete 20:51:01 d94ebbe4e438: Download complete 20:51:01 2408cc74d12b: Pull complete 20:51:01 ea60b727a1ce: Pull complete 20:51:01 30c4a7721957: Pull complete 20:51:01 bcfd1f05c69d: Verifying Checksum 20:51:01 bcfd1f05c69d: Download complete 20:51:01 370296b7ddb6: Verifying Checksum 20:51:01 370296b7ddb6: Download complete 20:51:01 59ccb84bbe0f: Verifying Checksum 20:51:01 59ccb84bbe0f: Download complete 20:51:06 370296b7ddb6: Pull complete 20:51:06 7c6cee850709: Pull complete 20:51:06 39a5fcdaea64: Pull complete 20:51:06 d94ebbe4e438: Pull complete 20:51:07 bcfd1f05c69d: Pull complete 20:51:08 59ccb84bbe0f: Pull complete 20:51:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:51:08 ---> a4fb48ad2a94 20:51:08 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:51:10 ---> Running in af71e879b498 20:51:10 Removing intermediate container af71e879b498 20:51:10 ---> 69a860c9f07c 20:51:10 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:51:10 ---> Running in 4379bd6f3237 20:51:10 Removing intermediate container 4379bd6f3237 20:51:10 ---> 9d067fe7485d 20:51:10 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:51:10 ---> Running in 1e502a5dc729 20:51:10 Removing intermediate container 1e502a5dc729 20:51:10 ---> 2b35f423345b 20:51:10 Step 6/13 : WORKDIR /device-virtual-go 20:51:10 ---> Running in 1af1abb04976 20:51:10 Removing intermediate container 1af1abb04976 20:51:10 ---> eac29a5c10e2 20:51:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:10 ---> Running in b783daf528f6 20:51:11 Removing intermediate container b783daf528f6 20:51:11 ---> 41a8bb48f61e 20:51:11 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:11 ---> Running in 7889d474e67d 20:51:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:51:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:51:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:51:12 (2/4) Installing libedit (20210910.3.1-r0) 20:51:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:51:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:51:12 Executing busybox-1.35.0-r13.trigger 20:51:12 OK: 216 MiB in 55 packages 20:51:13 Removing intermediate container 7889d474e67d 20:51:13 ---> 0f6ee6edc0ae 20:51:13 Step 9/13 : COPY go.mod vendor* ./ 20:51:13 ---> 6cf81119b3e3 20:51:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:13 ---> Running in 9c4d724cb7fb 20:51:14 Still waiting to schedule task 20:51:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:51:28 Removing intermediate container 9c4d724cb7fb 20:51:28 ---> 78aff7fe8d53 20:51:28 Step 11/13 : COPY . . 20:51:29 ---> d29016d78f5f 20:51:29 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:29 ---> Running in 478797be244e 20:51:29 Removing intermediate container 478797be244e 20:51:29 ---> ecffade682ec 20:51:29 Step 13/13 : RUN $MAKE 20:51:29 ---> Running in 9bc3038a48d2 20:51:29 noop 20:51:29 Removing intermediate container 9bc3038a48d2 20:51:29 ---> 4482a3545bf5 20:51:29 Successfully built 4482a3545bf5 20:51:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:30 + docker inspect -f . ci-base-image-x86_64 20:51:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:30 prd-ubuntu20.04-docker-8c-8g-1401 does not seem to be running inside a container 20:51:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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-x86_64 cat 20:51:30 $ docker top 5c27f314be912ec8ab9455f83f92aa9dade64fb799924a413d8a0c1e2a1bd574 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:31 + go version 20:51:31 go version go1.18.3 linux/amd64 [Pipeline] } 20:51:31 $ docker stop --time=1 5c27f314be912ec8ab9455f83f92aa9dade64fb799924a413d8a0c1e2a1bd574 20:51:32 $ docker rm -f 5c27f314be912ec8ab9455f83f92aa9dade64fb799924a413d8a0c1e2a1bd574 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:32 + docker inspect -f . ci-base-image-x86_64 20:51:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:32 prd-ubuntu20.04-docker-8c-8g-1401 does not seem to be running inside a container 20:51:32 $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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-x86_64 cat 20:51:33 $ docker top 7f7a9f765a01f62b65b18020fbc99a9b680038e00f921673f5f5aab24483502e -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:33 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh 20:51:33 + make test 20:51:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:51:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:51:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:51:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 20:51:50 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." 20:51:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:51:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:52 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:51:52 $ docker stop --time=1 7f7a9f765a01f62b65b18020fbc99a9b680038e00f921673f5f5aab24483502e 20:51:54 $ docker rm -f 7f7a9f765a01f62b65b18020fbc99a9b680038e00f921673f5f5aab24483502e [Pipeline] // withDockerContainer [Pipeline] sh 20:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:55 + ls -al . 20:51:55 total 200 20:51:55 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:51 . 20:51:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:50 .. 20:51:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:51 .git 20:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:50 .github 20:51:55 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 20:50 .gitignore 20:51:55 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:50 .golangci.yml 20:51:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:50 .semver 20:51:55 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 27 20:50 Attribution.txt 20:51:55 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 20:50 CHANGELOG.md 20:51:55 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 20:50 Dockerfile 20:51:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:50 GOVERNANCE.md 20:51:55 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 20:50 Jenkinsfile 20:51:55 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:50 LICENSE 20:51:55 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 20:50 Makefile 20:51:55 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 20:50 OWNERS.md 20:51:55 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 20:50 README.md 20:51:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:50 VERSION 20:51:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:50 bin 20:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:50 cmd 20:51:55 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 20:51 coverage.out 20:51:55 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 20:50 go.mod 20:51:55 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 20:50 go.sum 20:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:50 internal 20:51:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:50 snap 20:51:55 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 20:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:56 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8e09dda8b9aa182ade6eb2b9437360abeeb2d025 --label arch=amd64 --label version=0.0.0 . 20:51:56 Sending build context to Docker daemon 23.22MB 20:51:56 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:51:56 Step 2/27 : FROM ${BASE} AS builder 20:51:56 ---> 4482a3545bf5 20:51:56 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:51:56 ---> Running in c41fafd9ae6d 20:51:56 Removing intermediate container c41fafd9ae6d 20:51:56 ---> 29a537b3a56c 20:51:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:51:56 ---> Running in 244e0f13b5a5 20:51:56 Removing intermediate container 244e0f13b5a5 20:51:56 ---> 8447aa83ff6f 20:51:56 Step 5/27 : ARG ADD_BUILD_TAGS="" 20:51:56 ---> Running in daa1778dc08a 20:51:56 Removing intermediate container daa1778dc08a 20:51:56 ---> 863a7107f8aa 20:51:56 Step 6/27 : WORKDIR /device-virtual-go 20:51:56 ---> Running in 094129afa117 20:51:56 Removing intermediate container 094129afa117 20:51:56 ---> f0e6469e3d18 20:51:56 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:56 ---> Running in 6ea6bb411743 20:51:57 Removing intermediate container 6ea6bb411743 20:51:57 ---> e3e27ee039b6 20:51:57 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:57 ---> Running in fb7749da2217 20:51:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:51:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:51:58 OK: 216 MiB in 55 packages 20:51:58 Removing intermediate container fb7749da2217 20:51:58 ---> eabfeac7b98e 20:51:58 Step 9/27 : COPY go.mod vendor* ./ 20:51:59 ---> 39c7df8c4751 20:51:59 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:59 ---> Running in ff0587bfdb39 20:51:59 Removing intermediate container ff0587bfdb39 20:51:59 ---> f5383b58cba6 20:51:59 Step 11/27 : COPY . . 20:52:00 ---> bbaecb6bf75c 20:52:00 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:00 ---> Running in deb5a815f498 20:52:00 Removing intermediate container deb5a815f498 20:52:00 ---> b768db6f61ff 20:52:00 Step 13/27 : RUN $MAKE 20:52:00 ---> Running in 9558c6149b5c 20:52:00 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 20:52:18 Removing intermediate container 9558c6149b5c 20:52:18 ---> 85b19c98338f 20:52:18 Step 14/27 : FROM alpine:3.16 20:52:19 3.16: Pulling from library/alpine 20:52:19 213ec9aee27d: Pulling fs layer 20:52:19 213ec9aee27d: Verifying Checksum 20:52:19 213ec9aee27d: Download complete 20:52:19 213ec9aee27d: Pull complete 20:52:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:52:19 Status: Downloaded newer image for alpine:3.16 20:52:19 ---> 9c6f07244728 20:52:19 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:52:19 ---> Running in 78ecb391a6bf 20:52:19 Removing intermediate container 78ecb391a6bf 20:52:19 ---> 57b56b438ea1 20:52:19 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:52:20 ---> Running in bb98a16d6214 20:52:20 Removing intermediate container bb98a16d6214 20:52:20 ---> c28c16df930b 20:52:20 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:52:20 ---> Running in 68ba0abdb23a 20:52:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:52:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:52:22 (1/6) Installing dumb-init (1.2.5-r1) 20:52:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:52:22 (3/6) Installing libsodium (1.0.18-r0) 20:52:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:52:22 (5/6) Installing libzmq (4.3.4-r0) 20:52:22 (6/6) Installing zeromq (4.3.4-r0) 20:52:22 Executing busybox-1.35.0-r17.trigger 20:52:22 OK: 8 MiB in 20 packages 20:52:22 Removing intermediate container 68ba0abdb23a 20:52:22 ---> 8d15bf1a0d7a 20:52:22 Step 18/27 : WORKDIR / 20:52:22 ---> Running in d6bdbdf9b5ef 20:52:23 Removing intermediate container d6bdbdf9b5ef 20:52:23 ---> abfb024dc4a3 20:52:23 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:52:23 ---> a8149a1d04c5 20:52:23 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 20:52:23 ---> 18c9365cc280 20:52:23 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 20:52:23 ---> 7188969d2f37 20:52:23 Step 22/27 : EXPOSE 59900 20:52:23 ---> Running in 0a8c95a8f505 20:52:23 Removing intermediate container 0a8c95a8f505 20:52:23 ---> 673204ffadc3 20:52:23 Step 23/27 : ENTRYPOINT ["/device-virtual"] 20:52:23 ---> Running in 975f6e7d0bdd 20:52:23 Removing intermediate container 975f6e7d0bdd 20:52:23 ---> 9c4a3d60b30b 20:52:23 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:52:23 ---> Running in 9d8a062d564c 20:52:24 Removing intermediate container 9d8a062d564c 20:52:24 ---> 4204fbdededb 20:52:24 Step 25/27 : LABEL arch=amd64 20:52:24 ---> Running in 0743c95daef4 20:52:24 Removing intermediate container 0743c95daef4 20:52:24 ---> 8b4a59f6d7af 20:52:24 Step 26/27 : LABEL git_sha=8e09dda8b9aa182ade6eb2b9437360abeeb2d025 20:52:24 ---> Running in 799b1724300f 20:52:24 Removing intermediate container 799b1724300f 20:52:24 ---> 27ccd539db70 20:52:24 Step 27/27 : LABEL version=0.0.0 20:52:24 ---> Running in ac0eb968017f 20:52:24 Removing intermediate container ac0eb968017f 20:52:24 ---> a0240275bbed 20:52:24 [Warning] One or more build-args [ARCH] were not consumed 20:52:24 Successfully built a0240275bbed 20:52:24 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 20:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:24 20:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:25 latest: Pulling from edgex-lftools-log-publisher 20:52:25 5eb5b503b376: Pulling fs layer 20:52:25 5c69ac0246d0: Pulling fs layer 20:52:25 ec43610c2a17: Pulling fs layer 20:52:25 3a2ae6a8a46f: Pulling fs layer 20:52:25 33b1e0a273af: Pulling fs layer 20:52:25 5d3b04190fa2: Pulling fs layer 20:52:25 2f39f015ded8: Pulling fs layer 20:52:25 33b1e0a273af: Waiting 20:52:25 5d3b04190fa2: Waiting 20:52:25 2f39f015ded8: Waiting 20:52:25 3a2ae6a8a46f: Waiting 20:52:25 5c69ac0246d0: Verifying Checksum 20:52:25 5c69ac0246d0: Download complete 20:52:25 3a2ae6a8a46f: Download complete 20:52:25 33b1e0a273af: Verifying Checksum 20:52:25 33b1e0a273af: Download complete 20:52:25 5d3b04190fa2: Download complete 20:52:25 ec43610c2a17: Verifying Checksum 20:52:25 ec43610c2a17: Download complete 20:52:25 5eb5b503b376: Verifying Checksum 20:52:25 5eb5b503b376: Download complete 20:52:26 2f39f015ded8: Verifying Checksum 20:52:26 2f39f015ded8: Download complete 20:52:26 5eb5b503b376: Pull complete 20:52:26 5c69ac0246d0: Pull complete 20:52:26 ec43610c2a17: Pull complete 20:52:27 3a2ae6a8a46f: Pull complete 20:52:27 33b1e0a273af: Pull complete 20:52:27 5d3b04190fa2: Pull complete 20:52:31 2f39f015ded8: Pull complete 20:52:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:31 prd-ubuntu20.04-docker-8c-8g-1401 does not seem to be running inside a container 20:52:31 $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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:latest cat 20:52:32 $ docker top bddbbe944d257dbc98f15321b203544b108b396331aad7d92e144920686ef0e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:33 ---> job-cost.sh 20:52:33 lf-activate-venv: SKIPPING 20:52:33 INFO: No Stack... 20:52:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:34 INFO: Archiving Costs [Pipeline] sh 20:52:35 + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv 20:52:35 + cut -d, -f6 [Pipeline] lock 20:52:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] 20:52:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] did not exist. Created. 20:52:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:35 + echo total: 0.2199999988079071 [Pipeline] stash 20:52:35 Stashed 1 file(s) [Pipeline] } 20:52:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:35 $ docker stop --time=1 bddbbe944d257dbc98f15321b203544b108b396331aad7d92e144920686ef0e0 20:52:36 $ docker rm -f bddbbe944d257dbc98f15321b203544b108b396331aad7d92e144920686ef0e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:52:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1402 in /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] { [Pipeline] ws 20:52:45 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 20:52:45 The recommended git tool is: git 20:52:50 using credential edgex-jenkins-ssh 20:52:50 Cloning the remote Git repository 20:52:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:52:50 > git init /w/workspace/device-virtual-go/4 # timeout=10 20:52:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:52:50 > git --version # timeout=10 20:52:50 > git --version # 'git version 2.25.1' 20:52:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:51 Verifying host key using known hosts file 20:52:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:52:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:52:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:52:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:54 Verifying host key using known hosts file 20:52:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:52:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:52:54 Merging remotes/origin/main commit 266afac79739f3db6a467d2e291baff0c6e168aa into PR head commit 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 20:52:55 Merge succeeded, producing 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 20:52:55 Checking out Revision 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 (PR-305) 20:52:54 > git config core.sparsecheckout # timeout=10 20:52:54 > git checkout -f 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 # timeout=10 20:52:54 > git remote # timeout=10 20:52:54 > git config --get remote.origin.url # timeout=10 20:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:54 Verifying host key using known hosts file 20:52:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:52:54 > git merge 266afac79739f3db6a467d2e291baff0c6e168aa # timeout=10 20:52:54 > git rev-parse HEAD^{commit} # timeout=10 20:52:55 > git config core.sparsecheckout # timeout=10 20:52:55 > git checkout -f 8e09dda8b9aa182ade6eb2b9437360abeeb2d025 # timeout=10 20:52:58 Commit message: "feat: Add NATS Subject configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:52:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:59 Dload Upload Total Spent Left Speed 20:52:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 20:52:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:53:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:53:00 + sudo tee /etc/docker/daemon.new 20:53:00 { 20:53:00 "registry-mirrors": [ 20:53:00 "https://nexus3.edgexfoundry.org:10001" 20:53:00 ], 20:53:00 "bip": "10.250.0.254/24", 20:53:00 "hosts": [ 20:53:00 "tcp://0.0.0.0:5555", 20:53:00 "unix:///var/run/docker.sock" 20:53:00 ], 20:53:00 "mtu": 1458, 20:53:00 "selinux-enabled": true, 20:53:00 "seccomp-profile": "/etc/docker/seccomp.json" 20:53:00 } [Pipeline] sh 20:53:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:53:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:19 provisioning config files... 20:53:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config12618559970825689048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:19 ---> docker-login.sh 20:53:19 nexus3.edgexfoundry.org:10001 20:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:20 Configure a credential helper to remove this warning. See 20:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:20 20:53:20 Login Succeeded 20:53:20 nexus3.edgexfoundry.org:10002 20:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:20 Configure a credential helper to remove this warning. See 20:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:20 20:53:20 Login Succeeded 20:53:20 nexus3.edgexfoundry.org:10003 20:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:20 Configure a credential helper to remove this warning. See 20:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:20 20:53:20 Login Succeeded 20:53:20 nexus3.edgexfoundry.org:10004 20:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:21 Configure a credential helper to remove this warning. See 20:53:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:21 20:53:21 Login Succeeded 20:53:21 docker.io 20:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:22 Configure a credential helper to remove this warning. See 20:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:22 20:53:22 Login Succeeded 20:53:22 ---> docker-login.sh ends [Pipeline] } 20:53:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:22 ========================================================= 20:53:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:53:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:22 + 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 . 20:53:22 Sending build context to Docker daemon 11.73MB 20:53:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:53:22 Step 2/13 : FROM ${BASE} AS builder 20:53:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:53:23 b3c136eddcbf: Pulling fs layer 20:53:23 c0a3192eca97: Pulling fs layer 20:53:23 a050256f5b6f: Pulling fs layer 20:53:23 656be50a0ddc: Pulling fs layer 20:53:23 2bbca73fdf42: Pulling fs layer 20:53:23 46d945488cbd: Pulling fs layer 20:53:23 8a5474983e97: Pulling fs layer 20:53:23 329c88fbcd65: Pulling fs layer 20:53:23 2bbca73fdf42: Waiting 20:53:23 46d945488cbd: Waiting 20:53:23 8a5474983e97: Waiting 20:53:23 656be50a0ddc: Waiting 20:53:23 a050256f5b6f: Verifying Checksum 20:53:23 a050256f5b6f: Download complete 20:53:23 c0a3192eca97: Verifying Checksum 20:53:23 c0a3192eca97: Download complete 20:53:23 2bbca73fdf42: Verifying Checksum 20:53:23 2bbca73fdf42: Download complete 20:53:23 46d945488cbd: Verifying Checksum 20:53:23 46d945488cbd: Download complete 20:53:23 b3c136eddcbf: Verifying Checksum 20:53:23 b3c136eddcbf: Download complete 20:53:24 b3c136eddcbf: Pull complete 20:53:24 329c88fbcd65: Verifying Checksum 20:53:24 329c88fbcd65: Download complete 20:53:24 c0a3192eca97: Pull complete 20:53:24 a050256f5b6f: Pull complete 20:53:25 8a5474983e97: Verifying Checksum 20:53:25 8a5474983e97: Download complete 20:53:26 656be50a0ddc: Verifying Checksum 20:53:26 656be50a0ddc: Download complete 20:53:38 656be50a0ddc: Pull complete 20:53:38 2bbca73fdf42: Pull complete 20:53:38 46d945488cbd: Pull complete 20:53:46 8a5474983e97: Pull complete 20:53:47 329c88fbcd65: Pull complete 20:53:47 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:53:47 ---> ff4287adb874 20:53:47 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:49 ---> Running in cdb3da71bd42 20:53:49 Removing intermediate container cdb3da71bd42 20:53:49 ---> e573ec2df65d 20:53:49 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:53:49 ---> Running in 681c4e7e44b5 20:53:50 Removing intermediate container 681c4e7e44b5 20:53:50 ---> 5bcb2b9fbd2a 20:53:50 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:53:50 ---> Running in 6e302c25e225 20:53:50 Removing intermediate container 6e302c25e225 20:53:50 ---> 9d845b57bfbb 20:53:50 Step 6/13 : WORKDIR /device-virtual-go 20:53:50 ---> Running in eafe796f33ad 20:53:51 Removing intermediate container eafe796f33ad 20:53:51 ---> 4119ececc047 20:53:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:51 ---> Running in d4b26b64e9ca 20:53:52 Removing intermediate container d4b26b64e9ca 20:53:52 ---> a196efb29a7c 20:53:52 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:52 ---> Running in 3d04b745e7c3 20:53:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:53:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:53:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:53:55 (2/4) Installing libedit (20210910.3.1-r0) 20:53:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:53:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:53:55 Executing busybox-1.35.0-r13.trigger 20:53:55 OK: 226 MiB in 55 packages 20:53:57 Removing intermediate container 3d04b745e7c3 20:53:57 ---> c1e07a5fe6ad 20:53:57 Step 9/13 : COPY go.mod vendor* ./ 20:53:58 ---> 758656a06d59 20:53:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:58 ---> Running in 2568f0d7fdde 20:54:45 Removing intermediate container 2568f0d7fdde 20:54:45 ---> b7f960909cdb 20:54:45 Step 11/13 : COPY . . 20:54:45 ---> 06f427cb1162 20:54:45 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:45 ---> Running in 92c8739e9c4d 20:54:45 Removing intermediate container 92c8739e9c4d 20:54:45 ---> c3223426f9fc 20:54:45 Step 13/13 : RUN $MAKE 20:54:45 ---> Running in 4d2cb00406ce 20:54:46 noop 20:54:47 Removing intermediate container 4d2cb00406ce 20:54:47 ---> 09866c561dc0 20:54:47 Successfully built 09866c561dc0 20:54:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:47 + docker inspect -f . ci-base-image-arm64 20:54:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:47 prd-ubuntu20.04-docker-arm64-4c-16g-1402 does not seem to be running inside a container 20:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 20:54:48 $ docker top be8015c8e5d513b246f6b88cb31d7282b9a138da58e37df446048c778b6aab08 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:49 + go version 20:54:49 go version go1.18.3 linux/arm64 [Pipeline] } 20:54:49 $ docker stop --time=1 be8015c8e5d513b246f6b88cb31d7282b9a138da58e37df446048c778b6aab08 20:54:51 $ docker rm -f be8015c8e5d513b246f6b88cb31d7282b9a138da58e37df446048c778b6aab08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:51 + docker inspect -f . ci-base-image-arm64 20:54:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:52 prd-ubuntu20.04-docker-arm64-4c-16g-1402 does not seem to be running inside a container 20:54:52 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 20:54:53 $ docker top 64af86e5c46b6ae1d31b41c4da1395e4818b592a55a95b5d0910dff7e6a46eef -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:53 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 20:54:54 + make test 20:54:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:54:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:56:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:56:17 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 20:56:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:56:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:56:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:35 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:36 $ docker stop --time=1 64af86e5c46b6ae1d31b41c4da1395e4818b592a55a95b5d0910dff7e6a46eef 20:56:37 $ docker rm -f 64af86e5c46b6ae1d31b41c4da1395e4818b592a55a95b5d0910dff7e6a46eef [Pipeline] // withDockerContainer [Pipeline] sh 20:56:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:38 Warning: overwriting stash ‘coverage-report’ 20:56:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:39 + ls -al . 20:56:39 total 196 20:56:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:54 . 20:56:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:52 .. 20:56:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:52 .git 20:56:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:52 .github 20:56:39 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 20:52 .gitignore 20:56:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:52 .golangci.yml 20:56:39 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 27 20:52 Attribution.txt 20:56:39 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 20:52 CHANGELOG.md 20:56:39 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 20:52 Dockerfile 20:56:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:52 GOVERNANCE.md 20:56:39 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 20:52 Jenkinsfile 20:56:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:52 LICENSE 20:56:39 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 20:52 Makefile 20:56:39 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 20:52 OWNERS.md 20:56:39 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 20:52 README.md 20:56:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:50 VERSION 20:56:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:52 bin 20:56:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:52 cmd 20:56:39 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 20:56 coverage.out 20:56:39 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 20:52 go.mod 20:56:39 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 20:52 go.sum 20:56:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:52 internal 20:56:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:52 snap 20:56:39 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:40 + 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=8e09dda8b9aa182ade6eb2b9437360abeeb2d025 --label arch=arm64 --label version=0.0.0 . 20:56:40 Sending build context to Docker daemon 11.78MB 20:56:40 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:56:40 Step 2/27 : FROM ${BASE} AS builder 20:56:40 ---> 09866c561dc0 20:56:40 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:56:40 ---> Running in 2e598b465c7f 20:56:40 Removing intermediate container 2e598b465c7f 20:56:40 ---> 4525cd58b8a7 20:56:40 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:56:40 ---> Running in 4319f376a02e 20:56:41 Removing intermediate container 4319f376a02e 20:56:41 ---> f14084852023 20:56:41 Step 5/27 : ARG ADD_BUILD_TAGS="" 20:56:41 ---> Running in ae13233e6f08 20:56:41 Removing intermediate container ae13233e6f08 20:56:41 ---> 79d0f12fe57d 20:56:41 Step 6/27 : WORKDIR /device-virtual-go 20:56:41 ---> Running in 9ab9548b6b1f 20:56:42 Removing intermediate container 9ab9548b6b1f 20:56:42 ---> 7dc0cf326d5a 20:56:42 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:56:42 ---> Running in 9d581ff03dde 20:56:44 Removing intermediate container 9d581ff03dde 20:56:44 ---> ddc94e000417 20:56:44 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:44 ---> Running in 5d89b610e4bd 20:56:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:56:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:56:46 OK: 226 MiB in 55 packages 20:56:47 Removing intermediate container 5d89b610e4bd 20:56:47 ---> 65bacd7862ae 20:56:47 Step 9/27 : COPY go.mod vendor* ./ 20:56:47 ---> 6430968137a3 20:56:47 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:48 ---> Running in 34fdee4d7bae 20:56:50 Removing intermediate container 34fdee4d7bae 20:56:50 ---> 0fdb5ef7e396 20:56:50 Step 11/27 : COPY . . 20:56:51 ---> 446b3c9fe8dd 20:56:51 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:51 ---> Running in a3133c87e48a 20:56:51 Removing intermediate container a3133c87e48a 20:56:51 ---> 65b374dfaeb1 20:56:51 Step 13/27 : RUN $MAKE 20:56:51 ---> Running in 75e78de58d62 20:56: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 20:59:29 Removing intermediate container 75e78de58d62 20:59:29 ---> aa1685cd4969 20:59:29 Step 14/27 : FROM alpine:3.16 20:59:29 3.16: Pulling from library/alpine 20:59:29 9b18e9b68314: Pulling fs layer 20:59:29 9b18e9b68314: Verifying Checksum 20:59:29 9b18e9b68314: Download complete 20:59:29 9b18e9b68314: Pull complete 20:59:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:59:29 Status: Downloaded newer image for alpine:3.16 20:59:29 ---> a6215f271958 20:59:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:59:29 ---> Running in 056b5a7d89da 20:59:29 Removing intermediate container 056b5a7d89da 20:59:29 ---> af2f3007073d 20:59:29 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:29 ---> Running in 55502a6a38c3 20:59:29 Removing intermediate container 55502a6a38c3 20:59:29 ---> 69ec732b2199 20:59:29 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:59:29 ---> Running in fb78205765fb 20:59:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:59:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:59:29 (1/6) Installing dumb-init (1.2.5-r1) 20:59:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:59:29 (3/6) Installing libsodium (1.0.18-r0) 20:59:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:59:29 (5/6) Installing libzmq (4.3.4-r0) 20:59:29 (6/6) Installing zeromq (4.3.4-r0) 20:59:29 Executing busybox-1.35.0-r17.trigger 20:59:29 OK: 8 MiB in 20 packages 20:59:29 Removing intermediate container fb78205765fb 20:59:29 ---> d6ba273903e4 20:59:29 Step 18/27 : WORKDIR / 20:59:29 ---> Running in bb1adb307dfa 20:59:29 Removing intermediate container bb1adb307dfa 20:59:29 ---> 89927c6287bc 20:59:29 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:59:29 ---> 6e43fe11e366 20:59:29 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 20:59:29 ---> 45f43d68a6f3 20:59:29 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 20:59:29 ---> 3ccf28b2719d 20:59:29 Step 22/27 : EXPOSE 59900 20:59:29 ---> Running in f608244163db 20:59:29 Removing intermediate container f608244163db 20:59:29 ---> 7893161749af 20:59:29 Step 23/27 : ENTRYPOINT ["/device-virtual"] 20:59:29 ---> Running in 848742285ed7 20:59:29 Removing intermediate container 848742285ed7 20:59:29 ---> e08f061b758f 20:59:29 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:59:29 ---> Running in abd64746547c 20:59:29 Removing intermediate container abd64746547c 20:59:29 ---> 89acce38c70e 20:59:29 Step 25/27 : LABEL arch=arm64 20:59:29 ---> Running in f6e4a5b9cc1f 20:59:29 Removing intermediate container f6e4a5b9cc1f 20:59:29 ---> 095c81c49127 20:59:29 Step 26/27 : LABEL git_sha=8e09dda8b9aa182ade6eb2b9437360abeeb2d025 20:59:29 ---> Running in 14944cc0f0be 20:59:29 Removing intermediate container 14944cc0f0be 20:59:29 ---> 4483aaad3773 20:59:29 Step 27/27 : LABEL version=0.0.0 20:59:29 ---> Running in 07c5855dd00a 20:59:29 Removing intermediate container 07c5855dd00a 20:59:29 ---> c505a883818a 20:59:29 [Warning] One or more build-args [ARCH] were not consumed 20:59:29 Successfully built c505a883818a 20:59:29 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 20:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:30 20:59:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:30 arm64: Pulling from edgex-lftools-log-publisher 20:59:30 8998bd30e6a1: Pulling fs layer 20:59:30 04944245beec: Pulling fs layer 20:59:30 699f458cf7ca: Pulling fs layer 20:59:30 765212b225bb: Pulling fs layer 20:59:30 f23df028b6ca: Pulling fs layer 20:59:30 d65c8cfc05b1: Pulling fs layer 20:59:30 2437ff75d9bd: Pulling fs layer 20:59:30 2437ff75d9bd: Waiting 20:59:30 f23df028b6ca: Waiting 20:59:30 d65c8cfc05b1: Waiting 20:59:30 765212b225bb: Waiting 20:59:30 04944245beec: Verifying Checksum 20:59:30 04944245beec: Download complete 20:59:30 765212b225bb: Download complete 20:59:30 699f458cf7ca: Verifying Checksum 20:59:30 699f458cf7ca: Download complete 20:59:30 d65c8cfc05b1: Verifying Checksum 20:59:30 d65c8cfc05b1: Download complete 20:59:30 f23df028b6ca: Verifying Checksum 20:59:30 f23df028b6ca: Download complete 20:59:31 8998bd30e6a1: Verifying Checksum 20:59:31 8998bd30e6a1: Download complete 20:59:33 2437ff75d9bd: Verifying Checksum 20:59:33 2437ff75d9bd: Download complete 20:59:34 8998bd30e6a1: Pull complete 20:59:35 04944245beec: Pull complete 20:59:36 699f458cf7ca: Pull complete 20:59:36 765212b225bb: Pull complete 20:59:37 f23df028b6ca: Pull complete 20:59:37 d65c8cfc05b1: Pull complete 20:59:52 2437ff75d9bd: Pull complete 20:59:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:52 prd-ubuntu20.04-docker-arm64-4c-16g-1402 does not seem to be running inside a container 20:59:52 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 20:59:55 $ docker top 1a8a71cc4b60cebe1e16a59ff6e2fbd49b6de1b6fa65b5beda330151484a6110 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:56 ---> job-cost.sh 20:59:56 lf-activate-venv: SKIPPING 20:59:56 INFO: No Stack... 20:59:56 INFO: Retrieving Pricing Info for: v3-standard-4 20:59:57 INFO: Archiving Costs [Pipeline] sh 20:59:57 + cat /w/workspace/device-virtual-go/4/archives/cost.csv+ 20:59:57 cut -d, -f6 [Pipeline] lock 20:59:57 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] 20:59:57 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] did not exist. Created. 20:59:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:58 /w/workspace/device-virtual-go/4@tmp/durable-084b8156/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:59:59 + echo total: 0.10999999940395355 [Pipeline] stash 20:59:59 Warning: overwriting stash ‘stack-cost’ 20:59:59 Stashed 1 file(s) [Pipeline] } 20:59:59 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:59 $ docker stop --time=1 1a8a71cc4b60cebe1e16a59ff6e2fbd49b6de1b6fa65b5beda330151484a6110 21:00:00 $ docker rm -f 1a8a71cc4b60cebe1e16a59ff6e2fbd49b6de1b6fa65b5beda330151484a6110 [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 21:00:01 provisioning config files... 21:00:01 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11518489473113361028tmp [Pipeline] { [Pipeline] sh 21:00:01 + set +x 21:00:01 + curl -s https://codecov.io/bash 21:00:01 + bash -s -- 21:00:01 21:00:01 _____ _ 21:00:01 / ____| | | 21:00:01 | | ___ __| | ___ ___ _____ __ 21:00:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:00:01 | |___| (_) | (_| | __/ (_| (_) \ V / 21:00:01 \_____\___/ \__,_|\___|\___\___/ \_/ 21:00:01 Bash-1.0.6 21:00:01 21:00:01 21:00:01 ==> git version 2.25.1 found 21:00:01 ==> 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 21:00:01 Release-Date: 2020-01-08 21:00:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:00:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:00:01 ==> Jenkins CI detected. 21:00:01 current dir:  /w/workspace/foundry_device-virtual-go_PR-305 21:00:01 project root: . 21:00:01 --> token set from env 21:00:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:00:01 ==> Running gcov in . (disable via -X gcov) 21:00:01 ==> Python coveragepy not found 21:00:01 ==> Searching for coverage reports in: 21:00:01 + . 21:00:01 -> Found 1 reports 21:00:01 ==> Detecting git/mercurial file structure 21:00:01 ==> Reading reports 21:00:01 + ./coverage.out bytes=44128 21:00:01 ==> Appending adjustments 21:00:01 https://docs.codecov.io/docs/fixing-reports 21:00:01 + Found adjustments 21:00:01 ==> Gzipping contents 21:00:01 8.0K /tmp/codecov.aFxKve.gz 21:00:01 ==> Uploading reports 21:00:01 url: https://codecov.io 21:00:01 query: branch=PR-305&commit=8e09dda8b9aa182ade6eb2b9437360abeeb2d025&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 21:00:01 -> Pinging Codecov 21:00:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-305&commit=8e09dda8b9aa182ade6eb2b9437360abeeb2d025&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 21:00:02 -> Uploading to 21:00:02 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/8e09dda8b9aa182ade6eb2b9437360abeeb2d025/239223ca-a0ab-4b94-b733-1bdfc58dfd55.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=049f0d53a0a5a4c489e10e0e5fcdc9c60ea01d50116a0251d8cf6d0a6e4176b3 21:00:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:02 Dload Upload Total Spent Left Speed 21:00:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5506 0 0 100 5506 0 19949 --:--:-- --:--:-- --:--:-- 19949 21:00:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8e09dda8b9aa182ade6eb2b9437360abeeb2d025 [Pipeline] } 21:00:03 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 21:00:03 + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] 21:00:03 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 21:00:03 total 16 21:00:03 drwxr-xr-x 3 root root 4096 Sep 27 20:52 . 21:00:03 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:52 .. 21:00:03 drwxr-xr-x 2 root root 4096 Sep 27 20:52 cost 21:00:03 -rw-r--r-- 1 root root 89 Sep 27 20:52 cost.csv 21:00:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives 21:00:03 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 21:00:03 total 16 21:00:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:52 . 21:00:03 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:52 .. 21:00:03 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 20:52 cost 21:00:03 -rw-r--r-- 1 jenkins jenkins 89 Sep 27 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:00:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:00:04 ---> package-listing.sh 21:00:04 ++ tr '[:upper:]' '[:lower:]' 21:00:04 ++ facter osfamily 21:00:05 + OS_FAMILY=debian 21:00:05 + workspace=/w/workspace/foundry_device-virtual-go_PR-305 21:00:05 + START_PACKAGES=/tmp/packages_start.txt 21:00:05 + END_PACKAGES=/tmp/packages_end.txt 21:00:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:00:05 + PACKAGES=/tmp/packages_start.txt 21:00:05 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 21:00:05 + PACKAGES=/tmp/packages_end.txt 21:00:05 + case "${OS_FAMILY}" in 21:00:05 + dpkg -l 21:00:05 + grep '^ii' 21:00:05 + '[' -f /tmp/packages_start.txt ']' 21:00:05 + '[' -f /tmp/packages_end.txt ']' 21:00:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:00:05 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 21:00:05 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ 21:00:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-305/archives/ [Pipeline] echo 21:00:05 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:00:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:05 prd-ubuntu20.04-docker-8c-8g-1401 does not seem to be running inside a container 21:00:05 $ 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-305/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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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 21:00:06 $ docker top 4d978902013aa62d0e4a3557eede1eff766f828dbf9442f7f1dd98470c3294d3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:06 + touch /tmp/pre-build-complete [Pipeline] sh 21:00:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:00:07 + ls /var/log/sa-host 21:00:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:07 provisioning config files... 21:00:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config274005282254716894tmp [Pipeline] { [Pipeline] echo 21:00:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:00:07 ---> create-netrc.sh [Pipeline] } 21:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:07 ---> python-tools-install.sh [Pipeline] echo 21:00:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:08 ---> sudo-logs.sh 21:00:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:08 ---> job-cost.sh 21:00:08 lf-activate-venv: SKIPPING 21:00:08 DEBUG: total: 0.2199999988079071 21:00:08 INFO: Retrieving Stack Cost... 21:00:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:09 INFO: Archiving Costs [Pipeline] echo 21:00:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:09 ---> logs-deploy.sh 21:00:09 lf-activate-venv: SKIPPING 21:00:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/4 21:00:09 INFO: archiving workspace using pattern(s): 21:00:10 Archives upload complete. 21:00:10 INFO: archiving logs to Nexus 21:00:11 ---> uname -a: 21:00:11 Linux prd-ubuntu20-04-docker-8c-8g-1401 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:00:11 21:00:11 21:00:11 ---> lscpu: 21:00:11 Architecture: x86_64 21:00:11 CPU op-mode(s): 32-bit, 64-bit 21:00:11 Byte Order: Little Endian 21:00:11 Address sizes: 40 bits physical, 48 bits virtual 21:00:11 CPU(s): 8 21:00:11 On-line CPU(s) list: 0-7 21:00:11 Thread(s) per core: 1 21:00:11 Core(s) per socket: 1 21:00:11 Socket(s): 8 21:00:11 NUMA node(s): 1 21:00:11 Vendor ID: AuthenticAMD 21:00:11 CPU family: 23 21:00:11 Model: 49 21:00:11 Model name: AMD EPYC-Rome Processor 21:00:11 Stepping: 0 21:00:11 CPU MHz: 2799.998 21:00:11 BogoMIPS: 5599.99 21:00:11 Virtualization: AMD-V 21:00:11 Hypervisor vendor: KVM 21:00:11 Virtualization type: full 21:00:11 L1d cache: 256 KiB 21:00:11 L1i cache: 256 KiB 21:00:11 L2 cache: 4 MiB 21:00:11 L3 cache: 128 MiB 21:00:11 NUMA node0 CPU(s): 0-7 21:00:11 Vulnerability Itlb multihit: Not affected 21:00:11 Vulnerability L1tf: Not affected 21:00:11 Vulnerability Mds: Not affected 21:00:11 Vulnerability Meltdown: Not affected 21:00:11 Vulnerability Mmio stale data: Not affected 21:00:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:00:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:00:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:00:11 Vulnerability Srbds: Not affected 21:00:11 Vulnerability Tsx async abort: Not affected 21:00:11 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 21:00:11 21:00:11 21:00:11 ---> nproc: 21:00:11 8 21:00:11 21:00:11 21:00:11 ---> df -h: 21:00:11 Filesystem Size Used Avail Use% Mounted on 21:00:11 overlay 155G 12G 144G 8% / 21:00:11 tmpfs 64M 0 64M 0% /dev 21:00:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:00:11 shm 64M 0 64M 0% /dev/shm 21:00:11 /dev/vda1 155G 12G 144G 8% /facter-os 21:00:11 21:00:11 21:00:11 ---> sar -b -r -n DEV: 21:00:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1401) 09/27/22 _x86_64_ (8 CPU) 21:00:11 21:00:11 20:50:05 LINUX RESTART (8 CPU) 21:00:11 21:00:11 20:51:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:00:11 20:52:01 253.42 1.52 251.90 0.00 35.24 72310.54 0.00 21:00:11 20:53:01 129.30 0.02 129.28 0.00 3.73 33545.61 0.00 21:00:11 20:54:01 1.85 0.00 1.85 0.00 0.00 22.41 0.00 21:00:11 20:55:01 2.12 0.00 2.12 0.00 0.00 23.85 0.00 21:00:11 20:56:01 23.03 9.13 13.90 0.00 2905.65 2562.51 0.00 21:00:11 20:57:01 1.95 0.00 1.95 0.00 0.00 21.19 0.00 21:00:11 20:58:01 1.25 0.00 1.25 0.00 0.00 14.26 0.00 21:00:11 20:59:01 1.75 0.00 1.75 0.00 0.00 18.53 0.00 21:00:11 21:00:01 1.50 0.07 1.43 0.00 4.80 17.33 0.00 21:00:11 Average: 45.86 1.19 44.66 0.00 328.23 11948.05 0.00 21:00:11 21:00:11 20:51:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:00:11 20:52:01 28368116 31422208 879008 2.67 135688 3131220 2144248 6.32 1332896 2743476 5748 21:00:11 20:53:01 27798680 31567024 734320 2.23 146604 3782064 1771404 5.22 1235356 3355836 420 21:00:11 20:54:01 27798364 31566976 733784 2.23 146660 3782068 1771404 5.22 1235996 3355840 164 21:00:11 20:55:01 27805572 31574292 726548 2.21 146740 3782072 1771404 5.22 1228320 3355892 4 21:00:11 20:56:01 27623152 31563344 735220 2.24 150608 3939928 1822272 5.37 1328592 3424052 8 21:00:11 20:57:01 27629128 31569428 729036 2.22 150668 3939932 1822272 5.37 1323328 3424048 148 21:00:11 20:58:01 27628612 31569052 729288 2.22 150724 3939936 1822272 5.37 1323452 3424064 164 21:00:11 20:59:01 27628684 31569168 729060 2.22 150764 3939936 1822272 5.37 1323896 3424064 164 21:00:11 21:00:01 27625860 31566712 731848 2.23 150844 3939948 1807668 5.33 1326560 3424336 20 21:00:11 Average: 27767352 31552023 747568 2.27 147700 3797456 1839468 5.42 1295377 3325734 760 21:00:11 21:00:11 20:51:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:00:11 20:52:01 docker0 130.18 202.07 10.72 1572.96 0.00 0.00 0.00 0.00 21:00:11 20:52:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 21:00:11 20:52:01 ens3 258.54 163.44 1629.60 33.41 0.00 0.00 0.00 0.00 21:00:11 20:52:01 vethc267cd1 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 21:00:11 20:53:01 docker0 9.07 11.61 0.54 58.30 0.00 0.00 0.00 0.00 21:00:11 20:53:01 lo 1.87 1.87 0.17 0.17 0.00 0.00 0.00 0.00 21:00:11 20:53:01 ens3 122.80 85.22 2634.41 16.50 0.00 0.00 0.00 0.00 21:00:11 20:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:54:01 ens3 1.67 1.17 0.44 0.34 0.00 0.00 0.00 0.00 21:00:11 20:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:00:11 20:55:01 ens3 0.17 0.15 0.01 0.01 0.00 0.00 0.00 0.00 21:00:11 20:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:56:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:00:11 20:56:01 ens3 20.46 13.30 474.85 1.21 0.00 0.00 0.00 0.00 21:00:11 20:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:00:11 20:57:01 ens3 0.72 0.08 0.06 0.01 0.00 0.00 0.00 0.00 21:00:11 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:58:01 ens3 1.38 0.72 3.28 0.23 0.00 0.00 0.00 0.00 21:00:11 20:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 20:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:00:11 20:59:01 ens3 1.40 0.62 0.65 0.46 0.00 0.00 0.00 0.00 21:00:11 21:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:00:11 21:00:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:00:11 21:00:01 ens3 2.67 1.80 2.90 0.74 0.00 0.00 0.00 0.00 21:00:11 Average: docker0 15.26 23.41 1.23 178.68 0.00 0.00 0.00 0.00 21:00:11 Average: lo 0.34 0.34 0.03 0.03 0.00 0.00 0.00 0.00 21:00:11 Average: ens3 45.14 29.36 525.29 5.83 0.00 0.00 0.00 0.00 21:00:11 21:00:11 21:00:11 ---> sar -P ALL: 21:00:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1401) 09/27/22 _x86_64_ (8 CPU) 21:00:11 21:00:11 20:50:05 LINUX RESTART (8 CPU) 21:00:11 21:00:11 20:51:02 CPU %user %nice %system %iowait %steal %idle 21:00:11 20:52:01 all 26.14 0.00 6.47 1.36 0.07 65.96 21:00:11 20:52:01 0 26.67 0.00 7.55 4.64 0.07 61.08 21:00:11 20:52:01 1 27.06 0.00 5.87 0.86 0.07 66.14 21:00:11 20:52:01 2 25.02 0.00 6.19 3.37 0.07 65.36 21:00:11 20:52:01 3 26.21 0.00 6.80 0.55 0.07 66.37 21:00:11 20:52:01 4 25.98 0.00 6.53 0.24 0.07 67.18 21:00:11 20:52:01 5 26.13 0.00 7.02 0.62 0.07 66.16 21:00:11 20:52:01 6 25.36 0.00 5.63 0.36 0.07 68.58 21:00:11 20:52:01 7 26.67 0.00 6.19 0.24 0.09 66.81 21:00:11 20:53:01 all 16.94 0.00 3.45 0.67 0.04 78.91 21:00:11 20:53:01 0 17.38 0.00 3.37 0.59 0.03 78.63 21:00:11 20:53:01 1 16.75 0.00 3.27 2.09 0.05 77.84 21:00:11 20:53:01 2 16.87 0.00 2.98 0.13 0.03 79.98 21:00:11 20:53:01 3 18.58 0.00 3.68 0.64 0.05 77.06 21:00:11 20:53:01 4 16.73 0.00 3.39 0.12 0.03 79.72 21:00:11 20:53:01 5 16.13 0.00 3.81 0.02 0.03 80.01 21:00:11 20:53:01 6 17.01 0.00 3.72 1.16 0.03 78.08 21:00:11 20:53:01 7 16.04 0.00 3.37 0.61 0.03 79.95 21:00:11 20:54:01 all 0.02 0.00 0.01 0.01 0.00 99.96 21:00:11 20:54:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:00:11 20:54:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:54:01 2 0.00 0.00 0.02 0.00 0.00 99.98 21:00:11 20:54:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:54:01 4 0.05 0.00 0.02 0.03 0.02 99.88 21:00:11 20:54:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:54:01 6 0.03 0.00 0.07 0.03 0.02 99.85 21:00:11 20:54:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:00:11 20:55:01 all 0.02 0.00 0.01 0.01 0.01 99.95 21:00:11 20:55:01 0 0.02 0.00 0.02 0.00 0.02 99.95 21:00:11 20:55:01 1 0.00 0.00 0.00 0.00 0.00 100.00 21:00:11 20:55:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:00:11 20:55:01 3 0.02 0.00 0.00 0.02 0.00 99.97 21:00:11 20:55:01 4 0.02 0.00 0.03 0.00 0.00 99.95 21:00:11 20:55:01 5 0.00 0.00 0.00 0.00 0.02 99.98 21:00:11 20:55:01 6 0.10 0.00 0.02 0.05 0.02 99.82 21:00:11 20:55:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:00:11 20:56:01 all 0.42 0.00 0.23 0.17 0.01 99.18 21:00:11 20:56:01 0 0.22 0.00 0.15 0.03 0.00 99.60 21:00:11 20:56:01 1 0.22 0.00 0.13 0.02 0.02 99.62 21:00:11 20:56:01 2 0.20 0.00 0.17 0.17 0.00 99.47 21:00:11 20:56:01 3 0.50 0.00 0.30 0.47 0.00 98.73 21:00:11 20:56:01 4 1.64 0.00 0.32 0.03 0.02 98.00 21:00:11 20:56:01 5 0.20 0.00 0.30 0.15 0.00 99.35 21:00:11 20:56:01 6 0.12 0.00 0.15 0.45 0.03 99.25 21:00:11 20:56:01 7 0.23 0.00 0.33 0.02 0.00 99.42 21:00:11 20:57:01 all 0.27 0.00 0.01 0.01 0.00 99.70 21:00:11 20:57:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:00:11 20:57:01 1 1.97 0.00 0.00 0.00 0.00 98.03 21:00:11 20:57:01 2 0.02 0.00 0.00 0.03 0.02 99.93 21:00:11 20:57:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:00:11 20:57:01 4 0.02 0.00 0.02 0.00 0.00 99.97 21:00:11 20:57:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:57:01 6 0.08 0.00 0.03 0.05 0.00 99.83 21:00:11 20:57:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:00:11 20:58:01 all 0.26 0.00 0.01 0.00 0.01 99.72 21:00:11 20:58:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:00:11 20:58:01 1 1.97 0.00 0.00 0.00 0.00 98.03 21:00:11 20:58:01 2 0.00 0.00 0.02 0.00 0.00 99.98 21:00:11 20:58:01 3 0.00 0.00 0.00 0.00 0.02 99.98 21:00:11 20:58:01 4 0.03 0.00 0.00 0.00 0.02 99.95 21:00:11 20:58:01 5 0.02 0.00 0.00 0.02 0.00 99.97 21:00:11 20:58:01 6 0.03 0.00 0.03 0.02 0.02 99.90 21:00:11 20:58:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:59:01 all 0.23 0.00 0.02 0.24 0.01 99.50 21:00:11 20:59:01 0 0.03 0.00 0.02 0.00 0.02 99.93 21:00:11 20:59:01 1 1.55 0.00 0.12 0.00 0.02 98.32 21:00:11 20:59:01 2 0.03 0.00 0.00 0.00 0.00 99.97 21:00:11 20:59:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:00:11 20:59:01 4 0.07 0.00 0.00 0.02 0.02 99.90 21:00:11 20:59:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:00:11 20:59:01 6 0.07 0.00 0.03 1.87 0.03 98.00 21:00:11 20:59:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:00:11 21:00:01 all 0.08 0.00 0.09 0.01 0.00 99.82 21:00:11 21:00:01 0 0.10 0.00 0.13 0.00 0.00 99.77 21:00:11 21:00:01 1 0.03 0.00 0.03 0.00 0.00 99.93 21:00:11 21:00:01 2 0.10 0.00 0.17 0.02 0.00 99.72 21:00:11 21:00:01 3 0.03 0.00 0.03 0.00 0.00 99.93 21:00:11 21:00:01 4 0.15 0.00 0.05 0.00 0.00 99.80 21:00:11 21:00:01 5 0.07 0.00 0.12 0.02 0.00 99.80 21:00:11 21:00:01 6 0.10 0.00 0.17 0.03 0.02 99.68 21:00:11 21:00:01 7 0.05 0.00 0.02 0.00 0.00 99.93 21:00:11 Average: all 4.84 0.00 1.12 0.27 0.02 93.75 21:00:11 Average: 0 4.84 0.00 1.23 0.57 0.01 93.35 21:00:11 Average: 1 5.41 0.00 1.02 0.32 0.02 93.22 21:00:11 Average: 2 4.62 0.00 1.04 0.40 0.01 93.92 21:00:11 Average: 3 4.96 0.00 1.18 0.18 0.01 93.66 21:00:11 Average: 4 4.88 0.00 1.13 0.05 0.02 93.92 21:00:11 Average: 5 4.66 0.00 1.23 0.09 0.01 94.01 21:00:11 Average: 6 4.70 0.00 1.08 0.45 0.03 93.75 21:00:11 Average: 7 4.68 0.00 1.08 0.09 0.02 94.13 21:00:11 21:00:11 21:00:11