Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 539913158ea56f8dca24ab775bb8172a7292d425 rather than 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Obtained Jenkinsfile from 539913158ea56f8dca24ab775bb8172a7292d425 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-ssh17241096286970776059.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7776484049089594791.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12592535592635872339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16441776555130290540.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh23513925766365965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6088 in /w/workspace/gexfoundry_device-rest-go_PR-281 [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-281 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Merge succeeded, producing 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Checking out Revision 6f9651701fa4461332be51a371f9e37e5ffc9bc5 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # 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 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 Commit message: "fix: fixed comment feedback" > git rev-list --no-walk b8e531124201590e1543ca9edaea1c885f687146 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:52:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:52:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:52:59 ========================================================= 18:52:59 EdgeX Global Pipelines Version Info 18:52:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:53:00 ------------------- 18:53:00 stable info: 18:53:00 ------------------- 18:53:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:53:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:53:00 Message: update stable to v1.0.245 18:53:00 ------------------- 18:53:00 experimental info: 18:53:00 ------------------- 18:53:00 Commited By: **** collab-it+edgex@linuxfoundation.org 18:53:00 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:53:00 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:53:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f96517 [Pipeline] echo 18:53:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:01 provisioning config files... 18:53:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config3980617145070277496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:01 ---> docker-login.sh 18:53:01 nexus3.edgexfoundry.org:10001 18:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:01 Configure a credential helper to remove this warning. See 18:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:01 18:53:01 Login Succeeded 18:53:01 nexus3.edgexfoundry.org:10002 18:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:01 Configure a credential helper to remove this warning. See 18:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:01 18:53:01 Login Succeeded 18:53:01 nexus3.edgexfoundry.org:10003 18:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:02 Configure a credential helper to remove this warning. See 18:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:02 18:53:02 Login Succeeded 18:53:02 nexus3.edgexfoundry.org:10004 18:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:02 Configure a credential helper to remove this warning. See 18:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:02 18:53:02 Login Succeeded 18:53:02 docker.io 18:53:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:02 Configure a credential helper to remove this warning. See 18:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:02 18:53:02 Login Succeeded 18:53:02 ---> docker-login.sh ends [Pipeline] } 18:53:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:53:02 + git rev-list -1 --merges 6f9651701fa4461332be51a371f9e37e5ffc9bc5~1..6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo 18:53:02 -----------> git rev-list -1 --merges 6f9651701fa4461332be51a371f9e37e5ffc9bc5~1..6f9651701fa4461332be51a371f9e37e5ffc9bc5 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [false] [Pipeline] sh 18:53:03 + git log --format=format:%s -1 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo 18:53:03 ========================================================= 18:53:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:53:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:03 + git log --format=format:%s -1 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo 18:53:03 [semverPrep] GIT_COMMIT: 6f9651701fa4461332be51a371f9e37e5ffc9bc5, Commit Message: fix: fixed comment feedback [Pipeline] echo 18:53:03 [semverPrep] This is not a build commit. [Pipeline] sh 18:53:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:53:03 + grep -v github /etc/ssh/ssh_known_hosts 18:53:03 + [ -e /tmp/ssh_known_hosts ] 18:53:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:53:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:53:03 + sudo tee -a /etc/ssh/ssh_known_hosts 18:53:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:04 18:53:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:04 0.1.4: Pulling from edgex-devops/py-git-semver 18:53:04 b85a868b505f: Pulling fs layer 18:53:04 e2be974225ed: Pulling fs layer 18:53:04 339a4e72a1f5: Pulling fs layer 18:53:04 988bab9f4d93: Pulling fs layer 18:53:04 1469e6f7b9e6: Pulling fs layer 18:53:04 1469e6f7b9e6: Waiting 18:53:04 988bab9f4d93: Waiting 18:53:04 eaf3925da568: Pulling fs layer 18:53:04 bab4dde63d76: Pulling fs layer 18:53:04 bde34c3a00c8: Pulling fs layer 18:53:04 bab4dde63d76: Waiting 18:53:04 eaf3925da568: Waiting 18:53:04 b352a97aabf1: Pulling fs layer 18:53:04 bde34c3a00c8: Waiting 18:53:04 4872d77fe225: Pulling fs layer 18:53:04 5851b861e8e6: Pulling fs layer 18:53:04 4872d77fe225: Waiting 18:53:04 5851b861e8e6: Waiting 18:53:04 e2be974225ed: Download complete 18:53:04 988bab9f4d93: Verifying Checksum 18:53:04 988bab9f4d93: Download complete 18:53:04 339a4e72a1f5: Verifying Checksum 18:53:04 339a4e72a1f5: Download complete 18:53:04 1469e6f7b9e6: Verifying Checksum 18:53:04 1469e6f7b9e6: Download complete 18:53:04 eaf3925da568: Verifying Checksum 18:53:04 eaf3925da568: Download complete 18:53:04 bde34c3a00c8: Verifying Checksum 18:53:04 bde34c3a00c8: Download complete 18:53:04 b352a97aabf1: Verifying Checksum 18:53:04 b352a97aabf1: Download complete 18:53:04 4872d77fe225: Download complete 18:53:04 5851b861e8e6: Verifying Checksum 18:53:04 5851b861e8e6: Download complete 18:53:04 b85a868b505f: Verifying Checksum 18:53:04 b85a868b505f: Download complete 18:53:04 bab4dde63d76: Verifying Checksum 18:53:04 bab4dde63d76: Download complete 18:53:05 b85a868b505f: Pull complete 18:53:05 e2be974225ed: Pull complete 18:53:06 339a4e72a1f5: Pull complete 18:53:06 988bab9f4d93: Pull complete 18:53:06 1469e6f7b9e6: Pull complete 18:53:06 eaf3925da568: Pull complete 18:53:08 bab4dde63d76: Pull complete 18:53:08 bde34c3a00c8: Pull complete 18:53:08 b352a97aabf1: Pull complete 18:53:08 4872d77fe225: Pull complete 18:53:08 5851b861e8e6: Pull complete 18:53:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:08 prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container 18:53:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:53:10 $ docker top 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 -eo pid,comm 18:53:10 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). 18:53:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:10 [ssh-agent] Looking for ssh-agent implementation... 18:53:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:10 $ docker exec 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent 18:53:10 SSH_AUTH_SOCK=/tmp/ssh-qxoZI4OvJXtx/agent.33 18:53:10 SSH_AGENT_PID=39 18:53:10 Running ssh-add (command line suppressed) 18:53:10 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_12684154444678637553.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_12684154444678637553.key) 18:53:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:10 + git tag --points-at HEAD [Pipeline] } 18:53:10 $ docker exec --env ******** --env ******** 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent -k 18:53:11 unset SSH_AUTH_SOCK; 18:53:11 unset SSH_AGENT_PID; 18:53:11 echo Agent pid 39 killed; 18:53:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:53:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:11 [ssh-agent] Looking for ssh-agent implementation... 18:53:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:11 $ docker exec 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent 18:53:11 SSH_AUTH_SOCK=/tmp/ssh-sTzYZGhCpwoC/agent.71 18:53:11 SSH_AGENT_PID=77 18:53:11 Running ssh-add (command line suppressed) 18:53:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_13426219997168264975.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_13426219997168264975.key) 18:53:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:11 + git semver init 18:53:11 2023-03-28 18:53:11,874 [run_init] DEBUG init version:0.0.0 force:False 18:53:11 2023-03-28 18:53:11,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver 18:53:11 2023-03-28 18:53:11,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-281/.semver 18:53:11 2023-03-28 18:53:11,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-281/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281, universal_newlines=False, shell=None, istream=None) 18:53:12 2023-03-28 18:53:12,840 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.git/info/exclude 18:53:12 2023-03-28 18:53:12,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 with force:False 18:53:12 2023-03-28 18:53:12,841 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 18:53:12 2023-03-28 18:53:12,845 [execute] INFO git cat-file --batch-check 18:53:12 2023-03-28 18:53:12,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) 18:53:12 2023-03-28 18:53:12,850 [execute] INFO git cat-file --batch 18:53:12 2023-03-28 18:53:12,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) 18:53:12 2023-03-28 18:53:12,855 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 18:53:12 0.0.0 [Pipeline] } 18:53:12 $ docker exec --env ******** --env ******** 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent -k 18:53:12 unset SSH_AUTH_SOCK; 18:53:12 unset SSH_AGENT_PID; 18:53:12 echo Agent pid 77 killed; 18:53:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:13 + git semver [Pipeline] } 18:53:13 $ docker stop --time=1 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 18:53:14 $ docker rm -f --volumes 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 [Pipeline] // withDockerContainer [Pipeline] sh 18:53:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:53:15 Stashed 1 file(s) [Pipeline] echo 18:53:15 [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 18:53:15 provisioning config files... 18:53:15 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config8912688452925657485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:15 ---> docker-login.sh 18:53:15 nexus3.edgexfoundry.org:10001 18:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:15 Configure a credential helper to remove this warning. See 18:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:15 18:53:15 Login Succeeded 18:53:15 nexus3.edgexfoundry.org:10002 18:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:15 Configure a credential helper to remove this warning. See 18:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:15 18:53:15 Login Succeeded 18:53:15 nexus3.edgexfoundry.org:10003 18:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:16 Configure a credential helper to remove this warning. See 18:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:16 18:53:16 Login Succeeded 18:53:16 nexus3.edgexfoundry.org:10004 18:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:16 Configure a credential helper to remove this warning. See 18:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:16 18:53:16 Login Succeeded 18:53:16 docker.io 18:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:16 Configure a credential helper to remove this warning. See 18:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:16 18:53:16 Login Succeeded 18:53:16 ---> docker-login.sh ends [Pipeline] } 18:53:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:16 ========================================================= 18:53:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:53:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:53:16 Sending build context to Docker daemon 10.87MB 18:53:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:53:16 Step 2/12 : FROM ${BASE} AS builder 18:53:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:16 63b65145d645: Pulling fs layer 18:53:16 a2d21d5440eb: Pulling fs layer 18:53:16 935e6c44a52c: Pulling fs layer 18:53:16 94cc34f8dd06: Pulling fs layer 18:53:16 30dea6a524f1: Pulling fs layer 18:53:16 a2aff8979fd8: Pulling fs layer 18:53:16 6808be2612f2: Pulling fs layer 18:53:16 f25807f1079a: Pulling fs layer 18:53:16 30dea6a524f1: Waiting 18:53:16 a2aff8979fd8: Waiting 18:53:16 6808be2612f2: Waiting 18:53:16 f25807f1079a: Waiting 18:53:16 94cc34f8dd06: Waiting 18:53:16 a2d21d5440eb: Download complete 18:53:16 94cc34f8dd06: Download complete 18:53:16 30dea6a524f1: Verifying Checksum 18:53:16 30dea6a524f1: Download complete 18:53:17 63b65145d645: Verifying Checksum 18:53:17 63b65145d645: Download complete 18:53:17 a2aff8979fd8: Verifying Checksum 18:53:17 a2aff8979fd8: Download complete 18:53:17 63b65145d645: Pull complete 18:53:17 a2d21d5440eb: Pull complete 18:53:17 f25807f1079a: Verifying Checksum 18:53:17 f25807f1079a: Download complete 18:53:17 935e6c44a52c: Verifying Checksum 18:53:17 935e6c44a52c: Download complete 18:53:17 6808be2612f2: Verifying Checksum 18:53:20 935e6c44a52c: Pull complete 18:53:20 94cc34f8dd06: Pull complete 18:53:20 30dea6a524f1: Pull complete 18:53:20 a2aff8979fd8: Pull complete 18:53:23 6808be2612f2: Pull complete 18:53:23 f25807f1079a: Pull complete 18:53:23 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:53:23 ---> 3b553350e43f 18:53:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:53:24 ---> Running in b17d964440b0 18:53:25 Removing intermediate container b17d964440b0 18:53:25 ---> 5e53d742bfad 18:53:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:25 ---> Running in 8170fe94b595 18:53:25 Removing intermediate container 8170fe94b595 18:53:25 ---> 8193e1a10978 18:53:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:25 ---> Running in 161cd791bb88 18:53:25 Removing intermediate container 161cd791bb88 18:53:25 ---> a3b2b71c955e 18:53:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:53:25 ---> Running in 1f3455e49678 18:53:25 Removing intermediate container 1f3455e49678 18:53:25 ---> 97e5861ade69 18:53:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:25 ---> Running in 7bbf9c911f8a 18:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:53:25 (2/4) Installing libedit (20221030.3.1-r0) 18:53:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:53:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:53:26 Executing busybox-1.35.0-r29.trigger 18:53:26 OK: 269 MiB in 57 packages 18:53:26 Removing intermediate container 7bbf9c911f8a 18:53:26 ---> b43b54fd3fdb 18:53:26 Step 8/12 : WORKDIR /device-rest-go 18:53:26 ---> Running in 221abc457470 18:53:26 Removing intermediate container 221abc457470 18:53:26 ---> bfe4157ac6cd 18:53:26 Step 9/12 : COPY go.mod vendor* ./ 18:53:26 ---> f0ace8330173 18:53:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:26 ---> Running in 769e153582ae 18:53:30 Still waiting to schedule task 18:53:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:53:44 Removing intermediate container 769e153582ae 18:53:44 ---> d7aaf8d74b42 18:53:44 Step 11/12 : COPY . . 18:53:44 ---> 7a8c4f60d7af 18:53:44 Step 12/12 : RUN $MAKE 18:53:44 ---> Running in 73adfcef71ed 18:53:44 noop 18:53:44 Removing intermediate container 73adfcef71ed 18:53:44 ---> f4e9dcb78b43 18:53:44 Successfully built f4e9dcb78b43 18:53:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:45 + docker inspect -f . ci-base-image-x86_64 18:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:45 prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container 18:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:53:45 $ docker top 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:46 + go version 18:53:46 go version go1.20.2 linux/amd64 [Pipeline] } 18:53:46 $ docker stop --time=1 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 18:53:47 $ docker rm -f --volumes 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:47 + docker inspect -f . ci-base-image-x86_64 18:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:47 prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container 18:53:47 $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:53:48 $ docker top 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] fileExists [Pipeline] sh 18:53:48 + make test 18:53:48 go test ./... -coverprofile=coverage.out ./... 18:53:53 ? github.com/edgexfoundry/device-rest-go [no test files] 18:54:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:54:02 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.0% of statements 18:54:08 go vet ./... 18:54:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:11 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:11 $ docker stop --time=1 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 18:54:13 $ docker rm -f --volumes 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 [Pipeline] // withDockerContainer [Pipeline] sh 18:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:14 + ls -al . 18:54:14 total 184 18:54:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:53 . 18:54:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 .. 18:54:14 -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 18:52 .dockerignore 18:54:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:53 .git 18:54:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 .github 18:54:14 -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 18:52 .gitignore 18:54:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 18:52 .golangci.yml 18:54:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:53 .semver 18:54:14 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 18:52 Attribution.txt 18:54:14 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 18:52 CHANGELOG.md 18:54:14 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 18:52 Dockerfile 18:54:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:52 GOVERNANCE.md 18:54:14 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 18:52 Jenkinsfile 18:54:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 18:52 LICENSE 18:54:14 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 18:52 Makefile 18:54:14 -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 18:52 OWNERS.md 18:54:14 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 18:52 README.md 18:54:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:53 VERSION 18:54:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:52 bin 18:54:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 cmd 18:54:14 -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 18:54 coverage.out 18:54:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:52 driver 18:54:14 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 18:52 go.mod 18:54:14 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 18:52 go.sum 18:54:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 snap 18:54:14 -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:15 + 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=6f9651701fa4461332be51a371f9e37e5ffc9bc5 --label arch=amd64 --label version=0.0.0 . 18:54:15 Sending build context to Docker daemon 10.88MB 18:54:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:54:15 Step 2/25 : FROM ${BASE} AS builder 18:54:15 ---> f4e9dcb78b43 18:54:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:54:15 ---> Running in a30d296abe04 18:54:15 Removing intermediate container a30d296abe04 18:54:15 ---> d0c90c399ea2 18:54:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:54:15 ---> Running in efbec08dda7c 18:54:15 Removing intermediate container efbec08dda7c 18:54:15 ---> a2b8ae2f5f15 18:54:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:54:15 ---> Running in e9523ffde6b2 18:54:15 Removing intermediate container e9523ffde6b2 18:54:15 ---> 381418b2ddaa 18:54:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:54:15 ---> Running in b48f8a1847ea 18:54:15 Removing intermediate container b48f8a1847ea 18:54:15 ---> 8fa39794fefa 18:54:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:15 ---> Running in f2650df5e115 18:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:16 OK: 269 MiB in 57 packages 18:54:16 Removing intermediate container f2650df5e115 18:54:16 ---> 755214f17de0 18:54:16 Step 8/25 : WORKDIR /device-rest-go 18:54:16 ---> Running in 768c72719151 18:54:16 Removing intermediate container 768c72719151 18:54:16 ---> 0d0a4cc958bf 18:54:16 Step 9/25 : COPY go.mod vendor* ./ 18:54:16 ---> 579741570986 18:54:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:16 ---> Running in 463edb811d5e 18:54:17 Removing intermediate container 463edb811d5e 18:54:17 ---> 7ab2109fd463 18:54:17 Step 11/25 : COPY . . 18:54:18 ---> afdf2d49c656 18:54:18 Step 12/25 : RUN $MAKE 18:54:18 ---> Running in d0b50beebcff 18:54:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:54:36 Removing intermediate container d0b50beebcff 18:54:36 ---> f8e2de8f4ee1 18:54:36 Step 13/25 : FROM alpine:3.17 18:54:36 3.17: Pulling from library/alpine 18:54:36 63b65145d645: Already exists 18:54:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:54:36 Status: Downloaded newer image for alpine:3.17 18:54:36 ---> b2aa39c304c2 18:54:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:54:36 ---> Running in 238eabc50b9e 18:54:36 Removing intermediate container 238eabc50b9e 18:54:36 ---> d3d324281bcc 18:54:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:54:36 ---> Running in 98e8c7c52d29 18:54:36 Removing intermediate container 98e8c7c52d29 18:54:36 ---> 479635193a5f 18:54:36 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:54:36 ---> Running in 59027f5ff75d 18:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:36 (1/1) Installing dumb-init (1.2.5-r2) 18:54:36 Executing busybox-1.35.0-r29.trigger 18:54:36 OK: 7 MiB in 16 packages 18:54:36 Removing intermediate container 59027f5ff75d 18:54:36 ---> 899f518e6039 18:54:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:54:36 ---> 4ab88318a39e 18:54:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:54:36 ---> e572b7a784b1 18:54:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:54:36 ---> 765b3f27ddae 18:54:36 Step 20/25 : EXPOSE 59986 18:54:36 ---> Running in cdc0154e1035 18:54:36 Removing intermediate container cdc0154e1035 18:54:36 ---> 0af73c172a86 18:54:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:54:36 ---> Running in 42e494cae128 18:54:36 Removing intermediate container 42e494cae128 18:54:36 ---> c3534f11175a 18:54:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:54:36 ---> Running in 46bcd2e5ce0a 18:54:36 Removing intermediate container 46bcd2e5ce0a 18:54:36 ---> 65ce6b07dbfd 18:54:36 Step 23/25 : LABEL arch=amd64 18:54:36 ---> Running in 609bd6479e2b 18:54:36 Removing intermediate container 609bd6479e2b 18:54:36 ---> c8fe4b18c57a 18:54:36 Step 24/25 : LABEL git_sha=6f9651701fa4461332be51a371f9e37e5ffc9bc5 18:54:36 ---> Running in b1847ebc8d78 18:54:36 Removing intermediate container b1847ebc8d78 18:54:36 ---> d4d397e680bd 18:54:36 Step 25/25 : LABEL version=0.0.0 18:54:36 ---> Running in edc3855a1a89 18:54:36 Removing intermediate container edc3855a1a89 18:54:36 ---> 307ea14aab8a 18:54:36 [Warning] One or more build-args [ARCH] were not consumed 18:54:36 Successfully built 307ea14aab8a 18:54:36 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 18:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:37 18:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:37 latest: Pulling from edgex-lftools-log-publisher 18:54:37 5eb5b503b376: Pulling fs layer 18:54:37 5c69ac0246d0: Pulling fs layer 18:54:37 ec43610c2a17: Pulling fs layer 18:54:37 3a2ae6a8a46f: Pulling fs layer 18:54:37 33b1e0a273af: Pulling fs layer 18:54:37 5d3b04190fa2: Pulling fs layer 18:54:37 2f39f015ded8: Pulling fs layer 18:54:37 3a2ae6a8a46f: Waiting 18:54:37 33b1e0a273af: Waiting 18:54:37 5d3b04190fa2: Waiting 18:54:37 2f39f015ded8: Waiting 18:54:37 5c69ac0246d0: Verifying Checksum 18:54:37 5c69ac0246d0: Download complete 18:54:37 3a2ae6a8a46f: Verifying Checksum 18:54:37 3a2ae6a8a46f: Download complete 18:54:37 ec43610c2a17: Verifying Checksum 18:54:37 ec43610c2a17: Download complete 18:54:37 33b1e0a273af: Verifying Checksum 18:54:37 33b1e0a273af: Download complete 18:54:37 5d3b04190fa2: Verifying Checksum 18:54:37 5d3b04190fa2: Download complete 18:54:37 5eb5b503b376: Verifying Checksum 18:54:37 5eb5b503b376: Download complete 18:54:38 2f39f015ded8: Verifying Checksum 18:54:38 2f39f015ded8: Download complete 18:54:39 5eb5b503b376: Pull complete 18:54:39 5c69ac0246d0: Pull complete 18:54:39 ec43610c2a17: Pull complete 18:54:39 3a2ae6a8a46f: Pull complete 18:54:39 33b1e0a273af: Pull complete 18:54:39 5d3b04190fa2: Pull complete 18:54:44 2f39f015ded8: Pull complete 18:54:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:44 prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container 18:54:44 $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:54:46 $ docker top 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:46 ---> job-cost.sh 18:54:46 lf-activate-venv: SKIPPING 18:54:46 INFO: No Stack... 18:54:47 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:47 INFO: Archiving Costs [Pipeline] sh 18:54:47 + cat /w/workspace/gexfoundry_device-rest-go_PR-281/archives/cost.csv 18:54:47 + cut -d, -f6 [Pipeline] lock 18:54:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] 18:54:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] did not exist. Created. 18:54:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:47 + echo total: 0.2199999988079071 [Pipeline] stash 18:54:47 Stashed 1 file(s) [Pipeline] } 18:54:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:47 $ docker stop --time=1 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf 18:54:49 $ docker rm -f --volumes 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:57:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6091 in /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] { [Pipeline] ws 18:57:02 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 18:57:02 The recommended git tool is: git 18:57:11 using credential edgex-jenkins-ssh 18:57:11 Cloning the remote Git repository 18:57:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:57:11 > git init /w/workspace/device-rest-go/2 # timeout=10 18:57:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:57:12 > git --version # timeout=10 18:57:12 > git --version # 'git version 2.25.1' 18:57:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:57:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:57:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:57:16 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:57:16 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6f9651701fa4461332be51a371f9e37e5ffc9bc5 18:57:17 Merge succeeded, producing 6f9651701fa4461332be51a371f9e37e5ffc9bc5 18:57:17 Checking out Revision 6f9651701fa4461332be51a371f9e37e5ffc9bc5 (PR-281) 18:57:16 > git config core.sparsecheckout # timeout=10 18:57:16 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 18:57:16 > git remote # timeout=10 18:57:16 > git config --get remote.origin.url # timeout=10 18:57:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:17 > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 18:57:17 > git rev-parse HEAD^{commit} # timeout=10 18:57:17 > git config core.sparsecheckout # timeout=10 18:57:17 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 18:57:20 Commit message: "fix: fixed comment feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:57:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:57:21 Dload Upload Total Spent Left Speed 18:57:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 18:57:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:57:22 + sudo tee /etc/docker/daemon.new 18:57:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:57:22 { 18:57:22 "registry-mirrors": [ 18:57:22 "https://nexus3.edgexfoundry.org:10001" 18:57:22 ], 18:57:22 "bip": "10.250.0.254/24", 18:57:22 "hosts": [ 18:57:22 "tcp://0.0.0.0:5555", 18:57:22 "unix:///var/run/docker.sock" 18:57:22 ], 18:57:22 "mtu": 1458, 18:57:22 "selinux-enabled": true, 18:57:22 "seccomp-profile": "/etc/docker/seccomp.json" 18:57:22 } [Pipeline] sh 18:57:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:57:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:41 provisioning config files... 18:57:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8875676672105665094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:42 ---> docker-login.sh 18:57:42 nexus3.edgexfoundry.org:10001 18:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:42 Configure a credential helper to remove this warning. See 18:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:42 18:57:42 Login Succeeded 18:57:42 nexus3.edgexfoundry.org:10002 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 nexus3.edgexfoundry.org:10003 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 nexus3.edgexfoundry.org:10004 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:44 Configure a credential helper to remove this warning. See 18:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:44 18:57:44 Login Succeeded 18:57:44 docker.io 18:57:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:44 Configure a credential helper to remove this warning. See 18:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:44 18:57:44 Login Succeeded 18:57:44 ---> docker-login.sh ends [Pipeline] } 18:57:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:45 ========================================================= 18:57:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:57:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:57:45 Sending build context to Docker daemon 137.2kB 18:57:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:57:45 Step 2/12 : FROM ${BASE} AS builder 18:57:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:57:46 af6eaf76a39c: Pulling fs layer 18:57:46 55522c791124: Pulling fs layer 18:57:46 ce5c4a1c91eb: Pulling fs layer 18:57:46 169dfbe0d373: Pulling fs layer 18:57:46 e1ff8fa3b103: Pulling fs layer 18:57:46 52ebb69f0ebf: Pulling fs layer 18:57:46 5abe8eddf0d5: Pulling fs layer 18:57:46 169dfbe0d373: Waiting 18:57:46 e1ff8fa3b103: Waiting 18:57:46 52ebb69f0ebf: Waiting 18:57:46 5abe8eddf0d5: Waiting 18:57:46 55522c791124: Download complete 18:57:46 169dfbe0d373: Verifying Checksum 18:57:46 169dfbe0d373: Download complete 18:57:46 e1ff8fa3b103: Verifying Checksum 18:57:46 e1ff8fa3b103: Download complete 18:57:46 af6eaf76a39c: Verifying Checksum 18:57:46 af6eaf76a39c: Download complete 18:57:48 af6eaf76a39c: Pull complete 18:57:48 5abe8eddf0d5: Verifying Checksum 18:57:48 5abe8eddf0d5: Download complete 18:57:48 55522c791124: Pull complete 18:57:49 ce5c4a1c91eb: Verifying Checksum 18:57:49 ce5c4a1c91eb: Download complete 18:57:49 52ebb69f0ebf: Verifying Checksum 18:57:49 52ebb69f0ebf: Download complete 18:58:01 ce5c4a1c91eb: Pull complete 18:58:01 169dfbe0d373: Pull complete 18:58:01 e1ff8fa3b103: Pull complete 18:58:08 52ebb69f0ebf: Pull complete 18:58:11 5abe8eddf0d5: Pull complete 18:58:11 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:58:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:58:11 ---> 6cb57ee374ae 18:58:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:58:13 ---> Running in 06caf0daa37c 18:58:13 Removing intermediate container 06caf0daa37c 18:58:13 ---> 96ed0d29cde0 18:58:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:58:13 ---> Running in a710e41b2ce9 18:58:14 Removing intermediate container a710e41b2ce9 18:58:14 ---> d26c7f8c0885 18:58:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:58:14 ---> Running in f51f37ba55c0 18:58:14 Removing intermediate container f51f37ba55c0 18:58:14 ---> 795cee371f26 18:58:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:58:14 ---> Running in 374fe43a0753 18:58:15 Removing intermediate container 374fe43a0753 18:58:15 ---> 3b15d34ee95c 18:58:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:58:15 ---> Running in 475bb5f1c8bd 18:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:58:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:58:18 (2/4) Installing libedit (20221030.3.1-r0) 18:58:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:58:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:58:18 Executing busybox-1.35.0-r29.trigger 18:58:18 OK: 268 MiB in 57 packages 18:58:19 Removing intermediate container 475bb5f1c8bd 18:58:19 ---> 85f1d33d9c7f 18:58:19 Step 8/12 : WORKDIR /device-rest-go 18:58:19 ---> Running in 3a7a59c27e29 18:58:19 Removing intermediate container 3a7a59c27e29 18:58:19 ---> ffc4c4dd1e7a 18:58:19 Step 9/12 : COPY go.mod vendor* ./ 18:58:20 ---> 9a78818ec1b0 18:58:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:20 ---> Running in be30f6679e1a 18:59:28 Removing intermediate container be30f6679e1a 18:59:28 ---> bd09e2e0f578 18:59:28 Step 11/12 : COPY . . 18:59:28 ---> be5d1ff97ba6 18:59:28 Step 12/12 : RUN $MAKE 18:59:28 ---> Running in 2a6f04f4d280 18:59:28 noop 18:59:28 Removing intermediate container 2a6f04f4d280 18:59:28 ---> 86c7b84c9a83 18:59:28 Successfully built 86c7b84c9a83 18:59:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:28 + docker inspect -f . ci-base-image-arm64 18:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container 18:59:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:59:30 $ docker top 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:30 + go version 18:59:30 go version go1.20.2 linux/arm64 [Pipeline] } 18:59:30 $ docker stop --time=1 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 18:59:34 $ docker rm -f --volumes 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:34 + docker inspect -f . ci-base-image-arm64 18:59:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:35 prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container 18:59:35 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:59:36 $ docker top 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:36 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 18:59:37 + make test 18:59:37 go test ./... -coverprofile=coverage.out ./... 19:00:10 ? github.com/edgexfoundry/device-rest-go [no test files] 19:02:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:02:16 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.0% of statements 19:02:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:02:16 go vet ./... 19:02:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:34 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:35 $ docker stop --time=1 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 19:02:37 $ docker rm -f --volumes 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:38 Warning: overwriting stash ‘coverage-report’ 19:02:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:39 + ls -al . 19:02:39 total 180 19:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:59 . 19:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:57 .. 19:02:39 -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 18:57 .dockerignore 19:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:57 .git 19:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:57 .github 19:02:39 -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 18:57 .gitignore 19:02:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 18:57 .golangci.yml 19:02:39 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 18:57 Attribution.txt 19:02:39 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 18:57 CHANGELOG.md 19:02:39 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 18:57 Dockerfile 19:02:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:57 GOVERNANCE.md 19:02:39 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 18:57 Jenkinsfile 19:02:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 18:57 LICENSE 19:02:39 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 18:57 Makefile 19:02:39 -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 18:57 OWNERS.md 19:02:39 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 18:57 README.md 19:02:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:53 VERSION 19:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:57 bin 19:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:57 cmd 19:02:39 -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 19:02 coverage.out 19:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:57 driver 19:02:39 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 18:57 go.mod 19:02:39 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 18:57 go.sum 19:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:57 snap 19:02:39 -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 18:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:39 + 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=6f9651701fa4461332be51a371f9e37e5ffc9bc5 --label arch=arm64 --label version=0.0.0 . 19:02:39 Sending build context to Docker daemon 152.1kB 19:02:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:02:40 Step 2/25 : FROM ${BASE} AS builder 19:02:40 ---> 86c7b84c9a83 19:02:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:02:40 ---> Running in eefab108c3c5 19:02:40 Removing intermediate container eefab108c3c5 19:02:40 ---> 91d7a520e99a 19:02:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:40 ---> Running in e1af6c1d8c8e 19:02:40 Removing intermediate container e1af6c1d8c8e 19:02:40 ---> 3bce3bb32a3f 19:02:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:02:40 ---> Running in a8ff3126941e 19:02:41 Removing intermediate container a8ff3126941e 19:02:41 ---> 6b92c5c9b320 19:02:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:02:41 ---> Running in 1ad86d496105 19:02:41 Removing intermediate container 1ad86d496105 19:02:41 ---> af306bf735f3 19:02:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:41 ---> Running in 685c5fde38b1 19:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:02:44 OK: 268 MiB in 57 packages 19:02:45 Removing intermediate container 685c5fde38b1 19:02:45 ---> acb041fc82b9 19:02:45 Step 8/25 : WORKDIR /device-rest-go 19:02:45 ---> Running in 172703fe54b3 19:02:45 Removing intermediate container 172703fe54b3 19:02:45 ---> 3cb66ff73efd 19:02:45 Step 9/25 : COPY go.mod vendor* ./ 19:02:46 ---> 693f546beba9 19:02:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:46 ---> Running in 3be2410bfbee 19:02:48 Removing intermediate container 3be2410bfbee 19:02:48 ---> 330e8d966546 19:02:48 Step 11/25 : COPY . . 19:02:49 ---> bdfd75368c0c 19:02:49 Step 12/25 : RUN $MAKE 19:02:49 ---> Running in b972336b8739 19:02:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:05:12 Removing intermediate container b972336b8739 19:05:12 ---> a475459e8006 19:05:12 Step 13/25 : FROM alpine:3.17 19:05:12 3.17: Pulling from library/alpine 19:05:12 af6eaf76a39c: Already exists 19:05:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:05:12 Status: Downloaded newer image for alpine:3.17 19:05:12 ---> d74e625d9115 19:05:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:05:12 ---> Running in 658a95f79046 19:05:12 Removing intermediate container 658a95f79046 19:05:12 ---> d2f49b59c78c 19:05:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:05:12 ---> Running in 8b8cc792da27 19:05:12 Removing intermediate container 8b8cc792da27 19:05:12 ---> 86ca9f281f44 19:05:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:05:12 ---> Running in cd25121c9ae5 19:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:05:12 (1/1) Installing dumb-init (1.2.5-r2) 19:05:12 Executing busybox-1.35.0-r29.trigger 19:05:12 OK: 8 MiB in 16 packages 19:05:12 Removing intermediate container cd25121c9ae5 19:05:12 ---> 51106acb131c 19:05:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:05:12 ---> 034d3b738d18 19:05:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:05:12 ---> 42f5218da30f 19:05:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:05:12 ---> 79da050140eb 19:05:12 Step 20/25 : EXPOSE 59986 19:05:12 ---> Running in 3fdd09369de3 19:05:12 Removing intermediate container 3fdd09369de3 19:05:12 ---> 2f27c900c434 19:05:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:05:12 ---> Running in 8120116b31e1 19:05:13 Removing intermediate container 8120116b31e1 19:05:13 ---> eb5769ad11f0 19:05:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:05:13 ---> Running in 7e3d57657a8f 19:05:13 Removing intermediate container 7e3d57657a8f 19:05:13 ---> fd8db8b194bf 19:05:13 Step 23/25 : LABEL arch=arm64 19:05:13 ---> Running in 32a9d4be226f 19:05:13 Removing intermediate container 32a9d4be226f 19:05:13 ---> bd2f60285555 19:05:13 Step 24/25 : LABEL git_sha=6f9651701fa4461332be51a371f9e37e5ffc9bc5 19:05:13 ---> Running in 5041221e39f7 19:05:14 Removing intermediate container 5041221e39f7 19:05:14 ---> ba89c7b93d84 19:05:14 Step 25/25 : LABEL version=0.0.0 19:05:14 ---> Running in efa764b8817c 19:05:14 Removing intermediate container efa764b8817c 19:05:14 ---> ab46dfd01f6d 19:05:14 [Warning] One or more build-args [ARCH] were not consumed 19:05:14 Successfully built ab46dfd01f6d 19:05:14 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 19:05:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:15 19:05:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:15 arm64: Pulling from edgex-lftools-log-publisher 19:05:15 8998bd30e6a1: Pulling fs layer 19:05:15 04944245beec: Pulling fs layer 19:05:15 699f458cf7ca: Pulling fs layer 19:05:15 765212b225bb: Pulling fs layer 19:05:15 f23df028b6ca: Pulling fs layer 19:05:15 d65c8cfc05b1: Pulling fs layer 19:05:15 2437ff75d9bd: Pulling fs layer 19:05:15 f23df028b6ca: Waiting 19:05:15 d65c8cfc05b1: Waiting 19:05:15 765212b225bb: Waiting 19:05:15 2437ff75d9bd: Waiting 19:05:15 04944245beec: Verifying Checksum 19:05:15 04944245beec: Download complete 19:05:15 765212b225bb: Verifying Checksum 19:05:15 765212b225bb: Download complete 19:05:15 f23df028b6ca: Verifying Checksum 19:05:15 f23df028b6ca: Download complete 19:05:15 d65c8cfc05b1: Verifying Checksum 19:05:15 d65c8cfc05b1: Download complete 19:05:15 699f458cf7ca: Verifying Checksum 19:05:15 699f458cf7ca: Download complete 19:05:16 8998bd30e6a1: Download complete 19:05:18 2437ff75d9bd: Verifying Checksum 19:05:18 2437ff75d9bd: Download complete 19:05:20 8998bd30e6a1: Pull complete 19:05:20 04944245beec: Pull complete 19:05:22 699f458cf7ca: Pull complete 19:05:22 765212b225bb: Pull complete 19:05:23 f23df028b6ca: Pull complete 19:05:23 d65c8cfc05b1: Pull complete 19:05:38 2437ff75d9bd: Pull complete 19:05:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:38 prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container 19:05:38 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:05:41 $ docker top 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:41 ---> job-cost.sh 19:05:42 lf-activate-venv: SKIPPING 19:05:42 INFO: No Stack... 19:05:42 INFO: Retrieving Pricing Info for: v3-standard-4 19:05:43 INFO: Archiving Costs [Pipeline] sh 19:05:43 + cat /w/workspace/device-rest-go/2/archives/cost.csv 19:05:43 + cut -d, -f6 [Pipeline] lock 19:05:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] 19:05:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] did not exist. Created. 19:05:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:44 /w/workspace/device-rest-go/2@tmp/durable-e5c8afc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:05:44 + echo total: 0.10999999940395355 [Pipeline] stash 19:05:44 Warning: overwriting stash ‘stack-cost’ 19:05:45 Stashed 1 file(s) [Pipeline] } 19:05:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:45 $ docker stop --time=1 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 19:05:46 $ docker rm -f --volumes 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 [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 19:05:46 provisioning config files... 19:05:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config7055342796023880014tmp [Pipeline] { [Pipeline] sh 19:05:47 + set +x 19:05:47 + curl -s https://codecov.io/bash 19:05:47 + bash -s -- 19:05:47 19:05:47 _____ _ 19:05:47 / ____| | | 19:05:47 | | ___ __| | ___ ___ _____ __ 19:05:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:05:47 | |___| (_) | (_| | __/ (_| (_) \ V / 19:05:47 \_____\___/ \__,_|\___|\___\___/ \_/ 19:05:47 Bash-1.0.6 19:05:47 19:05:47 19:05:47 ==> git version 2.25.1 found 19:05:47 ==> 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 19:05:47 Release-Date: 2020-01-08 19:05:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:05:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:05:47 ==> Jenkins CI detected. 19:05:47 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-281 19:05:47 project root: . 19:05:47 --> token set from env 19:05:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:05:47 ==> Running gcov in . (disable via -X gcov) 19:05:47 ==> Python coveragepy not found 19:05:47 ==> Searching for coverage reports in: 19:05:47 + . 19:05:47 -> Found 1 reports 19:05:47 ==> Detecting git/mercurial file structure 19:05:47 ==> Reading reports 19:05:47 + ./coverage.out bytes=14200 19:05:47 ==> Appending adjustments 19:05:47 https://docs.codecov.io/docs/fixing-reports 19:05:47 + Found adjustments 19:05:47 ==> Gzipping contents 19:05:47 4.0K /tmp/codecov.imQ7kh.gz 19:05:47 ==> Uploading reports 19:05:47 url: https://codecov.io 19:05:47 query: branch=PR-281&commit=6f9651701fa4461332be51a371f9e37e5ffc9bc5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= 19:05:47 -> Pinging Codecov 19:05:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-281&commit=6f9651701fa4461332be51a371f9e37e5ffc9bc5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= 19:05:47 -> Uploading to 19:05:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/4E5D53B4F1F92C436F7061BF334D961C/6f9651701fa4461332be51a371f9e37e5ffc9bc5/deb1c2e1-cd84-4c41-a438-098ab5a357f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T190547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=372a9298d3e9fb5712365559a887bd12fb09c8c0cc453d9dd21fe43a3475b268 19:05:47 % Total % Received % Xferd Average Speed Time Time Time Current 19:05:47 Dload Upload Total Spent Left Speed 19:05:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 12004 --:--:-- --:--:-- --:--:-- 12004 100 2437 0 0 100 2437 0 8461 --:--:-- --:--:-- --:--:-- 8432 19:05:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] } 19:05:47 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 19:05:48 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-281/archives ] 19:05:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives 19:05:48 total 16 19:05:48 drwxr-xr-x 3 root root 4096 Mar 28 18:54 . 19:05:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:54 .. 19:05:48 drwxr-xr-x 2 root root 4096 Mar 28 18:54 cost 19:05:48 -rw-r--r-- 1 root root 86 Mar 28 18:54 cost.csv 19:05:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-281/archives 19:05:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives 19:05:48 total 16 19:05:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:54 . 19:05:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:54 .. 19:05:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:54 cost 19:05:48 -rw-r--r-- 1 jenkins jenkins 86 Mar 28 18:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:05:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:05:49 ---> package-listing.sh 19:05:49 ++ facter osfamily 19:05:49 ++ tr '[:upper:]' '[:lower:]' 19:05:49 + OS_FAMILY=debian 19:05:49 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-281 19:05:49 + START_PACKAGES=/tmp/packages_start.txt 19:05:49 + END_PACKAGES=/tmp/packages_end.txt 19:05:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:05:49 + PACKAGES=/tmp/packages_start.txt 19:05:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' 19:05:49 + PACKAGES=/tmp/packages_end.txt 19:05:49 + case "${OS_FAMILY}" in 19:05:49 + dpkg -l 19:05:49 + grep '^ii' 19:05:49 + '[' -f /tmp/packages_start.txt ']' 19:05:49 + '[' -f /tmp/packages_end.txt ']' 19:05:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:05:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' 19:05:49 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ 19:05:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ [Pipeline] echo 19:05:49 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:05:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:50 prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container 19:05:50 $ 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-281/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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:05:50 $ docker top 6cd8533c7aa23c14496c1cb7e2c6b528dd0732aeb91e442016b91100a89d8b3d -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:05:51 + mkdir -p /var/log/sysstat [Pipeline] sh 19:05:51 + ls /var/log/sa-host 19:05:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:51 provisioning config files... 19:05:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config1994541896881967743tmp [Pipeline] { [Pipeline] echo 19:05:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:05:52 ---> create-netrc.sh [Pipeline] } 19:05:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:05:52 ---> python-tools-install.sh [Pipeline] echo 19:05:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:05:52 ---> sudo-logs.sh 19:05:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:05:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:05:53 ---> job-cost.sh 19:05:53 lf-activate-venv: SKIPPING 19:05:53 DEBUG: total: 0.2199999988079071 19:05:53 INFO: Retrieving Stack Cost... 19:05:53 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:53 INFO: Archiving Costs [Pipeline] echo 19:05:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:05:54 ---> logs-deploy.sh 19:05:54 lf-activate-venv: SKIPPING 19:05:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-281/2 19:05:54 INFO: archiving workspace using pattern(s): 19:05:55 Archives upload complete. 19:05:55 INFO: archiving logs to Nexus