Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b560e5ac6204a3ca75703e45e432b3ba564fb16+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (614bcb85abe2ae2a8cc175cc131ee9c7f7ba6274) 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-ssh13359828262514496337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12315377539589363177.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8636006278579498862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh3217701994365413540.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6014371397430886665.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2948 in /w/workspace/gexfoundry_device-rest-go_PR-239 [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-239 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 9b560e5ac6204a3ca75703e45e432b3ba564fb16 Merge succeeded, producing d51af11f0cb9018ee91a372b4b7746c79dba930d Checking out Revision d51af11f0cb9018ee91a372b4b7746c79dba930d (PR-239) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b560e5ac6204a3ca75703e45e432b3ba564fb16 # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d51af11f0cb9018ee91a372b4b7746c79dba930d # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" > git rev-list --no-walk 9b560e5ac6204a3ca75703e45e432b3ba564fb16 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:07:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:07:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:07:58 ========================================================= 15:07:58 EdgeX Global Pipelines Version Info 15:07:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:08:00 ------------------- 15:08:00 stable info: 15:08:00 ------------------- 15:08:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:08:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:08:00 Message: update stable to v1.0.244 15:08:00 ------------------- 15:08:00 experimental info: 15:08:00 ------------------- 15:08:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:08:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:08:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d51af11f0cb9018ee91a372b4b7746c79dba930d [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d51af11 [Pipeline] echo 15:08:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:00 provisioning config files... 15:08:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/config17958796844869336263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:01 ---> docker-login.sh 15:08:01 nexus3.edgexfoundry.org:10001 15:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:01 Configure a credential helper to remove this warning. See 15:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:01 15:08:01 Login Succeeded 15:08:01 nexus3.edgexfoundry.org:10002 15:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:01 Configure a credential helper to remove this warning. See 15:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:01 15:08:01 Login Succeeded 15:08:01 nexus3.edgexfoundry.org:10003 15:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:01 Configure a credential helper to remove this warning. See 15:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:01 15:08:01 Login Succeeded 15:08:01 nexus3.edgexfoundry.org:10004 15:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:02 Configure a credential helper to remove this warning. See 15:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:02 15:08:02 Login Succeeded 15:08:02 docker.io 15:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:02 Configure a credential helper to remove this warning. See 15:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:02 15:08:02 Login Succeeded 15:08:02 ---> docker-login.sh ends [Pipeline] } 15:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:08:02 + git rev-list -1 --merges d51af11f0cb9018ee91a372b4b7746c79dba930d~1..d51af11f0cb9018ee91a372b4b7746c79dba930d [Pipeline] echo 15:08:02 -----------> git rev-list -1 --merges d51af11f0cb9018ee91a372b4b7746c79dba930d~1..d51af11f0cb9018ee91a372b4b7746c79dba930d d51af11f0cb9018ee91a372b4b7746c79dba930d 15:08:02 d51af11f0cb9018ee91a372b4b7746c79dba930d [false] [Pipeline] sh 15:08:03 + git log --format=format:%s -1 d51af11f0cb9018ee91a372b4b7746c79dba930d [Pipeline] echo 15:08:03 ========================================================= 15:08:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:08:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:08:03 + git log --format=format:%s -1 d51af11f0cb9018ee91a372b4b7746c79dba930d [Pipeline] echo 15:08:03 [semverPrep] GIT_COMMIT: d51af11f0cb9018ee91a372b4b7746c79dba930d, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo 15:08:03 [semverPrep] This is not a build commit. [Pipeline] sh 15:08:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:08:03 + grep -v github /etc/ssh/ssh_known_hosts 15:08:03 + [ -e /tmp/ssh_known_hosts ] 15:08:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:08:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:08:03 + sudo tee -a /etc/ssh/ssh_known_hosts 15:08:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:04 15:08:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:04 0.1.4: Pulling from edgex-devops/py-git-semver 15:08:04 b85a868b505f: Pulling fs layer 15:08:04 e2be974225ed: Pulling fs layer 15:08:04 339a4e72a1f5: Pulling fs layer 15:08:04 988bab9f4d93: Pulling fs layer 15:08:04 1469e6f7b9e6: Pulling fs layer 15:08:04 eaf3925da568: Pulling fs layer 15:08:04 bab4dde63d76: Pulling fs layer 15:08:04 bde34c3a00c8: Pulling fs layer 15:08:04 b352a97aabf1: Pulling fs layer 15:08:04 4872d77fe225: Pulling fs layer 15:08:04 5851b861e8e6: Pulling fs layer 15:08:04 bab4dde63d76: Waiting 15:08:04 bde34c3a00c8: Waiting 15:08:04 b352a97aabf1: Waiting 15:08:04 4872d77fe225: Waiting 15:08:04 5851b861e8e6: Waiting 15:08:04 1469e6f7b9e6: Waiting 15:08:04 eaf3925da568: Waiting 15:08:04 988bab9f4d93: Waiting 15:08:04 e2be974225ed: Verifying Checksum 15:08:04 e2be974225ed: Download complete 15:08:04 988bab9f4d93: Verifying Checksum 15:08:04 988bab9f4d93: Download complete 15:08:04 1469e6f7b9e6: Verifying Checksum 15:08:04 1469e6f7b9e6: Download complete 15:08:04 339a4e72a1f5: Verifying Checksum 15:08:04 339a4e72a1f5: Download complete 15:08:04 eaf3925da568: Verifying Checksum 15:08:04 eaf3925da568: Download complete 15:08:04 bde34c3a00c8: Verifying Checksum 15:08:04 bde34c3a00c8: Download complete 15:08:04 b352a97aabf1: Verifying Checksum 15:08:04 b352a97aabf1: Download complete 15:08:04 4872d77fe225: Verifying Checksum 15:08:04 4872d77fe225: Download complete 15:08:04 5851b861e8e6: Download complete 15:08:04 b85a868b505f: Verifying Checksum 15:08:04 b85a868b505f: Download complete 15:08:05 bab4dde63d76: Verifying Checksum 15:08:05 bab4dde63d76: Download complete 15:08:06 b85a868b505f: Pull complete 15:08:06 e2be974225ed: Pull complete 15:08:06 339a4e72a1f5: Pull complete 15:08:06 988bab9f4d93: Pull complete 15:08:06 1469e6f7b9e6: Pull complete 15:08:06 eaf3925da568: Pull complete 15:08:08 bab4dde63d76: Pull complete 15:08:08 bde34c3a00c8: Pull complete 15:08:08 b352a97aabf1: Pull complete 15:08:09 4872d77fe225: Pull complete 15:08:09 5851b861e8e6: Pull complete 15:08:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:09 prd-ubuntu20.04-docker-8c-8g-2948 does not seem to be running inside a container 15:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-239 -v /w/workspace/gexfoundry_device-rest-go_PR-239:/w/workspace/gexfoundry_device-rest-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-239@tmp:/w/workspace/gexfoundry_device-rest-go_PR-239@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-devops/py-git-semver:0.1.4 cat 15:08:10 $ docker top 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 -eo pid,comm 15:08:10 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). 15:08:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:10 [ssh-agent] Looking for ssh-agent implementation... 15:08:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:11 $ docker exec 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 ssh-agent 15:08:11 SSH_AUTH_SOCK=/tmp/ssh-zSbph4X9GTXu/agent.33 15:08:11 SSH_AGENT_PID=39 15:08:11 Running ssh-add (command line suppressed) 15:08:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-239@tmp/private_key_13349625343173924155.key (/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/private_key_13349625343173924155.key) 15:08:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:11 + git tag --points-at HEAD [Pipeline] } 15:08:11 $ docker exec --env ******** --env ******** 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 ssh-agent -k 15:08:11 unset SSH_AUTH_SOCK; 15:08:11 unset SSH_AGENT_PID; 15:08:11 echo Agent pid 39 killed; 15:08:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:08:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:11 [ssh-agent] Looking for ssh-agent implementation... 15:08:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:11 $ docker exec 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 ssh-agent 15:08:12 SSH_AUTH_SOCK=/tmp/ssh-XMhT5SkfpNat/agent.71 15:08:12 SSH_AGENT_PID=77 15:08:12 Running ssh-add (command line suppressed) 15:08:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-239@tmp/private_key_12236152117815643930.key (/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/private_key_12236152117815643930.key) 15:08:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:12 + git semver init 15:08:12 2023-01-18 15:08:12,703 [run_init] DEBUG init version:0.0.0 force:False 15:08:12 2023-01-18 15:08:12,705 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-239/.semver 15:08:12 2023-01-18 15:08:12,706 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-239/.semver 15:08:12 2023-01-18 15:08:12,706 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-239/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-239, universal_newlines=False, shell=None, istream=None) 15:08:14 2023-01-18 15:08:13,737 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-239/.git/info/exclude 15:08:14 2023-01-18 15:08:13,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-239/.semver/PR-239 with force:False 15:08:14 2023-01-18 15:08:13,738 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-239/.semver/PR-239 15:08:14 2023-01-18 15:08:13,743 [execute] INFO git cat-file --batch-check 15:08:14 2023-01-18 15:08:13,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-239/.semver, universal_newlines=False, shell=None, istream=) 15:08:14 2023-01-18 15:08:13,751 [execute] INFO git cat-file --batch 15:08:14 2023-01-18 15:08:13,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-239/.semver, universal_newlines=False, shell=None, istream=) 15:08:14 2023-01-18 15:08:13,756 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-239/.semver/PR-239 15:08:14 0.0.0 [Pipeline] } 15:08:14 $ docker exec --env ******** --env ******** 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 ssh-agent -k 15:08:14 unset SSH_AUTH_SOCK; 15:08:14 unset SSH_AGENT_PID; 15:08:14 echo Agent pid 77 killed; 15:08:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:08:14 + git semver [Pipeline] } 15:08:14 $ docker stop --time=1 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 15:08:16 $ docker rm -f --volumes 70b5883796289517ddb026709fdccf3e2c26945d59ceabe79223263b0e073f95 [Pipeline] // withDockerContainer [Pipeline] sh 15:08:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:08:16 Stashed 1 file(s) [Pipeline] echo 15:08:16 [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 15:08:16 provisioning config files... 15:08:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/config18211885013686049225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:17 ---> docker-login.sh 15:08:17 nexus3.edgexfoundry.org:10001 15:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:17 Configure a credential helper to remove this warning. See 15:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:17 15:08:17 Login Succeeded 15:08:17 nexus3.edgexfoundry.org:10002 15:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:17 Configure a credential helper to remove this warning. See 15:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:17 15:08:17 Login Succeeded 15:08:17 nexus3.edgexfoundry.org:10003 15:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:17 Configure a credential helper to remove this warning. See 15:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:17 15:08:17 Login Succeeded 15:08:17 nexus3.edgexfoundry.org:10004 15:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:17 Configure a credential helper to remove this warning. See 15:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:17 15:08:17 Login Succeeded 15:08:17 docker.io 15:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:17 Configure a credential helper to remove this warning. See 15:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:17 15:08:17 Login Succeeded 15:08:17 ---> docker-login.sh ends [Pipeline] } 15:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:17 ========================================================= 15:08:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:08:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:08:18 Sending build context to Docker daemon 10.8MB 15:08:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:08:18 Step 2/12 : FROM ${BASE} AS builder 15:08:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:08:18 213ec9aee27d: Pulling fs layer 15:08:18 4583459ba037: Pulling fs layer 15:08:18 93c1e223e6f2: Pulling fs layer 15:08:18 53926ce57604: Pulling fs layer 15:08:18 21b2b0c7a3f4: Pulling fs layer 15:08:18 22ff95d597cd: Pulling fs layer 15:08:18 12d6caf4c0d1: Pulling fs layer 15:08:18 96b7cbca73a9: Pulling fs layer 15:08:18 a7acece74701: Pulling fs layer 15:08:18 53926ce57604: Waiting 15:08:18 21b2b0c7a3f4: Waiting 15:08:18 22ff95d597cd: Waiting 15:08:18 12d6caf4c0d1: Waiting 15:08:18 96b7cbca73a9: Waiting 15:08:18 a7acece74701: Waiting 15:08:18 93c1e223e6f2: Download complete 15:08:18 4583459ba037: Verifying Checksum 15:08:18 4583459ba037: Download complete 15:08:18 21b2b0c7a3f4: Download complete 15:08:18 22ff95d597cd: Download complete 15:08:18 213ec9aee27d: Verifying Checksum 15:08:18 213ec9aee27d: Download complete 15:08:18 12d6caf4c0d1: Download complete 15:08:18 213ec9aee27d: Pull complete 15:08:18 4583459ba037: Pull complete 15:08:18 93c1e223e6f2: Pull complete 15:08:19 a7acece74701: Verifying Checksum 15:08:19 a7acece74701: Download complete 15:08:19 53926ce57604: Verifying Checksum 15:08:19 53926ce57604: Download complete 15:08:19 96b7cbca73a9: Verifying Checksum 15:08:19 96b7cbca73a9: Download complete 15:08:24 53926ce57604: Pull complete 15:08:24 21b2b0c7a3f4: Pull complete 15:08:24 22ff95d597cd: Pull complete 15:08:24 12d6caf4c0d1: Pull complete 15:08:26 96b7cbca73a9: Pull complete 15:08:26 a7acece74701: Pull complete 15:08:26 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:08:26 ---> db6d94c90886 15:08:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:08:28 ---> Running in 475224eb7b8e 15:08:28 Removing intermediate container 475224eb7b8e 15:08:28 ---> 4d6a87763994 15:08:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:08:29 ---> Running in 856c9787ab1c 15:08:29 Removing intermediate container 856c9787ab1c 15:08:29 ---> c2897a0f139b 15:08:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:08:29 ---> Running in b1545af9daf5 15:08:29 Removing intermediate container b1545af9daf5 15:08:29 ---> bdf449d6921d 15:08:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:08:29 ---> Running in 79f8d93dd66f 15:08:29 Removing intermediate container 79f8d93dd66f 15:08:29 ---> 4ff22e158271 15:08:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:08:29 ---> Running in 8a915b9c778e 15:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:08:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:08:30 (2/4) Installing libedit (20210910.3.1-r0) 15:08:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:08:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:08:30 Executing busybox-1.35.0-r17.trigger 15:08:30 OK: 216 MiB in 55 packages 15:08:30 Removing intermediate container 8a915b9c778e 15:08:30 ---> 5fea8af949e5 15:08:30 Step 8/12 : WORKDIR /device-rest-go 15:08:30 ---> Running in 3a7eb318fcbf 15:08:30 Removing intermediate container 3a7eb318fcbf 15:08:30 ---> d336ccf0f656 15:08:30 Step 9/12 : COPY go.mod vendor* ./ 15:08:30 ---> 45bdfa211a7e 15:08:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:31 ---> Running in e619e75665f1 15:08:31 Still waiting to schedule task 15:08:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:08:53 Removing intermediate container e619e75665f1 15:08:53 ---> 87bc016e1707 15:08:53 Step 11/12 : COPY . . 15:08:53 ---> 9fcadaed4786 15:08:53 Step 12/12 : RUN $MAKE 15:08:53 ---> Running in 77e7edc864eb 15:08:53 noop 15:08:54 Removing intermediate container 77e7edc864eb 15:08:54 ---> 308ea5c4f124 15:08:54 Successfully built 308ea5c4f124 15:08:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:54 + docker inspect -f . ci-base-image-x86_64 15:08:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:54 prd-ubuntu20.04-docker-8c-8g-2948 does not seem to be running inside a container 15:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-239 -v /w/workspace/gexfoundry_device-rest-go_PR-239:/w/workspace/gexfoundry_device-rest-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-239@tmp:/w/workspace/gexfoundry_device-rest-go_PR-239@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:08:55 $ docker top 35f9b5fa206b8622455056ce5ad2e663c2a7de8c351b8c5989d9053766c62ed4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:55 + go version 15:08:55 go version go1.18.7 linux/amd64 [Pipeline] } 15:08:55 $ docker stop --time=1 35f9b5fa206b8622455056ce5ad2e663c2a7de8c351b8c5989d9053766c62ed4 15:08:56 $ docker rm -f --volumes 35f9b5fa206b8622455056ce5ad2e663c2a7de8c351b8c5989d9053766c62ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:57 + docker inspect -f . ci-base-image-x86_64 15:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:57 prd-ubuntu20.04-docker-8c-8g-2948 does not seem to be running inside a container 15:08:57 $ 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-239 -v /w/workspace/gexfoundry_device-rest-go_PR-239:/w/workspace/gexfoundry_device-rest-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-239@tmp:/w/workspace/gexfoundry_device-rest-go_PR-239@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:08:57 $ docker top b8c70a6cba0e7dd63ef9d10e48b1805fc6f1cc6817a9842164a7ba3d212610c2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-239 [Pipeline] fileExists [Pipeline] sh 15:08:58 + make test 15:08:58 go test ./... -coverprofile=coverage.out ./... 15:08:58 ? github.com/edgexfoundry/device-rest-go [no test files] 15:09:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:09:08 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 15:09:16 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:09:16 go vet ./... 15:09:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:09:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:09:19 ./bin/test-attribution-txt.sh [Pipeline] echo 15:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:09:19 $ docker stop --time=1 b8c70a6cba0e7dd63ef9d10e48b1805fc6f1cc6817a9842164a7ba3d212610c2 15:09:20 $ docker rm -f --volumes b8c70a6cba0e7dd63ef9d10e48b1805fc6f1cc6817a9842164a7ba3d212610c2 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:09:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:22 + ls -al . 15:09:22 total 188 15:09:22 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 15:08 . 15:09:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 15:07 .. 15:09:22 -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 15:07 .dockerignore 15:09:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 15:09 .git 15:09:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 15:07 .github 15:09:22 -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 15:07 .gitignore 15:09:22 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 15:07 .golangci.yml 15:09:22 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 15:08 .semver 15:09:22 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 15:07 Attribution.txt 15:09:22 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 15:07 CHANGELOG.md 15:09:22 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 15:07 Dockerfile 15:09:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 15:07 GOVERNANCE.md 15:09:22 -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 15:07 Jenkinsfile 15:09:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 15:07 LICENSE 15:09:22 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 15:07 Makefile 15:09:22 -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 15:07 OWNERS.md 15:09:22 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 18 15:07 README.md 15:09:22 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 15:08 VERSION 15:09:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 15:07 bin 15:09:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 15:07 cmd 15:09:22 -rw-r--r-- 1 jenkins jenkins 9355 Jan 18 15:09 coverage.out 15:09:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 15:07 driver 15:09:22 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 15:07 go.mod 15:09:22 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 15:07 go.sum 15:09:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 15:07 snap 15:09:22 -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:22 + 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=d51af11f0cb9018ee91a372b4b7746c79dba930d --label arch=amd64 --label version=0.0.0 . 15:09:22 Sending build context to Docker daemon 10.81MB 15:09:22 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:09:22 Step 2/25 : FROM ${BASE} AS builder 15:09:22 ---> 308ea5c4f124 15:09:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:09:22 ---> Running in 2c5b8a94201e 15:09:22 Removing intermediate container 2c5b8a94201e 15:09:22 ---> 04f9fcedb0cd 15:09:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:09:22 ---> Running in 6fcf0acaa4ad 15:09:22 Removing intermediate container 6fcf0acaa4ad 15:09:22 ---> c0804b2e30e9 15:09:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:09:22 ---> Running in 53faaac08301 15:09:22 Removing intermediate container 53faaac08301 15:09:22 ---> ea073acf2296 15:09:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:09:22 ---> Running in 59897883f427 15:09:22 Removing intermediate container 59897883f427 15:09:22 ---> 6752345e90b1 15:09:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:09:22 ---> Running in 35c673c8a23b 15:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:09:23 OK: 216 MiB in 55 packages 15:09:23 Removing intermediate container 35c673c8a23b 15:09:23 ---> 98df7695db26 15:09:23 Step 8/25 : WORKDIR /device-rest-go 15:09:23 ---> Running in 89e90c5dd909 15:09:23 Removing intermediate container 89e90c5dd909 15:09:23 ---> 26ec7b5fe24a 15:09:23 Step 9/25 : COPY go.mod vendor* ./ 15:09:24 ---> 994520fe2b5f 15:09:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:09:24 ---> Running in f60e73cc4f3d 15:09:25 Removing intermediate container f60e73cc4f3d 15:09:25 ---> 9ba7a6c5863c 15:09:25 Step 11/25 : COPY . . 15:09:25 ---> 98390ef9b512 15:09:25 Step 12/25 : RUN $MAKE 15:09:25 ---> Running in 2dc9679ac1bb 15:09:25 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 15:09:43 Removing intermediate container 2dc9679ac1bb 15:09:43 ---> 3f590e9e491d 15:09:43 Step 13/25 : FROM alpine:3.16 15:09:43 3.16: Pulling from library/alpine 15:09:43 ca7dd9ec2225: Pulling fs layer 15:09:43 ca7dd9ec2225: Verifying Checksum 15:09:43 ca7dd9ec2225: Download complete 15:09:43 ca7dd9ec2225: Pull complete 15:09:43 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:09:43 Status: Downloaded newer image for alpine:3.16 15:09:43 ---> bfe296a52501 15:09:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:09:43 ---> Running in 20048dd891c5 15:09:43 Removing intermediate container 20048dd891c5 15:09:43 ---> e302a9298926 15:09:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:09:44 ---> Running in 0dc203a4df5e 15:09:44 Removing intermediate container 0dc203a4df5e 15:09:44 ---> b16b825bc2b3 15:09:44 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:09:44 ---> Running in 1eb5f604d65f 15:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:09:44 (1/1) Installing dumb-init (1.2.5-r1) 15:09:44 Executing busybox-1.35.0-r17.trigger 15:09:44 OK: 6 MiB in 15 packages 15:09:45 Removing intermediate container 1eb5f604d65f 15:09:45 ---> 4ef5f63ca399 15:09:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:09:45 ---> dbfd42909565 15:09:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:09:45 ---> 50ebfbed65b3 15:09:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:09:45 ---> fd233f4d3af8 15:09:45 Step 20/25 : EXPOSE 59986 15:09:46 ---> Running in a10072f0f624 15:09:46 Removing intermediate container a10072f0f624 15:09:46 ---> 522c7edb9ec2 15:09:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:09:46 ---> Running in cd01c2109180 15:09:46 Removing intermediate container cd01c2109180 15:09:46 ---> 3996e163b92a 15:09:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:09:46 ---> Running in de7fb6bd1a38 15:09:46 Removing intermediate container de7fb6bd1a38 15:09:46 ---> 9b266456f907 15:09:46 Step 23/25 : LABEL arch=amd64 15:09:46 ---> Running in 68c78eecd4c0 15:09:46 Removing intermediate container 68c78eecd4c0 15:09:46 ---> 12539b37178a 15:09:46 Step 24/25 : LABEL git_sha=d51af11f0cb9018ee91a372b4b7746c79dba930d 15:09:46 ---> Running in a00daaef55ca 15:09:46 Removing intermediate container a00daaef55ca 15:09:46 ---> 7a98478dd883 15:09:46 Step 25/25 : LABEL version=0.0.0 15:09:46 ---> Running in 78296a3c2540 15:09:47 Removing intermediate container 78296a3c2540 15:09:47 ---> 573765c61ce5 15:09:47 [Warning] One or more build-args [ARCH] were not consumed 15:09:47 Successfully built 573765c61ce5 15:09:47 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 15:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:47 15:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:47 latest: Pulling from edgex-lftools-log-publisher 15:09:47 5eb5b503b376: Pulling fs layer 15:09:47 5c69ac0246d0: Pulling fs layer 15:09:47 ec43610c2a17: Pulling fs layer 15:09:47 3a2ae6a8a46f: Pulling fs layer 15:09:47 33b1e0a273af: Pulling fs layer 15:09:47 5d3b04190fa2: Pulling fs layer 15:09:47 2f39f015ded8: Pulling fs layer 15:09:47 33b1e0a273af: Waiting 15:09:47 5d3b04190fa2: Waiting 15:09:47 2f39f015ded8: Waiting 15:09:47 3a2ae6a8a46f: Waiting 15:09:47 5c69ac0246d0: Verifying Checksum 15:09:47 5c69ac0246d0: Download complete 15:09:47 3a2ae6a8a46f: Verifying Checksum 15:09:47 3a2ae6a8a46f: Download complete 15:09:48 33b1e0a273af: Verifying Checksum 15:09:48 33b1e0a273af: Download complete 15:09:48 5d3b04190fa2: Verifying Checksum 15:09:48 5d3b04190fa2: Download complete 15:09:48 ec43610c2a17: Verifying Checksum 15:09:48 ec43610c2a17: Download complete 15:09:48 5eb5b503b376: Verifying Checksum 15:09:48 5eb5b503b376: Download complete 15:09:48 2f39f015ded8: Download complete 15:09:49 5eb5b503b376: Pull complete 15:09:49 5c69ac0246d0: Pull complete 15:09:49 ec43610c2a17: Pull complete 15:09:49 3a2ae6a8a46f: Pull complete 15:09:49 33b1e0a273af: Pull complete 15:09:50 5d3b04190fa2: Pull complete 15:09:54 2f39f015ded8: Pull complete 15:09:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:54 prd-ubuntu20.04-docker-8c-8g-2948 does not seem to be running inside a container 15:09:54 $ 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-239 -v /w/workspace/gexfoundry_device-rest-go_PR-239:/w/workspace/gexfoundry_device-rest-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-239@tmp:/w/workspace/gexfoundry_device-rest-go_PR-239@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:09:56 $ docker top d953bf2e06838e7a83c32e44e24d166d5a207824aeebdd32a011106a65426ac4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:56 ---> job-cost.sh 15:09:56 lf-activate-venv: SKIPPING 15:09:56 INFO: No Stack... 15:09:56 INFO: Retrieving Pricing Info for: v3-standard-8 15:09:57 INFO: Archiving Costs [Pipeline] sh 15:09:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-239/archives/cost.csv 15:09:57 + cut -d, -f6 [Pipeline] lock 15:09:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] 15:09:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] did not exist. Created. 15:09:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:09:57 + echo total: 0.2199999988079071 [Pipeline] stash 15:09:58 Stashed 1 file(s) [Pipeline] } 15:09:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:09:58 $ docker stop --time=1 d953bf2e06838e7a83c32e44e24d166d5a207824aeebdd32a011106a65426ac4 15:09:59 $ docker rm -f --volumes d953bf2e06838e7a83c32e44e24d166d5a207824aeebdd32a011106a65426ac4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:10:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2950 in /w/workspace/gexfoundry_device-rest-go_PR-239 [Pipeline] { [Pipeline] ws 15:10:51 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:10:51 The recommended git tool is: git 15:10:58 using credential edgex-jenkins-ssh 15:10:58 Cloning the remote Git repository 15:10:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:10:58 > git init /w/workspace/device-rest-go/2 # timeout=10 15:10:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:10:58 > git --version # timeout=10 15:10:58 > git --version # 'git version 2.25.1' 15:10:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:11:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:11:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:11:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:11:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:11:02 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 9b560e5ac6204a3ca75703e45e432b3ba564fb16 15:11:03 Merge succeeded, producing 17af009a55f0322c128e1052a92dfbd5ca4f7b43 15:11:03 Checking out Revision 17af009a55f0322c128e1052a92dfbd5ca4f7b43 (PR-239) 15:11:02 > git config core.sparsecheckout # timeout=10 15:11:03 > git checkout -f 9b560e5ac6204a3ca75703e45e432b3ba564fb16 # timeout=10 15:11:03 > git remote # timeout=10 15:11:03 > git config --get remote.origin.url # timeout=10 15:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:11:03 > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 15:11:03 > git rev-parse HEAD^{commit} # timeout=10 15:11:03 > git config core.sparsecheckout # timeout=10 15:11:03 > git checkout -f 17af009a55f0322c128e1052a92dfbd5ca4f7b43 # timeout=10 15:11:06 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" 15:11:06 > git rev-list --no-walk 9b560e5ac6204a3ca75703e45e432b3ba564fb16 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:11:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:11:08 % Total % Received % Xferd Average Speed Time Time Time Current 15:11:08 Dload Upload Total Spent Left Speed 15:11:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 15:11:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:11:09 + sudo tee /etc/docker/daemon.new 15:11:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:11:09 { 15:11:09 "registry-mirrors": [ 15:11:09 "https://nexus3.edgexfoundry.org:10001" 15:11:09 ], 15:11:09 "bip": "10.250.0.254/24", 15:11:09 "hosts": [ 15:11:09 "tcp://0.0.0.0:5555", 15:11:09 "unix:///var/run/docker.sock" 15:11:09 ], 15:11:09 "mtu": 1458, 15:11:09 "selinux-enabled": true, 15:11:09 "seccomp-profile": "/etc/docker/seccomp.json" 15:11:09 } [Pipeline] sh 15:11:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:11:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:11:28 provisioning config files... 15:11:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config18131285575222820149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:28 ---> docker-login.sh 15:11:28 nexus3.edgexfoundry.org:10001 15:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:29 Configure a credential helper to remove this warning. See 15:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:29 15:11:29 Login Succeeded 15:11:29 nexus3.edgexfoundry.org:10002 15:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:29 Configure a credential helper to remove this warning. See 15:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:29 15:11:29 Login Succeeded 15:11:29 nexus3.edgexfoundry.org:10003 15:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:30 Configure a credential helper to remove this warning. See 15:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:30 15:11:30 Login Succeeded 15:11:30 nexus3.edgexfoundry.org:10004 15:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:30 Configure a credential helper to remove this warning. See 15:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:30 15:11:30 Login Succeeded 15:11:30 docker.io 15:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:30 Configure a credential helper to remove this warning. See 15:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:30 15:11:30 Login Succeeded 15:11:30 ---> docker-login.sh ends [Pipeline] } 15:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:11:31 ========================================================= 15:11:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:11:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:11:31 Sending build context to Docker daemon 127kB 15:11:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:11:32 Step 2/12 : FROM ${BASE} AS builder 15:11:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:11:32 9b18e9b68314: Pulling fs layer 15:11:32 35d82f9e3411: Pulling fs layer 15:11:32 e16973657156: Pulling fs layer 15:11:32 fc693d55d65f: Pulling fs layer 15:11:32 7e9fc2657dce: Pulling fs layer 15:11:32 dda99020689f: Pulling fs layer 15:11:32 db1c61fa0a46: Pulling fs layer 15:11:32 891c053d2c06: Pulling fs layer 15:11:32 fc693d55d65f: Waiting 15:11:32 7e9fc2657dce: Waiting 15:11:32 db1c61fa0a46: Waiting 15:11:32 dda99020689f: Waiting 15:11:32 891c053d2c06: Waiting 15:11:32 e16973657156: Verifying Checksum 15:11:32 e16973657156: Download complete 15:11:32 35d82f9e3411: Verifying Checksum 15:11:32 35d82f9e3411: Download complete 15:11:32 7e9fc2657dce: Verifying Checksum 15:11:32 7e9fc2657dce: Download complete 15:11:32 dda99020689f: Verifying Checksum 15:11:32 dda99020689f: Download complete 15:11:32 9b18e9b68314: Verifying Checksum 15:11:32 9b18e9b68314: Download complete 15:11:33 9b18e9b68314: Pull complete 15:11:33 891c053d2c06: Verifying Checksum 15:11:33 891c053d2c06: Download complete 15:11:34 35d82f9e3411: Pull complete 15:11:34 e16973657156: Pull complete 15:11:34 db1c61fa0a46: Verifying Checksum 15:11:34 db1c61fa0a46: Download complete 15:11:35 fc693d55d65f: Verifying Checksum 15:11:35 fc693d55d65f: Download complete 15:11:47 fc693d55d65f: Pull complete 15:11:47 7e9fc2657dce: Pull complete 15:11:47 dda99020689f: Pull complete 15:11:54 db1c61fa0a46: Pull complete 15:11:56 891c053d2c06: Pull complete 15:11:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:11:56 ---> f96f9c87975a 15:11:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:11:57 ---> Running in d947a04bdd9c 15:11:57 Removing intermediate container d947a04bdd9c 15:11:57 ---> 5e19d93d4ae3 15:11:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:11:58 ---> Running in 17c0e9aee951 15:11:58 Removing intermediate container 17c0e9aee951 15:11:58 ---> 406f238550d8 15:11:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:11:58 ---> Running in 5d1901329b53 15:11:58 Removing intermediate container 5d1901329b53 15:11:58 ---> 2bf759324533 15:11:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:11:58 ---> Running in 22f81f53e947 15:11:59 Removing intermediate container 22f81f53e947 15:11:59 ---> cab95a566dad 15:11:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:59 ---> Running in 63f29f5e8fb4 15:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:12:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:12:01 (2/4) Installing libedit (20210910.3.1-r0) 15:12:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:12:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:12:02 Executing busybox-1.35.0-r17.trigger 15:12:02 OK: 226 MiB in 55 packages 15:12:03 Removing intermediate container 63f29f5e8fb4 15:12:03 ---> acf1fc5453c2 15:12:03 Step 8/12 : WORKDIR /device-rest-go 15:12:03 ---> Running in cdc6888c6384 15:12:03 Removing intermediate container cdc6888c6384 15:12:03 ---> 8b110c4eb2c3 15:12:03 Step 9/12 : COPY go.mod vendor* ./ 15:12:04 ---> 3bd4e9b6f002 15:12:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:12:04 ---> Running in f61f91ce7452 15:13:00 Removing intermediate container f61f91ce7452 15:13:00 ---> 23353c3172dd 15:13:00 Step 11/12 : COPY . . 15:13:00 ---> c0f0fc135475 15:13:00 Step 12/12 : RUN $MAKE 15:13:00 ---> Running in 9b7bd4314cda 15:13:00 noop 15:13:00 Removing intermediate container 9b7bd4314cda 15:13:00 ---> e13888b2731a 15:13:00 Successfully built e13888b2731a 15:13:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:00 + docker inspect -f . ci-base-image-arm64 15:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:00 prd-ubuntu20.04-docker-arm64-4c-16g-2950 does not seem to be running inside a container 15:13:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:13:02 $ docker top fd14172556203eba5acffbd44cc25404f01a723137b1eeb0ad77217fa56838ce -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:03 + go version 15:13:03 go version go1.18.7 linux/arm64 [Pipeline] } 15:13:03 $ docker stop --time=1 fd14172556203eba5acffbd44cc25404f01a723137b1eeb0ad77217fa56838ce 15:13:04 $ docker rm -f --volumes fd14172556203eba5acffbd44cc25404f01a723137b1eeb0ad77217fa56838ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:05 + docker inspect -f . ci-base-image-arm64 15:13:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-2950 does not seem to be running inside a container 15:13:05 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:13:06 $ docker top aa7b741922525af6bbfb0987ae34cfc2fbe4ceb100267029be70307dafbd4208 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:07 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 15:13:07 + make test 15:13:07 go test ./... -coverprofile=coverage.out ./... 15:13:09 ? github.com/edgexfoundry/device-rest-go [no test files] 15:14:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:14:31 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 55.2% of statements 15:14:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:14:31 go vet ./... 15:14:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:14:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:14:49 ./bin/test-attribution-txt.sh [Pipeline] echo 15:14:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:14:50 $ docker stop --time=1 aa7b741922525af6bbfb0987ae34cfc2fbe4ceb100267029be70307dafbd4208 15:14:52 $ docker rm -f --volumes aa7b741922525af6bbfb0987ae34cfc2fbe4ceb100267029be70307dafbd4208 [Pipeline] // withDockerContainer [Pipeline] sh 15:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:53 Warning: overwriting stash ‘coverage-report’ 15:14:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:54 + ls -al . 15:14:54 total 184 15:14:54 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 15:13 . 15:14:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 15:10 .. 15:14:54 -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 15:11 .dockerignore 15:14:54 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 15:11 .git 15:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 15:11 .github 15:14:54 -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 15:11 .gitignore 15:14:54 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 15:11 .golangci.yml 15:14:54 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 15:11 Attribution.txt 15:14:54 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 15:11 CHANGELOG.md 15:14:54 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 15:11 Dockerfile 15:14:54 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 15:11 GOVERNANCE.md 15:14:54 -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 15:11 Jenkinsfile 15:14:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 15:11 LICENSE 15:14:54 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 15:11 Makefile 15:14:54 -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 15:11 OWNERS.md 15:14:54 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 18 15:11 README.md 15:14:54 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 15:08 VERSION 15:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 15:11 bin 15:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 15:11 cmd 15:14:54 -rw-r--r-- 1 jenkins jenkins 9355 Jan 18 15:14 coverage.out 15:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 15:11 driver 15:14:54 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 15:11 go.mod 15:14:54 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 15:11 go.sum 15:14:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 15:11 snap 15:14:54 -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 15:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:54 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=17af009a55f0322c128e1052a92dfbd5ca4f7b43 --label arch=arm64 --label version=0.0.0 . 15:14:54 Sending build context to Docker daemon 137.2kB 15:14:54 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:14:54 Step 2/25 : FROM ${BASE} AS builder 15:14:54 ---> e13888b2731a 15:14:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:14:54 ---> Running in e79e7248a367 15:14:55 Removing intermediate container e79e7248a367 15:14:55 ---> 4c0a866eb468 15:14:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:14:55 ---> Running in 63f59f17364f 15:14:55 Removing intermediate container 63f59f17364f 15:14:55 ---> e462af51dbfe 15:14:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:14:55 ---> Running in 2d0e534fcc5e 15:14:55 Removing intermediate container 2d0e534fcc5e 15:14:55 ---> b42f67897d7b 15:14:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:14:55 ---> Running in 9933f760f22d 15:14:56 Removing intermediate container 9933f760f22d 15:14:56 ---> 795faa21a302 15:14:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:14:56 ---> Running in ec6272bcdff0 15:14:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:14:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:14:59 OK: 226 MiB in 55 packages 15:14:59 Removing intermediate container ec6272bcdff0 15:14:59 ---> 393550bf2213 15:14:59 Step 8/25 : WORKDIR /device-rest-go 15:15:00 ---> Running in a4adfa246ac9 15:15:00 Removing intermediate container a4adfa246ac9 15:15:00 ---> 5b7006e67eea 15:15:00 Step 9/25 : COPY go.mod vendor* ./ 15:15:00 ---> 034c264df565 15:15:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:15:00 ---> Running in 2f7dbd256ef9 15:15:03 Removing intermediate container 2f7dbd256ef9 15:15:03 ---> 34a4f40d319a 15:15:03 Step 11/25 : COPY . . 15:15:03 ---> 34f029c54291 15:15:03 Step 12/25 : RUN $MAKE 15:15:03 ---> Running in f89f7a9fbb62 15:15:05 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 15:17:26 Removing intermediate container f89f7a9fbb62 15:17:26 ---> 3c22e82d115a 15:17:26 Step 13/25 : FROM alpine:3.16 15:17:27 3.16: Pulling from library/alpine 15:17:27 6875df1f5354: Pulling fs layer 15:17:28 6875df1f5354: Verifying Checksum 15:17:28 6875df1f5354: Download complete 15:17:28 6875df1f5354: Pull complete 15:17:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:17:28 Status: Downloaded newer image for alpine:3.16 15:17:28 ---> 2b4661558fb8 15:17:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:17:28 ---> Running in d88e5ca355da 15:17:28 Removing intermediate container d88e5ca355da 15:17:28 ---> 384170b36b0a 15:17:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:17:28 ---> Running in 595bc5d59a00 15:17:29 Removing intermediate container 595bc5d59a00 15:17:29 ---> 29c881613855 15:17:29 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:17:29 ---> Running in 035b286956c8 15:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:17:31 (1/1) Installing dumb-init (1.2.5-r1) 15:17:31 Executing busybox-1.35.0-r17.trigger 15:17:31 OK: 5 MiB in 15 packages 15:17:32 Removing intermediate container 035b286956c8 15:17:32 ---> d0cb0df6ea92 15:17:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:17:36 ---> deeb78157b3c 15:17:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:17:36 ---> 8fba65e6714f 15:17:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:17:36 ---> a76d1c4b9db5 15:17:36 Step 20/25 : EXPOSE 59986 15:17:36 ---> Running in 984c45fcdb28 15:17:36 Removing intermediate container 984c45fcdb28 15:17:36 ---> cc398a68589f 15:17:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:17:36 ---> Running in 0b395c1b8661 15:17:37 Removing intermediate container 0b395c1b8661 15:17:37 ---> 7840f0ada64b 15:17:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:17:37 ---> Running in e152ca580cb3 15:17:37 Removing intermediate container e152ca580cb3 15:17:37 ---> 663094338017 15:17:37 Step 23/25 : LABEL arch=arm64 15:17:37 ---> Running in 2b17d9e1e34f 15:17:37 Removing intermediate container 2b17d9e1e34f 15:17:37 ---> 2c565b5921bc 15:17:37 Step 24/25 : LABEL git_sha=17af009a55f0322c128e1052a92dfbd5ca4f7b43 15:17:37 ---> Running in d117bfc0a482 15:17:38 Removing intermediate container d117bfc0a482 15:17:38 ---> ce9ba5c1dcd0 15:17:38 Step 25/25 : LABEL version=0.0.0 15:17:38 ---> Running in db5c5d166eba 15:17:38 Removing intermediate container db5c5d166eba 15:17:38 ---> 3014d5810a58 15:17:38 [Warning] One or more build-args [ARCH] were not consumed 15:17:38 Successfully built 3014d5810a58 15:17:38 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 15:17:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:17:39 15:17:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:17:39 arm64: Pulling from edgex-lftools-log-publisher 15:17:39 8998bd30e6a1: Pulling fs layer 15:17:39 04944245beec: Pulling fs layer 15:17:39 699f458cf7ca: Pulling fs layer 15:17:39 765212b225bb: Pulling fs layer 15:17:39 f23df028b6ca: Pulling fs layer 15:17:39 d65c8cfc05b1: Pulling fs layer 15:17:39 2437ff75d9bd: Pulling fs layer 15:17:39 d65c8cfc05b1: Waiting 15:17:39 765212b225bb: Waiting 15:17:39 f23df028b6ca: Waiting 15:17:39 2437ff75d9bd: Waiting 15:17:39 04944245beec: Verifying Checksum 15:17:39 04944245beec: Download complete 15:17:39 765212b225bb: Verifying Checksum 15:17:39 765212b225bb: Download complete 15:17:39 f23df028b6ca: Verifying Checksum 15:17:39 f23df028b6ca: Download complete 15:17:39 d65c8cfc05b1: Verifying Checksum 15:17:39 d65c8cfc05b1: Download complete 15:17:39 699f458cf7ca: Verifying Checksum 15:17:39 699f458cf7ca: Download complete 15:17:40 8998bd30e6a1: Verifying Checksum 15:17:40 8998bd30e6a1: Download complete 15:17:43 2437ff75d9bd: Verifying Checksum 15:17:43 2437ff75d9bd: Download complete 15:17:44 8998bd30e6a1: Pull complete 15:17:45 04944245beec: Pull complete 15:17:46 699f458cf7ca: Pull complete 15:17:46 765212b225bb: Pull complete 15:17:47 f23df028b6ca: Pull complete 15:17:47 d65c8cfc05b1: Pull complete 15:18:02 2437ff75d9bd: Pull complete 15:18:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:18:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:03 prd-ubuntu20.04-docker-arm64-4c-16g-2950 does not seem to be running inside a container 15:18:03 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:18:05 $ docker top b083f7fce06e242e1ce9c48e2eaadc56e4fd2c215894dc4c82f4295c49d4d462 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:06 ---> job-cost.sh 15:18:06 lf-activate-venv: SKIPPING 15:18:06 INFO: No Stack... 15:18:07 INFO: Retrieving Pricing Info for: v3-standard-4 15:18:08 INFO: Archiving Costs [Pipeline] sh 15:18:08 + + cutcat -d, /w/workspace/device-rest-go/2/archives/cost.csv -f6 15:18:08 [Pipeline] lock 15:18:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] 15:18:08 Resource [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] did not exist. Created. 15:18:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:09 /w/workspace/device-rest-go/2@tmp/durable-c195c415/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:18:09 + echo total: 0.10999999940395355 [Pipeline] stash 15:18:09 Warning: overwriting stash ‘stack-cost’ 15:18:09 Stashed 1 file(s) [Pipeline] } 15:18:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-239-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:18:09 $ docker stop --time=1 b083f7fce06e242e1ce9c48e2eaadc56e4fd2c215894dc4c82f4295c49d4d462 15:18:11 $ docker rm -f --volumes b083f7fce06e242e1ce9c48e2eaadc56e4fd2c215894dc4c82f4295c49d4d462 [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 15:18:11 provisioning config files... 15:18:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/config17382760013312315811tmp [Pipeline] { [Pipeline] sh 15:18:12 + set +x 15:18:12 + curl -s https://codecov.io/bash 15:18:12 + bash -s -- 15:18:12 15:18:12 _____ _ 15:18:12 / ____| | | 15:18:12 | | ___ __| | ___ ___ _____ __ 15:18:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:18:12 | |___| (_) | (_| | __/ (_| (_) \ V / 15:18:12 \_____\___/ \__,_|\___|\___\___/ \_/ 15:18:12 Bash-1.0.6 15:18:12 15:18:12 15:18:12 ==> git version 2.25.1 found 15:18:12 ==> 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 15:18:12 Release-Date: 2020-01-08 15:18:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:18:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:18:12 ==> Jenkins CI detected. 15:18:12 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-239 15:18:12 project root: . 15:18:12 --> token set from env 15:18:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:18:12 ==> Running gcov in . (disable via -X gcov) 15:18:12 ==> Python coveragepy not found 15:18:12 ==> Searching for coverage reports in: 15:18:12 + . 15:18:12 -> Found 1 reports 15:18:12 ==> Detecting git/mercurial file structure 15:18:12 ==> Reading reports 15:18:12 + ./coverage.out bytes=9355 15:18:12 ==> Appending adjustments 15:18:12 https://docs.codecov.io/docs/fixing-reports 15:18:12 + Found adjustments 15:18:12 ==> Gzipping contents 15:18:12 4.0K /tmp/codecov.1L4YVr.gz 15:18:12 ==> Uploading reports 15:18:12 url: https://codecov.io 15:18:12 query: branch=PR-239&commit=d51af11f0cb9018ee91a372b4b7746c79dba930d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-239%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=239&job=&cmd_args= 15:18:12 -> Pinging Codecov 15:18:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-239&commit=d51af11f0cb9018ee91a372b4b7746c79dba930d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-239%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=239&job=&cmd_args= 15:18:12 -> Uploading to 15:18:12 https://storage.googleapis.com/codecov/v4/raw/2023-01-18/4E5D53B4F1F92C436F7061BF334D961C/d51af11f0cb9018ee91a372b4b7746c79dba930d/7944cea1-1fec-4419-9d4d-3a47f1333ac7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T151812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91c1f6fdbf0375e12ce38d5fb705a6c1191d8ababc4e26a6d265d6675a39a40b 15:18:12 % Total % Received % Xferd Average Speed Time Time Time Current 15:18:12 Dload Upload Total Spent Left Speed 15:18:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 5144 --:--:-- --:--:-- --:--:-- 5144 15:18:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d51af11f0cb9018ee91a372b4b7746c79dba930d [Pipeline] } 15:18:12 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 15:18:13 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-239/archives ] 15:18:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-239/archives 15:18:13 total 16 15:18:13 drwxr-xr-x 3 root root 4096 Jan 18 15:09 . 15:18:13 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 15:09 .. 15:18:13 drwxr-xr-x 2 root root 4096 Jan 18 15:09 cost 15:18:13 -rw-r--r-- 1 root root 86 Jan 18 15:09 cost.csv 15:18:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-239/archives 15:18:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-239/archives 15:18:13 total 16 15:18:13 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 15:09 . 15:18:13 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 15:09 .. 15:18:13 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 15:09 cost 15:18:13 -rw-r--r-- 1 jenkins jenkins 86 Jan 18 15:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:18:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:18:14 ---> package-listing.sh 15:18:14 ++ facter osfamily 15:18:14 ++ tr '[:upper:]' '[:lower:]' 15:18:15 + OS_FAMILY=debian 15:18:15 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-239 15:18:15 + START_PACKAGES=/tmp/packages_start.txt 15:18:15 + END_PACKAGES=/tmp/packages_end.txt 15:18:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:18:15 + PACKAGES=/tmp/packages_start.txt 15:18:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-239 ']' 15:18:15 + PACKAGES=/tmp/packages_end.txt 15:18:15 + case "${OS_FAMILY}" in 15:18:15 + dpkg -l 15:18:15 + grep '^ii' 15:18:15 + '[' -f /tmp/packages_start.txt ']' 15:18:15 + '[' -f /tmp/packages_end.txt ']' 15:18:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:18:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-239 ']' 15:18:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-239/archives/ 15:18:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-239/archives/ [Pipeline] echo 15:18:15 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-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:18:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:15 prd-ubuntu20.04-docker-8c-8g-2948 does not seem to be running inside a container 15:18:15 $ 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-239/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-239 -v /w/workspace/gexfoundry_device-rest-go_PR-239:/w/workspace/gexfoundry_device-rest-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-239@tmp:/w/workspace/gexfoundry_device-rest-go_PR-239@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:18:16 $ docker top 3bc16abaaeefc13763eae8b3a781c383c0e571a15aad52440e4b44f8c2e83a48 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:16 + touch /tmp/pre-build-complete [Pipeline] sh 15:18:16 + mkdir -p /var/log/sysstat [Pipeline] sh 15:18:16 + ls /var/log/sa-host 15:18:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:17 provisioning config files... 15:18:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-239@tmp/config1601476084083707234tmp [Pipeline] { [Pipeline] echo 15:18:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:18:17 ---> create-netrc.sh [Pipeline] } 15:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:18:17 ---> python-tools-install.sh [Pipeline] echo 15:18:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:18:17 ---> sudo-logs.sh 15:18:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:18:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:18:18 ---> job-cost.sh 15:18:18 lf-activate-venv: SKIPPING 15:18:18 DEBUG: total: 0.2199999988079071 15:18:18 INFO: Retrieving Stack Cost... 15:18:18 INFO: Retrieving Pricing Info for: v3-standard-8 15:18:19 INFO: Archiving Costs [Pipeline] echo 15:18:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:18:19 ---> logs-deploy.sh 15:18:19 lf-activate-venv: SKIPPING 15:18:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-239/2 15:18:19 INFO: archiving workspace using pattern(s): 15:18:20 Archives upload complete. 15:18:20 INFO: archiving logs to Nexus 15:18:21 ---> uname -a: 15:18:21 Linux prd-ubuntu20-04-docker-8c-8g-2948 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:18:21 15:18:21 15:18:21 ---> lscpu: 15:18:21 Architecture: x86_64 15:18:21 CPU op-mode(s): 32-bit, 64-bit 15:18:21 Byte Order: Little Endian 15:18:21 Address sizes: 40 bits physical, 48 bits virtual 15:18:21 CPU(s): 8 15:18:21 On-line CPU(s) list: 0-7 15:18:21 Thread(s) per core: 1 15:18:21 Core(s) per socket: 1 15:18:21 Socket(s): 8 15:18:21 NUMA node(s): 1 15:18:21 Vendor ID: AuthenticAMD 15:18:21 CPU family: 23 15:18:21 Model: 49 15:18:21 Model name: AMD EPYC-Rome Processor 15:18:21 Stepping: 0 15:18:21 CPU MHz: 2799.996 15:18:21 BogoMIPS: 5599.99 15:18:21 Virtualization: AMD-V 15:18:21 Hypervisor vendor: KVM 15:18:21 Virtualization type: full 15:18:21 L1d cache: 256 KiB 15:18:21 L1i cache: 256 KiB 15:18:21 L2 cache: 4 MiB 15:18:21 L3 cache: 128 MiB 15:18:21 NUMA node0 CPU(s): 0-7 15:18:21 Vulnerability Itlb multihit: Not affected 15:18:21 Vulnerability L1tf: Not affected 15:18:21 Vulnerability Mds: Not affected 15:18:21 Vulnerability Meltdown: Not affected 15:18:21 Vulnerability Mmio stale data: Not affected 15:18:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:18:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:18:21 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:18:21 Vulnerability Srbds: Not affected 15:18:21 Vulnerability Tsx async abort: Not affected 15:18: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 15:18:21 15:18:21 15:18:21 ---> nproc: 15:18:21 8 15:18:21 15:18:21 15:18:21 ---> df -h: 15:18:21 Filesystem Size Used Avail Use% Mounted on 15:18:21 overlay 155G 12G 144G 8% / 15:18:21 tmpfs 64M 0 64M 0% /dev 15:18:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 15:18:21 shm 64M 0 64M 0% /dev/shm 15:18:21 /dev/vda1 155G 12G 144G 8% /facter-os 15:18:21 15:18:21 15:18:21 ---> sar -b -r -n DEV: 15:18:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2948) 01/18/23 _x86_64_ (8 CPU) 15:18:21 15:18:21 15:07:21 LINUX RESTART (8 CPU) 15:18:21 15:18:21 15:08:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:18:21 15:09:01 209.12 4.59 204.52 0.00 516.84 78415.72 0.00 15:18:21 15:10:01 172.43 0.20 172.23 0.00 7.73 39775.14 0.00 15:18:21 15:11:01 1.73 0.00 1.73 0.00 0.00 25.08 0.00 15:18:21 15:12:01 1.85 0.00 1.85 0.00 0.00 21.06 0.00 15:18:21 15:13:01 53.30 10.60 42.70 0.00 5158.28 8761.48 0.00 15:18:21 15:14:01 5.87 0.02 5.85 0.00 0.13 123.98 0.00 15:18:21 15:15:01 1.47 0.00 1.47 0.00 0.00 15.99 0.00 15:18:21 15:16:01 1.93 0.00 1.93 0.00 0.00 21.46 0.00 15:18:21 15:17:01 1.40 0.02 1.38 0.00 0.13 15.59 0.00 15:18:21 15:18:01 2.38 0.00 2.38 0.00 0.00 27.60 0.00 15:18:21 Average: 44.88 1.54 43.34 0.00 568.44 12611.51 0.00 15:18:21 15:18:21 15:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:18:21 15:09:01 28290376 31408212 886024 2.69 137368 3193372 2340780 6.90 1325060 2820540 66480 15:18:21 15:10:01 27767408 31568332 725620 2.21 150852 3811680 1753128 5.17 1226480 3392136 280 15:18:21 15:11:01 27779356 31580344 713496 2.17 150888 3811676 1753128 5.17 1212728 3392140 212 15:18:21 15:12:01 27780604 31581700 712060 2.17 150940 3811684 1753128 5.17 1210748 3392140 20 15:18:21 15:13:01 27256268 31565512 715768 2.18 184288 4266464 1818316 5.36 1527568 3564052 1008 15:18:21 15:14:01 27263512 31568072 713908 2.17 182844 4263208 1798624 5.30 1524540 3560944 140 15:18:21 15:15:01 27265432 31570036 711936 2.17 182868 4263212 1798624 5.30 1522980 3560980 8 15:18:21 15:16:01 27265992 31570772 711244 2.16 182948 4263344 1798624 5.30 1523560 3561100 16 15:18:21 15:17:01 27265368 31570536 711664 2.16 183036 4263340 1798624 5.30 1523440 3561376 216 15:18:21 15:18:01 27265104 31570436 711432 2.16 183128 4263348 1798624 5.30 1523436 3561384 176 15:18:21 Average: 27519942 31555395 731315 2.22 168916 4021133 1841160 5.43 1412054 3436679 6856 15:18:21 15:18:21 15:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:18:21 15:09:01 ens3 526.04 393.90 7781.47 87.50 0.00 0.00 0.00 0.00 15:18:21 15:09:01 docker0 182.53 231.74 14.85 1987.04 0.00 0.00 0.00 0.00 15:18:21 15:09:01 veth5023333 0.00 0.17 0.00 0.02 0.00 0.00 0.00 0.00 15:18:21 15:09:01 lo 4.27 4.27 0.42 0.42 0.00 0.00 0.00 0.00 15:18:21 15:10:01 ens3 142.42 94.62 2671.48 22.54 0.00 0.00 0.00 0.00 15:18:21 15:10:01 docker0 3.67 8.08 0.22 81.62 0.00 0.00 0.00 0.00 15:18:21 15:10:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 15:18:21 15:11:01 ens3 1.33 0.32 0.41 0.29 0.00 0.00 0.00 0.00 15:18:21 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:12:01 ens3 1.50 1.17 4.36 0.32 0.00 0.00 0.00 0.00 15:18:21 15:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:18:21 15:13:01 ens3 174.99 93.35 2754.27 6.67 0.00 0.00 0.00 0.00 15:18:21 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:13:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 15:18:21 15:14:01 ens3 0.27 0.23 0.02 0.02 0.00 0.00 0.00 0.00 15:18:21 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:18:21 15:15:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:16:01 ens3 0.20 0.13 0.01 0.01 0.00 0.00 0.00 0.00 15:18:21 15:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:18:21 15:17:01 ens3 0.10 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:18:01 ens3 0.28 0.20 0.08 0.07 0.00 0.00 0.00 0.00 15:18:21 15:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:18:21 15:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:18:21 Average: ens3 83.99 57.84 1310.52 11.62 0.00 0.00 0.00 0.00 15:18:21 Average: docker0 18.35 23.64 1.48 203.91 0.00 0.00 0.00 0.00 15:18:21 Average: lo 0.77 0.77 0.07 0.07 0.00 0.00 0.00 0.00 15:18:21 15:18:21 15:18:21 ---> sar -P ALL: 15:18:21 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2948) 01/18/23 _x86_64_ (8 CPU) 15:18:21 15:18:21 15:07:21 LINUX RESTART (8 CPU) 15:18:21 15:18:21 15:08:02 CPU %user %nice %system %iowait %steal %idle 15:18:21 15:09:01 all 14.30 0.00 5.86 1.81 0.07 77.96 15:18:21 15:09:01 0 13.89 0.00 5.81 3.43 0.07 76.80 15:18:21 15:09:01 1 14.05 0.00 6.97 4.21 0.07 74.70 15:18:21 15:09:01 2 14.40 0.00 6.58 1.28 0.07 77.66 15:18:21 15:09:01 3 14.68 0.00 5.07 3.21 0.09 76.96 15:18:21 15:09:01 4 14.36 0.00 5.62 0.86 0.07 79.10 15:18:21 15:09:01 5 14.02 0.00 5.26 0.34 0.05 80.33 15:18:21 15:09:01 6 15.20 0.00 6.00 0.74 0.09 77.98 15:18:21 15:09:01 7 13.81 0.00 5.57 0.38 0.09 80.15 15:18:21 15:10:01 all 35.71 0.00 6.51 1.08 0.09 56.61 15:18:21 15:10:01 0 37.78 0.00 6.90 0.54 0.08 54.70 15:18:21 15:10:01 1 35.30 0.00 6.46 0.10 0.08 58.06 15:18:21 15:10:01 2 36.10 0.00 6.66 0.15 0.10 56.99 15:18:21 15:10:01 3 35.03 0.00 6.41 3.48 0.08 55.00 15:18:21 15:10:01 4 33.34 0.00 6.55 3.63 0.08 56.39 15:18:21 15:10:01 5 35.97 0.00 6.16 0.34 0.08 57.45 15:18:21 15:10:01 6 35.61 0.00 6.89 0.37 0.08 57.05 15:18:21 15:10:01 7 36.56 0.00 6.04 0.07 0.08 57.25 15:18:21 15:11:01 all 0.03 0.00 0.01 0.01 0.00 99.94 15:18:21 15:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 15:18:21 15:11:01 1 0.03 0.00 0.02 0.00 0.02 99.93 15:18:21 15:11:01 2 0.05 0.00 0.00 0.00 0.00 99.95 15:18:21 15:11:01 3 0.07 0.00 0.03 0.03 0.00 99.87 15:18:21 15:11:01 4 0.03 0.00 0.00 0.02 0.00 99.95 15:18:21 15:11:01 5 0.02 0.00 0.00 0.00 0.02 99.97 15:18:21 15:11:01 6 0.02 0.00 0.03 0.00 0.00 99.95 15:18:21 15:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 15:18:21 15:12:01 all 0.02 0.00 0.01 0.01 0.00 99.95 15:18:21 15:12:01 0 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 15:12:01 1 0.03 0.00 0.02 0.00 0.02 99.93 15:18:21 15:12:01 2 0.00 0.00 0.00 0.00 0.00 100.00 15:18:21 15:12:01 3 0.07 0.00 0.03 0.03 0.02 99.85 15:18:21 15:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 15:18:21 15:12:01 5 0.03 0.00 0.02 0.05 0.00 99.90 15:18:21 15:12:01 6 0.02 0.00 0.03 0.00 0.00 99.95 15:18:21 15:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 15:13:01 all 2.49 0.00 1.46 0.43 0.02 95.60 15:18:21 15:13:01 0 2.24 0.00 2.32 0.10 0.03 95.31 15:18:21 15:13:01 1 2.59 0.00 2.24 0.12 0.02 95.04 15:18:21 15:13:01 2 1.44 0.00 1.79 0.25 0.03 96.48 15:18:21 15:13:01 3 1.76 0.00 0.89 1.57 0.02 95.77 15:18:21 15:13:01 4 1.70 0.00 1.18 0.67 0.02 96.43 15:18:21 15:13:01 5 4.52 0.00 1.19 0.32 0.02 93.96 15:18:21 15:13:01 6 2.72 0.00 0.81 0.18 0.02 96.27 15:18:21 15:13:01 7 2.91 0.00 1.28 0.25 0.02 95.55 15:18:21 15:14:01 all 0.34 0.00 0.05 0.02 0.00 99.58 15:18:21 15:14:01 0 0.08 0.00 0.03 0.00 0.00 99.88 15:18:21 15:14:01 1 0.03 0.00 0.03 0.07 0.00 99.87 15:18:21 15:14:01 2 0.05 0.00 0.10 0.00 0.02 99.83 15:18:21 15:14:01 3 0.12 0.00 0.03 0.07 0.02 99.77 15:18:21 15:14:01 4 0.22 0.00 0.10 0.00 0.00 99.68 15:18:21 15:14:01 5 0.13 0.00 0.05 0.03 0.00 99.78 15:18:21 15:14:01 6 2.00 0.00 0.05 0.00 0.00 97.95 15:18:21 15:14:01 7 0.05 0.00 0.03 0.02 0.00 99.90 15:18:21 15:15:01 all 0.26 0.00 0.01 0.00 0.01 99.71 15:18:21 15:15:01 0 0.00 0.00 0.02 0.00 0.00 99.98 15:18:21 15:15:01 1 0.00 0.00 0.02 0.00 0.02 99.97 15:18:21 15:15:01 2 0.02 0.00 0.02 0.00 0.02 99.95 15:18:21 15:15:01 3 0.05 0.00 0.02 0.02 0.00 99.92 15:18:21 15:15:01 4 0.00 0.00 0.02 0.00 0.00 99.98 15:18:21 15:15:01 5 0.00 0.00 0.00 0.02 0.02 99.97 15:18:21 15:15:01 6 2.00 0.00 0.02 0.00 0.02 97.97 15:18:21 15:15:01 7 0.02 0.00 0.02 0.00 0.00 99.97 15:18:21 15:16:01 all 0.19 0.00 0.01 0.01 0.00 99.78 15:18:21 15:16:01 0 0.00 0.00 0.02 0.00 0.00 99.98 15:18:21 15:16:01 1 0.00 0.00 0.02 0.03 0.00 99.95 15:18:21 15:16:01 2 0.03 0.00 0.03 0.00 0.02 99.92 15:18:21 15:16:01 3 0.05 0.00 0.00 0.03 0.02 99.90 15:18:21 15:16:01 4 0.03 0.00 0.02 0.00 0.00 99.95 15:18:21 15:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 15:16:01 6 1.39 0.00 0.02 0.00 0.00 98.60 15:18:21 15:16:01 7 0.02 0.00 0.02 0.00 0.00 99.97 15:18:21 15:17:01 all 0.03 0.00 0.01 0.01 0.01 99.95 15:18:21 15:17:01 0 0.03 0.00 0.02 0.00 0.02 99.93 15:18:21 15:17:01 1 0.00 0.00 0.02 0.02 0.00 99.97 15:18:21 15:17:01 2 0.03 0.00 0.02 0.00 0.00 99.95 15:18:21 15:17:01 3 0.08 0.00 0.00 0.05 0.00 99.87 15:18:21 15:17:01 4 0.02 0.00 0.00 0.00 0.02 99.97 15:18:21 15:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 15:18:21 15:17:01 6 0.05 0.00 0.03 0.00 0.00 99.92 15:18:21 15:17:01 7 0.00 0.00 0.00 0.00 0.02 99.98 15:18:21 15:18:01 all 0.05 0.00 0.01 0.01 0.01 99.93 15:18:21 15:18:01 0 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 15:18:01 1 0.00 0.00 0.00 0.03 0.00 99.97 15:18:21 15:18:01 2 0.02 0.00 0.00 0.00 0.03 99.95 15:18:21 15:18:01 3 0.02 0.00 0.02 0.05 0.02 99.90 15:18:21 15:18:01 4 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 15:18:01 5 0.05 0.00 0.00 0.00 0.00 99.95 15:18:21 15:18:01 6 0.25 0.00 0.03 0.00 0.02 99.70 15:18:21 15:18:01 7 0.02 0.00 0.00 0.00 0.00 99.98 15:18:21 Average: all 5.27 0.00 1.37 0.33 0.02 93.00 15:18:21 Average: 0 5.35 0.00 1.49 0.40 0.02 92.74 15:18:21 Average: 1 5.14 0.00 1.56 0.45 0.02 92.83 15:18:21 Average: 2 5.14 0.00 1.49 0.16 0.03 93.17 15:18:21 Average: 3 5.12 0.00 1.23 0.84 0.03 92.78 15:18:21 Average: 4 4.90 0.00 1.33 0.51 0.02 93.25 15:18:21 Average: 5 5.42 0.00 1.25 0.11 0.02 93.21 15:18:21 Average: 6 5.84 0.00 1.36 0.13 0.02 92.65 15:18:21 Average: 7 5.26 0.00 1.27 0.07 0.02 93.38 15:18:21 15:18:21 15:18:21