Pull request #330 updated 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 IkerDC for edgexfoundry/device-rest-go Loading trusted files from base branch main at 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 rather than 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 Obtained Jenkinsfile from 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 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-ssh17927248075071830678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh1980213241329349129.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6064950031751844665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9310558557833026786.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3504304891405994199.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2731’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2733 in /w/workspace/gexfoundry_device-rest-go_PR-330 [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-330 # 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 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 Merge succeeded, producing 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 Checking out Revision 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 (PR-330) > 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/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 # 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 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 # timeout=10 Commit message: "add: Test case for floats equal 0.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:09 ========================================================= 09:02:09 EdgeX Global Pipelines Version Info 09:02:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf927131cef934cb9bcf42c18e8467ebb44920b6 # timeout=10 09:02:10 ------------------- 09:02:10 stable info: 09:02:10 ------------------- 09:02:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:10 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:02:10 Message: update stable to v1.0.250 09:02:10 ------------------- 09:02:10 experimental info: 09:02:10 ------------------- 09:02:10 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:10 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:02:10 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22341a1 [Pipeline] echo 09:02:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:11 provisioning config files... 09:02:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config2672336153771259717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:11 ---> docker-login.sh 09:02:11 nexus3.edgexfoundry.org:10001 09:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 nexus3.edgexfoundry.org:10002 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 nexus3.edgexfoundry.org:10003 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 nexus3.edgexfoundry.org:10004 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 docker.io 09:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:12 Configure a credential helper to remove this warning. See 09:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:12 09:02:12 Login Succeeded 09:02:12 ---> docker-login.sh ends [Pipeline] } 09:02:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:02:13 + git rev-list -1 --merges 22341a1e6aa0a3e9d09dc021559263ef3b0fe515~1..22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [Pipeline] echo 09:02:13 -----------> git rev-list -1 --merges 22341a1e6aa0a3e9d09dc021559263ef3b0fe515~1..22341a1e6aa0a3e9d09dc021559263ef3b0fe515 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [false] [Pipeline] sh 09:02:13 + git log --format=format:%s -1 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [Pipeline] echo 09:02:13 ========================================================= 09:02:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:02:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:13 + git log --format=format:%s -1 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [Pipeline] echo 09:02:14 [semverPrep] GIT_COMMIT: 22341a1e6aa0a3e9d09dc021559263ef3b0fe515, Commit Message: add: Test case for floats equal 0.0 [Pipeline] echo 09:02:14 [semverPrep] This is not a build commit. [Pipeline] sh 09:02:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:02:14 + grep -v github /etc/ssh/ssh_known_hosts 09:02:14 + [ -e /tmp/ssh_known_hosts ] 09:02:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:02:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:02:14 + sudo tee -a /etc/ssh/ssh_known_hosts 09:02:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:14 09:02:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:15 0.1.4: Pulling from edgex-devops/py-git-semver 09:02:15 b85a868b505f: Pulling fs layer 09:02:15 e2be974225ed: Pulling fs layer 09:02:15 339a4e72a1f5: Pulling fs layer 09:02:15 988bab9f4d93: Pulling fs layer 09:02:15 1469e6f7b9e6: Pulling fs layer 09:02:15 eaf3925da568: Pulling fs layer 09:02:15 bab4dde63d76: Pulling fs layer 09:02:15 bde34c3a00c8: Pulling fs layer 09:02:15 b352a97aabf1: Pulling fs layer 09:02:15 4872d77fe225: Pulling fs layer 09:02:15 5851b861e8e6: Pulling fs layer 09:02:15 988bab9f4d93: Waiting 09:02:15 1469e6f7b9e6: Waiting 09:02:15 eaf3925da568: Waiting 09:02:15 bab4dde63d76: Waiting 09:02:15 5851b861e8e6: Waiting 09:02:15 bde34c3a00c8: Waiting 09:02:15 4872d77fe225: Waiting 09:02:15 b352a97aabf1: Waiting 09:02:15 e2be974225ed: Download complete 09:02:15 988bab9f4d93: Verifying Checksum 09:02:15 988bab9f4d93: Download complete 09:02:15 1469e6f7b9e6: Verifying Checksum 09:02:15 1469e6f7b9e6: Download complete 09:02:15 339a4e72a1f5: Verifying Checksum 09:02:15 339a4e72a1f5: Download complete 09:02:15 eaf3925da568: Verifying Checksum 09:02:15 eaf3925da568: Download complete 09:02:15 bde34c3a00c8: Verifying Checksum 09:02:15 bde34c3a00c8: Download complete 09:02:15 b352a97aabf1: Download complete 09:02:15 4872d77fe225: Verifying Checksum 09:02:15 4872d77fe225: Download complete 09:02:15 b85a868b505f: Verifying Checksum 09:02:15 b85a868b505f: Download complete 09:02:15 bab4dde63d76: Verifying Checksum 09:02:15 bab4dde63d76: Download complete 09:02:16 b85a868b505f: Pull complete 09:02:16 e2be974225ed: Pull complete 09:02:17 339a4e72a1f5: Pull complete 09:02:17 988bab9f4d93: Pull complete 09:02:17 1469e6f7b9e6: Pull complete 09:02:17 eaf3925da568: Pull complete 09:02:19 bab4dde63d76: Pull complete 09:02:19 bde34c3a00c8: Pull complete 09:02:19 b352a97aabf1: Pull complete 09:02:19 4872d77fe225: Pull complete 09:02:19 5851b861e8e6: Pull complete 09:02:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:02:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:19 prd-ubuntu20.04-docker-8c-8g-2733 does not seem to be running inside a container 09:02:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 09:02:22 $ docker top 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 -eo pid,comm 09:02:22 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). 09:02:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:22 [ssh-agent] Looking for ssh-agent implementation... 09:02:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:22 $ docker exec 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 ssh-agent 09:02:22 SSH_AUTH_SOCK=/tmp/ssh-QR5de5bjSG6n/agent.32 09:02:22 SSH_AGENT_PID=38 09:02:22 Running ssh-add (command line suppressed) 09:02:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_2410713147495633094.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_2410713147495633094.key) 09:02:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:23 + git tag --points-at HEAD [Pipeline] } 09:02:23 $ docker exec --env ******** --env ******** 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 ssh-agent -k 09:02:23 unset SSH_AUTH_SOCK; 09:02:23 unset SSH_AGENT_PID; 09:02:23 echo Agent pid 38 killed; 09:02:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:23 [ssh-agent] Looking for ssh-agent implementation... 09:02:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:23 $ docker exec 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 ssh-agent 09:02:23 SSH_AUTH_SOCK=/tmp/ssh-4n9KC9rH7DhS/agent.70 09:02:23 SSH_AGENT_PID=76 09:02:23 Running ssh-add (command line suppressed) 09:02:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_12846716799099651148.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_12846716799099651148.key) 09:02:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:24 + git semver init 09:02:24 2023-08-02 09:02:24,208 [run_init] DEBUG init version:0.0.0 force:False 09:02:24 2023-08-02 09:02:24,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver 09:02:24 2023-08-02 09:02:24,209 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-330/.semver 09:02:24 2023-08-02 09:02:24,209 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330, universal_newlines=False, shell=None, istream=None) 09:02:25 2023-08-02 09:02:25,339 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.git/info/exclude 09:02:25 2023-08-02 09:02:25,340 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 with force:False 09:02:25 2023-08-02 09:02:25,340 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 09:02:25 2023-08-02 09:02:25,342 [execute] INFO git cat-file --batch-check 09:02:25 2023-08-02 09:02:25,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 09:02:25 2023-08-02 09:02:25,348 [execute] INFO git cat-file --batch 09:02:25 2023-08-02 09:02:25,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 09:02:25 2023-08-02 09:02:25,355 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 09:02:25 0.0.0 [Pipeline] } 09:02:25 $ docker exec --env ******** --env ******** 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 ssh-agent -k 09:02:25 unset SSH_AUTH_SOCK; 09:02:25 unset SSH_AGENT_PID; 09:02:25 echo Agent pid 76 killed; 09:02:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:26 + git semver [Pipeline] } 09:02:26 $ docker stop --time=1 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 09:02:27 $ docker rm -f --volumes 4583eea0cccbc67ed61a41a6603d63ccab800f021d1aec7d65292edcf8a67d82 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:28 Stashed 1 file(s) [Pipeline] echo 09:02:28 [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 09:02:28 provisioning config files... 09:02:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config11252267490084237950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:28 ---> docker-login.sh 09:02:28 nexus3.edgexfoundry.org:10001 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10002 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10003 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10004 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 docker.io 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:29 Configure a credential helper to remove this warning. See 09:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:29 09:02:29 Login Succeeded 09:02:29 ---> docker-login.sh ends [Pipeline] } 09:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:29 ========================================================= 09:02:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:02:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:02:29 Sending build context to Docker daemon 10.9MB 09:02:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:02:29 Step 2/12 : FROM ${BASE} AS builder 09:02:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:29 4db1b89c0bd1: Pulling fs layer 09:02:29 6911f1a30b25: Pulling fs layer 09:02:29 e194b8c5c2a9: Pulling fs layer 09:02:29 6863d3e3a2b1: Pulling fs layer 09:02:29 ec0bb842ea78: Pulling fs layer 09:02:29 40a00589a448: Pulling fs layer 09:02:29 6863d3e3a2b1: Waiting 09:02:29 ec0bb842ea78: Waiting 09:02:29 6c08303d61cc: Pulling fs layer 09:02:29 798269fcf238: Pulling fs layer 09:02:29 40a00589a448: Waiting 09:02:29 6c08303d61cc: Waiting 09:02:29 6911f1a30b25: Verifying Checksum 09:02:29 6911f1a30b25: Download complete 09:02:29 6863d3e3a2b1: Verifying Checksum 09:02:29 6863d3e3a2b1: Download complete 09:02:29 ec0bb842ea78: Verifying Checksum 09:02:29 ec0bb842ea78: Download complete 09:02:29 4db1b89c0bd1: Download complete 09:02:29 40a00589a448: Verifying Checksum 09:02:29 40a00589a448: Download complete 09:02:29 4db1b89c0bd1: Pull complete 09:02:30 6911f1a30b25: Pull complete 09:02:30 798269fcf238: Verifying Checksum 09:02:30 e194b8c5c2a9: Verifying Checksum 09:02:30 e194b8c5c2a9: Download complete 09:02:30 6c08303d61cc: Verifying Checksum 09:02:30 6c08303d61cc: Download complete 09:02:33 e194b8c5c2a9: Pull complete 09:02:33 6863d3e3a2b1: Pull complete 09:02:33 ec0bb842ea78: Pull complete 09:02:33 40a00589a448: Pull complete 09:02:36 6c08303d61cc: Pull complete 09:02:37 798269fcf238: Pull complete 09:02:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 09:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:02:37 ---> ec979cd7f677 09:02:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:02:41 ---> Running in 4f948a6188fa 09:02:41 Removing intermediate container 4f948a6188fa 09:02:41 ---> f24221662de3 09:02:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:02:41 ---> Running in dcf9af54ed42 09:02:41 Removing intermediate container dcf9af54ed42 09:02:41 ---> e63362786a6d 09:02:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:02:41 ---> Running in 3a71f3e1a8b2 09:02:41 Removing intermediate container 3a71f3e1a8b2 09:02:41 ---> 78ec99a1e962 09:02:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:02:41 ---> Running in ce87ee9b6e99 09:02:41 Removing intermediate container ce87ee9b6e99 09:02:41 ---> f83762edccfa 09:02:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:41 ---> Running in bea0317c1468 09:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:02:41 (1/4) Installing openssh-keygen (9.1_p1-r4) 09:02:41 (2/4) Installing libedit (20221030.3.1-r0) 09:02:41 (3/4) Installing openssh-client-common (9.1_p1-r4) 09:02:42 (4/4) Installing openssh-client-default (9.1_p1-r4) 09:02:42 Executing busybox-1.35.0-r29.trigger 09:02:42 OK: 269 MiB in 57 packages 09:02:42 Removing intermediate container bea0317c1468 09:02:42 ---> 8326996c2e7b 09:02:42 Step 8/12 : WORKDIR /device-rest-go 09:02:42 ---> Running in 00ab08416e9b 09:02:42 Removing intermediate container 00ab08416e9b 09:02:42 ---> ba222904f995 09:02:42 Step 9/12 : COPY go.mod vendor* ./ 09:02:42 ---> e7258a923406 09:02:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:42 ---> Running in 1d6b42491d56 09:02:43 Still waiting to schedule task 09:02:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2732’ is offline 09:03:09 Removing intermediate container 1d6b42491d56 09:03:09 ---> 719fc2bd5068 09:03:09 Step 11/12 : COPY . . 09:03:09 ---> a4c8b3867f87 09:03:09 Step 12/12 : RUN $MAKE 09:03:09 ---> Running in c33a9e6303d5 09:03:09 noop 09:03:09 Removing intermediate container c33a9e6303d5 09:03:09 ---> f8fdc568bf35 09:03:09 Successfully built f8fdc568bf35 09:03:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:09 + docker inspect -f . ci-base-image-x86_64 09:03:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:09 prd-ubuntu20.04-docker-8c-8g-2733 does not seem to be running inside a container 09:03:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 09:03:10 $ docker top 02ee565361f2aa7b998ad982c1c3530d8f1461b67333a6f8aa8993f2a953771f -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:10 + go version 09:03:10 go version go1.20.6 linux/amd64 [Pipeline] } 09:03:10 $ docker stop --time=1 02ee565361f2aa7b998ad982c1c3530d8f1461b67333a6f8aa8993f2a953771f 09:03:11 $ docker rm -f --volumes 02ee565361f2aa7b998ad982c1c3530d8f1461b67333a6f8aa8993f2a953771f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:12 + docker inspect -f . ci-base-image-x86_64 09:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:12 prd-ubuntu20.04-docker-8c-8g-2733 does not seem to be running inside a container 09:03:12 $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 09:03:12 $ docker top 59aa06d727762b02256b71aab8e860d580cf4cbf91b59c8add6b96a2dd86efbf -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] fileExists [Pipeline] sh 09:03:13 + make test 09:03:13 go test ./... -coverprofile=coverage.out ./... 09:03:17 ? github.com/edgexfoundry/device-rest-go [no test files] 09:03:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:03:27 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 09:03:33 go vet ./... 09:03:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:36 ./bin/test-attribution-txt.sh [Pipeline] echo 09:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:03:36 $ docker stop --time=1 59aa06d727762b02256b71aab8e860d580cf4cbf91b59c8add6b96a2dd86efbf 09:03:39 $ docker rm -f --volumes 59aa06d727762b02256b71aab8e860d580cf4cbf91b59c8add6b96a2dd86efbf [Pipeline] // withDockerContainer [Pipeline] sh 09:03:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:03:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:40 + ls -al . 09:03:40 total 184 09:03:40 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 09:03 . 09:03:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:02 .. 09:03:40 -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:02 .dockerignore 09:03:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:02 .git 09:03:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:02 .github 09:03:40 -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:02 .gitignore 09:03:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:02 .golangci.yml 09:03:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:02 .semver 09:03:40 -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:02 Attribution.txt 09:03:40 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:02 CHANGELOG.md 09:03:40 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:02 Dockerfile 09:03:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:02 GOVERNANCE.md 09:03:40 -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:02 Jenkinsfile 09:03:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:02 LICENSE 09:03:40 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:02 Makefile 09:03:40 -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:02 OWNERS.md 09:03:40 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:02 README.md 09:03:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:02 VERSION 09:03:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:02 bin 09:03:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:02 cmd 09:03:40 -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:03 coverage.out 09:03:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:02 driver 09:03:40 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:02 go.mod 09:03:40 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:02 go.sum 09:03:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:02 snap 09:03:40 -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:41 + 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=22341a1e6aa0a3e9d09dc021559263ef3b0fe515 --label arch=amd64 --label version=0.0.0 . 09:03:41 Sending build context to Docker daemon 10.92MB 09:03:41 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:03:41 Step 2/25 : FROM ${BASE} AS builder 09:03:41 ---> f8fdc568bf35 09:03:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:03:41 ---> Running in b95baa8eb83a 09:03:41 Removing intermediate container b95baa8eb83a 09:03:41 ---> 844f36c35f06 09:03:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:03:41 ---> Running in b0fc63020037 09:03:41 Removing intermediate container b0fc63020037 09:03:41 ---> 5d5cc692b0fb 09:03:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:03:41 ---> Running in c38b50c37e32 09:03:41 Removing intermediate container c38b50c37e32 09:03:41 ---> 6d2609995e15 09:03:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:03:41 ---> Running in 8f622f82be5c 09:03:41 Removing intermediate container 8f622f82be5c 09:03:41 ---> 3eaf0badf0e3 09:03:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:41 ---> Running in 5bac4c8711dc 09:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:03:42 OK: 269 MiB in 57 packages 09:03:42 Removing intermediate container 5bac4c8711dc 09:03:42 ---> a068240d0de3 09:03:42 Step 8/25 : WORKDIR /device-rest-go 09:03:42 ---> Running in d398289b9896 09:03:42 Removing intermediate container d398289b9896 09:03:42 ---> ae5a5f53bbac 09:03:42 Step 9/25 : COPY go.mod vendor* ./ 09:03:42 ---> d27f718bd324 09:03:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:42 ---> Running in 058fcfdbb89c 09:03:43 Removing intermediate container 058fcfdbb89c 09:03:43 ---> 9d659157e10d 09:03:43 Step 11/25 : COPY . . 09:03:43 ---> 32678065c78f 09:03:43 Step 12/25 : RUN $MAKE 09:03:43 ---> Running in 818455be9fe9 09:03:44 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 09:04:02 Removing intermediate container 818455be9fe9 09:04:02 ---> 2506dbf5fd9a 09:04:02 Step 13/25 : FROM alpine:3.17 09:04:02 3.17: Pulling from library/alpine 09:04:02 4db1b89c0bd1: Already exists 09:04:02 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 09:04:02 Status: Downloaded newer image for alpine:3.17 09:04:02 ---> 1f73a9d63274 09:04:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:04:02 ---> Running in c0792464f26a 09:04:02 Removing intermediate container c0792464f26a 09:04:02 ---> bad25b323895 09:04:02 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:04:02 ---> Running in 0f19c1b2af2c 09:04:02 Removing intermediate container 0f19c1b2af2c 09:04:02 ---> 4263013d5198 09:04:02 Step 16/25 : RUN apk add --update --no-cache dumb-init 09:04:02 ---> Running in f8c97021e385 09:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:04:03 (1/1) Installing dumb-init (1.2.5-r2) 09:04:03 Executing busybox-1.35.0-r29.trigger 09:04:03 OK: 7 MiB in 16 packages 09:04:03 Removing intermediate container f8c97021e385 09:04:03 ---> 54d2c4c2fbaf 09:04:03 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:04:04 ---> 917ec3f150a7 09:04:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:04:04 ---> f8bd6d480675 09:04:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:04:04 ---> 0c14a4ed9fd9 09:04:04 Step 20/25 : EXPOSE 59986 09:04:04 ---> Running in 2e968fe7183d 09:04:04 Removing intermediate container 2e968fe7183d 09:04:04 ---> 9a05f5d58c72 09:04:04 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:04:04 ---> Running in 9c38db70bccd 09:04:04 Removing intermediate container 9c38db70bccd 09:04:04 ---> d2db245daeb0 09:04:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:04:04 ---> Running in ad7ca9884d10 09:04:04 Removing intermediate container ad7ca9884d10 09:04:04 ---> 29654bcded6b 09:04:04 Step 23/25 : LABEL arch=amd64 09:04:04 ---> Running in e8db2b7f1bba 09:04:05 Removing intermediate container e8db2b7f1bba 09:04:05 ---> a43d486529ee 09:04:05 Step 24/25 : LABEL git_sha=22341a1e6aa0a3e9d09dc021559263ef3b0fe515 09:04:05 ---> Running in 332ae0b0cf1f 09:04:05 Removing intermediate container 332ae0b0cf1f 09:04:05 ---> 63c194bdf74a 09:04:05 Step 25/25 : LABEL version=0.0.0 09:04:05 ---> Running in c6e7f65e0ca6 09:04:05 Removing intermediate container c6e7f65e0ca6 09:04:05 ---> 47040e07f9cb 09:04:05 [Warning] One or more build-args [ARCH] were not consumed 09:04:05 Successfully built 47040e07f9cb 09:04:05 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 09:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:05 09:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:06 latest: Pulling from edgex-lftools-log-publisher 09:04:06 5eb5b503b376: Pulling fs layer 09:04:06 5c69ac0246d0: Pulling fs layer 09:04:06 ec43610c2a17: Pulling fs layer 09:04:06 3a2ae6a8a46f: Pulling fs layer 09:04:06 33b1e0a273af: Pulling fs layer 09:04:06 5d3b04190fa2: Pulling fs layer 09:04:06 2f39f015ded8: Pulling fs layer 09:04:06 3a2ae6a8a46f: Waiting 09:04:06 33b1e0a273af: Waiting 09:04:06 5d3b04190fa2: Waiting 09:04:06 2f39f015ded8: Waiting 09:04:06 5c69ac0246d0: Download complete 09:04:06 3a2ae6a8a46f: Verifying Checksum 09:04:06 3a2ae6a8a46f: Download complete 09:04:06 33b1e0a273af: Verifying Checksum 09:04:06 33b1e0a273af: Download complete 09:04:06 ec43610c2a17: Verifying Checksum 09:04:06 ec43610c2a17: Download complete 09:04:06 5d3b04190fa2: Verifying Checksum 09:04:06 5d3b04190fa2: Download complete 09:04:06 5eb5b503b376: Verifying Checksum 09:04:06 5eb5b503b376: Download complete 09:04:06 2f39f015ded8: Download complete 09:04:07 5eb5b503b376: Pull complete 09:04:07 5c69ac0246d0: Pull complete 09:04:07 ec43610c2a17: Pull complete 09:04:07 3a2ae6a8a46f: Pull complete 09:04:07 33b1e0a273af: Pull complete 09:04:08 5d3b04190fa2: Pull complete 09:04:12 2f39f015ded8: Pull complete 09:04:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:12 prd-ubuntu20.04-docker-8c-8g-2733 does not seem to be running inside a container 09:04:12 $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 09:04:17 $ docker top 371abf2a11d176f66f6e93f4181200c8e4f4f7df35d985c0207a6aa80c365257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:17 ---> job-cost.sh 09:04:17 lf-activate-venv: SKIPPING 09:04:17 INFO: No Stack... 09:04:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2734 in /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] { [Pipeline] ws 09:04:17 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 09:04:17 The recommended git tool is: git 09:04:17 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:18 INFO: Archiving Costs [Pipeline] sh 09:04:18 + cat /w/workspace/gexfoundry_device-rest-go_PR-330/archives/cost.csv 09:04:18 + cut -d, -f6 [Pipeline] lock 09:04:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-2-stack-cost] 09:04:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-330-2-stack-cost] did not exist. Created. 09:04:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:04:18 + echo total: 0.2199999988079071 [Pipeline] stash 09:04:18 Stashed 1 file(s) [Pipeline] } 09:04:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:04:18 $ docker stop --time=1 371abf2a11d176f66f6e93f4181200c8e4f4f7df35d985c0207a6aa80c365257 09:04:20 $ docker rm -f --volumes 371abf2a11d176f66f6e93f4181200c8e4f4f7df35d985c0207a6aa80c365257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:04:22 using credential edgex-jenkins-ssh 09:04:22 Cloning the remote Git repository 09:04:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:04:22 > git init /w/workspace/device-rest-go/2 # timeout=10 09:04:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:04:23 > git --version # timeout=10 09:04:23 > git --version # 'git version 2.25.1' 09:04:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:04:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:04:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:04:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:04:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:04:26 Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:04:26 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:04:27 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-330/archives ] 09:04:27 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives 09:04:27 total 16 09:04:27 drwxr-xr-x 3 root root 4096 Aug 2 09:04 . 09:04:27 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:04 .. 09:04:27 drwxr-xr-x 2 root root 4096 Aug 2 09:04 cost 09:04:27 -rw-r--r-- 1 root root 86 Aug 2 09:04 cost.csv 09:04:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-330/archives 09:04:27 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives 09:04:27 total 16 09:04:27 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:04 . 09:04:27 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:04 .. 09:04:27 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:04 cost 09:04:27 -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:04:27 ---> sysstat.sh 09:04:26 > git config core.sparsecheckout # timeout=10 09:04:26 > git checkout -f 22341a1e6aa0a3e9d09dc021559263ef3b0fe515 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 09:04:28 ---> package-listing.sh 09:04:28 ++ facter osfamily 09:04:28 ++ tr '[:upper:]' '[:lower:]' 09:04:29 + OS_FAMILY=debian 09:04:29 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-330 09:04:29 + START_PACKAGES=/tmp/packages_start.txt 09:04:29 + END_PACKAGES=/tmp/packages_end.txt 09:04:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:04:29 + PACKAGES=/tmp/packages_start.txt 09:04:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' 09:04:29 + PACKAGES=/tmp/packages_end.txt 09:04:29 + case "${OS_FAMILY}" in 09:04:29 + dpkg -l 09:04:29 + grep '^ii' 09:04:29 + '[' -f /tmp/packages_start.txt ']' 09:04:29 + '[' -f /tmp/packages_end.txt ']' 09:04:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:04:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' 09:04:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ 09:04:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [Pipeline] echo 09:04:29 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:04:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:29 prd-ubuntu20.04-docker-8c-8g-2733 does not seem to be running inside a container 09:04:29 $ 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-330/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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@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 09:04:30 $ docker top 9bcc26571043e5c1547f51d704da6e9d41f13072c747f78e2c6ff93f0ec4d4ae -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:30 + touch /tmp/pre-build-complete [Pipeline] sh 09:04:30 + mkdir -p /var/log/sysstat [Pipeline] sh 09:04:31 + ls /var/log/sa-host 09:04:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:31 provisioning config files... 09:04:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config10228082873619070478tmp [Pipeline] { [Pipeline] echo 09:04:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:04:31 ---> create-netrc.sh [Pipeline] } 09:04:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:04:31 ---> python-tools-install.sh [Pipeline] echo 09:04:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:04:32 ---> sudo-logs.sh 09:04:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:04:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:04:32 ---> job-cost.sh 09:04:32 lf-activate-venv: SKIPPING 09:04:32 DEBUG: total: 0.2199999988079071 09:04:32 INFO: Retrieving Stack Cost... 09:04:32 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:32 INFO: Archiving Costs [Pipeline] echo 09:04:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:04:33 ---> logs-deploy.sh 09:04:33 lf-activate-venv: SKIPPING 09:04:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-330/2 09:04:33 INFO: archiving workspace using pattern(s): 09:04:34 Archives upload complete. 09:04:34 INFO: archiving logs to Nexus 09:04:35 ---> uname -a: 09:04:35 Linux prd-ubuntu20-04-docker-8c-8g-2733 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:04:35 09:04:35 09:04:35 ---> lscpu: 09:04:35 Architecture: x86_64 09:04:35 CPU op-mode(s): 32-bit, 64-bit 09:04:35 Byte Order: Little Endian 09:04:35 Address sizes: 40 bits physical, 48 bits virtual 09:04:35 CPU(s): 8 09:04:35 On-line CPU(s) list: 0-7 09:04:35 Thread(s) per core: 1 09:04:35 Core(s) per socket: 1 09:04:35 Socket(s): 8 09:04:35 NUMA node(s): 1 09:04:35 Vendor ID: AuthenticAMD 09:04:35 CPU family: 23 09:04:35 Model: 49 09:04:35 Model name: AMD EPYC-Rome Processor 09:04:35 Stepping: 0 09:04:35 CPU MHz: 2800.000 09:04:35 BogoMIPS: 5600.00 09:04:35 Virtualization: AMD-V 09:04:35 Hypervisor vendor: KVM 09:04:35 Virtualization type: full 09:04:35 L1d cache: 256 KiB 09:04:35 L1i cache: 256 KiB 09:04:35 L2 cache: 4 MiB 09:04:35 L3 cache: 128 MiB 09:04:35 NUMA node0 CPU(s): 0-7 09:04:35 Vulnerability Itlb multihit: Not affected 09:04:35 Vulnerability L1tf: Not affected 09:04:35 Vulnerability Mds: Not affected 09:04:35 Vulnerability Meltdown: Not affected 09:04:35 Vulnerability Mmio stale data: Not affected 09:04:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:04:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:04:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:04:35 Vulnerability Srbds: Not affected 09:04:35 Vulnerability Tsx async abort: Not affected 09:04:35 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 09:04:35 09:04:35 09:04:35 ---> nproc: 09:04:35 8 09:04:35 09:04:35 09:04:35 ---> df -h: 09:04:35 Filesystem Size Used Avail Use% Mounted on 09:04:35 overlay 155G 12G 144G 8% / 09:04:35 tmpfs 64M 0 64M 0% /dev 09:04:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:04:35 shm 64M 0 64M 0% /dev/shm 09:04:35 /dev/vda1 155G 12G 144G 8% /facter-os 09:04:35 09:04:35 09:04:35 ---> sar -b -r -n DEV: 09:04:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2733) 08/02/23 _x86_64_ (8 CPU) 09:04:35 09:04:35 09:01:27 LINUX RESTART (8 CPU) 09:04:35 09:04:35 09:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:04:35 09:03:01 386.74 16.80 369.94 0.00 1982.87 68665.09 0.00 09:04:35 09:04:01 145.78 0.25 145.53 0.00 13.99 41525.10 0.00 09:04:35 Average: 266.24 8.52 257.71 0.00 998.27 55092.84 0.00 09:04:35 09:04:35 09:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:04:35 09:03:01 27792504 31584748 723472 2.20 143828 3798248 1848852 5.45 1172244 3426004 468296 09:04:35 09:04:01 27936364 31574288 730524 2.22 149320 3666296 1892092 5.58 1244856 3230240 4 09:04:35 Average: 27864434 31579518 726998 2.21 146574 3732272 1870472 5.51 1208550 3328122 234150 09:04:35 09:04:35 09:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:04:35 09:03:01 ens3 764.17 462.74 8464.16 104.34 0.00 0.00 0.00 0.00 09:04:35 09:03:01 docker0 199.20 334.16 15.77 2142.26 0.00 0.00 0.00 0.00 09:04:35 09:03:01 lo 6.47 6.47 0.63 0.63 0.00 0.00 0.00 0.00 09:04:35 09:04:01 ens3 50.07 28.15 85.15 16.96 0.00 0.00 0.00 0.00 09:04:35 09:04:01 docker0 1.37 3.76 0.08 42.51 0.00 0.00 0.00 0.00 09:04:35 09:04:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 09:04:35 Average: ens3 407.06 245.41 4273.95 60.64 0.00 0.00 0.00 0.00 09:04:35 Average: docker0 100.27 168.94 7.93 1092.21 0.00 0.00 0.00 0.00 09:04:35 Average: lo 3.47 3.47 0.33 0.33 0.00 0.00 0.00 0.00 09:04:35 09:04:35 09:04:35 ---> sar -P ALL: 09:04:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2733) 08/02/23 _x86_64_ (8 CPU) 09:04:35 09:04:35 09:01:27 LINUX RESTART (8 CPU) 09:04:35 09:04:35 09:02:01 CPU %user %nice %system %iowait %steal %idle 09:04:35 09:03:01 all 11.61 0.00 4.58 3.70 0.06 80.05 09:04:35 09:03:01 0 12.17 0.00 6.91 5.56 0.07 75.29 09:04:35 09:03:01 1 9.73 0.00 4.28 3.16 0.05 82.78 09:04:35 09:03:01 2 14.46 0.00 3.47 0.45 0.05 81.56 09:04:35 09:03:01 3 9.82 0.00 3.60 0.42 0.07 86.10 09:04:35 09:03:01 4 12.89 0.00 4.90 16.93 0.07 65.21 09:04:35 09:03:01 5 14.20 0.00 4.54 0.37 0.07 80.82 09:04:35 09:03:01 6 10.09 0.00 4.65 1.15 0.05 84.06 09:04:35 09:03:01 7 9.48 0.00 4.32 1.61 0.08 84.50 09:04:35 09:04:01 all 37.34 0.00 6.18 2.09 0.08 54.31 09:04:35 09:04:01 0 36.09 0.00 5.91 3.09 0.07 54.85 09:04:35 09:04:01 1 37.06 0.00 6.70 0.40 0.08 55.76 09:04:35 09:04:01 2 37.39 0.00 6.17 0.42 0.08 55.94 09:04:35 09:04:01 3 38.16 0.00 6.03 2.17 0.08 53.56 09:04:35 09:04:01 4 38.12 0.00 6.82 7.51 0.08 47.46 09:04:35 09:04:01 5 37.63 0.00 5.48 0.42 0.07 56.41 09:04:35 09:04:01 6 36.85 0.00 5.97 0.39 0.10 56.70 09:04:35 09:04:01 7 37.44 0.00 6.36 2.30 0.10 53.80 09:04:35 Average: all 24.51 0.00 5.38 2.89 0.07 67.15 09:04:35 Average: 0 24.17 0.00 6.41 4.32 0.07 65.04 09:04:35 Average: 1 23.44 0.00 5.49 1.78 0.07 69.22 09:04:35 Average: 2 25.93 0.00 4.82 0.44 0.07 68.74 09:04:35 Average: 3 23.95 0.00 4.81 1.29 0.08 69.87 09:04:35 Average: 4 25.54 0.00 5.87 12.21 0.08 56.31 09:04:35 Average: 5 25.93 0.00 5.01 0.39 0.07 68.59 09:04:35 Average: 6 23.53 0.00 5.31 0.77 0.08 70.31 09:04:35 Average: 7 23.54 0.00 5.34 1.96 0.09 69.07 09:04:35 09:04:35 09:04:35