Pull request #211 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12c62083bf836d8cdb613445a81d9c207203dc62+3bfa2c7cebef17aba10611e718aa3e6714bdeddd (b677d4c3345ec30286cdb9e88bb4dc4ac30e8511) 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-ssh18095964086913247717.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11495182657052109808.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-211/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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6601404985467218190.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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13146491643288131078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3095251669525405888.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-211/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-211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8163243631688151066.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24614 in /w/workspace/gexfoundry_device-rest-go_PR-211 [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-211 # 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 Merging remotes/origin/main commit 3bfa2c7cebef17aba10611e718aa3e6714bdeddd into PR head commit 12c62083bf836d8cdb613445a81d9c207203dc62 Merge succeeded, producing 12c62083bf836d8cdb613445a81d9c207203dc62 Checking out Revision 12c62083bf836d8cdb613445a81d9c207203dc62 (PR-211) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12c62083bf836d8cdb613445a81d9c207203dc62 # 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 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12c62083bf836d8cdb613445a81d9c207203dc62 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:03:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:03:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:03:59 ========================================================= 20:03:59 EdgeX Global Pipelines Version Info 20:03:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:00 ------------------- 20:04:00 stable info: 20:04:00 ------------------- 20:04:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:00 Message: update stable to v1.0.239 20:04:01 ------------------- 20:04:01 experimental info: 20:04:01 ------------------- 20:04:01 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:01 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:01 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-211 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-211 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-211 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12c62083bf836d8cdb613445a81d9c207203dc62 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12c6208 [Pipeline] echo 20:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:03 provisioning config files... 20:04:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/config4968949666834763335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:03 ---> docker-login.sh 20:04:03 nexus3.edgexfoundry.org:10001 20:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:03 Configure a credential helper to remove this warning. See 20:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:03 20:04:03 Login Succeeded 20:04:03 nexus3.edgexfoundry.org:10002 20:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:04 Configure a credential helper to remove this warning. See 20:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:04 20:04:04 Login Succeeded 20:04:04 nexus3.edgexfoundry.org:10003 20:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:04 Configure a credential helper to remove this warning. See 20:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:04 20:04:04 Login Succeeded 20:04:04 nexus3.edgexfoundry.org:10004 20:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:04 Configure a credential helper to remove this warning. See 20:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:04 20:04:04 Login Succeeded 20:04:04 docker.io 20:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 ---> docker-login.sh ends [Pipeline] } 20:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:05 + git rev-list -1 --merges 12c62083bf836d8cdb613445a81d9c207203dc62~1..12c62083bf836d8cdb613445a81d9c207203dc62 [Pipeline] echo 20:04:05 -----------> git rev-list -1 --merges 12c62083bf836d8cdb613445a81d9c207203dc62~1..12c62083bf836d8cdb613445a81d9c207203dc62 12c62083bf836d8cdb613445a81d9c207203dc62 [false] [Pipeline] sh 20:04:06 + git log --format=format:%s -1 12c62083bf836d8cdb613445a81d9c207203dc62 [Pipeline] echo 20:04:06 ========================================================= 20:04:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:06 + git log --format=format:%s -1 12c62083bf836d8cdb613445a81d9c207203dc62 [Pipeline] echo 20:04:06 [semverPrep] GIT_COMMIT: 12c62083bf836d8cdb613445a81d9c207203dc62, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:04:06 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:07 + grep -v github /etc/ssh/ssh_known_hosts 20:04:07 + [ -e /tmp/ssh_known_hosts ] 20:04:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:07 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:07 20:04:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:07 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:07 b85a868b505f: Pulling fs layer 20:04:07 e2be974225ed: Pulling fs layer 20:04:07 339a4e72a1f5: Pulling fs layer 20:04:07 988bab9f4d93: Pulling fs layer 20:04:07 1469e6f7b9e6: Pulling fs layer 20:04:07 988bab9f4d93: Waiting 20:04:07 eaf3925da568: Pulling fs layer 20:04:07 bab4dde63d76: Pulling fs layer 20:04:07 eaf3925da568: Waiting 20:04:07 bde34c3a00c8: Pulling fs layer 20:04:07 b352a97aabf1: Pulling fs layer 20:04:07 bab4dde63d76: Waiting 20:04:07 4872d77fe225: Pulling fs layer 20:04:07 bde34c3a00c8: Waiting 20:04:07 5851b861e8e6: Pulling fs layer 20:04:07 5851b861e8e6: Waiting 20:04:07 e2be974225ed: Verifying Checksum 20:04:07 e2be974225ed: Download complete 20:04:07 988bab9f4d93: Verifying Checksum 20:04:07 988bab9f4d93: Download complete 20:04:08 1469e6f7b9e6: Verifying Checksum 20:04:08 1469e6f7b9e6: Download complete 20:04:08 eaf3925da568: Verifying Checksum 20:04:08 eaf3925da568: Download complete 20:04:08 339a4e72a1f5: Verifying Checksum 20:04:08 339a4e72a1f5: Download complete 20:04:08 bde34c3a00c8: Verifying Checksum 20:04:08 bde34c3a00c8: Download complete 20:04:08 b352a97aabf1: Download complete 20:04:08 4872d77fe225: Verifying Checksum 20:04:08 4872d77fe225: Download complete 20:04:08 5851b861e8e6: Download complete 20:04:08 b85a868b505f: Verifying Checksum 20:04:08 b85a868b505f: Download complete 20:04:08 bab4dde63d76: Verifying Checksum 20:04:08 bab4dde63d76: Download complete 20:04:09 b85a868b505f: Pull complete 20:04:09 e2be974225ed: Pull complete 20:04:10 339a4e72a1f5: Pull complete 20:04:10 988bab9f4d93: Pull complete 20:04:10 1469e6f7b9e6: Pull complete 20:04:10 eaf3925da568: Pull complete 20:04:12 bab4dde63d76: Pull complete 20:04:12 bde34c3a00c8: Pull complete 20:04:12 b352a97aabf1: Pull complete 20:04:12 4872d77fe225: Pull complete 20:04:13 5851b861e8e6: Pull complete 20:04:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:13 prd-ubuntu20.04-docker-8c-8g-24614 does not seem to be running inside a container 20:04:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-211 -v /w/workspace/gexfoundry_device-rest-go_PR-211:/w/workspace/gexfoundry_device-rest-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-211@tmp:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:14 $ docker top 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e -eo pid,comm 20:04:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:04:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:15 [ssh-agent] Looking for ssh-agent implementation... 20:04:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:15 $ docker exec 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e ssh-agent 20:04:15 SSH_AUTH_SOCK=/tmp/ssh-FTsBfqcOYP4b/agent.34 20:04:15 SSH_AGENT_PID=40 20:04:15 Running ssh-add (command line suppressed) 20:04:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-211@tmp/private_key_8478593169305139955.key (/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/private_key_8478593169305139955.key) 20:04:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:15 + git tag --points-at HEAD [Pipeline] } 20:04:15 $ docker exec --env ******** --env ******** 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e ssh-agent -k 20:04:15 unset SSH_AUTH_SOCK; 20:04:15 unset SSH_AGENT_PID; 20:04:15 echo Agent pid 40 killed; 20:04:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:16 [ssh-agent] Looking for ssh-agent implementation... 20:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:16 $ docker exec 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e ssh-agent 20:04:16 SSH_AUTH_SOCK=/tmp/ssh-fht2L6Z87Kze/agent.73 20:04:16 SSH_AGENT_PID=79 20:04:16 Running ssh-add (command line suppressed) 20:04:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-211@tmp/private_key_5652914734806748371.key (/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/private_key_5652914734806748371.key) 20:04:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:16 + git semver init 20:04:17 2022-09-05 20:04:16,974 [run_init] DEBUG init version:0.0.0 force:False 20:04:17 2022-09-05 20:04:16,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-211/.semver 20:04:17 2022-09-05 20:04:16,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-211/.semver 20:04:17 2022-09-05 20:04:16,975 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-211/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-211, universal_newlines=False, shell=None, istream=None) 20:04:18 2022-09-05 20:04:18,014 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-211/.git/info/exclude 20:04:18 2022-09-05 20:04:18,014 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-211/.semver/PR-211 with force:False 20:04:18 2022-09-05 20:04:18,014 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-211/.semver/PR-211 20:04:18 2022-09-05 20:04:18,019 [execute] INFO git cat-file --batch-check 20:04:18 2022-09-05 20:04:18,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-211/.semver, universal_newlines=False, shell=None, istream=) 20:04:18 2022-09-05 20:04:18,024 [execute] INFO git cat-file --batch 20:04:18 2022-09-05 20:04:18,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-211/.semver, universal_newlines=False, shell=None, istream=) 20:04:18 2022-09-05 20:04:18,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-211/.semver/PR-211 20:04:18 0.0.0 [Pipeline] } 20:04:18 $ docker exec --env ******** --env ******** 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e ssh-agent -k 20:04:18 unset SSH_AUTH_SOCK; 20:04:18 unset SSH_AGENT_PID; 20:04:18 echo Agent pid 79 killed; 20:04:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:19 + git semver [Pipeline] } 20:04:19 $ docker stop --time=1 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e 20:04:20 $ docker rm -f 9a13548f259c0fb4356ea9699fcf5588240df054384f2cdd4ccb0b6be0c6707e [Pipeline] // withDockerContainer [Pipeline] sh 20:04:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:21 Stashed 1 file(s) [Pipeline] echo 20:04:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:21 provisioning config files... 20:04:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/config215763071488445232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:22 ---> docker-login.sh 20:04:22 nexus3.edgexfoundry.org:10001 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 nexus3.edgexfoundry.org:10002 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 nexus3.edgexfoundry.org:10003 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 nexus3.edgexfoundry.org:10004 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 docker.io 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 ---> docker-login.sh ends [Pipeline] } 20:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:23 ========================================================= 20:04:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:24 Sending build context to Docker daemon 10.71MB 20:04:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:04:24 Step 2/12 : FROM ${BASE} AS builder 20:04:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:24 2408cc74d12b: Pulling fs layer 20:04:24 ea60b727a1ce: Pulling fs layer 20:04:24 30c4a7721957: Pulling fs layer 20:04:24 370296b7ddb6: Pulling fs layer 20:04:24 7c6cee850709: Pulling fs layer 20:04:24 39a5fcdaea64: Pulling fs layer 20:04:24 d94ebbe4e438: Pulling fs layer 20:04:24 bcfd1f05c69d: Pulling fs layer 20:04:24 59ccb84bbe0f: Pulling fs layer 20:04:24 370296b7ddb6: Waiting 20:04:24 d94ebbe4e438: Waiting 20:04:24 59ccb84bbe0f: Waiting 20:04:24 7c6cee850709: Waiting 20:04:24 39a5fcdaea64: Waiting 20:04:24 30c4a7721957: Verifying Checksum 20:04:24 30c4a7721957: Download complete 20:04:24 ea60b727a1ce: Verifying Checksum 20:04:24 ea60b727a1ce: Download complete 20:04:24 7c6cee850709: Verifying Checksum 20:04:24 7c6cee850709: Download complete 20:04:24 39a5fcdaea64: Verifying Checksum 20:04:24 39a5fcdaea64: Download complete 20:04:24 2408cc74d12b: Verifying Checksum 20:04:24 d94ebbe4e438: Download complete 20:04:24 2408cc74d12b: Pull complete 20:04:24 ea60b727a1ce: Pull complete 20:04:24 30c4a7721957: Pull complete 20:04:24 59ccb84bbe0f: Verifying Checksum 20:04:24 59ccb84bbe0f: Download complete 20:04:24 bcfd1f05c69d: Verifying Checksum 20:04:24 bcfd1f05c69d: Download complete 20:04:25 370296b7ddb6: Verifying Checksum 20:04:25 370296b7ddb6: Download complete 20:04:29 370296b7ddb6: Pull complete 20:04:29 7c6cee850709: Pull complete 20:04:29 39a5fcdaea64: Pull complete 20:04:29 d94ebbe4e438: Pull complete 20:04:31 bcfd1f05c69d: Pull complete 20:04:32 59ccb84bbe0f: Pull complete 20:04:32 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:04:32 ---> a4fb48ad2a94 20:04:32 Step 3/12 : ARG MAKE='make build' 20:04:34 ---> Running in 0e2d31fc7f67 20:04:34 Removing intermediate container 0e2d31fc7f67 20:04:34 ---> 2f0ed4553f99 20:04:34 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:34 ---> Running in 767def77b92f 20:04:34 Removing intermediate container 767def77b92f 20:04:34 ---> 536789cc7223 20:04:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:04:34 ---> Running in 917fc1b7585d 20:04:34 Removing intermediate container 917fc1b7585d 20:04:34 ---> 799d6312ad62 20:04:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:34 ---> Running in 00d2453f8cfe 20:04:35 Removing intermediate container 00d2453f8cfe 20:04:35 ---> 924748122921 20:04:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:35 ---> Running in 75559b3b613b 20:04:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:36 Still waiting to schedule task 20:04:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:04:37 (2/4) Installing libedit (20210910.3.1-r0) 20:04:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:04:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:04:37 Executing busybox-1.35.0-r13.trigger 20:04:37 OK: 216 MiB in 55 packages 20:04:38 Removing intermediate container 75559b3b613b 20:04:38 ---> 89e18a7bc2f0 20:04:38 Step 8/12 : WORKDIR /device-rest-go 20:04:38 ---> Running in 4d30c5646245 20:04:38 Removing intermediate container 4d30c5646245 20:04:38 ---> 2fd09099ce47 20:04:38 Step 9/12 : COPY go.mod vendor* ./ 20:04:38 ---> 84497c18de04 20:04:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:38 ---> Running in b21e561df07a 20:05:04 Removing intermediate container b21e561df07a 20:05:04 ---> eb370c5f821b 20:05:04 Step 11/12 : COPY . . 20:05:04 ---> a41c0b6721c2 20:05:04 Step 12/12 : RUN $MAKE 20:05:04 ---> Running in 1d4c9bcd6d30 20:05:04 noop 20:05:04 Removing intermediate container 1d4c9bcd6d30 20:05:04 ---> 9881c120f7d0 20:05:04 Successfully built 9881c120f7d0 20:05:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:05 + docker inspect -f . ci-base-image-x86_64 20:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:05 prd-ubuntu20.04-docker-8c-8g-24614 does not seem to be running inside a container 20:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-211 -v /w/workspace/gexfoundry_device-rest-go_PR-211:/w/workspace/gexfoundry_device-rest-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-211@tmp:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:05 $ docker top a47372e4de719d599d563ad14cb2a71854cdb0a162499e3c1e1e9018b23564d0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:06 + go version 20:05:06 go version go1.18.3 linux/amd64 [Pipeline] } 20:05:06 $ docker stop --time=1 a47372e4de719d599d563ad14cb2a71854cdb0a162499e3c1e1e9018b23564d0 20:05:07 $ docker rm -f a47372e4de719d599d563ad14cb2a71854cdb0a162499e3c1e1e9018b23564d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:08 + docker inspect -f . ci-base-image-x86_64 20:05:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:08 prd-ubuntu20.04-docker-8c-8g-24614 does not seem to be running inside a container 20:05:08 $ 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-211 -v /w/workspace/gexfoundry_device-rest-go_PR-211:/w/workspace/gexfoundry_device-rest-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-211@tmp:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:08 $ docker top d00583f2930e784448aebd81af6df3100382f866c313969e1e2de94b647f6744 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-211 [Pipeline] fileExists [Pipeline] sh 20:05:09 + make test 20:05:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:10 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:19 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:05:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:05:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:30 ./bin/test-attribution-txt.sh 20:05:30 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:05:30 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:05:30 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:05:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:30 $ docker stop --time=1 d00583f2930e784448aebd81af6df3100382f866c313969e1e2de94b647f6744 20:05:32 $ docker rm -f d00583f2930e784448aebd81af6df3100382f866c313969e1e2de94b647f6744 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:33 + ls -al . 20:05:33 total 172 20:05:33 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:05 . 20:05:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:03 .. 20:05:33 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:03 .dockerignore 20:05:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:05 .git 20:05:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:03 .github 20:05:33 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:03 .gitignore 20:05:33 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:03 .golangci.yml 20:05:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:04 .semver 20:05:33 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 5 20:03 Attribution.txt 20:05:33 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 5 20:03 CHANGELOG.md 20:05:33 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 5 20:03 Dockerfile 20:05:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:03 GOVERNANCE.md 20:05:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:03 Jenkinsfile 20:05:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:03 LICENSE 20:05:33 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 5 20:03 Makefile 20:05:33 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:03 OWNERS.md 20:05:33 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 5 20:03 README.md 20:05:33 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:04 VERSION 20:05:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:03 bin 20:05:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:03 cmd 20:05:33 -rw-r--r-- 1 jenkins jenkins 9355 Sep 5 20:05 coverage.out 20:05:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:03 driver 20:05:33 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 5 20:03 go.mod 20:05:33 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 5 20:03 go.sum 20:05:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:03 snap 20:05:33 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:34 + 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=12c62083bf836d8cdb613445a81d9c207203dc62 --label arch=amd64 --label version=0.0.0 . 20:05:34 Sending build context to Docker daemon 10.72MB 20:05:34 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:05:34 Step 2/25 : FROM ${BASE} AS builder 20:05:34 ---> 9881c120f7d0 20:05:34 Step 3/25 : ARG MAKE='make build' 20:05:34 ---> Running in 20a01ef0c312 20:05:34 Removing intermediate container 20a01ef0c312 20:05:34 ---> b10351cf079b 20:05:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:34 ---> Running in 3756131f3b13 20:05:34 Removing intermediate container 3756131f3b13 20:05:34 ---> 0ed44fdc2f69 20:05:34 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:05:34 ---> Running in d8e967bb1916 20:05:34 Removing intermediate container d8e967bb1916 20:05:34 ---> c4e468a58344 20:05:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:34 ---> Running in 36c3adc446f6 20:05:35 Removing intermediate container 36c3adc446f6 20:05:35 ---> 9dcf7fc1d2d3 20:05:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:35 ---> Running in fe789e2129cf 20:05:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:36 OK: 216 MiB in 55 packages 20:05:37 Removing intermediate container fe789e2129cf 20:05:37 ---> 4bd0949a0ae3 20:05:37 Step 8/25 : WORKDIR /device-rest-go 20:05:37 ---> Running in 3151d07c4357 20:05:37 Removing intermediate container 3151d07c4357 20:05:37 ---> 47b7067b47e0 20:05:37 Step 9/25 : COPY go.mod vendor* ./ 20:05:37 ---> 7f357f9c3735 20:05:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:37 ---> Running in b67a226576b6 20:05:38 Removing intermediate container b67a226576b6 20:05:38 ---> 6c0bdd2205b0 20:05:38 Step 11/25 : COPY . . 20:05:38 ---> 59ce778b6441 20:05:38 Step 12/25 : RUN $MAKE 20:05:38 ---> Running in 7a4fe4d12771 20:05:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:06:01 Removing intermediate container 7a4fe4d12771 20:06:01 ---> b25e72559e2f 20:06:01 Step 13/25 : FROM alpine:3.16 20:06:01 3.16: Pulling from library/alpine 20:06:01 213ec9aee27d: Pulling fs layer 20:06:01 213ec9aee27d: Verifying Checksum 20:06:01 213ec9aee27d: Download complete 20:06:01 213ec9aee27d: Pull complete 20:06:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:06:01 Status: Downloaded newer image for alpine:3.16 20:06:01 ---> 9c6f07244728 20:06:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:01 ---> Running in a6008aefa85b 20:06:01 Removing intermediate container a6008aefa85b 20:06:01 ---> d7a10b191b1f 20:06:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:06:01 ---> Running in 8334e05d820d 20:06:01 Removing intermediate container 8334e05d820d 20:06:01 ---> e4a0db75d98e 20:06:01 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:06:01 ---> Running in 1e4b7ab89404 20:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:01 (1/6) Installing dumb-init (1.2.5-r1) 20:06:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:01 (3/6) Installing libsodium (1.0.18-r0) 20:06:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:01 (5/6) Installing libzmq (4.3.4-r0) 20:06:01 (6/6) Installing zeromq (4.3.4-r0) 20:06:01 Executing busybox-1.35.0-r17.trigger 20:06:01 OK: 8 MiB in 20 packages 20:06:01 Removing intermediate container 1e4b7ab89404 20:06:01 ---> 1aa2442fe2f3 20:06:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:06:02 ---> da11aee8ebe0 20:06:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:06:02 ---> 7ba9959adcfd 20:06:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:02 ---> be6833b042c8 20:06:02 Step 20/25 : EXPOSE 59986 20:06:02 ---> Running in 41981f9931d3 20:06:02 Removing intermediate container 41981f9931d3 20:06:02 ---> b83b0334dad0 20:06:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:06:02 ---> Running in fc9b6b500e5e 20:06:02 Removing intermediate container fc9b6b500e5e 20:06:02 ---> 690ec06e2914 20:06:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:02 ---> Running in 6f96e9dabc2e 20:06:02 Removing intermediate container 6f96e9dabc2e 20:06:02 ---> 8fd35b648a4b 20:06:02 Step 23/25 : LABEL arch=amd64 20:06:02 ---> Running in c4ccfaf15d3a 20:06:03 Removing intermediate container c4ccfaf15d3a 20:06:03 ---> 067eae3905db 20:06:03 Step 24/25 : LABEL git_sha=12c62083bf836d8cdb613445a81d9c207203dc62 20:06:03 ---> Running in bb936d609c9d 20:06:03 Removing intermediate container bb936d609c9d 20:06:03 ---> a467194bd32c 20:06:03 Step 25/25 : LABEL version=0.0.0 20:06:03 ---> Running in 081460a50ec1 20:06:03 Removing intermediate container 081460a50ec1 20:06:03 ---> 391e833ba22b 20:06:03 [Warning] One or more build-args [ARCH] were not consumed 20:06:03 Successfully built 391e833ba22b 20:06:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:04 20:06:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:04 latest: Pulling from edgex-lftools-log-publisher 20:06:04 5eb5b503b376: Pulling fs layer 20:06:04 5c69ac0246d0: Pulling fs layer 20:06:04 ec43610c2a17: Pulling fs layer 20:06:04 3a2ae6a8a46f: Pulling fs layer 20:06:04 33b1e0a273af: Pulling fs layer 20:06:04 5d3b04190fa2: Pulling fs layer 20:06:04 2f39f015ded8: Pulling fs layer 20:06:04 2f39f015ded8: Waiting 20:06:04 5d3b04190fa2: Waiting 20:06:04 3a2ae6a8a46f: Waiting 20:06:04 33b1e0a273af: Waiting 20:06:04 5c69ac0246d0: Verifying Checksum 20:06:04 5c69ac0246d0: Download complete 20:06:04 3a2ae6a8a46f: Verifying Checksum 20:06:04 3a2ae6a8a46f: Download complete 20:06:04 33b1e0a273af: Verifying Checksum 20:06:04 33b1e0a273af: Download complete 20:06:04 5d3b04190fa2: Download complete 20:06:04 ec43610c2a17: Verifying Checksum 20:06:04 ec43610c2a17: Download complete 20:06:04 5eb5b503b376: Verifying Checksum 20:06:04 5eb5b503b376: Download complete 20:06:05 2f39f015ded8: Download complete 20:06:06 5eb5b503b376: Pull complete 20:06:06 5c69ac0246d0: Pull complete 20:06:07 ec43610c2a17: Pull complete 20:06:07 3a2ae6a8a46f: Pull complete 20:06:07 33b1e0a273af: Pull complete 20:06:07 5d3b04190fa2: Pull complete 20:06:12 2f39f015ded8: Pull complete 20:06:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:12 prd-ubuntu20.04-docker-8c-8g-24614 does not seem to be running inside a container 20:06: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-211 -v /w/workspace/gexfoundry_device-rest-go_PR-211:/w/workspace/gexfoundry_device-rest-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-211@tmp:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:15 $ docker top fa67dd86b1c38ffc0ee8ce56cd437012748ecf0e64a6f9c288b38c091e0aef40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:16 ---> job-cost.sh 20:06:16 lf-activate-venv: SKIPPING 20:06:16 INFO: No Stack... 20:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:17 INFO: Archiving Costs [Pipeline] sh 20:06:17 + cat /w/workspace/gexfoundry_device-rest-go_PR-211/archives/cost.csv 20:06:17 + cut -d, -f6 [Pipeline] lock 20:06:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] 20:06:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] did not exist. Created. 20:06:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:17 Stashed 1 file(s) [Pipeline] } 20:06:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:17 $ docker stop --time=1 fa67dd86b1c38ffc0ee8ce56cd437012748ecf0e64a6f9c288b38c091e0aef40 20:06:19 $ docker rm -f fa67dd86b1c38ffc0ee8ce56cd437012748ecf0e64a6f9c288b38c091e0aef40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24616 in /w/workspace/gexfoundry_device-rest-go_PR-211 [Pipeline] { [Pipeline] ws 20:06:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:23 The recommended git tool is: git 20:06:27 using credential edgex-jenkins-ssh 20:06:27 Cloning the remote Git repository 20:06:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:27 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:27 > git --version # timeout=10 20:06:27 > git --version # 'git version 2.25.1' 20:06:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:30 Merging remotes/origin/main commit 3bfa2c7cebef17aba10611e718aa3e6714bdeddd into PR head commit 12c62083bf836d8cdb613445a81d9c207203dc62 20:06:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:30 > git config core.sparsecheckout # timeout=10 20:06:30 Merge succeeded, producing 12c62083bf836d8cdb613445a81d9c207203dc62 20:06:30 Checking out Revision 12c62083bf836d8cdb613445a81d9c207203dc62 (PR-211) 20:06:30 > git checkout -f 12c62083bf836d8cdb613445a81d9c207203dc62 # timeout=10 20:06:30 > git remote # timeout=10 20:06:30 > git config --get remote.origin.url # timeout=10 20:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:30 > git merge 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 20:06:30 > git rev-parse HEAD^{commit} # timeout=10 20:06:30 > git config core.sparsecheckout # timeout=10 20:06:30 > git checkout -f 12c62083bf836d8cdb613445a81d9c207203dc62 # timeout=10 20:06:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:06:35 > git --version # timeout=10 20:06:35 > git --version # 'git version 2.25.1' 20:06:35 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:36 Dload Upload Total Spent Left Speed 20:06:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80267 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh 20:06:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:37 + sudo tee /etc/docker/daemon.new 20:06:37 { 20:06:37 "registry-mirrors": [ 20:06:37 "https://nexus3.edgexfoundry.org:10001" 20:06:37 ], 20:06:37 "bip": "10.250.0.254/24", 20:06:37 "hosts": [ 20:06:37 "tcp://0.0.0.0:5555", 20:06:37 "unix:///var/run/docker.sock" 20:06:37 ], 20:06:37 "mtu": 1458, 20:06:37 "selinux-enabled": true, 20:06:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:37 } [Pipeline] sh 20:06:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:56 provisioning config files... 20:06:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5101778968191981675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:57 ---> docker-login.sh 20:06:57 nexus3.edgexfoundry.org:10001 20:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:58 Configure a credential helper to remove this warning. See 20:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:58 20:06:58 Login Succeeded 20:06:58 nexus3.edgexfoundry.org:10002 20:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:58 Configure a credential helper to remove this warning. See 20:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:58 20:06:58 Login Succeeded 20:06:58 nexus3.edgexfoundry.org:10003 20:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:58 Configure a credential helper to remove this warning. See 20:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:58 20:06:58 Login Succeeded 20:06:58 nexus3.edgexfoundry.org:10004 20:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:59 Configure a credential helper to remove this warning. See 20:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:59 20:06:59 Login Succeeded 20:06:59 docker.io 20:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:00 Configure a credential helper to remove this warning. See 20:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:00 20:07:00 Login Succeeded 20:07:00 ---> docker-login.sh ends [Pipeline] } 20:07:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:00 ========================================================= 20:07:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:07:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:07:00 Sending build context to Docker daemon 126kB 20:07:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:07:01 Step 2/12 : FROM ${BASE} AS builder 20:07:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:01 b3c136eddcbf: Pulling fs layer 20:07:01 c0a3192eca97: Pulling fs layer 20:07:01 a050256f5b6f: Pulling fs layer 20:07:01 656be50a0ddc: Pulling fs layer 20:07:01 2bbca73fdf42: Pulling fs layer 20:07:01 46d945488cbd: Pulling fs layer 20:07:01 8a5474983e97: Pulling fs layer 20:07:01 329c88fbcd65: Pulling fs layer 20:07:01 2bbca73fdf42: Waiting 20:07:01 656be50a0ddc: Waiting 20:07:01 46d945488cbd: Waiting 20:07:01 8a5474983e97: Waiting 20:07:01 329c88fbcd65: Waiting 20:07:01 a050256f5b6f: Download complete 20:07:01 c0a3192eca97: Verifying Checksum 20:07:01 c0a3192eca97: Download complete 20:07:01 2bbca73fdf42: Verifying Checksum 20:07:01 2bbca73fdf42: Download complete 20:07:01 b3c136eddcbf: Verifying Checksum 20:07:01 b3c136eddcbf: Download complete 20:07:01 46d945488cbd: Verifying Checksum 20:07:01 46d945488cbd: Download complete 20:07:02 b3c136eddcbf: Pull complete 20:07:02 329c88fbcd65: Verifying Checksum 20:07:02 329c88fbcd65: Download complete 20:07:03 c0a3192eca97: Pull complete 20:07:03 a050256f5b6f: Pull complete 20:07:03 8a5474983e97: Verifying Checksum 20:07:03 8a5474983e97: Download complete 20:07:04 656be50a0ddc: Verifying Checksum 20:07:04 656be50a0ddc: Download complete 20:07:19 656be50a0ddc: Pull complete 20:07:19 2bbca73fdf42: Pull complete 20:07:19 46d945488cbd: Pull complete 20:07:25 8a5474983e97: Pull complete 20:07:27 329c88fbcd65: Pull complete 20:07:27 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:27 ---> ff4287adb874 20:07:27 Step 3/12 : ARG MAKE='make build' 20:07:28 ---> Running in 419ab501ccfa 20:07:28 Removing intermediate container 419ab501ccfa 20:07:28 ---> 9fcbbcbc596b 20:07:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:28 ---> Running in b828ded9885a 20:07:29 Removing intermediate container b828ded9885a 20:07:29 ---> 10e1695ee12d 20:07:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:07:29 ---> Running in cf7e7ed057b1 20:07:29 Removing intermediate container cf7e7ed057b1 20:07:29 ---> 5c6fec027de4 20:07:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:29 ---> Running in 3efefaab596c 20:07:31 Removing intermediate container 3efefaab596c 20:07:31 ---> 54036eef6227 20:07:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:31 ---> Running in abd6241a4a2e 20:07:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:33 (2/4) Installing libedit (20210910.3.1-r0) 20:07:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:34 Executing busybox-1.35.0-r13.trigger 20:07:34 OK: 226 MiB in 55 packages 20:07:35 Removing intermediate container abd6241a4a2e 20:07:35 ---> 01d81efa72c5 20:07:35 Step 8/12 : WORKDIR /device-rest-go 20:07:35 ---> Running in 732bbd702528 20:07:35 Removing intermediate container 732bbd702528 20:07:35 ---> 913099ce9828 20:07:35 Step 9/12 : COPY go.mod vendor* ./ 20:07:36 ---> 6b96052267df 20:07:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:36 ---> Running in 7bcdc4604e61 20:08:23 Removing intermediate container 7bcdc4604e61 20:08:23 ---> 2048809e2f7e 20:08:23 Step 11/12 : COPY . . 20:08:23 ---> d22a649765a9 20:08:23 Step 12/12 : RUN $MAKE 20:08:23 ---> Running in 33029e7c9610 20:08:24 noop 20:08:25 Removing intermediate container 33029e7c9610 20:08:25 ---> 6831ffb6325d 20:08:25 Successfully built 6831ffb6325d 20:08:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:25 + docker inspect -f . ci-base-image-arm64 20:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:26 prd-ubuntu20.04-docker-arm64-4c-16g-24616 does not seem to be running inside a container 20:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:27 $ docker top 80326ecd943f9f0ecffddd72d9b26704a6eb0585131685a9fda97f0064b50be6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:28 + go version 20:08:28 go version go1.18.3 linux/arm64 [Pipeline] } 20:08:28 $ docker stop --time=1 80326ecd943f9f0ecffddd72d9b26704a6eb0585131685a9fda97f0064b50be6 20:08:30 $ docker rm -f 80326ecd943f9f0ecffddd72d9b26704a6eb0585131685a9fda97f0064b50be6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:30 + docker inspect -f . ci-base-image-arm64 20:08:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:31 prd-ubuntu20.04-docker-arm64-4c-16g-24616 does not seem to be running inside a container 20:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:32 $ docker top ded5bd9fd0e84cc6d998ef1656e499bd4f53d1d1d5471a77c8c32dd2251184ab -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:33 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:34 + make test 20:08:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:35 ? github.com/edgexfoundry/device-rest-go [no test files] 20:09:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:09:57 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements 20:09:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:09:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:16 ./bin/test-attribution-txt.sh 20:10:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:10:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:10:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:16 $ docker stop --time=1 ded5bd9fd0e84cc6d998ef1656e499bd4f53d1d1d5471a77c8c32dd2251184ab 20:10:18 $ docker rm -f ded5bd9fd0e84cc6d998ef1656e499bd4f53d1d1d5471a77c8c32dd2251184ab [Pipeline] // withDockerContainer [Pipeline] sh 20:10:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:19 Warning: overwriting stash ‘coverage-report’ 20:10:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:20 + ls -al . 20:10:20 total 168 20:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:08 . 20:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:06 .. 20:10:20 -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:06 .dockerignore 20:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:06 .git 20:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:06 .github 20:10:20 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:06 .gitignore 20:10:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:06 .golangci.yml 20:10:20 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 5 20:06 Attribution.txt 20:10:20 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 5 20:06 CHANGELOG.md 20:10:20 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 5 20:06 Dockerfile 20:10:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:06 GOVERNANCE.md 20:10:20 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:06 Jenkinsfile 20:10:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:06 LICENSE 20:10:20 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 5 20:06 Makefile 20:10:20 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:06 OWNERS.md 20:10:20 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 5 20:06 README.md 20:10:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:04 VERSION 20:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:06 bin 20:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:06 cmd 20:10:20 -rw-r--r-- 1 jenkins jenkins 9355 Sep 5 20:09 coverage.out 20:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:06 driver 20:10:20 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 5 20:06 go.mod 20:10:20 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 5 20:06 go.sum 20:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:06 snap 20:10:20 -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:20 + 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=12c62083bf836d8cdb613445a81d9c207203dc62 --label arch=arm64 --label version=0.0.0 . 20:10:20 Sending build context to Docker daemon 136.2kB 20:10:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:10:21 Step 2/25 : FROM ${BASE} AS builder 20:10:21 ---> 6831ffb6325d 20:10:21 Step 3/25 : ARG MAKE='make build' 20:10:21 ---> Running in 2a340c2c4c91 20:10:21 Removing intermediate container 2a340c2c4c91 20:10:21 ---> 06bfed8183cc 20:10:21 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:21 ---> Running in 42ea2ed7e2e2 20:10:22 Removing intermediate container 42ea2ed7e2e2 20:10:22 ---> b60aa33445bc 20:10:22 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:10:22 ---> Running in 33b1a4451db8 20:10:22 Removing intermediate container 33b1a4451db8 20:10:22 ---> 42f3d9bbdd33 20:10:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:22 ---> Running in e196789c8938 20:10:24 Removing intermediate container e196789c8938 20:10:24 ---> 434f69846c89 20:10:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:24 ---> Running in ccaa264536db 20:10:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:27 OK: 226 MiB in 55 packages 20:10:27 Removing intermediate container ccaa264536db 20:10:27 ---> 9e259ee5e9f1 20:10:27 Step 8/25 : WORKDIR /device-rest-go 20:10:27 ---> Running in 7074dc2b8ff5 20:10:28 Removing intermediate container 7074dc2b8ff5 20:10:28 ---> d35c3e9a2816 20:10:28 Step 9/25 : COPY go.mod vendor* ./ 20:10:28 ---> e25cfa39191b 20:10:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:28 ---> Running in 62ce74765397 20:10:30 Removing intermediate container 62ce74765397 20:10:30 ---> 8f6bfbfe77d1 20:10:30 Step 11/25 : COPY . . 20:10:31 ---> ebe2853e7995 20:10:31 Step 12/25 : RUN $MAKE 20:10:31 ---> Running in 17dbaa62c3ba 20:10:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:12:39 Removing intermediate container 17dbaa62c3ba 20:12:39 ---> cd5e6f00f23d 20:12:39 Step 13/25 : FROM alpine:3.16 20:12:39 3.16: Pulling from library/alpine 20:12:39 9b18e9b68314: Pulling fs layer 20:12:39 9b18e9b68314: Verifying Checksum 20:12:39 9b18e9b68314: Download complete 20:12:39 9b18e9b68314: Pull complete 20:12:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:12:39 Status: Downloaded newer image for alpine:3.16 20:12:39 ---> a6215f271958 20:12:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:12:39 ---> Running in ea324ec82fbb 20:12:39 Removing intermediate container ea324ec82fbb 20:12:39 ---> 4eeafdac9682 20:12:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:12:39 ---> Running in 3eb5057b9d1f 20:12:39 Removing intermediate container 3eb5057b9d1f 20:12:39 ---> af45b0841df8 20:12:39 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:12:39 ---> Running in 1608cf1b718f 20:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:39 (1/6) Installing dumb-init (1.2.5-r1) 20:12:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:12:39 (3/6) Installing libsodium (1.0.18-r0) 20:12:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:12:39 (5/6) Installing libzmq (4.3.4-r0) 20:12:39 (6/6) Installing zeromq (4.3.4-r0) 20:12:39 Executing busybox-1.35.0-r17.trigger 20:12:39 OK: 8 MiB in 20 packages 20:12:39 Removing intermediate container 1608cf1b718f 20:12:39 ---> 7555a9135808 20:12:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:12:40 ---> eb8e523e31cc 20:12:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:12:40 ---> f571f2511f48 20:12:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:12:41 ---> 5727268d20ba 20:12:41 Step 20/25 : EXPOSE 59986 20:12:41 ---> Running in 7d1318fa8fcc 20:12:41 Removing intermediate container 7d1318fa8fcc 20:12:41 ---> 3074ba669d95 20:12:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:12:41 ---> Running in bda728eb1cd2 20:12:41 Removing intermediate container bda728eb1cd2 20:12:41 ---> ca856fee4f41 20:12:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:12:41 ---> Running in edd278f6ceae 20:12:42 Removing intermediate container edd278f6ceae 20:12:42 ---> 12a7c249f104 20:12:42 Step 23/25 : LABEL arch=arm64 20:12:42 ---> Running in 81c3eb56a72e 20:12:42 Removing intermediate container 81c3eb56a72e 20:12:42 ---> 83bf55cef1f2 20:12:42 Step 24/25 : LABEL git_sha=12c62083bf836d8cdb613445a81d9c207203dc62 20:12:42 ---> Running in 7e38e79b340f 20:12:43 Removing intermediate container 7e38e79b340f 20:12:43 ---> b7b7bcaceb49 20:12:43 Step 25/25 : LABEL version=0.0.0 20:12:43 ---> Running in 02b1ec09641e 20:12:43 Removing intermediate container 02b1ec09641e 20:12:43 ---> 9a60b4803303 20:12:43 [Warning] One or more build-args [ARCH] were not consumed 20:12:43 Successfully built 9a60b4803303 20:12:43 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:44 20:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:44 arm64: Pulling from edgex-lftools-log-publisher 20:12:44 8998bd30e6a1: Pulling fs layer 20:12:44 04944245beec: Pulling fs layer 20:12:44 699f458cf7ca: Pulling fs layer 20:12:44 765212b225bb: Pulling fs layer 20:12:44 f23df028b6ca: Pulling fs layer 20:12:44 d65c8cfc05b1: Pulling fs layer 20:12:44 2437ff75d9bd: Pulling fs layer 20:12:44 765212b225bb: Waiting 20:12:44 f23df028b6ca: Waiting 20:12:44 d65c8cfc05b1: Waiting 20:12:44 2437ff75d9bd: Waiting 20:12:44 04944245beec: Verifying Checksum 20:12:44 04944245beec: Download complete 20:12:44 765212b225bb: Verifying Checksum 20:12:44 765212b225bb: Download complete 20:12:44 f23df028b6ca: Verifying Checksum 20:12:44 f23df028b6ca: Download complete 20:12:44 d65c8cfc05b1: Verifying Checksum 20:12:44 d65c8cfc05b1: Download complete 20:12:45 699f458cf7ca: Verifying Checksum 20:12:45 699f458cf7ca: Download complete 20:12:45 8998bd30e6a1: Verifying Checksum 20:12:45 8998bd30e6a1: Download complete 20:12:48 2437ff75d9bd: Verifying Checksum 20:12:50 8998bd30e6a1: Pull complete 20:12:50 04944245beec: Pull complete 20:12:51 699f458cf7ca: Pull complete 20:12:52 765212b225bb: Pull complete 20:12:53 f23df028b6ca: Pull complete 20:12:53 d65c8cfc05b1: Pull complete 20:13:08 2437ff75d9bd: Pull complete 20:13:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-24616 does not seem to be running inside a container 20:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:13:11 $ docker top 0b68a4c6704b619c538e4ba3f7504ce660987b60622f95591257747eec99b894 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:12 ---> job-cost.sh 20:13:12 lf-activate-venv: SKIPPING 20:13:12 INFO: No Stack... 20:13:12 INFO: Retrieving Pricing Info for: v3-standard-4 20:13:13 INFO: Archiving Costs [Pipeline] sh 20:13:14 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:13:14 + cut -d, -f6 [Pipeline] lock 20:13:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] 20:13:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] did not exist. Created. 20:13:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:15 /w/workspace/device-rest-go/1@tmp/durable-4d067e34/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:13:16 + echo total: 0.10999999940395355 [Pipeline] stash 20:13:16 Warning: overwriting stash ‘stack-cost’ 20:13:16 Stashed 1 file(s) [Pipeline] } 20:13:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:16 $ docker stop --time=1 0b68a4c6704b619c538e4ba3f7504ce660987b60622f95591257747eec99b894 20:13:17 $ docker rm -f 0b68a4c6704b619c538e4ba3f7504ce660987b60622f95591257747eec99b894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:13:18 provisioning config files... 20:13:18 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/config173036571796293832tmp [Pipeline] { [Pipeline] sh 20:13:19 + set +x 20:13:19 + bash -s -- 20:13:19 + curl -s https://codecov.io/bash 20:13:19 20:13:19 _____ _ 20:13:19 / ____| | | 20:13:19 | | ___ __| | ___ ___ _____ __ 20:13:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:13:19 | |___| (_) | (_| | __/ (_| (_) \ V / 20:13:19 \_____\___/ \__,_|\___|\___\___/ \_/ 20:13:19 Bash-1.0.6 20:13:19 20:13:19 20:13:19 ==> git version 2.25.1 found 20:13:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:13:19 Release-Date: 2020-01-08 20:13:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:13:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:13:19 ==> Jenkins CI detected. 20:13:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-211 20:13:19 project root: . 20:13:19 --> token set from env 20:13:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:13:19 ==> Running gcov in . (disable via -X gcov) 20:13:19 ==> Python coveragepy not found 20:13:19 ==> Searching for coverage reports in: 20:13:19 + . 20:13:19 -> Found 1 reports 20:13:19 ==> Detecting git/mercurial file structure 20:13:19 ==> Reading reports 20:13:19 + ./coverage.out bytes=9355 20:13:19 ==> Appending adjustments 20:13:19 https://docs.codecov.io/docs/fixing-reports 20:13:19 + Found adjustments 20:13:19 ==> Gzipping contents 20:13:19 4.0K /tmp/codecov.JoXdSM.gz 20:13:19 ==> Uploading reports 20:13:19 url: https://codecov.io 20:13:19 query: branch=PR-211&commit=12c62083bf836d8cdb613445a81d9c207203dc62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=211&job=&cmd_args= 20:13:19 -> Pinging Codecov 20:13:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-211&commit=12c62083bf836d8cdb613445a81d9c207203dc62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=211&job=&cmd_args= 20:13:19 -> Uploading to 20:13:19 https://storage.googleapis.com/codecov/v4/raw/2022-09-05/4E5D53B4F1F92C436F7061BF334D961C/12c62083bf836d8cdb613445a81d9c207203dc62/42b4fd10-41f9-4147-ba95-bd94fe8326d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T201319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20d03dab21042b787abde3802f64dc49a8f1b3db97d53d64788b969743ccc3fe 20:13:19 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:19 Dload Upload Total Spent Left Speed 20:13:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7337 --:--:-- --:--:-- --:--:-- 7337 20:13:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/12c62083bf836d8cdb613445a81d9c207203dc62 [Pipeline] } 20:13:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:13:21 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-211/archives ] 20:13:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-211/archives 20:13:21 total 16 20:13:21 drwxr-xr-x 3 root root 4096 Sep 5 20:06 . 20:13:21 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:06 .. 20:13:21 drwxr-xr-x 2 root root 4096 Sep 5 20:06 cost 20:13:21 -rw-r--r-- 1 root root 86 Sep 5 20:06 cost.csv 20:13:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-211/archives 20:13:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-211/archives 20:13:21 total 16 20:13:21 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:06 . 20:13:21 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:06 .. 20:13:21 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:06 cost 20:13:21 -rw-r--r-- 1 jenkins jenkins 86 Sep 5 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:13:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:13:23 ---> package-listing.sh 20:13:23 ++ facter osfamily 20:13:23 ++ tr '[:upper:]' '[:lower:]' 20:13:23 + OS_FAMILY=debian 20:13:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-211 20:13:23 + START_PACKAGES=/tmp/packages_start.txt 20:13:23 + END_PACKAGES=/tmp/packages_end.txt 20:13:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:13:23 + PACKAGES=/tmp/packages_start.txt 20:13:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-211 ']' 20:13:23 + PACKAGES=/tmp/packages_end.txt 20:13:23 + case "${OS_FAMILY}" in 20:13:23 + dpkg -l 20:13:23 + grep '^ii' 20:13:23 + '[' -f /tmp/packages_start.txt ']' 20:13:23 + '[' -f /tmp/packages_end.txt ']' 20:13:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:13:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-211 ']' 20:13:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-211/archives/ 20:13:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-211/archives/ [Pipeline] echo 20:13:23 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-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:13:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:24 prd-ubuntu20.04-docker-8c-8g-24614 does not seem to be running inside a container 20:13:24 $ 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-211/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-211 -v /w/workspace/gexfoundry_device-rest-go_PR-211:/w/workspace/gexfoundry_device-rest-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-211@tmp:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:24 $ docker top 18cc44916b4a3eddb317b9e2bb8234aa8ae2b7cc5a20906e0b8f3ee8040b7e7e -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:13:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:13:25 + ls /var/log/sa-host 20:13:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:25 provisioning config files... 20:13:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-211@tmp/config8406416628181532741tmp [Pipeline] { [Pipeline] echo 20:13:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:13:26 ---> create-netrc.sh [Pipeline] } 20:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:13:26 ---> python-tools-install.sh [Pipeline] echo 20:13:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:13:27 ---> sudo-logs.sh 20:13:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:13:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:13:27 ---> job-cost.sh 20:13:27 lf-activate-venv: SKIPPING 20:13:27 DEBUG: total: 0.2199999988079071 20:13:27 INFO: Retrieving Stack Cost... 20:13:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:28 INFO: Archiving Costs [Pipeline] echo 20:13:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:13:29 ---> logs-deploy.sh 20:13:29 lf-activate-venv: SKIPPING 20:13:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-211/1 20:13:29 INFO: archiving workspace using pattern(s): 20:13:29 Archives upload complete. 20:13:30 INFO: archiving logs to Nexus 20:13:30 ---> uname -a: 20:13:30 Linux prd-ubuntu20-04-docker-8c-8g-24614 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:13:30 20:13:30 20:13:30 ---> lscpu: 20:13:30 Architecture: x86_64 20:13:30 CPU op-mode(s): 32-bit, 64-bit 20:13:30 Byte Order: Little Endian 20:13:30 Address sizes: 40 bits physical, 48 bits virtual 20:13:30 CPU(s): 8 20:13:30 On-line CPU(s) list: 0-7 20:13:30 Thread(s) per core: 1 20:13:30 Core(s) per socket: 1 20:13:30 Socket(s): 8 20:13:30 NUMA node(s): 1 20:13:30 Vendor ID: AuthenticAMD 20:13:30 CPU family: 23 20:13:30 Model: 49 20:13:30 Model name: AMD EPYC-Rome Processor 20:13:30 Stepping: 0 20:13:30 CPU MHz: 2800.002 20:13:30 BogoMIPS: 5600.00 20:13:30 Virtualization: AMD-V 20:13:30 Hypervisor vendor: KVM 20:13:30 Virtualization type: full 20:13:30 L1d cache: 256 KiB 20:13:30 L1i cache: 256 KiB 20:13:30 L2 cache: 4 MiB 20:13:30 L3 cache: 128 MiB 20:13:30 NUMA node0 CPU(s): 0-7 20:13:30 Vulnerability Itlb multihit: Not affected 20:13:30 Vulnerability L1tf: Not affected 20:13:30 Vulnerability Mds: Not affected 20:13:30 Vulnerability Meltdown: Not affected 20:13:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:13:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:13:30 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:13:30 Vulnerability Srbds: Not affected 20:13:30 Vulnerability Tsx async abort: Not affected 20:13:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:13:30 20:13:30 20:13:30 ---> nproc: 20:13:30 8 20:13:30 20:13:30 20:13:30 ---> df -h: 20:13:30 Filesystem Size Used Avail Use% Mounted on 20:13:30 overlay 155G 11G 145G 7% / 20:13:30 tmpfs 64M 0 64M 0% /dev 20:13:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:13:30 shm 64M 0 64M 0% /dev/shm 20:13:30 /dev/vda1 155G 11G 145G 7% /facter-os 20:13:30 20:13:30 20:13:30 ---> sar -b -r -n DEV: 20:13:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24614) 09/05/22 _x86_64_ (8 CPU) 20:13:30 20:13:30 20:03:22 LINUX RESTART (8 CPU) 20:13:30 20:13:30 20:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:13:30 20:05:01 177.20 11.70 165.51 0.00 1989.54 105145.41 0.00 20:13:30 20:06:01 143.56 0.08 143.48 0.00 9.33 30095.38 0.00 20:13:30 20:07:01 74.19 0.00 74.19 0.00 0.00 19249.34 0.00 20:13:30 20:08:01 1.43 0.00 1.43 0.00 0.00 16.53 0.00 20:13:30 20:09:01 1.25 0.02 1.23 0.00 0.13 13.73 0.00 20:13:30 20:10:01 1.08 0.00 1.08 0.00 0.00 13.86 0.00 20:13:30 20:11:01 1.02 0.00 1.02 0.00 0.00 11.60 0.00 20:13:30 20:12:01 1.12 0.00 1.12 0.00 0.00 14.66 0.00 20:13:30 20:13:01 1.10 0.00 1.10 0.00 0.00 11.60 0.00 20:13:30 Average: 44.66 1.31 43.35 0.00 222.10 17174.04 0.00 20:13:30 20:13:30 20:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:13:30 20:05:01 27881800 31751556 536088 1.63 158756 3882260 2020424 5.95 1223460 3288012 182672 20:13:30 20:06:01 28088848 31725948 564636 1.72 163988 3673888 2165104 6.38 1285184 3046504 3128 20:13:30 20:07:01 27612660 31775464 513764 1.56 173340 4140040 1853324 5.46 1281652 3474240 16 20:13:30 20:08:01 27613628 31776456 512652 1.56 173352 4140044 1853324 5.46 1280576 3474244 48 20:13:30 20:09:01 27619016 31781888 507228 1.54 173376 4140044 1853324 5.46 1275996 3474300 24 20:13:30 20:10:01 27619504 31782412 506640 1.54 173396 4140056 1853324 5.46 1275296 3474300 60 20:13:30 20:11:01 27624204 31787204 501860 1.53 173416 4140052 1853324 5.46 1271076 3474380 44 20:13:30 20:12:01 27625160 31788200 501020 1.52 173440 4140060 1853324 5.46 1270632 3474384 228 20:13:30 20:13:01 27625144 31788188 500968 1.52 173464 4140064 1853324 5.46 1270468 3474384 16 20:13:30 Average: 27701107 31773035 516095 1.57 170725 4059612 1906533 5.62 1270482 3406083 20693 20:13:30 20:13:30 20:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:13:30 20:05:01 docker0 157.24 185.79 12.43 1652.60 0.00 0.00 0.00 0.00 20:13:30 20:05:01 ens3 461.92 343.79 7278.09 54.53 0.00 0.00 0.00 0.00 20:13:30 20:05:01 lo 5.73 5.73 0.56 0.56 0.00 0.00 0.00 0.00 20:13:30 20:06:01 docker0 10.83 15.33 0.65 98.77 0.00 0.00 0.00 0.00 20:13:30 20:06:01 ens3 94.52 71.30 187.00 70.54 0.00 0.00 0.00 0.00 20:13:30 20:06:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 20:13:30 20:06:01 vethcb92abc 2.55 5.48 0.20 57.95 0.00 0.00 0.00 0.00 20:13:30 20:07:01 docker0 0.07 0.07 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:07:01 ens3 96.22 62.71 2523.39 11.75 0.00 0.00 0.00 0.00 20:13:30 20:07:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 20:13:30 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:08:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:09:01 ens3 17.88 15.24 13.84 17.39 0.00 0.00 0.00 0.00 20:13:30 20:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:10:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:11:01 ens3 8.31 16.48 0.78 15.23 0.00 0.00 0.00 0.00 20:13:30 20:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:12:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:13:30 20:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:13:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 20:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:13:30 Average: docker0 18.68 22.35 1.45 194.59 0.00 0.00 0.00 0.00 20:13:30 Average: ens3 75.47 56.65 1111.42 18.83 0.00 0.00 0.00 0.00 20:13:30 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 20:13:30 20:13:30 20:13:30 ---> sar -P ALL: 20:13:30 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24614) 09/05/22 _x86_64_ (8 CPU) 20:13:30 20:13:30 20:03:22 LINUX RESTART (8 CPU) 20:13:30 20:13:30 20:04:01 CPU %user %nice %system %iowait %steal %idle 20:13:30 20:05:01 all 10.83 0.00 4.43 2.47 0.08 82.20 20:13:30 20:05:01 0 10.60 0.00 4.28 8.01 0.08 77.03 20:13:30 20:05:01 1 9.32 0.00 4.32 0.73 0.07 85.56 20:13:30 20:05:01 2 10.22 0.00 4.37 1.33 0.07 84.01 20:13:30 20:05:01 3 11.05 0.00 4.32 0.13 0.07 84.43 20:13:30 20:05:01 4 11.38 0.00 5.18 3.35 0.08 80.01 20:13:30 20:05:01 5 11.10 0.00 4.02 4.37 0.07 80.44 20:13:30 20:05:01 6 11.75 0.00 4.04 1.71 0.08 82.41 20:13:30 20:05:01 7 11.20 0.00 4.87 0.14 0.08 83.71 20:13:30 20:06:01 all 38.33 0.00 6.54 1.18 0.08 53.86 20:13:30 20:06:01 0 36.92 0.00 6.72 1.57 0.07 54.72 20:13:30 20:06:01 1 38.03 0.00 6.76 3.39 0.07 51.75 20:13:30 20:06:01 2 38.63 0.00 6.14 1.64 0.12 53.47 20:13:30 20:06:01 3 38.08 0.00 6.56 1.18 0.08 54.10 20:13:30 20:06:01 4 38.95 0.00 6.64 0.30 0.07 54.04 20:13:30 20:06:01 5 39.27 0.00 6.24 0.10 0.10 54.29 20:13:30 20:06:01 6 38.39 0.00 6.68 0.52 0.07 54.34 20:13:30 20:06:01 7 38.37 0.00 6.60 0.76 0.08 54.18 20:13:30 20:07:01 all 3.54 0.00 1.53 0.73 0.03 94.17 20:13:30 20:07:01 0 3.30 0.00 1.74 0.07 0.02 94.88 20:13:30 20:07:01 1 3.66 0.00 1.73 3.53 0.03 91.05 20:13:30 20:07:01 2 3.97 0.00 1.53 0.43 0.02 94.05 20:13:30 20:07:01 3 3.57 0.00 1.61 1.48 0.02 93.33 20:13:30 20:07:01 4 3.48 0.00 1.42 0.02 0.02 95.06 20:13:30 20:07:01 5 3.53 0.00 1.47 0.03 0.03 94.93 20:13:30 20:07:01 6 3.37 0.00 1.51 0.32 0.05 94.76 20:13:30 20:07:01 7 3.47 0.00 1.21 0.02 0.03 95.27 20:13:30 20:08:01 all 0.02 0.00 0.01 0.00 0.01 99.96 20:13:30 20:08:01 0 0.02 0.00 0.00 0.00 0.02 99.97 20:13:30 20:08:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:13:30 20:08:01 2 0.00 0.00 0.00 0.00 0.02 99.98 20:13:30 20:08:01 3 0.02 0.00 0.00 0.02 0.02 99.95 20:13:30 20:08:01 4 0.00 0.00 0.02 0.00 0.02 99.97 20:13:30 20:08:01 5 0.00 0.00 0.02 0.02 0.00 99.97 20:13:30 20:08:01 6 0.08 0.00 0.02 0.00 0.02 99.88 20:13:30 20:08:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:13:30 20:09:01 all 0.07 0.00 0.02 0.01 0.01 99.90 20:13:30 20:09:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:13:30 20:09:01 1 0.08 0.00 0.02 0.02 0.02 99.87 20:13:30 20:09:01 2 0.08 0.00 0.03 0.00 0.02 99.87 20:13:30 20:09:01 3 0.03 0.00 0.00 0.03 0.00 99.93 20:13:30 20:09:01 4 0.07 0.00 0.00 0.00 0.00 99.93 20:13:30 20:09:01 5 0.03 0.00 0.00 0.00 0.00 99.97 20:13:30 20:09:01 6 0.12 0.00 0.02 0.00 0.03 99.83 20:13:30 20:09:01 7 0.12 0.00 0.05 0.00 0.00 99.83 20:13:30 20:10:01 all 0.01 0.00 0.02 0.00 0.01 99.96 20:13:30 20:10:01 0 0.02 0.00 0.00 0.00 0.02 99.97 20:13:30 20:10:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:13:30 20:10:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:13:30 20:10:01 3 0.00 0.00 0.02 0.02 0.02 99.95 20:13:30 20:10:01 4 0.00 0.00 0.02 0.00 0.02 99.97 20:13:30 20:10:01 5 0.03 0.00 0.02 0.02 0.00 99.93 20:13:30 20:10:01 6 0.03 0.00 0.05 0.00 0.03 99.88 20:13:30 20:10:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:13:30 20:11:01 all 0.04 0.00 0.02 0.01 0.00 99.93 20:13:30 20:11:01 0 0.05 0.00 0.00 0.00 0.00 99.95 20:13:30 20:11:01 1 0.03 0.00 0.00 0.02 0.00 99.95 20:13:30 20:11:01 2 0.07 0.00 0.07 0.00 0.00 99.87 20:13:30 20:11:01 3 0.05 0.00 0.02 0.03 0.00 99.90 20:13:30 20:11:01 4 0.02 0.00 0.02 0.00 0.00 99.97 20:13:30 20:11:01 5 0.03 0.00 0.00 0.00 0.00 99.97 20:13:30 20:11:01 6 0.07 0.00 0.03 0.00 0.02 99.88 20:13:30 20:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:13:30 20:12:01 all 0.02 0.00 0.01 0.01 0.01 99.95 20:13:30 20:12:01 0 0.07 0.00 0.02 0.00 0.02 99.90 20:13:30 20:12:01 1 0.03 0.00 0.02 0.00 0.03 99.92 20:13:30 20:12:01 2 0.02 0.00 0.03 0.00 0.02 99.93 20:13:30 20:12:01 3 0.02 0.00 0.00 0.03 0.02 99.93 20:13:30 20:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:13:30 20:12:01 5 0.00 0.00 0.02 0.02 0.00 99.97 20:13:30 20:12:01 6 0.03 0.00 0.00 0.00 0.00 99.97 20:13:30 20:12:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:13:30 20:13:01 all 0.03 0.00 0.01 0.00 0.01 99.95 20:13:30 20:13:01 0 0.03 0.00 0.02 0.00 0.02 99.93 20:13:30 20:13:01 1 0.03 0.00 0.03 0.02 0.02 99.90 20:13:30 20:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 20:13:30 20:13:01 3 0.02 0.00 0.00 0.02 0.02 99.95 20:13:30 20:13:01 4 0.03 0.00 0.02 0.00 0.02 99.93 20:13:30 20:13:01 5 0.02 0.00 0.02 0.00 0.02 99.95 20:13:30 20:13:01 6 0.05 0.00 0.00 0.00 0.00 99.95 20:13:30 20:13:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:13:30 Average: all 5.83 0.00 1.39 0.49 0.03 92.27 20:13:30 Average: 0 5.62 0.00 1.41 1.06 0.03 91.88 20:13:30 Average: 1 5.64 0.00 1.42 0.85 0.03 92.06 20:13:30 Average: 2 5.84 0.00 1.34 0.38 0.03 92.41 20:13:30 Average: 3 5.83 0.00 1.38 0.33 0.03 92.43 20:13:30 Average: 4 5.93 0.00 1.46 0.40 0.02 92.17 20:13:30 Average: 5 5.95 0.00 1.30 0.50 0.02 92.22 20:13:30 Average: 6 5.94 0.00 1.36 0.28 0.03 92.39 20:13:30 Average: 7 5.86 0.00 1.41 0.10 0.02 92.61 20:13:30 20:13:30 20:13:30