Pull request #300 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a50b0f88af1805328706a26dd25b947be7214365+d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 (5270b34c5337d77a2911289d6971a0e61967ab12) 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-ssh10558782902585147067.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-ssh16440455307870844784.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-300/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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10061721521681101666.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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6135071426401969270.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-ssh1749420772973998446.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-300/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-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9035648521482375390.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9566 in /w/workspace/gexfoundry_device-rest-go_PR-300 [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-300 # 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 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit a50b0f88af1805328706a26dd25b947be7214365 Merge succeeded, producing a50b0f88af1805328706a26dd25b947be7214365 Checking out Revision a50b0f88af1805328706a26dd25b947be7214365 (PR-300) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a50b0f88af1805328706a26dd25b947be7214365 # 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 a50b0f88af1805328706a26dd25b947be7214365 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:03:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:03:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:03:17 ========================================================= 21:03:17 EdgeX Global Pipelines Version Info 21:03:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:03:18 ------------------- 21:03:18 stable info: 21:03:18 ------------------- 21:03:18 Commited By: Bill Mahoney bill.mahoney@intel.com 21:03:18 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:03:18 Message: update stable to v1.0.248 21:03:19 ------------------- 21:03:19 experimental info: 21:03:19 ------------------- 21:03:19 Commited By: **** collab-it+edgex@linuxfoundation.org 21:03:19 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:03:19 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:03:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a50b0f88af1805328706a26dd25b947be7214365 [Pipeline] echo 21:03:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a50b0f8 [Pipeline] echo 21:03:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:21 provisioning config files... 21:03:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/config4518431164696346204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:21 ---> docker-login.sh 21:03:21 nexus3.edgexfoundry.org:10001 21:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:21 Configure a credential helper to remove this warning. See 21:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:21 21:03:21 Login Succeeded 21:03:21 nexus3.edgexfoundry.org:10002 21:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:22 Configure a credential helper to remove this warning. See 21:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:22 21:03:22 Login Succeeded 21:03:22 nexus3.edgexfoundry.org:10003 21:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:22 Configure a credential helper to remove this warning. See 21:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:22 21:03:22 Login Succeeded 21:03:22 nexus3.edgexfoundry.org:10004 21:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:22 Configure a credential helper to remove this warning. See 21:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:22 21:03:22 Login Succeeded 21:03:22 docker.io 21:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:22 Configure a credential helper to remove this warning. See 21:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:22 21:03:22 Login Succeeded 21:03:22 ---> docker-login.sh ends [Pipeline] } 21:03:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:03:23 + git rev-list -1 --merges a50b0f88af1805328706a26dd25b947be7214365~1..a50b0f88af1805328706a26dd25b947be7214365 [Pipeline] echo 21:03:23 -----------> git rev-list -1 --merges a50b0f88af1805328706a26dd25b947be7214365~1..a50b0f88af1805328706a26dd25b947be7214365 a50b0f88af1805328706a26dd25b947be7214365 [false] [Pipeline] sh 21:03:23 + git log --format=format:%s -1 a50b0f88af1805328706a26dd25b947be7214365 [Pipeline] echo 21:03:23 ========================================================= 21:03:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:03:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:24 + git log --format=format:%s -1 a50b0f88af1805328706a26dd25b947be7214365 [Pipeline] echo 21:03:24 [semverPrep] GIT_COMMIT: a50b0f88af1805328706a26dd25b947be7214365, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:03:24 [semverPrep] This is not a build commit. [Pipeline] sh 21:03:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:03:24 + grep -v github /etc/ssh/ssh_known_hosts 21:03:24 + [ -e /tmp/ssh_known_hosts ] 21:03:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:03:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:03:24 + sudo tee -a /etc/ssh/ssh_known_hosts 21:03:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:25 21:03:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:25 0.1.4: Pulling from edgex-devops/py-git-semver 21:03:25 b85a868b505f: Pulling fs layer 21:03:25 e2be974225ed: Pulling fs layer 21:03:25 339a4e72a1f5: Pulling fs layer 21:03:25 988bab9f4d93: Pulling fs layer 21:03:25 1469e6f7b9e6: Pulling fs layer 21:03:25 eaf3925da568: Pulling fs layer 21:03:25 bab4dde63d76: Pulling fs layer 21:03:25 bde34c3a00c8: Pulling fs layer 21:03:25 b352a97aabf1: Pulling fs layer 21:03:25 4872d77fe225: Pulling fs layer 21:03:25 5851b861e8e6: Pulling fs layer 21:03:25 bab4dde63d76: Waiting 21:03:25 bde34c3a00c8: Waiting 21:03:25 b352a97aabf1: Waiting 21:03:25 4872d77fe225: Waiting 21:03:25 5851b861e8e6: Waiting 21:03:25 988bab9f4d93: Waiting 21:03:25 1469e6f7b9e6: Waiting 21:03:25 eaf3925da568: Waiting 21:03:25 e2be974225ed: Verifying Checksum 21:03:25 e2be974225ed: Download complete 21:03:25 988bab9f4d93: Verifying Checksum 21:03:25 988bab9f4d93: Download complete 21:03:25 1469e6f7b9e6: Verifying Checksum 21:03:25 1469e6f7b9e6: Download complete 21:03:25 339a4e72a1f5: Verifying Checksum 21:03:25 339a4e72a1f5: Download complete 21:03:25 eaf3925da568: Verifying Checksum 21:03:25 eaf3925da568: Download complete 21:03:25 bde34c3a00c8: Verifying Checksum 21:03:25 bde34c3a00c8: Download complete 21:03:25 b352a97aabf1: Download complete 21:03:25 4872d77fe225: Verifying Checksum 21:03:25 4872d77fe225: Download complete 21:03:25 5851b861e8e6: Verifying Checksum 21:03:25 b85a868b505f: Download complete 21:03:25 bab4dde63d76: Verifying Checksum 21:03:25 bab4dde63d76: Download complete 21:03:26 b85a868b505f: Pull complete 21:03:27 e2be974225ed: Pull complete 21:03:27 339a4e72a1f5: Pull complete 21:03:27 988bab9f4d93: Pull complete 21:03:27 1469e6f7b9e6: Pull complete 21:03:27 eaf3925da568: Pull complete 21:03:29 bab4dde63d76: Pull complete 21:03:29 bde34c3a00c8: Pull complete 21:03:30 b352a97aabf1: Pull complete 21:03:30 4872d77fe225: Pull complete 21:03:30 5851b861e8e6: Pull complete 21:03:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:03:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:30 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 21:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-300 -v /w/workspace/gexfoundry_device-rest-go_PR-300:/w/workspace/gexfoundry_device-rest-go_PR-300:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-300@tmp:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:03:33 $ docker top fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 -eo pid,comm 21:03: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). 21:03:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:33 [ssh-agent] Looking for ssh-agent implementation... 21:03:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:33 $ docker exec fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 ssh-agent 21:03:33 SSH_AUTH_SOCK=/tmp/ssh-79Fzu7Ezaf9A/agent.32 21:03:33 SSH_AGENT_PID=38 21:03:33 Running ssh-add (command line suppressed) 21:03:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-300@tmp/private_key_6121134073331088246.key (/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/private_key_6121134073331088246.key) 21:03:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:34 + git tag --points-at HEAD [Pipeline] } 21:03:34 $ docker exec --env ******** --env ******** fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 ssh-agent -k 21:03:34 unset SSH_AUTH_SOCK; 21:03:34 unset SSH_AGENT_PID; 21:03:34 echo Agent pid 38 killed; 21:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:34 [ssh-agent] Looking for ssh-agent implementation... 21:03:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:34 $ docker exec fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 ssh-agent 21:03:34 SSH_AUTH_SOCK=/tmp/ssh-lJfbL6clv64h/agent.70 21:03:34 SSH_AGENT_PID=76 21:03:34 Running ssh-add (command line suppressed) 21:03:35 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-300@tmp/private_key_18170773783460361243.key (/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/private_key_18170773783460361243.key) 21:03:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:35 + git semver init 21:03:35 2023-04-24 21:03:35,541 [run_init] DEBUG init version:0.0.0 force:False 21:03:35 2023-04-24 21:03:35,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-300/.semver 21:03:35 2023-04-24 21:03:35,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-300/.semver 21:03:35 2023-04-24 21:03:35,542 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-300/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-300, universal_newlines=False, shell=None, istream=None) 21:03:36 2023-04-24 21:03:36,588 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-300/.git/info/exclude 21:03:36 2023-04-24 21:03:36,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-300/.semver/PR-300 with force:False 21:03:36 2023-04-24 21:03:36,589 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-300/.semver/PR-300 21:03:36 2023-04-24 21:03:36,593 [execute] INFO git cat-file --batch-check 21:03:36 2023-04-24 21:03:36,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 21:03:36 2023-04-24 21:03:36,601 [execute] INFO git cat-file --batch 21:03:36 2023-04-24 21:03:36,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 21:03:36 2023-04-24 21:03:36,607 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-300/.semver/PR-300 21:03:36 0.0.0 [Pipeline] } 21:03:37 $ docker exec --env ******** --env ******** fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 ssh-agent -k 21:03:37 unset SSH_AUTH_SOCK; 21:03:37 unset SSH_AGENT_PID; 21:03:37 echo Agent pid 76 killed; 21:03:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:37 + git semver [Pipeline] } 21:03:37 $ docker stop --time=1 fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 21:03:39 $ docker rm -f --volumes fbd24826794357717aef756b7ce12b7939d5397ffb2d168fb9190057ef424955 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:39 Stashed 1 file(s) [Pipeline] echo 21:03: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 21:03:40 provisioning config files... 21:03:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/config2042155678022634995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:40 ---> docker-login.sh 21:03:40 nexus3.edgexfoundry.org:10001 21:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:40 Configure a credential helper to remove this warning. See 21:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:40 21:03:40 Login Succeeded 21:03:40 nexus3.edgexfoundry.org:10002 21:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:40 Configure a credential helper to remove this warning. See 21:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:40 21:03:40 Login Succeeded 21:03:40 nexus3.edgexfoundry.org:10003 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 nexus3.edgexfoundry.org:10004 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 docker.io 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 ---> docker-login.sh ends [Pipeline] } 21:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:41 ========================================================= 21:03:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:03:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:03:42 Sending build context to Docker daemon 10.91MB 21:03:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:03:42 Step 2/12 : FROM ${BASE} AS builder 21:03:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:03:42 f56be85fc22e: Pulling fs layer 21:03:42 85791d961cd3: Pulling fs layer 21:03:42 d694b5ae8c79: Pulling fs layer 21:03:42 9f32a84ed3da: Pulling fs layer 21:03:42 4d19c01a9841: Pulling fs layer 21:03:42 9325e15d5711: Pulling fs layer 21:03:42 556b6ee489ea: Pulling fs layer 21:03:42 c5a4b2cf53e6: Pulling fs layer 21:03:42 9f32a84ed3da: Waiting 21:03:42 4d19c01a9841: Waiting 21:03:42 9325e15d5711: Waiting 21:03:42 c5a4b2cf53e6: Waiting 21:03:42 85791d961cd3: Verifying Checksum 21:03:42 85791d961cd3: Download complete 21:03:42 9f32a84ed3da: Verifying Checksum 21:03:42 9f32a84ed3da: Download complete 21:03:42 4d19c01a9841: Verifying Checksum 21:03:42 4d19c01a9841: Download complete 21:03:42 f56be85fc22e: Download complete 21:03:42 9325e15d5711: Verifying Checksum 21:03:42 9325e15d5711: Download complete 21:03:42 f56be85fc22e: Pull complete 21:03:42 85791d961cd3: Pull complete 21:03:43 c5a4b2cf53e6: Verifying Checksum 21:03:43 c5a4b2cf53e6: Download complete 21:03:43 d694b5ae8c79: Verifying Checksum 21:03:43 d694b5ae8c79: Download complete 21:03:43 556b6ee489ea: Verifying Checksum 21:03:43 556b6ee489ea: Download complete 21:03:46 d694b5ae8c79: Pull complete 21:03:46 9f32a84ed3da: Pull complete 21:03:47 4d19c01a9841: Pull complete 21:03:47 9325e15d5711: Pull complete 21:03:49 556b6ee489ea: Pull complete 21:03:50 c5a4b2cf53e6: Pull complete 21:03:50 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:03:50 ---> c4be618373d6 21:03:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:03:55 Still waiting to schedule task 21:03:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:03:56 ---> Running in 02b940b2125b 21:03:56 Removing intermediate container 02b940b2125b 21:03:56 ---> 3e59774fbe9e 21:03:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:56 ---> Running in 07abad9e0a75 21:03:56 Removing intermediate container 07abad9e0a75 21:03:56 ---> 7ef9b5bd9b6e 21:03:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:03:56 ---> Running in e6c55b22396d 21:03:56 Removing intermediate container e6c55b22396d 21:03:56 ---> 44f45aae66c8 21:03:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:03:56 ---> Running in fa4add82a4c6 21:03:56 Removing intermediate container fa4add82a4c6 21:03:56 ---> 0b899424e1d2 21:03:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:56 ---> Running in d8c880551438 21:03:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:03:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/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: 269 MiB in 57 packages 21:03:57 Removing intermediate container d8c880551438 21:03:57 ---> 7189ea2b8637 21:03:57 Step 8/12 : WORKDIR /device-rest-go 21:03:57 ---> Running in 6c3c34c920d4 21:03:57 Removing intermediate container 6c3c34c920d4 21:03:57 ---> c2642660ae8d 21:03:57 Step 9/12 : COPY go.mod vendor* ./ 21:03:57 ---> 18c1fe37349d 21:03:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:57 ---> Running in de645f7b9438 21:04:36 Removing intermediate container de645f7b9438 21:04:36 ---> ab42e4f36d8d 21:04:36 Step 11/12 : COPY . . 21:04:36 ---> 682ac7e78a0d 21:04:36 Step 12/12 : RUN $MAKE 21:04:36 ---> Running in 1e513d1ec5d7 21:04:36 noop 21:04:36 Removing intermediate container 1e513d1ec5d7 21:04:36 ---> 13374fca0169 21:04:36 Successfully built 13374fca0169 21:04:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:36 + docker inspect -f . ci-base-image-x86_64 21:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:36 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 21:04:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-300 -v /w/workspace/gexfoundry_device-rest-go_PR-300:/w/workspace/gexfoundry_device-rest-go_PR-300:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-300@tmp:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:04:37 $ docker top 01dc41c032ad7c03bf2d0b2973255ca824a480a3610069979a0a7c7e4b9fe6a1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:37 + go version 21:04:37 go version go1.20.2 linux/amd64 [Pipeline] } 21:04:37 $ docker stop --time=1 01dc41c032ad7c03bf2d0b2973255ca824a480a3610069979a0a7c7e4b9fe6a1 21:04:38 $ docker rm -f --volumes 01dc41c032ad7c03bf2d0b2973255ca824a480a3610069979a0a7c7e4b9fe6a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:39 + docker inspect -f . ci-base-image-x86_64 21:04:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:39 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 21:04:39 $ 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-300 -v /w/workspace/gexfoundry_device-rest-go_PR-300:/w/workspace/gexfoundry_device-rest-go_PR-300:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-300@tmp:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:04:40 $ docker top b5c54bc16290233ad48accc9ef1474c23731a76e4c12b3e258bae5fcb8eee125 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-300 [Pipeline] fileExists [Pipeline] sh 21:04:40 + make test 21:04:40 go test ./... -coverprofile=coverage.out ./... 21:04:46 ? github.com/edgexfoundry/device-rest-go [no test files] 21:04:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:04:56 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:05:02 go vet ./... 21:05:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:06 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:06 $ docker stop --time=1 b5c54bc16290233ad48accc9ef1474c23731a76e4c12b3e258bae5fcb8eee125 21:05:09 $ docker rm -f --volumes b5c54bc16290233ad48accc9ef1474c23731a76e4c12b3e258bae5fcb8eee125 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:10 + ls -al . 21:05:10 total 184 21:05:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 21:04 . 21:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 21:03 .. 21:05:10 -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 21:03 .dockerignore 21:05:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 21:03 .git 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 21:03 .github 21:05:10 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 21:03 .gitignore 21:05:10 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 21:03 .golangci.yml 21:05:10 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 21:03 .semver 21:05:10 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 21:03 Attribution.txt 21:05:10 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 21:03 CHANGELOG.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 21:03 Dockerfile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 21:03 GOVERNANCE.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 21:03 Jenkinsfile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 21:03 LICENSE 21:05:10 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 21:03 Makefile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 21:03 OWNERS.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 21:03 README.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 21:03 VERSION 21:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 21:03 bin 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 21:03 cmd 21:05:10 -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 21:04 coverage.out 21:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 21:03 driver 21:05:10 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 21:03 go.mod 21:05:10 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 21:03 go.sum 21:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 21:03 snap 21:05:10 -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:11 + 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=a50b0f88af1805328706a26dd25b947be7214365 --label arch=amd64 --label version=0.0.0 . 21:05:11 Sending build context to Docker daemon 10.92MB 21:05:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:05:11 Step 2/25 : FROM ${BASE} AS builder 21:05:11 ---> 13374fca0169 21:05:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:05:11 ---> Running in 58cb95da21df 21:05:11 Removing intermediate container 58cb95da21df 21:05:11 ---> 2f4a8713fff5 21:05:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:11 ---> Running in 321fcbc9829b 21:05:12 Removing intermediate container 321fcbc9829b 21:05:12 ---> b5f7815be95e 21:05:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:05:12 ---> Running in 5ad04c43b5c8 21:05:12 Removing intermediate container 5ad04c43b5c8 21:05:12 ---> d5182ad0272f 21:05:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:05:12 ---> Running in 7f5c0ff15efe 21:05:12 Removing intermediate container 7f5c0ff15efe 21:05:12 ---> 8e83fcc23a98 21:05:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:12 ---> Running in 9d07bdf73efa 21:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:05:12 OK: 269 MiB in 57 packages 21:05:13 Removing intermediate container 9d07bdf73efa 21:05:13 ---> fb148c150c1e 21:05:13 Step 8/25 : WORKDIR /device-rest-go 21:05:13 ---> Running in 75bbc2ef71ce 21:05:13 Removing intermediate container 75bbc2ef71ce 21:05:13 ---> c5b4c38f7de2 21:05:13 Step 9/25 : COPY go.mod vendor* ./ 21:05:13 ---> 016e6d1cdd14 21:05:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:13 ---> Running in 2286ded4e493 21:05:14 Removing intermediate container 2286ded4e493 21:05:14 ---> c995dcb344fe 21:05:14 Step 11/25 : COPY . . 21:05:14 ---> 73c66bf44e72 21:05:14 Step 12/25 : RUN $MAKE 21:05:14 ---> Running in 5e8fb811d8a8 21:05:15 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:05:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9568 in /w/workspace/gexfoundry_device-rest-go_PR-300 [Pipeline] { [Pipeline] ws 21:05:28 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:05:28 The recommended git tool is: git 21:05:33 using credential edgex-jenkins-ssh 21:05:33 Cloning the remote Git repository 21:05:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:05:33 > git init /w/workspace/device-rest-go/1 # timeout=10 21:05:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:05:33 > git --version # timeout=10 21:05:33 > git --version # 'git version 2.25.1' 21:05:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:05:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:37 Removing intermediate container 5e8fb811d8a8 21:05:37 ---> 7e910907b04b 21:05:37 Step 13/25 : FROM alpine:3.17 21:05:37 3.17: Pulling from library/alpine 21:05:37 f56be85fc22e: Already exists 21:05:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:05:37 Status: Downloaded newer image for alpine:3.17 21:05:37 ---> 9ed4aefc74f6 21:05:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:05:37 ---> Running in b868b1b13f18 21:05:37 Removing intermediate container b868b1b13f18 21:05:37 ---> 3a5a7e863d91 21:05:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:05:37 ---> Running in 5e169f7e7caf 21:05:37 Removing intermediate container 5e169f7e7caf 21:05:37 ---> 2fb40be311ff 21:05:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:05:37 ---> Running in a8d58221811c 21:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:05:37 (1/1) Installing dumb-init (1.2.5-r2) 21:05:37 Executing busybox-1.35.0-r29.trigger 21:05:37 OK: 7 MiB in 16 packages 21:05:37 Removing intermediate container a8d58221811c 21:05:37 ---> 24636a011563 21:05:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:05:37 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit a50b0f88af1805328706a26dd25b947be7214365 21:05:37 Merge succeeded, producing a50b0f88af1805328706a26dd25b947be7214365 21:05:37 Checking out Revision a50b0f88af1805328706a26dd25b947be7214365 (PR-300) 21:05:37 ---> 62d189b88951 21:05:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:05:38 ---> c8c1fdde762c 21:05:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:05:38 ---> f591c0c46829 21:05:38 Step 20/25 : EXPOSE 59986 21:05:38 ---> Running in 150f83eab79e 21:05:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:05:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:05:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:05:37 > git config core.sparsecheckout # timeout=10 21:05:37 > git checkout -f a50b0f88af1805328706a26dd25b947be7214365 # timeout=10 21:05:37 > git remote # timeout=10 21:05:37 > git config --get remote.origin.url # timeout=10 21:05:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:37 > git merge d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 21:05:37 > git rev-parse HEAD^{commit} # timeout=10 21:05:37 > git config core.sparsecheckout # timeout=10 21:05:37 > git checkout -f a50b0f88af1805328706a26dd25b947be7214365 # timeout=10 21:05:38 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:05:38 Removing intermediate container 150f83eab79e 21:05:38 ---> a9474a1306e4 21:05:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:05:38 ---> Running in 839cddd7ec16 21:05:38 Removing intermediate container 839cddd7ec16 21:05:38 ---> c3b5f03f550e 21:05:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:05:38 ---> Running in 48a77440c48a 21:05:38 Removing intermediate container 48a77440c48a 21:05:38 ---> 168434c9799b 21:05:38 Step 23/25 : LABEL arch=amd64 21:05:38 ---> Running in 2efc0daa17ee 21:05:38 > git --version # timeout=10 21:05:38 > git --version # 'git version 2.25.1' 21:05:38 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:05:38 Removing intermediate container 2efc0daa17ee 21:05:38 ---> be6dd96aa76e 21:05:38 Step 24/25 : LABEL git_sha=a50b0f88af1805328706a26dd25b947be7214365 21:05:38 ---> Running in ddd414f65831 21:05:38 Removing intermediate container ddd414f65831 21:05:38 ---> 19b49fcf592a 21:05:38 Step 25/25 : LABEL version=0.0.0 21:05:38 ---> Running in a18f0269eae2 21:05:38 Removing intermediate container a18f0269eae2 21:05:38 ---> 7bc17bb994f1 21:05:38 [Warning] One or more build-args [ARCH] were not consumed 21:05:38 Successfully built 7bc17bb994f1 21:05:38 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:05:39 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:39 Dload Upload Total Spent Left Speed 21:05:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k 21:05:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:39 21:05:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 21:05:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:05:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:40 latest: Pulling from edgex-lftools-log-publisher 21:05:40 5eb5b503b376: Pulling fs layer 21:05:40 5c69ac0246d0: Pulling fs layer 21:05:40 ec43610c2a17: Pulling fs layer 21:05:40 3a2ae6a8a46f: Pulling fs layer 21:05:40 33b1e0a273af: Pulling fs layer 21:05:40 5d3b04190fa2: Pulling fs layer 21:05:40 2f39f015ded8: Pulling fs layer 21:05:40 3a2ae6a8a46f: Waiting 21:05:40 33b1e0a273af: Waiting 21:05:40 5d3b04190fa2: Waiting 21:05:40 2f39f015ded8: Waiting 21:05:40 5c69ac0246d0: Verifying Checksum 21:05:40 5c69ac0246d0: Download complete 21:05:40 3a2ae6a8a46f: Verifying Checksum 21:05:40 3a2ae6a8a46f: Download complete 21:05:40 33b1e0a273af: Verifying Checksum 21:05:40 33b1e0a273af: Download complete 21:05:40 5d3b04190fa2: Verifying Checksum 21:05:40 5d3b04190fa2: Download complete 21:05:40 ec43610c2a17: Verifying Checksum 21:05:40 ec43610c2a17: Download complete 21:05:40 5eb5b503b376: Verifying Checksum 21:05:40 5eb5b503b376: Download complete 21:05:40 + sudo tee /etc/docker/daemon.new 21:05:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:05:40 { 21:05:40 "registry-mirrors": [ 21:05:40 "https://nexus3.edgexfoundry.org:10001" 21:05:40 ], 21:05:40 "bip": "10.250.0.254/24", 21:05:40 "hosts": [ 21:05:40 "tcp://0.0.0.0:5555", 21:05:40 "unix:///var/run/docker.sock" 21:05:40 ], 21:05:40 "mtu": 1458, 21:05:40 "selinux-enabled": true, 21:05:40 "seccomp-profile": "/etc/docker/seccomp.json" 21:05:40 } [Pipeline] sh 21:05:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:05:41 2f39f015ded8: Download complete 21:05:41 + sudo service docker restart 21:05:41 5eb5b503b376: Pull complete 21:05:41 5c69ac0246d0: Pull complete 21:05:42 ec43610c2a17: Pull complete 21:05:42 3a2ae6a8a46f: Pull complete 21:05:42 33b1e0a273af: Pull complete 21:05:42 5d3b04190fa2: Pull complete 21:05:46 2f39f015ded8: Pull complete 21:05:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:47 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 21:05:47 $ 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-300 -v /w/workspace/gexfoundry_device-rest-go_PR-300:/w/workspace/gexfoundry_device-rest-go_PR-300:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-300@tmp:/w/workspace/gexfoundry_device-rest-go_PR-300@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:05:50 $ docker top f7b8bea611b36579e3dc8e6c0dd27925a32cb739a5332a5952c85c39879981e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:51 ---> job-cost.sh 21:05:51 lf-activate-venv: SKIPPING 21:05:51 INFO: No Stack... 21:05:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:52 INFO: Archiving Costs [Pipeline] sh 21:05:52 + + cat /w/workspace/gexfoundry_device-rest-go_PR-300/archives/cost.csv 21:05:52 cut -d, -f6 [Pipeline] lock 21:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] 21:05:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] did not exist. Created. 21:05:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:52 + echo total: 0.2199999988079071 [Pipeline] stash 21:05:53 Stashed 1 file(s) [Pipeline] } 21:05:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:53 $ docker stop --time=1 f7b8bea611b36579e3dc8e6c0dd27925a32cb739a5332a5952c85c39879981e5 21:05:54 $ docker rm -f --volumes f7b8bea611b36579e3dc8e6c0dd27925a32cb739a5332a5952c85c39879981e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:59 provisioning config files... 21:05:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13006202400867850773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:59 ---> docker-login.sh 21:05:59 nexus3.edgexfoundry.org:10001 21:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:00 Configure a credential helper to remove this warning. See 21:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:00 21:06:00 Login Succeeded 21:06:00 nexus3.edgexfoundry.org:10002 21:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:00 Configure a credential helper to remove this warning. See 21:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:00 21:06:00 Login Succeeded 21:06:00 nexus3.edgexfoundry.org:10003 21:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:01 Configure a credential helper to remove this warning. See 21:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:01 21:06:01 Login Succeeded 21:06:01 nexus3.edgexfoundry.org:10004 21:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:01 Configure a credential helper to remove this warning. See 21:06:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:01 21:06:01 Login Succeeded 21:06:01 docker.io 21:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:02 Configure a credential helper to remove this warning. See 21:06:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:02 21:06:02 Login Succeeded 21:06:02 ---> docker-login.sh ends [Pipeline] } 21:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:02 ========================================================= 21:06:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:06:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:06:04 Sending build context to Docker daemon 138.8kB 21:06:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:04 Step 2/12 : FROM ${BASE} AS builder 21:06:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:04 c41833b44d91: Pulling fs layer 21:06:04 ed15518f5707: Pulling fs layer 21:06:04 feae8fd75edb: Pulling fs layer 21:06:04 242c74f7c9fa: Pulling fs layer 21:06:04 3cdef696dda3: Pulling fs layer 21:06:04 2ced38df9373: Pulling fs layer 21:06:04 58f1dce35555: Pulling fs layer 21:06:04 3cdef696dda3: Waiting 21:06:04 2ced38df9373: Waiting 21:06:04 58f1dce35555: Waiting 21:06:04 242c74f7c9fa: Waiting 21:06:05 ed15518f5707: Verifying Checksum 21:06:05 ed15518f5707: Download complete 21:06:05 242c74f7c9fa: Verifying Checksum 21:06:05 242c74f7c9fa: Download complete 21:06:05 3cdef696dda3: Download complete 21:06:05 c41833b44d91: Verifying Checksum 21:06:05 c41833b44d91: Download complete 21:06:06 c41833b44d91: Pull complete 21:06:06 58f1dce35555: Verifying Checksum 21:06:06 58f1dce35555: Download complete 21:06:06 ed15518f5707: Pull complete 21:06:07 feae8fd75edb: Verifying Checksum 21:06:07 feae8fd75edb: Download complete 21:06:07 2ced38df9373: Verifying Checksum 21:06:07 2ced38df9373: Download complete 21:06:20 feae8fd75edb: Pull complete 21:06:20 242c74f7c9fa: Pull complete 21:06:20 3cdef696dda3: Pull complete 21:06:25 2ced38df9373: Pull complete 21:06:28 58f1dce35555: Pull complete 21:06:28 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:06:28 ---> fadd8f120f05 21:06:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:30 ---> Running in a352b02ea8aa 21:06:30 Removing intermediate container a352b02ea8aa 21:06:30 ---> f5bf57cda14a 21:06:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:30 ---> Running in 352f8af552a2 21:06:30 Removing intermediate container 352f8af552a2 21:06:30 ---> 1488b77abb84 21:06:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:30 ---> Running in f1ea5d4be22b 21:06:30 Removing intermediate container f1ea5d4be22b 21:06:30 ---> 26d93f04d543 21:06:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:30 ---> Running in 0f4be8c72042 21:06:31 Removing intermediate container 0f4be8c72042 21:06:31 ---> ca4cc310dcaa 21:06:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:31 ---> Running in ed6f95488c4b 21:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:06:33 (2/4) Installing libedit (20221030.3.1-r0) 21:06:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:06:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:06:34 Executing busybox-1.35.0-r29.trigger 21:06:34 OK: 268 MiB in 57 packages 21:06:35 Removing intermediate container ed6f95488c4b 21:06:35 ---> 5d0ea15c745c 21:06:35 Step 8/12 : WORKDIR /device-rest-go 21:06:35 ---> Running in 1cc2cbe3751b 21:06:35 Removing intermediate container 1cc2cbe3751b 21:06:35 ---> 2f80a004b519 21:06:35 Step 9/12 : COPY go.mod vendor* ./ 21:06:35 ---> 439e50365565 21:06:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:35 ---> Running in 720d67053440 21:07:43 Removing intermediate container 720d67053440 21:07:43 ---> daede766f6c8 21:07:43 Step 11/12 : COPY . . 21:07:43 ---> 6f503cf0e678 21:07:43 Step 12/12 : RUN $MAKE 21:07:43 ---> Running in d21619c23756 21:07:43 noop 21:07:43 Removing intermediate container d21619c23756 21:07:43 ---> e31426452776 21:07:43 Successfully built e31426452776 21:07:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:44 + docker inspect -f . ci-base-image-arm64 21:07:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:44 prd-ubuntu20.04-docker-arm64-4c-16g-9568 does not seem to be running inside a container 21:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:07:45 $ docker top 5388cc0ed849a44745fa82f3a606406867b5f1dd9d1d550ad2fa2ac8b5613c81 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:46 + go version 21:07:46 go version go1.20.2 linux/arm64 [Pipeline] } 21:07:46 $ docker stop --time=1 5388cc0ed849a44745fa82f3a606406867b5f1dd9d1d550ad2fa2ac8b5613c81 21:07:48 $ docker rm -f --volumes 5388cc0ed849a44745fa82f3a606406867b5f1dd9d1d550ad2fa2ac8b5613c81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:49 + docker inspect -f . ci-base-image-arm64 21:07:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:49 prd-ubuntu20.04-docker-arm64-4c-16g-9568 does not seem to be running inside a container 21:07:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:07:50 $ docker top 84125e09d32c37532de01413d22e5190663c60a7bb559f909b64777f4e641307 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:51 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:07:51 + make test 21:07:52 go test ./... -coverprofile=coverage.out ./... 21:08:24 ? github.com/edgexfoundry/device-rest-go [no test files] 21:10:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:10:31 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 32.2% of statements 21:10:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:10:31 go vet ./... 21:10:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:53 $ docker stop --time=1 84125e09d32c37532de01413d22e5190663c60a7bb559f909b64777f4e641307 21:10:55 $ docker rm -f --volumes 84125e09d32c37532de01413d22e5190663c60a7bb559f909b64777f4e641307 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:56 Warning: overwriting stash ‘coverage-report’ 21:10:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:58 + ls -al . 21:10:58 total 180 21:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 21:07 . 21:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 21:05 .. 21:10:58 -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 21:05 .dockerignore 21:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 21:05 .git 21:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 21:05 .github 21:10:58 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 21:05 .gitignore 21:10:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 21:05 .golangci.yml 21:10:58 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 21:05 Attribution.txt 21:10:58 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 21:05 CHANGELOG.md 21:10:58 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 21:05 Dockerfile 21:10:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 21:05 GOVERNANCE.md 21:10:58 -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 21:05 Jenkinsfile 21:10:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 21:05 LICENSE 21:10:58 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 21:05 Makefile 21:10:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 21:05 OWNERS.md 21:10:58 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 21:05 README.md 21:10:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 21:03 VERSION 21:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 21:05 bin 21:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 21:05 cmd 21:10:58 -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 21:10 coverage.out 21:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 21:05 driver 21:10:58 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 21:05 go.mod 21:10:58 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 21:05 go.sum 21:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 21:05 snap 21:10:58 -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:58 + 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=a50b0f88af1805328706a26dd25b947be7214365 --label arch=arm64 --label version=0.0.0 . 21:10:58 Sending build context to Docker daemon 154.1kB 21:10:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:10:58 Step 2/25 : FROM ${BASE} AS builder 21:10:58 ---> e31426452776 21:10:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:10:58 ---> Running in c73d983a312c 21:10:59 Removing intermediate container c73d983a312c 21:10:59 ---> 962cf2b62dd8 21:10:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:59 ---> Running in 34df67072424 21:10:59 Removing intermediate container 34df67072424 21:10:59 ---> 99ba0e7ef6c0 21:10:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:10:59 ---> Running in ec249b24b354 21:10:59 Removing intermediate container ec249b24b354 21:10:59 ---> 7787e6f27f1b 21:10:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:11:00 ---> Running in 2ed477a8d13d 21:11:00 Removing intermediate container 2ed477a8d13d 21:11:00 ---> b9c84b1eda8d 21:11:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:00 ---> Running in 6dfcbdf1b7e0 21:11:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:03 OK: 268 MiB in 57 packages 21:11:05 Removing intermediate container 6dfcbdf1b7e0 21:11:05 ---> db9b63a99ba4 21:11:05 Step 8/25 : WORKDIR /device-rest-go 21:11:05 ---> Running in 6ccaa7f06b6e 21:11:05 Removing intermediate container 6ccaa7f06b6e 21:11:05 ---> 47532d403624 21:11:05 Step 9/25 : COPY go.mod vendor* ./ 21:11:06 ---> 5f0ea8e4e2b8 21:11:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:06 ---> Running in 27ffd903ae2c 21:11:08 Removing intermediate container 27ffd903ae2c 21:11:08 ---> b275461ad7b0 21:11:08 Step 11/25 : COPY . . 21:11:09 ---> 3e46bc69cca3 21:11:09 Step 12/25 : RUN $MAKE 21:11:09 ---> Running in de5afed7c414 21:11:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:13:16 Removing intermediate container de5afed7c414 21:13:16 ---> aa6345b0ad5b 21:13:16 Step 13/25 : FROM alpine:3.17 21:13:16 3.17: Pulling from library/alpine 21:13:16 c41833b44d91: Already exists 21:13:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:13:16 Status: Downloaded newer image for alpine:3.17 21:13:16 ---> 51e60588ff2c 21:13:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:16 ---> Running in 9b8c89a7f28a 21:13:16 Removing intermediate container 9b8c89a7f28a 21:13:16 ---> 4b2879c5a2c6 21:13:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:13:16 ---> Running in 9ae2ecb2907d 21:13:16 Removing intermediate container 9ae2ecb2907d 21:13:16 ---> 7821857a877d 21:13:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:13:16 ---> Running in 1a9850c17264 21:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:16 (1/1) Installing dumb-init (1.2.5-r2) 21:13:16 Executing busybox-1.35.0-r29.trigger 21:13:16 OK: 8 MiB in 16 packages 21:13:16 Removing intermediate container 1a9850c17264 21:13:16 ---> ea1e1e8307d7 21:13:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:13:17 ---> 988a543d9e65 21:13:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:13:17 ---> 3978773bb55d 21:13:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:13:18 ---> 43578b402f81 21:13:18 Step 20/25 : EXPOSE 59986 21:13:18 ---> Running in 7c3ee076e935 21:13:18 Removing intermediate container 7c3ee076e935 21:13:18 ---> 217bd054b803 21:13:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:13:18 ---> Running in 2b5719ee0f3e 21:13:18 Removing intermediate container 2b5719ee0f3e 21:13:18 ---> 7e683b08e658 21:13:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:13:18 ---> Running in ce7c5cc5ff8f 21:13:19 Removing intermediate container ce7c5cc5ff8f 21:13:19 ---> 5760ba2eac9f 21:13:19 Step 23/25 : LABEL arch=arm64 21:13:19 ---> Running in b5a9f71cd764 21:13:19 Removing intermediate container b5a9f71cd764 21:13:19 ---> 1c6b3f58aa95 21:13:19 Step 24/25 : LABEL git_sha=a50b0f88af1805328706a26dd25b947be7214365 21:13:19 ---> Running in a148b12d0600 21:13:19 Removing intermediate container a148b12d0600 21:13:19 ---> 850157439e85 21:13:19 Step 25/25 : LABEL version=0.0.0 21:13:19 ---> Running in 6dfc1fb8c888 21:13:20 Removing intermediate container 6dfc1fb8c888 21:13:20 ---> 8e3626093ff9 21:13:20 [Warning] One or more build-args [ARCH] were not consumed 21:13:20 Successfully built 8e3626093ff9 21:13:20 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:20 21:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:21 arm64: Pulling from edgex-lftools-log-publisher 21:13:21 8998bd30e6a1: Pulling fs layer 21:13:21 04944245beec: Pulling fs layer 21:13:21 699f458cf7ca: Pulling fs layer 21:13:21 765212b225bb: Pulling fs layer 21:13:21 f23df028b6ca: Pulling fs layer 21:13:21 d65c8cfc05b1: Pulling fs layer 21:13:21 2437ff75d9bd: Pulling fs layer 21:13:21 765212b225bb: Waiting 21:13:21 f23df028b6ca: Waiting 21:13:21 d65c8cfc05b1: Waiting 21:13:21 2437ff75d9bd: Waiting 21:13:21 04944245beec: Verifying Checksum 21:13:21 04944245beec: Download complete 21:13:21 765212b225bb: Verifying Checksum 21:13:21 765212b225bb: Download complete 21:13:21 f23df028b6ca: Verifying Checksum 21:13:21 f23df028b6ca: Download complete 21:13:21 d65c8cfc05b1: Verifying Checksum 21:13:21 d65c8cfc05b1: Download complete 21:13:21 699f458cf7ca: Verifying Checksum 21:13:22 8998bd30e6a1: Verifying Checksum 21:13:22 8998bd30e6a1: Download complete 21:13:24 2437ff75d9bd: Verifying Checksum 21:13:24 2437ff75d9bd: Download complete 21:13:25 8998bd30e6a1: Pull complete 21:13:26 04944245beec: Pull complete 21:13:27 699f458cf7ca: Pull complete 21:13:28 765212b225bb: Pull complete 21:13:29 f23df028b6ca: Pull complete 21:13:29 d65c8cfc05b1: Pull complete 21:13:44 2437ff75d9bd: Pull complete 21:13:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:13:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:44 prd-ubuntu20.04-docker-arm64-4c-16g-9568 does not seem to be running inside a container 21:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:13:47 $ docker top 0c688bac4eacafab9f3a20dd86b1e14737c02a8f006563fa41ad49b348168c79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:48 ---> job-cost.sh 21:13:48 lf-activate-venv: SKIPPING 21:13:48 INFO: No Stack... 21:13:48 INFO: Retrieving Pricing Info for: v3-standard-4 21:13:49 INFO: Archiving Costs [Pipeline] sh 21:13:49 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:13:49 + cut -d, -f6 [Pipeline] lock 21:13:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] 21:13:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] did not exist. Created. 21:13:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:50 /w/workspace/device-rest-go/1@tmp/durable-c4cd1d39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:13:50 + echo total: 0.10999999940395355 [Pipeline] stash 21:13:51 Warning: overwriting stash ‘stack-cost’ 21:13:51 Stashed 1 file(s) [Pipeline] } 21:13:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:51 $ docker stop --time=1 0c688bac4eacafab9f3a20dd86b1e14737c02a8f006563fa41ad49b348168c79 21:13:52 $ docker rm -f --volumes 0c688bac4eacafab9f3a20dd86b1e14737c02a8f006563fa41ad49b348168c79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:13:53 provisioning config files... 21:13:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/config14988203530306983758tmp [Pipeline] { [Pipeline] sh 21:13:54 + set +x 21:13:54 + curl -s https://codecov.io/bash 21:13:54 + bash -s -- 21:13:54 21:13:54 _____ _ 21:13:54 / ____| | | 21:13:54 | | ___ __| | ___ ___ _____ __ 21:13:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:13:54 | |___| (_) | (_| | __/ (_| (_) \ V / 21:13:54 \_____\___/ \__,_|\___|\___\___/ \_/ 21:13:54 Bash-1.0.6 21:13:54 21:13:54 21:13:54 ==> git version 2.25.1 found 21:13:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:13:54 Release-Date: 2020-01-08 21:13:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:13:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:13:54 ==> Jenkins CI detected. 21:13:54 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-300 21:13:54 project root: . 21:13:54 --> token set from env 21:13:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:13:54 ==> Running gcov in . (disable via -X gcov) 21:13:54 ==> Python coveragepy not found 21:13:54 ==> Searching for coverage reports in: 21:13:54 + . 21:13:54 -> Found 1 reports 21:13:54 ==> Detecting git/mercurial file structure 21:13:54 ==> Reading reports 21:13:54 + ./coverage.out bytes=14663 21:13:54 ==> Appending adjustments 21:13:54 https://docs.codecov.io/docs/fixing-reports 21:13:54 + Found adjustments 21:13:54 ==> Gzipping contents 21:13:54 4.0K /tmp/codecov.k4StYT.gz 21:13:54 ==> Uploading reports 21:13:54 url: https://codecov.io 21:13:54 query: branch=PR-300&commit=a50b0f88af1805328706a26dd25b947be7214365&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=300&job=&cmd_args= 21:13:54 -> Pinging Codecov 21:13:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-300&commit=a50b0f88af1805328706a26dd25b947be7214365&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=300&job=&cmd_args= 21:13:54 -> Uploading to 21:13:54 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/4E5D53B4F1F92C436F7061BF334D961C/a50b0f88af1805328706a26dd25b947be7214365/c0a74e88-655c-4240-9399-690f2cb1d95f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T211354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f19e75a2e212c331ed68d0fba3f89201576b3b629176d8bf2ab2589bab159154 21:13:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:54 Dload Upload Total Spent Left Speed 21:13:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10502 --:--:-- --:--:-- --:--:-- 10502 21:13:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a50b0f88af1805328706a26dd25b947be7214365 [Pipeline] } 21:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:13:56 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-300/archives ] 21:13:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-300/archives 21:13:56 total 16 21:13:56 drwxr-xr-x 3 root root 4096 Apr 24 21:05 . 21:13:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 21:05 .. 21:13:56 drwxr-xr-x 2 root root 4096 Apr 24 21:05 cost 21:13:56 -rw-r--r-- 1 root root 86 Apr 24 21:05 cost.csv 21:13:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-300/archives 21:13:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-300/archives 21:13:56 total 16 21:13:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 21:05 . 21:13:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 21:05 .. 21:13:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 21:05 cost 21:13:56 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:13:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:13:57 ---> package-listing.sh 21:13:57 ++ facter osfamily 21:13:57 ++ tr '[:upper:]' '[:lower:]' 21:13:58 + OS_FAMILY=debian 21:13:58 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-300 21:13:58 + START_PACKAGES=/tmp/packages_start.txt 21:13:58 + END_PACKAGES=/tmp/packages_end.txt 21:13:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:13:58 + PACKAGES=/tmp/packages_start.txt 21:13:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-300 ']' 21:13:58 + PACKAGES=/tmp/packages_end.txt 21:13:58 + case "${OS_FAMILY}" in 21:13:58 + dpkg -l 21:13:58 + grep '^ii' 21:13:58 + '[' -f /tmp/packages_start.txt ']' 21:13:58 + '[' -f /tmp/packages_end.txt ']' 21:13:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:13:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-300 ']' 21:13:58 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-300/archives/ 21:13:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-300/archives/ [Pipeline] echo 21:13:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:13:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:59 prd-ubuntu20.04-docker-8c-8g-9566 does not seem to be running inside a container 21:13:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-300/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-300 -v /w/workspace/gexfoundry_device-rest-go_PR-300:/w/workspace/gexfoundry_device-rest-go_PR-300:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-300@tmp:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:13:59 $ docker top 7f33a7627b72c1345e89b77c7cc40b4c9526dac36c6f74322b2a31007a5dd8d3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:59 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:00 + ls /var/log/sa-host 21:14:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:00 provisioning config files... 21:14:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-300@tmp/config11627580177240199745tmp [Pipeline] { [Pipeline] echo 21:14:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:01 ---> create-netrc.sh [Pipeline] } 21:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:01 ---> python-tools-install.sh [Pipeline] echo 21:14:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:01 ---> sudo-logs.sh 21:14:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:02 ---> job-cost.sh 21:14:02 lf-activate-venv: SKIPPING 21:14:02 DEBUG: total: 0.2199999988079071 21:14:02 INFO: Retrieving Stack Cost... 21:14:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:03 INFO: Archiving Costs [Pipeline] echo 21:14:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:03 ---> logs-deploy.sh 21:14:03 lf-activate-venv: SKIPPING 21:14:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-300/1 21:14:03 INFO: archiving workspace using pattern(s): 21:14:04 Archives upload complete. 21:14:04 INFO: archiving logs to Nexus 21:14:05 ---> uname -a: 21:14:05 Linux prd-ubuntu20-04-docker-8c-8g-9566 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:14:05 21:14:05 21:14:05 ---> lscpu: 21:14:05 Architecture: x86_64 21:14:05 CPU op-mode(s): 32-bit, 64-bit 21:14:05 Byte Order: Little Endian 21:14:05 Address sizes: 40 bits physical, 48 bits virtual 21:14:05 CPU(s): 8 21:14:05 On-line CPU(s) list: 0-7 21:14:05 Thread(s) per core: 1 21:14:05 Core(s) per socket: 1 21:14:05 Socket(s): 8 21:14:05 NUMA node(s): 1 21:14:05 Vendor ID: AuthenticAMD 21:14:05 CPU family: 23 21:14:05 Model: 49 21:14:05 Model name: AMD EPYC-Rome Processor 21:14:05 Stepping: 0 21:14:05 CPU MHz: 2799.940 21:14:05 BogoMIPS: 5599.88 21:14:05 Virtualization: AMD-V 21:14:05 Hypervisor vendor: KVM 21:14:05 Virtualization type: full 21:14:05 L1d cache: 256 KiB 21:14:05 L1i cache: 256 KiB 21:14:05 L2 cache: 4 MiB 21:14:05 L3 cache: 128 MiB 21:14:05 NUMA node0 CPU(s): 0-7 21:14:05 Vulnerability Itlb multihit: Not affected 21:14:05 Vulnerability L1tf: Not affected 21:14:05 Vulnerability Mds: Not affected 21:14:05 Vulnerability Meltdown: Not affected 21:14:05 Vulnerability Mmio stale data: Not affected 21:14:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:14:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:14:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:14:05 Vulnerability Srbds: Not affected 21:14:05 Vulnerability Tsx async abort: Not affected 21:14:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:14:05 21:14:05 21:14:05 ---> nproc: 21:14:05 8 21:14:05 21:14:05 21:14:05 ---> df -h: 21:14:05 Filesystem Size Used Avail Use% Mounted on 21:14:05 overlay 155G 12G 144G 8% / 21:14:05 tmpfs 64M 0 64M 0% /dev 21:14:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:14:05 shm 64M 0 64M 0% /dev/shm 21:14:05 /dev/vda1 155G 12G 144G 8% /facter-os 21:14:05 21:14:05 21:14:05 ---> sar -b -r -n DEV: 21:14:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9566) 04/24/23 _x86_64_ (8 CPU) 21:14:05 21:14:05 21:02:39 LINUX RESTART (8 CPU) 21:14:05 21:14:05 21:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:14:05 21:04:01 159.32 38.24 121.08 0.00 4271.42 60579.37 0.00 21:14:05 21:05:01 117.69 1.72 115.97 0.00 18.52 46560.16 0.00 21:14:05 21:06:01 176.80 0.20 176.60 0.00 19.20 43670.85 0.00 21:14:05 21:07:01 1.38 0.00 1.38 0.00 0.00 16.55 0.00 21:14:05 21:08:01 44.38 10.55 33.83 0.00 5155.01 5350.84 0.00 21:14:05 21:09:01 13.70 0.05 13.65 0.00 0.80 3589.94 0.00 21:14:05 21:10:01 3.52 0.02 3.50 0.00 0.13 91.05 0.00 21:14:05 21:11:01 1.47 0.00 1.47 0.00 0.00 17.33 0.00 21:14:05 21:12:01 1.37 0.00 1.37 0.00 0.00 14.93 0.00 21:14:05 21:13:01 1.95 0.00 1.95 0.00 0.00 21.73 0.00 21:14:05 21:14:01 5.85 0.32 5.53 0.00 29.72 110.36 0.00 21:14:05 Average: 47.95 4.64 43.31 0.00 863.11 14548.79 0.00 21:14:05 21:14:05 21:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:14:05 21:04:01 29135376 31586352 727560 2.21 75764 2654076 1993304 5.87 998512 2387628 1876 21:14:05 21:05:01 27785212 31200360 1097436 3.34 146720 3443396 2322856 6.85 1541312 3071916 224860 21:14:05 21:06:01 27639032 31573176 725564 2.21 158984 3923388 1759184 5.18 1264800 3472204 148 21:14:05 21:07:01 27639692 31573876 724728 2.20 159024 3923384 1759184 5.18 1264152 3472204 128 21:14:05 21:08:01 27155172 31545008 739880 2.25 179440 4340488 1811480 5.34 1536716 3651696 94444 21:14:05 21:09:01 27109280 31558876 725756 2.21 193160 4384084 1810964 5.34 1583228 3647632 8 21:14:05 21:10:01 27113712 31558560 726708 2.21 191760 4380832 1771632 5.22 1580532 3644476 176 21:14:05 21:11:01 27121320 31566208 719012 2.19 191796 4380836 1771632 5.22 1573608 3644476 200 21:14:05 21:12:01 27121508 31566492 718688 2.19 191860 4380836 1771632 5.22 1573696 3644480 16 21:14:05 21:13:01 27121492 31566548 718572 2.19 191924 4380840 1771632 5.22 1573788 3644484 8 21:14:05 21:14:01 27077792 31526096 754380 2.29 192112 4382604 1868060 5.51 1612072 3643472 348 21:14:05 Average: 27456326 31529232 761662 2.32 170231 4052251 1855596 5.47 1463856 3447697 29292 21:14:05 21:14:05 21:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:14:05 21:04:01 ens3 743.26 501.33 7056.95 98.07 0.00 0.00 0.00 0.00 21:14:05 21:04:01 vethc774968 48.76 62.42 4.61 47.19 0.00 0.00 0.00 0.00 21:14:05 21:04:01 docker0 77.44 94.50 6.12 289.89 0.00 0.00 0.00 0.00 21:14:05 21:04:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 21:14:05 21:05:01 ens3 287.64 164.04 1889.01 92.96 0.00 0.00 0.00 0.00 21:14:05 21:05:01 docker0 137.64 253.73 10.61 1853.41 0.00 0.00 0.00 0.00 21:14:05 21:05:01 vethd57c2bf 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 21:14:05 21:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:06:01 ens3 137.83 82.95 2628.73 19.78 0.00 0.00 0.00 0.00 21:14:05 21:06:01 docker0 2.90 7.25 0.18 85.57 0.00 0.00 0.00 0.00 21:14:05 21:06:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 21:14:05 21:07:01 ens3 0.15 0.13 0.01 0.02 0.00 0.00 0.00 0.00 21:14:05 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:08:01 ens3 191.87 94.20 2865.98 6.60 0.00 0.00 0.00 0.00 21:14:05 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:08:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 21:14:05 21:09:01 ens3 0.77 0.50 0.33 0.13 0.00 0.00 0.00 0.00 21:14:05 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:10:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:11:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:12:01 ens3 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:13:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:05 21:14:01 ens3 23.56 14.91 26.60 9.07 0.00 0.00 0.00 0.00 21:14:05 21:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:05 21:14:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 21:14:05 Average: ens3 125.95 78.04 1315.25 20.61 0.00 0.00 0.00 0.00 21:14:05 Average: docker0 19.82 32.33 1.54 202.70 0.00 0.00 0.00 0.00 21:14:05 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 21:14:05 21:14:05 21:14:05 ---> sar -P ALL: 21:14:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9566) 04/24/23 _x86_64_ (8 CPU) 21:14:05 21:14:05 21:02:39 LINUX RESTART (8 CPU) 21:14:05 21:14:05 21:03:01 CPU %user %nice %system %iowait %steal %idle 21:14:05 21:04:01 all 10.14 0.00 3.56 2.51 0.07 83.72 21:14:05 21:04:01 0 10.62 0.00 4.18 3.71 0.05 81.44 21:14:05 21:04:01 1 8.79 0.00 4.05 11.06 0.07 76.03 21:14:05 21:04:01 2 8.23 0.00 3.45 0.82 0.05 87.44 21:14:05 21:04:01 3 9.95 0.00 3.53 0.57 0.07 85.88 21:14:05 21:04:01 4 10.51 0.00 3.29 1.84 0.07 84.30 21:14:05 21:04:01 5 10.03 0.00 3.13 0.96 0.07 85.81 21:14:05 21:04:01 6 11.97 0.00 3.27 0.72 0.07 83.97 21:14:05 21:04:01 7 11.01 0.00 3.60 0.49 0.08 84.82 21:14:05 21:05:01 all 27.12 0.00 5.31 3.10 0.08 64.39 21:14:05 21:05:01 0 25.88 0.00 4.56 6.19 0.08 63.28 21:14:05 21:05:01 1 26.73 0.00 4.98 1.21 0.08 67.00 21:14:05 21:05:01 2 26.75 0.00 5.91 11.08 0.10 56.17 21:14:05 21:05:01 3 28.22 0.00 5.34 0.39 0.08 65.97 21:14:05 21:05:01 4 27.25 0.00 5.29 0.22 0.07 67.18 21:14:05 21:05:01 5 28.32 0.00 5.46 4.21 0.08 61.92 21:14:05 21:05:01 6 25.46 0.00 4.74 0.23 0.05 69.51 21:14:05 21:05:01 7 28.36 0.00 6.18 1.27 0.10 64.10 21:14:05 21:06:01 all 20.33 0.00 5.02 2.72 0.07 71.86 21:14:05 21:06:01 0 20.43 0.00 4.93 0.77 0.07 73.81 21:14:05 21:06:01 1 19.21 0.00 5.65 13.98 0.08 61.08 21:14:05 21:06:01 2 19.94 0.00 5.23 0.57 0.05 74.21 21:14:05 21:06:01 3 20.33 0.00 5.02 3.24 0.07 71.34 21:14:05 21:06:01 4 20.46 0.00 4.65 0.08 0.07 74.73 21:14:05 21:06:01 5 21.01 0.00 4.20 0.05 0.07 74.67 21:14:05 21:06:01 6 19.88 0.00 5.18 0.07 0.07 74.81 21:14:05 21:06:01 7 21.41 0.00 5.28 3.05 0.08 70.18 21:14:05 21:07:01 all 0.15 0.00 0.01 0.00 0.00 99.83 21:14:05 21:07:01 0 1.01 0.00 0.03 0.00 0.00 98.96 21:14:05 21:07:01 1 0.05 0.00 0.03 0.00 0.00 99.92 21:14:05 21:07:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:07:01 3 0.03 0.00 0.03 0.03 0.02 99.88 21:14:05 21:07:01 4 0.03 0.00 0.00 0.00 0.00 99.97 21:14:05 21:07:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:07:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:07:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:08:01 all 1.85 0.00 1.09 0.61 0.02 96.43 21:14:05 21:08:01 0 1.18 0.00 0.72 0.44 0.02 97.65 21:14:05 21:08:01 1 1.57 0.00 0.90 1.42 0.03 96.07 21:14:05 21:08:01 2 1.52 0.00 0.70 0.55 0.02 97.21 21:14:05 21:08:01 3 0.74 0.00 0.64 1.15 0.03 97.44 21:14:05 21:08:01 4 2.56 0.00 0.92 0.03 0.02 96.47 21:14:05 21:08:01 5 2.56 0.00 1.55 0.94 0.02 94.94 21:14:05 21:08:01 6 1.65 0.00 1.18 0.32 0.02 96.83 21:14:05 21:08:01 7 3.06 0.00 2.06 0.03 0.02 94.83 21:14:05 21:09:01 all 0.48 0.00 0.53 0.09 0.01 98.90 21:14:05 21:09:01 0 0.52 0.00 0.23 0.00 0.02 99.23 21:14:05 21:09:01 1 0.47 0.00 0.52 0.03 0.00 98.98 21:14:05 21:09:01 2 0.43 0.00 0.78 0.02 0.02 98.75 21:14:05 21:09:01 3 0.33 0.00 0.33 0.25 0.00 99.08 21:14:05 21:09:01 4 0.40 0.00 0.33 0.02 0.02 99.23 21:14:05 21:09:01 5 0.73 0.00 0.32 0.02 0.02 98.92 21:14:05 21:09:01 6 0.63 0.00 0.25 0.00 0.00 99.12 21:14:05 21:09:01 7 0.28 0.00 1.48 0.35 0.02 97.87 21:14:05 21:10:01 all 0.08 0.00 0.05 0.02 0.00 99.85 21:14:05 21:10:01 0 0.05 0.00 0.07 0.00 0.00 99.88 21:14:05 21:10:01 1 0.02 0.00 0.02 0.02 0.02 99.93 21:14:05 21:10:01 2 0.05 0.00 0.03 0.07 0.00 99.85 21:14:05 21:10:01 3 0.08 0.00 0.03 0.08 0.00 99.80 21:14:05 21:10:01 4 0.08 0.00 0.07 0.00 0.00 99.85 21:14:05 21:10:01 5 0.07 0.00 0.07 0.00 0.00 99.87 21:14:05 21:10:01 6 0.22 0.00 0.10 0.00 0.02 99.67 21:14:05 21:10:01 7 0.05 0.00 0.03 0.00 0.00 99.92 21:14:05 21:11:01 all 0.01 0.00 0.01 0.01 0.00 99.96 21:14:05 21:11:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:14:05 21:11:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:11:01 2 0.00 0.00 0.00 0.03 0.00 99.97 21:14:05 21:11:01 3 0.02 0.00 0.00 0.02 0.02 99.95 21:14:05 21:11:01 4 0.03 0.00 0.03 0.00 0.00 99.93 21:14:05 21:11:01 5 0.03 0.00 0.03 0.00 0.02 99.92 21:14:05 21:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 21:14:05 21:12:01 all 0.02 0.00 0.01 0.00 0.00 99.97 21:14:05 21:12:01 0 0.00 0.00 0.00 0.00 0.02 99.98 21:14:05 21:12:01 1 0.00 0.00 0.02 0.00 0.00 99.98 21:14:05 21:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:12:01 3 0.02 0.00 0.00 0.02 0.00 99.97 21:14:05 21:12:01 4 0.05 0.00 0.00 0.00 0.00 99.95 21:14:05 21:12:01 5 0.03 0.00 0.03 0.00 0.00 99.93 21:14:05 21:12:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:13:01 all 0.02 0.00 0.01 0.00 0.00 99.96 21:14:05 21:13:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:14:05 21:13:01 1 0.00 0.00 0.00 0.00 0.00 100.00 21:14:05 21:13:01 2 0.00 0.00 0.02 0.02 0.00 99.97 21:14:05 21:13:01 3 0.05 0.00 0.00 0.02 0.00 99.93 21:14:05 21:13:01 4 0.03 0.00 0.03 0.00 0.02 99.92 21:14:05 21:13:01 5 0.03 0.00 0.03 0.00 0.02 99.92 21:14:05 21:13:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:14:05 21:13:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:14:05 21:14:01 all 0.52 0.00 0.23 0.03 0.01 99.21 21:14:05 21:14:01 0 0.57 0.00 0.17 0.00 0.02 99.25 21:14:05 21:14:01 1 0.33 0.00 0.17 0.05 0.02 99.43 21:14:05 21:14:01 2 0.35 0.00 0.28 0.03 0.02 99.32 21:14:05 21:14:01 3 0.27 0.00 0.20 0.07 0.02 99.45 21:14:05 21:14:01 4 0.52 0.00 0.22 0.02 0.00 99.25 21:14:05 21:14:01 5 0.25 0.00 0.27 0.00 0.02 99.47 21:14:05 21:14:01 6 1.02 0.00 0.28 0.03 0.00 98.67 21:14:05 21:14:01 7 0.85 0.00 0.27 0.00 0.00 98.88 21:14:05 21:14:05 Average: CPU %user %nice %system %iowait %steal %idle 21:14:05 Average: all 5.49 0.00 1.43 0.82 0.02 92.24 21:14:05 Average: 0 5.47 0.00 1.35 1.00 0.02 92.15 21:14:05 Average: 1 5.16 0.00 1.47 2.50 0.03 90.84 21:14:05 Average: 2 5.18 0.00 1.48 1.19 0.02 92.13 21:14:05 Average: 3 5.42 0.00 1.37 0.53 0.03 92.66 21:14:05 Average: 4 5.59 0.00 1.34 0.20 0.02 92.85 21:14:05 Average: 5 5.70 0.00 1.37 0.56 0.03 92.35 21:14:05 Average: 6 5.51 0.00 1.36 0.12 0.02 92.99 21:14:05 Average: 7 5.87 0.00 1.71 0.47 0.03 91.93 21:14:05 21:14:05 21:14:05