Pull request #378 opened 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 jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than a253a423b6da74e95db5be6ffaf4040d942faf4b Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh15360506200887467887.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9690548401360281029.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3742334888611778139.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15446336440180373682.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16685609592467383573.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9185925428193367339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7260 in /w/workspace/foundry_device-virtual-go_PR-378 [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-378 # 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/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit a253a423b6da74e95db5be6ffaf4040d942faf4b Merge succeeded, producing a253a423b6da74e95db5be6ffaf4040d942faf4b Checking out Revision a253a423b6da74e95db5be6ffaf4040d942faf4b (PR-378) > git config core.sparsecheckout # timeout=10 > git checkout -f a253a423b6da74e95db5be6ffaf4040d942faf4b # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a253a423b6da74e95db5be6ffaf4040d942faf4b # timeout=10 Commit message: "feat: Remove deprecated rand.Seed function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:08:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:08:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:08:46 ========================================================= 02:08:46 EdgeX Global Pipelines Version Info 02:08:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:08:46 ------------------- 02:08:46 stable info: 02:08:46 ------------------- 02:08:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:08:46 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:08:46 Message: update stable to v1.0.245 02:08:47 ------------------- 02:08:47 experimental info: 02:08:47 ------------------- 02:08:47 Commited By: **** collab-it+edgex@linuxfoundation.org 02:08:47 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 02:08:47 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:08:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 02:08:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a253a423b6da74e95db5be6ffaf4040d942faf4b [Pipeline] echo 02:08:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a253a42 [Pipeline] echo 02:08:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:08:49 provisioning config files... 02:08:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config670204656800298721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:08:49 ---> docker-login.sh 02:08:49 nexus3.edgexfoundry.org:10001 02:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:49 Configure a credential helper to remove this warning. See 02:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:49 02:08:49 Login Succeeded 02:08:49 nexus3.edgexfoundry.org:10002 02:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:50 Configure a credential helper to remove this warning. See 02:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:50 02:08:50 Login Succeeded 02:08:50 nexus3.edgexfoundry.org:10003 02:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:50 Configure a credential helper to remove this warning. See 02:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:50 02:08:50 Login Succeeded 02:08:50 nexus3.edgexfoundry.org:10004 02:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:50 Configure a credential helper to remove this warning. See 02:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:50 02:08:50 Login Succeeded 02:08:50 docker.io 02:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:08:50 Configure a credential helper to remove this warning. See 02:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:08:50 02:08:50 Login Succeeded 02:08:50 ---> docker-login.sh ends [Pipeline] } 02:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:08:51 + git rev-list -1 --merges a253a423b6da74e95db5be6ffaf4040d942faf4b~1..a253a423b6da74e95db5be6ffaf4040d942faf4b [Pipeline] echo 02:08:51 -----------> git rev-list -1 --merges a253a423b6da74e95db5be6ffaf4040d942faf4b~1..a253a423b6da74e95db5be6ffaf4040d942faf4b a253a423b6da74e95db5be6ffaf4040d942faf4b [false] [Pipeline] sh 02:08:51 + git log --format=format:%s -1 a253a423b6da74e95db5be6ffaf4040d942faf4b [Pipeline] echo 02:08:51 ========================================================= 02:08:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:08:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:52 + git log --format=format:%s -1 a253a423b6da74e95db5be6ffaf4040d942faf4b [Pipeline] echo 02:08:52 [semverPrep] GIT_COMMIT: a253a423b6da74e95db5be6ffaf4040d942faf4b, Commit Message: feat: Remove deprecated rand.Seed function [Pipeline] echo 02:08:52 [semverPrep] This is not a build commit. [Pipeline] sh 02:08:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:08:52 + grep -v github /etc/ssh/ssh_known_hosts 02:08:52 + [ -e /tmp/ssh_known_hosts ] 02:08:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:08:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:08:52 + sudo tee -a /etc/ssh/ssh_known_hosts 02:08:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:53 02:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:53 0.1.4: Pulling from edgex-devops/py-git-semver 02:08:53 b85a868b505f: Pulling fs layer 02:08:53 e2be974225ed: Pulling fs layer 02:08:53 339a4e72a1f5: Pulling fs layer 02:08:53 988bab9f4d93: Pulling fs layer 02:08:53 1469e6f7b9e6: Pulling fs layer 02:08:53 eaf3925da568: Pulling fs layer 02:08:53 bab4dde63d76: Pulling fs layer 02:08:53 bde34c3a00c8: Pulling fs layer 02:08:53 b352a97aabf1: Pulling fs layer 02:08:53 4872d77fe225: Pulling fs layer 02:08:53 5851b861e8e6: Pulling fs layer 02:08:53 988bab9f4d93: Waiting 02:08:53 1469e6f7b9e6: Waiting 02:08:53 eaf3925da568: Waiting 02:08:53 bab4dde63d76: Waiting 02:08:53 bde34c3a00c8: Waiting 02:08:53 4872d77fe225: Waiting 02:08:53 b352a97aabf1: Waiting 02:08:53 e2be974225ed: Verifying Checksum 02:08:53 e2be974225ed: Download complete 02:08:53 988bab9f4d93: Download complete 02:08:53 1469e6f7b9e6: Verifying Checksum 02:08:53 1469e6f7b9e6: Download complete 02:08:53 339a4e72a1f5: Verifying Checksum 02:08:53 339a4e72a1f5: Download complete 02:08:53 eaf3925da568: Verifying Checksum 02:08:53 eaf3925da568: Download complete 02:08:53 bde34c3a00c8: Download complete 02:08:53 b352a97aabf1: Download complete 02:08:53 4872d77fe225: Download complete 02:08:53 5851b861e8e6: Verifying Checksum 02:08:53 5851b861e8e6: Download complete 02:08:53 b85a868b505f: Verifying Checksum 02:08:53 b85a868b505f: Download complete 02:08:53 bab4dde63d76: Verifying Checksum 02:08:53 bab4dde63d76: Download complete 02:08:54 b85a868b505f: Pull complete 02:08:55 e2be974225ed: Pull complete 02:08:55 339a4e72a1f5: Pull complete 02:08:55 988bab9f4d93: Pull complete 02:08:55 1469e6f7b9e6: Pull complete 02:08:55 eaf3925da568: Pull complete 02:08:57 bab4dde63d76: Pull complete 02:08:57 bde34c3a00c8: Pull complete 02:08:57 b352a97aabf1: Pull complete 02:08:58 4872d77fe225: Pull complete 02:08:58 5851b861e8e6: Pull complete 02:08:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:08:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:58 prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container 02:08:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:09:00 $ docker top fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 -eo pid,comm 02:09:01 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). 02:09:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:09:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:01 [ssh-agent] Looking for ssh-agent implementation... 02:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:09:01 $ docker exec fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 ssh-agent 02:09:01 SSH_AUTH_SOCK=/tmp/ssh-xR7HA8CeolPe/agent.32 02:09:01 SSH_AGENT_PID=38 02:09:01 Running ssh-add (command line suppressed) 02:09:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_7351070202786466436.key (/w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_7351070202786466436.key) 02:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:09:01 + git tag --points-at HEAD [Pipeline] } 02:09:01 $ docker exec --env ******** --env ******** fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 ssh-agent -k 02:09:02 unset SSH_AUTH_SOCK; 02:09:02 unset SSH_AGENT_PID; 02:09:02 echo Agent pid 38 killed; 02:09:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:02 [ssh-agent] Looking for ssh-agent implementation... 02:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:09:02 $ docker exec fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 ssh-agent 02:09:02 SSH_AUTH_SOCK=/tmp/ssh-Y9Pi63H9ivMq/agent.70 02:09:02 SSH_AGENT_PID=76 02:09:02 Running ssh-add (command line suppressed) 02:09:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_13110906069635228949.key (/w/workspace/foundry_device-virtual-go_PR-378@tmp/private_key_13110906069635228949.key) 02:09:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:09:02 + git semver init 02:09:03 2023-04-10 02:09:03,037 [run_init] DEBUG init version:0.0.0 force:False 02:09:03 2023-04-10 02:09:03,039 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-378/.semver 02:09:03 2023-04-10 02:09:03,039 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-378/.semver 02:09:03 2023-04-10 02:09:03,040 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-378/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-378, universal_newlines=False, shell=None, istream=None) 02:09:04 2023-04-10 02:09:04,071 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-378/.git/info/exclude 02:09:04 2023-04-10 02:09:04,071 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 with force:False 02:09:04 2023-04-10 02:09:04,071 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 02:09:04 2023-04-10 02:09:04,076 [execute] INFO git cat-file --batch-check 02:09:04 2023-04-10 02:09:04,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 02:09:04 2023-04-10 02:09:04,081 [execute] INFO git cat-file --batch 02:09:04 2023-04-10 02:09:04,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 02:09:04 2023-04-10 02:09:04,085 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-378/.semver/PR-378 02:09:04 0.0.0 [Pipeline] } 02:09:04 $ docker exec --env ******** --env ******** fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 ssh-agent -k 02:09:04 unset SSH_AUTH_SOCK; 02:09:04 unset SSH_AGENT_PID; 02:09:04 echo Agent pid 76 killed; 02:09:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:09:05 + git semver [Pipeline] } 02:09:05 $ docker stop --time=1 fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 02:09:06 $ docker rm -f --volumes fdc68377e033634f39aca00f69053015382d2b3e18eb39e5c20a7449409e5cc1 [Pipeline] // withDockerContainer [Pipeline] sh 02:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:09:07 Stashed 1 file(s) [Pipeline] echo 02:09:07 [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 02:09:07 provisioning config files... 02:09:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config6153003556305965564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:08 ---> docker-login.sh 02:09:08 nexus3.edgexfoundry.org:10001 02:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:08 Configure a credential helper to remove this warning. See 02:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:08 02:09:08 Login Succeeded 02:09:08 nexus3.edgexfoundry.org:10002 02:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:08 Configure a credential helper to remove this warning. See 02:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:08 02:09:08 Login Succeeded 02:09:08 nexus3.edgexfoundry.org:10003 02:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:08 Configure a credential helper to remove this warning. See 02:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:08 02:09:08 Login Succeeded 02:09:08 nexus3.edgexfoundry.org:10004 02:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:08 Configure a credential helper to remove this warning. See 02:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:08 02:09:08 Login Succeeded 02:09:08 docker.io 02:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:09:08 Configure a credential helper to remove this warning. See 02:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:09:08 02:09:08 Login Succeeded 02:09:08 ---> docker-login.sh ends [Pipeline] } 02:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:09:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:09:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:09:09 ========================================================= 02:09:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:09:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:09:09 Sending build context to Docker daemon 23.55MB 02:09:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:09:09 Step 2/12 : FROM ${BASE} AS builder 02:09:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:09:09 63b65145d645: Pulling fs layer 02:09:09 a2d21d5440eb: Pulling fs layer 02:09:09 935e6c44a52c: Pulling fs layer 02:09:09 94cc34f8dd06: Pulling fs layer 02:09:09 30dea6a524f1: Pulling fs layer 02:09:09 a2aff8979fd8: Pulling fs layer 02:09:09 6808be2612f2: Pulling fs layer 02:09:09 f25807f1079a: Pulling fs layer 02:09:09 94cc34f8dd06: Waiting 02:09:09 30dea6a524f1: Waiting 02:09:09 a2aff8979fd8: Waiting 02:09:09 6808be2612f2: Waiting 02:09:09 f25807f1079a: Waiting 02:09:09 a2d21d5440eb: Download complete 02:09:09 94cc34f8dd06: Verifying Checksum 02:09:09 94cc34f8dd06: Download complete 02:09:09 30dea6a524f1: Download complete 02:09:09 63b65145d645: Verifying Checksum 02:09:09 63b65145d645: Download complete 02:09:09 a2aff8979fd8: Verifying Checksum 02:09:09 a2aff8979fd8: Download complete 02:09:09 63b65145d645: Pull complete 02:09:10 a2d21d5440eb: Pull complete 02:09:10 f25807f1079a: Verifying Checksum 02:09:10 f25807f1079a: Download complete 02:09:10 935e6c44a52c: Verifying Checksum 02:09:10 935e6c44a52c: Download complete 02:09:10 6808be2612f2: Verifying Checksum 02:09:10 6808be2612f2: Download complete 02:09:13 935e6c44a52c: Pull complete 02:09:13 94cc34f8dd06: Pull complete 02:09:13 30dea6a524f1: Pull complete 02:09:13 a2aff8979fd8: Pull complete 02:09:16 6808be2612f2: Pull complete 02:09:17 f25807f1079a: Pull complete 02:09:17 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:09:17 ---> 3b553350e43f 02:09:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:09:21 ---> Running in 1b5a6a2bfc31 02:09:21 Removing intermediate container 1b5a6a2bfc31 02:09:21 ---> 9864c606cb43 02:09:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:09:21 ---> Running in 5b7a533a6d5b 02:09:21 Removing intermediate container 5b7a533a6d5b 02:09:21 ---> 3aff63b2cada 02:09:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:09:21 ---> Running in b43261e514c5 02:09:21 Removing intermediate container b43261e514c5 02:09:21 ---> 9a0a6bc80087 02:09:21 Step 6/12 : WORKDIR /device-virtual-go 02:09:21 ---> Running in b3e6334de70f 02:09:21 Removing intermediate container b3e6334de70f 02:09:21 ---> 3d109d518d70 02:09:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:09:21 ---> Running in 614d8bfd9221 02:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:09:22 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:09:22 (2/4) Installing libedit (20221030.3.1-r0) 02:09:22 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:09:22 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:09:22 Executing busybox-1.35.0-r29.trigger 02:09:22 OK: 269 MiB in 57 packages 02:09:22 Removing intermediate container 614d8bfd9221 02:09:22 ---> 87098076b2a0 02:09:22 Step 8/12 : COPY go.mod vendor* ./ 02:09:22 ---> 5b7baf615845 02:09:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:09:22 ---> Running in 0875965d96aa 02:09:22 Still waiting to schedule task 02:09:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7254’ 02:09:49 Removing intermediate container 0875965d96aa 02:09:49 ---> 98709ddcbb3e 02:09:49 Step 10/12 : COPY . . 02:09:49 ---> 308caad9a177 02:09:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:09:49 ---> Running in 1e6d63450aaf 02:09:49 Removing intermediate container 1e6d63450aaf 02:09:49 ---> f366cee12350 02:09:49 Step 12/12 : RUN $MAKE 02:09:49 ---> Running in ec1c0733fb61 02:09:49 noop 02:09:49 Removing intermediate container ec1c0733fb61 02:09:49 ---> eed86c5bbd9f 02:09:49 Successfully built eed86c5bbd9f 02:09:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:49 + docker inspect -f . ci-base-image-x86_64 02:09:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:49 prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container 02:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:09:50 $ docker top 9a5ffae5a6a22a52328f4ed99a979859097b579171a2ddf458a127668555bc85 -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:50 + go version 02:09:50 go version go1.20.2 linux/amd64 [Pipeline] } 02:09:50 $ docker stop --time=1 9a5ffae5a6a22a52328f4ed99a979859097b579171a2ddf458a127668555bc85 02:09:51 $ docker rm -f --volumes 9a5ffae5a6a22a52328f4ed99a979859097b579171a2ddf458a127668555bc85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:52 + docker inspect -f . ci-base-image-x86_64 02:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:52 prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container 02:09:52 $ 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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:09:53 $ docker top 72a36488d4a418f88f919a7e1dc98545cc9b01b1af5f963ddc4b772080a5945d -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-378 [Pipeline] fileExists [Pipeline] sh 02:09:53 + make test 02:09:53 go test ./... -coverprofile=coverage.out 02:09:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:10:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:10:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 59.0% of statements 02:10:15 go vet ./... 02:10:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:19 ./bin/test-attribution-txt.sh 02:10:19 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:19 $ docker stop --time=1 72a36488d4a418f88f919a7e1dc98545cc9b01b1af5f963ddc4b772080a5945d 02:10:21 $ docker rm -f --volumes 72a36488d4a418f88f919a7e1dc98545cc9b01b1af5f963ddc4b772080a5945d [Pipeline] // withDockerContainer [Pipeline] sh 02:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:23 + ls -al . 02:10:23 total 192 02:10:23 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 02:09 . 02:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 02:08 .. 02:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 02:09 .git 02:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:08 .github 02:10:23 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 02:08 .gitignore 02:10:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 02:08 .golangci.yml 02:10:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 02:09 .semver 02:10:23 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 02:08 Attribution.txt 02:10:23 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 02:08 CHANGELOG.md 02:10:23 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 02:08 Dockerfile 02:10:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 02:08 GOVERNANCE.md 02:10:23 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 02:08 Jenkinsfile 02:10:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 02:08 LICENSE 02:10:23 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 02:08 Makefile 02:10:23 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 02:08 OWNERS.md 02:10:23 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 02:08 README.md 02:10:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 02:09 VERSION 02:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 02:08 bin 02:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:08 cmd 02:10:23 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 02:10 coverage.out 02:10:23 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 02:08 go.mod 02:10:23 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 02:08 go.sum 02:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:08 internal 02:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 02:08 snap 02:10:23 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 02:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:23 + 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=a253a423b6da74e95db5be6ffaf4040d942faf4b --label arch=amd64 --label version=0.0.0 . 02:10:23 Sending build context to Docker daemon 23.59MB 02:10:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:10:23 Step 2/25 : FROM ${BASE} AS builder 02:10:23 ---> eed86c5bbd9f 02:10:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:10:23 ---> Running in d198e364a169 02:10:24 Removing intermediate container d198e364a169 02:10:24 ---> f48ae229d28d 02:10:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:10:24 ---> Running in 82c8a286550a 02:10:24 Removing intermediate container 82c8a286550a 02:10:24 ---> cc043510c73e 02:10:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:10:24 ---> Running in 62f3e5b3f9eb 02:10:24 Removing intermediate container 62f3e5b3f9eb 02:10:24 ---> f6ac94167f88 02:10:24 Step 6/25 : WORKDIR /device-virtual-go 02:10:24 ---> Running in 9f45945fb14a 02:10:24 Removing intermediate container 9f45945fb14a 02:10:24 ---> 00925f5c8614 02:10:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:10:24 ---> Running in ef8f5b319b85 02:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:10:25 OK: 269 MiB in 57 packages 02:10:25 Removing intermediate container ef8f5b319b85 02:10:25 ---> 236edf44fde5 02:10:25 Step 8/25 : COPY go.mod vendor* ./ 02:10:25 ---> a821955b79e2 02:10:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:25 ---> Running in f51cf38643ce 02:10:26 Removing intermediate container f51cf38643ce 02:10:26 ---> 107f5743fefa 02:10:26 Step 10/25 : COPY . . 02:10:27 ---> 96848c067d37 02:10:27 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:10:27 ---> Running in e6b8c204d6f0 02:10:27 Removing intermediate container e6b8c204d6f0 02:10:27 ---> 6f1a990c2134 02:10:27 Step 12/25 : RUN $MAKE 02:10:27 ---> Running in fc13b9d9fc1a 02:10:27 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 02:10:49 Removing intermediate container fc13b9d9fc1a 02:10:49 ---> 4ba2346bed7b 02:10:49 Step 13/25 : FROM alpine:3.17 02:10:49 3.17: Pulling from library/alpine 02:10:49 f56be85fc22e: Pulling fs layer 02:10:49 f56be85fc22e: Download complete 02:10:49 f56be85fc22e: Pull complete 02:10:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:10:49 Status: Downloaded newer image for alpine:3.17 02:10:49 ---> 9ed4aefc74f6 02:10:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:10:49 ---> Running in 1a9e534800c8 02:10:49 Removing intermediate container 1a9e534800c8 02:10:49 ---> 4affdbe30299 02:10:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:10:49 ---> Running in 4b3f0b2abd7d 02:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:10:49 (1/1) Installing dumb-init (1.2.5-r2) 02:10:49 Executing busybox-1.35.0-r29.trigger 02:10:49 OK: 7 MiB in 16 packages 02:10:49 Removing intermediate container 4b3f0b2abd7d 02:10:49 ---> 90108f1ffe6e 02:10:49 Step 16/25 : WORKDIR / 02:10:49 ---> Running in ee3306fdbae5 02:10:49 Removing intermediate container ee3306fdbae5 02:10:49 ---> 03a82d5e6e9f 02:10:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:10:50 ---> 893fa08007f3 02:10:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:10:50 ---> e468db8a7f59 02:10:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:10:50 ---> 066e4eeb00e4 02:10:50 Step 20/25 : EXPOSE 59900 02:10:50 ---> Running in ecc6f5f1fa77 02:10:50 Removing intermediate container ecc6f5f1fa77 02:10:50 ---> 7c09e01a9bdb 02:10:50 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:10:50 ---> Running in 8a40add32d1a 02:10:50 Removing intermediate container 8a40add32d1a 02:10:50 ---> f10ef783b532 02:10:50 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:10:50 ---> Running in 696cde3fb0e2 02:10:51 Removing intermediate container 696cde3fb0e2 02:10:51 ---> 32e909ebabcc 02:10:51 Step 23/25 : LABEL arch=amd64 02:10:51 ---> Running in c0b62a0a3969 02:10:51 Removing intermediate container c0b62a0a3969 02:10:51 ---> 89b43fb70da4 02:10:51 Step 24/25 : LABEL git_sha=a253a423b6da74e95db5be6ffaf4040d942faf4b 02:10:51 ---> Running in 1e00bd27f1ca 02:10:51 Removing intermediate container 1e00bd27f1ca 02:10:51 ---> 04729d7909ac 02:10:51 Step 25/25 : LABEL version=0.0.0 02:10:51 ---> Running in 93f2d8484c72 02:10:51 Removing intermediate container 93f2d8484c72 02:10:51 ---> c8a9fa7db8cd 02:10:51 [Warning] One or more build-args [ARCH] were not consumed 02:10:51 Successfully built c8a9fa7db8cd 02:10:51 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:52 02:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:52 latest: Pulling from edgex-lftools-log-publisher 02:10:52 5eb5b503b376: Pulling fs layer 02:10:52 5c69ac0246d0: Pulling fs layer 02:10:52 ec43610c2a17: Pulling fs layer 02:10:52 3a2ae6a8a46f: Pulling fs layer 02:10:52 33b1e0a273af: Pulling fs layer 02:10:52 5d3b04190fa2: Pulling fs layer 02:10:52 2f39f015ded8: Pulling fs layer 02:10:52 33b1e0a273af: Waiting 02:10:52 5d3b04190fa2: Waiting 02:10:52 3a2ae6a8a46f: Waiting 02:10:52 5c69ac0246d0: Download complete 02:10:52 3a2ae6a8a46f: Verifying Checksum 02:10:52 3a2ae6a8a46f: Download complete 02:10:53 33b1e0a273af: Verifying Checksum 02:10:53 33b1e0a273af: Download complete 02:10:53 5d3b04190fa2: Download complete 02:10:53 ec43610c2a17: Verifying Checksum 02:10:53 ec43610c2a17: Download complete 02:10:53 5eb5b503b376: Verifying Checksum 02:10:53 5eb5b503b376: Download complete 02:10:53 2f39f015ded8: Download complete 02:10:54 5eb5b503b376: Pull complete 02:10:54 5c69ac0246d0: Pull complete 02:10:54 ec43610c2a17: Pull complete 02:10:54 3a2ae6a8a46f: Pull complete 02:10:55 33b1e0a273af: Pull complete 02:10:55 5d3b04190fa2: Pull complete 02:11:00 2f39f015ded8: Pull complete 02:11:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:00 prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container 02:11:00 $ 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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:03 $ docker top a4dc8977e27e8616d533a992263415a93e472c921f1a7d19c5b91516e82fece5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:03 ---> job-cost.sh 02:11:03 lf-activate-venv: SKIPPING 02:11:03 INFO: No Stack... 02:11:04 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:04 INFO: Archiving Costs [Pipeline] sh 02:11:05 + cat /w/workspace/foundry_device-virtual-go_PR-378/archives/cost.csv 02:11:05 + cut -d, -f6 [Pipeline] lock 02:11:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] 02:11:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] did not exist. Created. 02:11:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:05 + echo total: 0.2199999988079071 [Pipeline] stash 02:11:05 Stashed 1 file(s) [Pipeline] } 02:11:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:05 $ docker stop --time=1 a4dc8977e27e8616d533a992263415a93e472c921f1a7d19c5b91516e82fece5 02:11:06 $ docker rm -f --volumes a4dc8977e27e8616d533a992263415a93e472c921f1a7d19c5b91516e82fece5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:12:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7261 in /w/workspace/foundry_device-virtual-go_PR-378 [Pipeline] { [Pipeline] ws 02:12:19 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 02:12:19 The recommended git tool is: git 02:12:24 using credential edgex-jenkins-ssh 02:12:24 Cloning the remote Git repository 02:12:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:12:24 > git init /w/workspace/device-virtual-go/1 # timeout=10 02:12:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:12:24 > git --version # timeout=10 02:12:24 > git --version # 'git version 2.25.1' 02:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:12:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:12:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:12:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:12:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:12:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:12:28 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit a253a423b6da74e95db5be6ffaf4040d942faf4b 02:12:29 Merge succeeded, producing a253a423b6da74e95db5be6ffaf4040d942faf4b 02:12:29 Checking out Revision a253a423b6da74e95db5be6ffaf4040d942faf4b (PR-378) 02:12:28 > git config core.sparsecheckout # timeout=10 02:12:28 > git checkout -f a253a423b6da74e95db5be6ffaf4040d942faf4b # timeout=10 02:12:28 > git remote # timeout=10 02:12:29 > git config --get remote.origin.url # timeout=10 02:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:12:29 > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 02:12:29 > git rev-parse HEAD^{commit} # timeout=10 02:12:29 > git config core.sparsecheckout # timeout=10 02:12:29 > git checkout -f a253a423b6da74e95db5be6ffaf4040d942faf4b # timeout=10 02:12:32 Commit message: "feat: Remove deprecated rand.Seed function" 02:12:32 > git --version # timeout=10 02:12:32 > git --version # 'git version 2.25.1' 02:12:32 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:12:33 % Total % Received % Xferd Average Speed Time Time Time Current 02:12:33 Dload Upload Total Spent Left Speed 02:12:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 02:12:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:12:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:12:35 + sudo tee /etc/docker/daemon.new 02:12:35 { 02:12:35 "registry-mirrors": [ 02:12:35 "https://nexus3.edgexfoundry.org:10001" 02:12:35 ], 02:12:35 "bip": "10.250.0.254/24", 02:12:35 "hosts": [ 02:12:35 "tcp://0.0.0.0:5555", 02:12:35 "unix:///var/run/docker.sock" 02:12:35 ], 02:12:35 "mtu": 1458, 02:12:35 "selinux-enabled": true, 02:12:35 "seccomp-profile": "/etc/docker/seccomp.json" 02:12:35 } [Pipeline] sh 02:12:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:12:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:54 provisioning config files... 02:12:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4624035677704004635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:54 ---> docker-login.sh 02:12:54 nexus3.edgexfoundry.org:10001 02:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:55 Configure a credential helper to remove this warning. See 02:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:55 02:12:55 Login Succeeded 02:12:55 nexus3.edgexfoundry.org:10002 02:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:55 Configure a credential helper to remove this warning. See 02:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:55 02:12:55 Login Succeeded 02:12:55 nexus3.edgexfoundry.org:10003 02:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:55 Configure a credential helper to remove this warning. See 02:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:55 02:12:55 Login Succeeded 02:12:55 nexus3.edgexfoundry.org:10004 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:56 02:12:56 Login Succeeded 02:12:56 docker.io 02:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:56 Configure a credential helper to remove this warning. See 02:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:56 02:12:56 Login Succeeded 02:12:56 ---> docker-login.sh ends [Pipeline] } 02:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:57 ========================================================= 02:12:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:12:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:12:58 Sending build context to Docker daemon 11.93MB 02:12:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:12:58 Step 2/12 : FROM ${BASE} AS builder 02:12:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:12:58 af6eaf76a39c: Pulling fs layer 02:12:58 55522c791124: Pulling fs layer 02:12:58 ce5c4a1c91eb: Pulling fs layer 02:12:58 169dfbe0d373: Pulling fs layer 02:12:58 e1ff8fa3b103: Pulling fs layer 02:12:58 52ebb69f0ebf: Pulling fs layer 02:12:58 5abe8eddf0d5: Pulling fs layer 02:12:58 169dfbe0d373: Waiting 02:12:58 e1ff8fa3b103: Waiting 02:12:58 52ebb69f0ebf: Waiting 02:12:58 5abe8eddf0d5: Waiting 02:12:58 55522c791124: Verifying Checksum 02:12:58 55522c791124: Download complete 02:12:58 169dfbe0d373: Verifying Checksum 02:12:58 169dfbe0d373: Download complete 02:12:58 e1ff8fa3b103: Verifying Checksum 02:12:58 e1ff8fa3b103: Download complete 02:12:58 af6eaf76a39c: Verifying Checksum 02:12:58 af6eaf76a39c: Download complete 02:13:00 af6eaf76a39c: Pull complete 02:13:00 5abe8eddf0d5: Verifying Checksum 02:13:00 5abe8eddf0d5: Download complete 02:13:00 55522c791124: Pull complete 02:13:00 52ebb69f0ebf: Verifying Checksum 02:13:00 52ebb69f0ebf: Download complete 02:13:00 ce5c4a1c91eb: Verifying Checksum 02:13:00 ce5c4a1c91eb: Download complete 02:13:13 ce5c4a1c91eb: Pull complete 02:13:13 169dfbe0d373: Pull complete 02:13:13 e1ff8fa3b103: Pull complete 02:13:18 52ebb69f0ebf: Pull complete 02:13:20 5abe8eddf0d5: Pull complete 02:13:20 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:13:20 ---> 6cb57ee374ae 02:13:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:13:22 ---> Running in 185002405ce7 02:13:22 Removing intermediate container 185002405ce7 02:13:22 ---> 5a22d3eadb88 02:13:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:13:22 ---> Running in 668e19201371 02:13:22 Removing intermediate container 668e19201371 02:13:22 ---> 4a7ffe00eb47 02:13:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:13:23 ---> Running in a972bba67762 02:13:23 Removing intermediate container a972bba67762 02:13:23 ---> 38ad9ccb0559 02:13:23 Step 6/12 : WORKDIR /device-virtual-go 02:13:23 ---> Running in ed1d84fe1590 02:13:23 Removing intermediate container ed1d84fe1590 02:13:23 ---> dc0615226754 02:13:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:13:23 ---> Running in 298d77d1cb4c 02:13:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:13:26 (2/4) Installing libedit (20221030.3.1-r0) 02:13:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:13:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:13:26 Executing busybox-1.35.0-r29.trigger 02:13:26 OK: 268 MiB in 57 packages 02:13:27 Removing intermediate container 298d77d1cb4c 02:13:27 ---> 77c8251d7ead 02:13:27 Step 8/12 : COPY go.mod vendor* ./ 02:13:28 ---> 2ba6695076a3 02:13:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:28 ---> Running in 1e543c0ec3a9 02:14:36 Removing intermediate container 1e543c0ec3a9 02:14:36 ---> 1d4f110f8080 02:14:36 Step 10/12 : COPY . . 02:14:36 ---> aac4915600b8 02:14:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:36 ---> Running in b57dee830759 02:14:36 Removing intermediate container b57dee830759 02:14:36 ---> eb243fd29cc4 02:14:36 Step 12/12 : RUN $MAKE 02:14:36 ---> Running in 0a5e1beba7d3 02:14:36 noop 02:14:36 Removing intermediate container 0a5e1beba7d3 02:14:36 ---> 2e4809b7504c 02:14:36 Successfully built 2e4809b7504c 02:14:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:36 + docker inspect -f . ci-base-image-arm64 02:14:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:36 prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container 02:14:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:14:38 $ docker top 2e5a5da4ca75d72d5cc26144908e2ab57d7084d13cb8d4dbbf6c9d532d2789c8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:39 + go version 02:14:39 go version go1.20.2 linux/arm64 [Pipeline] } 02:14:39 $ docker stop --time=1 2e5a5da4ca75d72d5cc26144908e2ab57d7084d13cb8d4dbbf6c9d532d2789c8 02:14:40 $ docker rm -f --volumes 2e5a5da4ca75d72d5cc26144908e2ab57d7084d13cb8d4dbbf6c9d532d2789c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:41 + docker inspect -f . ci-base-image-arm64 02:14:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:41 prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container 02:14:41 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:14:43 $ docker top f676523ddea7e4a89149d542da854f59d108b28bb84b080f81a50fd9944321e6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:43 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 02:14:44 + make test 02:14:44 go test ./... -coverprofile=coverage.out 02:15:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:17:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:17:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.084s coverage: 58.8% of statements 02:17:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:17:23 go vet ./... 02:17:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:17:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:17:50 ./bin/test-attribution-txt.sh 02:17:50 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:17:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:17:50 $ docker stop --time=1 f676523ddea7e4a89149d542da854f59d108b28bb84b080f81a50fd9944321e6 02:17:53 $ docker rm -f --volumes f676523ddea7e4a89149d542da854f59d108b28bb84b080f81a50fd9944321e6 [Pipeline] // withDockerContainer [Pipeline] sh 02:17:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:17:55 Warning: overwriting stash ‘coverage-report’ 02:17:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:17:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:17:56 + ls -al . 02:17:56 total 188 02:17:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 02:14 . 02:17:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 02:12 .. 02:17:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 02:12 .git 02:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:12 .github 02:17:56 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 02:12 .gitignore 02:17:56 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 02:12 .golangci.yml 02:17:56 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 02:12 Attribution.txt 02:17:56 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 02:12 CHANGELOG.md 02:17:56 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 02:12 Dockerfile 02:17:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 02:12 GOVERNANCE.md 02:17:56 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 02:12 Jenkinsfile 02:17:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 02:12 LICENSE 02:17:56 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 02:12 Makefile 02:17:56 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 02:12 OWNERS.md 02:17:56 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 02:12 README.md 02:17:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 02:09 VERSION 02:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 02:12 bin 02:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:12 cmd 02:17:56 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 02:17 coverage.out 02:17:56 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 02:12 go.mod 02:17:56 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 02:12 go.sum 02:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 02:12 internal 02:17:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 02:12 snap 02:17:56 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:57 + 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=a253a423b6da74e95db5be6ffaf4040d942faf4b --label arch=arm64 --label version=0.0.0 . 02:17:57 Sending build context to Docker daemon 11.98MB 02:17:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:17:57 Step 2/25 : FROM ${BASE} AS builder 02:17:57 ---> 2e4809b7504c 02:17:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:17:57 ---> Running in c1e4b75df748 02:17:58 Removing intermediate container c1e4b75df748 02:17:58 ---> 5172d98211d3 02:17:58 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:17:58 ---> Running in 4c8f1c5fa665 02:17:58 Removing intermediate container 4c8f1c5fa665 02:17:58 ---> 9500abe93feb 02:17:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:17:58 ---> Running in bf1c54683eb3 02:17:58 Removing intermediate container bf1c54683eb3 02:17:58 ---> c5e30ed39e4d 02:17:58 Step 6/25 : WORKDIR /device-virtual-go 02:17:58 ---> Running in e39e084b7f94 02:17:59 Removing intermediate container e39e084b7f94 02:17:59 ---> 05cbb4f54b72 02:17:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:17:59 ---> Running in e80136cc3693 02:18:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:18:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:18:01 OK: 268 MiB in 57 packages 02:18:02 Removing intermediate container e80136cc3693 02:18:02 ---> f095471182e5 02:18:02 Step 8/25 : COPY go.mod vendor* ./ 02:18:03 ---> af1179816a68 02:18:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:03 ---> Running in 98e5ffae96b5 02:18:08 Removing intermediate container 98e5ffae96b5 02:18:08 ---> 754dc3e61617 02:18:08 Step 10/25 : COPY . . 02:18:08 ---> ca3b11bc13fe 02:18:08 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:08 ---> Running in 2d9184096c4b 02:18:09 Removing intermediate container 2d9184096c4b 02:18:09 ---> e4f371e55e5f 02:18:09 Step 12/25 : RUN $MAKE 02:18:09 ---> Running in 321396b321af 02:18:10 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 02:20:16 Removing intermediate container 321396b321af 02:20:16 ---> b113d88d76d4 02:20:16 Step 13/25 : FROM alpine:3.17 02:20:16 3.17: Pulling from library/alpine 02:20:16 c41833b44d91: Pulling fs layer 02:20:16 c41833b44d91: Verifying Checksum 02:20:16 c41833b44d91: Download complete 02:20:16 c41833b44d91: Pull complete 02:20:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:20:16 Status: Downloaded newer image for alpine:3.17 02:20:16 ---> 51e60588ff2c 02:20:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:20:16 ---> Running in b0a8e8fb8b46 02:20:16 Removing intermediate container b0a8e8fb8b46 02:20:16 ---> 9fcbec95b6dd 02:20:16 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:20:16 ---> Running in f3360a196fb6 02:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:20:19 (1/1) Installing dumb-init (1.2.5-r2) 02:20:19 Executing busybox-1.35.0-r29.trigger 02:20:19 OK: 8 MiB in 16 packages 02:20:20 Removing intermediate container f3360a196fb6 02:20:20 ---> 05b8e523d2e6 02:20:20 Step 16/25 : WORKDIR / 02:20:20 ---> Running in dfbc0a5e12b8 02:20:20 Removing intermediate container dfbc0a5e12b8 02:20:20 ---> 2ddf9e2bd1d8 02:20:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:20:20 ---> 4a1f3a9db3f6 02:20:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:20:21 ---> c0dc29a1a2d5 02:20:21 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:20:22 ---> 40d98e7159ae 02:20:22 Step 20/25 : EXPOSE 59900 02:20:22 ---> Running in e762a3d8aa2f 02:20:22 Removing intermediate container e762a3d8aa2f 02:20:22 ---> e6ad39f9cfd5 02:20:22 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:20:22 ---> Running in 6e7277ba4f16 02:20:23 Removing intermediate container 6e7277ba4f16 02:20:23 ---> b829cec0f057 02:20:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:20:23 ---> Running in 0f1e60b80a66 02:20:23 Removing intermediate container 0f1e60b80a66 02:20:23 ---> e389386e9115 02:20:23 Step 23/25 : LABEL arch=arm64 02:20:23 ---> Running in a7a9397467e1 02:20:24 Removing intermediate container a7a9397467e1 02:20:24 ---> e2c082ee58be 02:20:24 Step 24/25 : LABEL git_sha=a253a423b6da74e95db5be6ffaf4040d942faf4b 02:20:24 ---> Running in 5c34a6ac773c 02:20:24 Removing intermediate container 5c34a6ac773c 02:20:24 ---> d2bab37315c0 02:20:24 Step 25/25 : LABEL version=0.0.0 02:20:24 ---> Running in 855865fd4c08 02:20:24 Removing intermediate container 855865fd4c08 02:20:24 ---> a80f4d7d7354 02:20:24 [Warning] One or more build-args [ARCH] were not consumed 02:20:24 Successfully built a80f4d7d7354 02:20:24 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 02:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:25 02:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:25 arm64: Pulling from edgex-lftools-log-publisher 02:20:25 8998bd30e6a1: Pulling fs layer 02:20:25 04944245beec: Pulling fs layer 02:20:25 699f458cf7ca: Pulling fs layer 02:20:25 765212b225bb: Pulling fs layer 02:20:25 f23df028b6ca: Pulling fs layer 02:20:25 d65c8cfc05b1: Pulling fs layer 02:20:25 2437ff75d9bd: Pulling fs layer 02:20:25 765212b225bb: Waiting 02:20:25 f23df028b6ca: Waiting 02:20:25 d65c8cfc05b1: Waiting 02:20:25 2437ff75d9bd: Waiting 02:20:26 04944245beec: Verifying Checksum 02:20:26 04944245beec: Download complete 02:20:26 765212b225bb: Verifying Checksum 02:20:26 765212b225bb: Download complete 02:20:26 f23df028b6ca: Verifying Checksum 02:20:26 f23df028b6ca: Download complete 02:20:26 d65c8cfc05b1: Verifying Checksum 02:20:26 d65c8cfc05b1: Download complete 02:20:26 699f458cf7ca: Verifying Checksum 02:20:26 699f458cf7ca: Download complete 02:20:26 8998bd30e6a1: Download complete 02:20:28 2437ff75d9bd: Verifying Checksum 02:20:28 2437ff75d9bd: Download complete 02:20:30 8998bd30e6a1: Pull complete 02:20:30 04944245beec: Pull complete 02:20:31 699f458cf7ca: Pull complete 02:20:31 765212b225bb: Pull complete 02:20:32 f23df028b6ca: Pull complete 02:20:32 d65c8cfc05b1: Pull complete 02:20:45 2437ff75d9bd: Pull complete 02:20:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:20:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:45 prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container 02:20:45 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:20:47 $ docker top daca1a022430fe2ab4df361bf9d5d20bc135aef7a1e9e584a7e74a820ddffe3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:20:48 ---> job-cost.sh 02:20:48 lf-activate-venv: SKIPPING 02:20:48 INFO: No Stack... 02:20:49 INFO: Retrieving Pricing Info for: v3-standard-4 02:20:49 INFO: Archiving Costs [Pipeline] sh 02:20:50 + cut -d, -f6 02:20:50 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 02:20:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] 02:20:50 Resource [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] did not exist. Created. 02:20:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:20:51 /w/workspace/device-virtual-go/1@tmp/durable-ffd46aaf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:20:51 + echo total: 0.10999999940395355 [Pipeline] stash 02:20:52 Warning: overwriting stash ‘stack-cost’ 02:20:52 Stashed 1 file(s) [Pipeline] } 02:20:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:20:52 $ docker stop --time=1 daca1a022430fe2ab4df361bf9d5d20bc135aef7a1e9e584a7e74a820ddffe3a 02:20:53 $ docker rm -f --volumes daca1a022430fe2ab4df361bf9d5d20bc135aef7a1e9e584a7e74a820ddffe3a [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 02:20:54 provisioning config files... 02:20:54 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config3429858611980902541tmp [Pipeline] { [Pipeline] sh 02:20:55 + set +x 02:20:55 + bash -s -- 02:20:55 + curl -s https://codecov.io/bash 02:20:55 02:20:55 _____ _ 02:20:55 / ____| | | 02:20:55 | | ___ __| | ___ ___ _____ __ 02:20:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:20:55 | |___| (_) | (_| | __/ (_| (_) \ V / 02:20:55 \_____\___/ \__,_|\___|\___\___/ \_/ 02:20:55 Bash-1.0.6 02:20:55 02:20:55 02:20:55 ==> git version 2.25.1 found 02:20:55 ==> 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 02:20:55 Release-Date: 2020-01-08 02:20:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:20:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:20:55 ==> Jenkins CI detected. 02:20:55 current dir:  /w/workspace/foundry_device-virtual-go_PR-378 02:20:55 project root: . 02:20:55 --> token set from env 02:20:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:20:55 ==> Running gcov in . (disable via -X gcov) 02:20:55 ==> Python coveragepy not found 02:20:55 ==> Searching for coverage reports in: 02:20:55 + . 02:20:55 -> Found 1 reports 02:20:55 ==> Detecting git/mercurial file structure 02:20:55 ==> Reading reports 02:20:55 + ./coverage.out bytes=42786 02:20:55 ==> Appending adjustments 02:20:55 https://docs.codecov.io/docs/fixing-reports 02:20:55 + Found adjustments 02:20:55 ==> Gzipping contents 02:20:55 8.0K /tmp/codecov.87vcte.gz 02:20:55 ==> Uploading reports 02:20:55 url: https://codecov.io 02:20:55 query: branch=PR-378&commit=a253a423b6da74e95db5be6ffaf4040d942faf4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=378&job=&cmd_args= 02:20:55 -> Pinging Codecov 02:20:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-378&commit=a253a423b6da74e95db5be6ffaf4040d942faf4b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=378&job=&cmd_args= 02:20:55 -> Uploading to 02:20:55 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/5E52B4B073DB2E39498172D8E973AA87/a253a423b6da74e95db5be6ffaf4040d942faf4b/cfab64d2-e204-4202-b642-3266d213f0c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T022055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b377eed1d29a7a1f3b1963b02a3c5299453bfdab24a409056b4507a182c10b2d 02:20:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:20:55 Dload Upload Total Spent Left Speed 02:20:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5133 0 0 100 5133 0 19818 --:--:-- --:--:-- --:--:-- 19818 02:20:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a253a423b6da74e95db5be6ffaf4040d942faf4b [Pipeline] } 02:20:55 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 02:20:57 + [ -d /w/workspace/foundry_device-virtual-go_PR-378/archives ] 02:20:57 + ls -al /w/workspace/foundry_device-virtual-go_PR-378/archives 02:20:57 total 16 02:20:57 drwxr-xr-x 3 root root 4096 Apr 10 02:11 . 02:20:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 02:11 .. 02:20:57 drwxr-xr-x 2 root root 4096 Apr 10 02:11 cost 02:20:57 -rw-r--r-- 1 root root 89 Apr 10 02:11 cost.csv 02:20:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-378/archives 02:20:57 + ls -al /w/workspace/foundry_device-virtual-go_PR-378/archives 02:20:57 total 16 02:20:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 02:11 . 02:20:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 02:11 .. 02:20:57 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 02:11 cost 02:20:57 -rw-r--r-- 1 jenkins jenkins 89 Apr 10 02:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:20:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:20:58 ---> package-listing.sh 02:20:58 ++ facter osfamily 02:20:58 ++ tr '[:upper:]' '[:lower:]' 02:20:59 + OS_FAMILY=debian 02:20:59 + workspace=/w/workspace/foundry_device-virtual-go_PR-378 02:20:59 + START_PACKAGES=/tmp/packages_start.txt 02:20:59 + END_PACKAGES=/tmp/packages_end.txt 02:20:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:20:59 + PACKAGES=/tmp/packages_start.txt 02:20:59 + '[' /w/workspace/foundry_device-virtual-go_PR-378 ']' 02:20:59 + PACKAGES=/tmp/packages_end.txt 02:20:59 + case "${OS_FAMILY}" in 02:20:59 + grep '^ii' 02:20:59 + dpkg -l 02:20:59 + '[' -f /tmp/packages_start.txt ']' 02:20:59 + '[' -f /tmp/packages_end.txt ']' 02:20:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:20:59 + '[' /w/workspace/foundry_device-virtual-go_PR-378 ']' 02:20:59 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-378/archives/ 02:20:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-378/archives/ [Pipeline] echo 02:20:59 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:20:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:21:00 prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container 02:21:00 $ 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-378/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-378 -v /w/workspace/foundry_device-virtual-go_PR-378:/w/workspace/foundry_device-virtual-go_PR-378:rw,z -v /w/workspace/foundry_device-virtual-go_PR-378@tmp:/w/workspace/foundry_device-virtual-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:21:00 $ docker top 99dd4d7630a82dfcc8eedfd184ea28d01c8eaddfe336b3621f7a6ec9ea208640 -eo pid,comm [Pipeline] { [Pipeline] sh 02:21:00 + touch /tmp/pre-build-complete [Pipeline] sh 02:21:01 + mkdir -p /var/log/sysstat [Pipeline] sh 02:21:01 + ls /var/log/sa-host 02:21:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:21:01 provisioning config files... 02:21:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-378@tmp/config13608804198599957100tmp [Pipeline] { [Pipeline] echo 02:21:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:21:02 ---> create-netrc.sh [Pipeline] } 02:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:21:02 ---> python-tools-install.sh [Pipeline] echo 02:21:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:21:03 ---> sudo-logs.sh 02:21:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:21:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:21:03 ---> job-cost.sh 02:21:03 lf-activate-venv: SKIPPING 02:21:03 DEBUG: total: 0.2199999988079071 02:21:03 INFO: Retrieving Stack Cost... 02:21:04 INFO: Retrieving Pricing Info for: v3-standard-8 02:21:04 INFO: Archiving Costs [Pipeline] echo 02:21:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:21:04 ---> logs-deploy.sh 02:21:04 lf-activate-venv: SKIPPING 02:21:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-378/1 02:21:04 INFO: archiving workspace using pattern(s): 02:21:05 Archives upload complete. 02:21:05 INFO: archiving logs to Nexus 02:21:06 ---> uname -a: 02:21:06 Linux prd-ubuntu20-04-docker-8c-8g-7260 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:21:06 02:21:06 02:21:06 ---> lscpu: 02:21:06 Architecture: x86_64 02:21:06 CPU op-mode(s): 32-bit, 64-bit 02:21:06 Byte Order: Little Endian 02:21:06 Address sizes: 40 bits physical, 48 bits virtual 02:21:06 CPU(s): 8 02:21:06 On-line CPU(s) list: 0-7 02:21:06 Thread(s) per core: 1 02:21:06 Core(s) per socket: 1 02:21:06 Socket(s): 8 02:21:06 NUMA node(s): 1 02:21:06 Vendor ID: AuthenticAMD 02:21:06 CPU family: 23 02:21:06 Model: 49 02:21:06 Model name: AMD EPYC-Rome Processor 02:21:06 Stepping: 0 02:21:06 CPU MHz: 2800.000 02:21:06 BogoMIPS: 5600.00 02:21:06 Virtualization: AMD-V 02:21:06 Hypervisor vendor: KVM 02:21:06 Virtualization type: full 02:21:06 L1d cache: 256 KiB 02:21:06 L1i cache: 256 KiB 02:21:06 L2 cache: 4 MiB 02:21:06 L3 cache: 128 MiB 02:21:06 NUMA node0 CPU(s): 0-7 02:21:06 Vulnerability Itlb multihit: Not affected 02:21:06 Vulnerability L1tf: Not affected 02:21:06 Vulnerability Mds: Not affected 02:21:06 Vulnerability Meltdown: Not affected 02:21:06 Vulnerability Mmio stale data: Not affected 02:21:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:21:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:21:06 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:21:06 Vulnerability Srbds: Not affected 02:21:06 Vulnerability Tsx async abort: Not affected 02:21:06 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 02:21:06 02:21:06 02:21:06 ---> nproc: 02:21:06 8 02:21:06 02:21:06 02:21:06 ---> df -h: 02:21:06 Filesystem Size Used Avail Use% Mounted on 02:21:06 overlay 155G 12G 144G 8% / 02:21:06 tmpfs 64M 0 64M 0% /dev 02:21:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:21:06 shm 64M 0 64M 0% /dev/shm 02:21:06 /dev/vda1 155G 12G 144G 8% /facter-os 02:21:06 02:21:06 02:21:06 ---> sar -b -r -n DEV: 02:21:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7260) 04/10/23 _x86_64_ (8 CPU) 02:21:06 02:21:06 02:08:05 LINUX RESTART (8 CPU) 02:21:06 02:21:06 02:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:21:06 02:10:01 197.12 1.66 195.46 0.00 45.82 74351.06 0.00 02:21:06 02:11:01 163.24 0.20 163.04 0.00 11.20 35994.40 0.00 02:21:06 02:12:01 19.15 0.03 19.11 0.00 6.93 9348.86 0.00 02:21:06 02:13:01 1.77 0.00 1.77 0.00 0.00 20.53 0.00 02:21:06 02:14:01 55.44 10.58 44.86 0.00 5154.87 8768.67 0.00 02:21:06 02:15:01 4.77 0.02 4.75 0.00 0.13 106.23 0.00 02:21:06 02:16:01 1.40 0.00 1.40 0.00 0.00 15.46 0.00 02:21:06 02:17:01 1.98 0.02 1.97 0.00 0.13 22.79 0.00 02:21:06 02:18:01 1.62 0.00 1.62 0.00 0.00 16.93 0.00 02:21:06 02:19:01 2.22 0.00 2.22 0.00 0.00 25.06 0.00 02:21:06 02:20:02 1.47 0.00 1.47 0.00 0.00 15.46 0.00 02:21:06 02:21:01 6.81 0.27 6.54 0.00 20.74 122.28 0.00 02:21:06 Average: 37.90 1.07 36.84 0.00 437.75 10659.58 0.00 02:21:06 02:21:06 02:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:21:06 02:10:01 27968044 31337072 969464 2.95 144924 3408292 2311444 6.81 1484068 2968628 206940 02:21:06 02:11:01 27609280 31545456 761624 2.32 158840 3920944 1825112 5.38 1300692 3472672 230000 02:21:06 02:12:01 27616324 31552864 754284 2.29 159040 3921164 1760756 5.19 1302980 3460392 24 02:21:06 02:13:01 27616156 31552824 753872 2.29 159080 3921156 1760756 5.19 1303780 3460392 36 02:21:06 02:14:01 27092268 31533312 757072 2.30 192428 4376536 1827372 5.39 1624360 3627344 236 02:21:06 02:15:01 27097324 31533648 756196 2.30 190996 4373400 1790180 5.28 1622360 3624252 8 02:21:06 02:16:01 27105220 31541636 748076 2.27 191076 4373404 1790180 5.28 1614568 3624260 0 02:21:06 02:17:01 27105144 31541624 747904 2.27 191168 4373392 1790180 5.28 1614328 3624268 8 02:21:06 02:18:01 27104992 31541676 747492 2.27 191232 4373408 1790180 5.28 1614436 3624276 8 02:21:06 02:19:01 27105172 31541976 747144 2.27 191312 4373424 1790180 5.28 1614668 3624288 16 02:21:06 02:20:02 27105084 31542276 747016 2.27 191396 4373424 1790180 5.28 1614584 3624620 16 02:21:06 02:21:01 27075324 31514480 772976 2.35 191572 4374776 1844976 5.44 1642180 3625128 336 02:21:06 Average: 27300028 31523237 771927 2.35 179422 4180277 1839291 5.42 1529417 3530043 36469 02:21:06 02:21:06 02:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:21:06 02:10:01 ens3 556.89 325.59 6321.23 45.32 0.00 0.00 0.00 0.00 02:21:06 02:10:01 docker0 213.74 344.21 16.84 2173.47 0.00 0.00 0.00 0.00 02:21:06 02:10:01 vethb40a2f5 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 02:21:06 02:10:01 lo 2.71 2.71 0.27 0.27 0.00 0.00 0.00 0.00 02:21:06 02:11:01 ens3 137.69 81.70 2677.26 19.05 0.00 0.00 0.00 0.00 02:21:06 02:11:01 docker0 3.27 7.72 0.20 85.69 0.00 0.00 0.00 0.00 02:21:06 02:11:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 02:21:06 02:12:01 ens3 8.25 5.42 8.20 2.97 0.00 0.00 0.00 0.00 02:21:06 02:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:12:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:13:01 ens3 5.13 3.57 12.70 0.49 0.00 0.00 0.00 0.00 02:21:06 02:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:14:01 ens3 173.64 84.29 2807.16 6.21 0.00 0.00 0.00 0.00 02:21:06 02:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:14:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:21:06 02:15:01 ens3 0.42 0.33 0.08 0.02 0.00 0.00 0.00 0.00 02:21:06 02:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:16:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:17:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:18:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:19:01 ens3 0.25 0.23 0.08 0.07 0.00 0.00 0.00 0.00 02:21:06 02:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:21:06 02:20:02 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:20:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:20:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:21:01 ens3 16.90 11.12 19.28 6.55 0.00 0.00 0.00 0.00 02:21:06 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:21:06 02:21:01 lo 0.54 0.54 0.05 0.05 0.00 0.00 0.00 0.00 02:21:06 Average: ens3 74.36 42.35 981.03 6.67 0.00 0.00 0.00 0.00 02:21:06 Average: docker0 17.84 28.93 1.40 185.75 0.00 0.00 0.00 0.00 02:21:06 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 02:21:06 02:21:06 02:21:06 ---> sar -P ALL: 02:21:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7260) 04/10/23 _x86_64_ (8 CPU) 02:21:06 02:21:06 02:08:05 LINUX RESTART (8 CPU) 02:21:06 02:21:06 02:09:02 CPU %user %nice %system %iowait %steal %idle 02:21:06 02:10:01 all 16.25 0.00 5.28 3.32 0.07 75.08 02:21:06 02:10:01 0 15.39 0.00 4.65 0.53 0.07 79.36 02:21:06 02:10:01 1 15.94 0.00 4.63 0.38 0.05 79.00 02:21:06 02:10:01 2 16.07 0.00 5.12 0.93 0.07 77.81 02:21:06 02:10:01 3 17.27 0.00 5.89 1.80 0.07 74.97 02:21:06 02:10:01 4 17.32 0.00 4.91 3.95 0.07 73.76 02:21:06 02:10:01 5 15.92 0.00 7.31 17.32 0.09 59.36 02:21:06 02:10:01 6 16.42 0.00 3.94 0.74 0.05 78.84 02:21:06 02:10:01 7 15.69 0.00 5.84 1.05 0.07 77.35 02:21:06 02:11:01 all 33.60 0.00 6.18 2.11 0.10 58.02 02:21:06 02:11:01 0 34.16 0.00 6.51 0.19 0.12 59.02 02:21:06 02:11:01 1 33.79 0.00 6.20 0.27 0.08 59.65 02:21:06 02:11:01 2 33.79 0.00 6.10 0.39 0.08 59.64 02:21:06 02:11:01 3 33.20 0.00 5.82 1.21 0.08 59.68 02:21:06 02:11:01 4 34.13 0.00 5.65 6.36 0.10 53.76 02:21:06 02:11:01 5 35.15 0.00 7.06 2.90 0.10 54.79 02:21:06 02:11:01 6 31.56 0.00 5.52 4.46 0.08 58.39 02:21:06 02:11:01 7 33.00 0.00 6.60 1.12 0.12 59.17 02:21:06 02:12:01 all 0.26 0.00 0.15 0.33 0.02 99.24 02:21:06 02:12:01 0 0.60 0.00 0.12 0.00 0.02 99.27 02:21:06 02:12:01 1 0.12 0.00 0.17 0.00 0.00 99.72 02:21:06 02:12:01 2 0.25 0.00 0.08 0.02 0.03 99.62 02:21:06 02:12:01 3 0.22 0.00 0.10 0.00 0.02 99.67 02:21:06 02:12:01 4 0.37 0.00 0.27 1.82 0.00 97.55 02:21:06 02:12:01 5 0.23 0.00 0.12 0.45 0.03 99.17 02:21:06 02:12:01 6 0.20 0.00 0.17 0.30 0.02 99.32 02:21:06 02:12:01 7 0.13 0.00 0.18 0.02 0.02 99.65 02:21:06 02:13:01 all 0.14 0.00 0.02 0.01 0.01 99.82 02:21:06 02:13:01 0 0.86 0.00 0.03 0.00 0.02 99.09 02:21:06 02:13:01 1 0.00 0.00 0.00 0.00 0.02 99.98 02:21:06 02:13:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:21:06 02:13:01 3 0.07 0.00 0.03 0.00 0.00 99.90 02:21:06 02:13:01 4 0.03 0.00 0.00 0.00 0.00 99.97 02:21:06 02:13:01 5 0.03 0.00 0.05 0.02 0.02 99.88 02:21:06 02:13:01 6 0.02 0.00 0.02 0.08 0.00 99.88 02:21:06 02:13:01 7 0.05 0.00 0.02 0.00 0.00 99.93 02:21:06 02:14:01 all 2.27 0.00 1.31 0.67 0.03 95.72 02:21:06 02:14:01 0 2.29 0.00 0.65 0.08 0.02 96.96 02:21:06 02:14:01 1 2.13 0.00 1.03 0.07 0.02 96.75 02:21:06 02:14:01 2 2.71 0.00 1.15 0.38 0.03 95.72 02:21:06 02:14:01 3 1.34 0.00 3.09 0.64 0.03 94.90 02:21:06 02:14:01 4 1.70 0.00 1.00 1.60 0.03 95.66 02:21:06 02:14:01 5 4.36 0.00 1.45 1.40 0.03 92.75 02:21:06 02:14:01 6 1.50 0.00 0.92 0.77 0.02 96.79 02:21:06 02:14:01 7 2.14 0.00 1.22 0.45 0.02 96.17 02:21:06 02:15:01 all 0.07 0.00 0.05 0.04 0.00 99.84 02:21:06 02:15:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:21:06 02:15:01 1 0.03 0.00 0.07 0.10 0.00 99.80 02:21:06 02:15:01 2 0.27 0.00 0.08 0.00 0.02 99.63 02:21:06 02:15:01 3 0.02 0.00 0.05 0.00 0.00 99.93 02:21:06 02:15:01 4 0.10 0.00 0.03 0.17 0.02 99.68 02:21:06 02:15:01 5 0.03 0.00 0.03 0.03 0.00 99.90 02:21:06 02:15:01 6 0.03 0.00 0.05 0.00 0.00 99.92 02:21:06 02:15:01 7 0.05 0.00 0.03 0.00 0.00 99.92 02:21:06 02:16:01 all 0.04 0.00 0.02 0.01 0.01 99.92 02:21:06 02:16:01 0 0.13 0.00 0.02 0.00 0.02 99.83 02:21:06 02:16:01 1 0.03 0.00 0.02 0.02 0.00 99.93 02:21:06 02:16:01 2 0.05 0.00 0.00 0.00 0.02 99.93 02:21:06 02:16:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:21:06 02:16:01 4 0.05 0.00 0.03 0.07 0.02 99.83 02:21:06 02:16:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:21:06 02:16:01 6 0.00 0.00 0.00 0.00 0.02 99.98 02:21:06 02:16:01 7 0.02 0.00 0.02 0.00 0.02 99.95 02:21:06 02:17:01 all 0.01 0.00 0.01 0.02 0.01 99.95 02:21:06 02:17:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:17:01 1 0.02 0.00 0.03 0.02 0.02 99.92 02:21:06 02:17:01 2 0.03 0.00 0.02 0.00 0.02 99.93 02:21:06 02:17:01 3 0.00 0.00 0.00 0.00 0.02 99.98 02:21:06 02:17:01 4 0.02 0.00 0.03 0.15 0.02 99.78 02:21:06 02:17:01 5 0.00 0.00 0.02 0.00 0.02 99.97 02:21:06 02:17:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:17:01 7 0.00 0.00 0.02 0.00 0.00 99.98 02:21:06 02:18:01 all 0.08 0.00 0.01 0.02 0.00 99.88 02:21:06 02:18:01 0 0.48 0.00 0.03 0.00 0.02 99.47 02:21:06 02:18:01 1 0.02 0.00 0.00 0.00 0.00 99.98 02:21:06 02:18:01 2 0.05 0.00 0.03 0.02 0.00 99.90 02:21:06 02:18:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:21:06 02:18:01 4 0.07 0.00 0.03 0.17 0.02 99.72 02:21:06 02:18:01 5 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:18:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:21:06 02:18:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:19:01 all 0.13 0.00 0.02 0.02 0.01 99.82 02:21:06 02:19:01 0 0.73 0.00 0.03 0.00 0.00 99.24 02:21:06 02:19:01 1 0.02 0.00 0.03 0.02 0.00 99.93 02:21:06 02:19:01 2 0.00 0.00 0.03 0.03 0.02 99.92 02:21:06 02:19:01 3 0.00 0.00 0.00 0.03 0.00 99.97 02:21:06 02:19:01 4 0.30 0.00 0.05 0.07 0.02 99.57 02:21:06 02:19:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:21:06 02:19:01 6 0.00 0.00 0.00 0.00 0.02 99.98 02:21:06 02:19:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:20:02 all 0.17 0.00 0.01 0.01 0.00 99.81 02:21:06 02:20:02 0 1.16 0.00 0.02 0.00 0.02 98.81 02:21:06 02:20:02 1 0.02 0.00 0.00 0.00 0.00 99.98 02:21:06 02:20:02 2 0.07 0.00 0.02 0.02 0.00 99.90 02:21:06 02:20:02 3 0.03 0.00 0.02 0.00 0.00 99.95 02:21:06 02:20:02 4 0.05 0.00 0.00 0.05 0.02 99.88 02:21:06 02:20:02 5 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:20:02 6 0.00 0.00 0.00 0.00 0.00 100.00 02:21:06 02:20:02 7 0.02 0.00 0.00 0.00 0.00 99.98 02:21:06 02:21:06 02:20:02 CPU %user %nice %system %iowait %steal %idle 02:21:06 02:21:01 all 0.43 0.00 0.15 0.08 0.01 99.33 02:21:06 02:21:01 0 0.46 0.00 0.08 0.00 0.00 99.46 02:21:06 02:21:01 1 0.20 0.00 0.17 0.00 0.02 99.61 02:21:06 02:21:01 2 0.66 0.00 0.19 0.17 0.02 98.97 02:21:06 02:21:01 3 0.14 0.00 0.08 0.00 0.02 99.76 02:21:06 02:21:01 4 0.61 0.00 0.19 0.48 0.00 98.73 02:21:06 02:21:01 5 0.14 0.00 0.10 0.00 0.00 99.76 02:21:06 02:21:01 6 0.46 0.00 0.17 0.03 0.00 99.34 02:21:06 02:21:01 7 0.80 0.00 0.20 0.00 0.00 99.00 02:21:06 Average: all 4.40 0.00 1.09 0.55 0.02 93.95 02:21:06 Average: 0 4.64 0.00 1.00 0.07 0.02 94.27 02:21:06 Average: 1 4.32 0.00 1.02 0.07 0.02 94.58 02:21:06 Average: 2 4.45 0.00 1.06 0.16 0.03 94.31 02:21:06 Average: 3 4.31 0.00 1.25 0.30 0.02 94.12 02:21:06 Average: 4 4.49 0.00 1.00 1.23 0.03 93.26 02:21:06 Average: 5 4.59 0.00 1.32 1.79 0.02 92.27 02:21:06 Average: 6 4.14 0.00 0.89 0.53 0.02 94.43 02:21:06 Average: 7 4.26 0.00 1.16 0.22 0.02 94.34 02:21:06 02:21:06 02:21:06