Pull request #270 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c1aa6e670322229371360af0d90fe9ff54987aa+2ded8c8301fa9285dc80bb471c5f0972abc0b73a (aac5b32c3578377b86c42224756ecb532c899a1b) 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-ssh1571570162560885651.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-ssh13881306415238713509.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-rest-go/branches/PR-270/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-rest-go/branches/PR-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8766616009304215457.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-rest-go/branches/PR-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1331742030980365904.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-ssh7468023088056847140.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-rest-go/branches/PR-270/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-rest-go/branches/PR-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16709274614639671612.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4429 in /w/workspace/gexfoundry_device-rest-go_PR-270 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-270 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit 7c1aa6e670322229371360af0d90fe9ff54987aa Merge succeeded, producing 7c1aa6e670322229371360af0d90fe9ff54987aa Checking out Revision 7c1aa6e670322229371360af0d90fe9ff54987aa (PR-270) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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 20:10:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:10:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1aa6e670322229371360af0d90fe9ff54987aa # 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1aa6e670322229371360af0d90fe9ff54987aa # timeout=10 [Pipeline] echo 20:10:09 ========================================================= 20:10:09 EdgeX Global Pipelines Version Info 20:10:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:10:10 ------------------- 20:10:10 stable info: 20:10:10 ------------------- 20:10:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:10:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:10:10 Message: update stable to v1.0.245 20:10:11 ------------------- 20:10:11 experimental info: 20:10:11 ------------------- 20:10:11 Commited By: **** collab-it+edgex@linuxfoundation.org 20:10:11 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:10:11 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:10:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c1aa6e670322229371360af0d90fe9ff54987aa [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c1aa6e [Pipeline] echo 20:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:12 provisioning config files... 20:10:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/config15317326037722982352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:12 ---> docker-login.sh 20:10:12 nexus3.edgexfoundry.org:10001 20:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:13 Configure a credential helper to remove this warning. See 20:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:13 20:10:13 Login Succeeded 20:10:13 nexus3.edgexfoundry.org:10002 20:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:13 Configure a credential helper to remove this warning. See 20:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:13 20:10:13 Login Succeeded 20:10:13 nexus3.edgexfoundry.org:10003 20:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:13 Configure a credential helper to remove this warning. See 20:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:13 20:10:13 Login Succeeded 20:10:13 nexus3.edgexfoundry.org:10004 20:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:13 Configure a credential helper to remove this warning. See 20:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:13 20:10:13 Login Succeeded 20:10:13 docker.io 20:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:14 Configure a credential helper to remove this warning. See 20:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:14 20:10:14 Login Succeeded 20:10:14 ---> docker-login.sh ends [Pipeline] } 20:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:10:14 + git rev-list -1 --merges 7c1aa6e670322229371360af0d90fe9ff54987aa~1..7c1aa6e670322229371360af0d90fe9ff54987aa [Pipeline] echo 20:10:14 -----------> git rev-list -1 --merges 7c1aa6e670322229371360af0d90fe9ff54987aa~1..7c1aa6e670322229371360af0d90fe9ff54987aa 7c1aa6e670322229371360af0d90fe9ff54987aa [false] [Pipeline] sh 20:10:14 + git log --format=format:%s -1 7c1aa6e670322229371360af0d90fe9ff54987aa [Pipeline] echo 20:10:15 ========================================================= 20:10:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:10:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:15 + git log --format=format:%s -1 7c1aa6e670322229371360af0d90fe9ff54987aa [Pipeline] echo 20:10:15 [semverPrep] GIT_COMMIT: 7c1aa6e670322229371360af0d90fe9ff54987aa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:10:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:10:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:10:15 + grep -v github /etc/ssh/ssh_known_hosts 20:10:15 + [ -e /tmp/ssh_known_hosts ] 20:10:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:10:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:10:15 + sudo tee -a /etc/ssh/ssh_known_hosts 20:10:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:16 20:10:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:16 0.1.4: Pulling from edgex-devops/py-git-semver 20:10:16 b85a868b505f: Pulling fs layer 20:10:16 e2be974225ed: Pulling fs layer 20:10:16 339a4e72a1f5: Pulling fs layer 20:10:16 988bab9f4d93: Pulling fs layer 20:10:16 1469e6f7b9e6: Pulling fs layer 20:10:16 eaf3925da568: Pulling fs layer 20:10:16 bab4dde63d76: Pulling fs layer 20:10:16 bde34c3a00c8: Pulling fs layer 20:10:16 b352a97aabf1: Pulling fs layer 20:10:16 4872d77fe225: Pulling fs layer 20:10:16 5851b861e8e6: Pulling fs layer 20:10:16 b352a97aabf1: Waiting 20:10:16 4872d77fe225: Waiting 20:10:16 5851b861e8e6: Waiting 20:10:16 bab4dde63d76: Waiting 20:10:16 bde34c3a00c8: Waiting 20:10:16 988bab9f4d93: Waiting 20:10:16 1469e6f7b9e6: Waiting 20:10:16 eaf3925da568: Waiting 20:10:16 e2be974225ed: Verifying Checksum 20:10:16 e2be974225ed: Download complete 20:10:16 988bab9f4d93: Verifying Checksum 20:10:16 988bab9f4d93: Download complete 20:10:16 1469e6f7b9e6: Verifying Checksum 20:10:16 1469e6f7b9e6: Download complete 20:10:16 eaf3925da568: Verifying Checksum 20:10:16 eaf3925da568: Download complete 20:10:16 339a4e72a1f5: Verifying Checksum 20:10:16 339a4e72a1f5: Download complete 20:10:16 bde34c3a00c8: Download complete 20:10:16 b352a97aabf1: Download complete 20:10:16 4872d77fe225: Verifying Checksum 20:10:16 4872d77fe225: Download complete 20:10:16 5851b861e8e6: Verifying Checksum 20:10:16 5851b861e8e6: Download complete 20:10:16 b85a868b505f: Verifying Checksum 20:10:16 b85a868b505f: Download complete 20:10:17 bab4dde63d76: Verifying Checksum 20:10:17 bab4dde63d76: Download complete 20:10:18 b85a868b505f: Pull complete 20:10:18 e2be974225ed: Pull complete 20:10:19 339a4e72a1f5: Pull complete 20:10:19 988bab9f4d93: Pull complete 20:10:19 1469e6f7b9e6: Pull complete 20:10:19 eaf3925da568: Pull complete 20:10:21 bab4dde63d76: Pull complete 20:10:21 bde34c3a00c8: Pull complete 20:10:21 b352a97aabf1: Pull complete 20:10:21 4872d77fe225: Pull complete 20:10:21 5851b861e8e6: Pull complete 20:10:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:10:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:21 prd-ubuntu20.04-docker-8c-8g-4429 does not seem to be running inside a container 20:10:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-270 -v /w/workspace/gexfoundry_device-rest-go_PR-270:/w/workspace/gexfoundry_device-rest-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-270@tmp:/w/workspace/gexfoundry_device-rest-go_PR-270@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:10:23 $ docker top 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc -eo pid,comm 20:10:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:10:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:24 [ssh-agent] Looking for ssh-agent implementation... 20:10:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:23 $ docker exec 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc ssh-agent 20:10:24 SSH_AUTH_SOCK=/tmp/ssh-eFYtRI6wKIeH/agent.32 20:10:24 SSH_AGENT_PID=38 20:10:24 Running ssh-add (command line suppressed) 20:10:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-270@tmp/private_key_13443279444491180248.key (/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/private_key_13443279444491180248.key) 20:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:24 + git tag --points-at HEAD [Pipeline] } 20:10:24 $ docker exec --env ******** --env ******** 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc ssh-agent -k 20:10:24 unset SSH_AUTH_SOCK; 20:10:24 unset SSH_AGENT_PID; 20:10:24 echo Agent pid 38 killed; 20:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:10:24 [ssh-agent] Looking for ssh-agent implementation... 20:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:10:25 $ docker exec 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc ssh-agent 20:10:25 SSH_AUTH_SOCK=/tmp/ssh-6uQI9todnjsp/agent.70 20:10:25 SSH_AGENT_PID=76 20:10:25 Running ssh-add (command line suppressed) 20:10:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-270@tmp/private_key_4954428355149811226.key (/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/private_key_4954428355149811226.key) 20:10:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:10:25 + git semver init 20:10:25 2023-03-17 20:10:25,800 [run_init] DEBUG init version:0.0.0 force:False 20:10:25 2023-03-17 20:10:25,801 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-270/.semver 20:10:25 2023-03-17 20:10:25,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-270/.semver 20:10:25 2023-03-17 20:10:25,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-270/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-270, universal_newlines=False, shell=None, istream=None) 20:10:26 2023-03-17 20:10:26,799 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-270/.git/info/exclude 20:10:26 2023-03-17 20:10:26,800 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-270/.semver/PR-270 with force:False 20:10:26 2023-03-17 20:10:26,800 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-270/.semver/PR-270 20:10:26 2023-03-17 20:10:26,804 [execute] INFO git cat-file --batch-check 20:10:26 2023-03-17 20:10:26,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 20:10:26 2023-03-17 20:10:26,809 [execute] INFO git cat-file --batch 20:10:26 2023-03-17 20:10:26,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 20:10:26 2023-03-17 20:10:26,815 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-270/.semver/PR-270 20:10:26 0.0.0 [Pipeline] } 20:10:27 $ docker exec --env ******** --env ******** 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc ssh-agent -k 20:10:27 unset SSH_AUTH_SOCK; 20:10:27 unset SSH_AGENT_PID; 20:10:27 echo Agent pid 76 killed; 20:10:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:10:27 + git semver [Pipeline] } 20:10:27 $ docker stop --time=1 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc 20:10:29 $ docker rm -f --volumes 8b6fb6f801b9d21bced18cde04220bd3603dbf0d156d2a2a415bd5f9b24b95dc [Pipeline] // withDockerContainer [Pipeline] sh 20:10:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:10:29 Stashed 1 file(s) [Pipeline] echo 20:10:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:30 provisioning config files... 20:10:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/config7768815061929793120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:30 ---> docker-login.sh 20:10:30 nexus3.edgexfoundry.org:10001 20:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:30 Configure a credential helper to remove this warning. See 20:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:30 20:10:30 Login Succeeded 20:10:30 nexus3.edgexfoundry.org:10002 20:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:30 Configure a credential helper to remove this warning. See 20:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:30 20:10:30 Login Succeeded 20:10:30 nexus3.edgexfoundry.org:10003 20:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:31 Configure a credential helper to remove this warning. See 20:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:31 20:10:31 Login Succeeded 20:10:31 nexus3.edgexfoundry.org:10004 20:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:31 Configure a credential helper to remove this warning. See 20:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:31 20:10:31 Login Succeeded 20:10:31 docker.io 20:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:31 Configure a credential helper to remove this warning. See 20:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:31 20:10:31 Login Succeeded 20:10:31 ---> docker-login.sh ends [Pipeline] } 20:10:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:10:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:31 ========================================================= 20:10:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:10:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:32 + 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 . 20:10:32 Sending build context to Docker daemon 10.86MB 20:10:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:10:32 Step 2/12 : FROM ${BASE} AS builder 20:10:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:10:32 63b65145d645: Pulling fs layer 20:10:32 a2d21d5440eb: Pulling fs layer 20:10:32 935e6c44a52c: Pulling fs layer 20:10:32 94cc34f8dd06: Pulling fs layer 20:10:32 30dea6a524f1: Pulling fs layer 20:10:32 a2aff8979fd8: Pulling fs layer 20:10:32 6808be2612f2: Pulling fs layer 20:10:32 f25807f1079a: Pulling fs layer 20:10:32 94cc34f8dd06: Waiting 20:10:32 6808be2612f2: Waiting 20:10:32 f25807f1079a: Waiting 20:10:32 a2aff8979fd8: Waiting 20:10:32 a2d21d5440eb: Verifying Checksum 20:10:32 a2d21d5440eb: Download complete 20:10:32 94cc34f8dd06: Verifying Checksum 20:10:32 94cc34f8dd06: Download complete 20:10:32 30dea6a524f1: Verifying Checksum 20:10:32 30dea6a524f1: Download complete 20:10:32 63b65145d645: Verifying Checksum 20:10:32 63b65145d645: Download complete 20:10:32 a2aff8979fd8: Verifying Checksum 20:10:32 a2aff8979fd8: Download complete 20:10:32 63b65145d645: Pull complete 20:10:32 a2d21d5440eb: Pull complete 20:10:32 f25807f1079a: Verifying Checksum 20:10:32 f25807f1079a: Download complete 20:10:33 935e6c44a52c: Verifying Checksum 20:10:33 935e6c44a52c: Download complete 20:10:33 6808be2612f2: Verifying Checksum 20:10:33 6808be2612f2: Download complete 20:10:36 935e6c44a52c: Pull complete 20:10:36 94cc34f8dd06: Pull complete 20:10:36 30dea6a524f1: Pull complete 20:10:36 a2aff8979fd8: Pull complete 20:10:38 6808be2612f2: Pull complete 20:10:39 f25807f1079a: Pull complete 20:10:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:10:39 ---> 3b553350e43f 20:10:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:10:42 ---> Running in fae2351a85d3 20:10:42 Removing intermediate container fae2351a85d3 20:10:42 ---> 93324bf29633 20:10:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:42 ---> Running in 79ae261de337 20:10:42 Removing intermediate container 79ae261de337 20:10:42 ---> 9ae4b10bb778 20:10:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:10:42 ---> Running in 2e34ec47f769 20:10:42 Removing intermediate container 2e34ec47f769 20:10:42 ---> abd3d0ab6a73 20:10:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:10:42 ---> Running in 09416ab46027 20:10:42 Removing intermediate container 09416ab46027 20:10:42 ---> 8728a52b294d 20:10:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:42 ---> Running in 1cd07a828b13 20:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:10:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:10:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:10:43 (2/4) Installing libedit (20221030.3.1-r0) 20:10:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:10:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:10:43 Executing busybox-1.35.0-r29.trigger 20:10:43 OK: 269 MiB in 57 packages 20:10:43 Removing intermediate container 1cd07a828b13 20:10:43 ---> 2947900c5707 20:10:43 Step 8/12 : WORKDIR /device-rest-go 20:10:43 ---> Running in 45ab4c95eb0e 20:10:43 Removing intermediate container 45ab4c95eb0e 20:10:43 ---> aa6b4fca821a 20:10:43 Step 9/12 : COPY go.mod vendor* ./ 20:10:43 ---> 3b33c2dc5a88 20:10:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:43 ---> Running in 77164bd1e349 20:10:45 Still waiting to schedule task 20:10:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:11:22 Removing intermediate container 77164bd1e349 20:11:22 ---> 87f6511f6c53 20:11:22 Step 11/12 : COPY . . 20:11:22 ---> 8b8e3277bdbb 20:11:22 Step 12/12 : RUN $MAKE 20:11:22 ---> Running in 96d056907aba 20:11:22 noop 20:11:22 Removing intermediate container 96d056907aba 20:11:22 ---> 825f598fa5b6 20:11:22 Successfully built 825f598fa5b6 20:11:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:23 + docker inspect -f . ci-base-image-x86_64 20:11:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:23 prd-ubuntu20.04-docker-8c-8g-4429 does not seem to be running inside a container 20:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-270 -v /w/workspace/gexfoundry_device-rest-go_PR-270:/w/workspace/gexfoundry_device-rest-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-270@tmp:/w/workspace/gexfoundry_device-rest-go_PR-270@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 ******** ci-base-image-x86_64 cat 20:11:23 $ docker top c63a40ab86c3d36f01fb393cb4f1e00ac3a0909c484fa3b1e10763873faf836d -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:24 + go version 20:11:24 go version go1.20.2 linux/amd64 [Pipeline] } 20:11:24 $ docker stop --time=1 c63a40ab86c3d36f01fb393cb4f1e00ac3a0909c484fa3b1e10763873faf836d 20:11:25 $ docker rm -f --volumes c63a40ab86c3d36f01fb393cb4f1e00ac3a0909c484fa3b1e10763873faf836d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:26 + docker inspect -f . ci-base-image-x86_64 20:11:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:26 prd-ubuntu20.04-docker-8c-8g-4429 does not seem to be running inside a container 20:11:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-270 -v /w/workspace/gexfoundry_device-rest-go_PR-270:/w/workspace/gexfoundry_device-rest-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-270@tmp:/w/workspace/gexfoundry_device-rest-go_PR-270@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 ******** ci-base-image-x86_64 cat 20:11:26 $ docker top cfd3fd3080da0d85be79ccac3e1cb09ab697fd45032db6d85a5fd9654099aaf2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-270 [Pipeline] fileExists [Pipeline] sh 20:11:27 + make test 20:11:27 go test ./... -coverprofile=coverage.out ./... 20:11:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:42 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.1% of statements 20:11:50 go vet ./... 20:11:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:53 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:53 $ docker stop --time=1 cfd3fd3080da0d85be79ccac3e1cb09ab697fd45032db6d85a5fd9654099aaf2 20:11:56 $ docker rm -f --volumes cfd3fd3080da0d85be79ccac3e1cb09ab697fd45032db6d85a5fd9654099aaf2 [Pipeline] // withDockerContainer [Pipeline] sh 20:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:57 + ls -al . 20:11:57 total 184 20:11:57 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 20:11 . 20:11:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 20:10 .. 20:11:57 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 20:10 .dockerignore 20:11:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 20:10 .git 20:11:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 20:10 .github 20:11:57 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 20:10 .gitignore 20:11:57 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 20:10 .golangci.yml 20:11:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 20:10 .semver 20:11:57 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 17 20:10 Attribution.txt 20:11:57 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 17 20:10 CHANGELOG.md 20:11:57 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 17 20:10 Dockerfile 20:11:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 20:10 GOVERNANCE.md 20:11:57 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 20:10 Jenkinsfile 20:11:57 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 20:10 LICENSE 20:11:57 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 17 20:10 Makefile 20:11:57 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 20:10 OWNERS.md 20:11:57 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 17 20:10 README.md 20:11:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 20:10 VERSION 20:11:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 20:10 bin 20:11:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 20:10 cmd 20:11:57 -rw-r--r-- 1 jenkins jenkins 14200 Mar 17 20:11 coverage.out 20:11:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 20:10 driver 20:11:57 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 17 20:10 go.mod 20:11:57 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 17 20:10 go.sum 20:11:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 20:10 snap 20:11:57 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:58 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7c1aa6e670322229371360af0d90fe9ff54987aa --label arch=amd64 --label version=0.0.0 . 20:11:58 Sending build context to Docker daemon 10.87MB 20:11:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:11:58 Step 2/25 : FROM ${BASE} AS builder 20:11:58 ---> 825f598fa5b6 20:11:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:11:58 ---> Running in 343f24b26d82 20:11:58 Removing intermediate container 343f24b26d82 20:11:58 ---> 4f7b0a9f3bf9 20:11:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:58 ---> Running in 87ac76b1bd50 20:11:58 Removing intermediate container 87ac76b1bd50 20:11:58 ---> d646d417f3ca 20:11:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:58 ---> Running in db8c16e43ef7 20:11:58 Removing intermediate container db8c16e43ef7 20:11:58 ---> 5f04adfd72fd 20:11:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:11:58 ---> Running in 34d880b33dde 20:11:58 Removing intermediate container 34d880b33dde 20:11:58 ---> be1ddb1c71a0 20:11:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:58 ---> Running in 565790f9419c 20:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:11:59 OK: 269 MiB in 57 packages 20:11:59 Removing intermediate container 565790f9419c 20:11:59 ---> 1edb104dbff4 20:11:59 Step 8/25 : WORKDIR /device-rest-go 20:11:59 ---> Running in f4ec2301782c 20:11:59 Removing intermediate container f4ec2301782c 20:11:59 ---> 6155a99ef87d 20:11:59 Step 9/25 : COPY go.mod vendor* ./ 20:12:00 ---> 0be6cfc202a5 20:12:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:00 ---> Running in 6da617f92342 20:12:01 Removing intermediate container 6da617f92342 20:12:01 ---> 22c2b9a155ab 20:12:01 Step 11/25 : COPY . . 20:12:01 ---> 34e68b4ec941 20:12:01 Step 12/25 : RUN $MAKE 20:12:01 ---> Running in 0222790d6c63 20:12:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:12:23 Removing intermediate container 0222790d6c63 20:12:23 ---> f6c816fd7557 20:12:23 Step 13/25 : FROM alpine:3.17 20:12:23 3.17: Pulling from library/alpine 20:12:23 63b65145d645: Already exists 20:12:23 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:12:23 Status: Downloaded newer image for alpine:3.17 20:12:23 ---> b2aa39c304c2 20:12:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:12:23 ---> Running in 8a0b3111d307 20:12:23 Removing intermediate container 8a0b3111d307 20:12:23 ---> dff8da2fa9d8 20:12:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:12:23 ---> Running in ad6da6a6c61b 20:12:23 Removing intermediate container ad6da6a6c61b 20:12:23 ---> 1648d7404310 20:12:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:12:23 ---> Running in 49cee5ea78da 20:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:12:23 (1/1) Installing dumb-init (1.2.5-r2) 20:12:23 Executing busybox-1.35.0-r29.trigger 20:12:23 OK: 7 MiB in 16 packages 20:12:23 Removing intermediate container 49cee5ea78da 20:12:23 ---> 9dd4dcce214b 20:12:23 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:12:23 ---> 6c246f584a54 20:12:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:12:23 ---> e8c6f66a10e0 20:12:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:12:23 ---> 6c0b8e7d2c09 20:12:23 Step 20/25 : EXPOSE 59986 20:12:23 ---> Running in c172fd86f31f 20:12:23 Removing intermediate container c172fd86f31f 20:12:23 ---> d2210776cb6a 20:12:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:12:23 ---> Running in c676cf2cfceb 20:12:23 Removing intermediate container c676cf2cfceb 20:12:23 ---> 078f80fc2984 20:12:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:12:23 ---> Running in 79e064d9ce41 20:12:23 Removing intermediate container 79e064d9ce41 20:12:23 ---> b65bf03ed3a3 20:12:23 Step 23/25 : LABEL arch=amd64 20:12:24 ---> Running in 927c56f3ed6c 20:12:24 Removing intermediate container 927c56f3ed6c 20:12:24 ---> 95194d8416ce 20:12:24 Step 24/25 : LABEL git_sha=7c1aa6e670322229371360af0d90fe9ff54987aa 20:12:24 ---> Running in e2d36ee1ae73 20:12:24 Removing intermediate container e2d36ee1ae73 20:12:24 ---> 72a0fa514dd8 20:12:24 Step 25/25 : LABEL version=0.0.0 20:12:24 ---> Running in 95af0c1da461 20:12:24 Removing intermediate container 95af0c1da461 20:12:24 ---> 6b333ecb5317 20:12:24 [Warning] One or more build-args [ARCH] were not consumed 20:12:24 Successfully built 6b333ecb5317 20:12:24 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4430 in /w/workspace/gexfoundry_device-rest-go_PR-270 [Pipeline] { [Pipeline] ws 20:12:25 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:25 20:12:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:25 The recommended git tool is: git [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:25 latest: Pulling from edgex-lftools-log-publisher 20:12:25 5eb5b503b376: Pulling fs layer 20:12:25 5c69ac0246d0: Pulling fs layer 20:12:25 ec43610c2a17: Pulling fs layer 20:12:25 3a2ae6a8a46f: Pulling fs layer 20:12:25 33b1e0a273af: Pulling fs layer 20:12:25 5d3b04190fa2: Pulling fs layer 20:12:25 2f39f015ded8: Pulling fs layer 20:12:25 3a2ae6a8a46f: Waiting 20:12:25 33b1e0a273af: Waiting 20:12:25 2f39f015ded8: Waiting 20:12:25 5c69ac0246d0: Verifying Checksum 20:12:25 5c69ac0246d0: Download complete 20:12:25 3a2ae6a8a46f: Verifying Checksum 20:12:25 3a2ae6a8a46f: Download complete 20:12:25 33b1e0a273af: Verifying Checksum 20:12:25 33b1e0a273af: Download complete 20:12:25 5d3b04190fa2: Verifying Checksum 20:12:25 5d3b04190fa2: Download complete 20:12:25 ec43610c2a17: Verifying Checksum 20:12:25 ec43610c2a17: Download complete 20:12:25 5eb5b503b376: Verifying Checksum 20:12:25 5eb5b503b376: Download complete 20:12:26 2f39f015ded8: Download complete 20:12:27 5eb5b503b376: Pull complete 20:12:27 5c69ac0246d0: Pull complete 20:12:27 ec43610c2a17: Pull complete 20:12:27 3a2ae6a8a46f: Pull complete 20:12:28 33b1e0a273af: Pull complete 20:12:28 5d3b04190fa2: Pull complete 20:12:31 using credential edgex-jenkins-ssh 20:12:31 Cloning the remote Git repository 20:12:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:12:31 > git init /w/workspace/device-rest-go/1 # timeout=10 20:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:12:31 > git --version # timeout=10 20:12:31 > git --version # 'git version 2.25.1' 20:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:33 2f39f015ded8: Pull complete 20:12:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:33 prd-ubuntu20.04-docker-8c-8g-4429 does not seem to be running inside a container 20:12:33 $ 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/gexfoundry_device-rest-go_PR-270 -v /w/workspace/gexfoundry_device-rest-go_PR-270:/w/workspace/gexfoundry_device-rest-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-270@tmp:/w/workspace/gexfoundry_device-rest-go_PR-270@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 20:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:12:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:34 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit 7c1aa6e670322229371360af0d90fe9ff54987aa 20:12:35 Merge succeeded, producing 7c1aa6e670322229371360af0d90fe9ff54987aa 20:12:35 Checking out Revision 7c1aa6e670322229371360af0d90fe9ff54987aa (PR-270) 20:12:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:12:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:12:34 > git config core.sparsecheckout # timeout=10 20:12:34 > git checkout -f 7c1aa6e670322229371360af0d90fe9ff54987aa # timeout=10 20:12:34 > git remote # timeout=10 20:12:35 > git config --get remote.origin.url # timeout=10 20:12:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:35 > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 20:12:35 > git rev-parse HEAD^{commit} # timeout=10 20:12:35 > git config core.sparsecheckout # timeout=10 20:12:35 > git checkout -f 7c1aa6e670322229371360af0d90fe9ff54987aa # timeout=10 20:12:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:12:35 > git --version # timeout=10 20:12:35 > git --version # 'git version 2.25.1' 20:12:35 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 20:12:36 20:12:36 GitHub has been notified of this commit’s build result 20:12:36 20:12:36 $ docker top cb57414d8908401146ccc6aa335e7cd16ddb1dbf6a75412ef665c39bc22fc615 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:36 ---> job-cost.sh 20:12:36 lf-activate-venv: SKIPPING 20:12:36 INFO: No Stack... 20:12:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:12:37 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:37 Dload Upload Total Spent Left Speed 20:12:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 20:12:37 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 20:12:37 + cat /w/workspace/gexfoundry_device-rest-go_PR-270/archives/cost.csv 20:12:37 + cut -d, -f6 [Pipeline] lock 20:12:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] 20:12:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] did not exist. Created. 20:12:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:12:37 + echo total: 0.2199999988079071 [Pipeline] stash 20:12:37 Stashed 1 file(s) [Pipeline] } 20:12:37 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] 20:12:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:12:37 + sudo tee /etc/docker/daemon.new 20:12:37 { 20:12:37 "registry-mirrors": [ 20:12:37 "https://nexus3.edgexfoundry.org:10001" 20:12:37 ], 20:12:37 "bip": "10.250.0.254/24", 20:12:37 "hosts": [ 20:12:37 "tcp://0.0.0.0:5555", 20:12:37 "unix:///var/run/docker.sock" 20:12:37 ], 20:12:37 "mtu": 1458, 20:12:37 "selinux-enabled": true, 20:12:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:12:37 } [Pipeline] // lock [Pipeline] } 20:12:38 $ docker stop --time=1 cb57414d8908401146ccc6aa335e7cd16ddb1dbf6a75412ef665c39bc22fc615 20:12:39 $ docker rm -f --volumes cb57414d8908401146ccc6aa335e7cd16ddb1dbf6a75412ef665c39bc22fc615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:12:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:12:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:58 provisioning config files... 20:12:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13692103805274718373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:58 ---> docker-login.sh 20:12:58 nexus3.edgexfoundry.org:10001 20:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10002 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10003 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 nexus3.edgexfoundry.org:10004 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 docker.io 20:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 ---> docker-login.sh ends [Pipeline] } 20:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:01 ========================================================= 20:13:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:13:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:01 + 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 . 20:13:01 Sending build context to Docker daemon 138.8kB 20:13:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:13:02 Step 2/12 : FROM ${BASE} AS builder 20:13:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:13:02 af6eaf76a39c: Pulling fs layer 20:13:02 55522c791124: Pulling fs layer 20:13:02 ce5c4a1c91eb: Pulling fs layer 20:13:02 169dfbe0d373: Pulling fs layer 20:13:02 e1ff8fa3b103: Pulling fs layer 20:13:02 52ebb69f0ebf: Pulling fs layer 20:13:02 5abe8eddf0d5: Pulling fs layer 20:13:02 e1ff8fa3b103: Waiting 20:13:02 169dfbe0d373: Waiting 20:13:02 52ebb69f0ebf: Waiting 20:13:02 5abe8eddf0d5: Waiting 20:13:02 55522c791124: Verifying Checksum 20:13:02 55522c791124: Download complete 20:13:02 169dfbe0d373: Verifying Checksum 20:13:02 169dfbe0d373: Download complete 20:13:02 e1ff8fa3b103: Verifying Checksum 20:13:02 e1ff8fa3b103: Download complete 20:13:02 af6eaf76a39c: Verifying Checksum 20:13:02 af6eaf76a39c: Download complete 20:13:03 af6eaf76a39c: Pull complete 20:13:03 5abe8eddf0d5: Verifying Checksum 20:13:03 5abe8eddf0d5: Download complete 20:13:03 55522c791124: Pull complete 20:13:04 ce5c4a1c91eb: Download complete 20:13:04 52ebb69f0ebf: Verifying Checksum 20:13:04 52ebb69f0ebf: Download complete 20:13:17 ce5c4a1c91eb: Pull complete 20:13:17 169dfbe0d373: Pull complete 20:13:17 e1ff8fa3b103: Pull complete 20:13:24 52ebb69f0ebf: Pull complete 20:13:25 5abe8eddf0d5: Pull complete 20:13:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:13:25 ---> 6cb57ee374ae 20:13:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:13:27 ---> Running in e9b408602820 20:13:27 Removing intermediate container e9b408602820 20:13:27 ---> ac9d9ad42f3a 20:13:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:13:27 ---> Running in baae26e693bf 20:13:27 Removing intermediate container baae26e693bf 20:13:27 ---> f3bf9899d83b 20:13:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:13:27 ---> Running in 472f2d273964 20:13:28 Removing intermediate container 472f2d273964 20:13:28 ---> 4c2e20b1f9a8 20:13:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:13:28 ---> Running in 0a133a65bb33 20:13:28 Removing intermediate container 0a133a65bb33 20:13:28 ---> 1dbdfade0b45 20:13:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:28 ---> Running in 91f99cd807cf 20:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:13:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:13:31 (2/4) Installing libedit (20221030.3.1-r0) 20:13:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:13:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:13:31 Executing busybox-1.35.0-r29.trigger 20:13:31 OK: 268 MiB in 57 packages 20:13:32 Removing intermediate container 91f99cd807cf 20:13:32 ---> 20b2213eac98 20:13:32 Step 8/12 : WORKDIR /device-rest-go 20:13:32 ---> Running in fcb575e515c6 20:13:32 Removing intermediate container fcb575e515c6 20:13:32 ---> 7785aa6bf126 20:13:32 Step 9/12 : COPY go.mod vendor* ./ 20:13:33 ---> 294da9573094 20:13:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:33 ---> Running in c40f230f0b3c 20:14:41 Removing intermediate container c40f230f0b3c 20:14:41 ---> fbfc4bc07453 20:14:41 Step 11/12 : COPY . . 20:14:41 ---> 348e3b49985d 20:14:41 Step 12/12 : RUN $MAKE 20:14:41 ---> Running in d82b060e79a5 20:14:41 noop 20:14:41 Removing intermediate container d82b060e79a5 20:14:41 ---> 248f7056db21 20:14:41 Successfully built 248f7056db21 20:14:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:41 + docker inspect -f . ci-base-image-arm64 20:14:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:41 prd-ubuntu20.04-docker-arm64-4c-16g-4430 does not seem to be running inside a container 20:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat 20:14:43 $ docker top c143983dff46569445f3ce5d4b1554d3c9c50f6e92fb8cfe9d40f91b20c3fe59 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:43 + go version 20:14:43 go version go1.20.2 linux/arm64 [Pipeline] } 20:14:43 $ docker stop --time=1 c143983dff46569445f3ce5d4b1554d3c9c50f6e92fb8cfe9d40f91b20c3fe59 20:14:45 $ docker rm -f --volumes c143983dff46569445f3ce5d4b1554d3c9c50f6e92fb8cfe9d40f91b20c3fe59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:46 + docker inspect -f . ci-base-image-arm64 20:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-4430 does not seem to be running inside a container 20:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat 20:14:47 $ docker top 33de267464239b56b476afc5fb638fbfc9c6abe834e70bf0f254aa24b5296235 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:48 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:14:49 + make test 20:14:49 go test ./... -coverprofile=coverage.out ./... 20:15:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:17:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:17:13 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 33.1% of statements 20:17:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:17:13 go vet ./... 20:17:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:17:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:45 $ docker stop --time=1 33de267464239b56b476afc5fb638fbfc9c6abe834e70bf0f254aa24b5296235 20:17:47 $ docker rm -f --volumes 33de267464239b56b476afc5fb638fbfc9c6abe834e70bf0f254aa24b5296235 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:49 Warning: overwriting stash ‘coverage-report’ 20:17:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:50 + ls -al . 20:17:50 total 180 20:17:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 20:14 . 20:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 20:12 .. 20:17:50 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 20:12 .dockerignore 20:17:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 20:12 .git 20:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 20:12 .github 20:17:50 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 20:12 .gitignore 20:17:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 20:12 .golangci.yml 20:17:50 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 17 20:12 Attribution.txt 20:17:50 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 17 20:12 CHANGELOG.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 17 20:12 Dockerfile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 20:12 GOVERNANCE.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 20:12 Jenkinsfile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 20:12 LICENSE 20:17:50 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 17 20:12 Makefile 20:17:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 20:12 OWNERS.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 17 20:12 README.md 20:17:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 20:10 VERSION 20:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 20:12 bin 20:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 20:12 cmd 20:17:50 -rw-r--r-- 1 jenkins jenkins 14200 Mar 17 20:17 coverage.out 20:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 20:12 driver 20:17:50 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 17 20:12 go.mod 20:17:50 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 17 20:12 go.sum 20:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 20:12 snap 20:17:50 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:50 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7c1aa6e670322229371360af0d90fe9ff54987aa --label arch=arm64 --label version=0.0.0 . 20:17:50 Sending build context to Docker daemon 153.6kB 20:17:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:17:51 Step 2/25 : FROM ${BASE} AS builder 20:17:51 ---> 248f7056db21 20:17:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:17:51 ---> Running in 47a1c91a3fb6 20:17:51 Removing intermediate container 47a1c91a3fb6 20:17:51 ---> 0a1eafa61b75 20:17:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:51 ---> Running in abfc22fc07e0 20:17:51 Removing intermediate container abfc22fc07e0 20:17:51 ---> d5ce6db21942 20:17:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:51 ---> Running in 633b2fecd3dd 20:17:52 Removing intermediate container 633b2fecd3dd 20:17:52 ---> e0d4789c767a 20:17:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:17:52 ---> Running in 817458702b82 20:17:52 Removing intermediate container 817458702b82 20:17:52 ---> 2486dc39c028 20:17:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:52 ---> Running in 48334a1a4e5e 20:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:17:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:17:54 OK: 268 MiB in 57 packages 20:17:55 Removing intermediate container 48334a1a4e5e 20:17:55 ---> 25476dfba789 20:17:55 Step 8/25 : WORKDIR /device-rest-go 20:17:55 ---> Running in 0e8688887d0e 20:17:56 Removing intermediate container 0e8688887d0e 20:17:56 ---> 0ab51e5abe47 20:17:56 Step 9/25 : COPY go.mod vendor* ./ 20:17:56 ---> 46eadce05c85 20:17:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:56 ---> Running in 9df964becf38 20:17:59 Removing intermediate container 9df964becf38 20:17:59 ---> c4d8cc00f2c5 20:17:59 Step 11/25 : COPY . . 20:17:59 ---> 98252fe54a2e 20:17:59 Step 12/25 : RUN $MAKE 20:17:59 ---> Running in 143f82acb102 20:18:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:20:07 Removing intermediate container 143f82acb102 20:20:07 ---> bbfd9eceb947 20:20:07 Step 13/25 : FROM alpine:3.17 20:20:07 3.17: Pulling from library/alpine 20:20:07 af6eaf76a39c: Already exists 20:20:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:20:07 Status: Downloaded newer image for alpine:3.17 20:20:07 ---> d74e625d9115 20:20:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:20:07 ---> Running in 668c6637c8c3 20:20:07 Removing intermediate container 668c6637c8c3 20:20:07 ---> 3b0690f6c10e 20:20:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:20:07 ---> Running in 065c7a6f237b 20:20:07 Removing intermediate container 065c7a6f237b 20:20:07 ---> 512902134414 20:20:07 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:20:07 ---> Running in 78ee66cecaa4 20:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:20:07 (1/1) Installing dumb-init (1.2.5-r2) 20:20:07 Executing busybox-1.35.0-r29.trigger 20:20:07 OK: 8 MiB in 16 packages 20:20:08 Removing intermediate container 78ee66cecaa4 20:20:08 ---> 97973ee6958a 20:20:08 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:20:09 ---> b399e6344eea 20:20:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:20:10 ---> 43c236c40888 20:20:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:20:10 ---> f92482dcdc3c 20:20:10 Step 20/25 : EXPOSE 59986 20:20:10 ---> Running in 462608b6a134 20:20:12 Removing intermediate container 462608b6a134 20:20:12 ---> e1e86d628a30 20:20:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:20:12 ---> Running in b90329ecb8f7 20:20:12 Removing intermediate container b90329ecb8f7 20:20:12 ---> b0de80436009 20:20:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:20:12 ---> Running in acaa9ae66dc4 20:20:13 Removing intermediate container acaa9ae66dc4 20:20:13 ---> e752310ea5da 20:20:13 Step 23/25 : LABEL arch=arm64 20:20:13 ---> Running in a613b324435d 20:20:13 Removing intermediate container a613b324435d 20:20:13 ---> ce9b2b2bb9d1 20:20:13 Step 24/25 : LABEL git_sha=7c1aa6e670322229371360af0d90fe9ff54987aa 20:20:13 ---> Running in a45ee89c32bc 20:20:13 Removing intermediate container a45ee89c32bc 20:20:13 ---> 571f729a1c0e 20:20:13 Step 25/25 : LABEL version=0.0.0 20:20:13 ---> Running in bd1405da02ae 20:20:14 Removing intermediate container bd1405da02ae 20:20:14 ---> c7c10c6e7a20 20:20:14 [Warning] One or more build-args [ARCH] were not consumed 20:20:14 Successfully built c7c10c6e7a20 20:20:14 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:14 20:20:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:15 arm64: Pulling from edgex-lftools-log-publisher 20:20:15 8998bd30e6a1: Pulling fs layer 20:20:15 04944245beec: Pulling fs layer 20:20:15 699f458cf7ca: Pulling fs layer 20:20:15 765212b225bb: Pulling fs layer 20:20:15 f23df028b6ca: Pulling fs layer 20:20:15 d65c8cfc05b1: Pulling fs layer 20:20:15 2437ff75d9bd: Pulling fs layer 20:20:15 d65c8cfc05b1: Waiting 20:20:15 2437ff75d9bd: Waiting 20:20:15 765212b225bb: Waiting 20:20:15 f23df028b6ca: Waiting 20:20:15 04944245beec: Verifying Checksum 20:20:15 04944245beec: Download complete 20:20:15 765212b225bb: Verifying Checksum 20:20:15 765212b225bb: Download complete 20:20:15 f23df028b6ca: Verifying Checksum 20:20:15 f23df028b6ca: Download complete 20:20:15 d65c8cfc05b1: Verifying Checksum 20:20:15 d65c8cfc05b1: Download complete 20:20:15 699f458cf7ca: Verifying Checksum 20:20:16 8998bd30e6a1: Verifying Checksum 20:20:16 8998bd30e6a1: Download complete 20:20:18 2437ff75d9bd: Verifying Checksum 20:20:20 8998bd30e6a1: Pull complete 20:20:20 04944245beec: Pull complete 20:20:21 699f458cf7ca: Pull complete 20:20:21 765212b225bb: Pull complete 20:20:22 f23df028b6ca: Pull complete 20:20:22 d65c8cfc05b1: Pull complete 20:20:41 2437ff75d9bd: Pull complete 20:20:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:20:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:41 prd-ubuntu20.04-docker-arm64-4c-16g-4430 does not seem to be running inside a container 20:20:41 $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:20:43 $ docker top ad7cada0dd7dfe678b619d154c8bdb2184c5bed490a9934e5069875bcf7e54b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:44 ---> job-cost.sh 20:20:44 lf-activate-venv: SKIPPING 20:20:44 INFO: No Stack... 20:20:45 INFO: Retrieving Pricing Info for: v3-standard-4 20:20:46 INFO: Archiving Costs [Pipeline] sh 20:20:46 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:20:46 + cut -d, -f6 [Pipeline] lock 20:20:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] 20:20:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] did not exist. Created. 20:20:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:46 /w/workspace/device-rest-go/1@tmp/durable-3c151ee3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:20:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:20:47 Warning: overwriting stash ‘stack-cost’ 20:20:47 Stashed 1 file(s) [Pipeline] } 20:20:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-270-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:20:47 $ docker stop --time=1 ad7cada0dd7dfe678b619d154c8bdb2184c5bed490a9934e5069875bcf7e54b3 20:20:49 $ docker rm -f --volumes ad7cada0dd7dfe678b619d154c8bdb2184c5bed490a9934e5069875bcf7e54b3 [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 20:20:50 provisioning config files... 20:20:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/config16094932308039787605tmp [Pipeline] { [Pipeline] sh 20:20:50 + set +x 20:20:50 + bash -s -- 20:20:50 + curl -s https://codecov.io/bash 20:20:50 20:20:50 _____ _ 20:20:50 / ____| | | 20:20:50 | | ___ __| | ___ ___ _____ __ 20:20:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:20:50 | |___| (_) | (_| | __/ (_| (_) \ V / 20:20:50 \_____\___/ \__,_|\___|\___\___/ \_/ 20:20:50 Bash-1.0.6 20:20:50 20:20:50 20:20:50 ==> git version 2.25.1 found 20:20:50 ==> 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 20:20:50 Release-Date: 2020-01-08 20:20:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:20:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:20:50 ==> Jenkins CI detected. 20:20:50 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-270 20:20:50 project root: . 20:20:50 --> token set from env 20:20:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:20:50 ==> Running gcov in . (disable via -X gcov) 20:20:50 ==> Python coveragepy not found 20:20:50 ==> Searching for coverage reports in: 20:20:50 + . 20:20:50 -> Found 1 reports 20:20:50 ==> Detecting git/mercurial file structure 20:20:50 ==> Reading reports 20:20:50 + ./coverage.out bytes=14200 20:20:50 ==> Appending adjustments 20:20:50 https://docs.codecov.io/docs/fixing-reports 20:20:50 + Found adjustments 20:20:50 ==> Gzipping contents 20:20:50 4.0K /tmp/codecov.JXoYc3.gz 20:20:50 ==> Uploading reports 20:20:50 url: https://codecov.io 20:20:50 query: branch=PR-270&commit=7c1aa6e670322229371360af0d90fe9ff54987aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=270&job=&cmd_args= 20:20:50 -> Pinging Codecov 20:20:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-270&commit=7c1aa6e670322229371360af0d90fe9ff54987aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=270&job=&cmd_args= 20:20:51 -> Uploading to 20:20:51 https://storage.googleapis.com/codecov/v4/raw/2023-03-17/4E5D53B4F1F92C436F7061BF334D961C/7c1aa6e670322229371360af0d90fe9ff54987aa/41f72de3-10e7-4f53-8e66-bc4c9cfa1677.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T202050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8b1381e8573765084c41222854535cdcf17a007d4af64a640fb1400a08901fa 20:20:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:20:51 Dload Upload Total Spent Left Speed 20:20:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 8898 --:--:-- --:--:-- --:--:-- 8898 20:20:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7c1aa6e670322229371360af0d90fe9ff54987aa [Pipeline] } 20:20:51 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 20:20:53 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-270/archives ] 20:20:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-270/archives 20:20:53 total 16 20:20:53 drwxr-xr-x 3 root root 4096 Mar 17 20:12 . 20:20:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 20:12 .. 20:20:53 drwxr-xr-x 2 root root 4096 Mar 17 20:12 cost 20:20:53 -rw-r--r-- 1 root root 86 Mar 17 20:12 cost.csv 20:20:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-270/archives 20:20:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-270/archives 20:20:53 total 16 20:20:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 20:12 . 20:20:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 20:12 .. 20:20:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 20:12 cost 20:20:53 -rw-r--r-- 1 jenkins jenkins 86 Mar 17 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:20:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:20:54 ---> package-listing.sh 20:20:54 ++ tr '[:upper:]' '[:lower:]' 20:20:54 ++ facter osfamily 20:20:54 + OS_FAMILY=debian 20:20:54 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-270 20:20:54 + START_PACKAGES=/tmp/packages_start.txt 20:20:54 + END_PACKAGES=/tmp/packages_end.txt 20:20:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:20:54 + PACKAGES=/tmp/packages_start.txt 20:20:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-270 ']' 20:20:54 + PACKAGES=/tmp/packages_end.txt 20:20:54 + case "${OS_FAMILY}" in 20:20:54 + dpkg -l 20:20:54 + grep '^ii' 20:20:54 + '[' -f /tmp/packages_start.txt ']' 20:20:54 + '[' -f /tmp/packages_end.txt ']' 20:20:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:20:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-270 ']' 20:20:54 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-270/archives/ 20:20:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-270/archives/ [Pipeline] echo 20:20:54 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/gexfoundry_device-rest-go_PR-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:20:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:55 prd-ubuntu20.04-docker-8c-8g-4429 does not seem to be running inside a container 20:20:55 $ 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/gexfoundry_device-rest-go_PR-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-270 -v /w/workspace/gexfoundry_device-rest-go_PR-270:/w/workspace/gexfoundry_device-rest-go_PR-270:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-270@tmp:/w/workspace/gexfoundry_device-rest-go_PR-270@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:20:56 $ docker top 5308cd4a4a5ea214d956ab87560d85749f556b30f0f5173f0a0bd63ec75d43f6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:56 + touch /tmp/pre-build-complete [Pipeline] sh 20:20:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:20:57 + ls /var/log/sa-host 20:20:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:57 provisioning config files... 20:20:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-270@tmp/config2290569971756831051tmp [Pipeline] { [Pipeline] echo 20:20:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:20:57 ---> create-netrc.sh [Pipeline] } 20:20:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:20:58 ---> python-tools-install.sh [Pipeline] echo 20:20:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:20:58 ---> sudo-logs.sh 20:20:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:20:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:20:58 ---> job-cost.sh 20:20:58 lf-activate-venv: SKIPPING 20:20:58 DEBUG: total: 0.2199999988079071 20:20:58 INFO: Retrieving Stack Cost... 20:20:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:59 INFO: Archiving Costs [Pipeline] echo 20:20:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:20:59 ---> logs-deploy.sh 20:20:59 lf-activate-venv: SKIPPING 20:20:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-270/1 20:20:59 INFO: archiving workspace using pattern(s): 20:21:00 Archives upload complete. 20:21:01 INFO: archiving logs to Nexus 20:21:01 ---> uname -a: 20:21:01 Linux prd-ubuntu20-04-docker-8c-8g-4429 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:21:01 20:21:01 20:21:01 ---> lscpu: 20:21:01 Architecture: x86_64 20:21:01 CPU op-mode(s): 32-bit, 64-bit 20:21:01 Byte Order: Little Endian 20:21:01 Address sizes: 40 bits physical, 48 bits virtual 20:21:01 CPU(s): 8 20:21:01 On-line CPU(s) list: 0-7 20:21:01 Thread(s) per core: 1 20:21:01 Core(s) per socket: 1 20:21:01 Socket(s): 8 20:21:01 NUMA node(s): 1 20:21:01 Vendor ID: AuthenticAMD 20:21:01 CPU family: 23 20:21:01 Model: 49 20:21:01 Model name: AMD EPYC-Rome Processor 20:21:01 Stepping: 0 20:21:01 CPU MHz: 2800.000 20:21:01 BogoMIPS: 5600.00 20:21:01 Virtualization: AMD-V 20:21:01 Hypervisor vendor: KVM 20:21:01 Virtualization type: full 20:21:01 L1d cache: 256 KiB 20:21:01 L1i cache: 256 KiB 20:21:01 L2 cache: 4 MiB 20:21:01 L3 cache: 128 MiB 20:21:01 NUMA node0 CPU(s): 0-7 20:21:01 Vulnerability Itlb multihit: Not affected 20:21:01 Vulnerability L1tf: Not affected 20:21:01 Vulnerability Mds: Not affected 20:21:01 Vulnerability Meltdown: Not affected 20:21:01 Vulnerability Mmio stale data: Not affected 20:21:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:21:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:21:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:21:01 Vulnerability Srbds: Not affected 20:21:01 Vulnerability Tsx async abort: Not affected 20:21:01 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 20:21:01 20:21:01 20:21:01 ---> nproc: 20:21:01 8 20:21:01 20:21:01 20:21:01 ---> df -h: 20:21:01 Filesystem Size Used Avail Use% Mounted on 20:21:01 overlay 155G 12G 144G 8% / 20:21:01 tmpfs 64M 0 64M 0% /dev 20:21:01 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:21:01 shm 64M 0 64M 0% /dev/shm 20:21:01 /dev/vda1 155G 12G 144G 8% /facter-os 20:21:01 20:21:01 20:21:01 ---> sar -b -r -n DEV: 20:21:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4429) 03/17/23 _x86_64_ (8 CPU) 20:21:01 20:21:01 20:09:35 LINUX RESTART (8 CPU) 20:21:01 20:21:01 20:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:21:01 20:11:02 159.31 38.56 120.75 0.00 4223.96 39705.78 0.00 20:21:01 20:12:01 173.39 0.31 173.09 0.00 21.01 55723.17 0.00 20:21:01 20:13:01 113.08 0.03 113.05 0.00 1.87 34087.57 0.00 20:21:01 20:14:01 2.08 0.00 2.08 0.00 0.00 25.48 0.00 20:21:01 20:15:01 52.67 10.60 42.08 0.00 5155.81 8730.01 0.00 20:21:01 20:16:01 5.27 0.02 5.25 0.00 0.13 117.05 0.00 20:21:01 20:17:01 2.08 0.02 2.07 0.00 0.13 24.66 0.00 20:21:01 20:18:01 2.28 0.00 2.28 0.00 0.00 26.26 0.00 20:21:01 20:19:01 1.30 0.00 1.30 0.00 0.00 14.40 0.00 20:21:01 20:20:01 1.70 0.00 1.70 0.00 0.00 19.86 0.00 20:21:01 20:21:01 7.12 0.28 6.83 0.00 25.73 133.04 0.00 20:21:01 Average: 47.11 4.53 42.57 0.00 858.38 12535.18 0.00 20:21:01 20:21:01 20:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:21:01 20:11:02 28604760 31564200 741604 2.26 103812 3061272 1978972 5.83 1104244 2735268 459124 20:21:01 20:12:01 28394756 31545608 759524 2.31 147576 3207460 1868392 5.51 1210104 2833004 120 20:21:01 20:13:01 27668452 31566604 734800 2.23 156744 3885264 1751452 5.16 1265392 3439992 388 20:21:01 20:14:01 27668364 31566760 734304 2.23 156776 3885268 1751452 5.16 1265116 3439992 44 20:21:01 20:15:01 27132328 31533264 748648 2.28 190156 4340376 1809636 5.33 1601040 3605480 1088 20:21:01 20:16:01 27157860 31553776 728100 2.21 188752 4337116 1786000 5.26 1578572 3602224 376 20:21:01 20:17:01 27162308 31558348 723508 2.20 188836 4337116 1786000 5.26 1573756 3602232 8 20:21:01 20:18:01 27162128 31558312 723552 2.20 188928 4337124 1786000 5.26 1573860 3602236 8 20:21:01 20:19:01 27162228 31558456 723352 2.20 189000 4337124 1786000 5.26 1573960 3602240 8 20:21:01 20:20:01 27162124 31558456 723232 2.20 189052 4337128 1786000 5.26 1574036 3602236 32 20:21:01 20:21:01 27091072 31493940 782748 2.38 189372 4338496 1865740 5.50 1647272 3592280 1028 20:21:01 Average: 27487853 31550702 738488 2.25 171728 4036704 1814149 5.35 1451577 3423380 42020 20:21:01 20:21:01 20:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:21:01 20:11:02 vethcc8c3ca 173.17 285.39 16.33 1876.41 0.00 0.00 0.00 0.15 20:21:01 20:11:02 docker0 196.67 312.28 15.86 2117.62 0.00 0.00 0.00 0.00 20:21:01 20:11:02 ens3 918.58 575.89 8688.73 106.69 0.00 0.00 0.00 0.00 20:21:01 20:11:02 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 20:21:01 20:12:01 vethe04436d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:12:01 docker0 1.53 3.58 0.09 43.28 0.00 0.00 0.00 0.00 20:21:01 20:12:01 veth6716eb6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:12:01 ens3 58.45 57.62 82.04 94.70 0.00 0.00 0.00 0.00 20:21:01 20:12:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 20:21:01 20:13:01 docker0 1.55 3.93 0.10 43.07 0.00 0.00 0.00 0.00 20:21:01 20:13:01 ens3 124.21 73.23 2571.13 14.30 0.00 0.00 0.00 0.00 20:21:01 20:13:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 20:21:01 20:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:14:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:15:01 ens3 170.99 87.49 2802.58 6.17 0.00 0.00 0.00 0.00 20:21:01 20:15:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 20:21:01 20:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:16:01 ens3 0.53 0.47 0.10 0.09 0.00 0.00 0.00 0.00 20:21:01 20:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:17:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:18:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:19:01 ens3 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:20:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:21:01 20:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:21:01 20:21:01 ens3 35.09 21.53 44.04 12.49 0.00 0.00 0.00 0.00 20:21:01 20:21:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 20:21:01 Average: docker0 18.18 29.11 1.46 200.59 0.00 0.00 0.00 0.00 20:21:01 Average: ens3 119.02 74.26 1291.69 21.20 0.00 0.00 0.00 0.00 20:21:01 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 20:21:01 20:21:01 20:21:01 ---> sar -P ALL: 20:21:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4429) 03/17/23 _x86_64_ (8 CPU) 20:21:01 20:21:01 20:09:35 LINUX RESTART (8 CPU) 20:21:01 20:21:01 20:10:01 CPU %user %nice %system %iowait %steal %idle 20:21:01 20:11:02 all 10.87 0.00 3.61 1.54 0.07 83.91 20:21:01 20:11:02 0 10.80 0.00 3.57 2.27 0.07 83.29 20:21:01 20:11:02 1 11.18 0.00 3.90 0.70 0.05 84.16 20:21:01 20:11:02 2 12.40 0.00 3.22 1.72 0.07 82.60 20:21:01 20:11:02 3 8.95 0.00 3.82 4.13 0.08 83.02 20:21:01 20:11:02 4 12.37 0.00 2.85 0.82 0.05 83.92 20:21:01 20:11:02 5 13.36 0.00 3.13 0.52 0.07 82.91 20:21:01 20:11:02 6 8.69 0.00 3.54 1.67 0.07 86.04 20:21:01 20:11:02 7 9.15 0.00 4.85 0.53 0.10 85.37 20:21:01 20:12:01 all 30.93 0.00 6.01 2.09 0.07 60.89 20:21:01 20:12:01 0 31.18 0.00 5.53 0.17 0.07 63.05 20:21:01 20:12:01 1 30.98 0.00 5.99 0.75 0.09 62.19 20:21:01 20:12:01 2 29.39 0.00 6.05 1.99 0.07 62.49 20:21:01 20:12:01 3 32.43 0.00 7.13 10.44 0.09 49.91 20:21:01 20:12:01 4 31.81 0.00 5.22 0.39 0.07 62.51 20:21:01 20:12:01 5 30.41 0.00 5.94 0.24 0.07 63.34 20:21:01 20:12:01 6 30.13 0.00 5.88 1.84 0.05 62.10 20:21:01 20:12:01 7 31.09 0.00 6.34 0.98 0.10 61.49 20:21:01 20:13:01 all 17.62 0.00 4.08 1.08 0.06 77.16 20:21:01 20:13:01 0 17.03 0.00 3.67 0.07 0.07 79.17 20:21:01 20:13:01 1 18.63 0.00 4.73 0.03 0.03 76.57 20:21:01 20:13:01 2 16.95 0.00 3.99 0.35 0.05 78.66 20:21:01 20:13:01 3 17.65 0.00 4.33 4.96 0.13 72.93 20:21:01 20:13:01 4 16.89 0.00 3.53 0.10 0.05 79.43 20:21:01 20:13:01 5 18.04 0.00 4.09 0.60 0.05 77.22 20:21:01 20:13:01 6 17.69 0.00 4.27 0.47 0.07 77.50 20:21:01 20:13:01 7 18.07 0.00 4.05 2.08 0.05 75.74 20:21:01 20:14:01 all 0.27 0.00 0.01 0.00 0.01 99.70 20:21:01 20:14:01 0 0.00 0.00 0.02 0.00 0.00 99.98 20:21:01 20:14:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:21:01 20:14:01 2 0.00 0.00 0.02 0.00 0.00 99.98 20:21:01 20:14:01 3 0.10 0.00 0.02 0.02 0.02 99.85 20:21:01 20:14:01 4 0.02 0.00 0.00 0.00 0.02 99.97 20:21:01 20:14:01 5 1.99 0.00 0.02 0.00 0.03 97.96 20:21:01 20:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:21:01 20:14:01 7 0.07 0.00 0.02 0.02 0.02 99.88 20:21:01 20:15:01 all 2.27 0.00 1.46 0.54 0.03 95.70 20:21:01 20:15:01 0 2.62 0.00 1.55 0.05 0.02 95.76 20:21:01 20:15:01 1 2.04 0.00 1.50 0.22 0.02 96.22 20:21:01 20:15:01 2 2.49 0.00 0.92 1.22 0.03 95.34 20:21:01 20:15:01 3 2.31 0.00 1.26 0.92 0.05 95.46 20:21:01 20:15:01 4 1.50 0.00 1.97 0.73 0.02 95.78 20:21:01 20:15:01 5 3.34 0.00 0.78 0.05 0.05 95.78 20:21:01 20:15:01 6 1.97 0.00 2.54 0.48 0.02 94.99 20:21:01 20:15:01 7 1.85 0.00 1.21 0.65 0.03 96.26 20:21:01 20:16:01 all 0.08 0.00 0.07 0.01 0.01 99.82 20:21:01 20:16:01 0 0.08 0.00 0.05 0.02 0.02 99.83 20:21:01 20:16:01 1 0.03 0.00 0.08 0.00 0.02 99.87 20:21:01 20:16:01 2 0.02 0.00 0.08 0.07 0.00 99.83 20:21:01 20:16:01 3 0.08 0.00 0.07 0.03 0.02 99.80 20:21:01 20:16:01 4 0.03 0.00 0.05 0.00 0.00 99.92 20:21:01 20:16:01 5 0.02 0.00 0.08 0.00 0.03 99.87 20:21:01 20:16:01 6 0.25 0.00 0.10 0.00 0.00 99.65 20:21:01 20:16:01 7 0.13 0.00 0.07 0.00 0.02 99.78 20:21:01 20:17:01 all 0.02 0.00 0.01 0.01 0.01 99.95 20:21:01 20:17:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:21:01 20:17:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:17:01 2 0.00 0.00 0.02 0.05 0.02 99.92 20:21:01 20:17:01 3 0.05 0.00 0.02 0.02 0.02 99.90 20:21:01 20:17:01 4 0.00 0.00 0.03 0.00 0.02 99.95 20:21:01 20:17:01 5 0.03 0.00 0.02 0.00 0.02 99.93 20:21:01 20:17:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:17:01 7 0.03 0.00 0.00 0.00 0.00 99.97 20:21:01 20:18:01 all 0.02 0.00 0.01 0.01 0.01 99.94 20:21:01 20:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:21:01 20:18:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:21:01 20:18:01 2 0.00 0.00 0.00 0.10 0.02 99.88 20:21:01 20:18:01 3 0.05 0.00 0.00 0.02 0.00 99.93 20:21:01 20:18:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:18:01 5 0.03 0.00 0.03 0.00 0.02 99.92 20:21:01 20:18:01 6 0.00 0.00 0.00 0.00 0.02 99.98 20:21:01 20:18:01 7 0.07 0.00 0.03 0.00 0.02 99.88 20:21:01 20:19:01 all 0.12 0.00 0.01 0.01 0.01 99.85 20:21:01 20:19:01 0 0.75 0.00 0.03 0.00 0.02 99.20 20:21:01 20:19:01 1 0.03 0.00 0.02 0.00 0.00 99.95 20:21:01 20:19:01 2 0.02 0.00 0.02 0.05 0.00 99.92 20:21:01 20:19:01 3 0.05 0.00 0.00 0.02 0.02 99.92 20:21:01 20:19:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:19:01 5 0.02 0.00 0.00 0.00 0.03 99.95 20:21:01 20:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:19:01 7 0.03 0.00 0.05 0.00 0.02 99.90 20:21:01 20:20:01 all 0.05 0.00 0.02 0.01 0.01 99.91 20:21:01 20:20:01 0 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:20:01 1 0.02 0.00 0.03 0.00 0.02 99.93 20:21:01 20:20:01 2 0.00 0.00 0.00 0.02 0.02 99.97 20:21:01 20:20:01 3 0.28 0.00 0.02 0.05 0.02 99.63 20:21:01 20:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:21:01 20:20:01 5 0.03 0.00 0.02 0.00 0.03 99.92 20:21:01 20:20:01 6 0.00 0.00 0.02 0.00 0.00 99.98 20:21:01 20:20:01 7 0.03 0.00 0.05 0.00 0.00 99.92 20:21:01 20:21:01 all 0.87 0.00 0.30 0.03 0.02 98.78 20:21:01 20:21:01 0 1.05 0.00 0.42 0.00 0.02 98.51 20:21:01 20:21:01 1 0.42 0.00 0.23 0.02 0.00 99.33 20:21:01 20:21:01 2 0.87 0.00 0.27 0.10 0.02 98.75 20:21:01 20:21:01 3 0.83 0.00 0.30 0.00 0.03 98.83 20:21:01 20:21:01 4 1.90 0.00 0.35 0.05 0.02 97.68 20:21:01 20:21:01 5 0.38 0.00 0.18 0.02 0.03 99.38 20:21:01 20:21:01 6 0.57 0.00 0.30 0.00 0.02 99.12 20:21:01 20:21:01 7 0.95 0.00 0.35 0.03 0.02 98.65 20:21:01 20:21:01 Average: CPU %user %nice %system %iowait %steal %idle 20:21:01 Average: all 5.66 0.00 1.40 0.48 0.03 92.42 20:21:01 Average: 0 5.72 0.00 1.34 0.23 0.02 92.69 20:21:01 Average: 1 5.68 0.00 1.48 0.16 0.02 92.66 20:21:01 Average: 2 5.58 0.00 1.31 0.51 0.03 92.58 20:21:01 Average: 3 5.62 0.00 1.52 1.84 0.04 90.98 20:21:01 Average: 4 5.82 0.00 1.26 0.19 0.02 92.71 20:21:01 Average: 5 6.08 0.00 1.28 0.13 0.04 92.47 20:21:01 Average: 6 5.32 0.00 1.50 0.40 0.02 92.76 20:21:01 Average: 7 5.51 0.00 1.53 0.39 0.03 92.55 20:21:01 20:21:01 20:21:01