Pull request #339 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92bcd6d69ec96fb54b40ef7829184fccd396eb83+0bc3f30d539332995b04e4270d58f382a711f8a9 (d648d45fd024d23930f9754af2ba6e2d75f345e0) 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-ssh898520652173268965.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17287917735097861055.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-339/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-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9428617631732971397.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-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13218479427372274895.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4161212404702505629.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-339/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-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11558643680700143169.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-5964’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5968 in /w/workspace/gexfoundry_device-rest-go_PR-339 [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-339 # 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 0bc3f30d539332995b04e4270d58f382a711f8a9 into PR head commit 92bcd6d69ec96fb54b40ef7829184fccd396eb83 Merge succeeded, producing 92bcd6d69ec96fb54b40ef7829184fccd396eb83 Checking out Revision 92bcd6d69ec96fb54b40ef7829184fccd396eb83 (PR-339) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > 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/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # 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 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 [Pipeline] timeout 20:15:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:15:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:15:18 ========================================================= 20:15:18 EdgeX Global Pipelines Version Info 20:15:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:15:18 ------------------- 20:15:18 stable info: 20:15:18 ------------------- 20:15:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:15:18 Message: update stable to v1.0.254 20:15:19 ------------------- 20:15:19 experimental info: 20:15:19 ------------------- 20:15:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:15:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:15:19 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:15:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo 20:15:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92bcd6d69ec96fb54b40ef7829184fccd396eb83 [Pipeline] echo 20:15:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92bcd6d [Pipeline] echo 20:15:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:21 provisioning config files... 20:15:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config11364215913412909705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:21 ---> docker-login.sh 20:15:21 nexus3.edgexfoundry.org:10001 20:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:22 Configure a credential helper to remove this warning. See 20:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:22 20:15:22 Login Succeeded 20:15:22 nexus3.edgexfoundry.org:10002 20:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:22 Configure a credential helper to remove this warning. See 20:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:22 20:15:22 Login Succeeded 20:15:22 nexus3.edgexfoundry.org:10003 20:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:22 Configure a credential helper to remove this warning. See 20:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:22 20:15:22 Login Succeeded 20:15:22 nexus3.edgexfoundry.org:10004 20:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:22 Configure a credential helper to remove this warning. See 20:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:22 20:15:22 Login Succeeded 20:15:22 docker.io 20:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:22 Configure a credential helper to remove this warning. See 20:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:22 20:15:22 Login Succeeded 20:15:22 ---> docker-login.sh ends [Pipeline] } 20:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:15:23 + git rev-list -1 --merges 92bcd6d69ec96fb54b40ef7829184fccd396eb83~1..92bcd6d69ec96fb54b40ef7829184fccd396eb83 [Pipeline] echo 20:15:23 -----------> git rev-list -1 --merges 92bcd6d69ec96fb54b40ef7829184fccd396eb83~1..92bcd6d69ec96fb54b40ef7829184fccd396eb83 92bcd6d69ec96fb54b40ef7829184fccd396eb83 [false] [Pipeline] sh 20:15:23 + git log --format=format:%s -1 92bcd6d69ec96fb54b40ef7829184fccd396eb83 [Pipeline] echo 20:15:24 ========================================================= 20:15:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:15:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:24 + git log --format=format:%s -1 92bcd6d69ec96fb54b40ef7829184fccd396eb83 [Pipeline] echo 20:15:24 [semverPrep] GIT_COMMIT: 92bcd6d69ec96fb54b40ef7829184fccd396eb83, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:15:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:15:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:15:24 + grep -v github /etc/ssh/ssh_known_hosts 20:15:24 + [ -e /tmp/ssh_known_hosts ] 20:15:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:15:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:15:24 + sudo tee -a /etc/ssh/ssh_known_hosts 20:15:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:25 20:15:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:15:25 b85a868b505f: Pulling fs layer 20:15:25 e2be974225ed: Pulling fs layer 20:15:25 339a4e72a1f5: Pulling fs layer 20:15:25 988bab9f4d93: Pulling fs layer 20:15:25 1469e6f7b9e6: Pulling fs layer 20:15:25 eaf3925da568: Pulling fs layer 20:15:25 bab4dde63d76: Pulling fs layer 20:15:25 bde34c3a00c8: Pulling fs layer 20:15:25 b352a97aabf1: Pulling fs layer 20:15:25 4872d77fe225: Pulling fs layer 20:15:25 5851b861e8e6: Pulling fs layer 20:15:25 988bab9f4d93: Waiting 20:15:25 1469e6f7b9e6: Waiting 20:15:25 bde34c3a00c8: Waiting 20:15:25 eaf3925da568: Waiting 20:15:25 bab4dde63d76: Waiting 20:15:25 5851b861e8e6: Waiting 20:15:25 4872d77fe225: Waiting 20:15:25 b352a97aabf1: Waiting 20:15:25 e2be974225ed: Verifying Checksum 20:15:25 e2be974225ed: Download complete 20:15:25 988bab9f4d93: Download complete 20:15:25 1469e6f7b9e6: Verifying Checksum 20:15:25 1469e6f7b9e6: Download complete 20:15:26 eaf3925da568: Verifying Checksum 20:15:26 eaf3925da568: Download complete 20:15:26 339a4e72a1f5: Verifying Checksum 20:15:26 339a4e72a1f5: Download complete 20:15:26 bde34c3a00c8: Download complete 20:15:26 b352a97aabf1: Download complete 20:15:26 4872d77fe225: Verifying Checksum 20:15:26 4872d77fe225: Download complete 20:15:26 5851b861e8e6: Verifying Checksum 20:15:26 5851b861e8e6: Download complete 20:15:26 b85a868b505f: Download complete 20:15:26 bab4dde63d76: Verifying Checksum 20:15:26 bab4dde63d76: Download complete 20:15:27 b85a868b505f: Pull complete 20:15:27 e2be974225ed: Pull complete 20:15:27 339a4e72a1f5: Pull complete 20:15:28 988bab9f4d93: Pull complete 20:15:28 1469e6f7b9e6: Pull complete 20:15:28 eaf3925da568: Pull complete 20:15:30 bab4dde63d76: Pull complete 20:15:30 bde34c3a00c8: Pull complete 20:15:30 b352a97aabf1: Pull complete 20:15:30 4872d77fe225: Pull complete 20:15:30 5851b861e8e6: Pull complete 20:15:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:15:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:30 prd-ubuntu20.04-docker-8c-8g-5968 does not seem to be running inside a container 20:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@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:15:40 $ docker top 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 -eo pid,comm 20:15:39 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:15:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:15:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:39 [ssh-agent] Looking for ssh-agent implementation... 20:15:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:41 $ docker exec 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 ssh-agent 20:15:39 SSH_AUTH_SOCK=/tmp/ssh-id4uZYMyooN9/agent.31 20:15:39 SSH_AGENT_PID=37 20:15:39 Running ssh-add (command line suppressed) 20:15:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_5595879163015014808.key (/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_5595879163015014808.key) 20:15:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:39 + git tag --points-at HEAD [Pipeline] } 20:15:41 $ docker exec --env ******** --env ******** 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 ssh-agent -k 20:15:41 unset SSH_AUTH_SOCK; 20:15:41 unset SSH_AGENT_PID; 20:15:41 echo Agent pid 37 killed; 20:15:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:15:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:40 [ssh-agent] Looking for ssh-agent implementation... 20:15:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:42 $ docker exec 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 ssh-agent 20:15:40 SSH_AUTH_SOCK=/tmp/ssh-7ikYKF0GcgFG/agent.69 20:15:40 SSH_AGENT_PID=75 20:15:40 Running ssh-add (command line suppressed) 20:15:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_13502335270870515923.key (/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_13502335270870515923.key) 20:15:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:40 + git semver init 20:15:41 2023-09-12 20:15:42,778 [run_init] DEBUG init version:0.0.0 force:False 20:15:41 2023-09-12 20:15:42,778 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver 20:15:41 2023-09-12 20:15:42,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-339/.semver 20:15:41 2023-09-12 20:15:42,779 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-339/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339, universal_newlines=False, shell=None, istream=None) 20:15:42 2023-09-12 20:15:43,921 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-339/.git/info/exclude 20:15:42 2023-09-12 20:15:43,922 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 with force:False 20:15:42 2023-09-12 20:15:43,922 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 20:15:42 2023-09-12 20:15:43,927 [execute] INFO git cat-file --batch-check 20:15:42 2023-09-12 20:15:43,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 20:15:42 2023-09-12 20:15:43,934 [execute] INFO git cat-file --batch 20:15:42 2023-09-12 20:15:43,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) 20:15:42 2023-09-12 20:15:43,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 20:15:42 0.0.0 [Pipeline] } 20:15:44 $ docker exec --env ******** --env ******** 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 ssh-agent -k 20:15:44 unset SSH_AUTH_SOCK; 20:15:44 unset SSH_AGENT_PID; 20:15:44 echo Agent pid 75 killed; 20:15:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:15:43 + git semver [Pipeline] } 20:15:45 $ docker stop --time=1 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 20:15:46 $ docker rm -f --volumes 894ba357718028bc3e0bcbfe0b310da330d2773c838b0fa7f21b625bf3f19bc8 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:15:45 Stashed 1 file(s) [Pipeline] echo 20:15:45 [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:15:46 provisioning config files... 20:15:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config8267158296630297251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:46 ---> docker-login.sh 20:15:46 nexus3.edgexfoundry.org:10001 20:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:46 Configure a credential helper to remove this warning. See 20:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:46 20:15:46 Login Succeeded 20:15:46 nexus3.edgexfoundry.org:10002 20:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:46 Configure a credential helper to remove this warning. See 20:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:46 20:15:46 Login Succeeded 20:15:46 nexus3.edgexfoundry.org:10003 20:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:46 Configure a credential helper to remove this warning. See 20:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:46 20:15:46 Login Succeeded 20:15:46 nexus3.edgexfoundry.org:10004 20:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:46 Configure a credential helper to remove this warning. See 20:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:46 20:15:46 Login Succeeded 20:15:46 docker.io 20:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:46 Configure a credential helper to remove this warning. See 20:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:46 20:15:46 Login Succeeded 20:15:46 ---> docker-login.sh ends [Pipeline] } 20:15:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:47 ========================================================= 20:15:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:15:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:15:47 Sending build context to Docker daemon 10.93MB 20:15:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:15:47 Step 2/12 : FROM ${BASE} AS builder 20:15:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:15:47 7264a8db6415: Pulling fs layer 20:15:47 c4d48a809fc2: Pulling fs layer 20:15:47 4f1c88b9dad5: Pulling fs layer 20:15:47 ad3a456e5733: Pulling fs layer 20:15:47 9e4f439ed901: Pulling fs layer 20:15:47 feaf6a47b606: Pulling fs layer 20:15:47 5e8b037d7d82: Pulling fs layer 20:15:47 8ac70367396e: Pulling fs layer 20:15:47 6db16350a2e2: Pulling fs layer 20:15:47 9250d5d63582: Pulling fs layer 20:15:47 feaf6a47b606: Waiting 20:15:47 5e8b037d7d82: Waiting 20:15:47 8ac70367396e: Waiting 20:15:47 6db16350a2e2: Waiting 20:15:47 9250d5d63582: Waiting 20:15:47 ad3a456e5733: Waiting 20:15:47 9e4f439ed901: Waiting 20:15:47 c4d48a809fc2: Verifying Checksum 20:15:47 c4d48a809fc2: Download complete 20:15:47 ad3a456e5733: Verifying Checksum 20:15:47 ad3a456e5733: Download complete 20:15:47 9e4f439ed901: Verifying Checksum 20:15:47 9e4f439ed901: Download complete 20:15:47 7264a8db6415: Verifying Checksum 20:15:47 7264a8db6415: Download complete 20:15:47 feaf6a47b606: Verifying Checksum 20:15:47 feaf6a47b606: Download complete 20:15:47 7264a8db6415: Pull complete 20:15:48 8ac70367396e: Verifying Checksum 20:15:48 8ac70367396e: Download complete 20:15:48 c4d48a809fc2: Pull complete 20:15:48 4f1c88b9dad5: Verifying Checksum 20:15:48 4f1c88b9dad5: Download complete 20:15:48 6db16350a2e2: Verifying Checksum 20:15:48 6db16350a2e2: Download complete 20:15:48 5e8b037d7d82: Verifying Checksum 20:15:48 5e8b037d7d82: Download complete 20:15:48 9250d5d63582: Verifying Checksum 20:15:48 9250d5d63582: Download complete 20:15:51 4f1c88b9dad5: Pull complete 20:15:51 ad3a456e5733: Pull complete 20:15:51 9e4f439ed901: Pull complete 20:15:51 feaf6a47b606: Pull complete 20:15:54 5e8b037d7d82: Pull complete 20:15:54 8ac70367396e: Pull complete 20:15:54 6db16350a2e2: Pull complete 20:15:55 9250d5d63582: Pull complete 20:15:55 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:15:55 ---> fa269f55d9b9 20:15:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:16:00 ---> Running in 558c446feaef 20:16:00 Removing intermediate container 558c446feaef 20:16:00 ---> 5ee2ec9f3cf9 20:16:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:16:00 ---> Running in 1d94991923bd 20:16:00 Removing intermediate container 1d94991923bd 20:16:00 ---> 085763eca079 20:16:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:16:00 ---> Running in a1cab4644652 20:16:00 Removing intermediate container a1cab4644652 20:16:00 ---> 41eeb75ef45c 20:16:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:16:00 ---> Running in 76f0940f20ab 20:16:00 Removing intermediate container 76f0940f20ab 20:16:00 ---> 51d520d1fff2 20:16:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:00 ---> Running in 266e1d74f663 20:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:16:00 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:16:00 (2/4) Installing libedit (20221030.3.1-r1) 20:16:00 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:16:00 Still waiting to schedule task 20:16:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:16:00 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:16:00 Executing busybox-1.36.1-r2.trigger 20:16:00 OK: 270 MiB in 60 packages 20:16:01 Removing intermediate container 266e1d74f663 20:16:01 ---> 0489598099f8 20:16:01 Step 8/12 : WORKDIR /device-rest-go 20:16:01 ---> Running in 4d635c055681 20:16:01 Removing intermediate container 4d635c055681 20:16:01 ---> 1392f8727801 20:16:01 Step 9/12 : COPY go.mod vendor* ./ 20:16:01 ---> 8d99add73f4c 20:16:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:01 ---> Running in 34f79ba339fb 20:16:42 Removing intermediate container 34f79ba339fb 20:16:42 ---> a1191d57ab7e 20:16:42 Step 11/12 : COPY . . 20:16:42 ---> 48165854b1d1 20:16:42 Step 12/12 : RUN $MAKE 20:16:42 ---> Running in 8fc6a253385e 20:16:42 noop 20:16:42 Removing intermediate container 8fc6a253385e 20:16:42 ---> 7ab3eea3f389 20:16:42 Successfully built 7ab3eea3f389 20:16:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:43 + docker inspect -f . ci-base-image-x86_64 20:16:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:43 prd-ubuntu20.04-docker-8c-8g-5968 does not seem to be running inside a container 20:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@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:16:43 $ docker top 7f7719cabab0e299cb14108946b84065b1a8057375be73f98899837fbf09310f -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:44 + go version 20:16:44 go version go1.21.0 linux/amd64 [Pipeline] } 20:16:44 $ docker stop --time=1 7f7719cabab0e299cb14108946b84065b1a8057375be73f98899837fbf09310f 20:16:45 $ docker rm -f --volumes 7f7719cabab0e299cb14108946b84065b1a8057375be73f98899837fbf09310f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:46 + docker inspect -f . ci-base-image-x86_64 20:16:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:46 prd-ubuntu20.04-docker-8c-8g-5968 does not seem to be running inside a container 20:16:46 $ 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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@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:16:46 $ docker top 20009052c77cc2476571cf753f62fdc95b606f1fc800511175dcb66ee1e420fc -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-339 [Pipeline] fileExists [Pipeline] sh 20:16:47 + make test 20:16:47 go test ./... -coverprofile=coverage.out ./... 20:16:48 ? github.com/edgexfoundry/device-rest-go [no test files] 20:16:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:16:58 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:17:03 go vet ./... 20:17:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:17:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:17:06 ./bin/test-attribution-txt.sh [Pipeline] echo 20:17:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:17:06 $ docker stop --time=1 20009052c77cc2476571cf753f62fdc95b606f1fc800511175dcb66ee1e420fc 20:17:09 $ docker rm -f --volumes 20009052c77cc2476571cf753f62fdc95b606f1fc800511175dcb66ee1e420fc [Pipeline] // withDockerContainer [Pipeline] sh 20:17:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:17:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:17:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:17:11 + ls -al . 20:17:11 total 188 20:17:11 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:16 . 20:17:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:15 .. 20:17:11 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 20:15 .dockerignore 20:17:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:16 .git 20:17:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:15 .github 20:17:11 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 20:15 .gitignore 20:17:11 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:15 .golangci.yml 20:17:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:15 .semver 20:17:11 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 20:15 Attribution.txt 20:17:11 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 20:15 CHANGELOG.md 20:17:11 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 20:15 Dockerfile 20:17:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:15 GOVERNANCE.md 20:17:11 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 20:15 Jenkinsfile 20:17:11 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 20:15 LICENSE 20:17:11 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 20:15 Makefile 20:17:11 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 20:15 OWNERS.md 20:17:11 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 20:15 README.md 20:17:11 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:15 VERSION 20:17:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:15 bin 20:17:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:15 cmd 20:17:11 -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 20:16 coverage.out 20:17:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:15 driver 20:17:11 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 20:15 go.mod 20:17:11 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 20:15 go.sum 20:17:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:15 snap 20:17:11 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:11 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=92bcd6d69ec96fb54b40ef7829184fccd396eb83 --label arch=amd64 --label version=0.0.0 . 20:17:11 Sending build context to Docker daemon 10.95MB 20:17:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:17:11 Step 2/25 : FROM ${BASE} AS builder 20:17:11 ---> 7ab3eea3f389 20:17:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:17:11 ---> Running in 7df37bb00ccd 20:17:11 Removing intermediate container 7df37bb00ccd 20:17:11 ---> 1cb166242f2f 20:17:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:11 ---> Running in 704ceea4849d 20:17:11 Removing intermediate container 704ceea4849d 20:17:11 ---> 5d634301c0aa 20:17:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:11 ---> Running in 75f6347bd685 20:17:12 Removing intermediate container 75f6347bd685 20:17:12 ---> 82f33a1d27e2 20:17:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:17:12 ---> Running in 82138496cb27 20:17:12 Removing intermediate container 82138496cb27 20:17:12 ---> 58b2ee84389e 20:17:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:12 ---> Running in 492b41fc74b2 20:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:17:12 OK: 270 MiB in 60 packages 20:17:13 Removing intermediate container 492b41fc74b2 20:17:13 ---> 4e3a2aee0093 20:17:13 Step 8/25 : WORKDIR /device-rest-go 20:17:13 ---> Running in 67a73af3e40a 20:17:13 Removing intermediate container 67a73af3e40a 20:17:13 ---> 1d13bd4071ea 20:17:13 Step 9/25 : COPY go.mod vendor* ./ 20:17:13 ---> 254bf47db904 20:17:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:13 ---> Running in 9cd43654453b 20:17:13 Removing intermediate container 9cd43654453b 20:17:13 ---> 6404b883c365 20:17:13 Step 11/25 : COPY . . 20:17:14 ---> 47c71a027a92 20:17:14 Step 12/25 : RUN $MAKE 20:17:14 ---> Running in da90392f9946 20:17:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:17:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5969 in /w/workspace/gexfoundry_device-rest-go_PR-339 [Pipeline] { [Pipeline] ws 20:17:32 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:17:32 The recommended git tool is: git 20:17:34 Removing intermediate container da90392f9946 20:17:34 ---> d51a92c923df 20:17:34 Step 13/25 : FROM alpine:3.17 20:17:34 3.17: Pulling from library/alpine 20:17:34 9398808236ff: Pulling fs layer 20:17:34 9398808236ff: Download complete 20:17:34 9398808236ff: Pull complete 20:17:34 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:17:34 Status: Downloaded newer image for alpine:3.17 20:17:34 ---> 1e0b8b5322fc 20:17:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:17:34 ---> Running in 7775283bde06 20:17:34 Removing intermediate container 7775283bde06 20:17:34 ---> b6f271a45e0e 20:17:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:17:34 ---> Running in 4cf35ea26ec2 20:17:34 Removing intermediate container 4cf35ea26ec2 20:17:34 ---> 2fc26fe65080 20:17:34 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:17:34 ---> Running in 1c9efe9fdc96 20:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:17:35 (1/1) Installing dumb-init (1.2.5-r2) 20:17:35 Executing busybox-1.35.0-r29.trigger 20:17:35 OK: 7 MiB in 16 packages 20:17:35 Removing intermediate container 1c9efe9fdc96 20:17:35 ---> 0950d82bb566 20:17:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:17:36 ---> b395a89fc905 20:17:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:17:36 ---> 2e3bca0b384e 20:17:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:17:36 ---> ce0b97e27a6c 20:17:36 Step 20/25 : EXPOSE 59986 20:17:36 ---> Running in 0cbb6f03d2ac 20:17:36 Removing intermediate container 0cbb6f03d2ac 20:17:36 ---> 68e536acc4c0 20:17:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:17:36 ---> Running in 0a03b2477a3c 20:17:36 Removing intermediate container 0a03b2477a3c 20:17:36 ---> 5cf407f80b8a 20:17:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:17:36 ---> Running in 4e3730fb9ba5 20:17:36 Removing intermediate container 4e3730fb9ba5 20:17:36 ---> 1a67bc0b3f8f 20:17:36 Step 23/25 : LABEL arch=amd64 20:17:36 ---> Running in ec49cf2f2356 20:17:37 Removing intermediate container ec49cf2f2356 20:17:37 ---> d3a01fb6eefd 20:17:37 Step 24/25 : LABEL git_sha=92bcd6d69ec96fb54b40ef7829184fccd396eb83 20:17:37 ---> Running in 8b589cfa3f10 20:17:37 Removing intermediate container 8b589cfa3f10 20:17:37 ---> fd721fa9181e 20:17:37 Step 25/25 : LABEL version=0.0.0 20:17:37 ---> Running in 03186bcc819d 20:17:37 Removing intermediate container 03186bcc819d 20:17:37 ---> 754721cfbf63 20:17:37 [Warning] One or more build-args [ARCH] were not consumed 20:17:37 Successfully built 754721cfbf63 20:17:37 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 20:17:37 using credential edgex-jenkins-ssh [Pipeline] isUnix 20:17:37 Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:38 20:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:38 latest: Pulling from edgex-lftools-log-publisher 20:17:38 5eb5b503b376: Pulling fs layer 20:17:38 5c69ac0246d0: Pulling fs layer 20:17:38 ec43610c2a17: Pulling fs layer 20:17:38 3a2ae6a8a46f: Pulling fs layer 20:17:38 33b1e0a273af: Pulling fs layer 20:17:38 5d3b04190fa2: Pulling fs layer 20:17:38 2f39f015ded8: Pulling fs layer 20:17:38 33b1e0a273af: Waiting 20:17:38 5d3b04190fa2: Waiting 20:17:38 3a2ae6a8a46f: Waiting 20:17:38 5c69ac0246d0: Verifying Checksum 20:17:38 5c69ac0246d0: Download complete 20:17:38 3a2ae6a8a46f: Verifying Checksum 20:17:38 3a2ae6a8a46f: Download complete 20:17:38 33b1e0a273af: Verifying Checksum 20:17:38 33b1e0a273af: Download complete 20:17:38 5d3b04190fa2: Verifying Checksum 20:17:38 5d3b04190fa2: Download complete 20:17:38 ec43610c2a17: Verifying Checksum 20:17:38 ec43610c2a17: Download complete 20:17:38 5eb5b503b376: Verifying Checksum 20:17:38 5eb5b503b376: Download complete 20:17:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:17:37 > git init /w/workspace/device-rest-go/1 # timeout=10 20:17:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:17:37 > git --version # timeout=10 20:17:37 > git --version # 'git version 2.25.1' 20:17:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:39 2f39f015ded8: Download complete 20:17:39 5eb5b503b376: Pull complete 20:17:39 5c69ac0246d0: Pull complete 20:17:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:17:40 ec43610c2a17: Pull complete 20:17:40 3a2ae6a8a46f: Pull complete 20:17:40 33b1e0a273af: Pull complete 20:17:40 5d3b04190fa2: Pull complete 20:17:41 Merging remotes/origin/main commit 0bc3f30d539332995b04e4270d58f382a711f8a9 into PR head commit 92bcd6d69ec96fb54b40ef7829184fccd396eb83 20:17:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:17:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:17:41 Merge succeeded, producing 92bcd6d69ec96fb54b40ef7829184fccd396eb83 20:17:41 Checking out Revision 92bcd6d69ec96fb54b40ef7829184fccd396eb83 (PR-339) 20:17:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:17:42 > git --version # timeout=10 20:17:42 > git --version # 'git version 2.25.1' 20:17:42 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 20:17:42 20:17:42 GitHub has been notified of this commit’s build result 20:17:42 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 20:17:41 > git config core.sparsecheckout # timeout=10 20:17:41 > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 20:17:41 > git remote # timeout=10 20:17:41 > git config --get remote.origin.url # timeout=10 20:17:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:41 > git merge 0bc3f30d539332995b04e4270d58f382a711f8a9 # timeout=10 20:17:41 > git rev-parse HEAD^{commit} # timeout=10 20:17:41 > git config core.sparsecheckout # timeout=10 20:17:41 > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:43 Dload Upload Total Spent Left Speed 20:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 20:17:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:44 + sudo tee /etc/docker/daemon.new 20:17:44 { 20:17:44 "registry-mirrors": [ 20:17:44 "https://nexus3.edgexfoundry.org:10001" 20:17:44 ], 20:17:44 "bip": "10.250.0.254/24", 20:17:44 "hosts": [ 20:17:44 "tcp://0.0.0.0:5555", 20:17:44 "unix:///var/run/docker.sock" 20:17:44 ], 20:17:44 "mtu": 1458, 20:17:44 "selinux-enabled": true, 20:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:44 } [Pipeline] sh 20:17:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:44 2f39f015ded8: Pull complete 20:17:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 20:17:44 + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:45 prd-ubuntu20.04-docker-8c-8g-5968 does not seem to be running inside a container 20:17:45 $ 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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@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:17:48 $ docker top 888b752873e17282596b531686013fc0dda846f63b3ffdc4819a5ce7e4e804aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:49 ---> job-cost.sh 20:17:49 lf-activate-venv: SKIPPING 20:17:49 INFO: No Stack... 20:17:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:17:49 INFO: Archiving Costs [Pipeline] sh 20:17:49 + cat /w/workspace/gexfoundry_device-rest-go_PR-339/archives/cost.csv 20:17:49 + cut -d, -f6 [Pipeline] lock 20:17:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] 20:17:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] did not exist. Created. 20:17:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:17:50 + echo total: 0.2199999988079071 [Pipeline] stash 20:17:50 Stashed 1 file(s) [Pipeline] } 20:17:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:17:50 $ docker stop --time=1 888b752873e17282596b531686013fc0dda846f63b3ffdc4819a5ce7e4e804aa 20:17:51 $ docker rm -f --volumes 888b752873e17282596b531686013fc0dda846f63b3ffdc4819a5ce7e4e804aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:03 provisioning config files... 20:18:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7641630602826911013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:03 ---> docker-login.sh 20:18:03 nexus3.edgexfoundry.org:10001 20:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:04 Configure a credential helper to remove this warning. See 20:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:04 20:18:04 Login Succeeded 20:18:04 nexus3.edgexfoundry.org:10002 20:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:04 Configure a credential helper to remove this warning. See 20:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:04 20:18:04 Login Succeeded 20:18:04 nexus3.edgexfoundry.org:10003 20:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:04 Configure a credential helper to remove this warning. See 20:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:04 20:18:04 Login Succeeded 20:18:04 nexus3.edgexfoundry.org:10004 20:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 docker.io 20:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:05 Configure a credential helper to remove this warning. See 20:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:05 20:18:05 Login Succeeded 20:18:05 ---> docker-login.sh ends [Pipeline] } 20:18:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:06 ========================================================= 20:18:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:18:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:18:06 Sending build context to Docker daemon 143.4kB 20:18:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:18:07 Step 2/12 : FROM ${BASE} AS builder 20:18:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:07 9fda8d8052c6: Pulling fs layer 20:18:07 5d54e960e981: Pulling fs layer 20:18:07 c4a7e357bf2a: Pulling fs layer 20:18:07 f0e02332f6b5: Pulling fs layer 20:18:07 66412af1f25a: Pulling fs layer 20:18:07 1baf3a5c0e64: Pulling fs layer 20:18:07 9a37bb91b891: Pulling fs layer 20:18:07 a29adfc67d43: Pulling fs layer 20:18:07 d5de9f91c1a4: Pulling fs layer 20:18:07 1baf3a5c0e64: Waiting 20:18:07 a29adfc67d43: Waiting 20:18:07 9a37bb91b891: Waiting 20:18:07 f0e02332f6b5: Waiting 20:18:07 d5de9f91c1a4: Waiting 20:18:07 66412af1f25a: Waiting 20:18:07 5d54e960e981: Verifying Checksum 20:18:07 5d54e960e981: Download complete 20:18:07 f0e02332f6b5: Verifying Checksum 20:18:07 f0e02332f6b5: Download complete 20:18:07 66412af1f25a: Verifying Checksum 20:18:07 66412af1f25a: Download complete 20:18:07 9fda8d8052c6: Download complete 20:18:07 9a37bb91b891: Verifying Checksum 20:18:07 9a37bb91b891: Download complete 20:18:08 9fda8d8052c6: Pull complete 20:18:08 a29adfc67d43: Verifying Checksum 20:18:08 a29adfc67d43: Download complete 20:18:08 5d54e960e981: Pull complete 20:18:09 d5de9f91c1a4: Verifying Checksum 20:18:09 d5de9f91c1a4: Download complete 20:18:09 c4a7e357bf2a: Verifying Checksum 20:18:09 c4a7e357bf2a: Download complete 20:18:10 1baf3a5c0e64: Download complete 20:18:20 c4a7e357bf2a: Pull complete 20:18:20 f0e02332f6b5: Pull complete 20:18:20 66412af1f25a: Pull complete 20:18:28 1baf3a5c0e64: Pull complete 20:18:29 9a37bb91b891: Pull complete 20:18:30 a29adfc67d43: Pull complete 20:18:32 d5de9f91c1a4: Pull complete 20:18:32 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 20:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:18:32 ---> 746ca1b523b5 20:18:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:18:34 ---> Running in 19bec4a9e50b 20:18:34 Removing intermediate container 19bec4a9e50b 20:18:34 ---> 59dd18fc0e5e 20:18:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:34 ---> Running in 370f20309224 20:18:34 Removing intermediate container 370f20309224 20:18:34 ---> b89795f4597d 20:18:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:34 ---> Running in 861c75a6a0e5 20:18:35 Removing intermediate container 861c75a6a0e5 20:18:35 ---> b2ec358df59c 20:18:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:18:35 ---> Running in a9705548cf3c 20:18:35 Removing intermediate container a9705548cf3c 20:18:35 ---> 9377bac873e4 20:18:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:35 ---> Running in 577d2f75e176 20:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:18:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:18:38 (2/4) Installing libedit (20221030.3.1-r1) 20:18:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:18:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:18:38 Executing busybox-1.36.1-r2.trigger 20:18:38 OK: 272 MiB in 60 packages 20:18:39 Removing intermediate container 577d2f75e176 20:18:39 ---> 8502a1016f83 20:18:39 Step 8/12 : WORKDIR /device-rest-go 20:18:39 ---> Running in 199ab3ce5c6b 20:18:39 Removing intermediate container 199ab3ce5c6b 20:18:39 ---> bb4a103bf152 20:18:39 Step 9/12 : COPY go.mod vendor* ./ 20:18:39 ---> 3e240e724381 20:18:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:39 ---> Running in 3a97069ab480 20:20:01 Removing intermediate container 3a97069ab480 20:20:01 ---> bbb2dc4cd360 20:20:01 Step 11/12 : COPY . . 20:20:01 ---> 09f94b526840 20:20:01 Step 12/12 : RUN $MAKE 20:20:01 ---> Running in 8b593a856708 20:20:01 noop 20:20:01 Removing intermediate container 8b593a856708 20:20:01 ---> fc2eb5f0b640 20:20:01 Successfully built fc2eb5f0b640 20:20:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:02 + docker inspect -f . ci-base-image-arm64 20:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:02 prd-ubuntu20.04-docker-arm64-4c-16g-5969 does not seem to be running inside a container 20:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:20:03 $ docker top c4c3a99b4f95e01641c8e4957828883357c4482390233398c1374ced1d5cad88 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:04 + go version 20:20:04 go version go1.21.0 linux/arm64 [Pipeline] } 20:20:04 $ docker stop --time=1 c4c3a99b4f95e01641c8e4957828883357c4482390233398c1374ced1d5cad88 20:20:06 $ docker rm -f --volumes c4c3a99b4f95e01641c8e4957828883357c4482390233398c1374ced1d5cad88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:06 + docker inspect -f . ci-base-image-arm64 20:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:07 prd-ubuntu20.04-docker-arm64-4c-16g-5969 does not seem to be running inside a container 20:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:20:08 $ docker top 1c65a9c4f38e8839c52c9bdf3d3c7dccd05ddc10c23400d90fdb3c42e537b63d -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:08 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:20:09 + make test 20:20:09 go test ./... -coverprofile=coverage.out ./... 20:20:13 ? github.com/edgexfoundry/device-rest-go [no test files] 20:21:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:21:50 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 20:21:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:21:50 go vet ./... 20:22:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:22:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:22:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:22:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:22:00 $ docker stop --time=1 1c65a9c4f38e8839c52c9bdf3d3c7dccd05ddc10c23400d90fdb3c42e537b63d 20:22:04 $ docker rm -f --volumes 1c65a9c4f38e8839c52c9bdf3d3c7dccd05ddc10c23400d90fdb3c42e537b63d [Pipeline] // withDockerContainer [Pipeline] sh 20:22:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:22:06 Warning: overwriting stash ‘coverage-report’ 20:22:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:22:07 + ls -al . 20:22:07 total 184 20:22:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:20 . 20:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:17 .. 20:22:07 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 20:17 .dockerignore 20:22:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:17 .git 20:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:17 .github 20:22:07 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 20:17 .gitignore 20:22:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:17 .golangci.yml 20:22:07 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 20:17 Attribution.txt 20:22:07 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 20:17 CHANGELOG.md 20:22:07 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 20:17 Dockerfile 20:22:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:17 GOVERNANCE.md 20:22:07 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 20:17 Jenkinsfile 20:22:07 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 20:17 LICENSE 20:22:07 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 20:17 Makefile 20:22:07 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 20:17 OWNERS.md 20:22:07 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 20:17 README.md 20:22:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:15 VERSION 20:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:17 bin 20:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:17 cmd 20:22:07 -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 20:21 coverage.out 20:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:17 driver 20:22:07 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 20:17 go.mod 20:22:07 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 20:17 go.sum 20:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:17 snap 20:22:07 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:08 + 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=92bcd6d69ec96fb54b40ef7829184fccd396eb83 --label arch=arm64 --label version=0.0.0 . 20:22:08 Sending build context to Docker daemon 158.7kB 20:22:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:22:08 Step 2/25 : FROM ${BASE} AS builder 20:22:08 ---> fc2eb5f0b640 20:22:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:22:08 ---> Running in 38d0ef826ee8 20:22:08 Removing intermediate container 38d0ef826ee8 20:22:08 ---> 268a331821d3 20:22:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:22:08 ---> Running in 70c681625421 20:22:09 Removing intermediate container 70c681625421 20:22:09 ---> 2339e5077d38 20:22:09 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:22:09 ---> Running in 24042e37fccf 20:22:09 Removing intermediate container 24042e37fccf 20:22:09 ---> fcf1e482bd71 20:22:09 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:22:09 ---> Running in 70c09cc0ad95 20:22:10 Removing intermediate container 70c09cc0ad95 20:22:10 ---> 50f7f3e3df54 20:22:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:22:10 ---> Running in 5d47b61c118f 20:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:22:13 OK: 272 MiB in 60 packages 20:22:14 Removing intermediate container 5d47b61c118f 20:22:14 ---> 2818be474d63 20:22:14 Step 8/25 : WORKDIR /device-rest-go 20:22:14 ---> Running in 87f8e6d8ee1e 20:22:16 Removing intermediate container 87f8e6d8ee1e 20:22:16 ---> 3d9fd34ec033 20:22:16 Step 9/25 : COPY go.mod vendor* ./ 20:22:18 ---> ad1ac7d0f5cd 20:22:18 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:18 ---> Running in d8a2ace8f0cd 20:22:20 Removing intermediate container d8a2ace8f0cd 20:22:20 ---> 6acca79b0962 20:22:20 Step 11/25 : COPY . . 20:22:21 ---> 047276f6dffb 20:22:21 Step 12/25 : RUN $MAKE 20:22:21 ---> Running in f4403e44f256 20:22:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:24:14 Removing intermediate container f4403e44f256 20:24:14 ---> 7d76c7b9ccee 20:24:14 Step 13/25 : FROM alpine:3.17 20:24:14 3.17: Pulling from library/alpine 20:24:14 4060ece20d7a: Pulling fs layer 20:24:14 4060ece20d7a: Verifying Checksum 20:24:14 4060ece20d7a: Download complete 20:24:14 4060ece20d7a: Pull complete 20:24:14 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:24:14 Status: Downloaded newer image for alpine:3.17 20:24:14 ---> 8650cd65339b 20:24:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:24:14 ---> Running in fc59e1e65ab4 20:24:14 Removing intermediate container fc59e1e65ab4 20:24:14 ---> 01f2be462b65 20:24:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:24:14 ---> Running in 41289ed129e7 20:24:14 Removing intermediate container 41289ed129e7 20:24:14 ---> 216a7c81f54c 20:24:14 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:24:14 ---> Running in 76ffceae3cd3 20:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:24:14 (1/1) Installing dumb-init (1.2.5-r2) 20:24:14 Executing busybox-1.35.0-r29.trigger 20:24:14 OK: 8 MiB in 16 packages 20:24:14 Removing intermediate container 76ffceae3cd3 20:24:14 ---> 8754c22992dc 20:24:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:24:14 ---> 224c7689190c 20:24:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:24:14 ---> abbd12be6eda 20:24:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:24:14 ---> 838ee9cd82bb 20:24:14 Step 20/25 : EXPOSE 59986 20:24:14 ---> Running in 06f12eeba980 20:24:15 Removing intermediate container 06f12eeba980 20:24:15 ---> 494abecbac5e 20:24:15 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:24:15 ---> Running in b2991f5e831b 20:24:15 Removing intermediate container b2991f5e831b 20:24:15 ---> dbf631a066ec 20:24:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:24:15 ---> Running in 22122611cbdb 20:24:15 Removing intermediate container 22122611cbdb 20:24:15 ---> 20c74a299bcf 20:24:15 Step 23/25 : LABEL arch=arm64 20:24:15 ---> Running in c4aead6e7da3 20:24:16 Removing intermediate container c4aead6e7da3 20:24:16 ---> 7c31fbfe8978 20:24:16 Step 24/25 : LABEL git_sha=92bcd6d69ec96fb54b40ef7829184fccd396eb83 20:24:16 ---> Running in eedc7b60da8c 20:24:16 Removing intermediate container eedc7b60da8c 20:24:16 ---> 9f7edd4936be 20:24:16 Step 25/25 : LABEL version=0.0.0 20:24:16 ---> Running in d46c5726fc88 20:24:16 Removing intermediate container d46c5726fc88 20:24:16 ---> 03a53b21e939 20:24:16 [Warning] One or more build-args [ARCH] were not consumed 20:24:16 Successfully built 03a53b21e939 20:24:16 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:24:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:17 20:24:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:18 arm64: Pulling from edgex-lftools-log-publisher 20:24:18 8998bd30e6a1: Pulling fs layer 20:24:18 04944245beec: Pulling fs layer 20:24:18 699f458cf7ca: Pulling fs layer 20:24:18 765212b225bb: Pulling fs layer 20:24:18 f23df028b6ca: Pulling fs layer 20:24:18 d65c8cfc05b1: Pulling fs layer 20:24:18 2437ff75d9bd: Pulling fs layer 20:24:18 765212b225bb: Waiting 20:24:18 f23df028b6ca: Waiting 20:24:18 d65c8cfc05b1: Waiting 20:24:18 2437ff75d9bd: Waiting 20:24:18 04944245beec: Verifying Checksum 20:24:18 04944245beec: Download complete 20:24:18 765212b225bb: Verifying Checksum 20:24:18 765212b225bb: Download complete 20:24:18 f23df028b6ca: Verifying Checksum 20:24:18 f23df028b6ca: Download complete 20:24:18 d65c8cfc05b1: Verifying Checksum 20:24:18 d65c8cfc05b1: Download complete 20:24:18 699f458cf7ca: Verifying Checksum 20:24:18 699f458cf7ca: Download complete 20:24:19 8998bd30e6a1: Verifying Checksum 20:24:19 8998bd30e6a1: Download complete 20:24:20 2437ff75d9bd: Verifying Checksum 20:24:20 2437ff75d9bd: Download complete 20:24:22 8998bd30e6a1: Pull complete 20:24:23 04944245beec: Pull complete 20:24:24 699f458cf7ca: Pull complete 20:24:24 765212b225bb: Pull complete 20:24:25 f23df028b6ca: Pull complete 20:24:25 d65c8cfc05b1: Pull complete 20:24:40 2437ff75d9bd: Pull complete 20:24:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:24:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:40 prd-ubuntu20.04-docker-arm64-4c-16g-5969 does not seem to be running inside a container 20:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:24:43 $ docker top fbc7f3da8b03166bff2ae4f2e91e24dcea42e1baca9c591e20a3af46d24ee6d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:44 ---> job-cost.sh 20:24:44 lf-activate-venv: SKIPPING 20:24:44 INFO: No Stack... 20:24:44 INFO: Retrieving Pricing Info for: v3-standard-4 20:24:45 INFO: Archiving Costs [Pipeline] sh 20:24:46 + cat /w/workspace/device-rest-go/1/archives/cost.csv+ 20:24:46 cut -d, -f6 [Pipeline] lock 20:24:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] 20:24:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] did not exist. Created. 20:24:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:46 /w/workspace/device-rest-go/1@tmp/durable-c36f55da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:24:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:24:47 Warning: overwriting stash ‘stack-cost’ 20:24:47 Stashed 1 file(s) [Pipeline] } 20:24:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-339-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:47 $ docker stop --time=1 fbc7f3da8b03166bff2ae4f2e91e24dcea42e1baca9c591e20a3af46d24ee6d5 20:24:49 $ docker rm -f --volumes fbc7f3da8b03166bff2ae4f2e91e24dcea42e1baca9c591e20a3af46d24ee6d5 [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:24:50 provisioning config files... 20:24:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config4134680595103016951tmp [Pipeline] { [Pipeline] sh 20:24:50 + set +x 20:24:50 + curl -s https://codecov.io/bash 20:24:50 + bash -s -- 20:24:50 20:24:50 _____ _ 20:24:50 / ____| | | 20:24:50 | | ___ __| | ___ ___ _____ __ 20:24:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:24:50 | |___| (_) | (_| | __/ (_| (_) \ V / 20:24:50 \_____\___/ \__,_|\___|\___\___/ \_/ 20:24:50 Bash-1.0.6 20:24:50 20:24:50 20:24:50 ==> git version 2.25.1 found 20:24:50 ==> 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:24:50 Release-Date: 2020-01-08 20:24:50 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:24:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:24:50 ==> Jenkins CI detected. 20:24:50 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-339 20:24:50 project root: . 20:24:50 --> token set from env 20:24:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:24:50 ==> Running gcov in . (disable via -X gcov) 20:24:50 ==> Python coveragepy not found 20:24:50 ==> Searching for coverage reports in: 20:24:50 + . 20:24:50 -> Found 1 reports 20:24:50 ==> Detecting git/mercurial file structure 20:24:50 ==> Reading reports 20:24:50 + ./coverage.out bytes=14499 20:24:50 ==> Appending adjustments 20:24:50 https://docs.codecov.io/docs/fixing-reports 20:24:50 + Found adjustments 20:24:50 ==> Gzipping contents 20:24:50 4.0K /tmp/codecov.NwAYzQ.gz 20:24:50 ==> Uploading reports 20:24:50 url: https://codecov.io 20:24:50 query: branch=PR-339&commit=92bcd6d69ec96fb54b40ef7829184fccd396eb83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=339&job=&cmd_args= 20:24:50 -> Pinging Codecov 20:24:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-339&commit=92bcd6d69ec96fb54b40ef7829184fccd396eb83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-339%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=339&job=&cmd_args= 20:24:50 -> Uploading to 20:24:50 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/4E5D53B4F1F92C436F7061BF334D961C/92bcd6d69ec96fb54b40ef7829184fccd396eb83/2755cbbd-82e7-4c26-a431-2e438bd59bff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T202450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd6ebf62f57a949acc368db6ee0d6b7b6478f631b7540539e44885cb37d315bc 20:24:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:24:50 Dload Upload Total Spent Left Speed 20:24:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11759 --:--:-- --:--:-- --:--:-- 11759 20:24:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/92bcd6d69ec96fb54b40ef7829184fccd396eb83 [Pipeline] } 20:24:51 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:24:53 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-339/archives ] 20:24:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-339/archives 20:24:53 total 16 20:24:53 drwxr-xr-x 3 root root 4096 Sep 12 20:17 . 20:24:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:17 .. 20:24:53 drwxr-xr-x 2 root root 4096 Sep 12 20:17 cost 20:24:53 -rw-r--r-- 1 root root 86 Sep 12 20:17 cost.csv 20:24:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-339/archives 20:24:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-339/archives 20:24:53 total 16 20:24:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:17 . 20:24:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:17 .. 20:24:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:17 cost 20:24:53 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 20:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:54 ---> package-listing.sh 20:24:54 ++ facter osfamily 20:24:54 ++ tr '[:upper:]' '[:lower:]' 20:24:55 + OS_FAMILY=debian 20:24:55 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-339 20:24:55 + START_PACKAGES=/tmp/packages_start.txt 20:24:55 + END_PACKAGES=/tmp/packages_end.txt 20:24:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:55 + PACKAGES=/tmp/packages_start.txt 20:24:55 + '[' /w/workspace/gexfoundry_device-rest-go_PR-339 ']' 20:24:55 + PACKAGES=/tmp/packages_end.txt 20:24:55 + case "${OS_FAMILY}" in 20:24:55 + dpkg -l 20:24:55 + grep '^ii' 20:24:55 + '[' -f /tmp/packages_start.txt ']' 20:24:55 + '[' -f /tmp/packages_end.txt ']' 20:24:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:55 + '[' /w/workspace/gexfoundry_device-rest-go_PR-339 ']' 20:24:55 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-339/archives/ 20:24:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-339/archives/ [Pipeline] echo 20:24:55 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:24:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:55 prd-ubuntu20.04-docker-8c-8g-5968 does not seem to be running inside a container 20:24:55 $ 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-339/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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@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:24:56 $ docker top 759ef4ad1a622efc8393b8f8c433ae6fa7aaf726b86433a561f1e9fe59eb9000 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:56 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:57 + ls /var/log/sa-host 20:24:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:57 provisioning config files... 20:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config2879907599547126396tmp [Pipeline] { [Pipeline] echo 20:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:57 ---> create-netrc.sh [Pipeline] } 20:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:58 ---> python-tools-install.sh [Pipeline] echo 20:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:58 ---> sudo-logs.sh 20:24:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:58 ---> job-cost.sh 20:24:58 lf-activate-venv: SKIPPING 20:24:58 DEBUG: total: 0.2199999988079071 20:24:58 INFO: Retrieving Stack Cost... 20:24:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:59 INFO: Archiving Costs [Pipeline] echo 20:24:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:25:00 ---> logs-deploy.sh 20:25:00 lf-activate-venv: SKIPPING 20:25:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-339/1 20:25:00 INFO: archiving workspace using pattern(s): 20:25:01 Archives upload complete. 20:25:01 INFO: archiving logs to Nexus 20:25:02 ---> uname -a: 20:25:02 Linux prd-ubuntu20-04-docker-8c-8g-5968 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:25:02 20:25:02 20:25:02 ---> lscpu: 20:25:02 Architecture: x86_64 20:25:02 CPU op-mode(s): 32-bit, 64-bit 20:25:02 Byte Order: Little Endian 20:25:02 Address sizes: 40 bits physical, 48 bits virtual 20:25:02 CPU(s): 8 20:25:02 On-line CPU(s) list: 0-7 20:25:02 Thread(s) per core: 1 20:25:02 Core(s) per socket: 1 20:25:02 Socket(s): 8 20:25:02 NUMA node(s): 1 20:25:02 Vendor ID: AuthenticAMD 20:25:02 CPU family: 23 20:25:02 Model: 49 20:25:02 Model name: AMD EPYC-Rome Processor 20:25:02 Stepping: 0 20:25:02 CPU MHz: 2800.000 20:25:02 BogoMIPS: 5600.00 20:25:02 Virtualization: AMD-V 20:25:02 Hypervisor vendor: KVM 20:25:02 Virtualization type: full 20:25:02 L1d cache: 256 KiB 20:25:02 L1i cache: 256 KiB 20:25:02 L2 cache: 4 MiB 20:25:02 L3 cache: 128 MiB 20:25:02 NUMA node0 CPU(s): 0-7 20:25:02 Vulnerability Itlb multihit: Not affected 20:25:02 Vulnerability L1tf: Not affected 20:25:02 Vulnerability Mds: Not affected 20:25:02 Vulnerability Meltdown: Not affected 20:25:02 Vulnerability Mmio stale data: Not affected 20:25:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:25:02 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:25:02 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:25:02 Vulnerability Srbds: Not affected 20:25:02 Vulnerability Tsx async abort: Not affected 20:25:02 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:25:02 20:25:02 20:25:02 ---> nproc: 20:25:02 8 20:25:02 20:25:02 20:25:02 ---> df -h: 20:25:02 Filesystem Size Used Avail Use% Mounted on 20:25:02 overlay 155G 12G 144G 8% / 20:25:02 tmpfs 64M 0 64M 0% /dev 20:25:02 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:25:02 shm 64M 0 64M 0% /dev/shm 20:25:02 /dev/vda1 155G 12G 144G 8% /facter-os 20:25:02 20:25:02 20:25:02 ---> sar -b -r -n DEV: 20:25:02 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5968) 09/12/23 _x86_64_ (8 CPU) 20:25:02 20:25:02 20:14:44 LINUX RESTART (8 CPU) 20:25:02 20:25:02 20:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:25:02 20:16:02 173.52 47.73 125.80 0.00 5374.97 132105.58 0.00 20:25:02 20:17:00 157.79 1.08 156.70 0.00 22.10 54578.14 0.00 20:25:02 20:18:01 178.92 0.25 178.68 0.00 20.19 44572.53 0.00 20:25:02 20:19:01 1.23 0.00 1.23 0.00 0.00 15.88 0.00 20:25:02 20:20:01 27.40 10.25 17.15 0.00 3456.36 3752.31 0.00 20:25:02 20:21:01 4.62 0.00 4.62 0.00 0.00 61.46 0.00 20:25:02 20:22:01 1.27 0.00 1.27 0.00 0.00 14.00 0.00 20:25:02 20:23:01 1.40 0.00 1.40 0.00 0.00 16.13 0.00 20:25:02 20:24:01 0.92 0.00 0.92 0.00 0.00 10.00 0.00 20:25:02 20:25:01 8.82 1.88 6.93 0.00 56.39 139.04 0.00 20:25:02 Average: 55.62 6.12 49.51 0.00 892.98 23510.18 0.00 20:25:02 20:25:02 20:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:25:02 20:16:02 29129912 31598216 720824 2.19 75180 2668068 2058604 6.07 988768 2407240 260 20:25:02 20:17:00 27535496 31078508 1221024 3.71 152612 3551704 2280504 6.72 1679044 3178000 204968 20:25:02 20:18:01 27510736 31596332 703996 2.14 165092 4045796 1773160 5.23 1249084 3594088 304 20:25:02 20:19:01 27511836 31597508 702664 2.14 165132 4045800 1773160 5.23 1248744 3594092 228 20:25:02 20:20:01 27256080 31562812 728336 2.21 170512 4249732 1811472 5.34 1428036 3648532 1376 20:25:02 20:21:01 27277144 31583948 707384 2.15 170560 4249728 1828512 5.39 1405548 3648488 8 20:25:02 20:22:01 27280024 31586988 704244 2.14 170632 4249732 1828512 5.39 1403632 3648492 144 20:25:02 20:23:01 27286412 31593428 697832 2.12 170676 4249732 1828512 5.39 1397220 3648492 40 20:25:02 20:24:01 27286160 31593200 698008 2.12 170700 4249736 1828512 5.39 1397004 3648496 16 20:25:02 20:25:01 27207996 31523392 762296 2.32 170932 4252000 1882844 5.55 1475812 3637532 584 20:25:02 Average: 27528180 31531433 764661 2.33 158203 3981203 1889379 5.57 1367289 3465345 20793 20:25:02 20:25:02 20:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:25:02 20:16:02 lo 7.13 7.13 0.69 0.69 0.00 0.00 0.00 0.00 20:25:02 20:16:02 ens3 636.51 404.32 6645.35 89.04 0.00 0.00 0.00 0.00 20:25:02 20:16:02 docker0 22.48 28.56 1.75 232.05 0.00 0.00 0.00 0.00 20:25:02 20:17:00 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:17:00 ens3 398.41 259.04 2423.72 97.42 0.00 0.00 0.00 0.00 20:25:02 20:17:00 veth3064849 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 20:25:02 20:17:00 docker0 227.10 363.72 18.76 2396.04 0.00 0.00 0.00 0.00 20:25:02 20:18:01 lo 1.84 1.84 0.19 0.19 0.00 0.00 0.00 0.00 20:25:02 20:18:01 ens3 125.25 75.22 2625.22 24.99 0.00 0.00 0.00 0.00 20:25:02 20:18:01 docker0 3.74 10.29 0.22 72.90 0.00 0.00 0.00 0.00 20:25:02 20:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:19:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:20:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 20:25:02 20:20:01 ens3 102.95 57.32 1375.77 4.00 0.00 0.00 0.00 0.00 20:25:02 20:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:21:01 ens3 0.38 0.35 0.09 0.08 0.00 0.00 0.00 0.00 20:25:02 20:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:22:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:23:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:25:02 20:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:24:01 ens3 0.62 0.22 0.14 0.08 0.00 0.00 0.00 0.00 20:25:02 20:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 20:25:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 20:25:02 20:25:01 ens3 36.79 24.56 40.60 17.95 0.00 0.00 0.00 0.00 20:25:02 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:25:02 Average: lo 1.11 1.11 0.11 0.11 0.00 0.00 0.00 0.00 20:25:02 Average: ens3 129.67 81.82 1311.45 23.24 0.00 0.00 0.00 0.00 20:25:02 Average: docker0 24.96 39.67 2.04 266.23 0.00 0.00 0.00 0.00 20:25:02 20:25:02 20:25:02 ---> sar -P ALL: 20:25:02 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5968) 09/12/23 _x86_64_ (8 CPU) 20:25:02 20:25:02 20:14:44 LINUX RESTART (8 CPU) 20:25:02 20:25:02 20:15:01 CPU %user %nice %system %iowait %steal %idle 20:25:02 20:16:02 all 9.32 0.00 3.28 4.50 0.05 82.85 20:25:02 20:16:02 0 8.03 0.00 2.92 0.52 0.05 88.49 20:25:02 20:16:02 1 10.72 0.00 2.45 0.72 0.03 86.07 20:25:02 20:16:02 2 10.59 0.00 4.36 0.82 0.05 84.18 20:25:02 20:16:02 3 8.66 0.00 2.39 7.05 0.05 81.85 20:25:02 20:16:02 4 9.04 0.00 4.01 3.81 0.05 83.08 20:25:02 20:16:02 5 7.55 0.00 2.86 2.68 0.05 86.86 20:25:02 20:16:02 6 10.78 0.00 3.19 15.16 0.05 70.81 20:25:02 20:16:02 7 9.23 0.00 4.09 5.19 0.07 81.41 20:25:02 20:17:00 all 19.85 0.00 4.00 4.59 0.08 71.48 20:25:02 20:17:00 0 19.98 0.00 3.99 1.08 0.07 74.88 20:25:02 20:17:00 1 18.52 0.00 3.37 7.07 0.07 70.97 20:25:02 20:17:00 2 19.95 0.00 3.89 0.58 0.07 75.51 20:25:02 20:17:00 3 19.66 0.00 5.46 18.10 0.09 56.69 20:25:02 20:17:00 4 19.70 0.00 3.42 0.68 0.07 76.13 20:25:02 20:17:00 5 20.08 0.00 3.08 6.04 0.07 70.73 20:25:02 20:17:00 6 20.41 0.00 4.66 1.84 0.09 73.01 20:25:02 20:17:00 7 20.53 0.00 4.10 1.39 0.14 73.84 20:25:02 20:18:01 all 20.96 0.00 3.43 2.45 0.07 73.10 20:25:02 20:18:01 0 20.99 0.00 3.64 0.55 0.07 74.76 20:25:02 20:18:01 1 20.71 0.00 3.62 2.47 0.07 73.14 20:25:02 20:18:01 2 21.56 0.00 2.61 4.08 0.07 71.69 20:25:02 20:18:01 3 20.62 0.00 4.26 7.97 0.08 67.07 20:25:02 20:18:01 4 21.39 0.00 3.30 2.54 0.07 72.71 20:25:02 20:18:01 5 20.80 0.00 3.60 0.45 0.07 75.08 20:25:02 20:18:01 6 21.43 0.00 3.15 1.44 0.05 73.93 20:25:02 20:18:01 7 20.18 0.00 3.22 0.13 0.07 76.40 20:25:02 20:19:01 all 0.02 0.00 0.01 0.00 0.01 99.96 20:25:02 20:19:01 0 0.05 0.00 0.03 0.00 0.00 99.92 20:25:02 20:19:01 1 0.02 0.00 0.00 0.00 0.02 99.97 20:25:02 20:19:01 2 0.03 0.00 0.02 0.00 0.00 99.95 20:25:02 20:19:01 3 0.02 0.00 0.00 0.00 0.02 99.97 20:25:02 20:19:01 4 0.02 0.00 0.00 0.02 0.00 99.97 20:25:02 20:19:01 5 0.00 0.00 0.00 0.00 0.02 99.98 20:25:02 20:19:01 6 0.00 0.00 0.00 0.02 0.02 99.97 20:25:02 20:19:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:25:02 20:20:01 all 0.92 0.00 0.40 0.40 0.02 98.26 20:25:02 20:20:01 0 2.17 0.00 0.38 0.30 0.02 97.13 20:25:02 20:20:01 1 0.93 0.00 0.42 0.45 0.00 98.20 20:25:02 20:20:01 2 0.55 0.00 0.23 0.50 0.02 98.69 20:25:02 20:20:01 3 0.80 0.00 0.37 0.10 0.03 98.70 20:25:02 20:20:01 4 1.10 0.00 0.64 0.32 0.03 97.91 20:25:02 20:20:01 5 0.48 0.00 0.30 0.13 0.02 99.07 20:25:02 20:20:01 6 0.45 0.00 0.27 1.35 0.00 97.93 20:25:02 20:20:01 7 0.84 0.00 0.60 0.07 0.02 98.48 20:25:02 20:21:01 all 0.02 0.00 0.01 0.01 0.01 99.95 20:25:02 20:21:01 0 0.03 0.00 0.00 0.00 0.02 99.95 20:25:02 20:21:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:25:02 20:21:01 2 0.05 0.00 0.02 0.00 0.02 99.92 20:25:02 20:21:01 3 0.00 0.00 0.02 0.00 0.02 99.97 20:25:02 20:21:01 4 0.03 0.00 0.02 0.03 0.00 99.92 20:25:02 20:21:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:25:02 20:21:01 6 0.00 0.00 0.02 0.03 0.00 99.95 20:25:02 20:21:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:25:02 20:22:01 all 0.08 0.00 0.01 0.01 0.01 99.90 20:25:02 20:22:01 0 0.03 0.00 0.00 0.00 0.00 99.97 20:25:02 20:22:01 1 0.02 0.00 0.02 0.00 0.02 99.95 20:25:02 20:22:01 2 0.51 0.00 0.00 0.00 0.00 99.49 20:25:02 20:22:01 3 0.03 0.00 0.02 0.00 0.02 99.93 20:25:02 20:22:01 4 0.02 0.00 0.00 0.02 0.02 99.95 20:25:02 20:22:01 5 0.00 0.00 0.02 0.00 0.00 99.98 20:25:02 20:22:01 6 0.00 0.00 0.03 0.03 0.02 99.92 20:25:02 20:22:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:25:02 20:23:01 all 0.02 0.00 0.01 0.01 0.01 99.96 20:25:02 20:23:01 0 0.03 0.00 0.02 0.00 0.02 99.93 20:25:02 20:23:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:25:02 20:23:01 2 0.03 0.00 0.00 0.00 0.02 99.95 20:25:02 20:23:01 3 0.03 0.00 0.02 0.00 0.02 99.93 20:25:02 20:23:01 4 0.02 0.00 0.02 0.00 0.00 99.97 20:25:02 20:23:01 5 0.02 0.00 0.00 0.02 0.00 99.97 20:25:02 20:23:01 6 0.03 0.00 0.00 0.03 0.00 99.93 20:25:02 20:23:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:25:02 20:24:01 all 0.04 0.00 0.01 0.00 0.06 99.89 20:25:02 20:24:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:25:02 20:24:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:25:02 20:24:01 2 0.20 0.00 0.03 0.00 0.00 99.77 20:25:02 20:24:01 3 0.02 0.00 0.03 0.00 0.50 99.45 20:25:02 20:24:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:25:02 20:24:01 5 0.02 0.00 0.00 0.00 0.02 99.97 20:25:02 20:24:01 6 0.00 0.00 0.00 0.02 0.00 99.98 20:25:02 20:24:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:25:02 20:25:01 all 1.12 0.00 0.30 0.02 0.02 98.54 20:25:02 20:25:01 0 1.01 0.00 0.37 0.02 0.02 98.59 20:25:02 20:25:01 1 0.75 0.00 0.32 0.05 0.02 98.87 20:25:02 20:25:01 2 1.57 0.00 0.15 0.00 0.02 98.26 20:25:02 20:25:01 3 0.88 0.00 0.42 0.02 0.03 98.65 20:25:02 20:25:01 4 1.22 0.00 0.27 0.00 0.02 98.50 20:25:02 20:25:01 5 1.70 0.00 0.30 0.03 0.00 97.96 20:25:02 20:25:01 6 0.70 0.00 0.27 0.03 0.02 98.98 20:25:02 20:25:01 7 1.15 0.00 0.30 0.02 0.02 98.51 20:25:02 Average: all 5.20 0.00 1.14 1.19 0.03 92.44 20:25:02 Average: 0 5.21 0.00 1.13 0.24 0.03 93.39 20:25:02 Average: 1 5.14 0.00 1.02 1.06 0.02 92.76 20:25:02 Average: 2 5.48 0.00 1.12 0.60 0.03 92.76 20:25:02 Average: 3 5.03 0.00 1.29 3.28 0.09 90.31 20:25:02 Average: 4 5.22 0.00 1.16 0.74 0.03 92.85 20:25:02 Average: 5 5.03 0.00 1.01 0.92 0.02 93.01 20:25:02 Average: 6 5.36 0.00 1.15 1.99 0.02 91.48 20:25:02 Average: 7 5.16 0.00 1.22 0.67 0.03 92.92 20:25:02 20:25:02 20:25:02