Pull request #191 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e889055d882d5643cdd22d904c620560dfccf05+a41d6dc477aab60bbffd9796b8b3bd1f25c661ce (3095e2ecb41f12a3243779047139b281376356f6) 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-ssh2553110954706519998.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-ssh8007465981295619426.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-rfid-llrp-go/branches/PR-191/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-rfid-llrp-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh865609305616656654.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-ssh13009585608606221019.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-rfid-llrp-go/branches/PR-191/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-rfid-llrp-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16834224661786109640.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-rfid-llrp-go, buildSnap:false] ========================================================= [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-rfid-llrp-go-settings PROJECT: device-rfid-llrp-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-rfid-llrp 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-5333 in /w/workspace/undry_device-rfid-llrp-go_PR-191 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-191 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-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-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-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-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a41d6dc477aab60bbffd9796b8b3bd1f25c661ce into PR head commit 5e889055d882d5643cdd22d904c620560dfccf05 Merge succeeded, producing 5e889055d882d5643cdd22d904c620560dfccf05 Checking out Revision 5e889055d882d5643cdd22d904c620560dfccf05 (PR-191) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 5e889055d882d5643cdd22d904c620560dfccf05 # 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 a41d6dc477aab60bbffd9796b8b3bd1f25c661ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e889055d882d5643cdd22d904c620560dfccf05 # timeout=10 > git rev-list --no-walk eec61a5d25dbbffe10c9b27f922e8c88a5f9156c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:06:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:06:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:06:15 ========================================================= 23:06:15 EdgeX Global Pipelines Version Info 23:06:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:06:15 ------------------- 23:06:15 stable info: 23:06:15 ------------------- 23:06:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:06:15 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:06:15 Message: update stable to v1.0.245 23:06:16 ------------------- 23:06:16 experimental info: 23:06:16 ------------------- 23:06:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:06:16 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:06:16 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:06:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e889055d882d5643cdd22d904c620560dfccf05 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e88905 [Pipeline] echo 23:06:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:17 provisioning config files... 23:06:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/config2744131280314848966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:17 ---> docker-login.sh 23:06:17 nexus3.edgexfoundry.org:10001 23:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:17 Configure a credential helper to remove this warning. See 23:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:17 23:06:17 Login Succeeded 23:06:17 nexus3.edgexfoundry.org:10002 23:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:17 Configure a credential helper to remove this warning. See 23:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:17 23:06:17 Login Succeeded 23:06:17 nexus3.edgexfoundry.org:10003 23:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:18 Configure a credential helper to remove this warning. See 23:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:18 23:06:18 Login Succeeded 23:06:18 nexus3.edgexfoundry.org:10004 23:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:18 Configure a credential helper to remove this warning. See 23:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:18 23:06:18 Login Succeeded 23:06:18 docker.io 23:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:18 Configure a credential helper to remove this warning. See 23:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:18 23:06:18 Login Succeeded 23:06:18 ---> docker-login.sh ends [Pipeline] } 23:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:06:18 + git rev-list -1 --merges 5e889055d882d5643cdd22d904c620560dfccf05~1..5e889055d882d5643cdd22d904c620560dfccf05 [Pipeline] echo 23:06:18 -----------> git rev-list -1 --merges 5e889055d882d5643cdd22d904c620560dfccf05~1..5e889055d882d5643cdd22d904c620560dfccf05 5e889055d882d5643cdd22d904c620560dfccf05 [false] [Pipeline] sh 23:06:19 + git log --format=format:%s -1 5e889055d882d5643cdd22d904c620560dfccf05 [Pipeline] echo 23:06:19 ========================================================= 23:06:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:06:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:06:19 + git log --format=format:%s -1 5e889055d882d5643cdd22d904c620560dfccf05 [Pipeline] echo 23:06:19 [semverPrep] GIT_COMMIT: 5e889055d882d5643cdd22d904c620560dfccf05, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:06:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:06:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:06:19 + grep -v github /etc/ssh/ssh_known_hosts 23:06:19 + [ -e /tmp/ssh_known_hosts ] 23:06:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:06:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:06:19 + sudo tee -a /etc/ssh/ssh_known_hosts 23:06:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:06:20 23:06:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:06:20 0.1.4: Pulling from edgex-devops/py-git-semver 23:06:20 b85a868b505f: Pulling fs layer 23:06:20 e2be974225ed: Pulling fs layer 23:06:20 339a4e72a1f5: Pulling fs layer 23:06:20 988bab9f4d93: Pulling fs layer 23:06:20 1469e6f7b9e6: Pulling fs layer 23:06:20 eaf3925da568: Pulling fs layer 23:06:20 bab4dde63d76: Pulling fs layer 23:06:20 bde34c3a00c8: Pulling fs layer 23:06:20 b352a97aabf1: Pulling fs layer 23:06:20 4872d77fe225: Pulling fs layer 23:06:20 5851b861e8e6: Pulling fs layer 23:06:20 bde34c3a00c8: Waiting 23:06:20 bab4dde63d76: Waiting 23:06:20 b352a97aabf1: Waiting 23:06:20 4872d77fe225: Waiting 23:06:20 5851b861e8e6: Waiting 23:06:20 1469e6f7b9e6: Waiting 23:06:20 988bab9f4d93: Waiting 23:06:20 eaf3925da568: Waiting 23:06:20 e2be974225ed: Download complete 23:06:20 988bab9f4d93: Verifying Checksum 23:06:20 988bab9f4d93: Download complete 23:06:20 1469e6f7b9e6: Verifying Checksum 23:06:20 1469e6f7b9e6: Download complete 23:06:20 339a4e72a1f5: Verifying Checksum 23:06:20 eaf3925da568: Download complete 23:06:20 bde34c3a00c8: Download complete 23:06:20 b352a97aabf1: Download complete 23:06:20 4872d77fe225: Download complete 23:06:20 5851b861e8e6: Verifying Checksum 23:06:20 5851b861e8e6: Download complete 23:06:20 b85a868b505f: Download complete 23:06:21 bab4dde63d76: Verifying Checksum 23:06:21 bab4dde63d76: Download complete 23:06:22 b85a868b505f: Pull complete 23:06:22 e2be974225ed: Pull complete 23:06:22 339a4e72a1f5: Pull complete 23:06:22 988bab9f4d93: Pull complete 23:06:22 1469e6f7b9e6: Pull complete 23:06:23 eaf3925da568: Pull complete 23:06:25 bab4dde63d76: Pull complete 23:06:25 bde34c3a00c8: Pull complete 23:06:25 b352a97aabf1: Pull complete 23:06:25 4872d77fe225: Pull complete 23:06:25 5851b861e8e6: Pull complete 23:06:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:06:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:25 prd-ubuntu20.04-docker-8c-8g-5333 does not seem to be running inside a container 23:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-191 -v /w/workspace/undry_device-rfid-llrp-go_PR-191:/w/workspace/undry_device-rfid-llrp-go_PR-191:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-191@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:06:27 $ docker top 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 -eo pid,comm 23:06:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:06:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:27 [ssh-agent] Looking for ssh-agent implementation... 23:06:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:27 $ docker exec 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 ssh-agent 23:06:27 SSH_AUTH_SOCK=/tmp/ssh-jWS5qrCavN75/agent.32 23:06:27 SSH_AGENT_PID=38 23:06:27 Running ssh-add (command line suppressed) 23:06:27 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/private_key_16537805785072029344.key (/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/private_key_16537805785072029344.key) 23:06:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:27 + git tag --points-at HEAD [Pipeline] } 23:06:27 $ docker exec --env ******** --env ******** 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 ssh-agent -k 23:06:28 unset SSH_AUTH_SOCK; 23:06:28 unset SSH_AGENT_PID; 23:06:28 echo Agent pid 38 killed; 23:06:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:28 [ssh-agent] Looking for ssh-agent implementation... 23:06:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:28 $ docker exec 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 ssh-agent 23:06:28 SSH_AUTH_SOCK=/tmp/ssh-NBpC9oTeK10t/agent.70 23:06:28 SSH_AGENT_PID=77 23:06:28 Running ssh-add (command line suppressed) 23:06:28 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/private_key_6662794474302923875.key (/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/private_key_6662794474302923875.key) 23:06:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:28 + git semver init 23:06:29 2023-03-22 23:06:28,975 [run_init] DEBUG init version:0.0.0 force:False 23:06:29 2023-03-22 23:06:28,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver 23:06:29 2023-03-22 23:06:28,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-191/.semver 23:06:29 2023-03-22 23:06:28,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-191, universal_newlines=False, shell=None, istream=None) 23:06:29 2023-03-22 23:06:29,726 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-191/.git/info/exclude 23:06:29 2023-03-22 23:06:29,727 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver/PR-191 with force:False 23:06:29 2023-03-22 23:06:29,727 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver/PR-191 23:06:29 2023-03-22 23:06:29,731 [execute] INFO git cat-file --batch-check 23:06:29 2023-03-22 23:06:29,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) 23:06:29 2023-03-22 23:06:29,737 [execute] INFO git cat-file --batch 23:06:29 2023-03-22 23:06:29,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) 23:06:29 2023-03-22 23:06:29,742 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-191/.semver/PR-191 23:06:29 0.0.0 [Pipeline] } 23:06:29 $ docker exec --env ******** --env ******** 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 ssh-agent -k 23:06:30 unset SSH_AUTH_SOCK; 23:06:30 unset SSH_AGENT_PID; 23:06:30 echo Agent pid 77 killed; 23:06:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:30 + git semver [Pipeline] } 23:06:30 $ docker stop --time=1 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 23:06:32 $ docker rm -f --volumes 32e164cfd71866419f77b95429ece2d1b622f1d5417a7c19c76e53b666dba030 [Pipeline] // withDockerContainer [Pipeline] sh 23:06:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:06:32 Stashed 1 file(s) [Pipeline] echo 23:06:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:32 provisioning config files... 23:06:32 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/config14535199719358937483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:33 ---> docker-login.sh 23:06:33 nexus3.edgexfoundry.org:10001 23:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:33 Configure a credential helper to remove this warning. See 23:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:33 23:06:33 Login Succeeded 23:06:33 nexus3.edgexfoundry.org:10002 23:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:33 Configure a credential helper to remove this warning. See 23:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:33 23:06:33 Login Succeeded 23:06:33 nexus3.edgexfoundry.org:10003 23:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:33 Configure a credential helper to remove this warning. See 23:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:33 23:06:33 Login Succeeded 23:06:33 nexus3.edgexfoundry.org:10004 23:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:33 Configure a credential helper to remove this warning. See 23:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:33 23:06:33 Login Succeeded 23:06:33 docker.io 23:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:33 Configure a credential helper to remove this warning. See 23:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:33 23:06:33 Login Succeeded 23:06:33 ---> docker-login.sh ends [Pipeline] } 23:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:06:33 ========================================================= 23:06:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:06:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:34 + 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 . 23:06:34 Sending build context to Docker daemon 4.186MB 23:06:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:06:34 Step 2/12 : FROM ${BASE} AS builder 23:06:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:06:34 63b65145d645: Pulling fs layer 23:06:34 a2d21d5440eb: Pulling fs layer 23:06:34 935e6c44a52c: Pulling fs layer 23:06:34 94cc34f8dd06: Pulling fs layer 23:06:34 30dea6a524f1: Pulling fs layer 23:06:34 a2aff8979fd8: Pulling fs layer 23:06:34 6808be2612f2: Pulling fs layer 23:06:34 f25807f1079a: Pulling fs layer 23:06:34 30dea6a524f1: Waiting 23:06:34 f25807f1079a: Waiting 23:06:34 6808be2612f2: Waiting 23:06:34 94cc34f8dd06: Waiting 23:06:34 a2aff8979fd8: Waiting 23:06:34 a2d21d5440eb: Verifying Checksum 23:06:34 a2d21d5440eb: Download complete 23:06:34 94cc34f8dd06: Download complete 23:06:34 30dea6a524f1: Verifying Checksum 23:06:34 30dea6a524f1: Download complete 23:06:34 63b65145d645: Verifying Checksum 23:06:34 63b65145d645: Download complete 23:06:34 a2aff8979fd8: Verifying Checksum 23:06:34 a2aff8979fd8: Download complete 23:06:34 63b65145d645: Pull complete 23:06:34 a2d21d5440eb: Pull complete 23:06:35 f25807f1079a: Verifying Checksum 23:06:35 f25807f1079a: Download complete 23:06:35 935e6c44a52c: Verifying Checksum 23:06:35 935e6c44a52c: Download complete 23:06:35 6808be2612f2: Verifying Checksum 23:06:35 6808be2612f2: Download complete 23:06:38 935e6c44a52c: Pull complete 23:06:38 94cc34f8dd06: Pull complete 23:06:38 30dea6a524f1: Pull complete 23:06:38 a2aff8979fd8: Pull complete 23:06:41 6808be2612f2: Pull complete 23:06:41 f25807f1079a: Pull complete 23:06:41 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:06:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:06:41 ---> 3b553350e43f 23:06:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:06:43 ---> Running in 61f85870ce20 23:06:43 Removing intermediate container 61f85870ce20 23:06:43 ---> ea625d795616 23:06:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:06:43 ---> Running in c5a4169e870f 23:06:43 Removing intermediate container c5a4169e870f 23:06:43 ---> f6639e2bc8ca 23:06:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 23:06:44 ---> Running in 4d94add57382 23:06:44 Removing intermediate container 4d94add57382 23:06:44 ---> 4edd520d3311 23:06:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:06:44 ---> Running in e70213eb0395 23:06:44 Removing intermediate container e70213eb0395 23:06:44 ---> 7f4488357a51 23:06:44 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:06:44 ---> Running in ee01bdfdb208 23:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:06:45 OK: 265 MiB in 53 packages 23:06:45 Removing intermediate container ee01bdfdb208 23:06:45 ---> 5296c5ea565a 23:06:45 Step 8/12 : WORKDIR /app 23:06:45 ---> Running in a9f7478ed15d 23:06:45 Removing intermediate container a9f7478ed15d 23:06:45 ---> d07d84d38e96 23:06:45 Step 9/12 : COPY go.mod vendor* ./ 23:06:45 ---> 19ff22742b65 23:06:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:45 ---> Running in 4eea86578c4b 23:06:47 Still waiting to schedule task 23:06:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:07:18 Removing intermediate container 4eea86578c4b 23:07:18 ---> fadd1ef7937b 23:07:18 Step 11/12 : COPY . . 23:07:18 ---> 7201669a6eb9 23:07:18 Step 12/12 : RUN $MAKE 23:07:18 ---> Running in c9d150583c63 23:07:18 noop 23:07:18 Removing intermediate container c9d150583c63 23:07:18 ---> b044fc426c01 23:07:18 Successfully built b044fc426c01 23:07:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:18 + docker inspect -f . ci-base-image-x86_64 23:07:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:18 prd-ubuntu20.04-docker-8c-8g-5333 does not seem to be running inside a container 23:07:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-191 -v /w/workspace/undry_device-rfid-llrp-go_PR-191:/w/workspace/undry_device-rfid-llrp-go_PR-191:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-191@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 ******** ci-base-image-x86_64 cat 23:07:18 $ docker top f07cf380e25dedf54f1add0b7d52df0b7e702544878f8b04922983945cf0a119 -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:19 + go version 23:07:19 go version go1.20.2 linux/amd64 [Pipeline] } 23:07:19 $ docker stop --time=1 f07cf380e25dedf54f1add0b7d52df0b7e702544878f8b04922983945cf0a119 23:07:20 $ docker rm -f --volumes f07cf380e25dedf54f1add0b7d52df0b7e702544878f8b04922983945cf0a119 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:20 + docker inspect -f . ci-base-image-x86_64 23:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:20 prd-ubuntu20.04-docker-8c-8g-5333 does not seem to be running inside a container 23:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-191 -v /w/workspace/undry_device-rfid-llrp-go_PR-191:/w/workspace/undry_device-rfid-llrp-go_PR-191:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-191@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 ******** ci-base-image-x86_64 cat 23:07:21 $ docker top b9b576c3c938dc5575560d726b394584e101db7cfbee51e2a6002ed7d710a06b -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:21 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-191 [Pipeline] fileExists [Pipeline] sh 23:07:21 + make test 23:07:21 go test ./... -coverprofile=coverage.out ./... 23:07:27 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:07:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:07:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:07:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.710s coverage: 40.9% of statements 23:07:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.247s coverage: 51.9% of statements 23:07:39 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 95.5% of statements 23:07:47 go vet ./... 23:07:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:07:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:07:50 ./bin/test-attribution-txt.sh 23:07:50 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:07:50 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:07:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:07:50 $ docker stop --time=1 b9b576c3c938dc5575560d726b394584e101db7cfbee51e2a6002ed7d710a06b 23:07:52 $ docker rm -f --volumes b9b576c3c938dc5575560d726b394584e101db7cfbee51e2a6002ed7d710a06b [Pipeline] // withDockerContainer [Pipeline] sh 23:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:07:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:07:54 + ls -al . 23:07:54 total 628 23:07:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 23:07 . 23:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:06 .. 23:07:54 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 23:06 .dockerignore 23:07:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:06 .git 23:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 23:06 .github 23:07:54 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 23:06 .gitignore 23:07:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 23:06 .golangci.yml 23:07:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:06 .semver 23:07:54 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 23:06 Attribution.txt 23:07:54 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 23:06 CHANGELOG.md 23:07:54 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 23:06 Dockerfile 23:07:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 23:06 GOVERNANCE.md 23:07:54 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 23:06 Jenkinsfile 23:07:54 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 23:06 LICENSE 23:07:54 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 23:06 Makefile 23:07:54 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 23:06 OWNERS.md 23:07:54 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 23:06 README.md 23:07:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 23:06 VERSION 23:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:06 bin 23:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:06 cmd 23:07:54 -rw-r--r-- 1 jenkins jenkins 457600 Mar 22 23:07 coverage.out 23:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:06 examples 23:07:54 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 22 23:06 go.mod 23:07:54 -rw-rw-r-- 1 jenkins jenkins 31076 Mar 22 23:06 go.sum 23:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:06 images 23:07:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 23:06 internal 23:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:06 snap 23:07:54 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:54 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5e889055d882d5643cdd22d904c620560dfccf05 --label arch=amd64 --label version=0.0.0 . 23:07:54 Sending build context to Docker daemon 4.186MB 23:07:54 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:07:54 Step 2/24 : FROM ${BASE} AS builder 23:07:54 ---> b044fc426c01 23:07:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:07:54 ---> Running in d1c23f47adc8 23:07:54 Removing intermediate container d1c23f47adc8 23:07:54 ---> 0dbb00624943 23:07:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:07:54 ---> Running in 56f046546953 23:07:54 Removing intermediate container 56f046546953 23:07:54 ---> b5879118bcb7 23:07:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 23:07:54 ---> Running in 8bf1f5248b1f 23:07:55 Removing intermediate container 8bf1f5248b1f 23:07:55 ---> aca3a0f2e6df 23:07:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:07:55 ---> Running in 50805c62577f 23:07:55 Removing intermediate container 50805c62577f 23:07:55 ---> dc4c1606ec0e 23:07:55 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:07:55 ---> Running in 337093bdd3ae 23:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:07:55 OK: 265 MiB in 53 packages 23:07:56 Removing intermediate container 337093bdd3ae 23:07:56 ---> 326f65888643 23:07:56 Step 8/24 : WORKDIR /app 23:07:56 ---> Running in 716a2541004b 23:07:56 Removing intermediate container 716a2541004b 23:07:56 ---> 84992a443961 23:07:56 Step 9/24 : COPY go.mod vendor* ./ 23:07:56 ---> d3ae3cf75f78 23:07:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:07:56 ---> Running in bd751a7bfdc5 23:07:57 Removing intermediate container bd751a7bfdc5 23:07:57 ---> d5f1c0837304 23:07:57 Step 11/24 : COPY . . 23:07:57 ---> 8c579f37313b 23:07:57 Step 12/24 : RUN $MAKE 23:07:57 ---> Running in a95bf6d194bd 23:07:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 23:08:15 Removing intermediate container a95bf6d194bd 23:08:15 ---> 6bd46aa25e6e 23:08:15 Step 13/24 : FROM alpine:3.17 23:08:15 3.17: Pulling from library/alpine 23:08:15 63b65145d645: Already exists 23:08:15 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:08:15 Status: Downloaded newer image for alpine:3.17 23:08:15 ---> b2aa39c304c2 23:08:15 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:08:15 ---> Running in d6d894429abd 23:08:15 Removing intermediate container d6d894429abd 23:08:15 ---> 75be9676afe5 23:08:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:08:16 ---> Running in cfa95e8bf50f 23:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:08:16 (1/1) Installing dumb-init (1.2.5-r2) 23:08:16 Executing busybox-1.35.0-r29.trigger 23:08:16 OK: 7 MiB in 16 packages 23:08:16 Removing intermediate container cfa95e8bf50f 23:08:16 ---> fce2705d8d3d 23:08:16 Step 16/24 : COPY --from=builder /app/LICENSE / 23:08:17 ---> 4a59199d0959 23:08:17 Step 17/24 : COPY --from=builder /app/Attribution.txt / 23:08:17 ---> dee4506de55f 23:08:17 Step 18/24 : COPY --from=builder /app/cmd/ / 23:08:18 ---> 18cc533d1f55 23:08:18 Step 19/24 : EXPOSE 59989 23:08:18 ---> Running in e51045b8efca 23:08:18 Removing intermediate container e51045b8efca 23:08:18 ---> 9fe1a6600f8b 23:08:18 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 23:08:18 ---> Running in 0206b74addc0 23:08:18 Removing intermediate container 0206b74addc0 23:08:18 ---> 1df9be89afe6 23:08:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:08:18 ---> Running in 000c37a3bd56 23:08:18 Removing intermediate container 000c37a3bd56 23:08:18 ---> 91af8305d61f 23:08:18 Step 22/24 : LABEL arch=amd64 23:08:18 ---> Running in 7d21f4924da8 23:08:18 Removing intermediate container 7d21f4924da8 23:08:18 ---> 0b69c05ef504 23:08:18 Step 23/24 : LABEL git_sha=5e889055d882d5643cdd22d904c620560dfccf05 23:08:18 ---> Running in 448fa9923002 23:08:18 Removing intermediate container 448fa9923002 23:08:18 ---> 14f26185b3a1 23:08:18 Step 24/24 : LABEL version=0.0.0 23:08:18 ---> Running in 56637ea0dae2 23:08:18 Removing intermediate container 56637ea0dae2 23:08:18 ---> 0f40bb84bf15 23:08:18 [Warning] One or more build-args [ARCH] were not consumed 23:08:18 Successfully built 0f40bb84bf15 23:08:18 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:19 23:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:19 latest: Pulling from edgex-lftools-log-publisher 23:08:19 5eb5b503b376: Pulling fs layer 23:08:19 5c69ac0246d0: Pulling fs layer 23:08:19 ec43610c2a17: Pulling fs layer 23:08:19 3a2ae6a8a46f: Pulling fs layer 23:08:19 33b1e0a273af: Pulling fs layer 23:08:19 5d3b04190fa2: Pulling fs layer 23:08:19 2f39f015ded8: Pulling fs layer 23:08:19 3a2ae6a8a46f: Waiting 23:08:19 33b1e0a273af: Waiting 23:08:19 5d3b04190fa2: Waiting 23:08:19 2f39f015ded8: Waiting 23:08:19 5c69ac0246d0: Download complete 23:08:19 3a2ae6a8a46f: Download complete 23:08:19 33b1e0a273af: Verifying Checksum 23:08:19 33b1e0a273af: Download complete 23:08:19 5d3b04190fa2: Verifying Checksum 23:08:19 5d3b04190fa2: Download complete 23:08:19 ec43610c2a17: Verifying Checksum 23:08:19 ec43610c2a17: Download complete 23:08:19 5eb5b503b376: Verifying Checksum 23:08:19 5eb5b503b376: Download complete 23:08:20 2f39f015ded8: Download complete 23:08:20 5eb5b503b376: Pull complete 23:08:21 5c69ac0246d0: Pull complete 23:08:21 ec43610c2a17: Pull complete 23:08:21 3a2ae6a8a46f: Pull complete 23:08:21 33b1e0a273af: Pull complete 23:08:21 5d3b04190fa2: Pull complete 23:08:26 2f39f015ded8: Pull complete 23:08:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:26 prd-ubuntu20.04-docker-8c-8g-5333 does not seem to be running inside a container 23:08:26 $ 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/undry_device-rfid-llrp-go_PR-191 -v /w/workspace/undry_device-rfid-llrp-go_PR-191:/w/workspace/undry_device-rfid-llrp-go_PR-191:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-191@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:08:27 $ docker top 7270fa343a559c99df00136f84233b220f1907407c06fe0aab01764e5f224668 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:28 ---> job-cost.sh 23:08:28 lf-activate-venv: SKIPPING 23:08:28 INFO: No Stack... 23:08:28 INFO: Retrieving Pricing Info for: v3-standard-8 23:08:28 INFO: Archiving Costs [Pipeline] sh 23:08:29 + cat /w/workspace/undry_device-rfid-llrp-go_PR-191/archives/cost.csv 23:08:29 + cut -d, -f6 [Pipeline] lock 23:08:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] 23:08:29 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] did not exist. Created. 23:08:29 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:08:29 + echo total: 0.2199999988079071 [Pipeline] stash 23:08:29 Stashed 1 file(s) [Pipeline] } 23:08:29 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:08:29 $ docker stop --time=1 7270fa343a559c99df00136f84233b220f1907407c06fe0aab01764e5f224668 23:08:30 $ docker rm -f --volumes 7270fa343a559c99df00136f84233b220f1907407c06fe0aab01764e5f224668 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:09:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5337 in /w/workspace/undry_device-rfid-llrp-go_PR-191 [Pipeline] { [Pipeline] ws 23:09:34 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 23:09:34 Selected Git installation does not exist. Using Default 23:09:34 The recommended git tool is: NONE 23:09:42 using credential edgex-jenkins-ssh 23:09:42 Cloning the remote Git repository 23:09:42 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:09:42 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 23:09:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:09:42 > git --version # timeout=10 23:09:42 > git --version # 'git version 2.25.1' 23:09:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:09:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:45 Merging remotes/origin/main commit a41d6dc477aab60bbffd9796b8b3bd1f25c661ce into PR head commit 5e889055d882d5643cdd22d904c620560dfccf05 23:09:45 Merge succeeded, producing 5e889055d882d5643cdd22d904c620560dfccf05 23:09:45 Checking out Revision 5e889055d882d5643cdd22d904c620560dfccf05 (PR-191) 23:09:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:09:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:09:45 > git config core.sparsecheckout # timeout=10 23:09:45 > git checkout -f 5e889055d882d5643cdd22d904c620560dfccf05 # timeout=10 23:09:45 > git remote # timeout=10 23:09:45 > git config --get remote.origin.url # timeout=10 23:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:45 > git merge a41d6dc477aab60bbffd9796b8b3bd1f25c661ce # timeout=10 23:09:45 > git rev-parse HEAD^{commit} # timeout=10 23:09:45 > git config core.sparsecheckout # timeout=10 23:09:46 > git checkout -f 5e889055d882d5643cdd22d904c620560dfccf05 # timeout=10 23:09:46 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:47 Dload Upload Total Spent Left Speed 23:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 23:09:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:09:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:09:48 + sudo tee /etc/docker/daemon.new 23:09:48 { 23:09:48 "registry-mirrors": [ 23:09:48 "https://nexus3.edgexfoundry.org:10001" 23:09:48 ], 23:09:48 "bip": "10.250.0.254/24", 23:09:48 "hosts": [ 23:09:48 "tcp://0.0.0.0:5555", 23:09:48 "unix:///var/run/docker.sock" 23:09:48 ], 23:09:48 "mtu": 1458, 23:09:48 "selinux-enabled": true, 23:09:48 "seccomp-profile": "/etc/docker/seccomp.json" 23:09:48 } [Pipeline] sh 23:09:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:09:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:07 provisioning config files... 23:10:07 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config8528803608306512555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:07 ---> docker-login.sh 23:10:07 nexus3.edgexfoundry.org:10001 23:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:08 Configure a credential helper to remove this warning. See 23:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:08 23:10:08 Login Succeeded 23:10:08 nexus3.edgexfoundry.org:10002 23:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:09 Configure a credential helper to remove this warning. See 23:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:09 23:10:09 Login Succeeded 23:10:09 nexus3.edgexfoundry.org:10003 23:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:09 Configure a credential helper to remove this warning. See 23:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:09 23:10:09 Login Succeeded 23:10:09 nexus3.edgexfoundry.org:10004 23:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:09 Configure a credential helper to remove this warning. See 23:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:09 23:10:09 Login Succeeded 23:10:09 docker.io 23:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:10 Configure a credential helper to remove this warning. See 23:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:10 23:10:10 Login Succeeded 23:10:10 ---> docker-login.sh ends [Pipeline] } 23:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:10 ========================================================= 23:10:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:10:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:11 + 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 . 23:10:11 Sending build context to Docker daemon 1.211MB 23:10:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:10:11 Step 2/12 : FROM ${BASE} AS builder 23:10:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:10:12 af6eaf76a39c: Pulling fs layer 23:10:12 55522c791124: Pulling fs layer 23:10:12 ce5c4a1c91eb: Pulling fs layer 23:10:12 169dfbe0d373: Pulling fs layer 23:10:12 e1ff8fa3b103: Pulling fs layer 23:10:12 52ebb69f0ebf: Pulling fs layer 23:10:12 5abe8eddf0d5: Pulling fs layer 23:10:12 52ebb69f0ebf: Waiting 23:10:12 5abe8eddf0d5: Waiting 23:10:12 e1ff8fa3b103: Waiting 23:10:12 169dfbe0d373: Waiting 23:10:12 55522c791124: Download complete 23:10:12 169dfbe0d373: Verifying Checksum 23:10:12 169dfbe0d373: Download complete 23:10:12 e1ff8fa3b103: Verifying Checksum 23:10:12 e1ff8fa3b103: Download complete 23:10:12 af6eaf76a39c: Download complete 23:10:13 af6eaf76a39c: Pull complete 23:10:13 5abe8eddf0d5: Verifying Checksum 23:10:13 5abe8eddf0d5: Download complete 23:10:13 55522c791124: Pull complete 23:10:15 ce5c4a1c91eb: Verifying Checksum 23:10:15 ce5c4a1c91eb: Download complete 23:10:15 52ebb69f0ebf: Verifying Checksum 23:10:15 52ebb69f0ebf: Download complete 23:10:27 ce5c4a1c91eb: Pull complete 23:10:27 169dfbe0d373: Pull complete 23:10:27 e1ff8fa3b103: Pull complete 23:10:34 52ebb69f0ebf: Pull complete 23:10:36 5abe8eddf0d5: Pull complete 23:10:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:10:36 ---> 6cb57ee374ae 23:10:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:10:38 ---> Running in bc9c20f6a60f 23:10:38 Removing intermediate container bc9c20f6a60f 23:10:38 ---> ea2f6dca5470 23:10:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:10:38 ---> Running in 9960876de352 23:10:38 Removing intermediate container 9960876de352 23:10:38 ---> 873fcb33cb24 23:10:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 23:10:38 ---> Running in 66c402dbad1d 23:10:39 Removing intermediate container 66c402dbad1d 23:10:39 ---> 9c3b26930460 23:10:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:10:39 ---> Running in 55bccae6bdb4 23:10:39 Removing intermediate container 55bccae6bdb4 23:10:39 ---> d6db939b600c 23:10:39 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:40 ---> Running in 4c777145332b 23:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:10:43 OK: 263 MiB in 53 packages 23:10:45 Removing intermediate container 4c777145332b 23:10:45 ---> cb801300af09 23:10:45 Step 8/12 : WORKDIR /app 23:10:45 ---> Running in 0feb2386fd22 23:10:45 Removing intermediate container 0feb2386fd22 23:10:45 ---> 37047b1f04d4 23:10:45 Step 9/12 : COPY go.mod vendor* ./ 23:10:45 ---> 338ad70021c5 23:10:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:45 ---> Running in a75823269de1 23:12:07 Removing intermediate container a75823269de1 23:12:07 ---> f90ebe10dc09 23:12:07 Step 11/12 : COPY . . 23:12:07 ---> 88689b59f3ac 23:12:07 Step 12/12 : RUN $MAKE 23:12:07 ---> Running in 0bca06ced2db 23:12:07 noop 23:12:07 Removing intermediate container 0bca06ced2db 23:12:07 ---> 125be0511223 23:12:07 Successfully built 125be0511223 23:12:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:07 + docker inspect -f . ci-base-image-arm64 23:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:08 prd-ubuntu20.04-docker-arm64-4c-16g-5337 does not seem to be running inside a container 23:12:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-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 ******** ci-base-image-arm64 cat 23:12:09 $ docker top a061acd022935a5356df0c34b44ad229f853eb44a45151ef8bd1f0871cc76bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:10 + go version 23:12:10 go version go1.20.2 linux/arm64 [Pipeline] } 23:12:10 $ docker stop --time=1 a061acd022935a5356df0c34b44ad229f853eb44a45151ef8bd1f0871cc76bc5 23:12:12 $ docker rm -f --volumes a061acd022935a5356df0c34b44ad229f853eb44a45151ef8bd1f0871cc76bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:12 + docker inspect -f . ci-base-image-arm64 23:12:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:12 prd-ubuntu20.04-docker-arm64-4c-16g-5337 does not seem to be running inside a container 23:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-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 ******** ci-base-image-arm64 cat 23:12:14 $ docker top 6b9863b0bdb4634fae73e61504adf7b5e74f840ac682756e468663968aa209bb -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:15 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh 23:12:15 + make test 23:12:15 go test ./... -coverprofile=coverage.out ./... 23:13:02 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:15:39 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:15:39 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:16:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 36.287s coverage: 40.9% of statements 23:16:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.646s coverage: 52.0% of statements 23:16:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.042s coverage: 95.5% of statements 23:16:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:16:26 go vet ./... 23:16:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:16:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:16:58 ./bin/test-attribution-txt.sh 23:16:58 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:16:58 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:16:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:16:58 $ docker stop --time=1 6b9863b0bdb4634fae73e61504adf7b5e74f840ac682756e468663968aa209bb 23:17:00 $ docker rm -f --volumes 6b9863b0bdb4634fae73e61504adf7b5e74f840ac682756e468663968aa209bb [Pipeline] // withDockerContainer [Pipeline] sh 23:17:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:01 Warning: overwriting stash ‘coverage-report’ 23:17:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:03 + ls -al . 23:17:03 total 624 23:17:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 23:12 . 23:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:09 .. 23:17:03 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 23:09 .dockerignore 23:17:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:09 .git 23:17:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 23:09 .github 23:17:03 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 23:09 .gitignore 23:17:03 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 23:09 .golangci.yml 23:17:03 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 23:09 Attribution.txt 23:17:03 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 23:09 CHANGELOG.md 23:17:03 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 23:09 Dockerfile 23:17:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 23:09 GOVERNANCE.md 23:17:03 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 23:09 Jenkinsfile 23:17:03 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 23:09 LICENSE 23:17:03 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 23:09 Makefile 23:17:03 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 23:09 OWNERS.md 23:17:03 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 23:09 README.md 23:17:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 23:06 VERSION 23:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:09 bin 23:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:09 cmd 23:17:03 -rw-r--r-- 1 jenkins jenkins 457600 Mar 22 23:16 coverage.out 23:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:09 examples 23:17:03 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 22 23:09 go.mod 23:17:03 -rw-rw-r-- 1 jenkins jenkins 31076 Mar 22 23:09 go.sum 23:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:09 images 23:17:03 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 23:09 internal 23:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:09 snap 23:17:03 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 23:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:03 + docker build -t device-rfid-llrp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5e889055d882d5643cdd22d904c620560dfccf05 --label arch=arm64 --label version=0.0.0 . 23:17:04 Sending build context to Docker daemon 1.211MB 23:17:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:17:04 Step 2/24 : FROM ${BASE} AS builder 23:17:04 ---> 125be0511223 23:17:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:17:04 ---> Running in bc51a5fc5807 23:17:04 Removing intermediate container bc51a5fc5807 23:17:04 ---> cbb105005cf0 23:17:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:04 ---> Running in 74e32b3655e8 23:17:05 Removing intermediate container 74e32b3655e8 23:17:05 ---> b33694f5b41d 23:17:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 23:17:05 ---> Running in 57c4f898797c 23:17:05 Removing intermediate container 57c4f898797c 23:17:05 ---> 397a5deca604 23:17:05 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:17:05 ---> Running in d3f9b7620d50 23:17:06 Removing intermediate container d3f9b7620d50 23:17:06 ---> fb2999fc663e 23:17:06 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:06 ---> Running in c12b89f6527e 23:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:17:09 OK: 263 MiB in 53 packages 23:17:10 Removing intermediate container c12b89f6527e 23:17:10 ---> b4365d854939 23:17:10 Step 8/24 : WORKDIR /app 23:17:10 ---> Running in 4d0b86f348e5 23:17:10 Removing intermediate container 4d0b86f348e5 23:17:10 ---> a489372e4209 23:17:10 Step 9/24 : COPY go.mod vendor* ./ 23:17:11 ---> 2034b056962d 23:17:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:11 ---> Running in e0a9628737b1 23:17:14 Removing intermediate container e0a9628737b1 23:17:14 ---> 688874e1535d 23:17:14 Step 11/24 : COPY . . 23:17:15 ---> 28a74f23c70d 23:17:15 Step 12/24 : RUN $MAKE 23:17:15 ---> Running in 3391dcb5eb70 23:17:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 23:20:08 Removing intermediate container 3391dcb5eb70 23:20:08 ---> 450c172f3c6e 23:20:08 Step 13/24 : FROM alpine:3.17 23:20:08 3.17: Pulling from library/alpine 23:20:08 af6eaf76a39c: Already exists 23:20:08 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:20:08 Status: Downloaded newer image for alpine:3.17 23:20:08 ---> d74e625d9115 23:20:08 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:20:08 ---> Running in 8f5a4d69f777 23:20:08 Removing intermediate container 8f5a4d69f777 23:20:08 ---> ccc1402b2e83 23:20:08 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:08 ---> Running in fad5e8131a34 23:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:08 (1/1) Installing dumb-init (1.2.5-r2) 23:20:08 Executing busybox-1.35.0-r29.trigger 23:20:08 OK: 8 MiB in 16 packages 23:20:08 Removing intermediate container fad5e8131a34 23:20:08 ---> d9b8249ccb10 23:20:08 Step 16/24 : COPY --from=builder /app/LICENSE / 23:20:08 ---> 46fd9d615e63 23:20:08 Step 17/24 : COPY --from=builder /app/Attribution.txt / 23:20:08 ---> 3dc71acfbbda 23:20:08 Step 18/24 : COPY --from=builder /app/cmd/ / 23:20:08 ---> 7c29ad280bd2 23:20:08 Step 19/24 : EXPOSE 59989 23:20:08 ---> Running in 7a34b20a6422 23:20:08 Removing intermediate container 7a34b20a6422 23:20:08 ---> 3f0a0bd3cc4f 23:20:08 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 23:20:08 ---> Running in 605996d469a9 23:20:08 Removing intermediate container 605996d469a9 23:20:08 ---> 1d0628d6786e 23:20:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:20:08 ---> Running in 2eda347e1a07 23:20:08 Removing intermediate container 2eda347e1a07 23:20:08 ---> a5c157740a3f 23:20:08 Step 22/24 : LABEL arch=arm64 23:20:08 ---> Running in 58e8c1607d45 23:20:08 Removing intermediate container 58e8c1607d45 23:20:08 ---> 43bfa2caa032 23:20:08 Step 23/24 : LABEL git_sha=5e889055d882d5643cdd22d904c620560dfccf05 23:20:08 ---> Running in d516058436ab 23:20:08 Removing intermediate container d516058436ab 23:20:08 ---> 5600f8aa7e15 23:20:08 Step 24/24 : LABEL version=0.0.0 23:20:08 ---> Running in f1a91610284a 23:20:08 Removing intermediate container f1a91610284a 23:20:08 ---> 1c66160d151b 23:20:08 [Warning] One or more build-args [ARCH] were not consumed 23:20:08 Successfully built 1c66160d151b 23:20:08 Successfully tagged device-rfid-llrp-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 23:20:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:09 23:20:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:09 arm64: Pulling from edgex-lftools-log-publisher 23:20:09 8998bd30e6a1: Pulling fs layer 23:20:09 04944245beec: Pulling fs layer 23:20:09 699f458cf7ca: Pulling fs layer 23:20:09 765212b225bb: Pulling fs layer 23:20:09 f23df028b6ca: Pulling fs layer 23:20:09 d65c8cfc05b1: Pulling fs layer 23:20:09 2437ff75d9bd: Pulling fs layer 23:20:09 f23df028b6ca: Waiting 23:20:09 d65c8cfc05b1: Waiting 23:20:09 2437ff75d9bd: Waiting 23:20:09 765212b225bb: Waiting 23:20:09 04944245beec: Verifying Checksum 23:20:09 04944245beec: Download complete 23:20:09 765212b225bb: Verifying Checksum 23:20:09 765212b225bb: Download complete 23:20:09 f23df028b6ca: Verifying Checksum 23:20:09 f23df028b6ca: Download complete 23:20:09 d65c8cfc05b1: Verifying Checksum 23:20:09 d65c8cfc05b1: Download complete 23:20:10 699f458cf7ca: Verifying Checksum 23:20:10 699f458cf7ca: Download complete 23:20:10 8998bd30e6a1: Verifying Checksum 23:20:10 8998bd30e6a1: Download complete 23:20:13 2437ff75d9bd: Verifying Checksum 23:20:13 2437ff75d9bd: Download complete 23:20:14 8998bd30e6a1: Pull complete 23:20:15 04944245beec: Pull complete 23:20:16 699f458cf7ca: Pull complete 23:20:16 765212b225bb: Pull complete 23:20:17 f23df028b6ca: Pull complete 23:20:17 d65c8cfc05b1: Pull complete 23:20:32 2437ff75d9bd: Pull complete 23:20:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:20:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:33 prd-ubuntu20.04-docker-arm64-4c-16g-5337 does not seem to be running inside a container 23:20:33 $ 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-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:20:35 $ docker top 36168649ea0c0aae02d716582baf571f0155b7aed8f38a6a3164fff7e38d91ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:36 ---> job-cost.sh 23:20:36 lf-activate-venv: SKIPPING 23:20:36 INFO: No Stack... 23:20:37 INFO: Retrieving Pricing Info for: v3-standard-4 23:20:38 INFO: Archiving Costs [Pipeline] sh 23:20:39 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 23:20:39 + cut -d, -f6 [Pipeline] lock 23:20:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] 23:20:39 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] did not exist. Created. 23:20:39 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:39 /w/workspace/device-rfid-llrp-go/2@tmp/durable-aeb3e152/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:20:40 + echo total: 0.10999999940395355 [Pipeline] stash 23:20:40 Warning: overwriting stash ‘stack-cost’ 23:20:40 Stashed 1 file(s) [Pipeline] } 23:20:40 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-191-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:40 $ docker stop --time=1 36168649ea0c0aae02d716582baf571f0155b7aed8f38a6a3164fff7e38d91ac 23:20:42 $ docker rm -f --volumes 36168649ea0c0aae02d716582baf571f0155b7aed8f38a6a3164fff7e38d91ac [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 23:20:42 provisioning config files... 23:20:42 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/config16504820713872172660tmp [Pipeline] { [Pipeline] sh 23:20:42 + set +x 23:20:42 + curl -s https://codecov.io/bash 23:20:42 + bash -s -- 23:20:42 23:20:42 _____ _ 23:20:42 / ____| | | 23:20:42 | | ___ __| | ___ ___ _____ __ 23:20:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:20:42 | |___| (_) | (_| | __/ (_| (_) \ V / 23:20:42 \_____\___/ \__,_|\___|\___\___/ \_/ 23:20:42 Bash-1.0.6 23:20:42 23:20:42 23:20:42 ==> git version 2.25.1 found 23:20:42 ==> 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 23:20:42 Release-Date: 2020-01-08 23:20:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:20:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:20:42 ==> Jenkins CI detected. 23:20:42 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-191 23:20:42 project root: . 23:20:42 --> token set from env 23:20:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:20:42 ==> Running gcov in . (disable via -X gcov) 23:20:42 ==> Python coveragepy not found 23:20:42 ==> Searching for coverage reports in: 23:20:42 + . 23:20:42 -> Found 1 reports 23:20:42 ==> Detecting git/mercurial file structure 23:20:42 ==> Reading reports 23:20:42 + ./coverage.out bytes=457600 23:20:42 ==> Appending adjustments 23:20:42 https://docs.codecov.io/docs/fixing-reports 23:20:42 + Found adjustments 23:20:42 ==> Gzipping contents 23:20:43 52K /tmp/codecov.oKCUEu.gz 23:20:43 ==> Uploading reports 23:20:43 url: https://codecov.io 23:20:43 query: branch=PR-191&commit=5e889055d882d5643cdd22d904c620560dfccf05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-191%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=191&job=&cmd_args= 23:20:43 -> Pinging Codecov 23:20:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-191&commit=5e889055d882d5643cdd22d904c620560dfccf05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-191%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=191&job=&cmd_args= 23:20:43 -> Uploading to 23:20:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/581DD39554BDF9B6E22D074273EAD858/5e889055d882d5643cdd22d904c620560dfccf05/d8143c25-3f17-4d4a-a88d-ebee4b7460ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T232043Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee8a0f49eee9532d587a2c2c967c6b123b339ef42a639016ad72b114aeb7aed8 23:20:43 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:43 Dload Upload Total Spent Left Speed 23:20:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50445 0 0 100 50445 0 242k --:--:-- --:--:-- --:--:-- 241k 100 50445 0 0 100 50445 0 150k --:--:-- --:--:-- --:--:-- 150k 23:20:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5e889055d882d5643cdd22d904c620560dfccf05 [Pipeline] } 23:20:43 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 23:20:44 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-191/archives ] 23:20:44 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-191/archives 23:20:44 total 16 23:20:44 drwxr-xr-x 3 root root 4096 Mar 22 23:08 . 23:20:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 23:08 .. 23:20:44 drwxr-xr-x 2 root root 4096 Mar 22 23:08 cost 23:20:44 -rw-r--r-- 1 root root 91 Mar 22 23:08 cost.csv 23:20:44 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-191/archives 23:20:44 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-191/archives 23:20:44 total 16 23:20:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:08 . 23:20:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 23:08 .. 23:20:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 23:08 cost 23:20:44 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 23:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:20:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:20:45 ---> package-listing.sh 23:20:45 ++ facter osfamily 23:20:45 ++ tr '[:upper:]' '[:lower:]' 23:20:45 + OS_FAMILY=debian 23:20:45 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-191 23:20:45 + START_PACKAGES=/tmp/packages_start.txt 23:20:45 + END_PACKAGES=/tmp/packages_end.txt 23:20:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:20:45 + PACKAGES=/tmp/packages_start.txt 23:20:45 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-191 ']' 23:20:45 + PACKAGES=/tmp/packages_end.txt 23:20:45 + case "${OS_FAMILY}" in 23:20:45 + dpkg -l 23:20:45 + grep '^ii' 23:20:45 + '[' -f /tmp/packages_start.txt ']' 23:20:45 + '[' -f /tmp/packages_end.txt ']' 23:20:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:20:45 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-191 ']' 23:20:45 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-191/archives/ 23:20:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-191/archives/ [Pipeline] echo 23:20:45 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/undry_device-rfid-llrp-go_PR-191/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:20:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:46 prd-ubuntu20.04-docker-8c-8g-5333 does not seem to be running inside a container 23:20:46 $ 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/undry_device-rfid-llrp-go_PR-191/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-191 -v /w/workspace/undry_device-rfid-llrp-go_PR-191:/w/workspace/undry_device-rfid-llrp-go_PR-191:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:20:46 $ docker top dbc9cd4c591dd3223a5e3a37000298626455234b380651f1931097c932712fdc -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:47 + touch /tmp/pre-build-complete [Pipeline] sh 23:20:47 + mkdir -p /var/log/sysstat [Pipeline] sh 23:20:47 + ls /var/log/sa-host 23:20:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:47 provisioning config files... 23:20:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-191@tmp/config6292955471303426475tmp [Pipeline] { [Pipeline] echo 23:20:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:20:48 ---> create-netrc.sh [Pipeline] } 23:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:20:48 ---> python-tools-install.sh [Pipeline] echo 23:20:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:20:48 ---> sudo-logs.sh 23:20:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:20:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:20:49 ---> job-cost.sh 23:20:49 lf-activate-venv: SKIPPING 23:20:49 DEBUG: total: 0.2199999988079071 23:20:49 INFO: Retrieving Stack Cost... 23:20:49 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:49 INFO: Archiving Costs [Pipeline] echo 23:20:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:20:50 ---> logs-deploy.sh 23:20:50 lf-activate-venv: SKIPPING 23:20:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-191/2 23:20:50 INFO: archiving workspace using pattern(s): 23:20:51 Archives upload complete. 23:20:51 INFO: archiving logs to Nexus