Pull request #307 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 029c46def9050e17fb33852df05a2d7c4cd6c02a+c1a1e2764950d18ca7a23f7abac7d306f95fa84d (5813410d2afcd783a6b80d8c8fa1f264e558d829) 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-ssh246362636142418134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13374091283332318701.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-307/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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10041864955265177499.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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh429695587474417836.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18421938915926562536.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-307/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-307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11809225568252607609.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-13317 in /w/workspace/gexfoundry_device-rest-go_PR-307 [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-307 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c1a1e2764950d18ca7a23f7abac7d306f95fa84d into PR head commit 029c46def9050e17fb33852df05a2d7c4cd6c02a Merge succeeded, producing 029c46def9050e17fb33852df05a2d7c4cd6c02a Checking out Revision 029c46def9050e17fb33852df05a2d7c4cd6c02a (PR-307) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 029c46def9050e17fb33852df05a2d7c4cd6c02a # 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 c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 029c46def9050e17fb33852df05a2d7c4cd6c02a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:03:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:03:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:03:39 ========================================================= 21:03:39 EdgeX Global Pipelines Version Info 21:03:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:03:40 ------------------- 21:03:40 stable info: 21:03:40 ------------------- 21:03:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:03:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:03:40 Message: update stable to v1.0.249 21:03:41 ------------------- 21:03:41 experimental info: 21:03:41 ------------------- 21:03:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:03:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:03:41 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:03:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-307 [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-307 [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-307 [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 029c46def9050e17fb33852df05a2d7c4cd6c02a [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 029c46d [Pipeline] echo 21:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:42 provisioning config files... 21:03:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/config12038803454835383421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:43 ---> docker-login.sh 21:03:43 nexus3.edgexfoundry.org:10001 21:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:44 Configure a credential helper to remove this warning. See 21:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:44 21:03:44 Login Succeeded 21:03:44 nexus3.edgexfoundry.org:10002 21:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:44 Configure a credential helper to remove this warning. See 21:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:44 21:03:44 Login Succeeded 21:03:44 nexus3.edgexfoundry.org:10003 21:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:44 Configure a credential helper to remove this warning. See 21:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:44 21:03:44 Login Succeeded 21:03:44 nexus3.edgexfoundry.org:10004 21:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:44 Configure a credential helper to remove this warning. See 21:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:44 21:03:44 Login Succeeded 21:03:44 docker.io 21:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:45 Configure a credential helper to remove this warning. See 21:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:45 21:03:45 Login Succeeded 21:03:45 ---> docker-login.sh ends [Pipeline] } 21:03:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:03:45 + git rev-list -1 --merges 029c46def9050e17fb33852df05a2d7c4cd6c02a~1..029c46def9050e17fb33852df05a2d7c4cd6c02a [Pipeline] echo 21:03:45 -----------> git rev-list -1 --merges 029c46def9050e17fb33852df05a2d7c4cd6c02a~1..029c46def9050e17fb33852df05a2d7c4cd6c02a 029c46def9050e17fb33852df05a2d7c4cd6c02a [false] [Pipeline] sh 21:03:46 + git log --format=format:%s -1 029c46def9050e17fb33852df05a2d7c4cd6c02a [Pipeline] echo 21:03:46 ========================================================= 21:03:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:03:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:46 + git log --format=format:%s -1 029c46def9050e17fb33852df05a2d7c4cd6c02a [Pipeline] echo 21:03:46 [semverPrep] GIT_COMMIT: 029c46def9050e17fb33852df05a2d7c4cd6c02a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:03:46 [semverPrep] This is not a build commit. [Pipeline] sh 21:03:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:03:47 + grep -v github /etc/ssh/ssh_known_hosts 21:03:47 + [ -e /tmp/ssh_known_hosts ] 21:03:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:03:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:03:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:03:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:47 21:03:47 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:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:47 0.1.4: Pulling from edgex-devops/py-git-semver 21:03:47 b85a868b505f: Pulling fs layer 21:03:47 e2be974225ed: Pulling fs layer 21:03:47 339a4e72a1f5: Pulling fs layer 21:03:47 988bab9f4d93: Pulling fs layer 21:03:47 1469e6f7b9e6: Pulling fs layer 21:03:47 eaf3925da568: Pulling fs layer 21:03:47 bab4dde63d76: Pulling fs layer 21:03:47 bde34c3a00c8: Pulling fs layer 21:03:47 b352a97aabf1: Pulling fs layer 21:03:47 4872d77fe225: Pulling fs layer 21:03:47 5851b861e8e6: Pulling fs layer 21:03:47 bab4dde63d76: Waiting 21:03:47 bde34c3a00c8: Waiting 21:03:47 4872d77fe225: Waiting 21:03:47 5851b861e8e6: Waiting 21:03:47 b352a97aabf1: Waiting 21:03:47 1469e6f7b9e6: Waiting 21:03:47 988bab9f4d93: Waiting 21:03:47 e2be974225ed: Download complete 21:03:47 988bab9f4d93: Download complete 21:03:48 1469e6f7b9e6: Verifying Checksum 21:03:48 1469e6f7b9e6: Download complete 21:03:48 eaf3925da568: Verifying Checksum 21:03:48 eaf3925da568: Download complete 21:03:48 339a4e72a1f5: Verifying Checksum 21:03:48 339a4e72a1f5: Download complete 21:03:48 bde34c3a00c8: Verifying Checksum 21:03:48 bde34c3a00c8: Download complete 21:03:48 b352a97aabf1: Verifying Checksum 21:03:48 b352a97aabf1: Download complete 21:03:48 4872d77fe225: Verifying Checksum 21:03:48 4872d77fe225: Download complete 21:03:48 5851b861e8e6: Verifying Checksum 21:03:48 5851b861e8e6: Download complete 21:03:48 b85a868b505f: Verifying Checksum 21:03:48 b85a868b505f: Download complete 21:03:48 bab4dde63d76: Verifying Checksum 21:03:48 bab4dde63d76: Download complete 21:03:49 b85a868b505f: Pull complete 21:03:49 e2be974225ed: Pull complete 21:03:50 339a4e72a1f5: Pull complete 21:03:50 988bab9f4d93: Pull complete 21:03:50 1469e6f7b9e6: Pull complete 21:03:50 eaf3925da568: Pull complete 21:03:52 bab4dde63d76: Pull complete 21:03:52 bde34c3a00c8: Pull complete 21:03:52 b352a97aabf1: Pull complete 21:03:52 4872d77fe225: Pull complete 21:03:52 5851b861e8e6: Pull complete 21:03:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:52 prd-ubuntu20.04-docker-8c-8g-13317 does not seem to be running inside a container 21:03:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-307 -v /w/workspace/gexfoundry_device-rest-go_PR-307:/w/workspace/gexfoundry_device-rest-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-307@tmp:/w/workspace/gexfoundry_device-rest-go_PR-307@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:54 $ docker top 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 -eo pid,comm 21:03:54 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:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:54 [ssh-agent] Looking for ssh-agent implementation... 21:03:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:54 $ docker exec 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 ssh-agent 21:03:54 SSH_AUTH_SOCK=/tmp/ssh-Ilk6Ge2UJ3mZ/agent.33 21:03:54 SSH_AGENT_PID=39 21:03:54 Running ssh-add (command line suppressed) 21:03:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-307@tmp/private_key_9570498776420831301.key (/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/private_key_9570498776420831301.key) 21:03:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:55 + git tag --points-at HEAD [Pipeline] } 21:03:55 $ docker exec --env ******** --env ******** 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 ssh-agent -k 21:03:55 unset SSH_AUTH_SOCK; 21:03:55 unset SSH_AGENT_PID; 21:03:55 echo Agent pid 39 killed; 21:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:55 [ssh-agent] Looking for ssh-agent implementation... 21:03:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:55 $ docker exec 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 ssh-agent 21:03:55 SSH_AUTH_SOCK=/tmp/ssh-GBV3n1Gzx1kh/agent.71 21:03:55 SSH_AGENT_PID=77 21:03:55 Running ssh-add (command line suppressed) 21:03:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-307@tmp/private_key_17385798995397111783.key (/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/private_key_17385798995397111783.key) 21:03:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:56 + git semver init 21:03:56 2023-05-04 21:03:56,294 [run_init] DEBUG init version:0.0.0 force:False 21:03:56 2023-05-04 21:03:56,295 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-307/.semver 21:03:56 2023-05-04 21:03:56,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-307/.semver 21:03:56 2023-05-04 21:03:56,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-307/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-307, universal_newlines=False, shell=None, istream=None) 21:03:57 2023-05-04 21:03:57,237 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-307/.git/info/exclude 21:03:57 2023-05-04 21:03:57,237 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-307/.semver/PR-307 with force:False 21:03:57 2023-05-04 21:03:57,237 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-307/.semver/PR-307 21:03:57 2023-05-04 21:03:57,242 [execute] INFO git cat-file --batch-check 21:03:57 2023-05-04 21:03:57,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 21:03:57 2023-05-04 21:03:57,248 [execute] INFO git cat-file --batch 21:03:57 2023-05-04 21:03:57,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 21:03:57 2023-05-04 21:03:57,254 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-307/.semver/PR-307 21:03:57 0.0.0 [Pipeline] } 21:03:57 $ docker exec --env ******** --env ******** 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 ssh-agent -k 21:03:57 unset SSH_AUTH_SOCK; 21:03:57 unset SSH_AGENT_PID; 21:03:57 echo Agent pid 77 killed; 21:03:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:57 + git semver [Pipeline] } 21:03:58 $ docker stop --time=1 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 21:03:59 $ docker rm -f --volumes 9561df810ab462bec232a86f6a678ddc5d4cedc2d63d23f884dad8ed0753a3b2 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:04:00 Stashed 1 file(s) [Pipeline] echo 21:04:00 [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:04:00 provisioning config files... 21:04:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/config7556789034688215068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:01 ---> docker-login.sh 21:04:01 nexus3.edgexfoundry.org:10001 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 nexus3.edgexfoundry.org:10002 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 nexus3.edgexfoundry.org:10003 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 nexus3.edgexfoundry.org:10004 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 docker.io 21:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:01 Configure a credential helper to remove this warning. See 21:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:01 21:04:01 Login Succeeded 21:04:01 ---> docker-login.sh ends [Pipeline] } 21:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:01 ========================================================= 21:04:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:04:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + 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:04:02 Sending build context to Docker daemon 10.91MB 21:04:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:02 Step 2/12 : FROM ${BASE} AS builder 21:04:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:04:02 f56be85fc22e: Pulling fs layer 21:04:02 85791d961cd3: Pulling fs layer 21:04:02 d694b5ae8c79: Pulling fs layer 21:04:02 9f32a84ed3da: Pulling fs layer 21:04:02 4d19c01a9841: Pulling fs layer 21:04:02 9325e15d5711: Pulling fs layer 21:04:02 556b6ee489ea: Pulling fs layer 21:04:02 c5a4b2cf53e6: Pulling fs layer 21:04:02 9f32a84ed3da: Waiting 21:04:02 4d19c01a9841: Waiting 21:04:02 c5a4b2cf53e6: Waiting 21:04:02 9325e15d5711: Waiting 21:04:02 556b6ee489ea: Waiting 21:04:02 85791d961cd3: Verifying Checksum 21:04:02 85791d961cd3: Download complete 21:04:02 9f32a84ed3da: Verifying Checksum 21:04:02 9f32a84ed3da: Download complete 21:04:02 4d19c01a9841: Verifying Checksum 21:04:02 4d19c01a9841: Download complete 21:04:02 f56be85fc22e: Verifying Checksum 21:04:02 f56be85fc22e: Download complete 21:04:02 9325e15d5711: Verifying Checksum 21:04:02 9325e15d5711: Download complete 21:04:02 f56be85fc22e: Pull complete 21:04:02 85791d961cd3: Pull complete 21:04:03 c5a4b2cf53e6: Verifying Checksum 21:04:03 c5a4b2cf53e6: Download complete 21:04:03 d694b5ae8c79: Download complete 21:04:03 556b6ee489ea: Verifying Checksum 21:04:03 556b6ee489ea: Download complete 21:04:06 d694b5ae8c79: Pull complete 21:04:06 9f32a84ed3da: Pull complete 21:04:06 4d19c01a9841: Pull complete 21:04:06 9325e15d5711: Pull complete 21:04:09 556b6ee489ea: Pull complete 21:04:10 c5a4b2cf53e6: Pull complete 21:04:10 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:04:10 ---> c4be618373d6 21:04:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:04:11 ---> Running in 95c2a352ef27 21:04:12 Removing intermediate container 95c2a352ef27 21:04:12 ---> 5f8749327402 21:04:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:12 ---> Running in 83bc5511fe3b 21:04:12 Removing intermediate container 83bc5511fe3b 21:04:12 ---> fc2087c86f8f 21:04:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:12 ---> Running in 0a48ad4fb94b 21:04:12 Removing intermediate container 0a48ad4fb94b 21:04:12 ---> 0a4891993844 21:04:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:04:12 ---> Running in f2f1a78577da 21:04:12 Removing intermediate container f2f1a78577da 21:04:12 ---> c34c4c56789a 21:04:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:12 ---> Running in 072c64c6c61b 21:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:04:13 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:04:13 (2/4) Installing libedit (20221030.3.1-r0) 21:04:13 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:04:13 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:04:13 Executing busybox-1.35.0-r29.trigger 21:04:13 OK: 269 MiB in 57 packages 21:04:13 Removing intermediate container 072c64c6c61b 21:04:13 ---> a5ff107f2b84 21:04:13 Step 8/12 : WORKDIR /device-rest-go 21:04:13 ---> Running in 248800b5f988 21:04:13 Removing intermediate container 248800b5f988 21:04:13 ---> efabb4f2b0ed 21:04:13 Step 9/12 : COPY go.mod vendor* ./ 21:04:13 ---> d8e8bad0a842 21:04:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:13 ---> Running in 9e7e90fb5109 21:04:15 Still waiting to schedule task 21:04:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:04:35 Removing intermediate container 9e7e90fb5109 21:04:35 ---> 45c95cb65575 21:04:35 Step 11/12 : COPY . . 21:04:35 ---> 0dcde3773d13 21:04:35 Step 12/12 : RUN $MAKE 21:04:35 ---> Running in 6a51b632a43c 21:04:35 noop 21:04:35 Removing intermediate container 6a51b632a43c 21:04:35 ---> 69d482ddd3aa 21:04:35 Successfully built 69d482ddd3aa 21:04:35 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-13317 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-307 -v /w/workspace/gexfoundry_device-rest-go_PR-307:/w/workspace/gexfoundry_device-rest-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-307@tmp:/w/workspace/gexfoundry_device-rest-go_PR-307@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:36 $ docker top 8286e6c110fbbbc073307ef33722a06506f32ea18cb80d96d98dddae1b04b652 -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 8286e6c110fbbbc073307ef33722a06506f32ea18cb80d96d98dddae1b04b652 21:04:38 $ docker rm -f --volumes 8286e6c110fbbbc073307ef33722a06506f32ea18cb80d96d98dddae1b04b652 [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-13317 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-307 -v /w/workspace/gexfoundry_device-rest-go_PR-307:/w/workspace/gexfoundry_device-rest-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-307@tmp:/w/workspace/gexfoundry_device-rest-go_PR-307@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:39 $ docker top 248148ef995bb665ac769c2d8ac101d5d1b6e3b8662ee62f8f839b5fc65b5687 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-307 [Pipeline] fileExists [Pipeline] sh 21:04:40 + make test 21:04:40 go test ./... -coverprofile=coverage.out ./... 21:04:45 ? github.com/edgexfoundry/device-rest-go [no test files] 21:04:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:04:58 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 21:05:03 go vet ./... 21:05:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:07 $ docker stop --time=1 248148ef995bb665ac769c2d8ac101d5d1b6e3b8662ee62f8f839b5fc65b5687 21:05:10 $ docker rm -f --volumes 248148ef995bb665ac769c2d8ac101d5d1b6e3b8662ee62f8f839b5fc65b5687 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:05:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:11 + ls -al . 21:05:11 total 184 21:05:11 drwxrwxr-x 9 jenkins jenkins 4096 May 4 21:04 . 21:05:11 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:03 .. 21:05:11 -rw-rw-r-- 1 jenkins jenkins 151 May 4 21:03 .dockerignore 21:05:11 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:03 .git 21:05:11 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:03 .github 21:05:11 -rw-rw-r-- 1 jenkins jenkins 329 May 4 21:03 .gitignore 21:05:11 -rw-rw-r-- 1 jenkins jenkins 41 May 4 21:03 .golangci.yml 21:05:11 drwxr-xr-x 3 jenkins jenkins 4096 May 4 21:03 .semver 21:05:11 -rw-rw-r-- 1 jenkins jenkins 9331 May 4 21:03 Attribution.txt 21:05:11 -rw-rw-r-- 1 jenkins jenkins 13085 May 4 21:03 CHANGELOG.md 21:05:11 -rw-rw-r-- 1 jenkins jenkins 1578 May 4 21:03 Dockerfile 21:05:11 -rw-rw-r-- 1 jenkins jenkins 677 May 4 21:03 GOVERNANCE.md 21:05:11 -rw-rw-r-- 1 jenkins jenkins 680 May 4 21:03 Jenkinsfile 21:05:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 21:03 LICENSE 21:05:11 -rw-rw-r-- 1 jenkins jenkins 1779 May 4 21:03 Makefile 21:05:11 -rw-rw-r-- 1 jenkins jenkins 620 May 4 21:03 OWNERS.md 21:05:11 -rw-rw-r-- 1 jenkins jenkins 15321 May 4 21:03 README.md 21:05:11 -rw-rw-r-- 1 jenkins jenkins 5 May 4 21:03 VERSION 21:05:11 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:03 bin 21:05:11 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:03 cmd 21:05:11 -rw-r--r-- 1 jenkins jenkins 14663 May 4 21:04 coverage.out 21:05:11 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:03 driver 21:05:11 -rw-rw-r-- 1 jenkins jenkins 3402 May 4 21:03 go.mod 21:05:11 -rw-rw-r-- 1 jenkins jenkins 31328 May 4 21:03 go.sum 21:05:11 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:03 snap 21:05:11 -rw-rw-r-- 1 jenkins jenkins 713 May 4 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:12 + 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=029c46def9050e17fb33852df05a2d7c4cd6c02a --label arch=amd64 --label version=0.0.0 . 21:05:12 Sending build context to Docker daemon 10.93MB 21:05:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:05:12 Step 2/25 : FROM ${BASE} AS builder 21:05:12 ---> 69d482ddd3aa 21:05:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:05:12 ---> Running in 234e37256a66 21:05:12 Removing intermediate container 234e37256a66 21:05:12 ---> eeef1de3cfe2 21:05:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:12 ---> Running in 03545702ed56 21:05:12 Removing intermediate container 03545702ed56 21:05:12 ---> b5c7b9c917ec 21:05:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:05:12 ---> Running in 2db307b66642 21:05:12 Removing intermediate container 2db307b66642 21:05:12 ---> 884bc6793ec2 21:05:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:05:12 ---> Running in 32e44e3e9f6d 21:05:12 Removing intermediate container 32e44e3e9f6d 21:05:12 ---> 83782e865953 21:05:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:12 ---> Running in e72d84ba2d93 21:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:05:13 OK: 269 MiB in 57 packages 21:05:14 Removing intermediate container e72d84ba2d93 21:05:14 ---> 6684b73b41a4 21:05:14 Step 8/25 : WORKDIR /device-rest-go 21:05:14 ---> Running in 6a2b98466d22 21:05:14 Removing intermediate container 6a2b98466d22 21:05:14 ---> abea4a2092ad 21:05:14 Step 9/25 : COPY go.mod vendor* ./ 21:05:14 ---> ecb1ffec39de 21:05:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:14 ---> Running in 6241d536e42f 21:05:15 Removing intermediate container 6241d536e42f 21:05:15 ---> 745c52724be7 21:05:15 Step 11/25 : COPY . . 21:05:15 ---> 62c6c1c02988 21:05:15 Step 12/25 : RUN $MAKE 21:05:15 ---> Running in c9fb12af5de4 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:33 Removing intermediate container c9fb12af5de4 21:05:33 ---> 8059bfd51d8e 21:05:33 Step 13/25 : FROM alpine:3.17 21:05:34 3.17: Pulling from library/alpine 21:05:34 f56be85fc22e: Already exists 21:05:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:05:34 Status: Downloaded newer image for alpine:3.17 21:05:34 ---> 9ed4aefc74f6 21:05:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:05:34 ---> Running in 3b9521cca421 21:05:34 Removing intermediate container 3b9521cca421 21:05:34 ---> 51f562ca4b38 21:05:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:05:34 ---> Running in 0b030868a9ce 21:05:34 Removing intermediate container 0b030868a9ce 21:05:34 ---> 2bc073cfda9c 21:05:34 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:05:34 ---> Running in fc8e1a5be98c 21:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:05:35 (1/1) Installing dumb-init (1.2.5-r2) 21:05:35 Executing busybox-1.35.0-r29.trigger 21:05:35 OK: 7 MiB in 16 packages 21:05:35 Removing intermediate container fc8e1a5be98c 21:05:35 ---> 7cf2ec414cb7 21:05:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:05:36 ---> 33aa1c4eb1de 21:05:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:05:36 ---> 73c13460a5f0 21:05:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:05:36 ---> 7931075820bb 21:05:36 Step 20/25 : EXPOSE 59986 21:05:36 ---> Running in f18367587883 21:05:36 Removing intermediate container f18367587883 21:05:36 ---> f89266760189 21:05:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:05:36 ---> Running in 9b5aefdc9602 21:05:37 Removing intermediate container 9b5aefdc9602 21:05:37 ---> 877e4c545759 21:05:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:05:37 ---> Running in 75aa2584262b 21:05:37 Removing intermediate container 75aa2584262b 21:05:37 ---> eb151e5acbfa 21:05:37 Step 23/25 : LABEL arch=amd64 21:05:37 ---> Running in cbe165b12e5b 21:05:37 Removing intermediate container cbe165b12e5b 21:05:37 ---> b7a52dc95907 21:05:37 Step 24/25 : LABEL git_sha=029c46def9050e17fb33852df05a2d7c4cd6c02a 21:05:37 ---> Running in 379ba587163c 21:05:37 Removing intermediate container 379ba587163c 21:05:37 ---> 060cdf7cb388 21:05:37 Step 25/25 : LABEL version=0.0.0 21:05:37 ---> Running in 05a091a6227f 21:05:37 Removing intermediate container 05a091a6227f 21:05:37 ---> 78167a65397e 21:05:37 [Warning] One or more build-args [ARCH] were not consumed 21:05:37 Successfully built 78167a65397e 21:05:37 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:38 21:05:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:38 latest: Pulling from edgex-lftools-log-publisher 21:05:38 5eb5b503b376: Pulling fs layer 21:05:38 5c69ac0246d0: Pulling fs layer 21:05:38 ec43610c2a17: Pulling fs layer 21:05:38 3a2ae6a8a46f: Pulling fs layer 21:05:38 33b1e0a273af: Pulling fs layer 21:05:38 5d3b04190fa2: Pulling fs layer 21:05:38 2f39f015ded8: Pulling fs layer 21:05:38 2f39f015ded8: Waiting 21:05:38 5d3b04190fa2: Waiting 21:05:38 33b1e0a273af: Waiting 21:05:38 3a2ae6a8a46f: Waiting 21:05:38 5c69ac0246d0: Verifying Checksum 21:05:38 5c69ac0246d0: Download complete 21:05:38 3a2ae6a8a46f: Download complete 21:05:38 33b1e0a273af: Verifying Checksum 21:05:38 33b1e0a273af: Download complete 21:05:38 ec43610c2a17: Verifying Checksum 21:05:38 ec43610c2a17: Download complete 21:05:38 5d3b04190fa2: Verifying Checksum 21:05:38 5d3b04190fa2: Download complete 21:05:39 5eb5b503b376: Verifying Checksum 21:05:39 5eb5b503b376: Download complete 21:05:39 2f39f015ded8: Download complete 21:05:40 5eb5b503b376: Pull complete 21:05:40 5c69ac0246d0: Pull complete 21:05:40 ec43610c2a17: Pull complete 21:05:40 3a2ae6a8a46f: Pull complete 21:05:41 33b1e0a273af: Pull complete 21:05:41 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:46 prd-ubuntu20.04-docker-8c-8g-13317 does not seem to be running inside a container 21:05:46 $ 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-307 -v /w/workspace/gexfoundry_device-rest-go_PR-307:/w/workspace/gexfoundry_device-rest-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-307@tmp:/w/workspace/gexfoundry_device-rest-go_PR-307@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:48 $ docker top bdf80ebd445613ead361792fc187dc542636628995bff3dcde1f8ffd94c64c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:49 ---> job-cost.sh 21:05:49 lf-activate-venv: SKIPPING 21:05:49 INFO: No Stack... 21:05:49 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:49 INFO: Archiving Costs [Pipeline] sh 21:05:49 + cat /w/workspace/gexfoundry_device-rest-go_PR-307/archives/cost.csv 21:05:49 + cut -d, -f6 [Pipeline] lock 21:05:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] 21:05:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] did not exist. Created. 21:05:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:50 + echo total: 0.2199999988079071 [Pipeline] stash 21:05:50 Stashed 1 file(s) [Pipeline] } 21:05:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:50 $ docker stop --time=1 bdf80ebd445613ead361792fc187dc542636628995bff3dcde1f8ffd94c64c6f 21:05:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13319 in /w/workspace/gexfoundry_device-rest-go_PR-307 21:05:51 $ docker rm -f --volumes bdf80ebd445613ead361792fc187dc542636628995bff3dcde1f8ffd94c64c6f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 21:05:51 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } 21:05:51 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:05:57 using credential edgex-jenkins-ssh 21:05:57 Cloning the remote Git repository 21:05:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:05:57 > git init /w/workspace/device-rest-go/1 # timeout=10 21:05:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:05:57 > git --version # timeout=10 21:05:57 > git --version # 'git version 2.25.1' 21:05:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:05:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:06:01 Merging remotes/origin/main commit c1a1e2764950d18ca7a23f7abac7d306f95fa84d into PR head commit 029c46def9050e17fb33852df05a2d7c4cd6c02a 21:06:01 Merge succeeded, producing 029c46def9050e17fb33852df05a2d7c4cd6c02a 21:06:01 Checking out Revision 029c46def9050e17fb33852df05a2d7c4cd6c02a (PR-307) 21:06:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:06:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:06:01 > git config core.sparsecheckout # timeout=10 21:06:01 > git checkout -f 029c46def9050e17fb33852df05a2d7c4cd6c02a # timeout=10 21:06:01 > git remote # timeout=10 21:06:01 > git config --get remote.origin.url # timeout=10 21:06:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:01 > git merge c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 21:06:01 > git rev-parse HEAD^{commit} # timeout=10 21:06:01 > git config core.sparsecheckout # timeout=10 21:06:01 > git checkout -f 029c46def9050e17fb33852df05a2d7c4cd6c02a # timeout=10 21:06:02 > git --version # timeout=10 21:06:02 > git --version # 'git version 2.25.1' 21:06:02 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:03 Dload Upload Total Spent Left Speed 21:06:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 21:06:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:04 + sudo tee /etc/docker/daemon.new 21:06:04 { 21:06:04 "registry-mirrors": [ 21:06:04 "https://nexus3.edgexfoundry.org:10001" 21:06:04 ], 21:06:04 "bip": "10.250.0.254/24", 21:06:04 "hosts": [ 21:06:04 "tcp://0.0.0.0:5555", 21:06:04 "unix:///var/run/docker.sock" 21:06:04 ], 21:06:04 "mtu": 1458, 21:06:04 "selinux-enabled": true, 21:06:04 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:04 } [Pipeline] sh 21:06:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:23 provisioning config files... 21:06:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16384966877312880601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:23 ---> docker-login.sh 21:06:23 nexus3.edgexfoundry.org:10001 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 nexus3.edgexfoundry.org:10002 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 nexus3.edgexfoundry.org:10003 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:25 Configure a credential helper to remove this warning. See 21:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:25 21:06:25 Login Succeeded 21:06:25 nexus3.edgexfoundry.org:10004 21:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:25 Configure a credential helper to remove this warning. See 21:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:25 21:06:25 Login Succeeded 21:06:25 docker.io 21:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:25 Configure a credential helper to remove this warning. See 21:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:25 21:06:25 Login Succeeded 21:06:25 ---> docker-login.sh ends [Pipeline] } 21:06:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:26 ========================================================= 21:06:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:06:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:26 + 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:26 Sending build context to Docker daemon 138.8kB 21:06:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:27 Step 2/12 : FROM ${BASE} AS builder 21:06:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:27 c41833b44d91: Pulling fs layer 21:06:27 ed15518f5707: Pulling fs layer 21:06:27 feae8fd75edb: Pulling fs layer 21:06:27 242c74f7c9fa: Pulling fs layer 21:06:27 3cdef696dda3: Pulling fs layer 21:06:27 2ced38df9373: Pulling fs layer 21:06:27 58f1dce35555: Pulling fs layer 21:06:27 242c74f7c9fa: Waiting 21:06:27 58f1dce35555: Waiting 21:06:27 2ced38df9373: Waiting 21:06:27 3cdef696dda3: Waiting 21:06:27 ed15518f5707: Verifying Checksum 21:06:27 ed15518f5707: Download complete 21:06:27 242c74f7c9fa: Download complete 21:06:27 3cdef696dda3: Verifying Checksum 21:06:27 3cdef696dda3: Download complete 21:06:27 c41833b44d91: Download complete 21:06:28 58f1dce35555: Verifying Checksum 21:06:28 58f1dce35555: Download complete 21:06:29 feae8fd75edb: Verifying Checksum 21:06:29 2ced38df9373: Verifying Checksum 21:06:29 2ced38df9373: Download complete 21:06:30 c41833b44d91: Pull complete 21:06:31 ed15518f5707: Pull complete 21:06:46 feae8fd75edb: Pull complete 21:06:46 242c74f7c9fa: Pull complete 21:06:46 3cdef696dda3: Pull complete 21:06:52 2ced38df9373: Pull complete 21:06:54 58f1dce35555: Pull complete 21:06:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:06:54 ---> fadd8f120f05 21:06:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:56 ---> Running in 2cff3d12bcae 21:06:56 Removing intermediate container 2cff3d12bcae 21:06:56 ---> aeab1e4fd312 21:06:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:56 ---> Running in bf65a6f18c45 21:06:56 Removing intermediate container bf65a6f18c45 21:06:56 ---> 66145879659f 21:06:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:56 ---> Running in cb9a9a398b29 21:06:57 Removing intermediate container cb9a9a398b29 21:06:57 ---> 5d571b9dbb8b 21:06:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:57 ---> Running in 7a56ef72a622 21:06:57 Removing intermediate container 7a56ef72a622 21:06:57 ---> 6c8896efba39 21:06:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:57 ---> Running in b08b52467386 21:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:07:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:07:00 (2/4) Installing libedit (20221030.3.1-r0) 21:07:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:07:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:07:00 Executing busybox-1.35.0-r29.trigger 21:07:00 OK: 268 MiB in 57 packages 21:07:01 Removing intermediate container b08b52467386 21:07:01 ---> 03a396e68852 21:07:01 Step 8/12 : WORKDIR /device-rest-go 21:07:01 ---> Running in 8d71fe3756a5 21:07:01 Removing intermediate container 8d71fe3756a5 21:07:01 ---> 4b7a78edaba5 21:07:01 Step 9/12 : COPY go.mod vendor* ./ 21:07:01 ---> 472fb610fc7f 21:07:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:02 ---> Running in 7838b49eabc7 21:08:09 Removing intermediate container 7838b49eabc7 21:08:09 ---> 32b43706cdc6 21:08:09 Step 11/12 : COPY . . 21:08:09 ---> 97fc54fdfccc 21:08:09 Step 12/12 : RUN $MAKE 21:08:09 ---> Running in 383f320f5807 21:08:09 noop 21:08:09 Removing intermediate container 383f320f5807 21:08:09 ---> 40c430f7af0c 21:08:09 Successfully built 40c430f7af0c 21:08:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:10 + docker inspect -f . ci-base-image-arm64 21:08:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:10 prd-ubuntu20.04-docker-arm64-4c-16g-13319 does not seem to be running inside a container 21:08:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:12 $ docker top b37e14010e7f7a17edf0058a605d9f6c72c2e2be175a50e599e94fc6c007169e -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:12 + go version 21:08:12 go version go1.20.2 linux/arm64 [Pipeline] } 21:08:12 $ docker stop --time=1 b37e14010e7f7a17edf0058a605d9f6c72c2e2be175a50e599e94fc6c007169e 21:08:14 $ docker rm -f --volumes b37e14010e7f7a17edf0058a605d9f6c72c2e2be175a50e599e94fc6c007169e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:15 + docker inspect -f . ci-base-image-arm64 21:08:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:15 prd-ubuntu20.04-docker-arm64-4c-16g-13319 does not seem to be running inside a container 21:08:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:18 $ docker top 187180526f99d5d42f173afe15c7091363837e42a07f2fe5b8d2480c07b6d1e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:19 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:08:19 + make test 21:08:19 go test ./... -coverprofile=coverage.out ./... 21:08:52 ? github.com/edgexfoundry/device-rest-go [no test files] 21:10:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:10:45 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 32.2% of statements 21:10:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:10:46 go vet ./... 21:11:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:11:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:13 $ docker stop --time=1 187180526f99d5d42f173afe15c7091363837e42a07f2fe5b8d2480c07b6d1e5 21:11:15 $ docker rm -f --volumes 187180526f99d5d42f173afe15c7091363837e42a07f2fe5b8d2480c07b6d1e5 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:16 Warning: overwriting stash ‘coverage-report’ 21:11:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:17 + ls -al . 21:11:17 total 180 21:11:17 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:08 . 21:11:17 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:05 .. 21:11:17 -rw-rw-r-- 1 jenkins jenkins 151 May 4 21:06 .dockerignore 21:11:17 drwxrwxr-x 8 jenkins jenkins 4096 May 4 21:06 .git 21:11:17 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:06 .github 21:11:17 -rw-rw-r-- 1 jenkins jenkins 329 May 4 21:06 .gitignore 21:11:17 -rw-rw-r-- 1 jenkins jenkins 41 May 4 21:06 .golangci.yml 21:11:17 -rw-rw-r-- 1 jenkins jenkins 9331 May 4 21:06 Attribution.txt 21:11:17 -rw-rw-r-- 1 jenkins jenkins 13085 May 4 21:06 CHANGELOG.md 21:11:17 -rw-rw-r-- 1 jenkins jenkins 1578 May 4 21:06 Dockerfile 21:11:17 -rw-rw-r-- 1 jenkins jenkins 677 May 4 21:06 GOVERNANCE.md 21:11:17 -rw-rw-r-- 1 jenkins jenkins 680 May 4 21:06 Jenkinsfile 21:11:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 21:06 LICENSE 21:11:17 -rw-rw-r-- 1 jenkins jenkins 1779 May 4 21:06 Makefile 21:11:17 -rw-rw-r-- 1 jenkins jenkins 620 May 4 21:06 OWNERS.md 21:11:17 -rw-rw-r-- 1 jenkins jenkins 15321 May 4 21:06 README.md 21:11:17 -rw-rw-r-- 1 jenkins jenkins 5 May 4 21:03 VERSION 21:11:17 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:06 bin 21:11:17 drwxrwxr-x 3 jenkins jenkins 4096 May 4 21:06 cmd 21:11:17 -rw-r--r-- 1 jenkins jenkins 14663 May 4 21:10 coverage.out 21:11:17 drwxrwxr-x 2 jenkins jenkins 4096 May 4 21:06 driver 21:11:17 -rw-rw-r-- 1 jenkins jenkins 3402 May 4 21:06 go.mod 21:11:17 -rw-rw-r-- 1 jenkins jenkins 31328 May 4 21:06 go.sum 21:11:17 drwxrwxr-x 4 jenkins jenkins 4096 May 4 21:06 snap 21:11:17 -rw-rw-r-- 1 jenkins jenkins 713 May 4 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:18 + 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=029c46def9050e17fb33852df05a2d7c4cd6c02a --label arch=arm64 --label version=0.0.0 . 21:11:18 Sending build context to Docker daemon 154.1kB 21:11:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:11:18 Step 2/25 : FROM ${BASE} AS builder 21:11:18 ---> 40c430f7af0c 21:11:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:11:18 ---> Running in 1f6b8ef1a30d 21:11:18 Removing intermediate container 1f6b8ef1a30d 21:11:18 ---> e0ffcf63fa9c 21:11:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:18 ---> Running in f4a9f024ce60 21:11:19 Removing intermediate container f4a9f024ce60 21:11:19 ---> 774812e2e1e6 21:11:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:11:19 ---> Running in ded99fa511a3 21:11:19 Removing intermediate container ded99fa511a3 21:11:19 ---> d2bb1cf7fb7e 21:11:19 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:11:19 ---> Running in 02e7138635d6 21:11:20 Removing intermediate container 02e7138635d6 21:11:20 ---> c1120f93b944 21:11:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:20 ---> Running in a2d628c4998e 21:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:22 OK: 268 MiB in 57 packages 21:11:23 Removing intermediate container a2d628c4998e 21:11:23 ---> 0aac2ecaa35d 21:11:23 Step 8/25 : WORKDIR /device-rest-go 21:11:23 ---> Running in fe00a74c01c1 21:11:24 Removing intermediate container fe00a74c01c1 21:11:24 ---> ad619e5a0c75 21:11:24 Step 9/25 : COPY go.mod vendor* ./ 21:11:26 ---> e564016b462a 21:11:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:26 ---> Running in 717f6a8aff3f 21:11:29 Removing intermediate container 717f6a8aff3f 21:11:29 ---> 2285e5c668d2 21:11:29 Step 11/25 : COPY . . 21:11:29 ---> 3bc8302ee927 21:11:29 Step 12/25 : RUN $MAKE 21:11:29 ---> Running in 4bb13a0dfcb2 21:11:30 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:37 Removing intermediate container 4bb13a0dfcb2 21:13:37 ---> e87dadea639c 21:13:37 Step 13/25 : FROM alpine:3.17 21:13:37 3.17: Pulling from library/alpine 21:13:37 c41833b44d91: Already exists 21:13:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:13:37 Status: Downloaded newer image for alpine:3.17 21:13:37 ---> 51e60588ff2c 21:13:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:37 ---> Running in 4d80da4e5028 21:13:37 Removing intermediate container 4d80da4e5028 21:13:37 ---> b3e18768c72d 21:13:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:13:37 ---> Running in 1e093a7a4751 21:13:37 Removing intermediate container 1e093a7a4751 21:13:37 ---> cf5d5e5479f0 21:13:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:13:37 ---> Running in cd81d9b9bb12 21:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:37 (1/1) Installing dumb-init (1.2.5-r2) 21:13:37 Executing busybox-1.35.0-r29.trigger 21:13:37 OK: 8 MiB in 16 packages 21:13:37 Removing intermediate container cd81d9b9bb12 21:13:37 ---> e25107fd3a87 21:13:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:13:38 ---> 7bc87e83f9a4 21:13:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:13:39 ---> b09cdac9dae1 21:13:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:13:39 ---> 5fb711c00953 21:13:39 Step 20/25 : EXPOSE 59986 21:13:39 ---> Running in 6f8e293e1cab 21:13:40 Removing intermediate container 6f8e293e1cab 21:13:40 ---> 1a746ffe0533 21:13:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:13:40 ---> Running in 17eb38d5191e 21:13:40 Removing intermediate container 17eb38d5191e 21:13:40 ---> daec7eeef632 21:13:40 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:13:40 ---> Running in 75c32fa2b3f8 21:13:40 Removing intermediate container 75c32fa2b3f8 21:13:40 ---> 05fc77cf054a 21:13:40 Step 23/25 : LABEL arch=arm64 21:13:40 ---> Running in 0c975f80efa6 21:13:41 Removing intermediate container 0c975f80efa6 21:13:41 ---> 34caa07742e6 21:13:41 Step 24/25 : LABEL git_sha=029c46def9050e17fb33852df05a2d7c4cd6c02a 21:13:41 ---> Running in 8a3d26aabf2c 21:13:41 Removing intermediate container 8a3d26aabf2c 21:13:41 ---> 3919f43227b9 21:13:41 Step 25/25 : LABEL version=0.0.0 21:13:41 ---> Running in 2fb94fefaf08 21:13:41 Removing intermediate container 2fb94fefaf08 21:13:41 ---> 39d4d4b2550a 21:13:41 [Warning] One or more build-args [ARCH] were not consumed 21:13:41 Successfully built 39d4d4b2550a 21:13:41 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:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:42 21:13:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:42 arm64: Pulling from edgex-lftools-log-publisher 21:13:42 8998bd30e6a1: Pulling fs layer 21:13:42 04944245beec: Pulling fs layer 21:13:42 699f458cf7ca: Pulling fs layer 21:13:42 765212b225bb: Pulling fs layer 21:13:42 f23df028b6ca: Pulling fs layer 21:13:42 d65c8cfc05b1: Pulling fs layer 21:13:42 2437ff75d9bd: Pulling fs layer 21:13:42 f23df028b6ca: Waiting 21:13:42 765212b225bb: Waiting 21:13:42 d65c8cfc05b1: Waiting 21:13:42 2437ff75d9bd: Waiting 21:13:43 04944245beec: Verifying Checksum 21:13:43 04944245beec: Download complete 21:13:43 765212b225bb: Verifying Checksum 21:13:43 765212b225bb: Download complete 21:13:43 f23df028b6ca: Verifying Checksum 21:13:43 f23df028b6ca: Download complete 21:13:43 d65c8cfc05b1: Download complete 21:13:43 699f458cf7ca: Verifying Checksum 21:13:43 699f458cf7ca: Download complete 21:13:43 8998bd30e6a1: Verifying Checksum 21:13:43 8998bd30e6a1: Download complete 21:13:45 2437ff75d9bd: Verifying Checksum 21:13:45 2437ff75d9bd: Download complete 21:13:47 8998bd30e6a1: Pull complete 21:13:47 04944245beec: Pull complete 21:13:48 699f458cf7ca: Pull complete 21:13:48 765212b225bb: Pull complete 21:13:49 f23df028b6ca: Pull complete 21:13:49 d65c8cfc05b1: Pull complete 21:14:01 2437ff75d9bd: Pull complete 21:14:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-13319 does not seem to be running inside a container 21:14:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:04 $ docker top 58f08dd140b609895f05455246d9677bb9b07dbfe80b17e7ab59b0b1dd09733a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:05 ---> job-cost.sh 21:14:05 lf-activate-venv: SKIPPING 21:14:05 INFO: No Stack... 21:14:05 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:06 INFO: Archiving Costs [Pipeline] sh 21:14:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:14:07 + cut -d, -f6 [Pipeline] lock 21:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] 21:14:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] did not exist. Created. 21:14:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:07 /w/workspace/device-rest-go/1@tmp/durable-092e8ebc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:08 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:08 Warning: overwriting stash ‘stack-cost’ 21:14:08 Stashed 1 file(s) [Pipeline] } 21:14:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:08 $ docker stop --time=1 58f08dd140b609895f05455246d9677bb9b07dbfe80b17e7ab59b0b1dd09733a 21:14:09 $ docker rm -f --volumes 58f08dd140b609895f05455246d9677bb9b07dbfe80b17e7ab59b0b1dd09733a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:14:10 provisioning config files... 21:14:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/config14231023042643265340tmp [Pipeline] { [Pipeline] sh 21:14:10 + set +x 21:14:10 + curl -s https://codecov.io/bash 21:14:10 + bash -s -- 21:14:10 21:14:10 _____ _ 21:14:10 / ____| | | 21:14:10 | | ___ __| | ___ ___ _____ __ 21:14:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:10 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:10 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:10 Bash-1.0.6 21:14:10 21:14:10 21:14:10 ==> git version 2.25.1 found 21:14:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:10 Release-Date: 2020-01-08 21:14:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:10 ==> Jenkins CI detected. 21:14:10 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-307 21:14:10 project root: . 21:14:10 --> token set from env 21:14:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:11 ==> Running gcov in . (disable via -X gcov) 21:14:11 ==> Python coveragepy not found 21:14:11 ==> Searching for coverage reports in: 21:14:11 + . 21:14:11 -> Found 1 reports 21:14:11 ==> Detecting git/mercurial file structure 21:14:11 ==> Reading reports 21:14:11 + ./coverage.out bytes=14663 21:14:11 ==> Appending adjustments 21:14:11 https://docs.codecov.io/docs/fixing-reports 21:14:11 + Found adjustments 21:14:11 ==> Gzipping contents 21:14:11 4.0K /tmp/codecov.ujAdsQ.gz 21:14:11 ==> Uploading reports 21:14:11 url: https://codecov.io 21:14:11 query: branch=PR-307&commit=029c46def9050e17fb33852df05a2d7c4cd6c02a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=307&job=&cmd_args= 21:14:11 -> Pinging Codecov 21:14:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-307&commit=029c46def9050e17fb33852df05a2d7c4cd6c02a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=307&job=&cmd_args= 21:14:11 -> Uploading to 21:14:11 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/4E5D53B4F1F92C436F7061BF334D961C/029c46def9050e17fb33852df05a2d7c4cd6c02a/7f081cf6-410e-4b21-87e9-914e02e00da7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T211411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=939c33069999d2574e0d4322c7238de71fcbf41ee4857508592dfc4d956f5dee 21:14:11 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:11 Dload Upload Total Spent Left Speed 21:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11409 --:--:-- --:--:-- --:--:-- 11409 21:14:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/029c46def9050e17fb33852df05a2d7c4cd6c02a [Pipeline] } 21:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:14:13 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-307/archives ] 21:14:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-307/archives 21:14:13 total 16 21:14:13 drwxr-xr-x 3 root root 4096 May 4 21:05 . 21:14:13 drwxrwxr-x 10 jenkins jenkins 4096 May 4 21:05 .. 21:14:13 drwxr-xr-x 2 root root 4096 May 4 21:05 cost 21:14:13 -rw-r--r-- 1 root root 86 May 4 21:05 cost.csv 21:14:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-307/archives 21:14:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-307/archives 21:14:13 total 16 21:14:13 drwxr-xr-x 3 jenkins jenkins 4096 May 4 21:05 . 21:14:13 drwxrwxr-x 10 jenkins jenkins 4096 May 4 21:05 .. 21:14:13 drwxr-xr-x 2 jenkins jenkins 4096 May 4 21:05 cost 21:14:13 -rw-r--r-- 1 jenkins jenkins 86 May 4 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:14 ---> package-listing.sh 21:14:14 ++ facter osfamily 21:14:14 ++ tr '[:upper:]' '[:lower:]' 21:14:14 + OS_FAMILY=debian 21:14:14 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-307 21:14:14 + START_PACKAGES=/tmp/packages_start.txt 21:14:14 + END_PACKAGES=/tmp/packages_end.txt 21:14:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:14 + PACKAGES=/tmp/packages_start.txt 21:14:14 + '[' /w/workspace/gexfoundry_device-rest-go_PR-307 ']' 21:14:14 + PACKAGES=/tmp/packages_end.txt 21:14:14 + case "${OS_FAMILY}" in 21:14:14 + dpkg -l 21:14:14 + grep '^ii' 21:14:14 + '[' -f /tmp/packages_start.txt ']' 21:14:14 + '[' -f /tmp/packages_end.txt ']' 21:14:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:14 + '[' /w/workspace/gexfoundry_device-rest-go_PR-307 ']' 21:14:14 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-307/archives/ 21:14:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-307/archives/ [Pipeline] echo 21:14:14 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-307/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:15 prd-ubuntu20.04-docker-8c-8g-13317 does not seem to be running inside a container 21:14:16 $ 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-307/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-307 -v /w/workspace/gexfoundry_device-rest-go_PR-307:/w/workspace/gexfoundry_device-rest-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-307@tmp:/w/workspace/gexfoundry_device-rest-go_PR-307@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:14:16 $ docker top 5e1f3d67bf9585c73fdfad66033b7a377c4a4044a4292fb7f0cee1480124faf5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:16 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:17 + ls /var/log/sa-host 21:14:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:17 provisioning config files... 21:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-307@tmp/config1303281842180157002tmp [Pipeline] { [Pipeline] echo 21:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:17 ---> create-netrc.sh [Pipeline] } 21:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:18 ---> python-tools-install.sh [Pipeline] echo 21:14:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:18 ---> sudo-logs.sh 21:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:19 ---> job-cost.sh 21:14:19 lf-activate-venv: SKIPPING 21:14:19 DEBUG: total: 0.2199999988079071 21:14:19 INFO: Retrieving Stack Cost... 21:14:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:19 INFO: Archiving Costs [Pipeline] echo 21:14:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:20 ---> logs-deploy.sh 21:14:20 lf-activate-venv: SKIPPING 21:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-307/1 21:14:20 INFO: archiving workspace using pattern(s): 21:14:21 Archives upload complete. 21:14:21 INFO: archiving logs to Nexus 21:14:21 ---> uname -a: 21:14:21 Linux prd-ubuntu20-04-docker-8c-8g-13317 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:14:21 21:14:21 21:14:21 ---> lscpu: 21:14:21 Architecture: x86_64 21:14:21 CPU op-mode(s): 32-bit, 64-bit 21:14:21 Byte Order: Little Endian 21:14:21 Address sizes: 40 bits physical, 48 bits virtual 21:14:21 CPU(s): 8 21:14:21 On-line CPU(s) list: 0-7 21:14:21 Thread(s) per core: 1 21:14:21 Core(s) per socket: 1 21:14:21 Socket(s): 8 21:14:21 NUMA node(s): 1 21:14:21 Vendor ID: AuthenticAMD 21:14:21 CPU family: 23 21:14:21 Model: 49 21:14:21 Model name: AMD EPYC-Rome Processor 21:14:21 Stepping: 0 21:14:21 CPU MHz: 2799.998 21:14:21 BogoMIPS: 5599.99 21:14:21 Virtualization: AMD-V 21:14:21 Hypervisor vendor: KVM 21:14:21 Virtualization type: full 21:14:21 L1d cache: 256 KiB 21:14:21 L1i cache: 256 KiB 21:14:21 L2 cache: 4 MiB 21:14:21 L3 cache: 128 MiB 21:14:21 NUMA node0 CPU(s): 0-7 21:14:21 Vulnerability Itlb multihit: Not affected 21:14:21 Vulnerability L1tf: Not affected 21:14:21 Vulnerability Mds: Not affected 21:14:21 Vulnerability Meltdown: Not affected 21:14:21 Vulnerability Mmio stale data: Not affected 21:14:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:14:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:14:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:14:21 Vulnerability Srbds: Not affected 21:14:21 Vulnerability Tsx async abort: Not affected 21:14:21 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:21 21:14:21 21:14:21 ---> nproc: 21:14:21 8 21:14:21 21:14:21 21:14:21 ---> df -h: 21:14:21 Filesystem Size Used Avail Use% Mounted on 21:14:21 overlay 155G 12G 144G 8% / 21:14:21 tmpfs 64M 0 64M 0% /dev 21:14:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:14:21 shm 64M 0 64M 0% /dev/shm 21:14:21 /dev/vda1 155G 12G 144G 8% /facter-os 21:14:21 21:14:21 21:14:21 ---> sar -b -r -n DEV: 21:14:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-13317) 05/04/23 _x86_64_ (8 CPU) 21:14:21 21:14:21 21:03:03 LINUX RESTART (8 CPU) 21:14:21 21:14:21 21:04:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:14:21 21:05:01 193.24 1.54 191.70 0.00 22.23 74280.60 0.00 21:14:21 21:06:01 182.50 0.27 182.24 0.00 21.06 43766.44 0.00 21:14:21 21:07:01 1.67 0.00 1.67 0.00 0.00 19.48 0.00 21:14:21 21:08:01 1.30 0.00 1.30 0.00 0.00 15.46 0.00 21:14:21 21:09:01 41.56 12.86 28.70 0.00 5455.09 6622.23 0.00 21:14:21 21:10:01 1.95 0.00 1.95 0.00 0.00 21.33 0.00 21:14:21 21:11:01 1.33 0.00 1.33 0.00 0.00 14.93 0.00 21:14:21 21:12:01 1.88 0.00 1.88 0.00 0.00 21.46 0.00 21:14:21 21:13:01 1.52 0.00 1.52 0.00 0.00 17.32 0.00 21:14:21 21:14:01 2.33 0.00 2.33 0.00 0.00 37.73 0.00 21:14:21 Average: 42.68 1.47 41.21 0.00 550.67 12379.99 0.00 21:14:21 21:14:21 21:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:14:21 21:05:01 27581128 31003508 1293716 3.93 146472 3445588 2363540 6.97 1737340 3079048 222728 21:14:21 21:06:01 27629504 31573772 724544 2.20 158580 3927420 1749952 5.16 1258484 3480560 356 21:14:21 21:07:01 27629764 31574240 723872 2.20 158612 3927424 1749952 5.16 1258256 3480564 4 21:14:21 21:08:01 27636424 31581188 716992 2.18 158652 3927424 1749952 5.16 1251776 3480792 40 21:14:21 21:09:01 27259428 31560632 727228 2.21 166796 4260780 1836804 5.41 1486596 3594508 8 21:14:21 21:10:01 27261128 31562432 725404 2.21 166892 4260780 1836804 5.41 1484804 3594512 8 21:14:21 21:11:01 27264396 31565792 721952 2.20 166976 4260784 1836804 5.41 1481552 3594520 8 21:14:21 21:12:01 27264744 31566256 721684 2.19 167040 4260784 1836804 5.41 1481648 3594524 8 21:14:21 21:13:01 27264656 31566772 721580 2.19 167136 4260776 1836804 5.41 1481224 3595020 8 21:14:21 21:14:01 27264316 31566576 721688 2.19 167248 4260772 1836804 5.41 1481628 3595016 8 21:14:21 Average: 27405549 31512117 779866 2.37 162440 4079253 1863422 5.49 1440331 3508906 22318 21:14:21 21:14:21 21:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:14:21 21:05:01 vethcf1e503 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 21:14:21 21:05:01 ens3 414.52 249.23 4520.59 35.62 0.00 0.00 0.00 0.00 21:14:21 21:05:01 docker0 181.20 310.32 14.29 1999.25 0.00 0.00 0.00 0.00 21:14:21 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:06:01 ens3 131.93 92.17 2627.37 95.37 0.00 0.00 0.00 0.00 21:14:21 21:06:01 docker0 3.08 7.18 0.19 85.51 0.00 0.00 0.00 0.00 21:14:21 21:06:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 21:14:21 21:07:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:08:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:09:01 ens3 76.74 33.56 1953.04 2.63 0.00 0.00 0.00 0.00 21:14:21 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:09:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:14:21 21:10:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:11:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:12:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 21:13:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:14:01 ens3 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 21:14:21 21:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:14:21 21:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:14:21 Average: ens3 61.82 37.20 904.16 13.34 0.00 0.00 0.00 0.00 21:14:21 Average: docker0 18.16 31.29 1.43 205.54 0.00 0.00 0.00 0.00 21:14:21 Average: lo 0.32 0.32 0.03 0.03 0.00 0.00 0.00 0.00 21:14:21 21:14:21 21:14:21 ---> sar -P ALL: 21:14:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-13317) 05/04/23 _x86_64_ (8 CPU) 21:14:21 21:14:21 21:03:03 LINUX RESTART (8 CPU) 21:14:21 21:14:21 21:04:02 CPU %user %nice %system %iowait %steal %idle 21:14:21 21:05:01 all 31.70 0.00 7.22 1.38 0.09 59.61 21:14:21 21:05:01 0 31.47 0.00 7.28 0.62 0.07 60.56 21:14:21 21:05:01 1 30.49 0.00 7.31 1.06 0.09 61.06 21:14:21 21:05:01 2 33.25 0.00 7.77 0.26 0.09 58.64 21:14:21 21:05:01 3 31.64 0.00 7.13 2.31 0.09 58.83 21:14:21 21:05:01 4 32.12 0.00 6.02 2.47 0.07 59.33 21:14:21 21:05:01 5 31.43 0.00 7.23 0.72 0.09 60.53 21:14:21 21:05:01 6 32.10 0.00 7.10 0.03 0.09 60.68 21:14:21 21:05:01 7 31.08 0.00 7.90 3.58 0.19 57.25 21:14:21 21:06:01 all 21.85 0.00 5.20 1.20 0.06 71.68 21:14:21 21:06:01 0 23.49 0.00 5.22 0.34 0.07 70.88 21:14:21 21:06:01 1 21.58 0.00 5.51 4.35 0.08 68.47 21:14:21 21:06:01 2 21.49 0.00 6.64 2.31 0.05 69.52 21:14:21 21:06:01 3 21.37 0.00 4.55 0.29 0.08 73.72 21:14:21 21:06:01 4 22.24 0.00 4.81 0.41 0.07 72.47 21:14:21 21:06:01 5 22.22 0.00 4.84 0.15 0.05 72.73 21:14:21 21:06:01 6 21.44 0.00 4.90 0.20 0.05 73.40 21:14:21 21:06:01 7 21.00 0.00 5.15 1.52 0.05 72.28 21:14:21 21:07:01 all 0.02 0.00 0.00 0.00 0.01 99.96 21:14:21 21:07:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:14:21 21:07:01 1 0.03 0.00 0.02 0.00 0.02 99.93 21:14:21 21:07:01 2 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:07:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:14:21 21:07:01 4 0.05 0.00 0.00 0.02 0.02 99.92 21:14:21 21:07:01 5 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:07:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:14:21 21:07:01 7 0.02 0.00 0.00 0.02 0.02 99.95 21:14:21 21:08:01 all 0.02 0.00 0.02 0.00 0.01 99.95 21:14:21 21:08:01 0 0.03 0.00 0.00 0.00 0.00 99.97 21:14:21 21:08:01 1 0.02 0.00 0.07 0.00 0.03 99.88 21:14:21 21:08:01 2 0.05 0.00 0.02 0.02 0.00 99.92 21:14:21 21:08:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:08:01 4 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:08:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:08:01 6 0.02 0.00 0.02 0.00 0.02 99.95 21:14:21 21:08:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:09:01 all 1.28 0.00 0.65 0.56 0.01 97.49 21:14:21 21:09:01 0 1.20 0.00 0.60 0.10 0.02 98.08 21:14:21 21:09:01 1 1.50 0.00 0.58 1.00 0.02 96.90 21:14:21 21:09:01 2 1.58 0.00 0.80 0.33 0.02 97.26 21:14:21 21:09:01 3 2.00 0.00 0.68 0.13 0.02 97.16 21:14:21 21:09:01 4 1.72 0.00 0.80 0.94 0.02 96.52 21:14:21 21:09:01 5 0.68 0.00 0.45 0.08 0.00 98.78 21:14:21 21:09:01 6 0.90 0.00 0.77 0.17 0.00 98.17 21:14:21 21:09:01 7 0.65 0.00 0.50 1.75 0.02 97.08 21:14:21 21:10:01 all 0.03 0.00 0.01 0.01 0.01 99.95 21:14:21 21:10:01 0 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:10:01 1 0.02 0.00 0.02 0.00 0.02 99.95 21:14:21 21:10:01 2 0.03 0.00 0.00 0.02 0.02 99.93 21:14:21 21:10:01 3 0.03 0.00 0.03 0.00 0.02 99.92 21:14:21 21:10:01 4 0.00 0.00 0.02 0.00 0.02 99.97 21:14:21 21:10:01 5 0.03 0.00 0.02 0.00 0.02 99.93 21:14:21 21:10:01 6 0.07 0.00 0.00 0.00 0.00 99.93 21:14:21 21:10:01 7 0.00 0.00 0.00 0.03 0.00 99.97 21:14:21 21:11:01 all 0.02 0.00 0.01 0.03 0.00 99.93 21:14:21 21:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:11:01 1 0.03 0.00 0.02 0.00 0.00 99.95 21:14:21 21:11:01 2 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:11:01 3 0.00 0.00 0.02 0.00 0.02 99.97 21:14:21 21:11:01 4 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:11:01 5 0.03 0.00 0.00 0.00 0.00 99.97 21:14:21 21:11:01 6 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:11:01 7 0.02 0.00 0.02 0.27 0.00 99.70 21:14:21 21:12:01 all 0.02 0.00 0.01 0.02 0.01 99.94 21:14:21 21:12:01 0 0.03 0.00 0.02 0.02 0.00 99.93 21:14:21 21:12:01 1 0.00 0.00 0.00 0.00 0.02 99.98 21:14:21 21:12:01 2 0.02 0.00 0.00 0.02 0.00 99.97 21:14:21 21:12:01 3 0.02 0.00 0.02 0.00 0.03 99.93 21:14:21 21:12:01 4 0.02 0.00 0.02 0.00 0.02 99.95 21:14:21 21:12:01 5 0.00 0.00 0.03 0.00 0.00 99.97 21:14:21 21:12:01 6 0.03 0.00 0.00 0.00 0.02 99.95 21:14:21 21:12:01 7 0.02 0.00 0.02 0.10 0.00 99.87 21:14:21 21:13:01 all 0.02 0.00 0.01 0.00 0.01 99.95 21:14:21 21:13:01 0 0.00 0.00 0.00 0.00 0.02 99.98 21:14:21 21:13:01 1 0.02 0.00 0.00 0.00 0.02 99.97 21:14:21 21:13:01 2 0.03 0.00 0.02 0.00 0.02 99.93 21:14:21 21:13:01 3 0.00 0.00 0.03 0.00 0.02 99.95 21:14:21 21:13:01 4 0.12 0.00 0.03 0.00 0.02 99.83 21:14:21 21:13:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:14:21 21:13:01 7 0.00 0.00 0.00 0.03 0.02 99.95 21:14:21 21:14:01 all 0.25 0.00 0.01 0.01 0.01 99.72 21:14:21 21:14:01 0 0.03 0.00 0.02 0.02 0.02 99.92 21:14:21 21:14:01 1 0.02 0.00 0.02 0.00 0.00 99.97 21:14:21 21:14:01 2 0.03 0.00 0.02 0.00 0.02 99.93 21:14:21 21:14:01 3 0.03 0.00 0.02 0.00 0.03 99.92 21:14:21 21:14:01 4 1.82 0.00 0.00 0.00 0.02 98.16 21:14:21 21:14:01 5 0.03 0.00 0.02 0.00 0.02 99.93 21:14:21 21:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:14:21 21:14:01 7 0.00 0.00 0.02 0.05 0.00 99.93 21:14:21 Average: all 5.43 0.00 1.29 0.32 0.02 92.94 21:14:21 Average: 0 5.55 0.00 1.30 0.11 0.02 93.03 21:14:21 Average: 1 5.29 0.00 1.33 0.64 0.03 92.71 21:14:21 Average: 2 5.56 0.00 1.50 0.29 0.02 92.62 21:14:21 Average: 3 5.41 0.00 1.22 0.27 0.03 93.07 21:14:21 Average: 4 5.73 0.00 1.15 0.38 0.03 92.72 21:14:21 Average: 5 5.35 0.00 1.24 0.09 0.02 93.30 21:14:21 Average: 6 5.37 0.00 1.26 0.04 0.02 93.32 21:14:21 Average: 7 5.17 0.00 1.33 0.72 0.03 92.74 21:14:21 21:14:21 21:14:21