Pull request #339 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 ejlee3 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6b281627ae5bd454eb4ea58221e90b311c4113a6+36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (50535dccbdaa0358d59be714bc1f4498b3afaec4) 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-ssh10599741266422399501.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7201206641962048051.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-339/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-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15977399705193004072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh826829496095989079.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/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-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5072311699870471914.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6150’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6152 in /w/workspace/foundry_device-virtual-go_PR-339 [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-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit 6b281627ae5bd454eb4ea58221e90b311c4113a6 Merge succeeded, producing 6b281627ae5bd454eb4ea58221e90b311c4113a6 Checking out Revision 6b281627ae5bd454eb4ea58221e90b311c4113a6 (PR-339) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b281627ae5bd454eb4ea58221e90b311c4113a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b281627ae5bd454eb4ea58221e90b311c4113a6 # timeout=10 Commit message: "fix: revert contracts version to dev.10" > git rev-list --no-walk 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:38:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:38:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:38:40 ========================================================= 17:38:40 EdgeX Global Pipelines Version Info 17:38:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:38:40 ------------------- 17:38:40 stable info: 17:38:40 ------------------- 17:38:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:38:40 Message: update stable to v1.0.244 17:38:41 ------------------- 17:38:41 experimental info: 17:38:41 ------------------- 17:38:41 Commited By: **** collab-it+edgex@linuxfoundation.org 17:38:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:38:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b281627ae5bd454eb4ea58221e90b311c4113a6 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b28162 [Pipeline] echo 17:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:42 provisioning config files... 17:38:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config4260466679323756142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:42 ---> docker-login.sh 17:38:42 nexus3.edgexfoundry.org:10001 17:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:42 Configure a credential helper to remove this warning. See 17:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:42 17:38:42 Login Succeeded 17:38:42 nexus3.edgexfoundry.org:10002 17:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:42 Configure a credential helper to remove this warning. See 17:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:42 17:38:42 Login Succeeded 17:38:42 nexus3.edgexfoundry.org:10003 17:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:42 Configure a credential helper to remove this warning. See 17:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:42 17:38:42 Login Succeeded 17:38:42 nexus3.edgexfoundry.org:10004 17:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:43 Configure a credential helper to remove this warning. See 17:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:43 17:38:43 Login Succeeded 17:38:43 docker.io 17:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:43 Configure a credential helper to remove this warning. See 17:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:43 17:38:43 Login Succeeded 17:38:43 ---> docker-login.sh ends [Pipeline] } 17:38:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:38:43 + git rev-list -1 --merges 6b281627ae5bd454eb4ea58221e90b311c4113a6~1..6b281627ae5bd454eb4ea58221e90b311c4113a6 [Pipeline] echo 17:38:43 -----------> git rev-list -1 --merges 6b281627ae5bd454eb4ea58221e90b311c4113a6~1..6b281627ae5bd454eb4ea58221e90b311c4113a6 6b281627ae5bd454eb4ea58221e90b311c4113a6 [false] [Pipeline] sh 17:38:44 + git log --format=format:%s -1 6b281627ae5bd454eb4ea58221e90b311c4113a6 [Pipeline] echo 17:38:44 ========================================================= 17:38:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:44 + git log --format=format:%s -1 6b281627ae5bd454eb4ea58221e90b311c4113a6 [Pipeline] echo 17:38:44 [semverPrep] GIT_COMMIT: 6b281627ae5bd454eb4ea58221e90b311c4113a6, Commit Message: fix: revert contracts version to dev.10 [Pipeline] echo 17:38:44 [semverPrep] This is not a build commit. [Pipeline] sh 17:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:38:44 + grep -v github /etc/ssh/ssh_known_hosts 17:38:44 + [ -e /tmp/ssh_known_hosts ] 17:38:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:38:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:38:44 + sudo tee -a /etc/ssh/ssh_known_hosts 17:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:45 17:38:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:45 0.1.4: Pulling from edgex-devops/py-git-semver 17:38:45 b85a868b505f: Pulling fs layer 17:38:45 e2be974225ed: Pulling fs layer 17:38:45 339a4e72a1f5: Pulling fs layer 17:38:45 988bab9f4d93: Pulling fs layer 17:38:45 1469e6f7b9e6: Pulling fs layer 17:38:45 eaf3925da568: Pulling fs layer 17:38:45 bab4dde63d76: Pulling fs layer 17:38:45 bde34c3a00c8: Pulling fs layer 17:38:45 b352a97aabf1: Pulling fs layer 17:38:45 4872d77fe225: Pulling fs layer 17:38:45 5851b861e8e6: Pulling fs layer 17:38:45 988bab9f4d93: Waiting 17:38:45 1469e6f7b9e6: Waiting 17:38:45 eaf3925da568: Waiting 17:38:45 bab4dde63d76: Waiting 17:38:45 bde34c3a00c8: Waiting 17:38:45 b352a97aabf1: Waiting 17:38:45 4872d77fe225: Waiting 17:38:45 5851b861e8e6: Waiting 17:38:45 e2be974225ed: Download complete 17:38:45 988bab9f4d93: Verifying Checksum 17:38:45 988bab9f4d93: Download complete 17:38:46 1469e6f7b9e6: Verifying Checksum 17:38:46 1469e6f7b9e6: Download complete 17:38:46 eaf3925da568: Verifying Checksum 17:38:46 eaf3925da568: Download complete 17:38:46 339a4e72a1f5: Verifying Checksum 17:38:46 339a4e72a1f5: Download complete 17:38:46 bde34c3a00c8: Verifying Checksum 17:38:46 bde34c3a00c8: Download complete 17:38:46 b352a97aabf1: Download complete 17:38:46 4872d77fe225: Verifying Checksum 17:38:46 4872d77fe225: Download complete 17:38:46 5851b861e8e6: Download complete 17:38:46 b85a868b505f: Verifying Checksum 17:38:46 b85a868b505f: Download complete 17:38:46 bab4dde63d76: Verifying Checksum 17:38:46 bab4dde63d76: Download complete 17:38:47 b85a868b505f: Pull complete 17:38:48 e2be974225ed: Pull complete 17:38:48 339a4e72a1f5: Pull complete 17:38:48 988bab9f4d93: Pull complete 17:38:49 1469e6f7b9e6: Pull complete 17:38:49 eaf3925da568: Pull complete 17:38:51 bab4dde63d76: Pull complete 17:38:51 bde34c3a00c8: Pull complete 17:38:51 b352a97aabf1: Pull complete 17:38:51 4872d77fe225: Pull complete 17:38:52 5851b861e8e6: Pull complete 17:38:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:52 prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container 17:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 17:38:55 $ docker top 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 -eo pid,comm 17:38:55 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). 17:38:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:38:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:55 [ssh-agent] Looking for ssh-agent implementation... 17:38:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:55 $ docker exec 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 ssh-agent 17:38:56 SSH_AUTH_SOCK=/tmp/ssh-HRp8oP6L1ghq/agent.32 17:38:56 SSH_AGENT_PID=38 17:38:56 Running ssh-add (command line suppressed) 17:38:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_18159531006613731125.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_18159531006613731125.key) 17:38:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:56 + git tag --points-at HEAD [Pipeline] } 17:38:56 $ docker exec --env ******** --env ******** 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 ssh-agent -k 17:38:56 unset SSH_AUTH_SOCK; 17:38:56 unset SSH_AGENT_PID; 17:38:56 echo Agent pid 38 killed; 17:38:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:38:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:56 [ssh-agent] Looking for ssh-agent implementation... 17:38:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:56 $ docker exec 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 ssh-agent 17:38:56 SSH_AUTH_SOCK=/tmp/ssh-2toQceSZdHuC/agent.70 17:38:56 SSH_AGENT_PID=76 17:38:56 Running ssh-add (command line suppressed) 17:38:57 Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11361679075416915641.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_11361679075416915641.key) 17:38:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:57 + git semver init 17:38:57 2023-02-15 17:38:57,571 [run_init] DEBUG init version:0.0.0 force:False 17:38:57 2023-02-15 17:38:57,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-339/.semver 17:38:57 2023-02-15 17:38:57,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-339/.semver 17:38:57 2023-02-15 17:38:57,573 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-339/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-339, universal_newlines=False, shell=None, istream=None) 17:38:59 2023-02-15 17:38:58,759 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-339/.git/info/exclude 17:38:59 2023-02-15 17:38:58,760 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 with force:False 17:38:59 2023-02-15 17:38:58,760 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 17:38:59 2023-02-15 17:38:58,764 [execute] INFO git cat-file --batch-check 17:38:59 2023-02-15 17:38:58,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 17:38:59 2023-02-15 17:38:58,772 [execute] INFO git cat-file --batch 17:38:59 2023-02-15 17:38:58,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 17:38:59 2023-02-15 17:38:58,776 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 17:38:59 0.0.0 [Pipeline] } 17:38:59 $ docker exec --env ******** --env ******** 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 ssh-agent -k 17:38:59 unset SSH_AUTH_SOCK; 17:38:59 unset SSH_AGENT_PID; 17:38:59 echo Agent pid 76 killed; 17:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:38:59 + git semver [Pipeline] } 17:38:59 $ docker stop --time=1 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 17:39:01 $ docker rm -f --volumes 8f5265cae6ddf0034b8207ab381404b1e76734413c8e0e601d82b437b0709943 [Pipeline] // withDockerContainer [Pipeline] sh 17:39:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:39:02 Stashed 1 file(s) [Pipeline] echo 17:39:02 [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 17:39:02 provisioning config files... 17:39:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config7286069041230918413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:02 ---> docker-login.sh 17:39:02 nexus3.edgexfoundry.org:10001 17:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:02 Configure a credential helper to remove this warning. See 17:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:02 17:39:02 Login Succeeded 17:39:02 nexus3.edgexfoundry.org:10002 17:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:02 Configure a credential helper to remove this warning. See 17:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:02 17:39:02 Login Succeeded 17:39:02 nexus3.edgexfoundry.org:10003 17:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:02 Configure a credential helper to remove this warning. See 17:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:02 17:39:02 Login Succeeded 17:39:02 nexus3.edgexfoundry.org:10004 17:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:02 Configure a credential helper to remove this warning. See 17:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:02 17:39:02 Login Succeeded 17:39:02 docker.io 17:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:03 Configure a credential helper to remove this warning. See 17:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:03 17:39:03 Login Succeeded 17:39:03 ---> docker-login.sh ends [Pipeline] } 17:39:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:39:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:03 ========================================================= 17:39:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:39:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:03 + 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 . 17:39:03 Sending build context to Docker daemon 23.44MB 17:39:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:39:03 Step 2/12 : FROM ${BASE} AS builder 17:39:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:39:03 213ec9aee27d: Pulling fs layer 17:39:03 4583459ba037: Pulling fs layer 17:39:03 93c1e223e6f2: Pulling fs layer 17:39:03 53926ce57604: Pulling fs layer 17:39:03 21b2b0c7a3f4: Pulling fs layer 17:39:03 22ff95d597cd: Pulling fs layer 17:39:03 12d6caf4c0d1: Pulling fs layer 17:39:03 96b7cbca73a9: Pulling fs layer 17:39:03 a7acece74701: Pulling fs layer 17:39:03 53926ce57604: Waiting 17:39:03 21b2b0c7a3f4: Waiting 17:39:03 96b7cbca73a9: Waiting 17:39:03 22ff95d597cd: Waiting 17:39:03 12d6caf4c0d1: Waiting 17:39:03 a7acece74701: Waiting 17:39:03 93c1e223e6f2: Verifying Checksum 17:39:03 93c1e223e6f2: Download complete 17:39:03 4583459ba037: Download complete 17:39:03 21b2b0c7a3f4: Verifying Checksum 17:39:03 21b2b0c7a3f4: Download complete 17:39:03 22ff95d597cd: Verifying Checksum 17:39:03 22ff95d597cd: Download complete 17:39:04 213ec9aee27d: Verifying Checksum 17:39:04 12d6caf4c0d1: Verifying Checksum 17:39:04 12d6caf4c0d1: Download complete 17:39:04 213ec9aee27d: Pull complete 17:39:04 4583459ba037: Pull complete 17:39:04 93c1e223e6f2: Pull complete 17:39:05 a7acece74701: Verifying Checksum 17:39:05 a7acece74701: Download complete 17:39:05 53926ce57604: Verifying Checksum 17:39:05 53926ce57604: Download complete 17:39:05 96b7cbca73a9: Verifying Checksum 17:39:05 96b7cbca73a9: Download complete 17:39:10 53926ce57604: Pull complete 17:39:10 21b2b0c7a3f4: Pull complete 17:39:10 22ff95d597cd: Pull complete 17:39:10 12d6caf4c0d1: Pull complete 17:39:12 96b7cbca73a9: Pull complete 17:39:13 a7acece74701: Pull complete 17:39:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:39:13 ---> db6d94c90886 17:39:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:39:17 Still waiting to schedule task 17:39:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6151’ is offline 17:39:18 ---> Running in f945923c7dbf 17:39:18 Removing intermediate container f945923c7dbf 17:39:18 ---> dee90883514c 17:39:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:39:18 ---> Running in 75db33e52b02 17:39:18 Removing intermediate container 75db33e52b02 17:39:18 ---> 2c6e69cf9152 17:39:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:39:18 ---> Running in 3d667704b816 17:39:18 Removing intermediate container 3d667704b816 17:39:18 ---> d6b46f30ca23 17:39:18 Step 6/12 : WORKDIR /device-virtual-go 17:39:18 ---> Running in f6e67c113b36 17:39:18 Removing intermediate container f6e67c113b36 17:39:18 ---> 84613df7b787 17:39:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:18 ---> Running in 20a011fbed1a 17:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:39:19 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:39:19 (2/4) Installing libedit (20210910.3.1-r0) 17:39:19 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:39:19 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:39:19 Executing busybox-1.35.0-r17.trigger 17:39:19 OK: 216 MiB in 55 packages 17:39:19 Removing intermediate container 20a011fbed1a 17:39:19 ---> e0a4c1d8dfaf 17:39:19 Step 8/12 : COPY go.mod vendor* ./ 17:39:19 ---> 7951f2ca1c12 17:39:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:19 ---> Running in 5b1113505bc1 17:39:58 Removing intermediate container 5b1113505bc1 17:39:58 ---> 67e3b9f68c13 17:39:58 Step 10/12 : COPY . . 17:39:58 ---> c8294ae6b8ad 17:39:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:58 ---> Running in cc62fca5fe0a 17:39:58 Removing intermediate container cc62fca5fe0a 17:39:58 ---> d65081d77da0 17:39:58 Step 12/12 : RUN $MAKE 17:39:58 ---> Running in 7a0567b24e06 17:39:58 noop 17:39:58 Removing intermediate container 7a0567b24e06 17:39:58 ---> 862eab14bc48 17:39:58 Successfully built 862eab14bc48 17:39:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:59 + docker inspect -f . ci-base-image-x86_64 17:39:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:59 prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container 17:39:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 17:39:59 $ docker top 4b6815e5df55d7ee922807a65414810b95891d9bbf8751b854d5de3fa9108e4e -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:59 + go version 17:39:59 go version go1.18.7 linux/amd64 [Pipeline] } 17:39:59 $ docker stop --time=1 4b6815e5df55d7ee922807a65414810b95891d9bbf8751b854d5de3fa9108e4e 17:40:01 $ docker rm -f --volumes 4b6815e5df55d7ee922807a65414810b95891d9bbf8751b854d5de3fa9108e4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:01 + docker inspect -f . ci-base-image-x86_64 17:40:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:01 prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container 17:40:01 $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 17:40:01 $ docker top 48a159de227b90622e563d4b7340ceab6bce8cceaf759eba61ab7e5bbcb57a52 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:02 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] fileExists [Pipeline] sh 17:40:02 + make test 17:40:02 go test ./... -coverprofile=coverage.out 17:40:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:40:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:40:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 17:40:19 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." 17:40:19 go vet ./... 17:40:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:22 ./bin/test-attribution-txt.sh 17:40:22 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 17:40:22 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 17:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:40:22 $ docker stop --time=1 48a159de227b90622e563d4b7340ceab6bce8cceaf759eba61ab7e5bbcb57a52 17:40:24 $ docker rm -f --volumes 48a159de227b90622e563d4b7340ceab6bce8cceaf759eba61ab7e5bbcb57a52 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:26 + ls -al . 17:40:26 total 192 17:40:26 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 17:40 . 17:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:38 .. 17:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:40 .git 17:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:38 .github 17:40:26 -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 17:38 .gitignore 17:40:26 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:38 .golangci.yml 17:40:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:38 .semver 17:40:26 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 15 17:38 Attribution.txt 17:40:26 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 17:38 CHANGELOG.md 17:40:26 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 17:38 Dockerfile 17:40:26 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:38 GOVERNANCE.md 17:40:26 -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 17:38 Jenkinsfile 17:40:26 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:38 LICENSE 17:40:26 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 17:38 Makefile 17:40:26 -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 17:38 OWNERS.md 17:40:26 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 17:38 README.md 17:40:26 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:39 VERSION 17:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:38 bin 17:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:38 cmd 17:40:26 -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 17:40 coverage.out 17:40:26 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 17:38 go.mod 17:40:26 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 17:38 go.sum 17:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:38 internal 17:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:38 snap 17:40:26 -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:26 + 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=6b281627ae5bd454eb4ea58221e90b311c4113a6 --label arch=amd64 --label version=0.0.0 . 17:40:26 Sending build context to Docker daemon 23.49MB 17:40:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:40:26 Step 2/25 : FROM ${BASE} AS builder 17:40:26 ---> 862eab14bc48 17:40:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:40:26 ---> Running in 2e5f05377f6b 17:40:26 Removing intermediate container 2e5f05377f6b 17:40:26 ---> e5d80bd11feb 17:40:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:40:26 ---> Running in d4abd96ee140 17:40:26 Removing intermediate container d4abd96ee140 17:40:26 ---> 3c90d372ebf2 17:40:26 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:40:26 ---> Running in e2ab416f749e 17:40:26 Removing intermediate container e2ab416f749e 17:40:26 ---> 96c0e740a40f 17:40:26 Step 6/25 : WORKDIR /device-virtual-go 17:40:26 ---> Running in ee85f5983759 17:40:27 Removing intermediate container ee85f5983759 17:40:27 ---> 58b5a8444473 17:40:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:27 ---> Running in dafaa16ac00b 17:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:40:27 OK: 216 MiB in 55 packages 17:40:28 Removing intermediate container dafaa16ac00b 17:40:28 ---> 0235f64b879b 17:40:28 Step 8/25 : COPY go.mod vendor* ./ 17:40:28 ---> 098cf706fe89 17:40:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:28 ---> Running in e0d889e78ad2 17:40:29 Removing intermediate container e0d889e78ad2 17:40:29 ---> 7bc479624e14 17:40:29 Step 10/25 : COPY . . 17:40:29 ---> 2f5801478f6f 17:40:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:29 ---> Running in 91171985a343 17:40:30 Removing intermediate container 91171985a343 17:40:30 ---> 4b10b3137476 17:40:30 Step 12/25 : RUN $MAKE 17:40:30 ---> Running in 0fe9d034e6fa 17:40:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 17:40:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6153 in /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] { [Pipeline] ws 17:40:48 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 17:40:48 The recommended git tool is: git 17:40:52 Removing intermediate container 0fe9d034e6fa 17:40:52 ---> d9bc410f0696 17:40:52 Step 13/25 : FROM alpine:3.16 17:40:52 3.16: Pulling from library/alpine 17:40:52 ef5531b6e74e: Pulling fs layer 17:40:52 ef5531b6e74e: Download complete 17:40:52 ef5531b6e74e: Pull complete 17:40:52 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:40:52 Status: Downloaded newer image for alpine:3.16 17:40:52 ---> dfd21b5a31f5 17:40:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:40:52 ---> Running in a6ab24d706cc 17:40:52 Removing intermediate container a6ab24d706cc 17:40:52 ---> a9fb318e784d 17:40:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:40:52 ---> Running in b77b53b73e00 17:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:40:52 (1/1) Installing dumb-init (1.2.5-r1) 17:40:52 Executing busybox-1.35.0-r17.trigger 17:40:52 OK: 6 MiB in 15 packages 17:40:52 Removing intermediate container b77b53b73e00 17:40:52 ---> 2a26d934408c 17:40:52 Step 16/25 : WORKDIR / 17:40:52 ---> Running in 42f7a4d03245 17:40:52 Removing intermediate container 42f7a4d03245 17:40:52 ---> a77f4eb013b7 17:40:52 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:40:52 ---> 4e2f0aff5a3f 17:40:52 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:40:52 ---> 1a6296af9c77 17:40:52 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:40:53 using credential edgex-jenkins-ssh 17:40:53 Cloning the remote Git repository 17:40:53 ---> 585733fd58ae 17:40:53 Step 20/25 : EXPOSE 59900 17:40:53 ---> Running in 034e01f97db7 17:40:53 Removing intermediate container 034e01f97db7 17:40:53 ---> c0a92e9bec2b 17:40:53 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:40:53 ---> Running in 16d18693cafa 17:40:53 Removing intermediate container 16d18693cafa 17:40:53 ---> 5515a1df3aa9 17:40:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:40:53 ---> Running in 80c2e46d6e4d 17:40:53 Removing intermediate container 80c2e46d6e4d 17:40:53 ---> 013038260ab2 17:40:53 Step 23/25 : LABEL arch=amd64 17:40:53 ---> Running in 5fd1182cfc7a 17:40:53 Removing intermediate container 5fd1182cfc7a 17:40:53 ---> d52a90ff0955 17:40:53 Step 24/25 : LABEL git_sha=6b281627ae5bd454eb4ea58221e90b311c4113a6 17:40:53 ---> Running in 00905048ad66 17:40:53 Removing intermediate container 00905048ad66 17:40:53 ---> c9bb95192a81 17:40:53 Step 25/25 : LABEL version=0.0.0 17:40:53 ---> Running in f667b3e8ba5b 17:40:53 Removing intermediate container f667b3e8ba5b 17:40:53 ---> 7cea965e220b 17:40:53 [Warning] One or more build-args [ARCH] were not consumed 17:40:54 Successfully built 7cea965e220b 17:40:54 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 17:40:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:40:53 > git init /w/workspace/device-virtual-go/7 # timeout=10 17:40:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:40:53 > git --version # timeout=10 17:40:53 > git --version # 'git version 2.25.1' 17:40:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 17:40:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:54 17:40:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:54 latest: Pulling from edgex-lftools-log-publisher 17:40:54 5eb5b503b376: Pulling fs layer 17:40:54 5c69ac0246d0: Pulling fs layer 17:40:54 ec43610c2a17: Pulling fs layer 17:40:54 3a2ae6a8a46f: Pulling fs layer 17:40:54 33b1e0a273af: Pulling fs layer 17:40:54 5d3b04190fa2: Pulling fs layer 17:40:54 2f39f015ded8: Pulling fs layer 17:40:54 3a2ae6a8a46f: Waiting 17:40:54 33b1e0a273af: Waiting 17:40:54 5d3b04190fa2: Waiting 17:40:54 2f39f015ded8: Waiting 17:40:54 5c69ac0246d0: Verifying Checksum 17:40:54 5c69ac0246d0: Download complete 17:40:54 3a2ae6a8a46f: Download complete 17:40:55 33b1e0a273af: Verifying Checksum 17:40:55 33b1e0a273af: Download complete 17:40:55 ec43610c2a17: Verifying Checksum 17:40:55 ec43610c2a17: Download complete 17:40:55 5d3b04190fa2: Verifying Checksum 17:40:55 5d3b04190fa2: Download complete 17:40:55 5eb5b503b376: Download complete 17:40:56 2f39f015ded8: Download complete 17:40:56 5eb5b503b376: Pull complete 17:40:56 5c69ac0246d0: Pull complete 17:40:57 ec43610c2a17: Pull complete 17:40:57 3a2ae6a8a46f: Pull complete 17:40:57 33b1e0a273af: Pull complete 17:40:57 5d3b04190fa2: Pull complete 17:40:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:40:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:40:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:40:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:40:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:40:58 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit 6b281627ae5bd454eb4ea58221e90b311c4113a6 17:40:58 Merge succeeded, producing 6b281627ae5bd454eb4ea58221e90b311c4113a6 17:40:58 Checking out Revision 6b281627ae5bd454eb4ea58221e90b311c4113a6 (PR-339) 17:40:58 > git config core.sparsecheckout # timeout=10 17:40:58 > git checkout -f 6b281627ae5bd454eb4ea58221e90b311c4113a6 # timeout=10 17:40:58 > git remote # timeout=10 17:40:58 > git config --get remote.origin.url # timeout=10 17:40:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:58 > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 17:40:58 > git rev-parse HEAD^{commit} # timeout=10 17:40:58 > git config core.sparsecheckout # timeout=10 17:40:58 > git checkout -f 6b281627ae5bd454eb4ea58221e90b311c4113a6 # timeout=10 17:41:01 2f39f015ded8: Pull complete 17:41:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:01 prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container 17:41:01 $ 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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 17:41:02 Commit message: "fix: revert contracts version to dev.10" 17:41:02 17:41:02 GitHub has been notified of this commit’s build result 17:41:02 17:41:05 $ docker top 3e0deb6d9bbfa39ccfd1210703b7e9b8d4b20354513557c3ad6e2611ef454abf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:05 ---> job-cost.sh 17:41:05 lf-activate-venv: SKIPPING 17:41:05 INFO: No Stack... 17:41:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:05 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:05 Dload Upload Total Spent Left Speed 17:41:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 17:41:06 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 17:41:06 INFO: Archiving Costs [Pipeline] sh 17:41:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:06 + cat /w/workspace/foundry_device-virtual-go_PR-339/archives/cost.csv 17:41:06 + cut -d, -f6 [Pipeline] lock 17:41:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] 17:41:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] did not exist. Created. 17:41:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:06 + + sudo tee /etc/docker/daemon.new 17:41:06 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:06 { 17:41:06 "registry-mirrors": [ 17:41:06 "https://nexus3.edgexfoundry.org:10001" 17:41:06 ], 17:41:06 "bip": "10.250.0.254/24", 17:41:06 "hosts": [ 17:41:06 "tcp://0.0.0.0:5555", 17:41:06 "unix:///var/run/docker.sock" 17:41:06 ], 17:41:06 "mtu": 1458, 17:41:06 "selinux-enabled": true, 17:41:06 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:06 } [Pipeline] sh 17:41:07 + echo total: 0.2199999988079071 [Pipeline] stash 17:41:07 Stashed 1 file(s) [Pipeline] } 17:41:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] [Pipeline] // lock [Pipeline] } 17:41:07 $ docker stop --time=1 3e0deb6d9bbfa39ccfd1210703b7e9b8d4b20354513557c3ad6e2611ef454abf 17:41:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 17:41:08 $ docker rm -f --volumes 3e0deb6d9bbfa39ccfd1210703b7e9b8d4b20354513557c3ad6e2611ef454abf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:41:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:26 provisioning config files... 17:41:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config3081890393775877695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:27 ---> docker-login.sh 17:41:27 nexus3.edgexfoundry.org:10001 17:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:27 Configure a credential helper to remove this warning. See 17:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:27 17:41:27 Login Succeeded 17:41:27 nexus3.edgexfoundry.org:10002 17:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:28 Configure a credential helper to remove this warning. See 17:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:28 17:41:28 Login Succeeded 17:41:28 nexus3.edgexfoundry.org:10003 17:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:28 Configure a credential helper to remove this warning. See 17:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:28 17:41:28 Login Succeeded 17:41:28 nexus3.edgexfoundry.org:10004 17:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:28 Configure a credential helper to remove this warning. See 17:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:28 17:41:28 Login Succeeded 17:41:28 docker.io 17:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:29 Configure a credential helper to remove this warning. See 17:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:29 17:41:29 Login Succeeded 17:41:29 ---> docker-login.sh ends [Pipeline] } 17:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:29 ========================================================= 17:41:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:41:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:30 + 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 . 17:41:30 Sending build context to Docker daemon 11.91MB 17:41:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:41:30 Step 2/12 : FROM ${BASE} AS builder 17:41:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:41:30 9b18e9b68314: Pulling fs layer 17:41:30 35d82f9e3411: Pulling fs layer 17:41:30 e16973657156: Pulling fs layer 17:41:30 fc693d55d65f: Pulling fs layer 17:41:30 7e9fc2657dce: Pulling fs layer 17:41:30 dda99020689f: Pulling fs layer 17:41:30 db1c61fa0a46: Pulling fs layer 17:41:30 891c053d2c06: Pulling fs layer 17:41:30 fc693d55d65f: Waiting 17:41:30 7e9fc2657dce: Waiting 17:41:30 dda99020689f: Waiting 17:41:30 db1c61fa0a46: Waiting 17:41:30 891c053d2c06: Waiting 17:41:30 e16973657156: Verifying Checksum 17:41:30 e16973657156: Download complete 17:41:30 35d82f9e3411: Download complete 17:41:30 7e9fc2657dce: Verifying Checksum 17:41:30 7e9fc2657dce: Download complete 17:41:30 dda99020689f: Verifying Checksum 17:41:30 dda99020689f: Download complete 17:41:30 9b18e9b68314: Verifying Checksum 17:41:30 9b18e9b68314: Download complete 17:41:31 9b18e9b68314: Pull complete 17:41:31 891c053d2c06: Verifying Checksum 17:41:31 891c053d2c06: Download complete 17:41:32 35d82f9e3411: Pull complete 17:41:32 e16973657156: Pull complete 17:41:32 db1c61fa0a46: Verifying Checksum 17:41:32 db1c61fa0a46: Download complete 17:41:33 fc693d55d65f: Verifying Checksum 17:41:33 fc693d55d65f: Download complete 17:41:45 fc693d55d65f: Pull complete 17:41:45 7e9fc2657dce: Pull complete 17:41:45 dda99020689f: Pull complete 17:41:52 db1c61fa0a46: Pull complete 17:41:53 891c053d2c06: Pull complete 17:41:53 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:41:53 ---> f96f9c87975a 17:41:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:41:54 ---> Running in b6d984741f4f 17:41:55 Removing intermediate container b6d984741f4f 17:41:55 ---> fc888ac24825 17:41:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:41:55 ---> Running in 65090c323cff 17:41:55 Removing intermediate container 65090c323cff 17:41:55 ---> e47562abd15b 17:41:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:41:55 ---> Running in 481bf9c64a0f 17:41:55 Removing intermediate container 481bf9c64a0f 17:41:55 ---> eb2a6184d73d 17:41:55 Step 6/12 : WORKDIR /device-virtual-go 17:41:56 ---> Running in d97e12e43d82 17:41:56 Removing intermediate container d97e12e43d82 17:41:56 ---> 76425f880a14 17:41:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:41:56 ---> Running in 57ec56dbc17b 17:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:41:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:41:58 (2/4) Installing libedit (20210910.3.1-r0) 17:41:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:41:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:41:58 Executing busybox-1.35.0-r17.trigger 17:41:58 OK: 226 MiB in 55 packages 17:41:59 Removing intermediate container 57ec56dbc17b 17:41:59 ---> 9c90a34855a9 17:41:59 Step 8/12 : COPY go.mod vendor* ./ 17:42:00 ---> d7fe15d3efef 17:42:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:00 ---> Running in 3a32aa090f68 17:43:08 Removing intermediate container 3a32aa090f68 17:43:08 ---> e3b6b4268f0c 17:43:08 Step 10/12 : COPY . . 17:43:08 ---> f467a1c04adf 17:43:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:43:08 ---> Running in f8cedee92382 17:43:08 Removing intermediate container f8cedee92382 17:43:08 ---> e46fad406a83 17:43:08 Step 12/12 : RUN $MAKE 17:43:08 ---> Running in 56b282c6cec6 17:43:08 noop 17:43:08 Removing intermediate container 56b282c6cec6 17:43:08 ---> eaaae29c109c 17:43:08 Successfully built eaaae29c109c 17:43:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:08 + docker inspect -f . ci-base-image-arm64 17:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 17:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 17:43:10 $ docker top 043b70b37c384ade3bf69604d09041b67a06b518d98ec1f7455f5fa8794ddf94 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:11 + go version 17:43:11 go version go1.18.7 linux/arm64 [Pipeline] } 17:43:11 $ docker stop --time=1 043b70b37c384ade3bf69604d09041b67a06b518d98ec1f7455f5fa8794ddf94 17:43:12 $ docker rm -f --volumes 043b70b37c384ade3bf69604d09041b67a06b518d98ec1f7455f5fa8794ddf94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:13 + docker inspect -f . ci-base-image-arm64 17:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:13 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 17:43:13 $ 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/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 17:43:14 $ docker top 64ff6d6ddc6cc23a4bbe653da694f9f014b0a20042eae5a140138f8e7cd6fb2b -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:15 + git config --global --add safe.directory /w/workspace/device-virtual-go/7 [Pipeline] fileExists [Pipeline] sh 17:43:15 + make test 17:43:16 go test ./... -coverprofile=coverage.out 17:43:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:44:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:44:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.127s coverage: 65.7% of statements 17:44:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:44:39 go vet ./... 17:44:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:44:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:44:57 ./bin/test-attribution-txt.sh 17:44:57 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 17:44:57 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 17:44:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:44:57 $ docker stop --time=1 64ff6d6ddc6cc23a4bbe653da694f9f014b0a20042eae5a140138f8e7cd6fb2b 17:45:00 $ docker rm -f --volumes 64ff6d6ddc6cc23a4bbe653da694f9f014b0a20042eae5a140138f8e7cd6fb2b [Pipeline] // withDockerContainer [Pipeline] sh 17:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:45:01 Warning: overwriting stash ‘coverage-report’ 17:45:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:45:02 + ls -al . 17:45:02 total 188 17:45:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:43 . 17:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:40 .. 17:45:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:40 .git 17:45:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:40 .github 17:45:02 -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 17:40 .gitignore 17:45:02 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:40 .golangci.yml 17:45:02 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 15 17:40 Attribution.txt 17:45:02 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 17:40 CHANGELOG.md 17:45:02 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 17:40 Dockerfile 17:45:02 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:40 GOVERNANCE.md 17:45:02 -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 17:40 Jenkinsfile 17:45:02 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:40 LICENSE 17:45:02 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 17:40 Makefile 17:45:02 -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 17:40 OWNERS.md 17:45:02 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 17:40 README.md 17:45:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:39 VERSION 17:45:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:40 bin 17:45:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:40 cmd 17:45:02 -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 17:44 coverage.out 17:45:02 -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 17:40 go.mod 17:45:02 -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 17:40 go.sum 17:45:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:40 internal 17:45:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:40 snap 17:45:02 -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 17:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:02 + 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=6b281627ae5bd454eb4ea58221e90b311c4113a6 --label arch=arm64 --label version=0.0.0 . 17:45:03 Sending build context to Docker daemon 11.95MB 17:45:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:45:03 Step 2/25 : FROM ${BASE} AS builder 17:45:03 ---> eaaae29c109c 17:45:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:45:03 ---> Running in ccb4e2b75c7a 17:45:03 Removing intermediate container ccb4e2b75c7a 17:45:03 ---> 83389fac1919 17:45:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:45:03 ---> Running in 087ab1624915 17:45:03 Removing intermediate container 087ab1624915 17:45:03 ---> 2e3e657f7575 17:45:03 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:45:04 ---> Running in 609a651691b1 17:45:04 Removing intermediate container 609a651691b1 17:45:04 ---> 83be824265b3 17:45:04 Step 6/25 : WORKDIR /device-virtual-go 17:45:04 ---> Running in 901e524f816b 17:45:04 Removing intermediate container 901e524f816b 17:45:04 ---> c9ca99158223 17:45:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:45:04 ---> Running in ec2c06996c12 17:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:45:07 OK: 226 MiB in 55 packages 17:45:08 Removing intermediate container ec2c06996c12 17:45:08 ---> 243d4911b9ce 17:45:08 Step 8/25 : COPY go.mod vendor* ./ 17:45:08 ---> b220587dfa55 17:45:08 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:08 ---> Running in 65bdccfcde81 17:45:12 Removing intermediate container 65bdccfcde81 17:45:12 ---> 6b133e15ddc3 17:45:12 Step 10/25 : COPY . . 17:45:13 ---> b9f771f7bc5e 17:45:13 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:45:13 ---> Running in 11168febeb98 17:45:13 Removing intermediate container 11168febeb98 17:45:13 ---> 8d1bcbf75bd3 17:45:13 Step 12/25 : RUN $MAKE 17:45:13 ---> Running in 0a815fdaae2f 17:45:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 17:47:23 Removing intermediate container 0a815fdaae2f 17:47:23 ---> ff37c1bb04a9 17:47:23 Step 13/25 : FROM alpine:3.16 17:47:23 3.16: Pulling from library/alpine 17:47:23 3760b48202b3: Pulling fs layer 17:47:23 3760b48202b3: Verifying Checksum 17:47:23 3760b48202b3: Download complete 17:47:23 3760b48202b3: Pull complete 17:47:23 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:47:23 Status: Downloaded newer image for alpine:3.16 17:47:23 ---> 4c81e5bf8899 17:47:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:47:23 ---> Running in 9068ff49b34b 17:47:23 Removing intermediate container 9068ff49b34b 17:47:23 ---> 0053d0dd0506 17:47:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 17:47:23 ---> Running in 720912e49c5f 17:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:47:23 (1/1) Installing dumb-init (1.2.5-r1) 17:47:23 Executing busybox-1.35.0-r17.trigger 17:47:23 OK: 5 MiB in 15 packages 17:47:23 Removing intermediate container 720912e49c5f 17:47:23 ---> f6ac40caac6f 17:47:23 Step 16/25 : WORKDIR / 17:47:23 ---> Running in 28d80bf54bcc 17:47:23 Removing intermediate container 28d80bf54bcc 17:47:23 ---> 05352b4ad7ca 17:47:23 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:47:23 ---> 9433cce7384e 17:47:23 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:47:23 ---> 0a391fe46261 17:47:23 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:47:24 ---> 84216cdd8665 17:47:24 Step 20/25 : EXPOSE 59900 17:47:24 ---> Running in 77dd49b1b1ff 17:47:24 Removing intermediate container 77dd49b1b1ff 17:47:24 ---> 6edcc4d1e304 17:47:24 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:47:25 ---> Running in 400b91aa5d3b 17:47:25 Removing intermediate container 400b91aa5d3b 17:47:25 ---> 24e34d99e912 17:47:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:47:25 ---> Running in a0b80ffc4b83 17:47:25 Removing intermediate container a0b80ffc4b83 17:47:25 ---> 6da35cef8b48 17:47:25 Step 23/25 : LABEL arch=arm64 17:47:25 ---> Running in 288756037caa 17:47:25 Removing intermediate container 288756037caa 17:47:25 ---> ea1e8d20e29c 17:47:25 Step 24/25 : LABEL git_sha=6b281627ae5bd454eb4ea58221e90b311c4113a6 17:47:25 ---> Running in c61d2fde6f75 17:47:26 Removing intermediate container c61d2fde6f75 17:47:26 ---> 5f667f2a719b 17:47:26 Step 25/25 : LABEL version=0.0.0 17:47:26 ---> Running in 9d49487a29e9 17:47:26 Removing intermediate container 9d49487a29e9 17:47:26 ---> 76cc8e9638c8 17:47:26 [Warning] One or more build-args [ARCH] were not consumed 17:47:26 Successfully built 76cc8e9638c8 17:47:26 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 17:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:27 17:47:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:27 arm64: Pulling from edgex-lftools-log-publisher 17:47:27 8998bd30e6a1: Pulling fs layer 17:47:27 04944245beec: Pulling fs layer 17:47:27 699f458cf7ca: Pulling fs layer 17:47:27 765212b225bb: Pulling fs layer 17:47:27 f23df028b6ca: Pulling fs layer 17:47:27 d65c8cfc05b1: Pulling fs layer 17:47:27 2437ff75d9bd: Pulling fs layer 17:47:27 765212b225bb: Waiting 17:47:27 d65c8cfc05b1: Waiting 17:47:27 2437ff75d9bd: Waiting 17:47:27 f23df028b6ca: Waiting 17:47:27 04944245beec: Verifying Checksum 17:47:27 04944245beec: Download complete 17:47:27 765212b225bb: Verifying Checksum 17:47:27 765212b225bb: Download complete 17:47:27 f23df028b6ca: Verifying Checksum 17:47:28 d65c8cfc05b1: Verifying Checksum 17:47:28 d65c8cfc05b1: Download complete 17:47:28 699f458cf7ca: Verifying Checksum 17:47:28 699f458cf7ca: Download complete 17:47:28 8998bd30e6a1: Verifying Checksum 17:47:28 8998bd30e6a1: Download complete 17:47:30 2437ff75d9bd: Verifying Checksum 17:47:30 2437ff75d9bd: Download complete 17:47:32 8998bd30e6a1: Pull complete 17:47:34 04944245beec: Pull complete 17:47:35 699f458cf7ca: Pull complete 17:47:35 765212b225bb: Pull complete 17:47:36 f23df028b6ca: Pull complete 17:47:36 d65c8cfc05b1: Pull complete 17:47:51 2437ff75d9bd: Pull complete 17:47:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:51 prd-ubuntu20.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container 17:47:51 $ 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/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 17:47:54 $ docker top 8ec792e9c0a499ef75de9a550343b477d754aa3242a498337e8c8b01e777c569 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:55 ---> job-cost.sh 17:47:55 lf-activate-venv: SKIPPING 17:47:55 INFO: No Stack... 17:47:55 INFO: Retrieving Pricing Info for: v3-standard-4 17:47:56 INFO: Archiving Costs [Pipeline] sh 17:47:56 + cat /w/workspace/device-virtual-go/7/archives/cost.csv 17:47:56 + cut -d, -f6 [Pipeline] lock 17:47:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] 17:47:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] did not exist. Created. 17:47:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:57 /w/workspace/device-virtual-go/7@tmp/durable-dc69a9f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:47:57 + echo total: 0.10999999940395355 [Pipeline] stash 17:47:57 Warning: overwriting stash ‘stack-cost’ 17:47:57 Stashed 1 file(s) [Pipeline] } 17:47:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-7-stack-cost] [Pipeline] // lock [Pipeline] } 17:47:57 $ docker stop --time=1 8ec792e9c0a499ef75de9a550343b477d754aa3242a498337e8c8b01e777c569 17:47:59 $ docker rm -f --volumes 8ec792e9c0a499ef75de9a550343b477d754aa3242a498337e8c8b01e777c569 [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 17:47:59 provisioning config files... 17:47:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config11055045514968154148tmp [Pipeline] { [Pipeline] sh 17:47:59 + set +x 17:47:59 + curl -s https://codecov.io/bash 17:47:59 + bash -s -- 17:47:59 17:47:59 _____ _ 17:47:59 / ____| | | 17:47:59 | | ___ __| | ___ ___ _____ __ 17:47:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:47:59 | |___| (_) | (_| | __/ (_| (_) \ V / 17:47:59 \_____\___/ \__,_|\___|\___\___/ \_/ 17:47:59 Bash-1.0.6 17:47:59 17:47:59 17:47:59 ==> git version 2.25.1 found 17:47:59 ==> 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 17:47:59 Release-Date: 2020-01-08 17:47:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:47:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:47:59 ==> Jenkins CI detected. 17:47:59 current dir:  /w/workspace/foundry_device-virtual-go_PR-339 17:47:59 project root: . 17:47:59 --> token set from env 17:47:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:47:59 ==> Running gcov in . (disable via -X gcov) 17:47:59 ==> Python coveragepy not found 17:47:59 ==> Searching for coverage reports in: 17:47:59 + . 17:47:59 -> Found 1 reports 17:47:59 ==> Detecting git/mercurial file structure 17:47:59 ==> Reading reports 17:47:59 + ./coverage.out bytes=44128 17:47:59 ==> Appending adjustments 17:47:59 https://docs.codecov.io/docs/fixing-reports 17:48:00 + Found adjustments 17:48:00 ==> Gzipping contents 17:48:00 8.0K /tmp/codecov.CeTkex.gz 17:48:00 ==> Uploading reports 17:48:00 url: https://codecov.io 17:48:00 query: branch=PR-339&commit=6b281627ae5bd454eb4ea58221e90b311c4113a6&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= 17:48:00 -> Pinging Codecov 17:48:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-339&commit=6b281627ae5bd454eb4ea58221e90b311c4113a6&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-339%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=339&job=&cmd_args= 17:48:00 -> Uploading to 17:48:00 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/5E52B4B073DB2E39498172D8E973AA87/6b281627ae5bd454eb4ea58221e90b311c4113a6/5434e024-0c3f-47d7-8089-d33d4c883ec8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T174800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23ce03c0d247bcbfad286f537475273dd2bd8dfcac75e06d948e45b7ed9c4975 17:48:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:00 Dload Upload Total Spent Left Speed 17:48:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5469 0 0 100 5469 0 20255 --:--:-- --:--:-- --:--:-- 20180 17:48:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6b281627ae5bd454eb4ea58221e90b311c4113a6 [Pipeline] } 17:48:00 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 17:48:01 + [ -d /w/workspace/foundry_device-virtual-go_PR-339/archives ] 17:48:01 + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives 17:48:01 total 16 17:48:01 drwxr-xr-x 3 root root 4096 Feb 15 17:41 . 17:48:01 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:41 .. 17:48:01 drwxr-xr-x 2 root root 4096 Feb 15 17:41 cost 17:48:01 -rw-r--r-- 1 root root 89 Feb 15 17:41 cost.csv 17:48:01 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-339/archives 17:48:01 + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives 17:48:01 total 16 17:48:01 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:41 . 17:48:01 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:41 .. 17:48:01 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 17:41 cost 17:48:01 -rw-r--r-- 1 jenkins jenkins 89 Feb 15 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:48:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:48:02 ---> package-listing.sh 17:48:02 ++ facter osfamily 17:48:02 ++ tr '[:upper:]' '[:lower:]' 17:48:02 + OS_FAMILY=debian 17:48:02 + workspace=/w/workspace/foundry_device-virtual-go_PR-339 17:48:02 + START_PACKAGES=/tmp/packages_start.txt 17:48:02 + END_PACKAGES=/tmp/packages_end.txt 17:48:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:48:02 + PACKAGES=/tmp/packages_start.txt 17:48:02 + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' 17:48:02 + PACKAGES=/tmp/packages_end.txt 17:48:02 + case "${OS_FAMILY}" in 17:48:02 + dpkg -l 17:48:02 + grep '^ii' 17:48:02 + '[' -f /tmp/packages_start.txt ']' 17:48:02 + '[' -f /tmp/packages_end.txt ']' 17:48:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:48:02 + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' 17:48:02 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-339/archives/ 17:48:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-339/archives/ [Pipeline] echo 17:48:02 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:48:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:03 prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container 17:48:03 $ 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-339/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-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 17:48:03 $ docker top b8afc475e6f254000cb4f45231c619b342bc86632650784169301171608dc60a -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:04 + touch /tmp/pre-build-complete [Pipeline] sh 17:48:04 + mkdir -p /var/log/sysstat [Pipeline] sh 17:48:04 + ls /var/log/sa-host 17:48:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:04 provisioning config files... 17:48:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config3655825386717686537tmp [Pipeline] { [Pipeline] echo 17:48:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:48:05 ---> create-netrc.sh [Pipeline] } 17:48:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:48:05 ---> python-tools-install.sh [Pipeline] echo 17:48:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:48:05 ---> sudo-logs.sh 17:48:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:48:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:48:06 ---> job-cost.sh 17:48:06 lf-activate-venv: SKIPPING 17:48:06 DEBUG: total: 0.2199999988079071 17:48:06 INFO: Retrieving Stack Cost... 17:48:10 INFO: Retrieving Pricing Info for: v3-standard-8 17:48:10 INFO: Archiving Costs [Pipeline] echo 17:48:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:48:10 ---> logs-deploy.sh 17:48:10 lf-activate-venv: SKIPPING 17:48:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-339/7 17:48:10 INFO: archiving workspace using pattern(s): 17:48:11 Archives upload complete. 17:48:11 INFO: archiving logs to Nexus 17:48:12 ---> uname -a: 17:48:12 Linux prd-ubuntu20-04-docker-8c-8g-6152 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:48:12 17:48:12 17:48:12 ---> lscpu: 17:48:12 Architecture: x86_64 17:48:12 CPU op-mode(s): 32-bit, 64-bit 17:48:12 Byte Order: Little Endian 17:48:12 Address sizes: 40 bits physical, 48 bits virtual 17:48:12 CPU(s): 8 17:48:12 On-line CPU(s) list: 0-7 17:48:12 Thread(s) per core: 1 17:48:12 Core(s) per socket: 1 17:48:12 Socket(s): 8 17:48:12 NUMA node(s): 1 17:48:12 Vendor ID: AuthenticAMD 17:48:12 CPU family: 23 17:48:12 Model: 49 17:48:12 Model name: AMD EPYC-Rome Processor 17:48:12 Stepping: 0 17:48:12 CPU MHz: 2799.998 17:48:12 BogoMIPS: 5599.99 17:48:12 Virtualization: AMD-V 17:48:12 Hypervisor vendor: KVM 17:48:12 Virtualization type: full 17:48:12 L1d cache: 256 KiB 17:48:12 L1i cache: 256 KiB 17:48:12 L2 cache: 4 MiB 17:48:12 L3 cache: 128 MiB 17:48:12 NUMA node0 CPU(s): 0-7 17:48:12 Vulnerability Itlb multihit: Not affected 17:48:12 Vulnerability L1tf: Not affected 17:48:12 Vulnerability Mds: Not affected 17:48:12 Vulnerability Meltdown: Not affected 17:48:12 Vulnerability Mmio stale data: Not affected 17:48:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:48:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:48:12 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:48:12 Vulnerability Srbds: Not affected 17:48:12 Vulnerability Tsx async abort: Not affected 17:48:12 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 17:48:12 17:48:12 17:48:12 ---> nproc: 17:48:12 8 17:48:12 17:48:12 17:48:12 ---> df -h: 17:48:12 Filesystem Size Used Avail Use% Mounted on 17:48:12 overlay 155G 12G 144G 8% / 17:48:12 tmpfs 64M 0 64M 0% /dev 17:48:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:48:12 shm 64M 0 64M 0% /dev/shm 17:48:12 /dev/vda1 155G 12G 144G 8% /facter-os 17:48:12 17:48:12 17:48:12 ---> sar -b -r -n DEV: 17:48:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6152) 02/15/23 _x86_64_ (8 CPU) 17:48:12 17:48:12 17:37:57 LINUX RESTART (8 CPU) 17:48:12 17:48:12 17:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:48:12 17:39:01 300.18 81.50 218.68 0.00 7232.53 64274.75 0.00 17:48:12 17:40:01 184.05 1.60 182.45 0.00 35.73 86386.40 0.00 17:48:12 17:41:01 151.01 0.23 150.77 0.00 12.92 38954.95 0.00 17:48:12 17:42:01 33.83 0.02 33.81 0.00 4.27 30145.66 0.00 17:48:12 17:43:01 3.30 0.00 3.30 0.00 0.00 14128.98 0.00 17:48:12 17:44:01 34.04 11.21 22.83 0.00 3466.84 19370.74 0.00 17:48:12 17:45:01 3.43 0.00 3.43 0.00 0.00 13996.87 0.00 17:48:12 17:46:01 3.00 0.00 3.00 0.00 0.00 13989.47 0.00 17:48:12 17:47:01 3.83 0.00 3.83 0.00 0.00 14000.33 0.00 17:48:12 17:48:01 3.82 0.10 3.72 0.00 7.20 14014.33 0.00 17:48:12 Average: 72.06 9.47 62.59 0.00 1075.90 30927.14 0.00 17:48:12 17:48:12 17:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:48:12 17:39:01 29965224 31636028 716428 2.18 59748 1909536 1755344 5.17 962608 1658640 224 17:48:12 17:40:01 28415736 31564092 746804 2.27 144456 3212728 1891972 5.58 1091712 2945788 132 17:48:12 17:41:01 27648532 31574368 730884 2.22 158164 3911300 1855272 5.47 1230964 3499636 456144 17:48:12 17:42:01 27655024 31581404 723532 2.20 158476 3911608 1750092 5.16 1234704 3487744 24 17:48:12 17:43:01 27655360 31581844 722924 2.20 158536 3911608 1750092 5.16 1234608 3487752 16 17:48:12 17:44:01 27427040 31571284 721524 2.19 163768 4115824 1849924 5.45 1387940 3539556 16 17:48:12 17:45:01 27427256 31571636 721144 2.19 163856 4115828 1849924 5.45 1388136 3539568 16 17:48:12 17:46:01 27432744 31577204 715508 2.18 163940 4115828 1849924 5.45 1382768 3539580 16 17:48:12 17:47:01 27432184 31576772 715896 2.18 164036 4115832 1849924 5.45 1382816 3539592 16 17:48:12 17:48:01 27417252 31562380 730152 2.22 164180 4116036 1877592 5.53 1398968 3539692 152 17:48:12 Average: 27847635 31579701 724480 2.20 149916 3743613 1828006 5.39 1269522 3277755 45676 17:48:12 17:48:12 17:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:48:12 17:39:01 ens3 433.33 320.61 2761.74 110.15 0.00 0.00 0.00 0.00 17:48:12 17:39:01 lo 5.48 5.48 0.52 0.52 0.00 0.00 0.00 0.00 17:48:12 17:39:01 docker0 21.71 21.13 1.79 187.10 0.00 0.00 0.00 0.00 17:48:12 17:40:01 ens3 386.77 269.77 5944.15 37.70 0.00 0.00 0.00 0.00 17:48:12 17:40:01 lo 2.60 2.60 0.25 0.25 0.00 0.00 0.00 0.00 17:48:12 17:40:01 docker0 152.07 225.81 12.79 1920.82 0.00 0.00 0.00 0.00 17:48:12 17:41:01 ens3 122.36 88.65 2661.92 20.41 0.00 0.00 0.00 0.00 17:48:12 17:41:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 17:48:12 17:41:01 docker0 3.43 7.17 0.21 81.50 0.00 0.00 0.00 0.00 17:48:12 17:42:01 ens3 10.66 7.50 11.89 4.29 0.00 0.00 0.00 0.00 17:48:12 17:42:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:43:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:44:01 ens3 57.08 32.91 1372.58 2.71 0.00 0.00 0.00 0.00 17:48:12 17:44:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 17:48:12 17:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:45:01 ens3 4.77 3.15 11.99 0.24 0.00 0.00 0.00 0.00 17:48:12 17:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:46:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:47:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:48:12 17:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 17:48:01 ens3 6.82 4.58 6.86 2.30 0.00 0.00 0.00 0.00 17:48:12 17:48:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 17:48:12 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:12 Average: ens3 102.21 72.74 1277.28 17.78 0.00 0.00 0.00 0.00 17:48:12 Average: lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 17:48:12 Average: docker0 17.72 25.41 1.48 218.93 0.00 0.00 0.00 0.00 17:48:12 17:48:12 17:48:12 ---> sar -P ALL: 17:48:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6152) 02/15/23 _x86_64_ (8 CPU) 17:48:12 17:48:12 17:37:57 LINUX RESTART (8 CPU) 17:48:12 17:48:12 17:38:01 CPU %user %nice %system %iowait %steal %idle 17:48:12 17:39:01 all 6.81 0.00 2.40 3.74 0.06 86.98 17:48:12 17:39:01 0 6.05 0.00 2.30 5.88 0.07 85.71 17:48:12 17:39:01 1 6.10 0.00 3.26 8.78 0.07 81.79 17:48:12 17:39:01 2 6.53 0.00 2.03 4.20 0.05 87.19 17:48:12 17:39:01 3 7.80 0.00 2.35 3.21 0.05 86.59 17:48:12 17:39:01 4 6.47 0.00 3.05 4.59 0.05 85.84 17:48:12 17:39:01 5 8.29 0.00 1.81 1.44 0.05 88.41 17:48:12 17:39:01 6 6.58 0.00 2.37 0.69 0.05 90.31 17:48:12 17:39:01 7 6.65 0.02 2.02 1.18 0.10 90.03 17:48:12 17:40:01 all 8.20 0.00 4.00 4.48 0.08 83.23 17:48:12 17:40:01 0 7.45 0.00 3.51 2.72 0.07 86.25 17:48:12 17:40:01 1 7.77 0.00 4.84 17.54 0.08 69.77 17:48:12 17:40:01 2 8.37 0.00 4.53 7.90 0.08 79.11 17:48:12 17:40:01 3 9.50 0.00 4.18 1.34 0.08 84.89 17:48:12 17:40:01 4 7.66 0.00 3.35 0.12 0.08 88.78 17:48:12 17:40:01 5 9.73 0.00 4.02 2.08 0.07 84.10 17:48:12 17:40:01 6 7.55 0.00 3.62 3.76 0.05 85.03 17:48:12 17:40:01 7 7.61 0.00 3.98 0.42 0.08 87.90 17:48:12 17:41:01 all 38.16 0.00 6.84 1.84 0.11 53.04 17:48:12 17:41:01 0 38.65 0.00 7.55 6.20 0.10 47.50 17:48:12 17:41:01 1 38.48 0.00 7.41 2.52 0.17 51.42 17:48:12 17:41:01 2 39.13 0.00 6.82 0.22 0.08 53.74 17:48:12 17:41:01 3 37.74 0.00 6.13 0.90 0.12 55.11 17:48:12 17:41:01 4 38.07 0.00 6.53 0.24 0.08 55.09 17:48:12 17:41:01 5 38.37 0.00 6.74 0.08 0.08 54.72 17:48:12 17:41:01 6 37.40 0.00 6.92 0.73 0.12 54.84 17:48:12 17:41:01 7 37.45 0.00 6.65 3.89 0.10 51.91 17:48:12 17:42:01 all 0.25 0.00 0.20 0.57 0.02 98.97 17:48:12 17:42:01 0 0.18 0.00 0.18 0.40 0.02 99.22 17:48:12 17:42:01 1 0.72 0.00 0.08 0.18 0.00 99.02 17:48:12 17:42:01 2 0.22 0.00 0.17 0.00 0.00 99.62 17:48:12 17:42:01 3 0.17 0.00 0.12 0.13 0.08 99.50 17:48:12 17:42:01 4 0.23 0.00 0.13 0.00 0.02 99.62 17:48:12 17:42:01 5 0.17 0.00 0.18 0.07 0.02 99.56 17:48:12 17:42:01 6 0.13 0.00 0.62 3.77 0.02 95.46 17:48:12 17:42:01 7 0.15 0.00 0.08 0.00 0.02 99.75 17:48:12 17:43:01 all 0.03 0.00 0.01 0.01 0.01 99.94 17:48:12 17:43:01 0 0.02 0.00 0.00 0.00 0.02 99.97 17:48:12 17:43:01 1 0.03 0.00 0.00 0.00 0.02 99.95 17:48:12 17:43:01 2 0.00 0.00 0.02 0.00 0.00 99.98 17:48:12 17:43:01 3 0.05 0.00 0.03 0.00 0.02 99.90 17:48:12 17:43:01 4 0.02 0.00 0.02 0.00 0.02 99.95 17:48:12 17:43:01 5 0.05 0.00 0.00 0.03 0.02 99.90 17:48:12 17:43:01 6 0.02 0.00 0.02 0.03 0.00 99.93 17:48:12 17:43:01 7 0.02 0.00 0.02 0.02 0.02 99.93 17:48:12 17:44:01 all 1.13 0.00 0.42 0.52 0.01 97.92 17:48:12 17:44:01 0 0.87 0.00 0.33 0.70 0.02 98.08 17:48:12 17:44:01 1 0.75 0.00 0.35 1.12 0.00 97.78 17:48:12 17:44:01 2 0.50 0.00 0.43 0.58 0.02 98.47 17:48:12 17:44:01 3 0.87 0.00 0.37 0.22 0.02 98.53 17:48:12 17:44:01 4 0.97 0.00 0.63 0.28 0.02 98.10 17:48:12 17:44:01 5 2.16 0.00 0.36 0.79 0.02 96.67 17:48:12 17:44:01 6 0.93 0.00 0.43 0.40 0.02 98.21 17:48:12 17:44:01 7 1.95 0.00 0.47 0.07 0.00 97.51 17:48:12 17:45:01 all 0.05 0.00 0.01 0.01 0.01 99.91 17:48:12 17:45:01 0 0.00 0.00 0.03 0.00 0.03 99.93 17:48:12 17:45:01 1 0.02 0.00 0.00 0.00 0.02 99.97 17:48:12 17:45:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:48:12 17:45:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:48:12 17:45:01 4 0.00 0.00 0.02 0.00 0.02 99.97 17:48:12 17:45:01 5 0.32 0.00 0.02 0.05 0.02 99.60 17:48:12 17:45:01 6 0.00 0.00 0.00 0.03 0.00 99.97 17:48:12 17:45:01 7 0.07 0.00 0.00 0.00 0.02 99.92 17:48:12 17:46:01 all 0.02 0.00 0.01 0.01 0.01 99.95 17:48:12 17:46:01 0 0.02 0.00 0.00 0.00 0.02 99.97 17:48:12 17:46:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:48:12 17:46:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:48:12 17:46:01 3 0.05 0.00 0.02 0.00 0.02 99.92 17:48:12 17:46:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:48:12 17:46:01 5 0.02 0.00 0.00 0.07 0.00 99.92 17:48:12 17:46:01 6 0.03 0.00 0.00 0.03 0.02 99.92 17:48:12 17:46:01 7 0.00 0.00 0.00 0.00 0.00 100.00 17:48:12 17:47:01 all 0.01 0.00 0.02 0.01 0.01 99.95 17:48:12 17:47:01 0 0.02 0.00 0.02 0.00 0.02 99.95 17:48:12 17:47:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:48:12 17:47:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:48:12 17:47:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:48:12 17:47:01 4 0.02 0.00 0.05 0.00 0.02 99.92 17:48:12 17:47:01 5 0.02 0.00 0.02 0.08 0.02 99.87 17:48:12 17:47:01 6 0.00 0.00 0.00 0.03 0.00 99.97 17:48:12 17:47:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:48:12 17:48:01 all 0.18 0.00 0.06 0.01 0.00 99.74 17:48:12 17:48:01 0 0.12 0.00 0.03 0.00 0.00 99.85 17:48:12 17:48:01 1 0.25 0.00 0.03 0.00 0.02 99.70 17:48:12 17:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 17:48:12 17:48:01 3 0.10 0.00 0.12 0.00 0.00 99.78 17:48:12 17:48:01 4 0.15 0.00 0.12 0.00 0.02 99.72 17:48:12 17:48:01 5 0.05 0.00 0.00 0.05 0.00 99.90 17:48:12 17:48:01 6 0.28 0.00 0.03 0.03 0.00 99.65 17:48:12 17:48:01 7 0.42 0.00 0.13 0.00 0.00 99.45 17:48:12 Average: all 5.44 0.00 1.39 1.11 0.03 92.03 17:48:12 Average: 0 5.29 0.00 1.39 1.58 0.04 91.71 17:48:12 Average: 1 5.37 0.00 1.59 2.99 0.04 90.02 17:48:12 Average: 2 5.43 0.00 1.39 1.28 0.02 91.87 17:48:12 Average: 3 5.58 0.00 1.32 0.58 0.04 92.48 17:48:12 Average: 4 5.32 0.00 1.38 0.52 0.03 92.74 17:48:12 Average: 5 5.87 0.00 1.30 0.47 0.03 92.32 17:48:12 Average: 6 5.25 0.00 1.39 0.95 0.03 92.38 17:48:12 Average: 7 5.37 0.00 1.32 0.55 0.03 92.72 17:48:12 17:48:12 17:48:12