Pull request #245 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2795541122679b9e3b1ef508cd4f11a9c15cd535+83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (129f0b683be37bda37877a59e41e19c96238df7c) 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-ssh14973622226112676556.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-ssh15235502200968296955.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9139044165524868068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6175372175291719499.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1795579279638002501.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7872497440815822209.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Running on prd-ubuntu20.04-docker-8c-8g-4736 in /w/workspace/gexfoundry_device-rest-go_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 2795541122679b9e3b1ef508cd4f11a9c15cd535 Merge succeeded, producing 2795541122679b9e3b1ef508cd4f11a9c15cd535 Checking out Revision 2795541122679b9e3b1ef508cd4f11a9c15cd535 (PR-245) > 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/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2795541122679b9e3b1ef508cd4f11a9c15cd535 # 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2795541122679b9e3b1ef508cd4f11a9c15cd535 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:00 ========================================================= 20:04:00 EdgeX Global Pipelines Version Info 20:04:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:01 ------------------- 20:04:01 stable info: 20:04:01 ------------------- 20:04:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:04:01 Message: update stable to v1.0.244 20:04:02 ------------------- 20:04:02 experimental info: 20:04:02 ------------------- 20:04:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:04:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2795541122679b9e3b1ef508cd4f11a9c15cd535 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2795541 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:04 provisioning config files... 20:04:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/config3263019680388708576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:04 ---> docker-login.sh 20:04:04 nexus3.edgexfoundry.org:10001 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10002 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10003 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10004 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 docker.io 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:06 Configure a credential helper to remove this warning. See 20:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:06 20:04:06 Login Succeeded 20:04:06 ---> docker-login.sh ends [Pipeline] } 20:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:06 + git rev-list -1 --merges 2795541122679b9e3b1ef508cd4f11a9c15cd535~1..2795541122679b9e3b1ef508cd4f11a9c15cd535 [Pipeline] echo 20:04:06 -----------> git rev-list -1 --merges 2795541122679b9e3b1ef508cd4f11a9c15cd535~1..2795541122679b9e3b1ef508cd4f11a9c15cd535 2795541122679b9e3b1ef508cd4f11a9c15cd535 [false] [Pipeline] sh 20:04:07 + git log --format=format:%s -1 2795541122679b9e3b1ef508cd4f11a9c15cd535 [Pipeline] echo 20:04:07 ========================================================= 20:04:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:07 + git log --format=format:%s -1 2795541122679b9e3b1ef508cd4f11a9c15cd535 [Pipeline] echo 20:04:07 [semverPrep] GIT_COMMIT: 2795541122679b9e3b1ef508cd4f11a9c15cd535, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:04:07 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:08 + grep -v github /etc/ssh/ssh_known_hosts 20:04:08 + [ -e /tmp/ssh_known_hosts ] 20:04:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:08 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:08 20:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:09 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:09 b85a868b505f: Pulling fs layer 20:04:09 e2be974225ed: Pulling fs layer 20:04:09 339a4e72a1f5: Pulling fs layer 20:04:09 988bab9f4d93: Pulling fs layer 20:04:09 1469e6f7b9e6: Pulling fs layer 20:04:09 eaf3925da568: Pulling fs layer 20:04:09 bab4dde63d76: Pulling fs layer 20:04:09 bde34c3a00c8: Pulling fs layer 20:04:09 b352a97aabf1: Pulling fs layer 20:04:09 4872d77fe225: Pulling fs layer 20:04:09 988bab9f4d93: Waiting 20:04:09 1469e6f7b9e6: Waiting 20:04:09 eaf3925da568: Waiting 20:04:09 bab4dde63d76: Waiting 20:04:09 b352a97aabf1: Waiting 20:04:09 bde34c3a00c8: Waiting 20:04:09 5851b861e8e6: Pulling fs layer 20:04:09 4872d77fe225: Waiting 20:04:09 e2be974225ed: Verifying Checksum 20:04:09 e2be974225ed: Download complete 20:04:09 988bab9f4d93: Verifying Checksum 20:04:09 988bab9f4d93: Download complete 20:04:09 1469e6f7b9e6: Verifying Checksum 20:04:09 1469e6f7b9e6: Download complete 20:04:09 eaf3925da568: Verifying Checksum 20:04:09 eaf3925da568: Download complete 20:04:09 339a4e72a1f5: Verifying Checksum 20:04:09 339a4e72a1f5: Download complete 20:04:09 bde34c3a00c8: Verifying Checksum 20:04:09 bde34c3a00c8: Download complete 20:04:17 b352a97aabf1: Download complete 20:04:17 b85a868b505f: Verifying Checksum 20:04:17 b85a868b505f: Download complete 20:04:17 5851b861e8e6: Verifying Checksum 20:04:17 5851b861e8e6: Download complete 20:04:17 b85a868b505f: Pull complete 20:04:17 e2be974225ed: Pull complete 20:04:17 339a4e72a1f5: Pull complete 20:04:17 988bab9f4d93: Pull complete 20:04:17 1469e6f7b9e6: Pull complete 20:04:17 bab4dde63d76: Verifying Checksum 20:04:17 bab4dde63d76: Download complete 20:04:17 eaf3925da568: Pull complete 20:04:20 bab4dde63d76: Pull complete 20:04:20 bde34c3a00c8: Pull complete 20:04:20 b352a97aabf1: Pull complete 20:04:21 4872d77fe225: Pull complete 20:04:21 5851b861e8e6: Pull complete 20:04:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:22 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 20:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-245 -v /w/workspace/gexfoundry_device-rest-go_PR-245:/w/workspace/gexfoundry_device-rest-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-245@tmp:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:38 $ docker top c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a -eo pid,comm 20:04:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:04:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:38 [ssh-agent] Looking for ssh-agent implementation... 20:04:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:38 $ docker exec c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a ssh-agent 20:04:38 SSH_AUTH_SOCK=/tmp/ssh-1bjgWby2Fddy/agent.15 20:04:38 SSH_AGENT_PID=21 20:04:38 Running ssh-add (command line suppressed) 20:04:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-245@tmp/private_key_13300753274592424380.key (/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/private_key_13300753274592424380.key) 20:04:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:39 + git tag --points-at HEAD [Pipeline] } 20:04:39 $ docker exec --env ******** --env ******** c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a ssh-agent -k 20:04:39 unset SSH_AUTH_SOCK; 20:04:39 unset SSH_AGENT_PID; 20:04:39 echo Agent pid 21 killed; 20:04:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:39 [ssh-agent] Looking for ssh-agent implementation... 20:04:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:39 $ docker exec c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a ssh-agent 20:04:39 SSH_AUTH_SOCK=/tmp/ssh-2xwHy2WCm0E6/agent.53 20:04:39 SSH_AGENT_PID=59 20:04:40 Running ssh-add (command line suppressed) 20:04:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-245@tmp/private_key_1038131325248530274.key (/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/private_key_1038131325248530274.key) 20:04:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:40 + git semver init 20:04:41 2023-02-06 20:04:40,940 [run_init] DEBUG init version:0.0.0 force:False 20:04:41 2023-02-06 20:04:40,942 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-245/.semver 20:04:41 2023-02-06 20:04:40,942 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-245/.semver 20:04:41 2023-02-06 20:04:40,943 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-245/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-245, universal_newlines=False, shell=None, istream=None) 20:04:43 2023-02-06 20:04:43,047 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-245/.git/info/exclude 20:04:43 2023-02-06 20:04:43,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-245/.semver/PR-245 with force:False 20:04:43 2023-02-06 20:04:43,048 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-245/.semver/PR-245 20:04:43 2023-02-06 20:04:43,052 [execute] INFO git cat-file --batch-check 20:04:43 2023-02-06 20:04:43,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-245/.semver, universal_newlines=False, shell=None, istream=) 20:04:43 2023-02-06 20:04:43,059 [execute] INFO git cat-file --batch 20:04:43 2023-02-06 20:04:43,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-245/.semver, universal_newlines=False, shell=None, istream=) 20:04:43 2023-02-06 20:04:43,065 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-245/.semver/PR-245 20:04:43 0.0.0 [Pipeline] } 20:04:43 $ docker exec --env ******** --env ******** c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a ssh-agent -k 20:04:43 unset SSH_AUTH_SOCK; 20:04:43 unset SSH_AGENT_PID; 20:04:43 echo Agent pid 59 killed; 20:04:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:44 + git semver [Pipeline] } 20:04:44 $ docker stop --time=1 c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a 20:04:47 $ docker rm -f --volumes c8b69221d841921eae65a21d0d7f161c618094720648faee9dff0830c0aa8c4a [Pipeline] // withDockerContainer [Pipeline] sh 20:04:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:48 Stashed 1 file(s) [Pipeline] echo 20:04:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:49 provisioning config files... 20:04:49 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/config1683893827594593168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:49 ---> docker-login.sh 20:04:49 nexus3.edgexfoundry.org:10001 20:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:49 Configure a credential helper to remove this warning. See 20:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:49 20:04:49 Login Succeeded 20:04:49 nexus3.edgexfoundry.org:10002 20:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:49 Configure a credential helper to remove this warning. See 20:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:49 20:04:49 Login Succeeded 20:04:49 nexus3.edgexfoundry.org:10003 20:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:49 Configure a credential helper to remove this warning. See 20:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:49 20:04:49 Login Succeeded 20:04:49 nexus3.edgexfoundry.org:10004 20:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:49 Configure a credential helper to remove this warning. See 20:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:49 20:04:49 Login Succeeded 20:04:49 docker.io 20:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:50 Configure a credential helper to remove this warning. See 20:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:50 20:04:50 Login Succeeded 20:04:50 ---> docker-login.sh ends [Pipeline] } 20:04:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:50 ========================================================= 20:04:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:51 + 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 . 20:04:51 Sending build context to Docker daemon 10.83MB 20:04:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:04:51 Step 2/12 : FROM ${BASE} AS builder 20:04:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:51 213ec9aee27d: Pulling fs layer 20:04:51 4583459ba037: Pulling fs layer 20:04:51 93c1e223e6f2: Pulling fs layer 20:04:51 53926ce57604: Pulling fs layer 20:04:51 21b2b0c7a3f4: Pulling fs layer 20:04:51 22ff95d597cd: Pulling fs layer 20:04:51 12d6caf4c0d1: Pulling fs layer 20:04:51 96b7cbca73a9: Pulling fs layer 20:04:51 a7acece74701: Pulling fs layer 20:04:51 22ff95d597cd: Waiting 20:04:51 53926ce57604: Waiting 20:04:51 96b7cbca73a9: Waiting 20:04:51 21b2b0c7a3f4: Waiting 20:04:51 12d6caf4c0d1: Waiting 20:04:51 a7acece74701: Waiting 20:04:51 93c1e223e6f2: Verifying Checksum 20:04:51 93c1e223e6f2: Download complete 20:04:51 4583459ba037: Download complete 20:04:51 21b2b0c7a3f4: Verifying Checksum 20:04:51 21b2b0c7a3f4: Download complete 20:04:51 22ff95d597cd: Verifying Checksum 20:04:51 22ff95d597cd: Download complete 20:04:51 213ec9aee27d: Verifying Checksum 20:04:51 213ec9aee27d: Download complete 20:04:51 12d6caf4c0d1: Verifying Checksum 20:04:51 12d6caf4c0d1: Download complete 20:04:51 213ec9aee27d: Pull complete 20:04:51 4583459ba037: Pull complete 20:04:52 93c1e223e6f2: Pull complete 20:04:53 a7acece74701: Download complete 20:04:53 96b7cbca73a9: Verifying Checksum 20:04:53 96b7cbca73a9: Download complete 20:04:53 53926ce57604: Verifying Checksum 20:04:53 53926ce57604: Download complete 20:04:57 53926ce57604: Pull complete 20:04:58 21b2b0c7a3f4: Pull complete 20:04:58 22ff95d597cd: Pull complete 20:04:58 12d6caf4c0d1: Pull complete 20:05:00 96b7cbca73a9: Pull complete 20:05:01 a7acece74701: Pull complete 20:05:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:05:01 ---> db6d94c90886 20:05:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:05:04 Still waiting to schedule task 20:05:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:05:11 ---> Running in 335716ba935f 20:05:11 Removing intermediate container 335716ba935f 20:05:11 ---> c0ae4847c424 20:05:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:11 ---> Running in bd0aa4668d4f 20:05:11 Removing intermediate container bd0aa4668d4f 20:05:11 ---> 8ae6d0e353b4 20:05:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:05:11 ---> Running in fd01f5a2b018 20:05:11 Removing intermediate container fd01f5a2b018 20:05:11 ---> a6828baff419 20:05:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:05:12 ---> Running in ab07784efdff 20:05:12 Removing intermediate container ab07784efdff 20:05:12 ---> 3f351876a855 20:05:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:12 ---> Running in 9bdbd337e499 20:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:13 (2/4) Installing libedit (20210910.3.1-r0) 20:05:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:13 Executing busybox-1.35.0-r17.trigger 20:05:13 OK: 216 MiB in 55 packages 20:05:15 Removing intermediate container 9bdbd337e499 20:05:15 ---> f1713b1be299 20:05:15 Step 8/12 : WORKDIR /device-rest-go 20:05:15 ---> Running in 2865d4aa2ef6 20:05:16 Removing intermediate container 2865d4aa2ef6 20:05:16 ---> 451f79aed4b0 20:05:16 Step 9/12 : COPY go.mod vendor* ./ 20:05:16 ---> b7e5759bdc24 20:05:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:16 ---> Running in 7b1e72b79354 20:06:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4739 in /w/workspace/gexfoundry_device-rest-go_PR-245 [Pipeline] { [Pipeline] ws 20:06:35 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:35 The recommended git tool is: git 20:06:38 Removing intermediate container 7b1e72b79354 20:06:38 ---> 0bdc37f05501 20:06:38 Step 11/12 : COPY . . 20:06:38 ---> d497e8854e47 20:06:38 Step 12/12 : RUN $MAKE 20:06:38 ---> Running in eb0dea17f14c 20:06:38 noop 20:06:38 Removing intermediate container eb0dea17f14c 20:06:38 ---> 3f3ff91abd5e 20:06:38 Successfully built 3f3ff91abd5e 20:06:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:38 + docker inspect -f . ci-base-image-x86_64 20:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:39 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 20:06:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-245 -v /w/workspace/gexfoundry_device-rest-go_PR-245:/w/workspace/gexfoundry_device-rest-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-245@tmp:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:40 $ docker top c3b0a7332026af941b7b7a9023ee4552b6f6633dab24f9b91074db7c0e1aae65 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:40 + go version 20:06:40 go version go1.18.7 linux/amd64 [Pipeline] } 20:06:40 $ docker stop --time=1 c3b0a7332026af941b7b7a9023ee4552b6f6633dab24f9b91074db7c0e1aae65 20:06:41 using credential edgex-jenkins-ssh 20:06:41 Cloning the remote Git repository 20:06:41 $ docker rm -f --volumes c3b0a7332026af941b7b7a9023ee4552b6f6633dab24f9b91074db7c0e1aae65 20:06:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:41 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:41 > git --version # timeout=10 20:06:41 > git --version # 'git version 2.25.1' 20:06:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:42 + docker inspect -f . ci-base-image-x86_64 20:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:42 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 20:06:42 $ 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-245 -v /w/workspace/gexfoundry_device-rest-go_PR-245:/w/workspace/gexfoundry_device-rest-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-245@tmp:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:43 $ docker top d689b0216d23c0a04f527c0612c38985b4a3f89e799917772618a81d965806ee -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-245 [Pipeline] fileExists [Pipeline] sh 20:06:43 + make test 20:06:43 go test ./... -coverprofile=coverage.out ./... 20:06:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:48 Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 2795541122679b9e3b1ef508cd4f11a9c15cd535 20:06:48 Merge succeeded, producing 2795541122679b9e3b1ef508cd4f11a9c15cd535 20:06:48 Checking out Revision 2795541122679b9e3b1ef508cd4f11a9c15cd535 (PR-245) 20:06:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:48 > git config core.sparsecheckout # timeout=10 20:06:48 > git checkout -f 2795541122679b9e3b1ef508cd4f11a9c15cd535 # timeout=10 20:06:48 > git remote # timeout=10 20:06:48 > git config --get remote.origin.url # timeout=10 20:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:48 > git merge 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 20:06:48 > git rev-parse HEAD^{commit} # timeout=10 20:06:48 > git config core.sparsecheckout # timeout=10 20:06:48 > git checkout -f 2795541122679b9e3b1ef508cd4f11a9c15cd535 # timeout=10 20:06:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:06:49 > git --version # timeout=10 20:06:49 > git --version # 'git version 2.25.1' 20:06:49 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:50 Dload Upload Total Spent Left Speed 20:06:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 20:06:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:51 + sudo tee /etc/docker/daemon.new 20:06:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:51 { 20:06:51 "registry-mirrors": [ 20:06:51 "https://nexus3.edgexfoundry.org:10001" 20:06:51 ], 20:06:51 "bip": "10.250.0.254/24", 20:06:51 "hosts": [ 20:06:51 "tcp://0.0.0.0:5555", 20:06:51 "unix:///var/run/docker.sock" 20:06:51 ], 20:06:51 "mtu": 1458, 20:06:51 "selinux-enabled": true, 20:06:51 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:51 } [Pipeline] sh 20:06:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:52 + sudo service docker restart 20:06:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:54 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.9% of statements 20:07:00 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." 20:07:00 go vet ./... 20:07:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:07:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:07:04 ./bin/test-attribution-txt.sh 20:07:04 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 20:07:04 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 20:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:07:04 $ docker stop --time=1 d689b0216d23c0a04f527c0612c38985b4a3f89e799917772618a81d965806ee 20:07:09 $ docker rm -f --volumes d689b0216d23c0a04f527c0612c38985b4a3f89e799917772618a81d965806ee [Pipeline] // withDockerContainer [Pipeline] sh 20:07:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] configFileProvider 20:07:10 provisioning config files... [Pipeline] stage 20:07:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13241436527682387691tmp [Pipeline] { (Build) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 20:07:11 ---> docker-login.sh 20:07:11 nexus3.edgexfoundry.org:10001 20:07:11 + sudo chown -R jenkins:jenkins . 20:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 20:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:11 Configure a credential helper to remove this warning. See 20:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:11 20:07:11 Login Succeeded 20:07:11 nexus3.edgexfoundry.org:10002 20:07:11 + ls -al . 20:07:11 total 188 20:07:11 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 20:06 . 20:07:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 20:03 .. 20:07:11 -rw-rw-r-- 1 jenkins jenkins 151 Feb 6 20:03 .dockerignore 20:07:11 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 20:06 .git 20:07:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 20:03 .github 20:07:11 -rw-rw-r-- 1 jenkins jenkins 329 Feb 6 20:03 .gitignore 20:07:11 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 20:03 .golangci.yml 20:07:11 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 20:04 .semver 20:07:11 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 6 20:03 Attribution.txt 20:07:11 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 6 20:03 CHANGELOG.md 20:07:11 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 6 20:03 Dockerfile 20:07:11 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 20:03 GOVERNANCE.md 20:07:11 -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 20:03 Jenkinsfile 20:07:11 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 20:03 LICENSE 20:07:11 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 6 20:03 Makefile 20:07:11 -rw-rw-r-- 1 jenkins jenkins 620 Feb 6 20:03 OWNERS.md 20:07:11 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 6 20:03 README.md 20:07:11 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 20:04 VERSION 20:07:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 20:03 bin 20:07:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 20:03 cmd 20:07:11 -rw-r--r-- 1 jenkins jenkins 13744 Feb 6 20:06 coverage.out 20:07:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 20:03 driver 20:07:11 -rw-rw-r-- 1 jenkins jenkins 3399 Feb 6 20:03 go.mod 20:07:11 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 6 20:03 go.sum 20:07:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 20:03 snap 20:07:11 -rw-rw-r-- 1 jenkins jenkins 713 Feb 6 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:11 Configure a credential helper to remove this warning. See 20:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:11 20:07:11 Login Succeeded 20:07:12 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2795541122679b9e3b1ef508cd4f11a9c15cd535 --label arch=amd64 --label version=0.0.0 . 20:07:12 Sending build context to Docker daemon 10.84MB 20:07:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:07:12 Step 2/25 : FROM ${BASE} AS builder 20:07:12 ---> 3f3ff91abd5e 20:07:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:07:12 nexus3.edgexfoundry.org:10003 20:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:12 Configure a credential helper to remove this warning. See 20:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:12 20:07:12 Login Succeeded 20:07:12 nexus3.edgexfoundry.org:10004 20:07:12 ---> Running in eb56688a6619 20:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:12 Configure a credential helper to remove this warning. See 20:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:12 20:07:12 Login Succeeded 20:07:12 docker.io 20:07:12 Removing intermediate container eb56688a6619 20:07:12 ---> 5c0f29c7cbc5 20:07:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:13 ---> Running in 71ffd03e11a0 20:07:13 Removing intermediate container 71ffd03e11a0 20:07:13 ---> 71ec05d2177b 20:07:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:07:13 ---> Running in abc59b156e89 20:07:13 Removing intermediate container abc59b156e89 20:07:13 ---> e088f0287554 20:07:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:07:13 ---> Running in be71ce9c001e 20:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:13 Configure a credential helper to remove this warning. See 20:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:13 20:07:13 Login Succeeded 20:07:13 ---> docker-login.sh ends [Pipeline] } 20:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:07:13 Removing intermediate container be71ce9c001e 20:07:13 ---> e91f11871908 20:07:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:13 ---> Running in 3e5e4941ce78 [Pipeline] echo 20:07:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 20:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] echo 20:07:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:13 ========================================================= 20:07:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:07:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:14 + 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 . 20:07:14 Sending build context to Docker daemon 142.8kB 20:07:14 OK: 216 MiB in 55 packages 20:07:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:07:14 Step 2/12 : FROM ${BASE} AS builder 20:07:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:14 9b18e9b68314: Pulling fs layer 20:07:14 35d82f9e3411: Pulling fs layer 20:07:14 e16973657156: Pulling fs layer 20:07:14 fc693d55d65f: Pulling fs layer 20:07:14 7e9fc2657dce: Pulling fs layer 20:07:14 dda99020689f: Pulling fs layer 20:07:14 db1c61fa0a46: Pulling fs layer 20:07:14 891c053d2c06: Pulling fs layer 20:07:14 fc693d55d65f: Waiting 20:07:14 7e9fc2657dce: Waiting 20:07:14 dda99020689f: Waiting 20:07:14 db1c61fa0a46: Waiting 20:07:14 891c053d2c06: Waiting 20:07:14 e16973657156: Verifying Checksum 20:07:14 e16973657156: Download complete 20:07:14 35d82f9e3411: Verifying Checksum 20:07:14 7e9fc2657dce: Verifying Checksum 20:07:14 7e9fc2657dce: Download complete 20:07:14 dda99020689f: Download complete 20:07:14 9b18e9b68314: Verifying Checksum 20:07:14 9b18e9b68314: Download complete 20:07:14 Removing intermediate container 3e5e4941ce78 20:07:14 ---> 67b64002e6b4 20:07:14 Step 8/25 : WORKDIR /device-rest-go 20:07:14 ---> Running in 6415ea4dad5b 20:07:14 Removing intermediate container 6415ea4dad5b 20:07:14 ---> 7eb1674698b4 20:07:14 Step 9/25 : COPY go.mod vendor* ./ 20:07:15 ---> da6ff6e13fc7 20:07:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:15 ---> Running in dd4722bfc194 20:07:15 Removing intermediate container dd4722bfc194 20:07:15 ---> 47f9b1c5faab 20:07:15 Step 11/25 : COPY . . 20:07:15 9b18e9b68314: Pull complete 20:07:15 891c053d2c06: Verifying Checksum 20:07:15 891c053d2c06: Download complete 20:07:16 ---> a072243b331b 20:07:16 Step 12/25 : RUN $MAKE 20:07:16 ---> Running in c67b002e5398 20:07:16 35d82f9e3411: Pull complete 20:07:16 e16973657156: Pull complete 20:07:16 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 20:07:17 db1c61fa0a46: Verifying Checksum 20:07:17 db1c61fa0a46: Download complete 20:07:17 fc693d55d65f: Verifying Checksum 20:07:17 fc693d55d65f: Download complete 20:07:30 fc693d55d65f: Pull complete 20:07:30 7e9fc2657dce: Pull complete 20:07:30 dda99020689f: Pull complete 20:07:37 db1c61fa0a46: Pull complete 20:07:39 891c053d2c06: Pull complete 20:07:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:39 ---> f96f9c87975a 20:07:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:07:40 ---> Running in 3ee3f09f9d14 20:07:41 Removing intermediate container 3ee3f09f9d14 20:07:41 ---> 7488bbf18353 20:07:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:41 ---> Running in d62615054687 20:07:41 Removing intermediate container d62615054687 20:07:41 ---> 2bd26813fc4b 20:07:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:07:41 ---> Running in 57837e9bc1fb 20:07:41 Removing intermediate container 57837e9bc1fb 20:07:41 ---> d16907d398ce 20:07:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:07:41 ---> Running in 0f435b7dce4d 20:07:42 Removing intermediate container 0f435b7dce4d 20:07:42 ---> 5ab9de9a23e5 20:07:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:42 ---> Running in 7691571a00a9 20:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:44 (2/4) Installing libedit (20210910.3.1-r0) 20:07:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:44 Executing busybox-1.35.0-r17.trigger 20:07:44 OK: 226 MiB in 55 packages 20:07:46 Removing intermediate container 7691571a00a9 20:07:46 ---> 5da042465981 20:07:46 Step 8/12 : WORKDIR /device-rest-go 20:07:46 ---> Running in ae3b7eb16035 20:07:46 Removing intermediate container ae3b7eb16035 20:07:46 ---> 5f4428de2a8b 20:07:46 Step 9/12 : COPY go.mod vendor* ./ 20:07:46 ---> 7aec0c4765d2 20:07:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:46 ---> Running in 5efa8cd31319 20:07:49 Removing intermediate container c67b002e5398 20:07:49 ---> 9b81e1a7cc8a 20:07:49 Step 13/25 : FROM alpine:3.16 20:07:49 3.16: Pulling from library/alpine 20:07:49 ca7dd9ec2225: Pulling fs layer 20:07:49 ca7dd9ec2225: Verifying Checksum 20:07:49 ca7dd9ec2225: Pull complete 20:07:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 20:07:49 Status: Downloaded newer image for alpine:3.16 20:07:49 ---> bfe296a52501 20:07:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:07:49 ---> Running in 29b69edc15c6 20:07:49 Removing intermediate container 29b69edc15c6 20:07:49 ---> c3bafcc7406e 20:07:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:07:49 ---> Running in ee6cfa0cadcb 20:07:49 Removing intermediate container ee6cfa0cadcb 20:07:49 ---> 421bf84cdc8b 20:07:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:07:49 ---> Running in 03ceae9aa435 20:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:49 (1/1) Installing dumb-init (1.2.5-r1) 20:07:49 Executing busybox-1.35.0-r17.trigger 20:07:49 OK: 6 MiB in 15 packages 20:07:49 Removing intermediate container 03ceae9aa435 20:07:49 ---> ae072b2dae29 20:07:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:07:50 ---> 89265fd1f7a5 20:07:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:07:50 ---> 13833f38d7ae 20:07:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:07:50 ---> a2a9cfa01350 20:07:50 Step 20/25 : EXPOSE 59986 20:07:51 ---> Running in c2dc40810642 20:07:51 Removing intermediate container c2dc40810642 20:07:51 ---> 493dd6450b23 20:07:51 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:07:51 ---> Running in ba1d9afa1320 20:07:51 Removing intermediate container ba1d9afa1320 20:07:51 ---> bc96895b49dd 20:07:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:07:51 ---> Running in c9fac806d028 20:07:51 Removing intermediate container c9fac806d028 20:07:51 ---> eb4dc1fe7bdd 20:07:51 Step 23/25 : LABEL arch=amd64 20:07:51 ---> Running in 432de2bee56a 20:07:51 Removing intermediate container 432de2bee56a 20:07:51 ---> 5145de07080c 20:07:51 Step 24/25 : LABEL git_sha=2795541122679b9e3b1ef508cd4f11a9c15cd535 20:07:51 ---> Running in 970e7f6cc8f7 20:07:51 Removing intermediate container 970e7f6cc8f7 20:07:51 ---> a0a2015c9ed5 20:07:51 Step 25/25 : LABEL version=0.0.0 20:07:51 ---> Running in 6696959420b3 20:07:51 Removing intermediate container 6696959420b3 20:07:51 ---> 11cd4aceca2c 20:07:51 [Warning] One or more build-args [ARCH] were not consumed 20:07:51 Successfully built 11cd4aceca2c 20:07:51 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 20:07:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:52 20:07:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:53 latest: Pulling from edgex-lftools-log-publisher 20:07:53 5eb5b503b376: Pulling fs layer 20:07:53 5c69ac0246d0: Pulling fs layer 20:07:53 ec43610c2a17: Pulling fs layer 20:07:53 3a2ae6a8a46f: Pulling fs layer 20:07:53 33b1e0a273af: Pulling fs layer 20:07:53 5d3b04190fa2: Pulling fs layer 20:07:53 2f39f015ded8: Pulling fs layer 20:07:53 33b1e0a273af: Waiting 20:07:53 5d3b04190fa2: Waiting 20:07:53 2f39f015ded8: Waiting 20:07:53 3a2ae6a8a46f: Waiting 20:07:53 5c69ac0246d0: Verifying Checksum 20:07:53 5c69ac0246d0: Download complete 20:07:53 3a2ae6a8a46f: Verifying Checksum 20:07:53 3a2ae6a8a46f: Download complete 20:07:53 33b1e0a273af: Verifying Checksum 20:07:53 33b1e0a273af: Download complete 20:07:53 5d3b04190fa2: Verifying Checksum 20:07:53 5d3b04190fa2: Download complete 20:07:53 ec43610c2a17: Verifying Checksum 20:07:53 ec43610c2a17: Download complete 20:07:53 5eb5b503b376: Verifying Checksum 20:07:53 5eb5b503b376: Download complete 20:07:54 2f39f015ded8: Download complete 20:07:55 5eb5b503b376: Pull complete 20:07:55 5c69ac0246d0: Pull complete 20:07:57 ec43610c2a17: Pull complete 20:07:57 3a2ae6a8a46f: Pull complete 20:07:58 33b1e0a273af: Pull complete 20:07:58 5d3b04190fa2: Pull complete 20:08:04 2f39f015ded8: Pull complete 20:08:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:04 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 20:08:04 $ 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-245 -v /w/workspace/gexfoundry_device-rest-go_PR-245:/w/workspace/gexfoundry_device-rest-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-245@tmp:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:08:14 $ docker top 6436a3952c90c94e95890903ee970b9029ddc939916b9894a3d4057184e13aef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:15 ---> job-cost.sh 20:08:15 lf-activate-venv: SKIPPING 20:08:15 INFO: No Stack... 20:08:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:17 INFO: Archiving Costs [Pipeline] sh 20:08:17 + cut -d, -f6 20:08:17 + cat /w/workspace/gexfoundry_device-rest-go_PR-245/archives/cost.csv [Pipeline] lock 20:08:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] 20:08:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] did not exist. Created. 20:08:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:18 + echo total: 0.2199999988079071 [Pipeline] stash 20:08:18 Stashed 1 file(s) [Pipeline] } 20:08:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:18 $ docker stop --time=1 6436a3952c90c94e95890903ee970b9029ddc939916b9894a3d4057184e13aef 20:08:19 $ docker rm -f --volumes 6436a3952c90c94e95890903ee970b9029ddc939916b9894a3d4057184e13aef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:09:08 Removing intermediate container 5efa8cd31319 20:09:08 ---> de4a6ba9b39c 20:09:08 Step 11/12 : COPY . . 20:09:08 ---> b9ed6129e41c 20:09:08 Step 12/12 : RUN $MAKE 20:09:08 ---> Running in af53c6e3875b 20:09:08 noop 20:09:08 Removing intermediate container af53c6e3875b 20:09:08 ---> 68e2b26e0803 20:09:08 Successfully built 68e2b26e0803 20:09:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:09 + docker inspect -f . ci-base-image-arm64 20:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:09 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 20:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:10 $ docker top 27462ed5f2dcb211e3bc6996a5c85fcbfc26956c684d69dbf083c379d0e359e2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:11 + go version 20:09:11 go version go1.18.7 linux/arm64 [Pipeline] } 20:09:11 $ docker stop --time=1 27462ed5f2dcb211e3bc6996a5c85fcbfc26956c684d69dbf083c379d0e359e2 20:09:13 $ docker rm -f --volumes 27462ed5f2dcb211e3bc6996a5c85fcbfc26956c684d69dbf083c379d0e359e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:14 + docker inspect -f . ci-base-image-arm64 20:09:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 20:09:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:15 $ docker top 5ff303db07ba5b6bea6d6b62bdd3530ececaba91adc14233fb9d328ae8909779 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:16 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:09:17 + make test 20:09:17 go test ./... -coverprofile=coverage.out ./... 20:09:18 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:41 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.9% of statements 20:10:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:41 go vet ./... 20:11:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:07 ./bin/test-attribution-txt.sh 20:11:07 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 20:11:07 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 20:11:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:08 $ docker stop --time=1 5ff303db07ba5b6bea6d6b62bdd3530ececaba91adc14233fb9d328ae8909779 20:11:09 $ docker rm -f --volumes 5ff303db07ba5b6bea6d6b62bdd3530ececaba91adc14233fb9d328ae8909779 [Pipeline] // withDockerContainer [Pipeline] sh 20:11:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:10 Warning: overwriting stash ‘coverage-report’ 20:11:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:12 + ls -al . 20:11:12 total 184 20:11:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 20:09 . 20:11:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 20:06 .. 20:11:12 -rw-rw-r-- 1 jenkins jenkins 151 Feb 6 20:06 .dockerignore 20:11:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 20:06 .git 20:11:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 20:06 .github 20:11:12 -rw-rw-r-- 1 jenkins jenkins 329 Feb 6 20:06 .gitignore 20:11:12 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 20:06 .golangci.yml 20:11:12 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 6 20:06 Attribution.txt 20:11:12 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 6 20:06 CHANGELOG.md 20:11:12 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 6 20:06 Dockerfile 20:11:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 20:06 GOVERNANCE.md 20:11:12 -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 20:06 Jenkinsfile 20:11:12 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 20:06 LICENSE 20:11:12 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 6 20:06 Makefile 20:11:12 -rw-rw-r-- 1 jenkins jenkins 620 Feb 6 20:06 OWNERS.md 20:11:12 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 6 20:06 README.md 20:11:12 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 20:04 VERSION 20:11:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 20:06 bin 20:11:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 20:06 cmd 20:11:12 -rw-r--r-- 1 jenkins jenkins 13744 Feb 6 20:10 coverage.out 20:11:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 20:06 driver 20:11:12 -rw-rw-r-- 1 jenkins jenkins 3399 Feb 6 20:06 go.mod 20:11:12 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 6 20:06 go.sum 20:11:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 20:06 snap 20:11:12 -rw-rw-r-- 1 jenkins jenkins 713 Feb 6 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:12 + 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=2795541122679b9e3b1ef508cd4f11a9c15cd535 --label arch=arm64 --label version=0.0.0 . 20:11:12 Sending build context to Docker daemon 157.2kB 20:11:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:11:13 Step 2/25 : FROM ${BASE} AS builder 20:11:13 ---> 68e2b26e0803 20:11:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:11:14 ---> Running in 224865eaad10 20:11:14 Removing intermediate container 224865eaad10 20:11:14 ---> 389f8de2959b 20:11:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:14 ---> Running in 5165e9bea772 20:11:14 Removing intermediate container 5165e9bea772 20:11:14 ---> 1c3eceec9485 20:11:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:14 ---> Running in 9984b916fd87 20:11:15 Removing intermediate container 9984b916fd87 20:11:15 ---> 18a91fcdf7cf 20:11:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:11:15 ---> Running in 9326026ec4b4 20:11:16 Removing intermediate container 9326026ec4b4 20:11:16 ---> fe053c6379b0 20:11:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:16 ---> Running in 0f7e4fd7b5d1 20:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:11:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:11:18 OK: 226 MiB in 55 packages 20:11:20 Removing intermediate container 0f7e4fd7b5d1 20:11:20 ---> 4551960a4357 20:11:20 Step 8/25 : WORKDIR /device-rest-go 20:11:20 ---> Running in 9e16a35d1326 20:11:20 Removing intermediate container 9e16a35d1326 20:11:20 ---> 4f3913a21c23 20:11:20 Step 9/25 : COPY go.mod vendor* ./ 20:11:20 ---> 5f42b4e34a8d 20:11:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:20 ---> Running in 0217bbdf014b 20:11:23 Removing intermediate container 0217bbdf014b 20:11:23 ---> dea0cf63cb86 20:11:23 Step 11/25 : COPY . . 20:11:23 ---> 937724d3e76c 20:11:23 Step 12/25 : RUN $MAKE 20:11:24 ---> Running in 14bc66762aa8 20:11: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 20:13:46 Removing intermediate container 14bc66762aa8 20:13:46 ---> 9de2aa2993c2 20:13:46 Step 13/25 : FROM alpine:3.16 20:13:46 3.16: Pulling from library/alpine 20:13:46 6875df1f5354: Pulling fs layer 20:13:46 6875df1f5354: Verifying Checksum 20:13:46 6875df1f5354: Download complete 20:13:46 6875df1f5354: Pull complete 20:13:46 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 20:13:46 Status: Downloaded newer image for alpine:3.16 20:13:46 ---> 2b4661558fb8 20:13:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:46 ---> Running in 468aa76f5687 20:13:46 Removing intermediate container 468aa76f5687 20:13:46 ---> dc31725b37dc 20:13:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:13:46 ---> Running in f7f14b39db73 20:13:46 Removing intermediate container f7f14b39db73 20:13:46 ---> 8eb024c5573f 20:13:46 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:13:46 ---> Running in 31d0307cf117 20:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:13:46 (1/1) Installing dumb-init (1.2.5-r1) 20:13:46 Executing busybox-1.35.0-r17.trigger 20:13:46 OK: 5 MiB in 15 packages 20:13:46 Removing intermediate container 31d0307cf117 20:13:46 ---> aa01851d4c0d 20:13:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:13:47 ---> 104505688ea5 20:13:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:13:48 ---> fe8afac32da4 20:13:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:49 ---> bc6f0e92f8c1 20:13:49 Step 20/25 : EXPOSE 59986 20:13:49 ---> Running in 0e6e4703a25b 20:13:49 Removing intermediate container 0e6e4703a25b 20:13:49 ---> 5a9678b0fcd4 20:13:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:13:49 ---> Running in 89e497d62ac9 20:13:49 Removing intermediate container 89e497d62ac9 20:13:49 ---> ad9e08ea42ca 20:13:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:13:49 ---> Running in 887b96b08190 20:13:50 Removing intermediate container 887b96b08190 20:13:50 ---> e8557e5eb38a 20:13:50 Step 23/25 : LABEL arch=arm64 20:13:50 ---> Running in 82d324f646db 20:13:50 Removing intermediate container 82d324f646db 20:13:50 ---> c2b855623a6b 20:13:50 Step 24/25 : LABEL git_sha=2795541122679b9e3b1ef508cd4f11a9c15cd535 20:13:50 ---> Running in 482740cec81f 20:13:50 Removing intermediate container 482740cec81f 20:13:50 ---> e4c1bd29458f 20:13:50 Step 25/25 : LABEL version=0.0.0 20:13:50 ---> Running in 145419bc2fb2 20:13:51 Removing intermediate container 145419bc2fb2 20:13:51 ---> f2e6c5bc26bc 20:13:51 [Warning] One or more build-args [ARCH] were not consumed 20:13:51 Successfully built f2e6c5bc26bc 20:13:51 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 20:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:52 20:13:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:52 arm64: Pulling from edgex-lftools-log-publisher 20:13:52 8998bd30e6a1: Pulling fs layer 20:13:52 04944245beec: Pulling fs layer 20:13:52 699f458cf7ca: Pulling fs layer 20:13:52 765212b225bb: Pulling fs layer 20:13:52 f23df028b6ca: Pulling fs layer 20:13:52 d65c8cfc05b1: Pulling fs layer 20:13:52 2437ff75d9bd: Pulling fs layer 20:13:52 765212b225bb: Waiting 20:13:52 f23df028b6ca: Waiting 20:13:52 d65c8cfc05b1: Waiting 20:13:52 2437ff75d9bd: Waiting 20:13:52 04944245beec: Verifying Checksum 20:13:52 04944245beec: Download complete 20:13:52 765212b225bb: Verifying Checksum 20:13:52 765212b225bb: Download complete 20:13:52 f23df028b6ca: Download complete 20:13:52 d65c8cfc05b1: Verifying Checksum 20:13:52 d65c8cfc05b1: Download complete 20:13:53 699f458cf7ca: Verifying Checksum 20:13:53 699f458cf7ca: Download complete 20:13:53 8998bd30e6a1: Download complete 20:13:55 2437ff75d9bd: Verifying Checksum 20:13:55 2437ff75d9bd: Download complete 20:13:57 8998bd30e6a1: Pull complete 20:13:57 04944245beec: Pull complete 20:13:59 699f458cf7ca: Pull complete 20:13:59 765212b225bb: Pull complete 20:14:01 f23df028b6ca: Pull complete 20:14:01 d65c8cfc05b1: Pull complete 20:14:16 2437ff75d9bd: Pull complete 20:14:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:14:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:17 prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container 20:14:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:14:19 $ docker top cd138b60640b93424fe475ace3f2e0a2de333451848e316b26251f6cc68910ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:20 ---> job-cost.sh 20:14:20 lf-activate-venv: SKIPPING 20:14:20 INFO: No Stack... 20:14:20 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:21 INFO: Archiving Costs [Pipeline] sh 20:14:22 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:14:22 + cut -d, -f6 [Pipeline] lock 20:14:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] 20:14:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] did not exist. Created. 20:14:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:23 /w/workspace/device-rest-go/1@tmp/durable-cc97fbcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:23 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:23 Warning: overwriting stash ‘stack-cost’ 20:14:23 Stashed 1 file(s) [Pipeline] } 20:14:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:23 $ docker stop --time=1 cd138b60640b93424fe475ace3f2e0a2de333451848e316b26251f6cc68910ac 20:14:26 $ docker rm -f --volumes cd138b60640b93424fe475ace3f2e0a2de333451848e316b26251f6cc68910ac [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 20:14:27 provisioning config files... 20:14:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/config13656405032371032065tmp [Pipeline] { [Pipeline] sh 20:14:28 + set +x 20:14:28 + + bash -scurl -- -s 20:14:28 https://codecov.io/bash 20:14:28 20:14:28 _____ _ 20:14:28 / ____| | | 20:14:28 | | ___ __| | ___ ___ _____ __ 20:14:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:28 Bash-1.0.6 20:14:28 20:14:28 20:14:28 ==> git version 2.25.1 found 20:14:28 ==> 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 20:14:28 Release-Date: 2020-01-08 20:14:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:28 ==> Jenkins CI detected. 20:14:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-245 20:14:28 project root: . 20:14:28 --> token set from env 20:14:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:28 ==> Running gcov in . (disable via -X gcov) 20:14:28 ==> Python coveragepy not found 20:14:28 ==> Searching for coverage reports in: 20:14:28 + . 20:14:28 -> Found 1 reports 20:14:28 ==> Detecting git/mercurial file structure 20:14:28 ==> Reading reports 20:14:28 + ./coverage.out bytes=13744 20:14:28 ==> Appending adjustments 20:14:28 https://docs.codecov.io/docs/fixing-reports 20:14:28 + Found adjustments 20:14:28 ==> Gzipping contents 20:14:28 4.0K /tmp/codecov.F5pWzJ.gz 20:14:28 ==> Uploading reports 20:14:28 url: https://codecov.io 20:14:28 query: branch=PR-245&commit=2795541122679b9e3b1ef508cd4f11a9c15cd535&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=245&job=&cmd_args= 20:14:28 -> Pinging Codecov 20:14:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-245&commit=2795541122679b9e3b1ef508cd4f11a9c15cd535&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=245&job=&cmd_args= 20:14:29 -> Uploading to 20:14:29 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/4E5D53B4F1F92C436F7061BF334D961C/2795541122679b9e3b1ef508cd4f11a9c15cd535/fbaa8509-063a-4918-91bd-4bf9f578baf8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T201428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08e5ba9810378d6c9ff79b3fab4eabe2e4bb262d0a254f0f793bd79997ccde37 20:14:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:29 Dload Upload Total Spent Left Speed 20:14:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2438 0 0 100 2438 0 9413 --:--:-- --:--:-- --:--:-- 9413 20:14:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2795541122679b9e3b1ef508cd4f11a9c15cd535 [Pipeline] } 20:14:29 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 20:14:31 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-245/archives ] 20:14:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-245/archives 20:14:31 total 16 20:14:31 drwxr-xr-x 3 root root 4096 Feb 6 20:08 . 20:14:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 20:08 .. 20:14:31 drwxr-xr-x 2 root root 4096 Feb 6 20:08 cost 20:14:31 -rw-r--r-- 1 root root 86 Feb 6 20:08 cost.csv 20:14:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-245/archives 20:14:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-245/archives 20:14:31 total 16 20:14:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 20:08 . 20:14:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 20:08 .. 20:14:31 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 20:08 cost 20:14:31 -rw-r--r-- 1 jenkins jenkins 86 Feb 6 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:32 ---> package-listing.sh 20:14:32 ++ facter osfamily 20:14:32 ++ tr '[:upper:]' '[:lower:]' 20:14:32 + OS_FAMILY=debian 20:14:32 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-245 20:14:32 + START_PACKAGES=/tmp/packages_start.txt 20:14:32 + END_PACKAGES=/tmp/packages_end.txt 20:14:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:32 + PACKAGES=/tmp/packages_start.txt 20:14:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-245 ']' 20:14:32 + PACKAGES=/tmp/packages_end.txt 20:14:32 + case "${OS_FAMILY}" in 20:14:32 + dpkg -l 20:14:32 + grep '^ii' 20:14:32 + '[' -f /tmp/packages_start.txt ']' 20:14:32 + '[' -f /tmp/packages_end.txt ']' 20:14:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-245 ']' 20:14:32 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-245/archives/ 20:14:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-245/archives/ [Pipeline] echo 20:14:32 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:33 prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container 20:14:33 $ 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-245/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-245 -v /w/workspace/gexfoundry_device-rest-go_PR-245:/w/workspace/gexfoundry_device-rest-go_PR-245:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-245@tmp:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:34 $ docker top 35109e5117bdb7524b41461e0978b963b640038e41ff5d8f99d04732c8a437ab -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:34 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:35 + ls /var/log/sa-host 20:14:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:35 provisioning config files... 20:14:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-245@tmp/config14606209308083429086tmp [Pipeline] { [Pipeline] echo 20:14:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:35 ---> create-netrc.sh [Pipeline] } 20:14:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:35 ---> python-tools-install.sh [Pipeline] echo 20:14:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:36 ---> sudo-logs.sh 20:14:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:36 ---> job-cost.sh 20:14:36 lf-activate-venv: SKIPPING 20:14:36 DEBUG: total: 0.2199999988079071 20:14:36 INFO: Retrieving Stack Cost... 20:14:37 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:37 INFO: Archiving Costs [Pipeline] echo 20:14:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:37 ---> logs-deploy.sh 20:14:37 lf-activate-venv: SKIPPING 20:14:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-245/1 20:14:37 INFO: archiving workspace using pattern(s): 20:14:38 Archives upload complete. 20:14:39 INFO: archiving logs to Nexus 20:14:39 ---> uname -a: 20:14:39 Linux prd-ubuntu20-04-docker-8c-8g-4736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:14:39 20:14:39 20:14:39 ---> lscpu: 20:14:39 Architecture: x86_64 20:14:39 CPU op-mode(s): 32-bit, 64-bit 20:14:39 Byte Order: Little Endian 20:14:39 Address sizes: 40 bits physical, 48 bits virtual 20:14:39 CPU(s): 8 20:14:39 On-line CPU(s) list: 0-7 20:14:39 Thread(s) per core: 1 20:14:39 Core(s) per socket: 1 20:14:39 Socket(s): 8 20:14:39 NUMA node(s): 1 20:14:39 Vendor ID: AuthenticAMD 20:14:39 CPU family: 23 20:14:39 Model: 49 20:14:39 Model name: AMD EPYC-Rome Processor 20:14:39 Stepping: 0 20:14:39 CPU MHz: 2799.996 20:14:39 BogoMIPS: 5599.99 20:14:39 Virtualization: AMD-V 20:14:39 Hypervisor vendor: KVM 20:14:39 Virtualization type: full 20:14:39 L1d cache: 256 KiB 20:14:39 L1i cache: 256 KiB 20:14:39 L2 cache: 4 MiB 20:14:39 L3 cache: 128 MiB 20:14:39 NUMA node0 CPU(s): 0-7 20:14:39 Vulnerability Itlb multihit: Not affected 20:14:39 Vulnerability L1tf: Not affected 20:14:39 Vulnerability Mds: Not affected 20:14:39 Vulnerability Meltdown: Not affected 20:14:39 Vulnerability Mmio stale data: Not affected 20:14:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:14:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:14:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:14:39 Vulnerability Srbds: Not affected 20:14:39 Vulnerability Tsx async abort: Not affected 20:14:39 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 20:14:39 20:14:39 20:14:39 ---> nproc: 20:14:39 8 20:14:39 20:14:39 20:14:39 ---> df -h: 20:14:39 Filesystem Size Used Avail Use% Mounted on 20:14:39 overlay 155G 12G 144G 8% / 20:14:39 tmpfs 64M 0 64M 0% /dev 20:14:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:14:39 shm 64M 0 64M 0% /dev/shm 20:14:39 /dev/vda1 155G 12G 144G 8% /facter-os 20:14:39 20:14:39 20:14:39 ---> sar -b -r -n DEV: 20:14:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4736) 02/06/23 _x86_64_ (8 CPU) 20:14:39 20:14:39 20:02:55 LINUX RESTART (8 CPU) 20:14:39 20:14:39 20:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:14:39 20:04:01 88.30 38.22 50.08 0.00 3729.56 152899.70 0.00 20:14:39 20:05:01 50.10 9.78 40.32 0.00 1712.36 13501.37 0.00 20:14:39 20:06:01 120.61 0.97 119.65 0.00 7.73 47247.99 0.00 20:14:39 20:07:01 60.97 0.10 60.87 0.00 14.53 22084.85 0.00 20:14:39 20:08:01 147.11 1.17 145.94 0.00 78.12 23353.04 0.00 20:14:39 20:09:01 86.34 9.62 76.72 0.00 5076.19 25254.84 0.00 20:14:39 20:10:01 4.82 0.02 4.80 0.00 0.13 109.32 0.00 20:14:39 20:11:01 2.82 0.00 2.82 0.00 0.00 31.99 0.00 20:14:39 20:12:01 1.43 0.00 1.43 0.00 0.00 16.26 0.00 20:14:39 20:13:01 1.58 0.00 1.58 0.00 0.00 18.43 0.00 20:14:39 20:14:01 1.62 0.00 1.62 0.00 0.00 17.86 0.00 20:14:39 Average: 51.51 5.45 46.06 0.00 967.94 25906.87 0.00 20:14:39 20:14:39 20:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:14:39 20:04:01 30409784 31701524 666312 2.03 47532 1566076 1683096 4.96 793300 1421092 6948 20:14:39 20:05:01 29183776 31599952 717728 2.18 71700 2625744 1874712 5.52 982628 2364404 670636 20:14:39 20:06:01 27836860 31583696 718092 2.18 143108 3761936 1892624 5.58 1168820 3387000 606476 20:14:39 20:07:01 28220912 31502980 791912 2.41 146176 3323728 2070320 6.10 1238200 2953948 129244 20:14:39 20:08:01 27627608 31516096 779944 2.37 156164 3896092 2080116 6.13 1271604 3488428 469660 20:14:39 20:09:01 27143428 31541256 742992 2.26 192080 4337784 1824856 5.38 1564152 3634240 1076 20:14:39 20:10:01 27149176 31542124 742028 2.26 190652 4334536 1807272 5.33 1562028 3631040 368 20:14:39 20:11:01 27157236 31550268 733796 2.23 190732 4334540 1807272 5.33 1553928 3631044 12 20:14:39 20:12:01 27157284 31550380 733624 2.23 190808 4334536 1807272 5.33 1554004 3631048 4 20:14:39 20:13:01 27162440 31555672 728208 2.21 190880 4334548 1807272 5.33 1548728 3631048 180 20:14:39 20:14:01 27162684 31556132 727712 2.21 190960 4334668 1807272 5.33 1549116 3631180 4 20:14:39 Average: 27837381 31563644 734759 2.23 155527 3744017 1860189 5.48 1344228 3218588 171328 20:14:39 20:14:39 20:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:14:39 20:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:04:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 20:14:39 20:04:01 ens3 291.30 201.85 841.28 54.19 0.00 0.00 0.00 0.00 20:14:39 20:05:01 docker0 22.83 20.51 1.90 173.46 0.00 0.00 0.00 0.00 20:14:39 20:05:01 lo 6.06 6.06 0.58 0.58 0.00 0.00 0.00 0.00 20:14:39 20:05:01 ens3 332.27 243.44 5907.48 37.73 0.00 0.00 0.00 0.00 20:14:39 20:06:01 docker0 193.25 250.39 15.14 1921.07 0.00 0.00 0.00 0.00 20:14:39 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:06:01 ens3 264.86 202.33 1932.50 24.09 0.00 0.00 0.00 0.00 20:14:39 20:07:01 vethb725c1f 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 20:14:39 20:07:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 20:14:39 20:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:39 20:07:01 ens3 32.39 32.54 24.87 87.73 0.00 0.00 0.00 0.00 20:14:39 20:08:01 docker0 3.98 7.85 0.24 81.64 0.00 0.00 0.00 0.00 20:14:39 20:08:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 20:14:39 20:08:01 ens3 118.06 77.87 2658.83 17.29 0.00 0.00 0.00 0.00 20:14:39 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:09:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 20:14:39 20:09:01 ens3 161.42 84.86 2757.85 10.52 0.00 0.00 0.00 0.00 20:14:39 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:10:01 ens3 1.12 0.93 4.07 0.06 0.00 0.00 0.00 0.00 20:14:39 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:39 20:11:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:14:39 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:12:01 ens3 0.08 0.03 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:39 20:13:01 ens3 0.14 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:14:39 20:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:39 20:14:01 ens3 0.18 0.17 0.08 0.07 0.00 0.00 0.00 0.00 20:14:39 Average: docker0 20.03 25.38 1.57 198.07 0.00 0.00 0.00 0.00 20:14:39 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 20:14:39 Average: ens3 109.45 76.87 1286.65 21.09 0.00 0.00 0.00 0.00 20:14:39 20:14:39 20:14:39 ---> sar -P ALL: 20:14:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4736) 02/06/23 _x86_64_ (8 CPU) 20:14:39 20:14:39 20:02:55 LINUX RESTART (8 CPU) 20:14:39 20:14:39 20:03:01 CPU %user %nice %system %iowait %steal %idle 20:14:39 20:04:01 all 3.83 0.00 0.95 7.50 0.12 87.59 20:14:39 20:04:01 0 1.89 0.00 0.82 21.65 0.05 75.59 20:14:39 20:04:01 1 5.91 0.00 0.70 0.90 0.10 92.39 20:14:39 20:04:01 2 3.63 0.00 0.85 1.02 0.03 94.46 20:14:39 20:04:01 3 5.22 0.00 2.01 30.07 0.05 62.65 20:14:39 20:04:01 4 3.65 0.00 0.67 1.52 0.57 93.61 20:14:39 20:04:01 5 4.34 0.00 0.65 2.76 0.03 92.21 20:14:39 20:04:01 6 2.92 0.00 0.90 0.78 0.03 95.36 20:14:39 20:04:01 7 3.12 0.00 1.03 1.45 0.08 94.31 20:14:39 20:05:01 all 5.84 0.00 2.32 7.60 0.16 84.08 20:14:39 20:05:01 0 5.50 0.00 1.76 3.29 0.20 89.25 20:14:39 20:05:01 1 7.41 0.00 2.30 3.59 0.12 86.58 20:14:39 20:05:01 2 6.00 0.00 2.43 0.87 0.10 90.59 20:14:39 20:05:01 3 4.81 0.00 2.88 2.27 0.18 89.86 20:14:39 20:05:01 4 6.45 0.00 2.09 46.47 0.24 44.76 20:14:39 20:05:01 5 4.55 0.00 2.37 0.96 0.12 92.00 20:14:39 20:05:01 6 6.69 0.00 2.33 1.96 0.12 88.90 20:14:39 20:05:01 7 5.35 0.00 2.43 1.28 0.20 90.74 20:14:39 20:06:01 all 4.55 0.00 2.23 7.71 0.16 85.36 20:14:39 20:06:01 0 4.12 0.00 1.69 0.05 0.12 94.02 20:14:39 20:06:01 1 4.55 0.00 1.96 22.38 0.05 71.07 20:14:39 20:06:01 2 4.66 0.00 1.64 1.84 0.12 91.74 20:14:39 20:06:01 3 4.22 0.00 3.06 3.46 0.24 89.03 20:14:39 20:06:01 4 4.30 0.00 3.49 30.23 0.12 61.86 20:14:39 20:06:01 5 4.41 0.00 1.49 0.08 0.08 93.93 20:14:39 20:06:01 6 5.27 0.00 1.96 2.67 0.27 89.83 20:14:39 20:06:01 7 4.86 0.00 2.55 1.05 0.25 91.30 20:14:39 20:07:01 all 17.29 0.00 3.21 7.99 0.11 71.40 20:14:39 20:07:01 0 16.40 0.00 3.11 2.07 0.10 78.32 20:14:39 20:07:01 1 17.80 0.00 3.10 0.03 0.15 78.91 20:14:39 20:07:01 2 17.64 0.00 3.27 0.35 0.10 78.63 20:14:39 20:07:01 3 16.51 0.00 4.02 41.12 0.07 38.28 20:14:39 20:07:01 4 16.03 0.00 2.89 19.29 0.10 61.69 20:14:39 20:07:01 5 18.56 0.00 3.06 0.24 0.13 78.02 20:14:39 20:07:01 6 17.70 0.00 2.82 0.20 0.08 79.19 20:14:39 20:07:01 7 17.71 0.00 3.43 0.52 0.10 78.23 20:14:39 20:08:01 all 18.86 0.00 4.32 6.77 0.20 69.86 20:14:39 20:08:01 0 16.01 0.00 3.69 7.10 0.20 72.99 20:14:39 20:08:01 1 20.00 0.00 4.73 3.99 0.24 71.04 20:14:39 20:08:01 2 19.20 0.00 3.99 8.92 0.25 67.64 20:14:39 20:08:01 3 16.41 0.00 3.75 0.35 0.19 79.29 20:14:39 20:08:01 4 17.97 0.00 4.28 22.42 0.19 55.14 20:14:39 20:08:01 5 19.46 0.00 4.28 1.31 0.19 74.76 20:14:39 20:08:01 6 21.34 0.00 4.56 8.57 0.15 65.38 20:14:39 20:08:01 7 20.45 0.00 5.24 1.52 0.20 72.59 20:14:39 20:09:01 all 3.10 0.00 1.78 8.52 0.16 86.45 20:14:39 20:09:01 0 2.60 0.00 1.33 3.63 0.13 92.30 20:14:39 20:09:01 1 3.19 0.00 1.47 3.33 0.15 91.86 20:14:39 20:09:01 2 2.82 0.00 2.60 13.07 0.18 81.32 20:14:39 20:09:01 3 2.93 0.00 1.17 0.87 0.10 94.94 20:14:39 20:09:01 4 3.50 0.00 2.88 5.60 0.17 87.86 20:14:39 20:09:01 5 3.27 0.00 1.24 24.62 0.08 70.78 20:14:39 20:09:01 6 2.64 0.00 2.02 3.39 0.18 91.76 20:14:39 20:09:01 7 3.82 0.00 1.53 13.68 0.25 80.72 20:14:39 20:10:01 all 0.11 0.00 0.05 0.98 0.01 98.85 20:14:39 20:10:01 0 0.05 0.00 0.03 0.00 0.02 99.90 20:14:39 20:10:01 1 0.13 0.00 0.03 0.92 0.02 98.90 20:14:39 20:10:01 2 0.20 0.00 0.10 0.00 0.00 99.70 20:14:39 20:10:01 3 0.02 0.00 0.05 0.00 0.00 99.93 20:14:39 20:10:01 4 0.12 0.00 0.05 0.02 0.00 99.82 20:14:39 20:10:01 5 0.07 0.00 0.05 6.89 0.02 92.98 20:14:39 20:10:01 6 0.28 0.00 0.03 0.02 0.05 99.62 20:14:39 20:10:01 7 0.05 0.00 0.03 0.00 0.00 99.92 20:14:39 20:11:01 all 0.13 0.00 0.01 0.17 0.00 99.69 20:14:39 20:11:01 0 0.02 0.00 0.00 0.00 0.00 99.98 20:14:39 20:11:01 1 0.05 0.00 0.03 0.30 0.02 99.60 20:14:39 20:11:01 2 0.02 0.00 0.00 0.02 0.00 99.97 20:14:39 20:11:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:14:39 20:11:01 4 0.03 0.00 0.00 0.00 0.00 99.97 20:14:39 20:11:01 5 0.03 0.00 0.03 1.02 0.02 98.90 20:14:39 20:11:01 6 0.81 0.00 0.00 0.00 0.00 99.19 20:14:39 20:11:01 7 0.07 0.00 0.02 0.00 0.00 99.92 20:14:39 20:12:01 all 0.02 0.00 0.01 0.12 0.01 99.84 20:14:39 20:12:01 0 0.00 0.00 0.02 0.00 0.00 99.98 20:14:39 20:12:01 1 0.03 0.00 0.02 0.35 0.07 99.53 20:14:39 20:12:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:14:39 20:12:01 3 0.00 0.00 0.02 0.00 0.00 99.98 20:14:39 20:12:01 4 0.00 0.00 0.02 0.00 0.02 99.97 20:14:39 20:12:01 5 0.05 0.00 0.02 0.63 0.02 99.28 20:14:39 20:12:01 6 0.07 0.00 0.00 0.00 0.00 99.93 20:14:39 20:12:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:14:39 20:13:01 all 0.09 0.00 0.01 0.03 0.01 99.86 20:14:39 20:13:01 0 0.03 0.00 0.00 0.00 0.00 99.97 20:14:39 20:13:01 1 0.03 0.00 0.02 0.02 0.00 99.93 20:14:39 20:13:01 2 0.03 0.00 0.02 0.00 0.00 99.95 20:14:39 20:13:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:14:39 20:13:01 4 0.03 0.00 0.00 0.00 0.00 99.97 20:14:39 20:13:01 5 0.05 0.00 0.03 0.25 0.00 99.66 20:14:39 20:13:01 6 0.46 0.00 0.03 0.00 0.02 99.49 20:14:39 20:13:01 7 0.03 0.00 0.02 0.00 0.05 99.90 20:14:39 20:14:01 all 0.12 0.00 0.01 0.04 0.00 99.82 20:14:39 20:14:01 0 0.00 0.00 0.02 0.00 0.02 99.97 20:14:39 20:14:01 1 0.03 0.00 0.00 0.00 0.00 99.97 20:14:39 20:14:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:14:39 20:14:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:14:39 20:14:01 4 0.00 0.00 0.02 0.00 0.00 99.98 20:14:39 20:14:01 5 0.00 0.00 0.00 0.30 0.00 99.70 20:14:39 20:14:01 6 0.91 0.00 0.00 0.00 0.00 99.09 20:14:39 20:14:01 7 0.03 0.00 0.03 0.03 0.02 99.88 20:14:39 20:14:39 Average: CPU %user %nice %system %iowait %steal %idle 20:14:39 Average: all 4.88 0.00 1.35 4.30 0.09 89.38 20:14:39 Average: 0 4.22 0.00 1.13 3.44 0.08 91.14 20:14:39 Average: 1 5.36 0.00 1.30 3.25 0.08 90.00 20:14:39 Average: 2 4.91 0.00 1.35 2.37 0.07 91.30 20:14:39 Average: 3 4.54 0.00 1.54 7.09 0.07 86.77 20:14:39 Average: 4 4.71 0.00 1.48 11.36 0.13 82.32 20:14:39 Average: 5 4.97 0.00 1.20 3.56 0.06 90.21 20:14:39 Average: 6 5.34 0.00 1.33 1.59 0.08 91.65 20:14:39 Average: 7 5.02 0.00 1.48 1.77 0.11 91.63 20:14:39 20:14:39 20:14:39