Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a57cecfdcfc2d56011cdb69183635b12662ad7e1+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (82de52f7cef1a4a2eb67502683ebb835c9b8752b) 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-ssh18110778504332849068.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-ssh10214516184865793358.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-298/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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2292387487087739224.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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12389434144573507127.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-ssh14933187460072370427.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-298/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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10536256701135760825.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 ‘prd-ubuntu20.04-docker-8c-8g-9319’ Running on prd-ubuntu20.04-docker-8c-8g-9323 in /w/workspace/gexfoundry_device-rest-go_PR-298 [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-298 # 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/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit a57cecfdcfc2d56011cdb69183635b12662ad7e1 Merge succeeded, producing a57cecfdcfc2d56011cdb69183635b12662ad7e1 Checking out Revision a57cecfdcfc2d56011cdb69183635b12662ad7e1 (PR-298) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f a57cecfdcfc2d56011cdb69183635b12662ad7e1 # 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 a57cecfdcfc2d56011cdb69183635b12662ad7e1 # timeout=10 [Pipeline] { [Pipeline] timeout 21:02:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:02:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:02:13 ========================================================= 21:02:13 EdgeX Global Pipelines Version Info 21:02:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:02:14 ------------------- 21:02:14 stable info: 21:02:14 ------------------- 21:02:14 Commited By: Bill Mahoney bill.mahoney@intel.com 21:02:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:02:14 Message: update stable to v1.0.248 21:02:15 ------------------- 21:02:15 experimental info: 21:02:15 ------------------- 21:02:15 Commited By: **** collab-it+edgex@linuxfoundation.org 21:02:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:02:15 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:02:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a57cecfdcfc2d56011cdb69183635b12662ad7e1 [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a57cecf [Pipeline] echo 21:02:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:16 provisioning config files... 21:02:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/config6984376599522127881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:17 ---> docker-login.sh 21:02:17 nexus3.edgexfoundry.org:10001 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 nexus3.edgexfoundry.org:10002 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 nexus3.edgexfoundry.org:10003 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 nexus3.edgexfoundry.org:10004 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:17 Configure a credential helper to remove this warning. See 21:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:17 21:02:17 Login Succeeded 21:02:17 docker.io 21:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:18 Configure a credential helper to remove this warning. See 21:02:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:18 21:02:18 Login Succeeded 21:02:18 ---> docker-login.sh ends [Pipeline] } 21:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:02:18 + git rev-list -1 --merges a57cecfdcfc2d56011cdb69183635b12662ad7e1~1..a57cecfdcfc2d56011cdb69183635b12662ad7e1 [Pipeline] echo 21:02:18 -----------> git rev-list -1 --merges a57cecfdcfc2d56011cdb69183635b12662ad7e1~1..a57cecfdcfc2d56011cdb69183635b12662ad7e1 a57cecfdcfc2d56011cdb69183635b12662ad7e1 [false] [Pipeline] sh 21:02:19 + git log --format=format:%s -1 a57cecfdcfc2d56011cdb69183635b12662ad7e1 [Pipeline] echo 21:02:19 ========================================================= 21:02:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:02:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:19 + git log --format=format:%s -1 a57cecfdcfc2d56011cdb69183635b12662ad7e1 [Pipeline] echo 21:02:19 [semverPrep] GIT_COMMIT: a57cecfdcfc2d56011cdb69183635b12662ad7e1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:02:19 [semverPrep] This is not a build commit. [Pipeline] sh 21:02:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:02:20 + grep -v github /etc/ssh/ssh_known_hosts 21:02:20 + [ -e /tmp/ssh_known_hosts ] 21:02:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:02:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:02:20 + sudo tee -a /etc/ssh/ssh_known_hosts 21:02:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:20 21:02:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:02:20 b85a868b505f: Pulling fs layer 21:02:20 e2be974225ed: Pulling fs layer 21:02:20 339a4e72a1f5: Pulling fs layer 21:02:20 988bab9f4d93: Pulling fs layer 21:02:20 1469e6f7b9e6: Pulling fs layer 21:02:20 eaf3925da568: Pulling fs layer 21:02:20 bab4dde63d76: Pulling fs layer 21:02:20 bde34c3a00c8: Pulling fs layer 21:02:20 b352a97aabf1: Pulling fs layer 21:02:20 4872d77fe225: Pulling fs layer 21:02:20 5851b861e8e6: Pulling fs layer 21:02:20 988bab9f4d93: Waiting 21:02:20 1469e6f7b9e6: Waiting 21:02:20 bde34c3a00c8: Waiting 21:02:20 b352a97aabf1: Waiting 21:02:20 eaf3925da568: Waiting 21:02:20 bab4dde63d76: Waiting 21:02:20 5851b861e8e6: Waiting 21:02:20 4872d77fe225: Waiting 21:02:20 e2be974225ed: Verifying Checksum 21:02:20 e2be974225ed: Download complete 21:02:20 988bab9f4d93: Verifying Checksum 21:02:20 988bab9f4d93: Download complete 21:02:20 1469e6f7b9e6: Verifying Checksum 21:02:20 1469e6f7b9e6: Download complete 21:02:21 339a4e72a1f5: Verifying Checksum 21:02:21 339a4e72a1f5: Download complete 21:02:21 eaf3925da568: Verifying Checksum 21:02:21 eaf3925da568: Download complete 21:02:21 bde34c3a00c8: Verifying Checksum 21:02:21 b352a97aabf1: Download complete 21:02:21 4872d77fe225: Verifying Checksum 21:02:21 4872d77fe225: Download complete 21:02:21 5851b861e8e6: Verifying Checksum 21:02:21 5851b861e8e6: Download complete 21:02:21 b85a868b505f: Verifying Checksum 21:02:21 b85a868b505f: Download complete 21:02:21 bab4dde63d76: Verifying Checksum 21:02:21 bab4dde63d76: Download complete 21:02:22 b85a868b505f: Pull complete 21:02:22 e2be974225ed: Pull complete 21:02:23 339a4e72a1f5: Pull complete 21:02:23 988bab9f4d93: Pull complete 21:02:23 1469e6f7b9e6: Pull complete 21:02:23 eaf3925da568: Pull complete 21:02:25 bab4dde63d76: Pull complete 21:02:25 bde34c3a00c8: Pull complete 21:02:25 b352a97aabf1: Pull complete 21:02:25 4872d77fe225: Pull complete 21:02:25 5851b861e8e6: Pull complete 21:02:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:02:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:25 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 21:02:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-298 -v /w/workspace/gexfoundry_device-rest-go_PR-298:/w/workspace/gexfoundry_device-rest-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-298@tmp:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:02:28 $ docker top f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 -eo pid,comm 21:02:28 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:02:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:02:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:02:28 [ssh-agent] Looking for ssh-agent implementation... 21:02:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:02:28 $ docker exec f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 ssh-agent 21:02:29 SSH_AUTH_SOCK=/tmp/ssh-rbGqugkyXcoL/agent.31 21:02:29 SSH_AGENT_PID=37 21:02:29 Running ssh-add (command line suppressed) 21:02:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-298@tmp/private_key_8502753505164447756.key (/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/private_key_8502753505164447756.key) 21:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:02:29 + git tag --points-at HEAD [Pipeline] } 21:02:29 $ docker exec --env ******** --env ******** f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 ssh-agent -k 21:02:29 unset SSH_AUTH_SOCK; 21:02:29 unset SSH_AGENT_PID; 21:02:29 echo Agent pid 37 killed; 21:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:02:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:02:29 [ssh-agent] Looking for ssh-agent implementation... 21:02:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:02:29 $ docker exec f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 ssh-agent 21:02:30 SSH_AUTH_SOCK=/tmp/ssh-cFwb67pQp46P/agent.69 21:02:30 SSH_AGENT_PID=75 21:02:30 Running ssh-add (command line suppressed) 21:02:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-298@tmp/private_key_10919839271456426552.key (/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/private_key_10919839271456426552.key) 21:02:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:02:30 + git semver init 21:02:30 2023-04-21 21:02:30,656 [run_init] DEBUG init version:0.0.0 force:False 21:02:30 2023-04-21 21:02:30,657 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-298/.semver 21:02:30 2023-04-21 21:02:30,658 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-298/.semver 21:02:30 2023-04-21 21:02:30,658 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-298/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-298, universal_newlines=False, shell=None, istream=None) 21:02:32 2023-04-21 21:02:31,733 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-298/.git/info/exclude 21:02:32 2023-04-21 21:02:31,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-298/.semver/PR-298 with force:False 21:02:32 2023-04-21 21:02:31,735 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-298/.semver/PR-298 21:02:32 2023-04-21 21:02:31,739 [execute] INFO git cat-file --batch-check 21:02:32 2023-04-21 21:02:31,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 21:02:32 2023-04-21 21:02:31,747 [execute] INFO git cat-file --batch 21:02:32 2023-04-21 21:02:31,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) 21:02:32 2023-04-21 21:02:31,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-298/.semver/PR-298 21:02:32 0.0.0 [Pipeline] } 21:02:32 $ docker exec --env ******** --env ******** f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 ssh-agent -k 21:02:32 unset SSH_AUTH_SOCK; 21:02:32 unset SSH_AGENT_PID; 21:02:32 echo Agent pid 75 killed; 21:02:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:02:32 + git semver [Pipeline] } 21:02:32 $ docker stop --time=1 f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 21:02:34 $ docker rm -f --volumes f85cd0bbab1af710f6f7b6a12792f559fc608f38d58457980cefaa5dc0c32d02 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:02:34 Stashed 1 file(s) [Pipeline] echo 21:02:34 [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:02:35 provisioning config files... 21:02:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/config8173842425739051010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:35 ---> docker-login.sh 21:02:35 nexus3.edgexfoundry.org:10001 21:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:35 Configure a credential helper to remove this warning. See 21:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:35 21:02:35 Login Succeeded 21:02:35 nexus3.edgexfoundry.org:10002 21:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:35 Configure a credential helper to remove this warning. See 21:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:35 21:02:35 Login Succeeded 21:02:35 nexus3.edgexfoundry.org:10003 21:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:36 Configure a credential helper to remove this warning. See 21:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:36 21:02:36 Login Succeeded 21:02:36 nexus3.edgexfoundry.org:10004 21:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:36 Configure a credential helper to remove this warning. See 21:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:36 21:02:36 Login Succeeded 21:02:36 docker.io 21:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:36 Configure a credential helper to remove this warning. See 21:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:36 21:02:36 Login Succeeded 21:02:36 ---> docker-login.sh ends [Pipeline] } 21:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:36 ========================================================= 21:02:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:02:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:37 + 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:02:37 Sending build context to Docker daemon 10.9MB 21:02:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:02:37 Step 2/12 : FROM ${BASE} AS builder 21:02:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:02:37 63b65145d645: Pulling fs layer 21:02:37 a2d21d5440eb: Pulling fs layer 21:02:37 935e6c44a52c: Pulling fs layer 21:02:37 94cc34f8dd06: Pulling fs layer 21:02:37 30dea6a524f1: Pulling fs layer 21:02:37 a2aff8979fd8: Pulling fs layer 21:02:37 6808be2612f2: Pulling fs layer 21:02:37 a2aff8979fd8: Waiting 21:02:37 f25807f1079a: Pulling fs layer 21:02:37 6808be2612f2: Waiting 21:02:37 f25807f1079a: Waiting 21:02:37 94cc34f8dd06: Waiting 21:02:37 a2d21d5440eb: Verifying Checksum 21:02:37 a2d21d5440eb: Download complete 21:02:37 94cc34f8dd06: Verifying Checksum 21:02:37 94cc34f8dd06: Download complete 21:02:37 30dea6a524f1: Download complete 21:02:37 63b65145d645: Download complete 21:02:37 a2aff8979fd8: Verifying Checksum 21:02:37 a2aff8979fd8: Download complete 21:02:37 63b65145d645: Pull complete 21:02:37 a2d21d5440eb: Pull complete 21:02:37 f25807f1079a: Download complete 21:02:38 935e6c44a52c: Verifying Checksum 21:02:38 935e6c44a52c: Download complete 21:02:38 6808be2612f2: Verifying Checksum 21:02:38 6808be2612f2: Download complete 21:02:41 935e6c44a52c: Pull complete 21:02:41 94cc34f8dd06: Pull complete 21:02:41 30dea6a524f1: Pull complete 21:02:41 a2aff8979fd8: Pull complete 21:02:44 6808be2612f2: Pull complete 21:02:44 f25807f1079a: Pull complete 21:02:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:02:44 ---> 3b553350e43f 21:02:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:50 ---> Running in 179c8c6e0500 21:02:50 Removing intermediate container 179c8c6e0500 21:02:50 ---> 7e1d60dc8a26 21:02:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:50 ---> Running in e7c660639a68 21:02:50 Removing intermediate container e7c660639a68 21:02:50 ---> c8f8e248c893 21:02:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:50 ---> Running in 7a8ade381ccb 21:02:50 Removing intermediate container 7a8ade381ccb 21:02:50 ---> 0c87dec227f2 21:02:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:50 ---> Running in 2d449f812c30 21:02:50 Removing intermediate container 2d449f812c30 21:02:50 ---> 58402d767947 21:02:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:50 ---> Running in ec7f1ca1535a 21:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:02:50 Still waiting to schedule task 21:02:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9322’ 21:02:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:02:50 (2/4) Installing libedit (20221030.3.1-r0) 21:02:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:02:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:02:50 Executing busybox-1.35.0-r29.trigger 21:02:50 OK: 269 MiB in 57 packages 21:02:51 Removing intermediate container ec7f1ca1535a 21:02:51 ---> 2fcb64ac6968 21:02:51 Step 8/12 : WORKDIR /device-rest-go 21:02:51 ---> Running in af50e8494859 21:02:51 Removing intermediate container af50e8494859 21:02:51 ---> 26e701c47621 21:02:51 Step 9/12 : COPY go.mod vendor* ./ 21:02:51 ---> 2e7c9d04ab4e 21:02:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:51 ---> Running in 6c9eac4b33ae 21:03:29 Removing intermediate container 6c9eac4b33ae 21:03:29 ---> 6b132568cdc8 21:03:29 Step 11/12 : COPY . . 21:03:29 ---> 3dff82ea44c0 21:03:29 Step 12/12 : RUN $MAKE 21:03:29 ---> Running in 5a6f24ad054d 21:03:29 noop 21:03:29 Removing intermediate container 5a6f24ad054d 21:03:29 ---> 3d6f6ed6c5d8 21:03:29 Successfully built 3d6f6ed6c5d8 21:03:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:30 + docker inspect -f . ci-base-image-x86_64 21:03:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:30 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 21:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-298 -v /w/workspace/gexfoundry_device-rest-go_PR-298:/w/workspace/gexfoundry_device-rest-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-298@tmp:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:30 $ docker top f40139998dd3be8b51f06cc61c3e041a046992f57524bb31d970f6b48459af27 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:31 + go version 21:03:31 go version go1.20.2 linux/amd64 [Pipeline] } 21:03:31 $ docker stop --time=1 f40139998dd3be8b51f06cc61c3e041a046992f57524bb31d970f6b48459af27 21:03:32 $ docker rm -f --volumes f40139998dd3be8b51f06cc61c3e041a046992f57524bb31d970f6b48459af27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:33 + docker inspect -f . ci-base-image-x86_64 21:03:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:33 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 21:03:33 $ 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-298 -v /w/workspace/gexfoundry_device-rest-go_PR-298:/w/workspace/gexfoundry_device-rest-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-298@tmp:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:33 $ docker top d8c8b44505870a8ff1bcbc547bd68fb8d7e4c41a99e71f00b9473f193ec40408 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-298 [Pipeline] fileExists [Pipeline] sh 21:03:34 + make test 21:03:34 go test ./... -coverprofile=coverage.out ./... 21:03:38 ? github.com/edgexfoundry/device-rest-go [no test files] 21:03:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:03:48 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements 21:03:55 go vet ./... 21:03:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:58 $ docker stop --time=1 d8c8b44505870a8ff1bcbc547bd68fb8d7e4c41a99e71f00b9473f193ec40408 21:04:01 $ docker rm -f --volumes d8c8b44505870a8ff1bcbc547bd68fb8d7e4c41a99e71f00b9473f193ec40408 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:03 + ls -al . 21:04:03 total 184 21:04:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 21:03 . 21:04:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 21:02 .. 21:04:03 -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 21:02 .dockerignore 21:04:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 21:02 .git 21:04:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 21:02 .github 21:04:03 -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 21:02 .gitignore 21:04:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 21:02 .golangci.yml 21:04:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 21:02 .semver 21:04:03 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 21 21:02 Attribution.txt 21:04:03 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 21 21:02 CHANGELOG.md 21:04:03 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 21 21:02 Dockerfile 21:04:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 21:02 GOVERNANCE.md 21:04:03 -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 21:02 Jenkinsfile 21:04:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 21:02 LICENSE 21:04:03 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 21 21:02 Makefile 21:04:03 -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 21:02 OWNERS.md 21:04:03 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 21 21:02 README.md 21:04:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 21:02 VERSION 21:04:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 21:02 bin 21:04:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 21:02 cmd 21:04:03 -rw-r--r-- 1 jenkins jenkins 14663 Apr 21 21:03 coverage.out 21:04:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 21:02 driver 21:04:03 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 21 21:02 go.mod 21:04:03 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 21 21:02 go.sum 21:04:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 21:02 snap 21:04:03 -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:03 + 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=a57cecfdcfc2d56011cdb69183635b12662ad7e1 --label arch=amd64 --label version=0.0.0 . 21:04:03 Sending build context to Docker daemon 10.92MB 21:04:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:04:03 Step 2/25 : FROM ${BASE} AS builder 21:04:03 ---> 3d6f6ed6c5d8 21:04:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:04:03 ---> Running in 78ade683adc7 21:04:03 Removing intermediate container 78ade683adc7 21:04:03 ---> 3836afaeb884 21:04:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:03 ---> Running in 9b700e72568a 21:04:03 Removing intermediate container 9b700e72568a 21:04:03 ---> 536d50baacca 21:04:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:03 ---> Running in 08dac7b36863 21:04:03 Removing intermediate container 08dac7b36863 21:04:03 ---> 0ab6b0423f5a 21:04:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:04:03 ---> Running in 35df0a7dfee7 21:04:04 Removing intermediate container 35df0a7dfee7 21:04:04 ---> 56575b27e2ba 21:04:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:04 ---> Running in a3959f9028ce 21:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:04:04 OK: 269 MiB in 57 packages 21:04:05 Removing intermediate container a3959f9028ce 21:04:05 ---> fdfb351aba83 21:04:05 Step 8/25 : WORKDIR /device-rest-go 21:04:05 ---> Running in bfddcbdc6247 21:04:05 Removing intermediate container bfddcbdc6247 21:04:05 ---> 6d2644b5ccfe 21:04:05 Step 9/25 : COPY go.mod vendor* ./ 21:04:05 ---> 4a24261ab1d9 21:04:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:05 ---> Running in 93ca2e8af4b2 21:04:06 Removing intermediate container 93ca2e8af4b2 21:04:06 ---> aeb59333cf8b 21:04:06 Step 11/25 : COPY . . 21:04:06 ---> ac3438cad816 21:04:06 Step 12/25 : RUN $MAKE 21:04:06 ---> Running in b4889f55217a 21:04:06 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:04:28 Removing intermediate container b4889f55217a 21:04:28 ---> 178585a31318 21:04:28 Step 13/25 : FROM alpine:3.17 21:04:28 3.17: Pulling from library/alpine 21:04:28 f56be85fc22e: Pulling fs layer 21:04:28 f56be85fc22e: Verifying Checksum 21:04:28 f56be85fc22e: Download complete 21:04:28 f56be85fc22e: Pull complete 21:04:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:04:28 Status: Downloaded newer image for alpine:3.17 21:04:28 ---> 9ed4aefc74f6 21:04:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:04:28 ---> Running in 3dfbc8cac6fe 21:04:28 Removing intermediate container 3dfbc8cac6fe 21:04:28 ---> 3e6adae0c7b8 21:04:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:04:28 ---> Running in af7b3ebdf64e 21:04:28 Removing intermediate container af7b3ebdf64e 21:04:28 ---> 47b9bf808b60 21:04:28 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:04:28 ---> Running in 0323c888a517 21:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:04:28 (1/1) Installing dumb-init (1.2.5-r2) 21:04:28 Executing busybox-1.35.0-r29.trigger 21:04:28 OK: 7 MiB in 16 packages 21:04:28 Removing intermediate container 0323c888a517 21:04:28 ---> eb3a8e9e31aa 21:04:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:04:28 ---> 16fad0f63adc 21:04:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:04:28 ---> 358eedcfb858 21:04:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:04:28 ---> 90e34e3359b0 21:04:28 Step 20/25 : EXPOSE 59986 21:04:28 ---> Running in e3ba329c6cc3 21:04:28 Removing intermediate container e3ba329c6cc3 21:04:28 ---> b118d0401b7c 21:04:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:04:28 ---> Running in f0d37dcbd4b9 21:04:28 Removing intermediate container f0d37dcbd4b9 21:04:28 ---> 932284e93d20 21:04:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:04:28 ---> Running in 10e3ee01c084 21:04:28 Removing intermediate container 10e3ee01c084 21:04:28 ---> 119731499eb5 21:04:28 Step 23/25 : LABEL arch=amd64 21:04:29 ---> Running in ab285b832082 21:04:29 Removing intermediate container ab285b832082 21:04:29 ---> d122e26b38fe 21:04:29 Step 24/25 : LABEL git_sha=a57cecfdcfc2d56011cdb69183635b12662ad7e1 21:04:29 ---> Running in 91c7c59effa3 21:04:29 Removing intermediate container 91c7c59effa3 21:04:29 ---> 5e86e2ba53cf 21:04:29 Step 25/25 : LABEL version=0.0.0 21:04:29 ---> Running in 0d96cc41737c 21:04:29 Removing intermediate container 0d96cc41737c 21:04:29 ---> 89f339bb1046 21:04:29 [Warning] One or more build-args [ARCH] were not consumed 21:04:29 Successfully built 89f339bb1046 21:04:29 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:04:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:30 21:04:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:30 latest: Pulling from edgex-lftools-log-publisher 21:04:30 5eb5b503b376: Pulling fs layer 21:04:30 5c69ac0246d0: Pulling fs layer 21:04:30 ec43610c2a17: Pulling fs layer 21:04:30 3a2ae6a8a46f: Pulling fs layer 21:04:30 33b1e0a273af: Pulling fs layer 21:04:30 5d3b04190fa2: Pulling fs layer 21:04:30 2f39f015ded8: Pulling fs layer 21:04:30 33b1e0a273af: Waiting 21:04:30 2f39f015ded8: Waiting 21:04:30 5d3b04190fa2: Waiting 21:04:30 3a2ae6a8a46f: Waiting 21:04:30 5c69ac0246d0: Download complete 21:04:30 3a2ae6a8a46f: Verifying Checksum 21:04:30 3a2ae6a8a46f: Download complete 21:04:30 ec43610c2a17: Verifying Checksum 21:04:30 ec43610c2a17: Download complete 21:04:30 33b1e0a273af: Verifying Checksum 21:04:30 33b1e0a273af: Download complete 21:04:30 5d3b04190fa2: Verifying Checksum 21:04:30 5d3b04190fa2: Download complete 21:04:30 5eb5b503b376: Verifying Checksum 21:04:30 5eb5b503b376: Download complete 21:04:31 2f39f015ded8: Download complete 21:04:32 5eb5b503b376: Pull complete 21:04:32 5c69ac0246d0: Pull complete 21:04:32 ec43610c2a17: Pull complete 21:04:32 3a2ae6a8a46f: Pull complete 21:04:32 33b1e0a273af: Pull complete 21:04:32 5d3b04190fa2: Pull complete 21:04:38 2f39f015ded8: Pull complete 21:04:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:38 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 21:04:38 $ 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-298 -v /w/workspace/gexfoundry_device-rest-go_PR-298:/w/workspace/gexfoundry_device-rest-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-298@tmp:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:04:44 $ docker top de53530be986bd751752b1e726259a732df4f81622ae3003b1561dc234c70767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:44 ---> job-cost.sh 21:04:44 lf-activate-venv: SKIPPING 21:04:44 INFO: No Stack... 21:04:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:04:45 INFO: Archiving Costs [Pipeline] sh 21:04:45 + cat /w/workspace/gexfoundry_device-rest-go_PR-298/archives/cost.csv 21:04:45 + cut -d, -f6 [Pipeline] lock 21:04:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] 21:04:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] did not exist. Created. 21:04:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:04:46 + echo total: 0.2199999988079071 [Pipeline] stash 21:04:46 Stashed 1 file(s) [Pipeline] } 21:04:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:04:46 $ docker stop --time=1 de53530be986bd751752b1e726259a732df4f81622ae3003b1561dc234c70767 21:04:47 $ docker rm -f --volumes de53530be986bd751752b1e726259a732df4f81622ae3003b1561dc234c70767 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:06:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9326 in /w/workspace/gexfoundry_device-rest-go_PR-298 [Pipeline] { [Pipeline] ws 21:06:18 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:06:19 The recommended git tool is: git 21:06:25 using credential edgex-jenkins-ssh 21:06:25 Cloning the remote Git repository 21:06:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:06:25 > git init /w/workspace/device-rest-go/1 # timeout=10 21:06:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:06:25 > git --version # timeout=10 21:06:25 > git --version # 'git version 2.25.1' 21:06:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:06:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:06:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:06:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:06:29 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit a57cecfdcfc2d56011cdb69183635b12662ad7e1 21:06:29 Merge succeeded, producing a57cecfdcfc2d56011cdb69183635b12662ad7e1 21:06:29 Checking out Revision a57cecfdcfc2d56011cdb69183635b12662ad7e1 (PR-298) 21:06:30 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:06:30 > git --version # timeout=10 21:06:30 > git --version # 'git version 2.25.1' 21:06:30 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:06:29 > git config core.sparsecheckout # timeout=10 21:06:29 > git checkout -f a57cecfdcfc2d56011cdb69183635b12662ad7e1 # timeout=10 21:06:29 > git remote # timeout=10 21:06:29 > git config --get remote.origin.url # timeout=10 21:06:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:29 > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 21:06:29 > git rev-parse HEAD^{commit} # timeout=10 21:06:29 > git config core.sparsecheckout # timeout=10 21:06:29 > git checkout -f a57cecfdcfc2d56011cdb69183635b12662ad7e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:31 Dload Upload Total Spent Left Speed 21:06:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 21:06:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:32 + sudo tee /etc/docker/daemon.new 21:06:32 { 21:06:32 "registry-mirrors": [ 21:06:32 "https://nexus3.edgexfoundry.org:10001" 21:06:32 ], 21:06:32 "bip": "10.250.0.254/24", 21:06:32 "hosts": [ 21:06:32 "tcp://0.0.0.0:5555", 21:06:32 "unix:///var/run/docker.sock" 21:06:32 ], 21:06:32 "mtu": 1458, 21:06:32 "selinux-enabled": true, 21:06:32 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:32 } [Pipeline] sh 21:06:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:52 provisioning config files... 21:06:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9246428071689274563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:52 ---> docker-login.sh 21:06:52 nexus3.edgexfoundry.org:10001 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10002 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10003 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10004 21:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:54 Configure a credential helper to remove this warning. See 21:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:54 21:06:54 Login Succeeded 21:06:54 docker.io 21:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:54 Configure a credential helper to remove this warning. See 21:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:54 21:06:54 Login Succeeded 21:06:54 ---> docker-login.sh ends [Pipeline] } 21:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:55 ========================================================= 21:06:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:06:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:55 + 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:06:55 Sending build context to Docker daemon 138.8kB 21:06:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:55 Step 2/12 : FROM ${BASE} AS builder 21:06:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:55 af6eaf76a39c: Pulling fs layer 21:06:55 55522c791124: Pulling fs layer 21:06:55 ce5c4a1c91eb: Pulling fs layer 21:06:55 169dfbe0d373: Pulling fs layer 21:06:55 e1ff8fa3b103: Pulling fs layer 21:06:55 52ebb69f0ebf: Pulling fs layer 21:06:55 5abe8eddf0d5: Pulling fs layer 21:06:55 169dfbe0d373: Waiting 21:06:55 e1ff8fa3b103: Waiting 21:06:55 52ebb69f0ebf: Waiting 21:06:55 5abe8eddf0d5: Waiting 21:06:56 55522c791124: Verifying Checksum 21:06:56 55522c791124: Download complete 21:06:56 169dfbe0d373: Download complete 21:06:56 e1ff8fa3b103: Verifying Checksum 21:06:56 e1ff8fa3b103: Download complete 21:06:56 af6eaf76a39c: Download complete 21:06:57 af6eaf76a39c: Pull complete 21:06:57 5abe8eddf0d5: Verifying Checksum 21:06:57 5abe8eddf0d5: Download complete 21:06:57 55522c791124: Pull complete 21:06:58 ce5c4a1c91eb: Verifying Checksum 21:06:58 ce5c4a1c91eb: Download complete 21:06:58 52ebb69f0ebf: Verifying Checksum 21:06:58 52ebb69f0ebf: Download complete 21:07:11 ce5c4a1c91eb: Pull complete 21:07:11 169dfbe0d373: Pull complete 21:07:11 e1ff8fa3b103: Pull complete 21:07:19 52ebb69f0ebf: Pull complete 21:07:21 5abe8eddf0d5: Pull complete 21:07:21 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:07:21 ---> 6cb57ee374ae 21:07:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:22 ---> Running in b821f34ff76f 21:07:23 Removing intermediate container b821f34ff76f 21:07:23 ---> 7ad773d89b48 21:07:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:23 ---> Running in 678cfb6d36ab 21:07:23 Removing intermediate container 678cfb6d36ab 21:07:23 ---> 46b5b6f6ca80 21:07:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:07:23 ---> Running in 1370b6c54eb6 21:07:23 Removing intermediate container 1370b6c54eb6 21:07:23 ---> b8c25595db65 21:07:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:23 ---> Running in a76c44ff09a9 21:07:24 Removing intermediate container a76c44ff09a9 21:07:24 ---> 95987d3675c8 21:07:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:24 ---> Running in a5ecd7fa3bb0 21:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:07:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:07:27 (2/4) Installing libedit (20221030.3.1-r0) 21:07:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:07:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:07:27 Executing busybox-1.35.0-r29.trigger 21:07:27 OK: 268 MiB in 57 packages 21:07:28 Removing intermediate container a5ecd7fa3bb0 21:07:28 ---> 61afd2aca35d 21:07:28 Step 8/12 : WORKDIR /device-rest-go 21:07:28 ---> Running in c08e335ff91b 21:07:28 Removing intermediate container c08e335ff91b 21:07:28 ---> 0a3e4843cb7d 21:07:28 Step 9/12 : COPY go.mod vendor* ./ 21:07:29 ---> 91b8e1e17366 21:07:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:29 ---> Running in f7ab804759ad 21:08:50 Removing intermediate container f7ab804759ad 21:08:50 ---> 233e63cd4f90 21:08:50 Step 11/12 : COPY . . 21:08:50 ---> 5f37a89ca2d6 21:08:50 Step 12/12 : RUN $MAKE 21:08:50 ---> Running in d4cc4b2d88a8 21:08:50 noop 21:08:50 Removing intermediate container d4cc4b2d88a8 21:08:50 ---> f6c9e316c557 21:08:50 Successfully built f6c9e316c557 21:08:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:51 + docker inspect -f . ci-base-image-arm64 21:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:51 prd-ubuntu20.04-docker-arm64-4c-16g-9326 does not seem to be running inside a container 21:08:51 $ 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:08:52 $ docker top f523ca6f20b2bd4eeb52275a87f89ce3d829600334c35323c2053c66f428e0a4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:53 + go version 21:08:53 go version go1.20.2 linux/arm64 [Pipeline] } 21:08:53 $ docker stop --time=1 f523ca6f20b2bd4eeb52275a87f89ce3d829600334c35323c2053c66f428e0a4 21:08:55 $ docker rm -f --volumes f523ca6f20b2bd4eeb52275a87f89ce3d829600334c35323c2053c66f428e0a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:56 + docker inspect -f . ci-base-image-arm64 21:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-9326 does not seem to be running inside a container 21:08:56 $ 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:08:57 $ docker top 360671fa2f06f7773da463df70d43db4e6df0b4cd68cc06a8776b1852570e0f2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:58 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:08:58 + make test 21:08:58 go test ./... -coverprofile=coverage.out ./... 21:09:31 ? github.com/edgexfoundry/device-rest-go [no test files] 21:11:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:11:22 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 32.2% of statements 21:11:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:22 go vet ./... 21:11:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:49 ./bin/test-attribution-txt.sh [Pipeline] echo 21:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:49 $ docker stop --time=1 360671fa2f06f7773da463df70d43db4e6df0b4cd68cc06a8776b1852570e0f2 21:11:51 $ docker rm -f --volumes 360671fa2f06f7773da463df70d43db4e6df0b4cd68cc06a8776b1852570e0f2 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:52 Warning: overwriting stash ‘coverage-report’ 21:11:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:53 + ls -al . 21:11:53 total 180 21:11:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 21:09 . 21:11:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 21:06 .. 21:11:53 -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 21:06 .dockerignore 21:11:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 21:06 .git 21:11:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 21:06 .github 21:11:53 -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 21:06 .gitignore 21:11:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 21:06 .golangci.yml 21:11:53 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 21 21:06 Attribution.txt 21:11:53 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 21 21:06 CHANGELOG.md 21:11:53 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 21 21:06 Dockerfile 21:11:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 21:06 GOVERNANCE.md 21:11:53 -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 21:06 Jenkinsfile 21:11:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 21:06 LICENSE 21:11:53 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 21 21:06 Makefile 21:11:53 -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 21:06 OWNERS.md 21:11:53 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 21 21:06 README.md 21:11:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 21:02 VERSION 21:11:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 21:06 bin 21:11:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 21:06 cmd 21:11:53 -rw-r--r-- 1 jenkins jenkins 14663 Apr 21 21:11 coverage.out 21:11:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 21:06 driver 21:11:53 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 21 21:06 go.mod 21:11:53 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 21 21:06 go.sum 21:11:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 21:06 snap 21:11:53 -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:54 + 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=a57cecfdcfc2d56011cdb69183635b12662ad7e1 --label arch=arm64 --label version=0.0.0 . 21:11:54 Sending build context to Docker daemon 154.1kB 21:11:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:11:54 Step 2/25 : FROM ${BASE} AS builder 21:11:54 ---> f6c9e316c557 21:11:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:11:54 ---> Running in b7f2e92c5766 21:11:54 Removing intermediate container b7f2e92c5766 21:11:54 ---> 2dbe737bfd12 21:11:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:54 ---> Running in b97ec2998006 21:11:55 Removing intermediate container b97ec2998006 21:11:55 ---> 19c4e7877500 21:11:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:11:55 ---> Running in f3b0824a4e53 21:11:55 Removing intermediate container f3b0824a4e53 21:11:55 ---> deec970a7829 21:11:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:11:55 ---> Running in f7d9f331cbfe 21:11:55 Removing intermediate container f7d9f331cbfe 21:11:55 ---> fc6df7c6cf62 21:11:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:55 ---> Running in 4b7399d8abd8 21:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:58 OK: 268 MiB in 57 packages 21:12:00 Removing intermediate container 4b7399d8abd8 21:12:00 ---> 695cf7e952f9 21:12:00 Step 8/25 : WORKDIR /device-rest-go 21:12:00 ---> Running in 7e56fd072c38 21:12:00 Removing intermediate container 7e56fd072c38 21:12:00 ---> 5ebc5c4db984 21:12:00 Step 9/25 : COPY go.mod vendor* ./ 21:12:01 ---> 6966e6d1b209 21:12:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:01 ---> Running in ebfe5624dc8a 21:12:03 Removing intermediate container ebfe5624dc8a 21:12:03 ---> d23241b2a5cd 21:12:03 Step 11/25 : COPY . . 21:12:04 ---> 0ed92985fa8f 21:12:04 Step 12/25 : RUN $MAKE 21:12:04 ---> Running in 5de70a1ed93a 21:12:04 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:14:11 Removing intermediate container 5de70a1ed93a 21:14:11 ---> 5565ecc191f8 21:14:11 Step 13/25 : FROM alpine:3.17 21:14:11 3.17: Pulling from library/alpine 21:14:11 c41833b44d91: Pulling fs layer 21:14:11 c41833b44d91: Verifying Checksum 21:14:11 c41833b44d91: Download complete 21:14:11 c41833b44d91: Pull complete 21:14:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:14:11 Status: Downloaded newer image for alpine:3.17 21:14:11 ---> 51e60588ff2c 21:14:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:14:11 ---> Running in 7c3658c9739f 21:14:12 Removing intermediate container 7c3658c9739f 21:14:12 ---> d9416a6e66c6 21:14:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:14:12 ---> Running in 61b61ea32c7c 21:14:12 Removing intermediate container 61b61ea32c7c 21:14:12 ---> 9161f5dbd528 21:14:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:14:12 ---> Running in 7dededd8230b 21:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:15 (1/1) Installing dumb-init (1.2.5-r2) 21:14:15 Executing busybox-1.35.0-r29.trigger 21:14:15 OK: 8 MiB in 16 packages 21:14:16 Removing intermediate container 7dededd8230b 21:14:16 ---> 9171933b394b 21:14:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:14:17 ---> a6afba3556ed 21:14:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:14:17 ---> 5b41e0cb2ec5 21:14:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:14:18 ---> eae9d85b7179 21:14:18 Step 20/25 : EXPOSE 59986 21:14:18 ---> Running in b6aa06ec54bd 21:14:18 Removing intermediate container b6aa06ec54bd 21:14:18 ---> 32db00365ac6 21:14:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:14:18 ---> Running in 1a576221725f 21:14:18 Removing intermediate container 1a576221725f 21:14:18 ---> 40f63738ad34 21:14:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:14:19 ---> Running in 95aba0765246 21:14:19 Removing intermediate container 95aba0765246 21:14:19 ---> 6cc21d78dde9 21:14:19 Step 23/25 : LABEL arch=arm64 21:14:19 ---> Running in e6943aaad37d 21:14:19 Removing intermediate container e6943aaad37d 21:14:19 ---> aae91e08c667 21:14:19 Step 24/25 : LABEL git_sha=a57cecfdcfc2d56011cdb69183635b12662ad7e1 21:14:19 ---> Running in 7b011a6ee874 21:14:20 Removing intermediate container 7b011a6ee874 21:14:20 ---> f8fa73bb08fb 21:14:20 Step 25/25 : LABEL version=0.0.0 21:14:20 ---> Running in c39e077e4431 21:14:20 Removing intermediate container c39e077e4431 21:14:20 ---> 7f6695bb0bac 21:14:20 [Warning] One or more build-args [ARCH] were not consumed 21:14:20 Successfully built 7f6695bb0bac 21:14:20 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:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:21 21:14:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:21 arm64: Pulling from edgex-lftools-log-publisher 21:14:21 8998bd30e6a1: Pulling fs layer 21:14:21 04944245beec: Pulling fs layer 21:14:21 699f458cf7ca: Pulling fs layer 21:14:21 765212b225bb: Pulling fs layer 21:14:21 f23df028b6ca: Pulling fs layer 21:14:21 d65c8cfc05b1: Pulling fs layer 21:14:21 2437ff75d9bd: Pulling fs layer 21:14:21 765212b225bb: Waiting 21:14:21 f23df028b6ca: Waiting 21:14:21 d65c8cfc05b1: Waiting 21:14:21 2437ff75d9bd: Waiting 21:14:22 04944245beec: Verifying Checksum 21:14:22 04944245beec: Download complete 21:14:22 765212b225bb: Download complete 21:14:22 f23df028b6ca: Download complete 21:14:22 d65c8cfc05b1: Verifying Checksum 21:14:22 d65c8cfc05b1: Download complete 21:14:22 699f458cf7ca: Verifying Checksum 21:14:22 699f458cf7ca: Download complete 21:14:22 8998bd30e6a1: Verifying Checksum 21:14:22 8998bd30e6a1: Download complete 21:14:25 2437ff75d9bd: Verifying Checksum 21:14:25 2437ff75d9bd: Download complete 21:14:26 8998bd30e6a1: Pull complete 21:14:27 04944245beec: Pull complete 21:14:28 699f458cf7ca: Pull complete 21:14:28 765212b225bb: Pull complete 21:14:29 f23df028b6ca: Pull complete 21:14:29 d65c8cfc05b1: Pull complete 21:14:44 2437ff75d9bd: Pull complete 21:14:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:45 prd-ubuntu20.04-docker-arm64-4c-16g-9326 does not seem to be running inside a container 21:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-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:14:47 $ docker top 32f489a5463b4ba68da9f470f9590404ccb2de7378404712f3dc89cd97ae76f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:48 ---> job-cost.sh 21:14:48 lf-activate-venv: SKIPPING 21:14:48 INFO: No Stack... 21:14:48 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:49 INFO: Archiving Costs [Pipeline] sh 21:14:50 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:14:50 + cut -d, -f6 [Pipeline] lock 21:14:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] 21:14:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] did not exist. Created. 21:14:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:50 /w/workspace/device-rest-go/1@tmp/durable-8fa53bc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:51 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:51 Warning: overwriting stash ‘stack-cost’ 21:14:51 Stashed 1 file(s) [Pipeline] } 21:14:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:51 $ docker stop --time=1 32f489a5463b4ba68da9f470f9590404ccb2de7378404712f3dc89cd97ae76f9 21:14:52 $ docker rm -f --volumes 32f489a5463b4ba68da9f470f9590404ccb2de7378404712f3dc89cd97ae76f9 [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:14:53 provisioning config files... 21:14:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/config11314995042129498532tmp [Pipeline] { [Pipeline] sh 21:14:54 + set +x 21:14:54 + curl -s https://codecov.io/bash 21:14:54 + bash -s -- 21:14:54 21:14:54 _____ _ 21:14:54 / ____| | | 21:14:54 | | ___ __| | ___ ___ _____ __ 21:14:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:54 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:54 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:54 Bash-1.0.6 21:14:54 21:14:54 21:14:54 ==> git version 2.25.1 found 21:14:54 ==> 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:14:54 Release-Date: 2020-01-08 21:14:54 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:14:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:54 ==> Jenkins CI detected. 21:14:54 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-298 21:14:54 project root: . 21:14:54 --> token set from env 21:14:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:54 ==> Running gcov in . (disable via -X gcov) 21:14:54 ==> Python coveragepy not found 21:14:54 ==> Searching for coverage reports in: 21:14:54 + . 21:14:54 -> Found 1 reports 21:14:54 ==> Detecting git/mercurial file structure 21:14:54 ==> Reading reports 21:14:54 + ./coverage.out bytes=14663 21:14:54 ==> Appending adjustments 21:14:54 https://docs.codecov.io/docs/fixing-reports 21:14:54 + Found adjustments 21:14:54 ==> Gzipping contents 21:14:54 4.0K /tmp/codecov.ynDBPp.gz 21:14:54 ==> Uploading reports 21:14:54 url: https://codecov.io 21:14:54 query: branch=PR-298&commit=a57cecfdcfc2d56011cdb69183635b12662ad7e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=298&job=&cmd_args= 21:14:54 -> Pinging Codecov 21:14:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-298&commit=a57cecfdcfc2d56011cdb69183635b12662ad7e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=298&job=&cmd_args= 21:14:54 -> Uploading to 21:14:54 https://storage.googleapis.com/codecov/v4/raw/2023-04-21/4E5D53B4F1F92C436F7061BF334D961C/a57cecfdcfc2d56011cdb69183635b12662ad7e1/995b53eb-f4d5-4792-a432-034c8b0873ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T211454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28f09d47404cb1e35c5ba634c0ab6730d4989fb39b4ae04b61aea7184623e880 21:14:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:54 Dload Upload Total Spent Left Speed 21:14:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11008 --:--:-- --:--:-- --:--:-- 11008 21:14:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a57cecfdcfc2d56011cdb69183635b12662ad7e1 [Pipeline] } 21:14:54 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:14:56 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-298/archives ] 21:14:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-298/archives 21:14:56 total 16 21:14:56 drwxr-xr-x 3 root root 4096 Apr 21 21:04 . 21:14:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 21:04 .. 21:14:56 drwxr-xr-x 2 root root 4096 Apr 21 21:04 cost 21:14:56 -rw-r--r-- 1 root root 86 Apr 21 21:04 cost.csv 21:14:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-298/archives 21:14:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-298/archives 21:14:56 total 16 21:14:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 21:04 . 21:14:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 21:04 .. 21:14:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 21:04 cost 21:14:56 -rw-r--r-- 1 jenkins jenkins 86 Apr 21 21:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:57 ---> package-listing.sh 21:14:57 ++ facter osfamily 21:14:57 ++ tr '[:upper:]' '[:lower:]' 21:14:58 + OS_FAMILY=debian 21:14:58 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-298 21:14:58 + START_PACKAGES=/tmp/packages_start.txt 21:14:58 + END_PACKAGES=/tmp/packages_end.txt 21:14:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:58 + PACKAGES=/tmp/packages_start.txt 21:14:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-298 ']' 21:14:58 + PACKAGES=/tmp/packages_end.txt 21:14:58 + case "${OS_FAMILY}" in 21:14:58 + dpkg -l 21:14:58 + grep '^ii' 21:14:58 + '[' -f /tmp/packages_start.txt ']' 21:14:58 + '[' -f /tmp/packages_end.txt ']' 21:14:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-298 ']' 21:14:58 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-298/archives/ 21:14:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-298/archives/ [Pipeline] echo 21:14:58 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:59 prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container 21:14:59 $ 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-298/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-298 -v /w/workspace/gexfoundry_device-rest-go_PR-298:/w/workspace/gexfoundry_device-rest-go_PR-298:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-298@tmp:/w/workspace/gexfoundry_device-rest-go_PR-298@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:14:59 $ docker top 9c471c6892cd211ed1231bcbd645ffc1ff2bcf55b2d1cfcb75f3c04bd63b2752 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:59 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:00 + ls /var/log/sa-host 21:15:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:00 provisioning config files... 21:15:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-298@tmp/config2327269705264822273tmp [Pipeline] { [Pipeline] echo 21:15:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:00 ---> create-netrc.sh [Pipeline] } 21:15:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:01 ---> python-tools-install.sh [Pipeline] echo 21:15:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:01 ---> sudo-logs.sh 21:15:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:02 ---> job-cost.sh 21:15:02 lf-activate-venv: SKIPPING 21:15:02 DEBUG: total: 0.2199999988079071 21:15:02 INFO: Retrieving Stack Cost... 21:15:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:03 INFO: Archiving Costs [Pipeline] echo 21:15:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:03 ---> logs-deploy.sh 21:15:03 lf-activate-venv: SKIPPING 21:15:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-298/1 21:15:03 INFO: archiving workspace using pattern(s): 21:15:04 Archives upload complete. 21:15:04 INFO: archiving logs to Nexus 21:15:05 ---> uname -a: 21:15:05 Linux prd-ubuntu20-04-docker-8c-8g-9323 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:15:05 21:15:05 21:15:05 ---> lscpu: 21:15:05 Architecture: x86_64 21:15:05 CPU op-mode(s): 32-bit, 64-bit 21:15:05 Byte Order: Little Endian 21:15:05 Address sizes: 40 bits physical, 48 bits virtual 21:15:05 CPU(s): 8 21:15:05 On-line CPU(s) list: 0-7 21:15:05 Thread(s) per core: 1 21:15:05 Core(s) per socket: 1 21:15:05 Socket(s): 8 21:15:05 NUMA node(s): 1 21:15:05 Vendor ID: AuthenticAMD 21:15:05 CPU family: 23 21:15:05 Model: 49 21:15:05 Model name: AMD EPYC-Rome Processor 21:15:05 Stepping: 0 21:15:05 CPU MHz: 2799.940 21:15:05 BogoMIPS: 5599.88 21:15:05 Virtualization: AMD-V 21:15:05 Hypervisor vendor: KVM 21:15:05 Virtualization type: full 21:15:05 L1d cache: 256 KiB 21:15:05 L1i cache: 256 KiB 21:15:05 L2 cache: 4 MiB 21:15:05 L3 cache: 128 MiB 21:15:05 NUMA node0 CPU(s): 0-7 21:15:05 Vulnerability Itlb multihit: Not affected 21:15:05 Vulnerability L1tf: Not affected 21:15:05 Vulnerability Mds: Not affected 21:15:05 Vulnerability Meltdown: Not affected 21:15:05 Vulnerability Mmio stale data: Not affected 21:15:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:15:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:15:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:15:05 Vulnerability Srbds: Not affected 21:15:05 Vulnerability Tsx async abort: Not affected 21:15:05 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:15:05 21:15:05 21:15:05 ---> nproc: 21:15:05 8 21:15:05 21:15:05 21:15:05 ---> df -h: 21:15:05 Filesystem Size Used Avail Use% Mounted on 21:15:05 overlay 155G 12G 144G 8% / 21:15:05 tmpfs 64M 0 64M 0% /dev 21:15:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:15:05 shm 64M 0 64M 0% /dev/shm 21:15:05 /dev/vda1 155G 12G 144G 8% /facter-os 21:15:05 21:15:05 21:15:05 ---> sar -b -r -n DEV: 21:15:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9323) 04/21/23 _x86_64_ (8 CPU) 21:15:05 21:15:05 21:01:38 LINUX RESTART (8 CPU) 21:15:05 21:15:05 21:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:15:05 21:03:01 163.12 38.19 124.93 0.00 4270.35 102681.42 0.00 21:15:05 21:04:01 130.58 1.13 129.45 0.00 11.86 54068.59 0.00 21:15:05 21:05:01 163.67 0.30 163.37 0.00 22.26 36272.62 0.00 21:15:05 21:06:01 2.00 0.00 2.00 0.00 0.00 23.34 0.00 21:15:05 21:07:01 37.64 12.83 24.81 0.00 5446.29 6225.76 0.00 21:15:05 21:08:01 3.98 0.00 3.98 0.00 0.00 51.72 0.00 21:15:05 21:09:01 1.00 0.00 1.00 0.00 0.00 10.80 0.00 21:15:05 21:10:01 1.53 0.00 1.53 0.00 0.00 16.93 0.00 21:15:05 21:11:01 1.37 0.00 1.37 0.00 0.00 14.80 0.00 21:15:05 21:12:01 2.27 0.00 2.27 0.00 0.00 37.19 0.00 21:15:05 21:13:01 0.93 0.00 0.93 0.00 0.00 10.13 0.00 21:15:05 21:14:01 0.97 0.00 0.97 0.00 0.00 11.33 0.00 21:15:05 21:15:01 6.07 0.25 5.82 0.00 19.33 111.31 0.00 21:15:05 Average: 39.62 4.05 35.57 0.00 751.54 15348.72 0.00 21:15:05 21:15:05 21:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:15:05 21:03:01 29180044 31605444 712888 2.17 76508 2622344 1976776 5.83 982104 2361664 5556 21:15:05 21:04:01 28218744 31581164 726084 2.21 147808 3399336 1863896 5.49 1192632 3012020 96 21:15:05 21:05:01 27678228 31593172 709636 2.16 159748 3897700 1765516 5.20 1246200 3451004 380 21:15:05 21:06:01 27678336 31593348 709392 2.16 159792 3897704 1765516 5.20 1245952 3451008 132 21:15:05 21:07:01 27305424 31576576 715756 2.18 167928 4230924 1800732 5.31 1475332 3564884 980 21:15:05 21:08:01 27307212 31578364 714028 2.17 167980 4230924 1816876 5.35 1474400 3564844 28 21:15:05 21:09:01 27314252 31585420 706904 2.15 167996 4230928 1816876 5.35 1467204 3564848 4 21:15:05 21:10:01 27314832 31586040 706532 2.15 168032 4230928 1816876 5.35 1467264 3564848 12 21:15:05 21:11:01 27314776 31586068 706484 2.15 168100 4230932 1816876 5.35 1467340 3564856 8 21:15:05 21:12:01 27314768 31586372 706304 2.15 168204 4230912 1816876 5.35 1467572 3565044 16 21:15:05 21:13:01 27314372 31585996 706624 2.15 168220 4230912 1816876 5.35 1467436 3565048 8 21:15:05 21:14:01 27314448 31586204 706296 2.15 168244 4230916 1816876 5.35 1467400 3565052 176 21:15:05 21:15:01 27282256 31556584 731772 2.23 168400 4232260 1838300 5.42 1496376 3563732 412 21:15:05 Average: 27579822 31584673 712208 2.17 158228 3992055 1825298 5.38 1378247 3412219 601 21:15:05 21:15:05 21:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:15:05 21:03:01 veth2a0a02a 62.34 83.90 5.95 50.83 0.00 0.00 0.00 0.00 21:15:05 21:03:01 ens3 861.56 568.79 6877.24 102.55 0.00 0.00 0.00 0.00 21:15:05 21:03:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 21:15:05 21:03:01 docker0 90.70 115.01 7.25 292.99 0.00 0.00 0.00 0.00 21:15:05 21:04:01 ens3 289.15 166.81 1880.21 34.62 0.00 0.00 0.00 0.00 21:15:05 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:04:01 docker0 146.53 256.51 10.75 1850.63 0.00 0.00 0.00 0.00 21:15:05 21:05:01 ens3 152.62 106.33 2688.25 85.23 0.00 0.00 0.00 0.00 21:15:05 21:05:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 21:15:05 21:05:01 docker0 3.00 6.73 0.19 85.54 0.00 0.00 0.00 0.00 21:15:05 21:06:01 ens3 0.78 0.28 0.16 0.08 0.00 0.00 0.00 0.00 21:15:05 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:07:01 ens3 96.58 38.56 1951.73 3.08 0.00 0.00 0.00 0.00 21:15:05 21:07:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:15:05 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:08:01 ens3 0.43 0.33 0.09 0.08 0.00 0.00 0.00 0.00 21:15:05 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:09:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:10:01 ens3 0.18 0.12 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:11:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:12:01 ens3 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:13:01 ens3 0.17 0.13 0.08 0.07 0.00 0.00 0.00 0.00 21:15:05 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:14:01 ens3 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:15:05 21:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 21:15:01 ens3 25.53 14.98 25.93 8.55 0.00 0.00 0.00 0.00 21:15:05 21:15:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 21:15:05 21:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:15:05 Average: ens3 109.80 68.96 1032.58 18.02 0.00 0.00 0.00 0.00 21:15:05 Average: lo 0.82 0.82 0.08 0.08 0.00 0.00 0.00 0.00 21:15:05 Average: docker0 18.48 29.10 1.40 171.47 0.00 0.00 0.00 0.00 21:15:05 21:15:05 21:15:05 ---> sar -P ALL: 21:15:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9323) 04/21/23 _x86_64_ (8 CPU) 21:15:05 21:15:05 21:01:38 LINUX RESTART (8 CPU) 21:15:05 21:15:05 21:02:01 CPU %user %nice %system %iowait %steal %idle 21:15:05 21:03:01 all 9.77 0.00 3.25 2.02 0.06 84.90 21:15:05 21:03:01 0 8.83 0.00 3.08 0.39 0.05 87.66 21:15:05 21:03:01 1 9.71 0.00 2.96 0.13 0.05 87.15 21:15:05 21:03:01 2 8.54 0.00 2.87 1.61 0.05 86.93 21:15:05 21:03:01 3 8.17 0.00 3.93 0.24 0.07 87.60 21:15:05 21:03:01 4 7.53 0.00 2.85 4.60 0.07 84.96 21:15:05 21:03:01 5 12.85 0.00 3.59 7.26 0.05 76.25 21:15:05 21:03:01 6 11.99 0.00 2.98 1.16 0.07 83.80 21:15:05 21:03:01 7 10.57 0.00 3.73 0.80 0.07 84.84 21:15:05 21:04:01 all 28.94 0.00 5.50 3.26 0.09 62.20 21:15:05 21:04:01 0 28.12 0.00 5.45 0.35 0.08 65.99 21:15:05 21:04:01 1 28.85 0.00 5.20 1.03 0.08 64.84 21:15:05 21:04:01 2 29.05 0.00 5.29 0.24 0.07 65.36 21:15:05 21:04:01 3 29.12 0.00 5.23 0.13 0.08 65.43 21:15:05 21:04:01 4 27.37 0.00 6.48 16.83 0.08 49.23 21:15:05 21:04:01 5 29.61 0.00 5.55 2.77 0.08 61.99 21:15:05 21:04:01 6 30.29 0.00 5.55 0.96 0.12 63.08 21:15:05 21:04:01 7 29.09 0.00 5.29 3.81 0.15 61.66 21:15:05 21:05:01 all 16.92 0.00 4.20 2.14 0.06 76.68 21:15:05 21:05:01 0 16.85 0.00 3.59 0.05 0.05 79.45 21:15:05 21:05:01 1 17.81 0.00 3.80 0.86 0.07 77.46 21:15:05 21:05:01 2 16.86 0.00 4.08 0.20 0.05 78.81 21:15:05 21:05:01 3 17.54 0.00 4.79 2.73 0.07 74.87 21:15:05 21:05:01 4 17.62 0.00 4.38 2.26 0.05 75.70 21:15:05 21:05:01 5 16.75 0.00 3.98 3.29 0.07 75.91 21:15:05 21:05:01 6 16.16 0.00 4.88 7.08 0.07 71.82 21:15:05 21:05:01 7 15.76 0.00 4.13 0.69 0.07 79.35 21:15:05 21:06:01 all 0.27 0.00 0.01 0.00 0.00 99.70 21:15:05 21:06:01 0 0.03 0.00 0.00 0.00 0.00 99.97 21:15:05 21:06:01 1 1.99 0.00 0.02 0.00 0.00 98.00 21:15:05 21:06:01 2 0.08 0.00 0.02 0.00 0.00 99.90 21:15:05 21:06:01 3 0.02 0.00 0.03 0.00 0.02 99.93 21:15:05 21:06:01 4 0.02 0.00 0.02 0.03 0.00 99.93 21:15:05 21:06:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:06:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:06:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:07:01 all 1.43 0.00 0.64 0.62 0.01 97.29 21:15:05 21:07:01 0 0.67 0.00 0.45 0.27 0.02 98.60 21:15:05 21:07:01 1 1.93 0.00 0.51 0.07 0.02 97.48 21:15:05 21:07:01 2 1.13 0.00 0.60 0.38 0.02 97.87 21:15:05 21:07:01 3 1.84 0.00 0.79 0.48 0.02 96.88 21:15:05 21:07:01 4 1.99 0.00 0.52 1.92 0.02 95.56 21:15:05 21:07:01 5 0.90 0.00 0.68 0.82 0.00 97.60 21:15:05 21:07:01 6 1.45 0.00 0.90 0.63 0.02 97.00 21:15:05 21:07:01 7 1.57 0.00 0.64 0.42 0.02 97.36 21:15:05 21:08:01 all 0.03 0.00 0.03 0.01 0.00 99.93 21:15:05 21:08:01 0 0.02 0.00 0.02 0.02 0.00 99.95 21:15:05 21:08:01 1 0.02 0.00 0.03 0.00 0.00 99.95 21:15:05 21:08:01 2 0.08 0.00 0.08 0.00 0.02 99.82 21:15:05 21:08:01 3 0.05 0.00 0.03 0.00 0.00 99.92 21:15:05 21:08:01 4 0.00 0.00 0.02 0.02 0.00 99.97 21:15:05 21:08:01 5 0.05 0.00 0.00 0.00 0.02 99.93 21:15:05 21:08:01 6 0.00 0.00 0.00 0.03 0.00 99.97 21:15:05 21:08:01 7 0.02 0.00 0.03 0.00 0.00 99.95 21:15:05 21:09:01 all 0.04 0.00 0.01 0.00 0.00 99.95 21:15:05 21:09:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:15:05 21:09:01 1 0.05 0.00 0.00 0.00 0.00 99.95 21:15:05 21:09:01 2 0.12 0.00 0.05 0.00 0.02 99.82 21:15:05 21:09:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:15:05 21:09:01 4 0.02 0.00 0.00 0.02 0.00 99.97 21:15:05 21:09:01 5 0.03 0.00 0.00 0.00 0.00 99.97 21:15:05 21:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:09:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:10:01 all 0.01 0.00 0.01 0.00 0.00 99.97 21:15:05 21:10:01 0 0.02 0.00 0.02 0.02 0.02 99.93 21:15:05 21:10:01 1 0.03 0.00 0.00 0.00 0.02 99.95 21:15:05 21:10:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:10:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:10:01 4 0.02 0.00 0.03 0.02 0.00 99.93 21:15:05 21:10:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:10:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:10:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:15:05 21:11:01 all 0.02 0.00 0.01 0.00 0.01 99.96 21:15:05 21:11:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:11:01 1 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:11:01 2 0.07 0.00 0.02 0.00 0.02 99.90 21:15:05 21:11:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:15:05 21:11:01 4 0.00 0.00 0.00 0.02 0.02 99.97 21:15:05 21:11:01 5 0.03 0.00 0.03 0.00 0.00 99.93 21:15:05 21:11:01 6 0.00 0.00 0.00 0.02 0.00 99.98 21:15:05 21:11:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:15:05 21:12:01 all 0.05 0.00 0.01 0.01 0.00 99.92 21:15:05 21:12:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:12:01 1 0.05 0.00 0.00 0.00 0.00 99.95 21:15:05 21:12:01 2 0.28 0.00 0.07 0.02 0.02 99.62 21:15:05 21:12:01 3 0.02 0.00 0.03 0.00 0.00 99.95 21:15:05 21:12:01 4 0.02 0.00 0.00 0.05 0.00 99.93 21:15:05 21:12:01 5 0.03 0.00 0.00 0.00 0.00 99.97 21:15:05 21:12:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:13:01 all 0.02 0.00 0.01 0.00 0.00 99.96 21:15:05 21:13:01 0 0.00 0.00 0.02 0.02 0.00 99.97 21:15:05 21:13:01 1 0.02 0.00 0.00 0.00 0.02 99.97 21:15:05 21:13:01 2 0.12 0.00 0.03 0.00 0.00 99.85 21:15:05 21:13:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:15:05 21:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:13:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:13:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:15:05 21:13:01 CPU %user %nice %system %iowait %steal %idle 21:15:05 21:14:01 all 0.02 0.00 0.01 0.00 0.00 99.96 21:15:05 21:14:01 0 0.02 0.00 0.00 0.00 0.02 99.97 21:15:05 21:14:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:14:01 2 0.10 0.00 0.03 0.00 0.02 99.85 21:15:05 21:14:01 3 0.00 0.00 0.02 0.00 0.00 99.98 21:15:05 21:14:01 4 0.00 0.00 0.02 0.03 0.00 99.95 21:15:05 21:14:01 5 0.00 0.00 0.02 0.00 0.00 99.98 21:15:05 21:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:15:05 21:14:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:15:05 21:15:01 all 0.52 0.00 0.24 0.02 0.01 99.21 21:15:05 21:15:01 0 0.58 0.00 0.28 0.02 0.00 99.12 21:15:05 21:15:01 1 0.25 0.00 0.20 0.00 0.00 99.55 21:15:05 21:15:01 2 0.57 0.00 0.22 0.03 0.02 99.17 21:15:05 21:15:01 3 1.07 0.00 0.25 0.02 0.02 98.65 21:15:05 21:15:01 4 0.40 0.00 0.30 0.07 0.02 99.22 21:15:05 21:15:01 5 0.65 0.00 0.25 0.00 0.00 99.10 21:15:05 21:15:01 6 0.18 0.00 0.23 0.00 0.00 99.58 21:15:05 21:15:01 7 0.47 0.00 0.20 0.03 0.00 99.30 21:15:05 Average: all 4.43 0.00 1.06 0.62 0.02 93.87 21:15:05 Average: 0 4.22 0.00 0.99 0.09 0.02 94.69 21:15:05 Average: 1 4.65 0.00 0.97 0.16 0.02 94.20 21:15:05 Average: 2 4.35 0.00 1.02 0.19 0.02 94.42 21:15:05 Average: 3 4.42 0.00 1.15 0.28 0.02 94.13 21:15:05 Average: 4 4.19 0.00 1.11 1.97 0.02 92.70 21:15:05 Average: 5 4.65 0.00 1.08 1.08 0.02 93.17 21:15:05 Average: 6 4.57 0.00 1.11 0.75 0.02 93.55 21:15:05 Average: 7 4.39 0.00 1.07 0.44 0.02 94.08 21:15:05 21:15:05 21:15:05