Pull request #296 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c4fca19395fb2ff4115de08003bb99245d7ba5d+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (0722b0fd1192ef9e5728d7651402cd7e20b90d50) 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-ssh1957461907235099423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7963574495106930590.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-296/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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1844401101853172759.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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5758786563239264887.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17363213051473327947.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-296/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-296/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10702733423055544117.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9212 in /w/workspace/gexfoundry_device-rest-go_PR-296 [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-296 # 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/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 8c4fca19395fb2ff4115de08003bb99245d7ba5d Merge succeeded, producing 8c4fca19395fb2ff4115de08003bb99245d7ba5d Checking out Revision 8c4fca19395fb2ff4115de08003bb99245d7ba5d (PR-296) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:00:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # 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 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 [Pipeline] withCredentials 21:00:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:00:24 ========================================================= 21:00:24 EdgeX Global Pipelines Version Info 21:00:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:00:25 ------------------- 21:00:25 stable info: 21:00:25 ------------------- 21:00:25 Commited By: Bill Mahoney bill.mahoney@intel.com 21:00:25 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:00:25 Message: update stable to v1.0.248 21:00:25 ------------------- 21:00:25 experimental info: 21:00:25 ------------------- 21:00:25 Commited By: **** collab-it+edgex@linuxfoundation.org 21:00:25 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:00:25 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:00:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:00:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c4fca1 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:27 provisioning config files... 21:00:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config8914131688580383847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:27 ---> docker-login.sh 21:00:27 nexus3.edgexfoundry.org:10001 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 nexus3.edgexfoundry.org:10002 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 nexus3.edgexfoundry.org:10003 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 nexus3.edgexfoundry.org:10004 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 docker.io 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 ---> docker-login.sh ends [Pipeline] } 21:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:00:29 + git rev-list -1 --merges 8c4fca19395fb2ff4115de08003bb99245d7ba5d~1..8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo 21:00:29 -----------> git rev-list -1 --merges 8c4fca19395fb2ff4115de08003bb99245d7ba5d~1..8c4fca19395fb2ff4115de08003bb99245d7ba5d 8c4fca19395fb2ff4115de08003bb99245d7ba5d [false] [Pipeline] sh 21:00:29 + git log --format=format:%s -1 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo 21:00:29 ========================================================= 21:00:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:00:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:30 + git log --format=format:%s -1 8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] echo 21:00:30 [semverPrep] GIT_COMMIT: 8c4fca19395fb2ff4115de08003bb99245d7ba5d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:00:30 [semverPrep] This is not a build commit. [Pipeline] sh 21:00:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:30 + grep -v github /etc/ssh/ssh_known_hosts 21:00:30 + [ -e /tmp/ssh_known_hosts ] 21:00:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:00:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:00:30 + sudo tee -a /etc/ssh/ssh_known_hosts 21:00:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:31 21:00:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:31 0.1.4: Pulling from edgex-devops/py-git-semver 21:00:31 b85a868b505f: Pulling fs layer 21:00:31 e2be974225ed: Pulling fs layer 21:00:31 339a4e72a1f5: Pulling fs layer 21:00:31 988bab9f4d93: Pulling fs layer 21:00:31 1469e6f7b9e6: Pulling fs layer 21:00:31 eaf3925da568: Pulling fs layer 21:00:31 bab4dde63d76: Pulling fs layer 21:00:31 bde34c3a00c8: Pulling fs layer 21:00:31 b352a97aabf1: Pulling fs layer 21:00:31 4872d77fe225: Pulling fs layer 21:00:31 5851b861e8e6: Pulling fs layer 21:00:31 988bab9f4d93: Waiting 21:00:31 bab4dde63d76: Waiting 21:00:31 1469e6f7b9e6: Waiting 21:00:31 bde34c3a00c8: Waiting 21:00:31 b352a97aabf1: Waiting 21:00:31 eaf3925da568: Waiting 21:00:31 4872d77fe225: Waiting 21:00:31 5851b861e8e6: Waiting 21:00:31 e2be974225ed: Download complete 21:00:31 988bab9f4d93: Download complete 21:00:31 1469e6f7b9e6: Verifying Checksum 21:00:31 1469e6f7b9e6: Download complete 21:00:31 eaf3925da568: Verifying Checksum 21:00:31 eaf3925da568: Download complete 21:00:32 339a4e72a1f5: Verifying Checksum 21:00:32 339a4e72a1f5: Download complete 21:00:32 bde34c3a00c8: Verifying Checksum 21:00:32 bde34c3a00c8: Download complete 21:00:32 b352a97aabf1: Verifying Checksum 21:00:32 b352a97aabf1: Download complete 21:00:32 4872d77fe225: Verifying Checksum 21:00:32 4872d77fe225: Download complete 21:00:32 5851b861e8e6: Verifying Checksum 21:00:32 5851b861e8e6: Download complete 21:00:32 b85a868b505f: Verifying Checksum 21:00:32 b85a868b505f: Download complete 21:00:32 bab4dde63d76: Verifying Checksum 21:00:32 bab4dde63d76: Download complete 21:00:33 b85a868b505f: Pull complete 21:00:33 e2be974225ed: Pull complete 21:00:34 339a4e72a1f5: Pull complete 21:00:34 988bab9f4d93: Pull complete 21:00:34 1469e6f7b9e6: Pull complete 21:00:34 eaf3925da568: Pull complete 21:00:36 bab4dde63d76: Pull complete 21:00:36 bde34c3a00c8: Pull complete 21:00:36 b352a97aabf1: Pull complete 21:00:36 4872d77fe225: Pull complete 21:00:36 5851b861e8e6: Pull complete 21:00:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:37 prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container 21:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:00:39 $ docker top 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 -eo pid,comm 21:00:39 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). 21:00:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:39 [ssh-agent] Looking for ssh-agent implementation... 21:00:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:39 $ docker exec 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent 21:00:39 SSH_AUTH_SOCK=/tmp/ssh-JYENwwE0BNFr/agent.31 21:00:39 SSH_AGENT_PID=37 21:00:39 Running ssh-add (command line suppressed) 21:00:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_5706156110212557370.key (/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_5706156110212557370.key) 21:00:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:40 + git tag --points-at HEAD [Pipeline] } 21:00:40 $ docker exec --env ******** --env ******** 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent -k 21:00:40 unset SSH_AUTH_SOCK; 21:00:40 unset SSH_AGENT_PID; 21:00:40 echo Agent pid 37 killed; 21:00:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:00:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:40 [ssh-agent] Looking for ssh-agent implementation... 21:00:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:40 $ docker exec 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent 21:00:40 SSH_AUTH_SOCK=/tmp/ssh-MiTQ4Nj6eagp/agent.69 21:00:40 SSH_AGENT_PID=75 21:00:40 Running ssh-add (command line suppressed) 21:00:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_10084318621517150124.key (/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/private_key_10084318621517150124.key) 21:00:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:41 + git semver init 21:00:41 2023-04-20 21:00:41,450 [run_init] DEBUG init version:0.0.0 force:False 21:00:41 2023-04-20 21:00:41,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver 21:00:41 2023-04-20 21:00:41,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-296/.semver 21:00:41 2023-04-20 21:00:41,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-296/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296, universal_newlines=False, shell=None, istream=None) 21:00:42 2023-04-20 21:00:42,513 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-296/.git/info/exclude 21:00:42 2023-04-20 21:00:42,514 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 with force:False 21:00:42 2023-04-20 21:00:42,514 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 21:00:42 2023-04-20 21:00:42,520 [execute] INFO git cat-file --batch-check 21:00:42 2023-04-20 21:00:42,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) 21:00:42 2023-04-20 21:00:42,526 [execute] INFO git cat-file --batch 21:00:42 2023-04-20 21:00:42,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) 21:00:42 2023-04-20 21:00:42,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-296/.semver/PR-296 21:00:42 0.0.0 [Pipeline] } 21:00:42 $ docker exec --env ******** --env ******** 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 ssh-agent -k 21:00:43 unset SSH_AUTH_SOCK; 21:00:43 unset SSH_AGENT_PID; 21:00:43 echo Agent pid 75 killed; 21:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:43 + git semver [Pipeline] } 21:00:43 $ docker stop --time=1 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 21:00:45 $ docker rm -f --volumes 459e78a54b0368944069a32dae9843f89956ceee940629fdac8ef54b554d8cb5 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:45 Stashed 1 file(s) [Pipeline] echo 21:00:45 [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 21:00:46 provisioning config files... 21:00:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config12076422341409260511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:46 ---> docker-login.sh 21:00:46 nexus3.edgexfoundry.org:10001 21:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:46 Configure a credential helper to remove this warning. See 21:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:46 21:00:46 Login Succeeded 21:00:46 nexus3.edgexfoundry.org:10002 21:00:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:46 Configure a credential helper to remove this warning. See 21:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:46 21:00:46 Login Succeeded 21:00:46 nexus3.edgexfoundry.org:10003 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 nexus3.edgexfoundry.org:10004 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 docker.io 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 ---> docker-login.sh ends [Pipeline] } 21:00:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:47 ========================================================= 21:00:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:00:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:48 + 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 . 21:00:48 Sending build context to Docker daemon 10.9MB 21:00:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:00:48 Step 2/12 : FROM ${BASE} AS builder 21:00:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:00:48 63b65145d645: Pulling fs layer 21:00:48 a2d21d5440eb: Pulling fs layer 21:00:48 935e6c44a52c: Pulling fs layer 21:00:48 94cc34f8dd06: Pulling fs layer 21:00:48 30dea6a524f1: Pulling fs layer 21:00:48 a2aff8979fd8: Pulling fs layer 21:00:48 94cc34f8dd06: Waiting 21:00:48 30dea6a524f1: Waiting 21:00:48 6808be2612f2: Pulling fs layer 21:00:48 f25807f1079a: Pulling fs layer 21:00:48 a2aff8979fd8: Waiting 21:00:48 f25807f1079a: Waiting 21:00:48 a2d21d5440eb: Download complete 21:00:48 94cc34f8dd06: Verifying Checksum 21:00:48 94cc34f8dd06: Download complete 21:00:48 30dea6a524f1: Verifying Checksum 21:00:48 30dea6a524f1: Download complete 21:00:48 63b65145d645: Verifying Checksum 21:00:48 63b65145d645: Download complete 21:00:48 a2aff8979fd8: Verifying Checksum 21:00:48 a2aff8979fd8: Download complete 21:00:48 63b65145d645: Pull complete 21:00:48 a2d21d5440eb: Pull complete 21:00:48 f25807f1079a: Verifying Checksum 21:00:48 f25807f1079a: Download complete 21:00:48 935e6c44a52c: Verifying Checksum 21:00:48 935e6c44a52c: Download complete 21:00:49 6808be2612f2: Verifying Checksum 21:00:49 6808be2612f2: Download complete 21:00:53 935e6c44a52c: Pull complete 21:00:53 94cc34f8dd06: Pull complete 21:00:53 30dea6a524f1: Pull complete 21:00:53 a2aff8979fd8: Pull complete 21:00:55 6808be2612f2: Pull complete 21:00:56 f25807f1079a: Pull complete 21:00:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:00:56 ---> 3b553350e43f 21:00:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:00:59 ---> Running in 3400ea313455 21:00:59 Removing intermediate container 3400ea313455 21:00:59 ---> 9c9f0382820c 21:00:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:59 ---> Running in 2a1bc3d71f1d 21:00:59 Removing intermediate container 2a1bc3d71f1d 21:00:59 ---> 68f85bdd1f86 21:00:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:59 ---> Running in f426ea442852 21:01:00 Removing intermediate container f426ea442852 21:01:00 ---> 36bb3c50fc37 21:01:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:00 ---> Running in 786485eef759 21:01:00 Removing intermediate container 786485eef759 21:01:00 ---> a70e217a4fac 21:01:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:00 ---> Running in c006f84f3ebe 21:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:01:00 (2/4) Installing libedit (20221030.3.1-r0) 21:01:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:01:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:01:00 Executing busybox-1.35.0-r29.trigger 21:01:00 OK: 269 MiB in 57 packages 21:01:01 Still waiting to schedule task 21:01:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:01:01 Removing intermediate container c006f84f3ebe 21:01:01 ---> a38fe6a82442 21:01:01 Step 8/12 : WORKDIR /device-rest-go 21:01:01 ---> Running in aec93c4c6102 21:01:01 Removing intermediate container aec93c4c6102 21:01:01 ---> 0d63cdf048bf 21:01:01 Step 9/12 : COPY go.mod vendor* ./ 21:01:01 ---> 200b0d54c78f 21:01:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:01 ---> Running in bb7f10e05b74 21:01:48 Removing intermediate container bb7f10e05b74 21:01:48 ---> b888b490c7d3 21:01:48 Step 11/12 : COPY . . 21:01:48 ---> 9232cc4d085b 21:01:48 Step 12/12 : RUN $MAKE 21:01:48 ---> Running in 2a78348018fe 21:01:48 noop 21:01:48 Removing intermediate container 2a78348018fe 21:01:48 ---> 48dea4c6ad99 21:01:48 Successfully built 48dea4c6ad99 21:01:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:48 + docker inspect -f . ci-base-image-x86_64 21:01:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:48 prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container 21:01:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@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-x86_64 cat 21:01:49 $ docker top 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:49 + go version 21:01:49 go version go1.20.2 linux/amd64 [Pipeline] } 21:01:49 $ docker stop --time=1 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 21:01:50 $ docker rm -f --volumes 96adda0dc4663be2b7db2cd9e3c829645c650427674e826aa732648e1e9f0f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:51 + docker inspect -f . ci-base-image-x86_64 21:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:51 prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container 21:01:51 $ 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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@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-x86_64 cat 21:01:52 $ docker top c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-296 [Pipeline] fileExists [Pipeline] sh 21:01:52 + make test 21:01:52 go test ./... -coverprofile=coverage.out ./... 21:01:58 ? github.com/edgexfoundry/device-rest-go [no test files] 21:02:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:02:08 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements 21:02:14 go vet ./... 21:02:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:02:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:02:17 ./bin/test-attribution-txt.sh [Pipeline] echo 21:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:02:17 $ docker stop --time=1 c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c 21:02:20 $ docker rm -f --volumes c7426c80df219302abfcf6ca580a6849cef61fc79118456b41ecf6a8d9c28f4c [Pipeline] // withDockerContainer [Pipeline] sh 21:02:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:02:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:02:22 + ls -al . 21:02:22 total 184 21:02:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 21:01 . 21:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:00 .. 21:02:22 -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 21:00 .dockerignore 21:02:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:00 .git 21:02:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:00 .github 21:02:22 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 21:00 .gitignore 21:02:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 21:00 .golangci.yml 21:02:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 21:00 .semver 21:02:22 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 20 21:00 Attribution.txt 21:02:22 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 20 21:00 CHANGELOG.md 21:02:22 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 20 21:00 Dockerfile 21:02:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 21:00 GOVERNANCE.md 21:02:22 -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 21:00 Jenkinsfile 21:02:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 21:00 LICENSE 21:02:22 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 20 21:00 Makefile 21:02:22 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 21:00 OWNERS.md 21:02:22 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 20 21:00 README.md 21:02:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 21:00 VERSION 21:02:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:00 bin 21:02:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:00 cmd 21:02:22 -rw-r--r-- 1 jenkins jenkins 14663 Apr 20 21:02 coverage.out 21:02:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:00 driver 21:02:22 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 20 21:00 go.mod 21:02:22 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 21:00 go.sum 21:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:00 snap 21:02:22 -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:23 + 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=8c4fca19395fb2ff4115de08003bb99245d7ba5d --label arch=amd64 --label version=0.0.0 . 21:02:23 Sending build context to Docker daemon 10.92MB 21:02:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:02:23 Step 2/25 : FROM ${BASE} AS builder 21:02:23 ---> 48dea4c6ad99 21:02:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:02:23 ---> Running in f84ea136937b 21:02:23 Removing intermediate container f84ea136937b 21:02:23 ---> f53a6ba40c80 21:02:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:23 ---> Running in 3e27ee729317 21:02:23 Removing intermediate container 3e27ee729317 21:02:23 ---> ab678f2ddf8f 21:02:23 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:23 ---> Running in 095b52b34033 21:02:23 Removing intermediate container 095b52b34033 21:02:23 ---> 72bda44a246e 21:02:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:02:23 ---> Running in 919287ddb58f 21:02:23 Removing intermediate container 919287ddb58f 21:02:23 ---> b71cdeda52f2 21:02:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:23 ---> Running in 539824e90118 21:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:02:24 OK: 269 MiB in 57 packages 21:02:24 Removing intermediate container 539824e90118 21:02:24 ---> 6a0f68632503 21:02:24 Step 8/25 : WORKDIR /device-rest-go 21:02:24 ---> Running in 6162ff93824e 21:02:24 Removing intermediate container 6162ff93824e 21:02:24 ---> 9c461ab30f57 21:02:24 Step 9/25 : COPY go.mod vendor* ./ 21:02:24 ---> 2f92e670463b 21:02:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:24 ---> Running in 309c20e5db43 21:02:25 Removing intermediate container 309c20e5db43 21:02:25 ---> 88f35cef01d0 21:02:25 Step 11/25 : COPY . . 21:02:26 ---> da6b676a9882 21:02:26 Step 12/25 : RUN $MAKE 21:02:26 ---> Running in 0d469a184925 21:02:26 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 21:02:48 Removing intermediate container 0d469a184925 21:02:48 ---> 442ee24863f5 21:02:48 Step 13/25 : FROM alpine:3.17 21:02:48 3.17: Pulling from library/alpine 21:02:48 f56be85fc22e: Pulling fs layer 21:02:48 f56be85fc22e: Verifying Checksum 21:02:48 f56be85fc22e: Download complete 21:02:48 f56be85fc22e: Pull complete 21:02:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:02:48 Status: Downloaded newer image for alpine:3.17 21:02:48 ---> 9ed4aefc74f6 21:02:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:02:48 ---> Running in bcd8256566ce 21:02:48 Removing intermediate container bcd8256566ce 21:02:48 ---> 9599bb431e02 21:02:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:02:48 ---> Running in 3ff84296dc75 21:02:48 Removing intermediate container 3ff84296dc75 21:02:48 ---> 282988c44555 21:02:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:02:48 ---> Running in e8afca6121bc 21:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:02:48 (1/1) Installing dumb-init (1.2.5-r2) 21:02:48 Executing busybox-1.35.0-r29.trigger 21:02:48 OK: 7 MiB in 16 packages 21:02:48 Removing intermediate container e8afca6121bc 21:02:48 ---> 5e6e6de54be9 21:02:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:02:48 ---> be76a7bfacaa 21:02:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:02:48 ---> 303061345583 21:02:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:02:48 ---> 28e71e1bb5f5 21:02:48 Step 20/25 : EXPOSE 59986 21:02:48 ---> Running in 66c525ca3ed9 21:02:48 Removing intermediate container 66c525ca3ed9 21:02:48 ---> bf2cb721e8ab 21:02:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:02:48 ---> Running in f4d177e42ad5 21:02:48 Removing intermediate container f4d177e42ad5 21:02:48 ---> 8215f8c70666 21:02:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:02:48 ---> Running in c615770afbfb 21:02:48 Removing intermediate container c615770afbfb 21:02:48 ---> 55b3532ef11c 21:02:48 Step 23/25 : LABEL arch=amd64 21:02:48 ---> Running in 5239d67aa3ec 21:02:48 Removing intermediate container 5239d67aa3ec 21:02:48 ---> 36dc7794756e 21:02:48 Step 24/25 : LABEL git_sha=8c4fca19395fb2ff4115de08003bb99245d7ba5d 21:02:48 ---> Running in a03718bf9304 21:02:48 Removing intermediate container a03718bf9304 21:02:48 ---> 2fe8ea70fdc8 21:02:48 Step 25/25 : LABEL version=0.0.0 21:02:48 ---> Running in a898dff70737 21:02:48 Removing intermediate container a898dff70737 21:02:48 ---> e79387784bd6 21:02:48 [Warning] One or more build-args [ARCH] were not consumed 21:02:48 Successfully built e79387784bd6 21:02:48 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 21:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:49 21:02:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:49 latest: Pulling from edgex-lftools-log-publisher 21:02:49 5eb5b503b376: Pulling fs layer 21:02:49 5c69ac0246d0: Pulling fs layer 21:02:49 ec43610c2a17: Pulling fs layer 21:02:49 3a2ae6a8a46f: Pulling fs layer 21:02:49 33b1e0a273af: Pulling fs layer 21:02:49 5d3b04190fa2: Pulling fs layer 21:02:49 2f39f015ded8: Pulling fs layer 21:02:49 3a2ae6a8a46f: Waiting 21:02:49 33b1e0a273af: Waiting 21:02:49 5d3b04190fa2: Waiting 21:02:49 5c69ac0246d0: Verifying Checksum 21:02:49 5c69ac0246d0: Download complete 21:02:49 3a2ae6a8a46f: Verifying Checksum 21:02:49 3a2ae6a8a46f: Download complete 21:02:49 ec43610c2a17: Verifying Checksum 21:02:49 ec43610c2a17: Download complete 21:02:49 33b1e0a273af: Verifying Checksum 21:02:49 33b1e0a273af: Download complete 21:02:49 5d3b04190fa2: Verifying Checksum 21:02:49 5d3b04190fa2: Download complete 21:02:49 5eb5b503b376: Verifying Checksum 21:02:49 5eb5b503b376: Download complete 21:02:50 2f39f015ded8: Download complete 21:02:50 5eb5b503b376: Pull complete 21:02:51 5c69ac0246d0: Pull complete 21:02:51 ec43610c2a17: Pull complete 21:02:51 3a2ae6a8a46f: Pull complete 21:02:51 33b1e0a273af: Pull complete 21:02:51 5d3b04190fa2: Pull complete 21:02:55 2f39f015ded8: Pull complete 21:02:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container 21:02:56 $ 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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@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 21:02:59 $ docker top fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:00 ---> job-cost.sh 21:03:00 lf-activate-venv: SKIPPING 21:03:00 INFO: No Stack... 21:03:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:00 INFO: Archiving Costs [Pipeline] sh 21:03:00 + cat /w/workspace/gexfoundry_device-rest-go_PR-296/archives/cost.csv 21:03:00 + cut -d, -f6 [Pipeline] lock 21:03:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] 21:03:00 Resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] did not exist. Created. 21:03:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:01 + echo total: 0.2199999988079071 [Pipeline] stash 21:03:01 Stashed 1 file(s) [Pipeline] } 21:03:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:01 $ docker stop --time=1 fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da 21:03:02 $ docker rm -f --volumes fb5032ec789c687bd119489fb5b64907eaf5225c211ef88e37132100538fb4da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:04:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9213 in /w/workspace/gexfoundry_device-rest-go_PR-296 [Pipeline] { [Pipeline] ws 21:04:39 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:04:39 The recommended git tool is: git 21:04:45 using credential edgex-jenkins-ssh 21:04:45 Cloning the remote Git repository 21:04:45 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:04:46 > git init /w/workspace/device-rest-go/1 # timeout=10 21:04:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:04:46 > git --version # timeout=10 21:04:46 > git --version # 'git version 2.25.1' 21:04:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:04:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:49 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 8c4fca19395fb2ff4115de08003bb99245d7ba5d 21:04:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:04:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:04:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:04:49 > git config core.sparsecheckout # timeout=10 21:04:50 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 21:04:50 Merge succeeded, producing 8c4fca19395fb2ff4115de08003bb99245d7ba5d 21:04:50 Checking out Revision 8c4fca19395fb2ff4115de08003bb99245d7ba5d (PR-296) 21:04:50 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:04:50 > git --version # timeout=10 21:04:50 > git --version # 'git version 2.25.1' 21:04:50 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:50 > git remote # timeout=10 21:04:50 > git config --get remote.origin.url # timeout=10 21:04:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:50 > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 21:04:50 > git rev-parse HEAD^{commit} # timeout=10 21:04:50 > git config core.sparsecheckout # timeout=10 21:04:50 > git checkout -f 8c4fca19395fb2ff4115de08003bb99245d7ba5d # timeout=10 21:04:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:52 Dload Upload Total Spent Left Speed 21:04:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 21:04:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:53 + sudo tee /etc/docker/daemon.new 21:04:53 { 21:04:53 "registry-mirrors": [ 21:04:53 "https://nexus3.edgexfoundry.org:10001" 21:04:53 ], 21:04:53 "bip": "10.250.0.254/24", 21:04:53 "hosts": [ 21:04:53 "tcp://0.0.0.0:5555", 21:04:53 "unix:///var/run/docker.sock" 21:04:53 ], 21:04:53 "mtu": 1458, 21:04:53 "selinux-enabled": true, 21:04:53 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:53 } [Pipeline] sh 21:04:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:16 provisioning config files... 21:05:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15336683175750647031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:16 ---> docker-login.sh 21:05:16 nexus3.edgexfoundry.org:10001 21:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:18 Configure a credential helper to remove this warning. See 21:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:18 21:05:18 Login Succeeded 21:05:18 nexus3.edgexfoundry.org:10002 21:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:19 Configure a credential helper to remove this warning. See 21:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:19 21:05:19 Login Succeeded 21:05:19 nexus3.edgexfoundry.org:10003 21:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:19 Configure a credential helper to remove this warning. See 21:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:19 21:05:19 Login Succeeded 21:05:19 nexus3.edgexfoundry.org:10004 21:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:19 Configure a credential helper to remove this warning. See 21:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:19 21:05:19 Login Succeeded 21:05:19 docker.io 21:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:20 Configure a credential helper to remove this warning. See 21:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:20 21:05:20 Login Succeeded 21:05:20 ---> docker-login.sh ends [Pipeline] } 21:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:20 ========================================================= 21:05:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:05:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:21 + 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 . 21:05:21 Sending build context to Docker daemon 138.8kB 21:05:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:05:21 Step 2/12 : FROM ${BASE} AS builder 21:05:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:21 af6eaf76a39c: Pulling fs layer 21:05:21 55522c791124: Pulling fs layer 21:05:21 ce5c4a1c91eb: Pulling fs layer 21:05:21 169dfbe0d373: Pulling fs layer 21:05:21 e1ff8fa3b103: Pulling fs layer 21:05:21 52ebb69f0ebf: Pulling fs layer 21:05:21 5abe8eddf0d5: Pulling fs layer 21:05:21 169dfbe0d373: Waiting 21:05:21 e1ff8fa3b103: Waiting 21:05:21 52ebb69f0ebf: Waiting 21:05:21 5abe8eddf0d5: Waiting 21:05:21 55522c791124: Verifying Checksum 21:05:21 55522c791124: Download complete 21:05:21 169dfbe0d373: Verifying Checksum 21:05:21 169dfbe0d373: Download complete 21:05:21 e1ff8fa3b103: Verifying Checksum 21:05:21 e1ff8fa3b103: Download complete 21:05:21 af6eaf76a39c: Verifying Checksum 21:05:22 af6eaf76a39c: Pull complete 21:05:22 5abe8eddf0d5: Verifying Checksum 21:05:22 5abe8eddf0d5: Download complete 21:05:23 55522c791124: Pull complete 21:05:24 ce5c4a1c91eb: Verifying Checksum 21:05:24 ce5c4a1c91eb: Download complete 21:05:24 52ebb69f0ebf: Verifying Checksum 21:05:24 52ebb69f0ebf: Download complete 21:05:36 ce5c4a1c91eb: Pull complete 21:05:36 169dfbe0d373: Pull complete 21:05:36 e1ff8fa3b103: Pull complete 21:05:43 52ebb69f0ebf: Pull complete 21:05:44 5abe8eddf0d5: Pull complete 21:05:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:05:45 ---> 6cb57ee374ae 21:05:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:05:46 ---> Running in 48e2a283435a 21:05:46 Removing intermediate container 48e2a283435a 21:05:46 ---> 802a4ff0dc30 21:05:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:46 ---> Running in c066dc841794 21:05:46 Removing intermediate container c066dc841794 21:05:46 ---> cfa3bf3e9f7f 21:05:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:05:46 ---> Running in e08b35d6466c 21:05:47 Removing intermediate container e08b35d6466c 21:05:47 ---> 76bdca4a457b 21:05:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:05:47 ---> Running in d24e03978a96 21:05:47 Removing intermediate container d24e03978a96 21:05:47 ---> 082c11d82739 21:05:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:47 ---> Running in c6131c685a2e 21:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:05:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:05:50 (2/4) Installing libedit (20221030.3.1-r0) 21:05:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:05:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:05:50 Executing busybox-1.35.0-r29.trigger 21:05:50 OK: 268 MiB in 57 packages 21:05:51 Removing intermediate container c6131c685a2e 21:05:51 ---> 39b31ce91082 21:05:51 Step 8/12 : WORKDIR /device-rest-go 21:05:51 ---> Running in 95e74960986c 21:05:52 Removing intermediate container 95e74960986c 21:05:52 ---> f98e3038a887 21:05:52 Step 9/12 : COPY go.mod vendor* ./ 21:05:52 ---> 9646466ed045 21:05:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:52 ---> Running in 72269c05dccd 21:07:14 Removing intermediate container 72269c05dccd 21:07:14 ---> cf9286304921 21:07:14 Step 11/12 : COPY . . 21:07:14 ---> 7c6b9a150584 21:07:14 Step 12/12 : RUN $MAKE 21:07:14 ---> Running in 26d1595826ee 21:07:14 noop 21:07:14 Removing intermediate container 26d1595826ee 21:07:14 ---> 6236b4937125 21:07:14 Successfully built 6236b4937125 21:07:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:15 + docker inspect -f . ci-base-image-arm64 21:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:15 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 21:07:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:07:16 $ docker top d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:17 + go version 21:07:17 go version go1.20.2 linux/arm64 [Pipeline] } 21:07:17 $ docker stop --time=1 d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 21:07:19 $ docker rm -f --volumes d98afa7a72e246dc4f7925910d15dc5f54d952b6525249a5dc94e7a508a911c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker inspect -f . ci-base-image-arm64 21:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:20 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 21:07:20 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:07:23 $ docker top 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:24 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:07:25 + make test 21:07:25 go test ./... -coverprofile=coverage.out ./... 21:08:04 ? github.com/edgexfoundry/device-rest-go [no test files] 21:10:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:10:11 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements 21:10:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:10:11 go vet ./... 21:10:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:33 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:33 $ docker stop --time=1 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 21:10:35 $ docker rm -f --volumes 3fd64c8a46cbd9a6d12353a495cf30e2a8a1b4b08e5b9ef731e34dd798cda004 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:36 Warning: overwriting stash ‘coverage-report’ 21:10:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:37 + ls -al . 21:10:37 total 180 21:10:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:07 . 21:10:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:04 .. 21:10:37 -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 21:04 .dockerignore 21:10:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 21:04 .git 21:10:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:04 .github 21:10:37 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 21:04 .gitignore 21:10:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 21:04 .golangci.yml 21:10:37 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 20 21:04 Attribution.txt 21:10:37 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 20 21:04 CHANGELOG.md 21:10:37 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 20 21:04 Dockerfile 21:10:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 21:04 GOVERNANCE.md 21:10:37 -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 21:04 Jenkinsfile 21:10:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 21:04 LICENSE 21:10:37 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 20 21:04 Makefile 21:10:37 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 21:04 OWNERS.md 21:10:37 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 20 21:04 README.md 21:10:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 21:00 VERSION 21:10:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:04 bin 21:10:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 21:04 cmd 21:10:37 -rw-r--r-- 1 jenkins jenkins 14663 Apr 20 21:10 coverage.out 21:10:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 21:04 driver 21:10:37 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 20 21:04 go.mod 21:10:37 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 20 21:04 go.sum 21:10:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 21:04 snap 21:10:37 -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:38 + 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=8c4fca19395fb2ff4115de08003bb99245d7ba5d --label arch=arm64 --label version=0.0.0 . 21:10:38 Sending build context to Docker daemon 154.1kB 21:10:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:10:38 Step 2/25 : FROM ${BASE} AS builder 21:10:38 ---> 6236b4937125 21:10:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:10:38 ---> Running in 6d589f38fa63 21:10:38 Removing intermediate container 6d589f38fa63 21:10:38 ---> 65fa3884af5f 21:10:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:39 ---> Running in 275bcebc16dc 21:10:39 Removing intermediate container 275bcebc16dc 21:10:39 ---> 6b63a0b073b6 21:10:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:10:39 ---> Running in fd785088312d 21:10:39 Removing intermediate container fd785088312d 21:10:39 ---> 32f370883285 21:10:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:10:39 ---> Running in e4cded45e365 21:10:39 Removing intermediate container e4cded45e365 21:10:39 ---> a1882f6b5450 21:10:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:40 ---> Running in 3ca5992dbf5c 21:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:10:43 OK: 268 MiB in 57 packages 21:10:44 Removing intermediate container 3ca5992dbf5c 21:10:44 ---> 9540e836c348 21:10:44 Step 8/25 : WORKDIR /device-rest-go 21:10:44 ---> Running in ea4f9aaac0e1 21:10:45 Removing intermediate container ea4f9aaac0e1 21:10:45 ---> 4d4b9650a490 21:10:45 Step 9/25 : COPY go.mod vendor* ./ 21:10:45 ---> 83619ce96c39 21:10:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:45 ---> Running in 9e4775f0d5c8 21:10:48 Removing intermediate container 9e4775f0d5c8 21:10:48 ---> 0aea2add154b 21:10:48 Step 11/25 : COPY . . 21:10:48 ---> 541568161e86 21:10:48 Step 12/25 : RUN $MAKE 21:10:48 ---> Running in 2dc2d042a6ac 21:10:49 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 21:13:11 Removing intermediate container 2dc2d042a6ac 21:13:11 ---> 35179d7fa921 21:13:11 Step 13/25 : FROM alpine:3.17 21:13:11 3.17: Pulling from library/alpine 21:13:11 c41833b44d91: Pulling fs layer 21:13:11 c41833b44d91: Download complete 21:13:11 c41833b44d91: Pull complete 21:13:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:13:11 Status: Downloaded newer image for alpine:3.17 21:13:11 ---> 51e60588ff2c 21:13:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:11 ---> Running in 93e4dadb203a 21:13:11 Removing intermediate container 93e4dadb203a 21:13:11 ---> f17ef92cfac5 21:13:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:13:11 ---> Running in b259ea29dc1b 21:13:11 Removing intermediate container b259ea29dc1b 21:13:11 ---> f015c23afe1d 21:13:11 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:13:11 ---> Running in b28eae7a2350 21:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:11 (1/1) Installing dumb-init (1.2.5-r2) 21:13:11 Executing busybox-1.35.0-r29.trigger 21:13:11 OK: 8 MiB in 16 packages 21:13:11 Removing intermediate container b28eae7a2350 21:13:11 ---> c833c610aac9 21:13:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:13:11 ---> db35b97de4ca 21:13:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:13:11 ---> 8c79e696566c 21:13:11 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:13:11 ---> abc138157cae 21:13:11 Step 20/25 : EXPOSE 59986 21:13:11 ---> Running in 83efb9bac709 21:13:11 Removing intermediate container 83efb9bac709 21:13:11 ---> d99a55de07cf 21:13:11 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:13:11 ---> Running in 17313a0ae729 21:13:12 Removing intermediate container 17313a0ae729 21:13:12 ---> 1485fd3a2c60 21:13:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:13:12 ---> Running in 31795612d9e0 21:13:12 Removing intermediate container 31795612d9e0 21:13:12 ---> d2f32d14de76 21:13:12 Step 23/25 : LABEL arch=arm64 21:13:12 ---> Running in a63f65567218 21:13:12 Removing intermediate container a63f65567218 21:13:12 ---> 3f63343950be 21:13:12 Step 24/25 : LABEL git_sha=8c4fca19395fb2ff4115de08003bb99245d7ba5d 21:13:13 ---> Running in 391807402a34 21:13:13 Removing intermediate container 391807402a34 21:13:13 ---> 5caab072ec65 21:13:13 Step 25/25 : LABEL version=0.0.0 21:13:13 ---> Running in a9d3c0c9229d 21:13:13 Removing intermediate container a9d3c0c9229d 21:13:13 ---> 7815efe55dc0 21:13:13 [Warning] One or more build-args [ARCH] were not consumed 21:13:13 Successfully built 7815efe55dc0 21:13:13 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 21:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:14 21:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:14 arm64: Pulling from edgex-lftools-log-publisher 21:13:14 8998bd30e6a1: Pulling fs layer 21:13:14 04944245beec: Pulling fs layer 21:13:14 699f458cf7ca: Pulling fs layer 21:13:14 765212b225bb: Pulling fs layer 21:13:14 f23df028b6ca: Pulling fs layer 21:13:14 d65c8cfc05b1: Pulling fs layer 21:13:14 2437ff75d9bd: Pulling fs layer 21:13:14 f23df028b6ca: Waiting 21:13:14 d65c8cfc05b1: Waiting 21:13:14 2437ff75d9bd: Waiting 21:13:14 765212b225bb: Waiting 21:13:15 04944245beec: Verifying Checksum 21:13:15 04944245beec: Download complete 21:13:15 765212b225bb: Verifying Checksum 21:13:15 765212b225bb: Download complete 21:13:15 f23df028b6ca: Verifying Checksum 21:13:15 f23df028b6ca: Download complete 21:13:15 d65c8cfc05b1: Verifying Checksum 21:13:15 d65c8cfc05b1: Download complete 21:13:15 699f458cf7ca: Verifying Checksum 21:13:15 699f458cf7ca: Download complete 21:13:15 8998bd30e6a1: Verifying Checksum 21:13:15 8998bd30e6a1: Download complete 21:13:18 2437ff75d9bd: Verifying Checksum 21:13:18 2437ff75d9bd: Download complete 21:13:19 8998bd30e6a1: Pull complete 21:13:20 04944245beec: Pull complete 21:13:23 699f458cf7ca: Pull complete 21:13:23 765212b225bb: Pull complete 21:13:24 f23df028b6ca: Pull complete 21:13:24 d65c8cfc05b1: Pull complete 21:13:39 2437ff75d9bd: Pull complete 21:13:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:39 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 21:13:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:13:42 $ docker top 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:43 ---> job-cost.sh 21:13:43 lf-activate-venv: SKIPPING 21:13:43 INFO: No Stack... 21:13:44 INFO: Retrieving Pricing Info for: v3-standard-4 21:13:44 INFO: Archiving Costs [Pipeline] sh 21:13:45 + + catcut -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 21:13:45 [Pipeline] lock 21:13:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] 21:13:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] did not exist. Created. 21:13:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:46 /w/workspace/device-rest-go/1@tmp/durable-784f51e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:13:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:13:46 Warning: overwriting stash ‘stack-cost’ 21:13:46 Stashed 1 file(s) [Pipeline] } 21:13:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:46 $ docker stop --time=1 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 21:13:48 $ docker rm -f --volumes 4748a1412e5ff88e6b8ee4cbfdb4954e0dd775fb1f795e53e5dadbb0800ae804 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:13:49 provisioning config files... 21:13:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config220893392252452122tmp [Pipeline] { [Pipeline] sh 21:13:49 + set +x 21:13:49 + curl -s https://codecov.io/bash 21:13:49 + bash -s -- 21:13:49 21:13:49 _____ _ 21:13:49 / ____| | | 21:13:49 | | ___ __| | ___ ___ _____ __ 21:13:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:13:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:13:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:13:49 Bash-1.0.6 21:13:49 21:13:49 21:13:49 ==> git version 2.25.1 found 21:13:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:13:49 Release-Date: 2020-01-08 21:13:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:13:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:13:49 ==> Jenkins CI detected. 21:13:49 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-296 21:13:49 project root: . 21:13:49 --> token set from env 21:13:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:13:49 ==> Running gcov in . (disable via -X gcov) 21:13:49 ==> Python coveragepy not found 21:13:49 ==> Searching for coverage reports in: 21:13:49 + . 21:13:49 -> Found 1 reports 21:13:49 ==> Detecting git/mercurial file structure 21:13:49 ==> Reading reports 21:13:49 + ./coverage.out bytes=14663 21:13:49 ==> Appending adjustments 21:13:49 https://docs.codecov.io/docs/fixing-reports 21:13:49 + Found adjustments 21:13:49 ==> Gzipping contents 21:13:49 4.0K /tmp/codecov.p4V1W0.gz 21:13:49 ==> Uploading reports 21:13:49 url: https://codecov.io 21:13:49 query: branch=PR-296&commit=8c4fca19395fb2ff4115de08003bb99245d7ba5d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=296&job=&cmd_args= 21:13:49 -> Pinging Codecov 21:13:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-296&commit=8c4fca19395fb2ff4115de08003bb99245d7ba5d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=296&job=&cmd_args= 21:13:50 -> Uploading to 21:13:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/4E5D53B4F1F92C436F7061BF334D961C/8c4fca19395fb2ff4115de08003bb99245d7ba5d/5e1c23bd-c651-4a79-aedb-25dbcbb54c9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T211349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f2583ef84cc2fd99bab8e586fd07ebc43681a434edc2f935ce7f37a5ded5d49 21:13:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:50 Dload Upload Total Spent Left Speed 21:13:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10546 --:--:-- --:--:-- --:--:-- 10546 21:13:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8c4fca19395fb2ff4115de08003bb99245d7ba5d [Pipeline] } 21:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:13:52 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-296/archives ] 21:13:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-296/archives 21:13:52 total 16 21:13:52 drwxr-xr-x 3 root root 4096 Apr 20 21:03 . 21:13:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 21:03 .. 21:13:52 drwxr-xr-x 2 root root 4096 Apr 20 21:03 cost 21:13:52 -rw-r--r-- 1 root root 86 Apr 20 21:03 cost.csv 21:13:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-296/archives 21:13:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-296/archives 21:13:52 total 16 21:13:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 21:03 . 21:13:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 21:03 .. 21:13:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 21:03 cost 21:13:52 -rw-r--r-- 1 jenkins jenkins 86 Apr 20 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:13:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:13:53 ---> package-listing.sh 21:13:53 ++ tr '[:upper:]' '[:lower:]' 21:13:53 ++ facter osfamily 21:13:53 + OS_FAMILY=debian 21:13:53 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-296 21:13:53 + START_PACKAGES=/tmp/packages_start.txt 21:13:53 + END_PACKAGES=/tmp/packages_end.txt 21:13:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:13:53 + PACKAGES=/tmp/packages_start.txt 21:13:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-296 ']' 21:13:53 + PACKAGES=/tmp/packages_end.txt 21:13:53 + case "${OS_FAMILY}" in 21:13:53 + dpkg -l 21:13:53 + grep '^ii' 21:13:53 + '[' -f /tmp/packages_start.txt ']' 21:13:53 + '[' -f /tmp/packages_end.txt ']' 21:13:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:13:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-296 ']' 21:13:53 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-296/archives/ 21:13:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-296/archives/ [Pipeline] echo 21:13:53 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-296/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:13:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:54 prd-ubuntu20.04-docker-8c-8g-9212 does not seem to be running inside a container 21:13:54 $ 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-296/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-296 -v /w/workspace/gexfoundry_device-rest-go_PR-296:/w/workspace/gexfoundry_device-rest-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-296@tmp:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:13:55 $ docker top c0100d4e91bc83f598586e79132a3bbca1c75384a2d3fc0af230e2aadfcdc46d -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:13:55 + mkdir -p /var/log/sysstat [Pipeline] sh 21:13:56 + ls /var/log/sa-host 21:13:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:56 provisioning config files... 21:13:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-296@tmp/config15841290449311703518tmp [Pipeline] { [Pipeline] echo 21:13:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:13:56 ---> create-netrc.sh [Pipeline] } 21:13:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:13:57 ---> python-tools-install.sh [Pipeline] echo 21:13:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:13:57 ---> sudo-logs.sh 21:13:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:13:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:13:57 ---> job-cost.sh 21:13:57 lf-activate-venv: SKIPPING 21:13:57 DEBUG: total: 0.2199999988079071 21:13:57 INFO: Retrieving Stack Cost... 21:13:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:58 INFO: Archiving Costs [Pipeline] echo 21:13:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:13:58 ---> logs-deploy.sh 21:13:58 lf-activate-venv: SKIPPING 21:13:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-296/1 21:13:58 INFO: archiving workspace using pattern(s): 21:13:59 Archives upload complete. 21:13:59 INFO: archiving logs to Nexus 21:14:00 ---> uname -a: 21:14:00 Linux prd-ubuntu20-04-docker-8c-8g-9212 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:14:00 21:14:00 21:14:00 ---> lscpu: 21:14:00 Architecture: x86_64 21:14:00 CPU op-mode(s): 32-bit, 64-bit 21:14:00 Byte Order: Little Endian 21:14:00 Address sizes: 40 bits physical, 48 bits virtual 21:14:00 CPU(s): 8 21:14:00 On-line CPU(s) list: 0-7 21:14:00 Thread(s) per core: 1 21:14:00 Core(s) per socket: 1 21:14:00 Socket(s): 8 21:14:00 NUMA node(s): 1 21:14:00 Vendor ID: AuthenticAMD 21:14:00 CPU family: 23 21:14:00 Model: 49 21:14:00 Model name: AMD EPYC-Rome Processor 21:14:00 Stepping: 0 21:14:00 CPU MHz: 2800.000 21:14:00 BogoMIPS: 5600.00 21:14:00 Virtualization: AMD-V 21:14:00 Hypervisor vendor: KVM 21:14:00 Virtualization type: full 21:14:00 L1d cache: 256 KiB 21:14:00 L1i cache: 256 KiB 21:14:00 L2 cache: 4 MiB 21:14:00 L3 cache: 128 MiB 21:14:00 NUMA node0 CPU(s): 0-7 21:14:00 Vulnerability Itlb multihit: Not affected 21:14:00 Vulnerability L1tf: Not affected 21:14:00 Vulnerability Mds: Not affected 21:14:00 Vulnerability Meltdown: Not affected 21:14:00 Vulnerability Mmio stale data: Not affected 21:14:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:14:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:14:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:14:00 Vulnerability Srbds: Not affected 21:14:00 Vulnerability Tsx async abort: Not affected 21:14:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:14:00 21:14:00 21:14:00 ---> nproc: 21:14:00 8 21:14:00 21:14:00 21:14:00 ---> df -h: 21:14:00 Filesystem Size Used Avail Use% Mounted on 21:14:00 overlay 155G 12G 144G 8% / 21:14:00 tmpfs 64M 0 64M 0% /dev 21:14:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:14:00 shm 64M 0 64M 0% /dev/shm 21:14:00 /dev/vda1 155G 12G 144G 8% /facter-os 21:14:00 21:14:00 21:14:00 ---> sar -b -r -n DEV: 21:14:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9212) 04/20/23 _x86_64_ (8 CPU) 21:14:00 21:14:00 20:59:46 LINUX RESTART (8 CPU) 21:14:00 21:14:00 21:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:14:00 21:01:01 165.31 47.86 117.45 0.00 5424.56 74018.06 0.00 21:14:00 21:02:01 140.65 0.83 139.82 0.00 13.33 46522.76 0.00 21:14:00 21:03:01 174.54 0.18 174.35 0.00 4.80 44250.22 0.00 21:14:00 21:04:01 4.68 0.00 4.68 0.00 0.00 69.33 0.00 21:14:00 21:05:01 36.64 11.80 24.85 0.00 5440.69 6243.63 0.00 21:14:00 21:06:01 4.38 0.00 4.38 0.00 0.00 70.52 0.00 21:14:00 21:07:01 1.35 0.00 1.35 0.00 0.00 14.80 0.00 21:14:00 21:08:01 1.80 0.00 1.80 0.00 0.00 19.33 0.00 21:14:00 21:09:01 1.32 0.00 1.32 0.00 0.00 14.00 0.00 21:14:00 21:10:01 2.27 0.00 2.27 0.00 0.00 36.79 0.00 21:14:00 21:11:01 0.92 0.00 0.92 0.00 0.00 10.93 0.00 21:14:00 21:12:01 1.15 0.00 1.15 0.00 0.00 14.00 0.00 21:14:00 21:13:01 1.20 0.00 1.20 0.00 0.00 13.20 0.00 21:14:00 Average: 41.25 4.67 36.58 0.00 837.16 13177.00 0.00 21:14:00 21:14:00 21:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:14:00 21:01:01 29148044 31567352 760836 2.31 72892 2616792 1907524 5.62 1019308 2361880 40 21:14:00 21:02:01 28025756 31416460 891504 2.71 145560 3421032 2273892 6.70 1412300 2976968 229780 21:14:00 21:03:01 27607172 31529432 776000 2.36 159688 3898260 1822140 5.37 1307584 3456956 456 21:14:00 21:04:01 27622148 31544128 764196 2.32 159796 3898244 1767780 5.21 1293744 3456900 16 21:14:00 21:05:01 27234268 31508008 786232 2.39 167908 4231084 1825656 5.38 1545320 3566620 872 21:14:00 21:06:01 27261376 31535176 760076 2.31 168044 4231076 1825656 5.38 1519044 3566584 24 21:14:00 21:07:01 27261612 31535480 759736 2.31 168120 4231088 1825656 5.38 1519296 3566592 8 21:14:00 21:08:01 27265620 31539672 755696 2.30 168212 4231088 1825656 5.38 1515132 3566652 40 21:14:00 21:09:01 27265612 31539728 755584 2.30 168276 4231092 1825656 5.38 1515188 3566660 8 21:14:00 21:10:01 27265020 31539560 755928 2.30 168404 4231072 1825656 5.38 1515284 3566952 28 21:14:00 21:11:01 27265296 31539836 755604 2.30 168436 4231072 1825656 5.38 1515120 3566952 16 21:14:00 21:12:01 27265696 31540316 755104 2.30 168480 4231068 1825656 5.38 1515144 3566956 176 21:14:00 21:13:01 27265824 31540444 755100 2.30 168504 4231076 1825656 5.38 1515144 3566956 4 21:14:00 Average: 27519496 31528892 771661 2.35 157871 3993388 1861711 5.49 1439047 3411818 17805 21:14:00 21:14:00 21:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:14:00 21:01:01 ens3 619.50 380.44 6863.88 85.93 0.00 0.00 0.00 0.00 21:14:00 21:01:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 21:14:00 21:01:01 docker0 24.98 29.53 1.94 241.99 0.00 0.00 0.00 0.00 21:14:00 21:02:01 vethb434236 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 21:14:00 21:02:01 ens3 351.13 210.28 1926.47 28.12 0.00 0.00 0.00 0.00 21:14:00 21:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:02:01 docker0 195.07 324.13 15.13 1900.66 0.00 0.00 0.00 0.00 21:14:00 21:03:01 ens3 154.46 107.17 2691.85 98.82 0.00 0.00 0.00 0.00 21:14:00 21:03:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 21:14:00 21:03:01 docker0 3.48 6.67 0.21 85.54 0.00 0.00 0.00 0.00 21:14:00 21:04:01 ens3 3.02 1.47 2.09 0.84 0.00 0.00 0.00 0.00 21:14:00 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:05:01 ens3 110.28 56.76 1952.70 4.42 0.00 0.00 0.00 0.00 21:14:00 21:05:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:14:00 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:06:01 ens3 0.63 0.45 0.28 0.13 0.00 0.00 0.00 0.00 21:14:00 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:07:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:08:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:09:01 ens3 0.12 0.03 0.01 0.00 0.00 0.00 0.00 0.00 21:14:00 21:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:10:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:11:01 ens3 0.13 0.15 0.08 0.07 0.00 0.00 0.00 0.00 21:14:00 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:12:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:00 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:13:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:00 Average: ens3 95.36 58.23 1033.64 16.80 0.00 0.00 0.00 0.00 21:14:00 Average: lo 0.79 0.79 0.07 0.07 0.00 0.00 0.00 0.00 21:14:00 Average: docker0 17.20 27.72 1.33 171.42 0.00 0.00 0.00 0.00 21:14:00 21:14:00 21:14:00 ---> sar -P ALL: 21:14:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9212) 04/20/23 _x86_64_ (8 CPU) 21:14:00 21:14:00 20:59:46 LINUX RESTART (8 CPU) 21:14:00 21:14:00 21:00:01 CPU %user %nice %system %iowait %steal %idle 21:14:00 21:01:01 all 10.17 0.00 3.58 2.31 0.07 83.87 21:14:00 21:01:01 0 9.53 0.00 3.21 5.38 0.08 81.79 21:14:00 21:01:01 1 11.87 0.00 2.75 0.27 0.05 85.05 21:14:00 21:01:01 2 12.21 0.00 3.93 0.37 0.05 83.44 21:14:00 21:01:01 3 11.53 0.00 3.85 6.58 0.08 77.95 21:14:00 21:01:01 4 7.65 0.00 4.25 3.66 0.07 84.37 21:14:00 21:01:01 5 10.91 0.00 3.41 1.15 0.07 84.47 21:14:00 21:01:01 6 7.95 0.00 3.53 0.24 0.07 88.22 21:14:00 21:01:01 7 9.71 0.00 3.72 0.86 0.08 85.63 21:14:00 21:02:01 all 13.65 0.00 3.83 1.88 0.07 80.57 21:14:00 21:02:01 0 14.17 0.00 3.73 0.22 0.07 81.81 21:14:00 21:02:01 1 14.01 0.00 3.60 0.15 0.07 82.17 21:14:00 21:02:01 2 13.15 0.00 3.08 0.10 0.05 83.62 21:14:00 21:02:01 3 13.42 0.00 4.03 0.49 0.08 81.98 21:14:00 21:02:01 4 13.38 0.00 4.59 12.24 0.08 69.70 21:14:00 21:02:01 5 13.36 0.00 4.34 1.41 0.07 80.82 21:14:00 21:02:01 6 13.68 0.00 3.12 0.27 0.05 82.88 21:14:00 21:02:01 7 14.00 0.00 4.19 0.24 0.10 81.47 21:14:00 21:03:01 all 33.75 0.00 6.21 1.98 0.11 57.95 21:14:00 21:03:01 0 32.53 0.00 6.60 0.89 0.10 59.87 21:14:00 21:03:01 1 33.84 0.00 5.35 0.13 0.12 60.56 21:14:00 21:03:01 2 34.55 0.00 6.01 0.44 0.12 58.88 21:14:00 21:03:01 3 33.64 0.00 6.64 1.09 0.10 58.53 21:14:00 21:03:01 4 33.66 0.00 6.20 6.42 0.12 53.60 21:14:00 21:03:01 5 33.98 0.00 5.55 0.24 0.10 60.13 21:14:00 21:03:01 6 33.02 0.00 7.13 0.20 0.10 59.54 21:14:00 21:03:01 7 34.75 0.00 6.17 6.47 0.12 52.48 21:14:00 21:04:01 all 0.07 0.00 0.03 0.01 0.01 99.88 21:14:00 21:04:01 0 0.03 0.00 0.02 0.00 0.02 99.93 21:14:00 21:04:01 1 0.10 0.00 0.02 0.00 0.00 99.88 21:14:00 21:04:01 2 0.03 0.00 0.05 0.02 0.00 99.90 21:14:00 21:04:01 3 0.07 0.00 0.03 0.00 0.02 99.88 21:14:00 21:04:01 4 0.15 0.00 0.03 0.02 0.00 99.80 21:14:00 21:04:01 5 0.07 0.00 0.05 0.00 0.02 99.87 21:14:00 21:04:01 6 0.03 0.00 0.05 0.03 0.00 99.88 21:14:00 21:04:01 7 0.07 0.00 0.02 0.02 0.00 99.90 21:14:00 21:05:01 all 1.36 0.00 0.63 0.36 0.01 97.64 21:14:00 21:05:01 0 1.10 0.00 0.72 0.03 0.00 98.15 21:14:00 21:05:01 1 2.39 0.00 0.90 0.71 0.02 95.98 21:14:00 21:05:01 2 0.53 0.00 0.58 0.27 0.02 98.60 21:14:00 21:05:01 3 1.03 0.00 0.78 0.25 0.02 97.92 21:14:00 21:05:01 4 2.60 0.00 0.45 0.08 0.02 96.85 21:14:00 21:05:01 5 1.79 0.00 0.58 0.30 0.02 97.31 21:14:00 21:05:01 6 0.67 0.00 0.45 0.87 0.02 98.00 21:14:00 21:05:01 7 0.75 0.00 0.55 0.33 0.02 98.35 21:14:00 21:06:01 all 0.19 0.00 0.04 0.01 0.00 99.76 21:14:00 21:06:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:14:00 21:06:01 1 0.03 0.00 0.03 0.00 0.00 99.93 21:14:00 21:06:01 2 0.02 0.00 0.02 0.05 0.00 99.92 21:14:00 21:06:01 3 0.00 0.00 0.02 0.02 0.00 99.97 21:14:00 21:06:01 4 1.30 0.00 0.10 0.00 0.00 98.60 21:14:00 21:06:01 5 0.05 0.00 0.03 0.02 0.00 99.90 21:14:00 21:06:01 6 0.03 0.00 0.03 0.00 0.00 99.93 21:14:00 21:06:01 7 0.03 0.00 0.03 0.00 0.02 99.92 21:14:00 21:07:01 all 0.02 0.00 0.00 0.01 0.01 99.96 21:14:00 21:07:01 0 0.00 0.00 0.00 0.00 0.02 99.98 21:14:00 21:07:01 1 0.05 0.00 0.00 0.00 0.00 99.95 21:14:00 21:07:01 2 0.02 0.00 0.00 0.03 0.00 99.95 21:14:00 21:07:01 3 0.02 0.00 0.02 0.02 0.00 99.95 21:14:00 21:07:01 4 0.00 0.00 0.00 0.00 0.02 99.98 21:14:00 21:07:01 5 0.05 0.00 0.02 0.00 0.02 99.92 21:14:00 21:07:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:07:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:08:01 all 0.03 0.00 0.01 0.00 0.00 99.95 21:14:00 21:08:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:08:01 1 0.02 0.00 0.02 0.00 0.02 99.95 21:14:00 21:08:01 2 0.03 0.00 0.02 0.03 0.00 99.92 21:14:00 21:08:01 3 0.03 0.00 0.00 0.00 0.02 99.95 21:14:00 21:08:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:08:01 5 0.05 0.00 0.03 0.00 0.00 99.92 21:14:00 21:08:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:08:01 7 0.02 0.00 0.03 0.00 0.00 99.95 21:14:00 21:09:01 all 0.04 0.00 0.01 0.01 0.00 99.94 21:14:00 21:09:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:09:01 1 0.03 0.00 0.00 0.00 0.00 99.97 21:14:00 21:09:01 2 0.02 0.00 0.00 0.03 0.00 99.95 21:14:00 21:09:01 3 0.03 0.00 0.02 0.02 0.00 99.93 21:14:00 21:09:01 4 0.18 0.00 0.03 0.00 0.00 99.78 21:14:00 21:09:01 5 0.05 0.00 0.02 0.00 0.02 99.92 21:14:00 21:09:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:14:00 21:09:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:14:00 21:10:01 all 0.04 0.00 0.01 0.01 0.00 99.94 21:14:00 21:10:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:14:00 21:10:01 1 0.02 0.00 0.02 0.00 0.00 99.97 21:14:00 21:10:01 2 0.03 0.00 0.00 0.03 0.00 99.93 21:14:00 21:10:01 3 0.02 0.00 0.02 0.00 0.02 99.95 21:14:00 21:10:01 4 0.12 0.00 0.02 0.00 0.00 99.87 21:14:00 21:10:01 5 0.05 0.00 0.03 0.00 0.00 99.92 21:14:00 21:10:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:10:01 7 0.05 0.00 0.02 0.03 0.00 99.90 21:14:00 21:11:01 all 0.06 0.00 0.01 0.00 0.00 99.93 21:14:00 21:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:11:01 1 0.03 0.00 0.00 0.00 0.00 99.97 21:14:00 21:11:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:14:00 21:11:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:11:01 4 0.28 0.00 0.02 0.00 0.00 99.70 21:14:00 21:11:01 5 0.07 0.00 0.02 0.00 0.02 99.90 21:14:00 21:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:11:01 7 0.05 0.00 0.02 0.00 0.00 99.93 21:14:00 21:14:00 21:11:01 CPU %user %nice %system %iowait %steal %idle 21:14:00 21:12:01 all 0.17 0.00 0.01 0.00 0.00 99.81 21:14:00 21:12:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:12:01 1 0.05 0.00 0.02 0.00 0.02 99.92 21:14:00 21:12:01 2 0.03 0.00 0.00 0.02 0.00 99.95 21:14:00 21:12:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:14:00 21:12:01 4 1.18 0.00 0.02 0.00 0.02 98.79 21:14:00 21:12:01 5 0.03 0.00 0.03 0.00 0.00 99.93 21:14:00 21:12:01 6 0.03 0.00 0.00 0.00 0.00 99.97 21:14:00 21:12:01 7 0.03 0.00 0.00 0.02 0.00 99.95 21:14:00 21:13:01 all 0.25 0.00 0.01 0.00 0.01 99.73 21:14:00 21:13:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:14:00 21:13:01 1 0.02 0.00 0.02 0.00 0.00 99.97 21:14:00 21:13:01 2 0.00 0.00 0.00 0.02 0.02 99.97 21:14:00 21:13:01 3 0.02 0.00 0.00 0.02 0.02 99.95 21:14:00 21:13:01 4 0.07 0.00 0.02 0.00 0.00 99.92 21:14:00 21:13:01 5 0.02 0.00 0.03 0.00 0.02 99.93 21:14:00 21:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:14:00 21:13:01 7 1.81 0.00 0.02 0.00 0.02 98.16 21:14:00 Average: all 4.56 0.00 1.10 0.50 0.02 93.81 21:14:00 Average: 0 4.39 0.00 1.09 0.50 0.02 94.00 21:14:00 Average: 1 4.78 0.00 0.97 0.10 0.02 94.13 21:14:00 Average: 2 4.63 0.00 1.04 0.11 0.02 94.20 21:14:00 Average: 3 4.58 0.00 1.18 0.65 0.03 93.57 21:14:00 Average: 4 4.63 0.00 1.20 1.71 0.02 92.44 21:14:00 Average: 5 4.62 0.00 1.08 0.24 0.03 94.04 21:14:00 Average: 6 4.24 0.00 1.09 0.12 0.02 94.53 21:14:00 Average: 7 4.67 0.00 1.12 0.61 0.03 93.57 21:14:00 21:14:00 21:14:00