Pull request #251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 362d6874ee91c00a73543560bf42b68c66de4331+b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (613ca530339b80ee42156d62cbe98fea22f8f53c) 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-ssh5341724077455073468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh35443728931304674.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh979928381633678212.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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12574186100982370792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6111595109676387787.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9887971557785014814.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5926 in /w/workspace/gexfoundry_device-rest-go_PR-251 [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-251 # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 362d6874ee91c00a73543560bf42b68c66de4331 Merge succeeded, producing 362d6874ee91c00a73543560bf42b68c66de4331 Checking out Revision 362d6874ee91c00a73543560bf42b68c66de4331 (PR-251) > 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:55:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:55:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:55:17 ========================================================= 23:55:17 EdgeX Global Pipelines Version Info 23:55:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:55:18 ------------------- 23:55:18 stable info: 23:55:18 ------------------- 23:55:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:55:18 Message: update stable to v1.0.244 23:55:18 ------------------- 23:55:18 experimental info: 23:55:18 ------------------- 23:55:18 Commited By: **** collab-it+edgex@linuxfoundation.org 23:55:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:55:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:55:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 362d687 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:20 provisioning config files... 23:55:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config12164221637419051273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:20 ---> docker-login.sh 23:55:20 nexus3.edgexfoundry.org:10001 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10002 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10003 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10004 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 docker.io 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 ---> docker-login.sh ends [Pipeline] } 23:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:55:22 + git rev-list -1 --merges 362d6874ee91c00a73543560bf42b68c66de4331~1..362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo 23:55:22 -----------> git rev-list -1 --merges 362d6874ee91c00a73543560bf42b68c66de4331~1..362d6874ee91c00a73543560bf42b68c66de4331 362d6874ee91c00a73543560bf42b68c66de4331 [false] [Pipeline] sh 23:55:22 + git log --format=format:%s -1 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo 23:55:22 ========================================================= 23:55:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:55:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:23 + git log --format=format:%s -1 362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] echo 23:55:23 [semverPrep] GIT_COMMIT: 362d6874ee91c00a73543560bf42b68c66de4331, Commit Message: feat!: updates for common config [Pipeline] echo 23:55:23 [semverPrep] This is not a build commit. [Pipeline] sh 23:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:23 + grep -v github /etc/ssh/ssh_known_hosts 23:55:23 + [ -e /tmp/ssh_known_hosts ] 23:55:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:55:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:55:23 + sudo tee -a /etc/ssh/ssh_known_hosts 23:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:24 23:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:25 0.1.4: Pulling from edgex-devops/py-git-semver 23:55:25 b85a868b505f: Pulling fs layer 23:55:25 e2be974225ed: Pulling fs layer 23:55:25 339a4e72a1f5: Pulling fs layer 23:55:25 988bab9f4d93: Pulling fs layer 23:55:25 1469e6f7b9e6: Pulling fs layer 23:55:25 eaf3925da568: Pulling fs layer 23:55:25 bab4dde63d76: Pulling fs layer 23:55:25 bde34c3a00c8: Pulling fs layer 23:55:25 b352a97aabf1: Pulling fs layer 23:55:25 4872d77fe225: Pulling fs layer 23:55:25 5851b861e8e6: Pulling fs layer 23:55:25 bab4dde63d76: Waiting 23:55:25 bde34c3a00c8: Waiting 23:55:25 b352a97aabf1: Waiting 23:55:25 4872d77fe225: Waiting 23:55:25 5851b861e8e6: Waiting 23:55:25 1469e6f7b9e6: Waiting 23:55:25 eaf3925da568: Waiting 23:55:25 988bab9f4d93: Waiting 23:55:25 339a4e72a1f5: Verifying Checksum 23:55:25 339a4e72a1f5: Download complete 23:55:25 988bab9f4d93: Verifying Checksum 23:55:25 988bab9f4d93: Download complete 23:55:25 1469e6f7b9e6: Verifying Checksum 23:55:25 1469e6f7b9e6: Download complete 23:55:25 b85a868b505f: Verifying Checksum 23:55:25 b85a868b505f: Download complete 23:55:25 eaf3925da568: Verifying Checksum 23:55:25 eaf3925da568: Download complete 23:55:25 bde34c3a00c8: Verifying Checksum 23:55:25 bde34c3a00c8: Download complete 23:55:25 b352a97aabf1: Download complete 23:55:25 4872d77fe225: Verifying Checksum 23:55:25 5851b861e8e6: Verifying Checksum 23:55:25 5851b861e8e6: Download complete 23:55:25 bab4dde63d76: Verifying Checksum 23:55:25 bab4dde63d76: Download complete 23:55:26 e2be974225ed: Verifying Checksum 23:55:26 e2be974225ed: Download complete 23:55:26 b85a868b505f: Pull complete 23:55:26 e2be974225ed: Pull complete 23:55:27 339a4e72a1f5: Pull complete 23:55:27 988bab9f4d93: Pull complete 23:55:27 1469e6f7b9e6: Pull complete 23:55:27 eaf3925da568: Pull complete 23:55:29 bab4dde63d76: Pull complete 23:55:29 bde34c3a00c8: Pull complete 23:55:29 b352a97aabf1: Pull complete 23:55:29 4872d77fe225: Pull complete 23:55:29 5851b861e8e6: Pull complete 23:55:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:30 prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container 23:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:55:31 $ docker top 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 -eo pid,comm 23:55:31 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). 23:55:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:31 [ssh-agent] Looking for ssh-agent implementation... 23:55:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:31 $ docker exec 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent 23:55:31 SSH_AUTH_SOCK=/tmp/ssh-yKLITSBxFLD0/agent.32 23:55:31 SSH_AGENT_PID=38 23:55:31 Running ssh-add (command line suppressed) 23:55:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_14142073787983111861.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_14142073787983111861.key) 23:55:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:32 + git tag --points-at HEAD [Pipeline] } 23:55:32 $ docker exec --env ******** --env ******** 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent -k 23:55:32 unset SSH_AUTH_SOCK; 23:55:32 unset SSH_AGENT_PID; 23:55:32 echo Agent pid 38 killed; 23:55:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:55:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:32 [ssh-agent] Looking for ssh-agent implementation... 23:55:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:32 $ docker exec 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent 23:55:32 SSH_AUTH_SOCK=/tmp/ssh-V9eRUsnkKb5s/agent.70 23:55:32 SSH_AGENT_PID=76 23:55:32 Running ssh-add (command line suppressed) 23:55:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_15798336589420935234.key (/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/private_key_15798336589420935234.key) 23:55:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:33 + git semver init 23:55:33 2023-02-14 23:55:33,325 [run_init] DEBUG init version:0.0.0 force:False 23:55:33 2023-02-14 23:55:33,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver 23:55:33 2023-02-14 23:55:33,326 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-251/.semver 23:55:33 2023-02-14 23:55:33,326 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251, universal_newlines=False, shell=None, istream=None) 23:55:34 2023-02-14 23:55:34,412 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.git/info/exclude 23:55:34 2023-02-14 23:55:34,412 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 with force:False 23:55:34 2023-02-14 23:55:34,413 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 23:55:34 2023-02-14 23:55:34,415 [execute] INFO git cat-file --batch-check 23:55:34 2023-02-14 23:55:34,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 23:55:34 2023-02-14 23:55:34,421 [execute] INFO git cat-file --batch 23:55:34 2023-02-14 23:55:34,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 23:55:34 2023-02-14 23:55:34,427 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-251/.semver/PR-251 23:55:34 0.0.0 [Pipeline] } 23:55:34 $ docker exec --env ******** --env ******** 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 ssh-agent -k 23:55:34 unset SSH_AUTH_SOCK; 23:55:34 unset SSH_AGENT_PID; 23:55:34 echo Agent pid 76 killed; 23:55:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:35 + git semver [Pipeline] } 23:55:35 $ docker stop --time=1 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 23:55:36 $ docker rm -f --volumes 1e2b4eec412b7e25609a47ea85cb674c5c80d81968f181009b62a96cf9ac9f58 [Pipeline] // withDockerContainer [Pipeline] sh 23:55:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:55:37 Stashed 1 file(s) [Pipeline] echo 23:55:37 [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 23:55:38 provisioning config files... 23:55:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config1719051137976899580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:38 ---> docker-login.sh 23:55:38 nexus3.edgexfoundry.org:10001 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10002 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10003 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10004 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 docker.io 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 ---> docker-login.sh ends [Pipeline] } 23:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:39 ========================================================= 23:55:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:55:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:55:40 Sending build context to Docker daemon 10.83MB 23:55:40 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:55:40 Step 2/12 : FROM ${BASE} AS builder 23:55:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:55:40 213ec9aee27d: Pulling fs layer 23:55:40 4583459ba037: Pulling fs layer 23:55:40 93c1e223e6f2: Pulling fs layer 23:55:40 53926ce57604: Pulling fs layer 23:55:40 21b2b0c7a3f4: Pulling fs layer 23:55:40 22ff95d597cd: Pulling fs layer 23:55:40 12d6caf4c0d1: Pulling fs layer 23:55:40 96b7cbca73a9: Pulling fs layer 23:55:40 a7acece74701: Pulling fs layer 23:55:40 53926ce57604: Waiting 23:55:40 21b2b0c7a3f4: Waiting 23:55:40 22ff95d597cd: Waiting 23:55:40 12d6caf4c0d1: Waiting 23:55:40 96b7cbca73a9: Waiting 23:55:40 a7acece74701: Waiting 23:55:40 93c1e223e6f2: Verifying Checksum 23:55:40 93c1e223e6f2: Download complete 23:55:40 4583459ba037: Download complete 23:55:40 21b2b0c7a3f4: Download complete 23:55:40 22ff95d597cd: Verifying Checksum 23:55:40 22ff95d597cd: Download complete 23:55:40 213ec9aee27d: Verifying Checksum 23:55:40 213ec9aee27d: Download complete 23:55:40 12d6caf4c0d1: Download complete 23:55:40 213ec9aee27d: Pull complete 23:55:40 4583459ba037: Pull complete 23:55:40 93c1e223e6f2: Pull complete 23:55:41 a7acece74701: Verifying Checksum 23:55:41 a7acece74701: Download complete 23:55:41 53926ce57604: Verifying Checksum 23:55:41 53926ce57604: Download complete 23:55:41 96b7cbca73a9: Verifying Checksum 23:55:41 96b7cbca73a9: Download complete 23:55:46 53926ce57604: Pull complete 23:55:46 21b2b0c7a3f4: Pull complete 23:55:46 22ff95d597cd: Pull complete 23:55:46 12d6caf4c0d1: Pull complete 23:55:48 96b7cbca73a9: Pull complete 23:55:48 a7acece74701: Pull complete 23:55:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:55:48 ---> db6d94c90886 23:55:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:55:50 ---> Running in af14e499153a 23:55:50 Removing intermediate container af14e499153a 23:55:50 ---> 4fd056802439 23:55:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:50 ---> Running in 26a946e9239e 23:55:50 Removing intermediate container 26a946e9239e 23:55:50 ---> 1348479fa0fd 23:55:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:55:50 ---> Running in f6c075e0ce10 23:55:50 Removing intermediate container f6c075e0ce10 23:55:50 ---> 536979839812 23:55:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:55:50 ---> Running in d1629974945e 23:55:50 Removing intermediate container d1629974945e 23:55:50 ---> 6eeb0b391af4 23:55:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:50 ---> Running in 0effb571d5e8 23:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:55:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:55:51 (2/4) Installing libedit (20210910.3.1-r0) 23:55:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:55:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:55:51 Executing busybox-1.35.0-r17.trigger 23:55:51 OK: 216 MiB in 55 packages 23:55:51 Removing intermediate container 0effb571d5e8 23:55:51 ---> 738f7cddb89c 23:55:51 Step 8/12 : WORKDIR /device-rest-go 23:55:51 ---> Running in 7ab15a4d0924 23:55:51 Removing intermediate container 7ab15a4d0924 23:55:51 ---> c48e445df7e3 23:55:51 Step 9/12 : COPY go.mod vendor* ./ 23:55:51 ---> 624ffd8ee848 23:55:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:51 ---> Running in 0b60d706f6fb 23:55:53 Still waiting to schedule task 23:55:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:56:30 Removing intermediate container 0b60d706f6fb 23:56:30 ---> f5984022f285 23:56:30 Step 11/12 : COPY . . 23:56:30 ---> 727b3e3aac67 23:56:30 Step 12/12 : RUN $MAKE 23:56:30 ---> Running in 6f73c7b807f6 23:56:30 noop 23:56:30 Removing intermediate container 6f73c7b807f6 23:56:30 ---> 9d6aefc8cd46 23:56:30 Successfully built 9d6aefc8cd46 23:56:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:31 + docker inspect -f . ci-base-image-x86_64 23:56:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:31 prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container 23:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:31 $ docker top 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:31 + go version 23:56:31 go version go1.18.7 linux/amd64 [Pipeline] } 23:56:32 $ docker stop --time=1 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 23:56:33 $ docker rm -f --volumes 82a48f4bee70d5a8cbb6cdf67c29630851d8e258ccb2211863a86a43b8e9a494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:34 + docker inspect -f . ci-base-image-x86_64 23:56:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:34 prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container 23:56:34 $ 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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:34 $ docker top 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] fileExists [Pipeline] sh 23:56:35 + make test 23:56:35 go test ./... -coverprofile=coverage.out ./... 23:56:35 ? github.com/edgexfoundry/device-rest-go [no test files] 23:56:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:56:45 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements 23:56:53 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:56:53 go vet ./... 23:56:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5928 in /w/workspace/gexfoundry_device-rest-go_PR-251 [Pipeline] { [Pipeline] ws 23:56:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:56:56 The recommended git tool is: git 23:56:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:56 ./bin/test-attribution-txt.sh 23:56:56 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:56:56 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:56:56 $ docker stop --time=1 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb 23:56:58 $ docker rm -f --volumes 107cb801a881520264c58d99ccc6eb9732552d9196eb532f66c61309e5b53ecb [Pipeline] // withDockerContainer [Pipeline] sh 23:56:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:56:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:59 + ls -al . 23:56:59 total 188 23:56:59 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 23:56 . 23:56:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:55 .. 23:56:59 -rw-rw-r-- 1 jenkins jenkins 151 Feb 14 23:55 .dockerignore 23:56:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:56 .git 23:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:55 .github 23:56:59 -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 23:55 .gitignore 23:56:59 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 23:55 .golangci.yml 23:56:59 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:55 .semver 23:56:59 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 14 23:55 Attribution.txt 23:56:59 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 14 23:55 CHANGELOG.md 23:56:59 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 14 23:55 Dockerfile 23:56:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:55 GOVERNANCE.md 23:56:59 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 23:55 Jenkinsfile 23:56:59 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 23:55 LICENSE 23:56:59 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 14 23:55 Makefile 23:56:59 -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 23:55 OWNERS.md 23:56:59 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 14 23:55 README.md 23:56:59 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:55 VERSION 23:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:55 bin 23:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:55 cmd 23:56:59 -rw-r--r-- 1 jenkins jenkins 13744 Feb 14 23:56 coverage.out 23:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:55 driver 23:56:59 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 14 23:55 go.mod 23:56:59 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 23:55 go.sum 23:56:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:55 snap 23:56:59 -rw-rw-r-- 1 jenkins jenkins 713 Feb 14 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:00 + 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=362d6874ee91c00a73543560bf42b68c66de4331 --label arch=amd64 --label version=0.0.0 . 23:57:00 Sending build context to Docker daemon 10.84MB 23:57:00 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:57:00 Step 2/25 : FROM ${BASE} AS builder 23:57:00 ---> 9d6aefc8cd46 23:57:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:57:00 ---> Running in 44527f296a20 23:57:00 Removing intermediate container 44527f296a20 23:57:00 ---> cfbdc8108da4 23:57:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:00 ---> Running in e7cc6fd7c0e5 23:57:00 Removing intermediate container e7cc6fd7c0e5 23:57:00 ---> 2b2e92ca0818 23:57:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:57:00 ---> Running in 6becf6587d8f 23:57:00 Removing intermediate container 6becf6587d8f 23:57:00 ---> 3e512e79caec 23:57:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:57:00 ---> Running in 662506adda10 23:57:00 Removing intermediate container 662506adda10 23:57:00 ---> fc11e9277986 23:57:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:00 ---> Running in 5a2817ebea42 23:57:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:57:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:57:01 OK: 216 MiB in 55 packages 23:57:01 Removing intermediate container 5a2817ebea42 23:57:01 ---> a72d0494fa01 23:57:01 Step 8/25 : WORKDIR /device-rest-go 23:57:01 ---> Running in 260b697aa9fa 23:57:01 Removing intermediate container 260b697aa9fa 23:57:01 ---> 41c6039a4c56 23:57:01 Step 9/25 : COPY go.mod vendor* ./ 23:57:01 ---> 3c7f63aa7265 23:57:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:01 ---> Running in f6d96c119f87 23:57:01 using credential edgex-jenkins-ssh 23:57:01 Cloning the remote Git repository 23:57:01 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:57:02 > git init /w/workspace/device-rest-go/1 # timeout=10 23:57:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:57:02 > git --version # timeout=10 23:57:02 > git --version # 'git version 2.25.1' 23:57:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:02 Removing intermediate container f6d96c119f87 23:57:02 ---> a8e0320b45eb 23:57:02 Step 11/25 : COPY . . 23:57:02 ---> 38191810bbe8 23:57:02 Step 12/25 : RUN $MAKE 23:57:02 ---> Running in a60ff6b4002d 23:57:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:57:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:57:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:06 Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit 362d6874ee91c00a73543560bf42b68c66de4331 23:57:06 Merge succeeded, producing 362d6874ee91c00a73543560bf42b68c66de4331 23:57:06 Checking out Revision 362d6874ee91c00a73543560bf42b68c66de4331 (PR-251) 23:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:57:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:57:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:57:06 > git config core.sparsecheckout # timeout=10 23:57:06 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 23:57:06 > git remote # timeout=10 23:57:06 > git config --get remote.origin.url # timeout=10 23:57:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:06 > git merge b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 23:57:06 > git rev-parse HEAD^{commit} # timeout=10 23:57:06 > git config core.sparsecheckout # timeout=10 23:57:06 > git checkout -f 362d6874ee91c00a73543560bf42b68c66de4331 # timeout=10 23:57:10 Commit message: "feat!: updates for common config" 23:57:10 > git --version # timeout=10 23:57:10 > git --version # 'git version 2.25.1' 23:57:10 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:57:11 % Total % Received % Xferd Average Speed Time Time Time Current 23:57:11 Dload Upload Total Spent Left Speed 23:57:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 23:57:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:57:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:57:12 + sudo tee /etc/docker/daemon.new 23:57:12 { 23:57:12 "registry-mirrors": [ 23:57:12 "https://nexus3.edgexfoundry.org:10001" 23:57:12 ], 23:57:12 "bip": "10.250.0.254/24", 23:57:12 "hosts": [ 23:57:12 "tcp://0.0.0.0:5555", 23:57:12 "unix:///var/run/docker.sock" 23:57:12 ], 23:57:12 "mtu": 1458, 23:57:12 "selinux-enabled": true, 23:57:12 "seccomp-profile": "/etc/docker/seccomp.json" 23:57:12 } [Pipeline] sh 23:57:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:57:13 + sudo service docker restart 23:57:21 Removing intermediate container a60ff6b4002d 23:57:21 ---> dbfeb03bb6cd 23:57:21 Step 13/25 : FROM alpine:3.16 23:57:21 3.16: Pulling from library/alpine 23:57:21 ef5531b6e74e: Pulling fs layer 23:57:22 ef5531b6e74e: Verifying Checksum 23:57:22 ef5531b6e74e: Download complete 23:57:22 ef5531b6e74e: Pull complete 23:57:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 23:57:22 Status: Downloaded newer image for alpine:3.16 23:57:22 ---> dfd21b5a31f5 23:57:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:57:22 ---> Running in 3f9ed15fab66 23:57:22 Removing intermediate container 3f9ed15fab66 23:57:22 ---> 2a4f88fa2920 23:57:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:57:22 ---> Running in 81d6cd316737 23:57:22 Removing intermediate container 81d6cd316737 23:57:22 ---> 12f0e7bd9002 23:57:22 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:57:22 ---> Running in fc796a12fb47 23:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:57:22 (1/1) Installing dumb-init (1.2.5-r1) 23:57:22 Executing busybox-1.35.0-r17.trigger 23:57:22 OK: 6 MiB in 15 packages 23:57:23 Removing intermediate container fc796a12fb47 23:57:23 ---> 25ea52112281 23:57:23 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:57:23 ---> 0229c4cd3fbe 23:57:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:57:23 ---> ae4a527b792a 23:57:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:57:23 ---> c29a86f44070 23:57:23 Step 20/25 : EXPOSE 59986 23:57:23 ---> Running in d2cf563f6248 23:57:23 Removing intermediate container d2cf563f6248 23:57:23 ---> 51e3b0875a3c 23:57:23 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:57:23 ---> Running in d10d0a664242 23:57:24 Removing intermediate container d10d0a664242 23:57:24 ---> e68e05c6e8bd 23:57:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:57:24 ---> Running in 6bb48817bbeb 23:57:24 Removing intermediate container 6bb48817bbeb 23:57:24 ---> d36a1069a5fe 23:57:24 Step 23/25 : LABEL arch=amd64 23:57:24 ---> Running in f917e06e7364 23:57:24 Removing intermediate container f917e06e7364 23:57:24 ---> 7d6df1944234 23:57:24 Step 24/25 : LABEL git_sha=362d6874ee91c00a73543560bf42b68c66de4331 23:57:24 ---> Running in ad3c817b668a 23:57:24 Removing intermediate container ad3c817b668a 23:57:24 ---> 0dfa01f9d2d5 23:57:24 Step 25/25 : LABEL version=0.0.0 23:57:24 ---> Running in eed8834f793b 23:57:24 Removing intermediate container eed8834f793b 23:57:24 ---> 9812b2397bc2 23:57:24 [Warning] One or more build-args [ARCH] were not consumed 23:57:24 Successfully built 9812b2397bc2 23:57:24 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:25 23:57:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:25 latest: Pulling from edgex-lftools-log-publisher 23:57:25 5eb5b503b376: Pulling fs layer 23:57:25 5c69ac0246d0: Pulling fs layer 23:57:25 ec43610c2a17: Pulling fs layer 23:57:25 3a2ae6a8a46f: Pulling fs layer 23:57:25 33b1e0a273af: Pulling fs layer 23:57:25 5d3b04190fa2: Pulling fs layer 23:57:25 2f39f015ded8: Pulling fs layer 23:57:25 3a2ae6a8a46f: Waiting 23:57:25 33b1e0a273af: Waiting 23:57:25 5d3b04190fa2: Waiting 23:57:25 2f39f015ded8: Waiting 23:57:25 5c69ac0246d0: Download complete 23:57:25 3a2ae6a8a46f: Verifying Checksum 23:57:25 3a2ae6a8a46f: Download complete 23:57:25 ec43610c2a17: Verifying Checksum 23:57:25 ec43610c2a17: Download complete 23:57:25 33b1e0a273af: Verifying Checksum 23:57:25 33b1e0a273af: Download complete 23:57:25 5d3b04190fa2: Verifying Checksum 23:57:25 5d3b04190fa2: Download complete 23:57:26 5eb5b503b376: Verifying Checksum 23:57:26 5eb5b503b376: Download complete 23:57:26 2f39f015ded8: Download complete 23:57:27 5eb5b503b376: Pull complete 23:57:27 5c69ac0246d0: Pull complete 23:57:27 ec43610c2a17: Pull complete 23:57:27 3a2ae6a8a46f: Pull complete 23:57:28 33b1e0a273af: Pull complete 23:57:28 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:31 provisioning config files... 23:57:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10001607549460296105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:31 ---> docker-login.sh 23:57:31 nexus3.edgexfoundry.org:10001 23:57:32 2f39f015ded8: Pull complete 23:57:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:32 Configure a credential helper to remove this warning. See 23:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:32 23:57:32 Login Succeeded 23:57:32 nexus3.edgexfoundry.org:10002 23:57:32 prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container 23:57:32 $ 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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:32 Configure a credential helper to remove this warning. See 23:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:32 23:57:32 Login Succeeded 23:57:32 nexus3.edgexfoundry.org:10003 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 nexus3.edgexfoundry.org:10004 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:33 Configure a credential helper to remove this warning. See 23:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:33 23:57:33 Login Succeeded 23:57:33 docker.io 23:57:33 $ docker top 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 -eo pid,comm 23:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:34 Configure a credential helper to remove this warning. See 23:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:34 23:57:34 Login Succeeded 23:57:34 ---> docker-login.sh ends [Pipeline] } 23:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 23:57:34 ---> job-cost.sh 23:57:34 lf-activate-venv: SKIPPING 23:57:34 INFO: No Stack... [Pipeline] echo 23:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:34 ========================================================= 23:57:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:57:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:34 INFO: Retrieving Pricing Info for: v3-standard-8 23:57:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:57:35 INFO: Archiving Costs [Pipeline] sh 23:57:35 + cat /w/workspace/gexfoundry_device-rest-go_PR-251/archives/cost.csv 23:57:35 + cut -d, -f6 [Pipeline] lock 23:57:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] 23:57:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] did not exist. Created. 23:57:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:57:35 + echo total: 0.2199999988079071 [Pipeline] stash 23:57:35 Stashed 1 file(s) [Pipeline] } 23:57:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:57:36 $ docker stop --time=1 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 23:57:36 Sending build context to Docker daemon 139.8kB 23:57:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:57:36 Step 2/12 : FROM ${BASE} AS builder 23:57:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:37 9b18e9b68314: Pulling fs layer 23:57:37 35d82f9e3411: Pulling fs layer 23:57:37 e16973657156: Pulling fs layer 23:57:37 fc693d55d65f: Pulling fs layer 23:57:37 7e9fc2657dce: Pulling fs layer 23:57:37 dda99020689f: Pulling fs layer 23:57:37 db1c61fa0a46: Pulling fs layer 23:57:37 891c053d2c06: Pulling fs layer 23:57:37 dda99020689f: Waiting 23:57:37 db1c61fa0a46: Waiting 23:57:37 891c053d2c06: Waiting 23:57:37 fc693d55d65f: Waiting 23:57:37 7e9fc2657dce: Waiting 23:57:37 e16973657156: Verifying Checksum 23:57:37 e16973657156: Download complete 23:57:37 35d82f9e3411: Download complete 23:57:37 7e9fc2657dce: Verifying Checksum 23:57:37 7e9fc2657dce: Download complete 23:57:37 dda99020689f: Verifying Checksum 23:57:37 dda99020689f: Download complete 23:57:37 9b18e9b68314: Verifying Checksum 23:57:37 $ docker rm -f --volumes 4a709fa867e34474f9ac0e863c34af21195bbb642b0c1dab77e41c02d1b45b65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:57:38 9b18e9b68314: Pull complete 23:57:38 891c053d2c06: Verifying Checksum 23:57:38 891c053d2c06: Download complete 23:57:38 35d82f9e3411: Pull complete 23:57:38 e16973657156: Pull complete 23:57:39 db1c61fa0a46: Verifying Checksum 23:57:40 fc693d55d65f: Verifying Checksum 23:57:40 fc693d55d65f: Download complete 23:57:52 fc693d55d65f: Pull complete 23:57:52 7e9fc2657dce: Pull complete 23:57:52 dda99020689f: Pull complete 23:57:56 db1c61fa0a46: Pull complete 23:57:58 891c053d2c06: Pull complete 23:57:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:57:58 ---> f96f9c87975a 23:57:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:57:59 ---> Running in e11b5e9d31c5 23:57:59 Removing intermediate container e11b5e9d31c5 23:57:59 ---> 5903c19cdfd5 23:57:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:59 ---> Running in 0b7fecc27b8c 23:57:59 Removing intermediate container 0b7fecc27b8c 23:57:59 ---> e7b0a33c3f78 23:57:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:57:59 ---> Running in c73b91a93d40 23:58:00 Removing intermediate container c73b91a93d40 23:58:00 ---> aefc8640a245 23:58:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:58:00 ---> Running in d9a9ea2db087 23:58:00 Removing intermediate container d9a9ea2db087 23:58:00 ---> cabecacf15cf 23:58:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:00 ---> Running in 7a6c072818d8 23:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:58:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:58:03 (2/4) Installing libedit (20210910.3.1-r0) 23:58:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:58:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:58:03 Executing busybox-1.35.0-r17.trigger 23:58:03 OK: 226 MiB in 55 packages 23:58:04 Removing intermediate container 7a6c072818d8 23:58:04 ---> cc90827c7036 23:58:04 Step 8/12 : WORKDIR /device-rest-go 23:58:04 ---> Running in 18a444157a56 23:58:04 Removing intermediate container 18a444157a56 23:58:04 ---> 26b22d22b4f9 23:58:04 Step 9/12 : COPY go.mod vendor* ./ 23:58:05 ---> 315c080218c4 23:58:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:05 ---> Running in 0a5e7b848e73 23:59:27 Removing intermediate container 0a5e7b848e73 23:59:27 ---> 587ee0bb5f24 23:59:27 Step 11/12 : COPY . . 23:59:27 ---> fc5f9f7dc564 23:59:27 Step 12/12 : RUN $MAKE 23:59:27 ---> Running in 69fbcc359a3a 23:59:27 noop 23:59:27 Removing intermediate container 69fbcc359a3a 23:59:27 ---> 1363ada400df 23:59:27 Successfully built 1363ada400df 23:59:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:27 + docker inspect -f . ci-base-image-arm64 23:59:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:27 prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container 23:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:59:29 $ docker top dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:30 + go version 23:59:30 go version go1.18.7 linux/arm64 [Pipeline] } 23:59:30 $ docker stop --time=1 dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 23:59:33 $ docker rm -f --volumes dcf1862da4b603a58b377500c440ab3e664f23c9d8dedc4a6ad07943de960863 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:34 + docker inspect -f . ci-base-image-arm64 23:59:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:34 prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container 23:59:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:59:35 $ docker top 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:36 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 23:59:37 + make test 23:59:37 go test ./... -coverprofile=coverage.out ./... 23:59:39 ? github.com/edgexfoundry/device-rest-go [no test files] 00:01:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:01:15 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.9% of statements 00:01:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:01:15 go vet ./... 00:01:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:01:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:01:54 ./bin/test-attribution-txt.sh 00:01:54 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:01:54 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:01:54 $ docker stop --time=1 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f 00:01:56 $ docker rm -f --volumes 353742efb66db87d6b27c51f6538feab2d9a73fe9fb08d207eece086a0549d1f [Pipeline] // withDockerContainer [Pipeline] sh 00:01:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:58 Warning: overwriting stash ‘coverage-report’ 00:01:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:01:59 + ls -al . 00:01:59 total 184 00:01:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:59 . 00:01:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:57 .. 00:01:59 -rw-rw-r-- 1 jenkins jenkins 151 Feb 14 23:57 .dockerignore 00:01:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:57 .git 00:01:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:57 .github 00:01:59 -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 23:57 .gitignore 00:01:59 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 23:57 .golangci.yml 00:01:59 -rw-rw-r-- 1 jenkins jenkins 8996 Feb 14 23:57 Attribution.txt 00:01:59 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 14 23:57 CHANGELOG.md 00:01:59 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 14 23:57 Dockerfile 00:01:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:57 GOVERNANCE.md 00:01:59 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 23:57 Jenkinsfile 00:01:59 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 23:57 LICENSE 00:01:59 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 14 23:57 Makefile 00:01:59 -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 23:57 OWNERS.md 00:01:59 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 14 23:57 README.md 00:01:59 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:55 VERSION 00:01:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:57 bin 00:01:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:57 cmd 00:01:59 -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:01 coverage.out 00:01:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:57 driver 00:01:59 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 14 23:57 go.mod 00:01:59 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 23:57 go.sum 00:01:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:57 snap 00:01:59 -rw-rw-r-- 1 jenkins jenkins 713 Feb 14 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:59 + 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=362d6874ee91c00a73543560bf42b68c66de4331 --label arch=arm64 --label version=0.0.0 . 00:01:59 Sending build context to Docker daemon 154.1kB 00:02:00 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:02:00 Step 2/25 : FROM ${BASE} AS builder 00:02:00 ---> 1363ada400df 00:02:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:02:00 ---> Running in f01371a45983 00:02:00 Removing intermediate container f01371a45983 00:02:00 ---> 1045365b08ce 00:02:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:02:00 ---> Running in c4f03129ea8f 00:02:01 Removing intermediate container c4f03129ea8f 00:02:01 ---> 220ed841fe7f 00:02:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:02:01 ---> Running in 556ef6325557 00:02:01 Removing intermediate container 556ef6325557 00:02:01 ---> 7e104786fd77 00:02:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:02:01 ---> Running in 3def182aab56 00:02:01 Removing intermediate container 3def182aab56 00:02:01 ---> 376696b19507 00:02:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:02 ---> Running in fc9f4a51f9fe 00:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:02:05 OK: 226 MiB in 55 packages 00:02:06 Removing intermediate container fc9f4a51f9fe 00:02:06 ---> f318ee72669d 00:02:06 Step 8/25 : WORKDIR /device-rest-go 00:02:06 ---> Running in e160f33b1e4d 00:02:06 Removing intermediate container e160f33b1e4d 00:02:06 ---> 8630b1b48526 00:02:06 Step 9/25 : COPY go.mod vendor* ./ 00:02:09 ---> b89f4d179994 00:02:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:10 ---> Running in c3e90a321ed1 00:02:13 Removing intermediate container c3e90a321ed1 00:02:13 ---> cbf53bf5f35c 00:02:13 Step 11/25 : COPY . . 00:02:13 ---> d4cc7f588b48 00:02:13 Step 12/25 : RUN $MAKE 00:02:13 ---> Running in 56fba6feeba1 00:02:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:04:51 Removing intermediate container 56fba6feeba1 00:04:51 ---> 9167035e17b8 00:04:51 Step 13/25 : FROM alpine:3.16 00:04:51 3.16: Pulling from library/alpine 00:04:51 3760b48202b3: Pulling fs layer 00:04:51 3760b48202b3: Verifying Checksum 00:04:51 3760b48202b3: Download complete 00:04:51 3760b48202b3: Pull complete 00:04:51 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:04:51 Status: Downloaded newer image for alpine:3.16 00:04:51 ---> 4c81e5bf8899 00:04:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:04:51 ---> Running in 1054cfcbb084 00:04:51 Removing intermediate container 1054cfcbb084 00:04:51 ---> 4c8377e825b1 00:04:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:04:51 ---> Running in 189a2deb26de 00:04:51 Removing intermediate container 189a2deb26de 00:04:51 ---> cd1653d17bf8 00:04:51 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:04:51 ---> Running in ff8b70397efb 00:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:04:51 (1/1) Installing dumb-init (1.2.5-r1) 00:04:51 Executing busybox-1.35.0-r17.trigger 00:04:51 OK: 5 MiB in 15 packages 00:04:51 Removing intermediate container ff8b70397efb 00:04:51 ---> 23387f4c1b94 00:04:51 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:04:51 ---> af1d8d60ca86 00:04:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:04:51 ---> 7a4507d2f0b0 00:04:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:04:51 ---> 45c9ad7a8b8f 00:04:51 Step 20/25 : EXPOSE 59986 00:04:51 ---> Running in ea51d09fcf56 00:04:51 Removing intermediate container ea51d09fcf56 00:04:51 ---> c15097dd0d52 00:04:51 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:04:51 ---> Running in 53402fbab5ea 00:04:51 Removing intermediate container 53402fbab5ea 00:04:51 ---> a3542a92e14a 00:04:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:04:51 ---> Running in 790cf7e8d35d 00:04:51 Removing intermediate container 790cf7e8d35d 00:04:51 ---> 3b52543f6c0f 00:04:51 Step 23/25 : LABEL arch=arm64 00:04:51 ---> Running in 4e2c5726a678 00:04:51 Removing intermediate container 4e2c5726a678 00:04:51 ---> 6c26b8e0ec3d 00:04:51 Step 24/25 : LABEL git_sha=362d6874ee91c00a73543560bf42b68c66de4331 00:04:51 ---> Running in 55b651055d70 00:04:51 Removing intermediate container 55b651055d70 00:04:51 ---> 5e25f8622769 00:04:51 Step 25/25 : LABEL version=0.0.0 00:04:51 ---> Running in dc003cb4c7ae 00:04:51 Removing intermediate container dc003cb4c7ae 00:04:51 ---> caefd57bf710 00:04:51 [Warning] One or more build-args [ARCH] were not consumed 00:04:51 Successfully built caefd57bf710 00:04:51 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:52 00:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:53 arm64: Pulling from edgex-lftools-log-publisher 00:04:53 8998bd30e6a1: Pulling fs layer 00:04:53 04944245beec: Pulling fs layer 00:04:53 699f458cf7ca: Pulling fs layer 00:04:53 765212b225bb: Pulling fs layer 00:04:53 f23df028b6ca: Pulling fs layer 00:04:53 d65c8cfc05b1: Pulling fs layer 00:04:53 2437ff75d9bd: Pulling fs layer 00:04:53 f23df028b6ca: Waiting 00:04:53 d65c8cfc05b1: Waiting 00:04:53 765212b225bb: Waiting 00:04:53 2437ff75d9bd: Waiting 00:04:53 04944245beec: Verifying Checksum 00:04:53 04944245beec: Download complete 00:04:53 765212b225bb: Verifying Checksum 00:04:53 765212b225bb: Download complete 00:04:53 f23df028b6ca: Download complete 00:04:53 d65c8cfc05b1: Verifying Checksum 00:04:53 d65c8cfc05b1: Download complete 00:04:53 699f458cf7ca: Verifying Checksum 00:04:53 699f458cf7ca: Download complete 00:04:53 8998bd30e6a1: Verifying Checksum 00:04:53 8998bd30e6a1: Download complete 00:04:56 2437ff75d9bd: Verifying Checksum 00:04:56 2437ff75d9bd: Download complete 00:04:58 8998bd30e6a1: Pull complete 00:04:58 04944245beec: Pull complete 00:05:00 699f458cf7ca: Pull complete 00:05:00 765212b225bb: Pull complete 00:05:01 f23df028b6ca: Pull complete 00:05:01 d65c8cfc05b1: Pull complete 00:05:16 2437ff75d9bd: Pull complete 00:05:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:16 prd-ubuntu20.04-docker-arm64-4c-16g-5928 does not seem to be running inside a container 00:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:05:19 $ docker top 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:20 ---> job-cost.sh 00:05:20 lf-activate-venv: SKIPPING 00:05:20 INFO: No Stack... 00:05:21 INFO: Retrieving Pricing Info for: v3-standard-4 00:05:22 INFO: Archiving Costs [Pipeline] sh 00:05:22 + cut -d, -f6 00:05:22 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 00:05:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] 00:05:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] did not exist. Created. 00:05:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:23 /w/workspace/device-rest-go/1@tmp/durable-1032777d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:05:24 + echo total: 0.10999999940395355 [Pipeline] stash 00:05:24 Warning: overwriting stash ‘stack-cost’ 00:05:24 Stashed 1 file(s) [Pipeline] } 00:05:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:24 $ docker stop --time=1 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 00:05:26 $ docker rm -f --volumes 1ca217546fff9f126953e34b80a07e0d7adc8b0ec9be30164f829d7a055ec814 [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 00:05:27 provisioning config files... 00:05:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config303539538694741359tmp [Pipeline] { [Pipeline] sh 00:05:27 + set +x 00:05:27 + bash -s -- 00:05:27 + curl -s https://codecov.io/bash 00:05:27 00:05:27 _____ _ 00:05:27 / ____| | | 00:05:27 | | ___ __| | ___ ___ _____ __ 00:05:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:05:27 | |___| (_) | (_| | __/ (_| (_) \ V / 00:05:27 \_____\___/ \__,_|\___|\___\___/ \_/ 00:05:27 Bash-1.0.6 00:05:27 00:05:27 00:05:27 ==> git version 2.25.1 found 00:05:27 ==> 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 00:05:27 Release-Date: 2020-01-08 00:05:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:05:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:05:27 ==> Jenkins CI detected. 00:05:27 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-251 00:05:27 project root: . 00:05:27 --> token set from env 00:05:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:05:27 ==> Running gcov in . (disable via -X gcov) 00:05:27 ==> Python coveragepy not found 00:05:27 ==> Searching for coverage reports in: 00:05:27 + . 00:05:27 -> Found 1 reports 00:05:27 ==> Detecting git/mercurial file structure 00:05:27 ==> Reading reports 00:05:27 + ./coverage.out bytes=13744 00:05:27 ==> Appending adjustments 00:05:27 https://docs.codecov.io/docs/fixing-reports 00:05:27 + Found adjustments 00:05:27 ==> Gzipping contents 00:05:27 4.0K /tmp/codecov.Wq70TB.gz 00:05:27 ==> Uploading reports 00:05:27 url: https://codecov.io 00:05:27 query: branch=PR-251&commit=362d6874ee91c00a73543560bf42b68c66de4331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= 00:05:27 -> Pinging Codecov 00:05:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-251&commit=362d6874ee91c00a73543560bf42b68c66de4331&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=251&job=&cmd_args= 00:05:27 -> Uploading to 00:05:27 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/362d6874ee91c00a73543560bf42b68c66de4331/7663ec61-41db-4cdb-90fd-dde806ec67e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T000527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7e0c970bb80d3d7e88028b21edcd28deced0a5898959527c4b6499e5da681eb 00:05:27 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:27 Dload Upload Total Spent Left Speed 00:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 9971 --:--:-- --:--:-- --:--:-- 9971 00:05:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/362d6874ee91c00a73543560bf42b68c66de4331 [Pipeline] } 00:05:28 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 00:05:29 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-251/archives ] 00:05:29 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives 00:05:29 total 16 00:05:29 drwxr-xr-x 3 root root 4096 Feb 14 23:57 . 00:05:29 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 23:57 .. 00:05:29 drwxr-xr-x 2 root root 4096 Feb 14 23:57 cost 00:05:29 -rw-r--r-- 1 root root 86 Feb 14 23:57 cost.csv 00:05:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-251/archives 00:05:29 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-251/archives 00:05:29 total 16 00:05:29 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:57 . 00:05:29 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 23:57 .. 00:05:29 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 23:57 cost 00:05:29 -rw-r--r-- 1 jenkins jenkins 86 Feb 14 23:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:05:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:05:31 ---> package-listing.sh 00:05:31 ++ facter osfamily 00:05:31 ++ tr '[:upper:]' '[:lower:]' 00:05:31 + OS_FAMILY=debian 00:05:31 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-251 00:05:31 + START_PACKAGES=/tmp/packages_start.txt 00:05:31 + END_PACKAGES=/tmp/packages_end.txt 00:05:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:05:31 + PACKAGES=/tmp/packages_start.txt 00:05:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' 00:05:31 + PACKAGES=/tmp/packages_end.txt 00:05:31 + case "${OS_FAMILY}" in 00:05:31 + dpkg -l 00:05:31 + grep '^ii' 00:05:31 + '[' -f /tmp/packages_start.txt ']' 00:05:31 + '[' -f /tmp/packages_end.txt ']' 00:05:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:05:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-251 ']' 00:05:31 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ 00:05:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-251/archives/ [Pipeline] echo 00:05:31 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:05:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:32 prd-ubuntu20.04-docker-8c-8g-5926 does not seem to be running inside a container 00:05:32 $ 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-251/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-251 -v /w/workspace/gexfoundry_device-rest-go_PR-251:/w/workspace/gexfoundry_device-rest-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-251@tmp:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:05:32 $ docker top db39af1b1ebc0aa69eb8a172b4f1d0e6d1d8acb5662cd2fe6f78168c5c1af285 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:33 + touch /tmp/pre-build-complete [Pipeline] sh 00:05:33 + mkdir -p /var/log/sysstat [Pipeline] sh 00:05:33 + ls /var/log/sa-host 00:05:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:33 provisioning config files... 00:05:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-251@tmp/config13879329558089882505tmp [Pipeline] { [Pipeline] echo 00:05:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:05:34 ---> create-netrc.sh [Pipeline] } 00:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:05:34 ---> python-tools-install.sh [Pipeline] echo 00:05:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:05:35 ---> sudo-logs.sh 00:05:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:05:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:05:35 ---> job-cost.sh 00:05:35 lf-activate-venv: SKIPPING 00:05:35 DEBUG: total: 0.2199999988079071 00:05:35 INFO: Retrieving Stack Cost... 00:05:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:05:36 INFO: Archiving Costs [Pipeline] echo 00:05:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:05:36 ---> logs-deploy.sh 00:05:36 lf-activate-venv: SKIPPING 00:05:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-251/1 00:05:36 INFO: archiving workspace using pattern(s): 00:05:37 Archives upload complete. 00:05:37 INFO: archiving logs to Nexus 00:05:38 ---> uname -a: 00:05:38 Linux prd-ubuntu20-04-docker-8c-8g-5926 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:05:38 00:05:38 00:05:38 ---> lscpu: 00:05:38 Architecture: x86_64 00:05:38 CPU op-mode(s): 32-bit, 64-bit 00:05:38 Byte Order: Little Endian 00:05:38 Address sizes: 40 bits physical, 48 bits virtual 00:05:38 CPU(s): 8 00:05:38 On-line CPU(s) list: 0-7 00:05:38 Thread(s) per core: 1 00:05:38 Core(s) per socket: 1 00:05:38 Socket(s): 8 00:05:38 NUMA node(s): 1 00:05:38 Vendor ID: AuthenticAMD 00:05:38 CPU family: 23 00:05:38 Model: 49 00:05:38 Model name: AMD EPYC-Rome Processor 00:05:38 Stepping: 0 00:05:38 CPU MHz: 2800.000 00:05:38 BogoMIPS: 5600.00 00:05:38 Virtualization: AMD-V 00:05:38 Hypervisor vendor: KVM 00:05:38 Virtualization type: full 00:05:38 L1d cache: 256 KiB 00:05:38 L1i cache: 256 KiB 00:05:38 L2 cache: 4 MiB 00:05:38 L3 cache: 128 MiB 00:05:38 NUMA node0 CPU(s): 0-7 00:05:38 Vulnerability Itlb multihit: Not affected 00:05:38 Vulnerability L1tf: Not affected 00:05:38 Vulnerability Mds: Not affected 00:05:38 Vulnerability Meltdown: Not affected 00:05:38 Vulnerability Mmio stale data: Not affected 00:05:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:05:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:05:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:05:38 Vulnerability Srbds: Not affected 00:05:38 Vulnerability Tsx async abort: Not affected 00:05:38 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 00:05:38 00:05:38 00:05:38 ---> nproc: 00:05:38 8 00:05:38 00:05:38 00:05:38 ---> df -h: 00:05:38 Filesystem Size Used Avail Use% Mounted on 00:05:38 overlay 155G 12G 144G 8% / 00:05:38 tmpfs 64M 0 64M 0% /dev 00:05:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:05:38 shm 64M 0 64M 0% /dev/shm 00:05:38 /dev/vda1 155G 12G 144G 8% /facter-os 00:05:38 00:05:38 00:05:38 ---> sar -b -r -n DEV: 00:05:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5926) 02/15/23 _x86_64_ (8 CPU) 00:05:38 00:05:38 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:05:38 00:00:01 200.00 0.00 200.00 0.00 0.00 2800.00 0.00 00:05:38 00:01:01 8.43 0.03 8.40 0.00 0.27 181.84 0.00 00:05:38 00:02:01 1.05 0.00 1.05 0.00 0.00 12.66 0.00 00:05:38 00:03:01 1.42 0.00 1.42 0.00 0.00 16.66 0.00 00:05:38 00:04:01 1.13 0.00 1.13 0.00 0.00 12.80 0.00 00:05:38 00:05:01 2.08 0.00 2.08 0.00 0.00 36.13 0.00 00:05:38 Average: 2.84 0.01 2.83 0.00 0.05 52.20 0.00 00:05:38 00:05:38 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:05:38 00:00:01 27289924 31539240 748132 2.28 166304 4219068 1809032 5.33 1478272 3580256 964 00:05:38 00:01:01 27291460 31541456 746232 2.27 166616 4219088 1821784 5.37 1478328 3579504 12 00:05:38 00:02:01 27299928 31549984 737728 2.24 166636 4219092 1821784 5.37 1470484 3579508 12 00:05:38 00:03:01 27300560 31550616 737080 2.24 166672 4219096 1821784 5.37 1470784 3579508 44 00:05:38 00:04:01 27300468 31551260 737084 2.24 166708 4219100 1821784 5.37 1470196 3580176 12 00:05:38 00:05:01 27300836 31551740 736420 2.24 166812 4219076 1821784 5.37 1470116 3580152 32 00:05:38 Average: 27297196 31547383 740446 2.25 166625 4219087 1819659 5.36 1473030 3579851 179 00:05:38 00:05:38 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:05:38 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:00:01 ens3 100.00 0.00 5.27 0.00 0.00 0.00 0.00 0.00 00:05:38 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:01:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 00:05:38 00:01:01 ens3 2.08 0.57 0.35 0.16 0.00 0.00 0.00 0.00 00:05:38 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:02:01 ens3 1.23 0.63 0.55 0.42 0.00 0.00 0.00 0.00 00:05:38 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:05:38 00:03:01 ens3 0.47 0.32 0.26 0.21 0.00 0.00 0.00 0.00 00:05:38 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:04:01 ens3 1.18 0.23 0.34 0.20 0.00 0.00 0.00 0.00 00:05:38 00:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 00:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:05:38 00:05:01 ens3 0.47 0.37 0.26 0.21 0.00 0.00 0.00 0.00 00:05:38 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:38 Average: lo 0.15 0.15 0.01 0.01 0.00 0.00 0.00 0.00 00:05:38 Average: ens3 1.09 0.42 0.35 0.24 0.00 0.00 0.00 0.00 00:05:38 00:05:38 00:05:38 ---> sar -P ALL: 00:05:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5926) 02/15/23 _x86_64_ (8 CPU) 00:05:38 00:05:38 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:05:38 00:00:01 all 0.00 0.00 11.11 0.00 0.00 88.89 00:05:38 00:00:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 1 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 4 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:00:01 7 0.00 0.00 50.00 0.00 0.00 50.00 00:05:38 00:01:01 all 0.05 0.03 0.07 0.02 0.01 99.83 00:05:38 00:01:01 0 0.08 0.00 0.10 0.03 0.02 99.77 00:05:38 00:01:01 1 0.02 0.02 0.05 0.08 0.02 99.82 00:05:38 00:01:01 2 0.02 0.03 0.02 0.00 0.00 99.93 00:05:38 00:01:01 3 0.05 0.00 0.07 0.00 0.02 99.87 00:05:38 00:01:01 4 0.07 0.00 0.05 0.02 0.00 99.87 00:05:38 00:01:01 5 0.03 0.08 0.08 0.00 0.00 99.80 00:05:38 00:01:01 6 0.00 0.00 0.05 0.00 0.02 99.93 00:05:38 00:01:01 7 0.10 0.07 0.17 0.03 0.00 99.63 00:05:38 00:02:01 all 0.03 0.00 0.01 0.00 0.01 99.96 00:05:38 00:02:01 0 0.02 0.00 0.00 0.00 0.00 99.98 00:05:38 00:02:01 1 0.03 0.00 0.00 0.02 0.00 99.95 00:05:38 00:02:01 2 0.03 0.00 0.00 0.00 0.00 99.97 00:05:38 00:02:01 3 0.03 0.00 0.03 0.00 0.02 99.92 00:05:38 00:02:01 4 0.02 0.00 0.02 0.00 0.02 99.95 00:05:38 00:02:01 5 0.02 0.00 0.00 0.00 0.02 99.97 00:05:38 00:02:01 6 0.00 0.00 0.02 0.00 0.00 99.98 00:05:38 00:02:01 7 0.05 0.00 0.00 0.00 0.00 99.95 00:05:38 00:03:01 all 0.02 0.00 0.01 0.00 0.01 99.96 00:05:38 00:03:01 0 0.05 0.00 0.03 0.00 0.02 99.90 00:05:38 00:03:01 1 0.00 0.00 0.00 0.02 0.00 99.98 00:05:38 00:03:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:03:01 3 0.02 0.00 0.03 0.00 0.02 99.93 00:05:38 00:03:01 4 0.03 0.00 0.02 0.02 0.02 99.92 00:05:38 00:03:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:03:01 6 0.02 0.00 0.00 0.00 0.00 99.98 00:05:38 00:03:01 7 0.03 0.00 0.00 0.00 0.00 99.97 00:05:38 00:04:01 all 0.02 0.00 0.01 0.00 0.01 99.96 00:05:38 00:04:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:05:38 00:04:01 1 0.03 0.00 0.00 0.02 0.02 99.93 00:05:38 00:04:01 2 0.03 0.00 0.02 0.00 0.00 99.95 00:05:38 00:04:01 3 0.00 0.00 0.03 0.00 0.02 99.95 00:05:38 00:04:01 4 0.03 0.00 0.00 0.02 0.02 99.93 00:05:38 00:04:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:05:38 00:04:01 6 0.02 0.00 0.00 0.00 0.00 99.98 00:05:38 00:04:01 7 0.02 0.00 0.00 0.00 0.00 99.98 00:05:38 00:05:01 all 0.16 0.00 0.01 0.01 0.01 99.81 00:05:38 00:05:01 0 0.03 0.00 0.02 0.02 0.02 99.92 00:05:38 00:05:01 1 0.20 0.00 0.03 0.03 0.00 99.73 00:05:38 00:05:01 2 0.00 0.00 0.02 0.00 0.00 99.98 00:05:38 00:05:01 3 0.03 0.00 0.00 0.00 0.00 99.97 00:05:38 00:05:01 4 0.98 0.00 0.02 0.00 0.02 98.99 00:05:38 00:05:01 5 0.05 0.00 0.00 0.00 0.00 99.95 00:05:38 00:05:01 6 0.00 0.00 0.02 0.00 0.02 99.97 00:05:38 00:05:01 7 0.02 0.00 0.00 0.00 0.00 99.98 00:05:38 Average: all 0.05 0.01 0.02 0.01 0.01 99.90 00:05:38 Average: 0 0.04 0.00 0.03 0.01 0.01 99.91 00:05:38 Average: 1 0.06 0.00 0.02 0.03 0.01 99.88 00:05:38 Average: 2 0.02 0.01 0.01 0.00 0.00 99.97 00:05:38 Average: 3 0.03 0.00 0.03 0.00 0.01 99.93 00:05:38 Average: 4 0.23 0.00 0.02 0.01 0.01 99.73 00:05:38 Average: 5 0.02 0.02 0.02 0.00 0.00 99.94 00:05:38 Average: 6 0.01 0.00 0.02 0.00 0.01 99.97 00:05:38 Average: 7 0.04 0.01 0.04 0.01 0.00 99.90 00:05:38 00:05:38 00:05:38