Pull request #301 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e053017f6210e68a118343bc0c3f80515b885ea+d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 (dded0645984aa2d059aafefe5510d244d92a4c9f) 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-ssh1317868658507800732.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-ssh12102401128350007069.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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11987498085614169578.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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4328674792425031413.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-ssh7507938066818654059.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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh27363392012582985.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11072 in /w/workspace/gexfoundry_device-rest-go_PR-301 [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-301 # 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 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit 9e053017f6210e68a118343bc0c3f80515b885ea Merge succeeded, producing 9e053017f6210e68a118343bc0c3f80515b885ea Checking out Revision 9e053017f6210e68a118343bc0c3f80515b885ea (PR-301) 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 > 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/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e053017f6210e68a118343bc0c3f80515b885ea # 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 d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e053017f6210e68a118343bc0c3f80515b885ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:18 ========================================================= 20:59:18 EdgeX Global Pipelines Version Info 20:59:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:19 ------------------- 20:59:19 stable info: 20:59:19 ------------------- 20:59:19 Commited By: Bill Mahoney bill.mahoney@intel.com 20:59:19 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:19 Message: update stable to v1.0.248 20:59:19 ------------------- 20:59:19 experimental info: 20:59:19 ------------------- 20:59:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:19 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:19 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e053017f6210e68a118343bc0c3f80515b885ea [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e05301 [Pipeline] echo 20:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:21 provisioning config files... 20:59:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/config9881935815334410026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:22 ---> docker-login.sh 20:59:22 nexus3.edgexfoundry.org:10001 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 nexus3.edgexfoundry.org:10002 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 nexus3.edgexfoundry.org:10003 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 nexus3.edgexfoundry.org:10004 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 docker.io 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 ---> docker-login.sh ends [Pipeline] } 20:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:23 + git rev-list -1 --merges 9e053017f6210e68a118343bc0c3f80515b885ea~1..9e053017f6210e68a118343bc0c3f80515b885ea [Pipeline] echo 20:59:23 -----------> git rev-list -1 --merges 9e053017f6210e68a118343bc0c3f80515b885ea~1..9e053017f6210e68a118343bc0c3f80515b885ea 9e053017f6210e68a118343bc0c3f80515b885ea [false] [Pipeline] sh 20:59:24 + git log --format=format:%s -1 9e053017f6210e68a118343bc0c3f80515b885ea [Pipeline] echo 20:59:24 ========================================================= 20:59:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:24 + git log --format=format:%s -1 9e053017f6210e68a118343bc0c3f80515b885ea [Pipeline] echo 20:59:24 [semverPrep] GIT_COMMIT: 9e053017f6210e68a118343bc0c3f80515b885ea, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:59:25 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:25 + grep -v github /etc/ssh/ssh_known_hosts 20:59:25 + [ -e /tmp/ssh_known_hosts ] 20:59:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:25 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:25 20:59:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:26 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:26 b85a868b505f: Pulling fs layer 20:59:26 e2be974225ed: Pulling fs layer 20:59:26 339a4e72a1f5: Pulling fs layer 20:59:26 988bab9f4d93: Pulling fs layer 20:59:26 1469e6f7b9e6: Pulling fs layer 20:59:26 eaf3925da568: Pulling fs layer 20:59:26 bab4dde63d76: Pulling fs layer 20:59:26 bde34c3a00c8: Pulling fs layer 20:59:26 b352a97aabf1: Pulling fs layer 20:59:26 988bab9f4d93: Waiting 20:59:26 1469e6f7b9e6: Waiting 20:59:26 eaf3925da568: Waiting 20:59:26 bab4dde63d76: Waiting 20:59:26 bde34c3a00c8: Waiting 20:59:26 4872d77fe225: Pulling fs layer 20:59:26 b352a97aabf1: Waiting 20:59:26 5851b861e8e6: Pulling fs layer 20:59:26 4872d77fe225: Waiting 20:59:27 e2be974225ed: Verifying Checksum 20:59:27 988bab9f4d93: Verifying Checksum 20:59:27 988bab9f4d93: Download complete 20:59:27 339a4e72a1f5: Verifying Checksum 20:59:27 339a4e72a1f5: Download complete 20:59:27 1469e6f7b9e6: Verifying Checksum 20:59:27 1469e6f7b9e6: Download complete 20:59:27 eaf3925da568: Download complete 20:59:27 bde34c3a00c8: Verifying Checksum 20:59:27 bde34c3a00c8: Download complete 20:59:27 b352a97aabf1: Verifying Checksum 20:59:27 b352a97aabf1: Download complete 20:59:27 4872d77fe225: Download complete 20:59:27 5851b861e8e6: Verifying Checksum 20:59:27 5851b861e8e6: Download complete 20:59:27 b85a868b505f: Verifying Checksum 20:59:27 b85a868b505f: Download complete 20:59:27 bab4dde63d76: Verifying Checksum 20:59:27 bab4dde63d76: Download complete 20:59:28 b85a868b505f: Pull complete 20:59:28 e2be974225ed: Pull complete 20:59:29 339a4e72a1f5: Pull complete 20:59:29 988bab9f4d93: Pull complete 20:59:29 1469e6f7b9e6: Pull complete 20:59:29 eaf3925da568: Pull complete 20:59:31 bab4dde63d76: Pull complete 20:59:31 bde34c3a00c8: Pull complete 20:59:31 b352a97aabf1: Pull complete 20:59:31 4872d77fe225: Pull complete 20:59:31 5851b861e8e6: Pull complete 20:59:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:32 prd-ubuntu20.04-docker-8c-8g-11072 does not seem to be running inside a container 20:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-301 -v /w/workspace/gexfoundry_device-rest-go_PR-301:/w/workspace/gexfoundry_device-rest-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-301@tmp:/w/workspace/gexfoundry_device-rest-go_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:33 $ docker top bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d -eo pid,comm 20:59:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:33 [ssh-agent] Looking for ssh-agent implementation... 20:59:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:33 $ docker exec bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d ssh-agent 20:59:33 SSH_AUTH_SOCK=/tmp/ssh-SLaLidJLJbop/agent.32 20:59:33 SSH_AGENT_PID=38 20:59:33 Running ssh-add (command line suppressed) 20:59:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-301@tmp/private_key_5783687043895503800.key (/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/private_key_5783687043895503800.key) 20:59:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:34 + git tag --points-at HEAD [Pipeline] } 20:59:34 $ docker exec --env ******** --env ******** bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d ssh-agent -k 20:59:34 unset SSH_AUTH_SOCK; 20:59:34 unset SSH_AGENT_PID; 20:59:34 echo Agent pid 38 killed; 20:59:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:34 [ssh-agent] Looking for ssh-agent implementation... 20:59:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:34 $ docker exec bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d ssh-agent 20:59:34 SSH_AUTH_SOCK=/tmp/ssh-2FELriZowAhC/agent.71 20:59:34 SSH_AGENT_PID=77 20:59:34 Running ssh-add (command line suppressed) 20:59:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-301@tmp/private_key_1825170295188785361.key (/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/private_key_1825170295188785361.key) 20:59:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:35 + git semver init 20:59:35 2023-04-26 20:59:35,356 [run_init] DEBUG init version:0.0.0 force:False 20:59:35 2023-04-26 20:59:35,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-301/.semver 20:59:35 2023-04-26 20:59:35,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-301/.semver 20:59:35 2023-04-26 20:59:35,358 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-301/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-301, universal_newlines=False, shell=None, istream=None) 20:59:36 2023-04-26 20:59:36,270 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-301/.git/info/exclude 20:59:36 2023-04-26 20:59:36,270 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-301/.semver/PR-301 with force:False 20:59:36 2023-04-26 20:59:36,270 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-301/.semver/PR-301 20:59:36 2023-04-26 20:59:36,274 [execute] INFO git cat-file --batch-check 20:59:36 2023-04-26 20:59:36,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) 20:59:36 2023-04-26 20:59:36,281 [execute] INFO git cat-file --batch 20:59:36 2023-04-26 20:59:36,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) 20:59:36 2023-04-26 20:59:36,286 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-301/.semver/PR-301 20:59:36 0.0.0 [Pipeline] } 20:59:36 $ docker exec --env ******** --env ******** bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d ssh-agent -k 20:59:36 unset SSH_AUTH_SOCK; 20:59:36 unset SSH_AGENT_PID; 20:59:36 echo Agent pid 77 killed; 20:59:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:36 + git semver [Pipeline] } 20:59:37 $ docker stop --time=1 bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d 20:59:38 $ docker rm -f --volumes bfda2fe2b12a2ee389bd1f5f6de7b1fa74351a97cd677388ac8d00147c7b9d8d [Pipeline] // withDockerContainer [Pipeline] sh 20:59:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:39 Stashed 1 file(s) [Pipeline] echo 20:59:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:39 provisioning config files... 20:59:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/config18383368670686389285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:40 ---> docker-login.sh 20:59:40 nexus3.edgexfoundry.org:10001 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10002 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10003 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10004 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 docker.io 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 ---> docker-login.sh ends [Pipeline] } 20:59:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:41 ========================================================= 20:59:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:59:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:59:41 Sending build context to Docker daemon 10.91MB 20:59:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:59:41 Step 2/12 : FROM ${BASE} AS builder 20:59:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:41 f56be85fc22e: Pulling fs layer 20:59:41 85791d961cd3: Pulling fs layer 20:59:41 d694b5ae8c79: Pulling fs layer 20:59:41 9f32a84ed3da: Pulling fs layer 20:59:41 4d19c01a9841: Pulling fs layer 20:59:41 9325e15d5711: Pulling fs layer 20:59:41 556b6ee489ea: Pulling fs layer 20:59:41 c5a4b2cf53e6: Pulling fs layer 20:59:41 9f32a84ed3da: Waiting 20:59:41 4d19c01a9841: Waiting 20:59:41 9325e15d5711: Waiting 20:59:41 556b6ee489ea: Waiting 20:59:41 85791d961cd3: Download complete 20:59:41 9f32a84ed3da: Verifying Checksum 20:59:41 4d19c01a9841: Verifying Checksum 20:59:41 4d19c01a9841: Download complete 20:59:41 f56be85fc22e: Verifying Checksum 20:59:41 f56be85fc22e: Download complete 20:59:41 9325e15d5711: Verifying Checksum 20:59:41 9325e15d5711: Download complete 20:59:41 f56be85fc22e: Pull complete 20:59:42 85791d961cd3: Pull complete 20:59:42 c5a4b2cf53e6: Verifying Checksum 20:59:42 c5a4b2cf53e6: Download complete 20:59:42 d694b5ae8c79: Verifying Checksum 20:59:42 d694b5ae8c79: Download complete 20:59:42 556b6ee489ea: Verifying Checksum 20:59:42 556b6ee489ea: Download complete 20:59:46 d694b5ae8c79: Pull complete 20:59:46 9f32a84ed3da: Pull complete 20:59:46 4d19c01a9841: Pull complete 20:59:46 9325e15d5711: Pull complete 20:59:48 556b6ee489ea: Pull complete 20:59:49 c5a4b2cf53e6: Pull complete 20:59:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:59:49 ---> c4be618373d6 20:59:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:50 ---> Running in 64391906af2d 20:59:50 Removing intermediate container 64391906af2d 20:59:50 ---> 5c1be593d8b5 20:59:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:50 ---> Running in ec8f5cfc88da 20:59:50 Removing intermediate container ec8f5cfc88da 20:59:50 ---> fdef4e429817 20:59:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:50 ---> Running in 571e69e69cab 20:59:50 Removing intermediate container 571e69e69cab 20:59:50 ---> 084d9f1df5a9 20:59:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:50 ---> Running in 3a91ef47ba2a 20:59:50 Removing intermediate container 3a91ef47ba2a 20:59:50 ---> 7ba942b3c46d 20:59:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:50 ---> Running in 0b0ddd033010 20:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:59:51 (2/4) Installing libedit (20221030.3.1-r0) 20:59:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:59:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:59:51 Executing busybox-1.35.0-r29.trigger 20:59:51 OK: 269 MiB in 57 packages 20:59:51 Removing intermediate container 0b0ddd033010 20:59:51 ---> 305f10d0acc6 20:59:51 Step 8/12 : WORKDIR /device-rest-go 20:59:51 ---> Running in e1b444784697 20:59:52 Removing intermediate container e1b444784697 20:59:52 ---> 03bf354aec8b 20:59:52 Step 9/12 : COPY go.mod vendor* ./ 20:59:52 ---> 096314220fe0 20:59:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:52 ---> Running in 196d0c7c8d73 20:59:54 Still waiting to schedule task 20:59:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:00:10 Removing intermediate container 196d0c7c8d73 21:00:10 ---> 41c4cfb4b2f0 21:00:10 Step 11/12 : COPY . . 21:00:10 ---> 12a6c0bc852c 21:00:10 Step 12/12 : RUN $MAKE 21:00:10 ---> Running in 17cd785fc604 21:00:10 noop 21:00:10 Removing intermediate container 17cd785fc604 21:00:10 ---> 0f1384fa5c2c 21:00:10 Successfully built 0f1384fa5c2c 21:00:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:10 + docker inspect -f . ci-base-image-x86_64 21:00:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:11 prd-ubuntu20.04-docker-8c-8g-11072 does not seem to be running inside a container 21:00:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-301 -v /w/workspace/gexfoundry_device-rest-go_PR-301:/w/workspace/gexfoundry_device-rest-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-301@tmp:/w/workspace/gexfoundry_device-rest-go_PR-301@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:00:11 $ docker top 248ab9aa063b8542cbb8a857de6422942cfb99628e6d1035f3e4b252a6559ca7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:11 + go version 21:00:11 go version go1.20.2 linux/amd64 [Pipeline] } 21:00:11 $ docker stop --time=1 248ab9aa063b8542cbb8a857de6422942cfb99628e6d1035f3e4b252a6559ca7 21:00:13 $ docker rm -f --volumes 248ab9aa063b8542cbb8a857de6422942cfb99628e6d1035f3e4b252a6559ca7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:13 + docker inspect -f . ci-base-image-x86_64 21:00:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:13 prd-ubuntu20.04-docker-8c-8g-11072 does not seem to be running inside a container 21:00:13 $ 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-301 -v /w/workspace/gexfoundry_device-rest-go_PR-301:/w/workspace/gexfoundry_device-rest-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-301@tmp:/w/workspace/gexfoundry_device-rest-go_PR-301@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:00:14 $ docker top d705d40deeb7d9830c4fecc4f04238154b279c9f70ea9485166c0c573cbe93ae -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-301 [Pipeline] fileExists [Pipeline] sh 21:00:15 + make test 21:00:15 go test ./... -coverprofile=coverage.out ./... 21:00:20 ? github.com/edgexfoundry/device-rest-go [no test files] 21:00:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:00:30 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements 21:00:34 go vet ./... 21:00:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:38 $ docker stop --time=1 d705d40deeb7d9830c4fecc4f04238154b279c9f70ea9485166c0c573cbe93ae 21:00:40 $ docker rm -f --volumes d705d40deeb7d9830c4fecc4f04238154b279c9f70ea9485166c0c573cbe93ae [Pipeline] // withDockerContainer [Pipeline] sh 21:00:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:42 + ls -al . 21:00:42 total 184 21:00:42 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 21:00 . 21:00:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 .. 21:00:42 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 20:59 .dockerignore 21:00:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 20:59 .git 21:00:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 .github 21:00:42 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 20:59 .gitignore 21:00:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 20:59 .golangci.yml 21:00:42 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 20:59 .semver 21:00:42 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 20:59 Attribution.txt 21:00:42 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 20:59 CHANGELOG.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 20:59 Dockerfile 21:00:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 20:59 GOVERNANCE.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 20:59 Jenkinsfile 21:00:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 20:59 LICENSE 21:00:42 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 20:59 Makefile 21:00:42 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 20:59 OWNERS.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 20:59 README.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 20:59 VERSION 21:00:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 bin 21:00:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 cmd 21:00:42 -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:00 coverage.out 21:00:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 driver 21:00:42 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 20:59 go.mod 21:00:42 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 20:59 go.sum 21:00:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 snap 21:00:42 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:42 + 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=9e053017f6210e68a118343bc0c3f80515b885ea --label arch=amd64 --label version=0.0.0 . 21:00:42 Sending build context to Docker daemon 10.92MB 21:00:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:00:42 Step 2/25 : FROM ${BASE} AS builder 21:00:42 ---> 0f1384fa5c2c 21:00:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:42 ---> Running in 0f089254ead4 21:00:42 Removing intermediate container 0f089254ead4 21:00:42 ---> 7a24b92e7f4a 21:00:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:42 ---> Running in 2af95979e88e 21:00:42 Removing intermediate container 2af95979e88e 21:00:42 ---> 9c15e76bcbdb 21:00:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:42 ---> Running in 78c50d47175a 21:00:42 Removing intermediate container 78c50d47175a 21:00:42 ---> 056159bd729c 21:00:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:42 ---> Running in 78de6f5e1944 21:00:42 Removing intermediate container 78de6f5e1944 21:00:42 ---> 8d946ca72570 21:00:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:42 ---> Running in 01932fe1f642 21:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:43 OK: 269 MiB in 57 packages 21:00:43 Removing intermediate container 01932fe1f642 21:00:43 ---> ba1dc5c07e85 21:00:43 Step 8/25 : WORKDIR /device-rest-go 21:00:43 ---> Running in 8d59527e6bb0 21:00:43 Removing intermediate container 8d59527e6bb0 21:00:43 ---> 51962ca9df12 21:00:43 Step 9/25 : COPY go.mod vendor* ./ 21:00:44 ---> f71c992186c7 21:00:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:44 ---> Running in 5fb7da15f593 21:00:44 Removing intermediate container 5fb7da15f593 21:00:44 ---> df6c6db12968 21:00:44 Step 11/25 : COPY . . 21:00:44 ---> eb9a98d1bc73 21:00:44 Step 12/25 : RUN $MAKE 21:00:44 ---> Running in 9cd7765b289c 21:00:45 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:01:03 Removing intermediate container 9cd7765b289c 21:01:03 ---> 1997fdaf306f 21:01:03 Step 13/25 : FROM alpine:3.17 21:01:03 3.17: Pulling from library/alpine 21:01:03 f56be85fc22e: Already exists 21:01:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:01:03 Status: Downloaded newer image for alpine:3.17 21:01:03 ---> 9ed4aefc74f6 21:01:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:01:03 ---> Running in f66aa9d7bd4f 21:01:03 Removing intermediate container f66aa9d7bd4f 21:01:03 ---> 9b9353d53ba6 21:01:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:01:03 ---> Running in 6aca169bd928 21:01:03 Removing intermediate container 6aca169bd928 21:01:03 ---> f1893cbc1ac5 21:01:03 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:01:03 ---> Running in a7a518e8ccc8 21:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:03 (1/1) Installing dumb-init (1.2.5-r2) 21:01:03 Executing busybox-1.35.0-r29.trigger 21:01:03 OK: 7 MiB in 16 packages 21:01:03 Removing intermediate container a7a518e8ccc8 21:01:03 ---> a890f328bf69 21:01:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:01:04 ---> a3ec282cd44a 21:01:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:01:04 ---> 0f87d12c4a59 21:01:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:01:04 ---> 5bbf4153fb7e 21:01:04 Step 20/25 : EXPOSE 59986 21:01:04 ---> Running in 5e8c0e357c95 21:01:04 Removing intermediate container 5e8c0e357c95 21:01:04 ---> e8efe1489ad0 21:01:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:01:04 ---> Running in 07bc57915585 21:01:04 Removing intermediate container 07bc57915585 21:01:04 ---> cc01adc28e21 21:01:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:01:04 ---> Running in da487a915f1c 21:01:04 Removing intermediate container da487a915f1c 21:01:04 ---> ec0c98d183e2 21:01:04 Step 23/25 : LABEL arch=amd64 21:01:04 ---> Running in 9f4060f8670e 21:01:04 Removing intermediate container 9f4060f8670e 21:01:04 ---> 594357ea0b99 21:01:04 Step 24/25 : LABEL git_sha=9e053017f6210e68a118343bc0c3f80515b885ea 21:01:04 ---> Running in 4d3de8248985 21:01:04 Removing intermediate container 4d3de8248985 21:01:04 ---> ffa63a7d24e8 21:01:04 Step 25/25 : LABEL version=0.0.0 21:01:04 ---> Running in 67f0984babf0 21:01:04 Removing intermediate container 67f0984babf0 21:01:04 ---> 1a1b90284efc 21:01:04 [Warning] One or more build-args [ARCH] were not consumed 21:01:04 Successfully built 1a1b90284efc 21:01:04 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:01:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:05 21:01:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:06 latest: Pulling from edgex-lftools-log-publisher 21:01:06 5eb5b503b376: Pulling fs layer 21:01:06 5c69ac0246d0: Pulling fs layer 21:01:06 ec43610c2a17: Pulling fs layer 21:01:06 3a2ae6a8a46f: Pulling fs layer 21:01:06 33b1e0a273af: Pulling fs layer 21:01:06 5d3b04190fa2: Pulling fs layer 21:01:06 2f39f015ded8: Pulling fs layer 21:01:06 3a2ae6a8a46f: Waiting 21:01:06 5d3b04190fa2: Waiting 21:01:06 2f39f015ded8: Waiting 21:01:06 33b1e0a273af: Waiting 21:01:06 5c69ac0246d0: Download complete 21:01:06 3a2ae6a8a46f: Verifying Checksum 21:01:06 3a2ae6a8a46f: Download complete 21:01:06 33b1e0a273af: Verifying Checksum 21:01:06 33b1e0a273af: Download complete 21:01:06 5d3b04190fa2: Verifying Checksum 21:01:06 5d3b04190fa2: Download complete 21:01:06 ec43610c2a17: Download complete 21:01:06 5eb5b503b376: Verifying Checksum 21:01:06 5eb5b503b376: Download complete 21:01:07 2f39f015ded8: Download complete 21:01:07 5eb5b503b376: Pull complete 21:01:07 5c69ac0246d0: Pull complete 21:01:08 ec43610c2a17: Pull complete 21:01:08 3a2ae6a8a46f: Pull complete 21:01:08 33b1e0a273af: Pull complete 21:01:08 5d3b04190fa2: Pull complete 21:01:12 2f39f015ded8: Pull complete 21:01:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:13 prd-ubuntu20.04-docker-8c-8g-11072 does not seem to be running inside a container 21:01:13 $ 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-301 -v /w/workspace/gexfoundry_device-rest-go_PR-301:/w/workspace/gexfoundry_device-rest-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-301@tmp:/w/workspace/gexfoundry_device-rest-go_PR-301@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:01:14 $ docker top eda284f6eafe9f2b49f4eff33fa4b0046e920755a85582c789dd1f1087a0dbad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:14 ---> job-cost.sh 21:01:14 lf-activate-venv: SKIPPING 21:01:14 INFO: No Stack... 21:01:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:15 INFO: Archiving Costs [Pipeline] sh 21:01:15 + cat /w/workspace/gexfoundry_device-rest-go_PR-301/archives/cost.csv 21:01:15 + cut -d, -f6 [Pipeline] lock 21:01:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] 21:01:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] did not exist. Created. 21:01:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:16 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:16 Stashed 1 file(s) [Pipeline] } 21:01:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:16 $ docker stop --time=1 eda284f6eafe9f2b49f4eff33fa4b0046e920755a85582c789dd1f1087a0dbad 21:01:17 $ docker rm -f --volumes eda284f6eafe9f2b49f4eff33fa4b0046e920755a85582c789dd1f1087a0dbad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:02:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11074 in /w/workspace/gexfoundry_device-rest-go_PR-301 [Pipeline] { [Pipeline] ws 21:02:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:02:44 The recommended git tool is: git 21:02:50 using credential edgex-jenkins-ssh 21:02:50 Cloning the remote Git repository 21:02:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:02:50 > git init /w/workspace/device-rest-go/1 # timeout=10 21:02:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:02:51 > git --version # timeout=10 21:02:51 > git --version # 'git version 2.25.1' 21:02:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:02:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:55 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit 9e053017f6210e68a118343bc0c3f80515b885ea 21:02:55 Merge succeeded, producing 9e053017f6210e68a118343bc0c3f80515b885ea 21:02:55 Checking out Revision 9e053017f6210e68a118343bc0c3f80515b885ea (PR-301) 21:02:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:02:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:02:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:02:55 > git config core.sparsecheckout # timeout=10 21:02:55 > git checkout -f 9e053017f6210e68a118343bc0c3f80515b885ea # timeout=10 21:02:55 > git remote # timeout=10 21:02:55 > git config --get remote.origin.url # timeout=10 21:02:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:55 > git merge d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 21:02:55 > git rev-parse HEAD^{commit} # timeout=10 21:02:55 > git config core.sparsecheckout # timeout=10 21:02:55 > git checkout -f 9e053017f6210e68a118343bc0c3f80515b885ea # timeout=10 21:02:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:02:56 > git --version # timeout=10 21:02:56 > git --version # 'git version 2.25.1' 21:02:56 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:02:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:57 Dload Upload Total Spent Left Speed 21:02:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 21:02:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:02:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:02:58 + sudo tee /etc/docker/daemon.new 21:02:58 { 21:02:58 "registry-mirrors": [ 21:02:58 "https://nexus3.edgexfoundry.org:10001" 21:02:58 ], 21:02:58 "bip": "10.250.0.254/24", 21:02:58 "hosts": [ 21:02:58 "tcp://0.0.0.0:5555", 21:02:58 "unix:///var/run/docker.sock" 21:02:58 ], 21:02:58 "mtu": 1458, 21:02:58 "selinux-enabled": true, 21:02:58 "seccomp-profile": "/etc/docker/seccomp.json" 21:02:58 } [Pipeline] sh 21:02:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:02:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:17 provisioning config files... 21:03:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10923769054368066944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:18 ---> docker-login.sh 21:03:18 nexus3.edgexfoundry.org:10001 21:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:18 Configure a credential helper to remove this warning. See 21:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:18 21:03:18 Login Succeeded 21:03:18 nexus3.edgexfoundry.org:10002 21:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:19 Configure a credential helper to remove this warning. See 21:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:19 21:03:19 Login Succeeded 21:03:19 nexus3.edgexfoundry.org:10003 21:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:19 Configure a credential helper to remove this warning. See 21:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:19 21:03:19 Login Succeeded 21:03:19 nexus3.edgexfoundry.org:10004 21:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:20 Configure a credential helper to remove this warning. See 21:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:20 21:03:20 Login Succeeded 21:03:20 docker.io 21:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:20 Configure a credential helper to remove this warning. See 21:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:20 21:03:20 Login Succeeded 21:03:20 ---> docker-login.sh ends [Pipeline] } 21:03:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:21 ========================================================= 21:03:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:03:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:03:21 Sending build context to Docker daemon 138.8kB 21:03:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:03:23 Step 2/12 : FROM ${BASE} AS builder 21:03:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:03:23 c41833b44d91: Pulling fs layer 21:03:23 ed15518f5707: Pulling fs layer 21:03:23 feae8fd75edb: Pulling fs layer 21:03:23 242c74f7c9fa: Pulling fs layer 21:03:23 3cdef696dda3: Pulling fs layer 21:03:23 2ced38df9373: Pulling fs layer 21:03:23 58f1dce35555: Pulling fs layer 21:03:23 242c74f7c9fa: Waiting 21:03:23 3cdef696dda3: Waiting 21:03:23 2ced38df9373: Waiting 21:03:23 58f1dce35555: Waiting 21:03:23 ed15518f5707: Verifying Checksum 21:03:23 ed15518f5707: Download complete 21:03:23 242c74f7c9fa: Verifying Checksum 21:03:23 242c74f7c9fa: Download complete 21:03:23 3cdef696dda3: Verifying Checksum 21:03:23 3cdef696dda3: Download complete 21:03:23 c41833b44d91: Verifying Checksum 21:03:23 c41833b44d91: Download complete 21:03:24 c41833b44d91: Pull complete 21:03:25 58f1dce35555: Verifying Checksum 21:03:25 58f1dce35555: Download complete 21:03:25 ed15518f5707: Pull complete 21:03:26 feae8fd75edb: Verifying Checksum 21:03:26 feae8fd75edb: Download complete 21:03:26 2ced38df9373: Verifying Checksum 21:03:26 2ced38df9373: Download complete 21:03:39 feae8fd75edb: Pull complete 21:03:39 242c74f7c9fa: Pull complete 21:03:39 3cdef696dda3: Pull complete 21:03:46 2ced38df9373: Pull complete 21:03:50 58f1dce35555: Pull complete 21:03:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:03:50 ---> fadd8f120f05 21:03:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:03:51 ---> Running in d228ee2c8378 21:03:51 Removing intermediate container d228ee2c8378 21:03:51 ---> 7c634ca39473 21:03:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:51 ---> Running in bbc1d74eaa28 21:03:52 Removing intermediate container bbc1d74eaa28 21:03:52 ---> eef3ee9d619a 21:03:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:03:52 ---> Running in 408d45dd3f2e 21:03:52 Removing intermediate container 408d45dd3f2e 21:03:52 ---> f3b2a63d0718 21:03:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:03:52 ---> Running in b043d17e3585 21:03:53 Removing intermediate container b043d17e3585 21:03:53 ---> c42ff529db13 21:03:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:53 ---> Running in 224c9906a398 21:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:03:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:03:56 (2/4) Installing libedit (20221030.3.1-r0) 21:03:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:03:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:03:56 Executing busybox-1.35.0-r29.trigger 21:03:56 OK: 268 MiB in 57 packages 21:03:57 Removing intermediate container 224c9906a398 21:03:57 ---> eb2c0ff8526a 21:03:57 Step 8/12 : WORKDIR /device-rest-go 21:03:57 ---> Running in 195927ab77f9 21:03:58 Removing intermediate container 195927ab77f9 21:03:58 ---> 459735fbca0a 21:03:58 Step 9/12 : COPY go.mod vendor* ./ 21:03:58 ---> 59c2455a76dc 21:03:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:58 ---> Running in bb19a6e72502 21:05:20 Removing intermediate container bb19a6e72502 21:05:20 ---> e3848b88c00d 21:05:20 Step 11/12 : COPY . . 21:05:20 ---> 673ad2bf6d30 21:05:20 Step 12/12 : RUN $MAKE 21:05:20 ---> Running in 82c582832363 21:05:20 noop 21:05:20 Removing intermediate container 82c582832363 21:05:20 ---> e74467475245 21:05:20 Successfully built e74467475245 21:05:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:21 + docker inspect -f . ci-base-image-arm64 21:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-11074 does not seem to be running inside a container 21:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:05:22 $ docker top 1dfaad5f4067e71703cc7316392649cd25a258fd113939e722d54247062a9f23 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:23 + go version 21:05:23 go version go1.20.2 linux/arm64 [Pipeline] } 21:05:23 $ docker stop --time=1 1dfaad5f4067e71703cc7316392649cd25a258fd113939e722d54247062a9f23 21:05:25 $ docker rm -f --volumes 1dfaad5f4067e71703cc7316392649cd25a258fd113939e722d54247062a9f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:26 + docker inspect -f . ci-base-image-arm64 21:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-11074 does not seem to be running inside a container 21:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:05:27 $ docker top d9a7d19ca32502562597217a01f4bad9eb5411e3f8ccf489c04c519364edec9f -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:28 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:05:29 + make test 21:05:29 go test ./... -coverprofile=coverage.out ./... 21:06:08 ? github.com/edgexfoundry/device-rest-go [no test files] 21:08:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:08:15 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 32.2% of statements 21:08:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:08:15 go vet ./... 21:08:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:38 $ docker stop --time=1 d9a7d19ca32502562597217a01f4bad9eb5411e3f8ccf489c04c519364edec9f 21:08:40 $ docker rm -f --volumes d9a7d19ca32502562597217a01f4bad9eb5411e3f8ccf489c04c519364edec9f [Pipeline] // withDockerContainer [Pipeline] sh 21:08:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:41 Warning: overwriting stash ‘coverage-report’ 21:08:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:42 + ls -al . 21:08:42 total 180 21:08:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:05 . 21:08:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:02 .. 21:08:42 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 21:02 .dockerignore 21:08:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:02 .git 21:08:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:02 .github 21:08:42 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 21:02 .gitignore 21:08:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 21:02 .golangci.yml 21:08:42 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 21:02 Attribution.txt 21:08:42 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 21:02 CHANGELOG.md 21:08:42 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 21:02 Dockerfile 21:08:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 21:02 GOVERNANCE.md 21:08:42 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 21:02 Jenkinsfile 21:08:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 21:02 LICENSE 21:08:42 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 21:02 Makefile 21:08:42 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 21:02 OWNERS.md 21:08:42 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 21:02 README.md 21:08:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 20:59 VERSION 21:08:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:02 bin 21:08:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:02 cmd 21:08:42 -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:08 coverage.out 21:08:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:02 driver 21:08:42 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 21:02 go.mod 21:08:42 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 21:02 go.sum 21:08:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:02 snap 21:08:42 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:43 + 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=9e053017f6210e68a118343bc0c3f80515b885ea --label arch=arm64 --label version=0.0.0 . 21:08:43 Sending build context to Docker daemon 154.1kB 21:08:43 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:08:43 Step 2/25 : FROM ${BASE} AS builder 21:08:43 ---> e74467475245 21:08:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:08:43 ---> Running in 5d5d3ec68a14 21:08:44 Removing intermediate container 5d5d3ec68a14 21:08:44 ---> f0d4f27d2fae 21:08:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:44 ---> Running in 12e9f2099638 21:08:44 Removing intermediate container 12e9f2099638 21:08:44 ---> 71e7c9bd83cf 21:08:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:08:44 ---> Running in b81464cd4db9 21:08:44 Removing intermediate container b81464cd4db9 21:08:44 ---> 168978c5f499 21:08:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:08:44 ---> Running in a5fd1387b2c9 21:08:45 Removing intermediate container a5fd1387b2c9 21:08:45 ---> 029cb5e5a330 21:08:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:45 ---> Running in 4deeb8a47216 21:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:48 OK: 268 MiB in 57 packages 21:08:49 Removing intermediate container 4deeb8a47216 21:08:49 ---> e9de41fa23f6 21:08:49 Step 8/25 : WORKDIR /device-rest-go 21:08:49 ---> Running in 8edfef13378d 21:08:49 Removing intermediate container 8edfef13378d 21:08:49 ---> 0822143e149e 21:08:49 Step 9/25 : COPY go.mod vendor* ./ 21:08:50 ---> 6d1be6681857 21:08:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:50 ---> Running in b95e569da30f 21:08:52 Removing intermediate container b95e569da30f 21:08:52 ---> 305282d4f623 21:08:52 Step 11/25 : COPY . . 21:08:53 ---> 1d06f4140287 21:08:53 Step 12/25 : RUN $MAKE 21:08:53 ---> Running in 7645ff3372f3 21:08:54 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:11:16 Removing intermediate container 7645ff3372f3 21:11:16 ---> ca3f5ea759e3 21:11:16 Step 13/25 : FROM alpine:3.17 21:11:16 3.17: Pulling from library/alpine 21:11:16 c41833b44d91: Already exists 21:11:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:11:16 Status: Downloaded newer image for alpine:3.17 21:11:16 ---> 51e60588ff2c 21:11:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:11:16 ---> Running in b20453bc2490 21:11:16 Removing intermediate container b20453bc2490 21:11:16 ---> c2d5b2045e7a 21:11:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:11:16 ---> Running in c4690dc69e5d 21:11:16 Removing intermediate container c4690dc69e5d 21:11:16 ---> f1aabd924592 21:11:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:11:16 ---> Running in cad20a1c13be 21:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:19 (1/1) Installing dumb-init (1.2.5-r2) 21:11:19 Executing busybox-1.35.0-r29.trigger 21:11:19 OK: 8 MiB in 16 packages 21:11:20 Removing intermediate container cad20a1c13be 21:11:20 ---> 1256f2512a04 21:11:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:11:21 ---> d57cc0600207 21:11:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:11:22 ---> d52dfedd5a9f 21:11:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:11:22 ---> d1324140cab0 21:11:22 Step 20/25 : EXPOSE 59986 21:11:23 ---> Running in 6e66c5344207 21:11:23 Removing intermediate container 6e66c5344207 21:11:23 ---> b55062179165 21:11:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:11:23 ---> Running in 27670e32cf0e 21:11:23 Removing intermediate container 27670e32cf0e 21:11:23 ---> 4e8b6ba10b01 21:11:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:11:23 ---> Running in 5e94c5d87266 21:11:24 Removing intermediate container 5e94c5d87266 21:11:24 ---> 19280464b43c 21:11:24 Step 23/25 : LABEL arch=arm64 21:11:24 ---> Running in 53129e4e7a6e 21:11:24 Removing intermediate container 53129e4e7a6e 21:11:24 ---> 07cc080e976c 21:11:24 Step 24/25 : LABEL git_sha=9e053017f6210e68a118343bc0c3f80515b885ea 21:11:24 ---> Running in d0049890ddd4 21:11:24 Removing intermediate container d0049890ddd4 21:11:24 ---> 801b5566da28 21:11:24 Step 25/25 : LABEL version=0.0.0 21:11:24 ---> Running in b02b722440dc 21:11:25 Removing intermediate container b02b722440dc 21:11:25 ---> 5871b6e72072 21:11:25 [Warning] One or more build-args [ARCH] were not consumed 21:11:25 Successfully built 5871b6e72072 21:11:25 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:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:26 21:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:26 arm64: Pulling from edgex-lftools-log-publisher 21:11:26 8998bd30e6a1: Pulling fs layer 21:11:26 04944245beec: Pulling fs layer 21:11:26 699f458cf7ca: Pulling fs layer 21:11:26 765212b225bb: Pulling fs layer 21:11:26 f23df028b6ca: Pulling fs layer 21:11:26 d65c8cfc05b1: Pulling fs layer 21:11:26 2437ff75d9bd: Pulling fs layer 21:11:26 d65c8cfc05b1: Waiting 21:11:26 2437ff75d9bd: Waiting 21:11:26 765212b225bb: Waiting 21:11:26 04944245beec: Verifying Checksum 21:11:26 04944245beec: Download complete 21:11:26 765212b225bb: Verifying Checksum 21:11:26 765212b225bb: Download complete 21:11:26 f23df028b6ca: Download complete 21:11:26 d65c8cfc05b1: Verifying Checksum 21:11:26 d65c8cfc05b1: Download complete 21:11:27 699f458cf7ca: Verifying Checksum 21:11:27 699f458cf7ca: Download complete 21:11:27 8998bd30e6a1: Verifying Checksum 21:11:27 8998bd30e6a1: Download complete 21:11:29 2437ff75d9bd: Verifying Checksum 21:11:29 2437ff75d9bd: Download complete 21:11:31 8998bd30e6a1: Pull complete 21:11:31 04944245beec: Pull complete 21:11:33 699f458cf7ca: Pull complete 21:11:33 765212b225bb: Pull complete 21:11:34 f23df028b6ca: Pull complete 21:11:34 d65c8cfc05b1: Pull complete 21:11:49 2437ff75d9bd: Pull complete 21:11:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:11:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:50 prd-ubuntu20.04-docker-arm64-4c-16g-11074 does not seem to be running inside a container 21:11:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:11:53 $ docker top ed6932611798fe95421ee42f07e908c9898585ad0587a8dc26f2ac8f0b39d376 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:54 ---> job-cost.sh 21:11:54 lf-activate-venv: SKIPPING 21:11:54 INFO: No Stack... 21:11:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:55 INFO: Archiving Costs [Pipeline] sh 21:11:56 + cat+ /w/workspace/device-rest-go/1/archives/cost.csv 21:11:56 cut -d, -f6 [Pipeline] lock 21:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] 21:11:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] did not exist. Created. 21:11:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:56 /w/workspace/device-rest-go/1@tmp/durable-b1b74291/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:57 Warning: overwriting stash ‘stack-cost’ 21:11:57 Stashed 1 file(s) [Pipeline] } 21:11:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:57 $ docker stop --time=1 ed6932611798fe95421ee42f07e908c9898585ad0587a8dc26f2ac8f0b39d376 21:11:59 $ docker rm -f --volumes ed6932611798fe95421ee42f07e908c9898585ad0587a8dc26f2ac8f0b39d376 [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:12:00 provisioning config files... 21:12:00 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/config12925296439847421115tmp [Pipeline] { [Pipeline] sh 21:12:00 + set +x 21:12:00 + + curl -s https://codecov.io/bashbash 21:12:00 -s -- 21:12:00 21:12:00 _____ _ 21:12:00 / ____| | | 21:12:00 | | ___ __| | ___ ___ _____ __ 21:12:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:12:00 | |___| (_) | (_| | __/ (_| (_) \ V / 21:12:00 \_____\___/ \__,_|\___|\___\___/ \_/ 21:12:00 Bash-1.0.6 21:12:00 21:12:00 21:12:00 ==> git version 2.25.1 found 21:12:00 ==> 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:12:00 Release-Date: 2020-01-08 21:12:00 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:12:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:12:00 ==> Jenkins CI detected. 21:12:00 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-301 21:12:00 project root: . 21:12:00 --> token set from env 21:12:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:12:00 ==> Running gcov in . (disable via -X gcov) 21:12:00 ==> Python coveragepy not found 21:12:00 ==> Searching for coverage reports in: 21:12:00 + . 21:12:00 -> Found 1 reports 21:12:00 ==> Detecting git/mercurial file structure 21:12:00 ==> Reading reports 21:12:00 + ./coverage.out bytes=14663 21:12:00 ==> Appending adjustments 21:12:00 https://docs.codecov.io/docs/fixing-reports 21:12:00 + Found adjustments 21:12:00 ==> Gzipping contents 21:12:00 4.0K /tmp/codecov.hHnYNd.gz 21:12:00 ==> Uploading reports 21:12:00 url: https://codecov.io 21:12:00 query: branch=PR-301&commit=9e053017f6210e68a118343bc0c3f80515b885ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=301&job=&cmd_args= 21:12:00 -> Pinging Codecov 21:12:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-301&commit=9e053017f6210e68a118343bc0c3f80515b885ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=301&job=&cmd_args= 21:12:00 -> Uploading to 21:12:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/4E5D53B4F1F92C436F7061BF334D961C/9e053017f6210e68a118343bc0c3f80515b885ea/50270ca6-9ac3-4897-b193-737eaf915787.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T211200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90dc6b94dc246a19db0124f966af6a016f4ff110563f9f7926cdde88c3801f59 21:12:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:00 Dload Upload Total Spent Left Speed 21:12:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11357 --:--:-- --:--:-- --:--:-- 11306 100 2510 0 0 100 2510 0 10726 --:--:-- --:--:-- --:--:-- 10680 21:12:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9e053017f6210e68a118343bc0c3f80515b885ea [Pipeline] } 21:12:01 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:12:03 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-301/archives ] 21:12:03 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-301/archives 21:12:03 total 16 21:12:03 drwxr-xr-x 3 root root 4096 Apr 26 21:01 . 21:12:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:01 .. 21:12:03 drwxr-xr-x 2 root root 4096 Apr 26 21:01 cost 21:12:03 -rw-r--r-- 1 root root 86 Apr 26 21:01 cost.csv 21:12:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-301/archives 21:12:03 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-301/archives 21:12:03 total 16 21:12:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 21:01 . 21:12:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:01 .. 21:12:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 21:01 cost 21:12:03 -rw-r--r-- 1 jenkins jenkins 86 Apr 26 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:04 ---> package-listing.sh 21:12:04 ++ facter osfamily 21:12:04 ++ tr '[:upper:]' '[:lower:]' 21:12:04 + OS_FAMILY=debian 21:12:04 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-301 21:12:04 + START_PACKAGES=/tmp/packages_start.txt 21:12:04 + END_PACKAGES=/tmp/packages_end.txt 21:12:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:04 + PACKAGES=/tmp/packages_start.txt 21:12:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-301 ']' 21:12:04 + PACKAGES=/tmp/packages_end.txt 21:12:04 + case "${OS_FAMILY}" in 21:12:04 + dpkg -l 21:12:04 + grep '^ii' 21:12:04 + '[' -f /tmp/packages_start.txt ']' 21:12:04 + '[' -f /tmp/packages_end.txt ']' 21:12:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-301 ']' 21:12:04 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-301/archives/ 21:12:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-301/archives/ [Pipeline] echo 21:12:04 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:05 prd-ubuntu20.04-docker-8c-8g-11072 does not seem to be running inside a container 21:12:05 $ 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-301/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-301 -v /w/workspace/gexfoundry_device-rest-go_PR-301:/w/workspace/gexfoundry_device-rest-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-301@tmp:/w/workspace/gexfoundry_device-rest-go_PR-301@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:12:05 $ docker top 3e42f4aa8a27243eeb60400da15a33f553ac1b8dc79d38e36b11c311ad30e8bd -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:06 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:06 + ls /var/log/sa-host 21:12:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:07 provisioning config files... 21:12:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-301@tmp/config13028778994250258509tmp [Pipeline] { [Pipeline] echo 21:12:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:07 ---> create-netrc.sh [Pipeline] } 21:12:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:08 ---> python-tools-install.sh [Pipeline] echo 21:12:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:08 ---> sudo-logs.sh 21:12:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:08 ---> job-cost.sh 21:12:08 lf-activate-venv: SKIPPING 21:12:08 DEBUG: total: 0.2199999988079071 21:12:08 INFO: Retrieving Stack Cost... 21:12:09 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:09 INFO: Archiving Costs [Pipeline] echo 21:12:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:09 ---> logs-deploy.sh 21:12:09 lf-activate-venv: SKIPPING 21:12:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-301/1 21:12:09 INFO: archiving workspace using pattern(s): 21:12:10 Archives upload complete. 21:12:11 INFO: archiving logs to Nexus 21:12:11 ---> uname -a: 21:12:11 Linux prd-ubuntu20-04-docker-8c-8g-11072 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:12:11 21:12:11 21:12:11 ---> lscpu: 21:12:11 Architecture: x86_64 21:12:11 CPU op-mode(s): 32-bit, 64-bit 21:12:11 Byte Order: Little Endian 21:12:11 Address sizes: 40 bits physical, 48 bits virtual 21:12:11 CPU(s): 8 21:12:11 On-line CPU(s) list: 0-7 21:12:11 Thread(s) per core: 1 21:12:11 Core(s) per socket: 1 21:12:11 Socket(s): 8 21:12:11 NUMA node(s): 1 21:12:11 Vendor ID: AuthenticAMD 21:12:11 CPU family: 23 21:12:11 Model: 49 21:12:11 Model name: AMD EPYC-Rome Processor 21:12:11 Stepping: 0 21:12:11 CPU MHz: 2799.998 21:12:11 BogoMIPS: 5599.99 21:12:11 Virtualization: AMD-V 21:12:11 Hypervisor vendor: KVM 21:12:11 Virtualization type: full 21:12:11 L1d cache: 256 KiB 21:12:11 L1i cache: 256 KiB 21:12:11 L2 cache: 4 MiB 21:12:11 L3 cache: 128 MiB 21:12:11 NUMA node0 CPU(s): 0-7 21:12:11 Vulnerability Itlb multihit: Not affected 21:12:11 Vulnerability L1tf: Not affected 21:12:11 Vulnerability Mds: Not affected 21:12:11 Vulnerability Meltdown: Not affected 21:12:11 Vulnerability Mmio stale data: Not affected 21:12:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:12:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:12:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:12:11 Vulnerability Srbds: Not affected 21:12:11 Vulnerability Tsx async abort: Not affected 21:12:11 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:12:11 21:12:11 21:12:11 ---> nproc: 21:12:11 8 21:12:11 21:12:11 21:12:11 ---> df -h: 21:12:11 Filesystem Size Used Avail Use% Mounted on 21:12:11 overlay 155G 12G 144G 8% / 21:12:11 tmpfs 64M 0 64M 0% /dev 21:12:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:12:11 shm 64M 0 64M 0% /dev/shm 21:12:11 /dev/vda1 155G 12G 144G 8% /facter-os 21:12:11 21:12:11 21:12:11 ---> sar -b -r -n DEV: 21:12:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11072) 04/26/23 _x86_64_ (8 CPU) 21:12:11 21:12:11 20:58:45 LINUX RESTART (8 CPU) 21:12:11 21:12:11 20:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:12:11 21:00:01 234.58 49.16 185.42 0.00 5439.23 97249.39 0.00 21:12:11 21:01:01 148.13 0.43 147.69 0.00 33.73 41856.09 0.00 21:12:11 21:02:01 97.23 0.07 97.17 0.00 7.73 26600.12 0.00 21:12:11 21:03:01 1.50 0.00 1.50 0.00 0.00 18.39 0.00 21:12:11 21:04:01 33.83 10.53 23.30 0.00 5180.20 6190.30 0.00 21:12:11 21:05:01 7.98 1.28 6.70 0.00 247.69 167.71 0.00 21:12:11 21:06:01 1.03 0.00 1.03 0.00 0.00 11.60 0.00 21:12:11 21:07:01 1.55 0.00 1.55 0.00 0.00 17.46 0.00 21:12:11 21:08:01 1.05 0.00 1.05 0.00 0.00 12.00 0.00 21:12:11 21:09:01 4.03 1.65 2.38 0.00 37.72 40.65 0.00 21:12:11 21:10:01 0.87 0.00 0.87 0.00 0.00 9.73 0.00 21:12:11 21:11:01 1.37 0.00 1.37 0.00 0.00 16.53 0.00 21:12:11 21:12:01 0.98 0.07 0.92 0.00 4.80 10.00 0.00 21:12:11 Average: 41.08 4.86 36.22 0.00 842.34 13245.30 0.00 21:12:11 21:12:11 20:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:12:11 21:00:01 28393348 31559284 748064 2.27 110420 3265296 2026340 5.97 1164036 2892300 35508 21:12:11 21:01:01 27912904 31536920 765596 2.33 149484 3651588 2045616 6.03 1280200 3215116 186632 21:12:11 21:02:01 27626280 31577240 723652 2.20 158960 3931344 1734620 5.11 1256096 3486084 8 21:12:11 21:03:01 27626012 31577040 723392 2.20 159008 3931340 1734620 5.11 1256280 3486088 4 21:12:11 21:04:01 27275528 31567560 724296 2.20 165464 4251904 1786476 5.26 1464608 3602848 752 21:12:11 21:05:01 27259864 31566772 723872 2.20 167488 4263920 1834156 5.41 1480520 3600140 4 21:12:11 21:06:01 27263140 31570188 720216 2.19 167528 4263936 1834156 5.41 1477920 3600152 164 21:12:11 21:07:01 27263000 31570080 720324 2.19 167568 4263928 1834156 5.41 1477996 3600152 4 21:12:11 21:08:01 27263748 31570864 719448 2.19 167624 4263940 1834156 5.41 1477876 3600156 12 21:12:11 21:09:01 27254896 31564528 725996 2.21 167760 4265048 1834156 5.41 1488952 3600680 4 21:12:11 21:10:01 27254468 31564228 726212 2.21 167800 4265048 1834156 5.41 1488720 3600676 8 21:12:11 21:11:01 27254200 31564008 726360 2.21 167848 4265044 1834156 5.41 1488576 3600680 40 21:12:11 21:12:01 27251884 31561860 728456 2.22 167864 4265200 1817440 5.36 1489060 3600456 24 21:12:11 Average: 27453790 31565429 728914 2.22 160370 4088272 1844939 5.44 1406988 3498887 17166 21:12:11 21:12:11 20:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:12:11 21:00:01 docker0 187.59 306.73 15.55 2140.40 0.00 0.00 0.00 0.00 21:12:11 21:00:01 ens3 976.14 593.97 8964.54 108.16 0.00 0.00 0.00 0.00 21:12:11 21:00:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 21:12:11 21:01:01 docker0 1.47 3.42 0.09 42.53 0.00 0.00 0.00 0.00 21:12:11 21:01:01 ens3 60.44 53.91 83.34 92.38 0.00 0.00 0.00 0.00 21:12:11 21:01:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 21:12:11 21:02:01 docker0 1.37 3.15 0.09 43.00 0.00 0.00 0.00 0.00 21:12:11 21:02:01 ens3 103.55 61.52 2567.30 11.88 0.00 0.00 0.00 0.00 21:12:11 21:02:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 21:12:11 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:03:01 ens3 2.93 1.10 4.81 0.50 0.00 0.00 0.00 0.00 21:12:11 21:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:11 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:04:01 ens3 160.27 81.77 1954.13 5.83 0.00 0.00 0.00 0.00 21:12:11 21:04:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 21:12:11 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:05:01 ens3 1.70 1.17 0.80 0.54 0.00 0.00 0.00 0.00 21:12:11 21:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:11 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:06:01 ens3 1.15 0.45 0.50 0.27 0.00 0.00 0.00 0.00 21:12:11 21:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:07:01 ens3 0.65 0.40 0.32 0.21 0.00 0.00 0.00 0.00 21:12:11 21:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:11 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:08:01 ens3 0.17 0.02 0.01 0.00 0.00 0.00 0.00 0.00 21:12:11 21:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:09:01 ens3 7.80 6.46 5.33 5.94 0.00 0.00 0.00 0.00 21:12:11 21:09:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:12:11 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:10:01 ens3 0.20 0.08 0.08 0.06 0.00 0.00 0.00 0.00 21:12:11 21:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:11:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:12:11 21:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:11 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:11 21:12:01 ens3 4.22 2.97 3.86 1.25 0.00 0.00 0.00 0.00 21:12:11 21:12:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:12:11 Average: docker0 14.65 24.10 1.21 171.21 0.00 0.00 0.00 0.00 21:12:11 Average: ens3 101.49 61.84 1044.94 17.46 0.00 0.00 0.00 0.00 21:12:11 Average: lo 0.84 0.84 0.08 0.08 0.00 0.00 0.00 0.00 21:12:11 21:12:11 21:12:11 ---> sar -P ALL: 21:12:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11072) 04/26/23 _x86_64_ (8 CPU) 21:12:11 21:12:11 20:58:45 LINUX RESTART (8 CPU) 21:12:11 21:12:11 20:59:01 CPU %user %nice %system %iowait %steal %idle 21:12:11 21:00:01 all 11.72 0.00 4.29 1.56 0.08 82.35 21:12:11 21:00:01 0 12.12 0.00 4.18 3.91 0.08 79.70 21:12:11 21:00:01 1 13.08 0.00 4.24 0.40 0.07 82.21 21:12:11 21:00:01 2 9.50 0.00 3.76 2.65 0.05 84.03 21:12:11 21:00:01 3 9.48 0.00 5.61 1.02 0.08 83.81 21:12:11 21:00:01 4 13.91 0.00 4.28 3.36 0.08 78.37 21:12:11 21:00:01 5 11.03 0.00 3.96 0.30 0.08 84.62 21:12:11 21:00:01 6 13.72 0.00 4.52 0.12 0.07 81.57 21:12:11 21:00:01 7 10.89 0.00 3.79 0.70 0.09 84.54 21:12:11 21:01:01 all 40.08 0.00 7.60 0.46 0.09 51.76 21:12:11 21:01:01 0 40.97 0.00 8.30 1.52 0.10 49.12 21:12:11 21:01:01 1 39.91 0.00 7.88 0.52 0.10 51.59 21:12:11 21:01:01 2 41.28 0.00 6.94 0.10 0.10 51.58 21:12:11 21:01:01 3 40.25 0.00 8.11 1.15 0.10 50.39 21:12:11 21:01:01 4 40.68 0.00 6.99 0.05 0.08 52.19 21:12:11 21:01:01 5 40.00 0.00 7.58 0.08 0.08 52.25 21:12:11 21:01:01 6 38.20 0.00 7.06 0.03 0.08 54.62 21:12:11 21:01:01 7 39.38 0.00 7.94 0.24 0.08 52.36 21:12:11 21:02:01 all 3.20 0.00 1.49 0.27 0.03 95.01 21:12:11 21:02:01 0 3.36 0.00 1.89 0.10 0.02 94.63 21:12:11 21:02:01 1 2.49 0.00 1.12 0.32 0.02 96.06 21:12:11 21:02:01 2 2.77 0.00 1.66 0.86 0.05 94.66 21:12:11 21:02:01 3 3.62 0.00 1.29 0.02 0.02 95.06 21:12:11 21:02:01 4 2.56 0.00 1.29 0.05 0.02 96.08 21:12:11 21:02:01 5 4.17 0.00 1.98 0.72 0.03 93.10 21:12:11 21:02:01 6 3.05 0.00 1.27 0.08 0.02 95.58 21:12:11 21:02:01 7 3.58 0.00 1.44 0.00 0.03 94.94 21:12:11 21:03:01 all 0.03 0.00 0.02 0.01 0.01 99.93 21:12:11 21:03:01 0 0.03 0.00 0.03 0.02 0.02 99.90 21:12:11 21:03:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:03:01 2 0.05 0.00 0.05 0.03 0.03 99.83 21:12:11 21:03:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:12:11 21:03:01 4 0.03 0.00 0.02 0.00 0.02 99.93 21:12:11 21:03:01 5 0.02 0.00 0.03 0.03 0.00 99.92 21:12:11 21:03:01 6 0.03 0.00 0.00 0.00 0.02 99.95 21:12:11 21:03:01 7 0.02 0.00 0.03 0.00 0.00 99.95 21:12:11 21:04:01 all 1.24 0.00 0.52 0.26 0.02 97.96 21:12:11 21:04:01 0 1.05 0.00 0.37 0.03 0.02 98.53 21:12:11 21:04:01 1 1.00 0.00 0.50 0.55 0.02 97.93 21:12:11 21:04:01 2 3.09 0.00 0.67 0.03 0.05 96.16 21:12:11 21:04:01 3 0.57 0.00 0.43 0.08 0.02 98.90 21:12:11 21:04:01 4 0.98 0.00 0.68 0.25 0.02 98.07 21:12:11 21:04:01 5 0.62 0.00 0.30 0.85 0.02 98.22 21:12:11 21:04:01 6 1.23 0.00 0.73 0.17 0.00 97.86 21:12:11 21:04:01 7 1.37 0.00 0.43 0.13 0.03 98.03 21:12:11 21:05:01 all 0.12 0.00 0.16 0.03 0.01 99.68 21:12:11 21:05:01 0 0.03 0.00 0.13 0.00 0.02 99.82 21:12:11 21:05:01 1 0.17 0.00 0.22 0.02 0.02 99.58 21:12:11 21:05:01 2 0.05 0.00 0.17 0.00 0.03 99.75 21:12:11 21:05:01 3 0.30 0.00 0.17 0.00 0.00 99.53 21:12:11 21:05:01 4 0.05 0.00 0.12 0.02 0.00 99.82 21:12:11 21:05:01 5 0.20 0.00 0.15 0.08 0.02 99.55 21:12:11 21:05:01 6 0.08 0.00 0.13 0.08 0.02 99.68 21:12:11 21:05:01 7 0.10 0.00 0.17 0.00 0.02 99.72 21:12:11 21:06:01 all 0.03 0.00 0.02 0.00 0.01 99.95 21:12:11 21:06:01 0 0.05 0.00 0.02 0.00 0.00 99.93 21:12:11 21:06:01 1 0.00 0.00 0.00 0.02 0.00 99.98 21:12:11 21:06:01 2 0.02 0.00 0.03 0.00 0.02 99.93 21:12:11 21:06:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:12:11 21:06:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:06:01 5 0.03 0.00 0.02 0.02 0.02 99.92 21:12:11 21:06:01 6 0.02 0.00 0.02 0.00 0.00 99.97 21:12:11 21:06:01 7 0.05 0.00 0.03 0.00 0.03 99.88 21:12:11 21:07:01 all 0.10 0.00 0.02 0.00 0.01 99.87 21:12:11 21:07:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:12:11 21:07:01 1 0.08 0.00 0.02 0.00 0.02 99.88 21:12:11 21:07:01 2 0.58 0.00 0.03 0.00 0.02 99.37 21:12:11 21:07:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:12:11 21:07:01 4 0.00 0.00 0.02 0.02 0.00 99.97 21:12:11 21:07:01 5 0.08 0.00 0.05 0.02 0.02 99.83 21:12:11 21:07:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:12:11 21:07:01 7 0.03 0.00 0.02 0.00 0.02 99.93 21:12:11 21:08:01 all 0.02 0.00 0.01 0.00 0.01 99.96 21:12:11 21:08:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:08:01 1 0.00 0.00 0.00 0.00 0.02 99.98 21:12:11 21:08:01 2 0.03 0.00 0.02 0.00 0.02 99.93 21:12:11 21:08:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:12:11 21:08:01 4 0.00 0.00 0.00 0.00 0.02 99.98 21:12:11 21:08:01 5 0.02 0.00 0.03 0.02 0.03 99.90 21:12:11 21:08:01 6 0.05 0.00 0.02 0.00 0.00 99.93 21:12:11 21:08:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:09:01 all 0.26 0.00 0.04 0.02 0.01 99.67 21:12:11 21:09:01 0 0.40 0.00 0.07 0.08 0.00 99.45 21:12:11 21:09:01 1 0.32 0.00 0.02 0.02 0.00 99.65 21:12:11 21:09:01 2 0.18 0.00 0.07 0.00 0.03 99.72 21:12:11 21:09:01 3 0.08 0.00 0.05 0.00 0.00 99.87 21:12:11 21:09:01 4 0.02 0.00 0.05 0.02 0.00 99.92 21:12:11 21:09:01 5 0.67 0.00 0.02 0.05 0.02 99.25 21:12:11 21:09:01 6 0.07 0.00 0.02 0.00 0.02 99.90 21:12:11 21:09:01 7 0.32 0.00 0.03 0.00 0.00 99.65 21:12:11 21:10:01 all 0.03 0.00 0.01 0.00 0.01 99.95 21:12:11 21:10:01 0 0.03 0.00 0.00 0.00 0.00 99.97 21:12:11 21:10:01 1 0.02 0.00 0.00 0.02 0.02 99.95 21:12:11 21:10:01 2 0.03 0.00 0.02 0.00 0.02 99.93 21:12:11 21:10:01 3 0.07 0.00 0.03 0.00 0.02 99.88 21:12:11 21:10:01 4 0.02 0.00 0.00 0.00 0.02 99.97 21:12:11 21:10:01 5 0.02 0.00 0.03 0.02 0.00 99.93 21:12:11 21:10:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:10:01 7 0.03 0.00 0.00 0.00 0.00 99.97 21:12:11 21:12:11 21:10:01 CPU %user %nice %system %iowait %steal %idle 21:12:11 21:11:01 all 0.02 0.00 0.02 0.01 0.01 99.95 21:12:11 21:11:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:11:01 1 0.00 0.00 0.00 0.00 0.00 100.00 21:12:11 21:11:01 2 0.03 0.00 0.05 0.00 0.02 99.90 21:12:11 21:11:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:12:11 21:11:01 4 0.03 0.00 0.07 0.00 0.02 99.88 21:12:11 21:11:01 5 0.03 0.00 0.00 0.05 0.02 99.90 21:12:11 21:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:12:11 21:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:12:11 21:12:01 all 0.09 0.00 0.05 0.00 0.01 99.84 21:12:11 21:12:01 0 0.10 0.00 0.10 0.00 0.00 99.80 21:12:11 21:12:01 1 0.02 0.00 0.03 0.02 0.02 99.92 21:12:11 21:12:01 2 0.05 0.00 0.05 0.00 0.02 99.88 21:12:11 21:12:01 3 0.07 0.00 0.07 0.00 0.02 99.85 21:12:11 21:12:01 4 0.12 0.00 0.03 0.00 0.02 99.83 21:12:11 21:12:01 5 0.22 0.00 0.02 0.00 0.00 99.77 21:12:11 21:12:01 6 0.08 0.00 0.05 0.00 0.00 99.87 21:12:11 21:12:01 7 0.08 0.00 0.07 0.00 0.02 99.83 21:12:11 Average: all 4.34 0.00 1.09 0.20 0.02 94.35 21:12:11 Average: 0 4.44 0.00 1.15 0.43 0.02 93.95 21:12:11 Average: 1 4.35 0.00 1.07 0.14 0.02 94.42 21:12:11 Average: 2 4.41 0.00 1.03 0.28 0.03 94.24 21:12:11 Average: 3 4.15 0.00 1.20 0.17 0.02 94.45 21:12:11 Average: 4 4.47 0.00 1.04 0.29 0.02 94.19 21:12:11 Average: 5 4.36 0.00 1.08 0.17 0.03 94.36 21:12:11 Average: 6 4.31 0.00 1.06 0.04 0.02 94.58 21:12:11 Average: 7 4.25 0.00 1.06 0.08 0.02 94.58 21:12:11 21:12:11 21:12:11