Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4378ac47b21b031a5ba584b6208ec4ea91bc0884+b9751f41d5278ba8d3f978611c0e9ad9426ae677 (ff658e787a2053162d8a93064ea50f1827b1c91c) 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-ssh13987327441504323573.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh17972515646524297305.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6792961991130933604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh93804429204956157.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh421727950204144461.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] ========================================================= [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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17217 in /w/workspace/undry_device-rfid-llrp-go_PR-270 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-270 # 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b9751f41d5278ba8d3f978611c0e9ad9426ae677 into PR head commit 4378ac47b21b031a5ba584b6208ec4ea91bc0884 Merge succeeded, producing 1ff14f397f6f61c21579e33055f54d8cddf00e42 Checking out Revision 1ff14f397f6f61c21579e33055f54d8cddf00e42 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f 4378ac47b21b031a5ba584b6208ec4ea91bc0884 # 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 b9751f41d5278ba8d3f978611c0e9ad9426ae677 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ff14f397f6f61c21579e33055f54d8cddf00e42 # timeout=10 Commit message: "Merge commit 'b9751f41d5278ba8d3f978611c0e9ad9426ae677' into HEAD" > git rev-list --no-walk 4378ac47b21b031a5ba584b6208ec4ea91bc0884 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:00 ========================================================= 21:07:00 EdgeX Global Pipelines Version Info 21:07:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:01 ------------------- 21:07:01 stable info: 21:07:01 ------------------- 21:07:01 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:07:01 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:07:01 Message: update stable to v1.0.257 21:07:01 ------------------- 21:07:01 experimental info: 21:07:01 ------------------- 21:07:01 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:01 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:07:01 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ff14f397f6f61c21579e33055f54d8cddf00e42 [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ff14f3 [Pipeline] echo 21:07:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:02 provisioning config files... 21:07:02 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/config5965988796735914755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:02 ---> docker-login.sh 21:07:02 nexus3.edgexfoundry.org:10001 21:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:02 Configure a credential helper to remove this warning. See 21:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:02 21:07:02 Login Succeeded 21:07:02 nexus3.edgexfoundry.org:10002 21:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:02 Configure a credential helper to remove this warning. See 21:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:02 21:07:02 Login Succeeded 21:07:02 nexus3.edgexfoundry.org:10003 21:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:03 Configure a credential helper to remove this warning. See 21:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:03 21:07:03 Login Succeeded 21:07:03 nexus3.edgexfoundry.org:10004 21:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:03 Configure a credential helper to remove this warning. See 21:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:03 21:07:03 Login Succeeded 21:07:03 docker.io 21:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:03 Configure a credential helper to remove this warning. See 21:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:03 21:07:03 Login Succeeded 21:07:03 ---> docker-login.sh ends [Pipeline] } 21:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:03 + git rev-list -1 --merges 1ff14f397f6f61c21579e33055f54d8cddf00e42~1..1ff14f397f6f61c21579e33055f54d8cddf00e42 [Pipeline] echo 21:07:03 -----------> git rev-list -1 --merges 1ff14f397f6f61c21579e33055f54d8cddf00e42~1..1ff14f397f6f61c21579e33055f54d8cddf00e42 1ff14f397f6f61c21579e33055f54d8cddf00e42 21:07:03 1ff14f397f6f61c21579e33055f54d8cddf00e42 [false] [Pipeline] sh 21:07:04 + git log --format=format:%s -1 1ff14f397f6f61c21579e33055f54d8cddf00e42 [Pipeline] echo 21:07:04 ========================================================= 21:07:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:04 + git log --format=format:%s -1 1ff14f397f6f61c21579e33055f54d8cddf00e42 [Pipeline] echo 21:07:04 [semverPrep] GIT_COMMIT: 1ff14f397f6f61c21579e33055f54d8cddf00e42, Commit Message: Merge commit 'b9751f41d5278ba8d3f978611c0e9ad9426ae677' into HEAD [Pipeline] echo 21:07:04 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:04 + grep -v github /etc/ssh/ssh_known_hosts 21:07:04 + [ -e /tmp/ssh_known_hosts ] 21:07:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:04 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:05 21:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:05 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:05 b85a868b505f: Pulling fs layer 21:07:05 e2be974225ed: Pulling fs layer 21:07:05 339a4e72a1f5: Pulling fs layer 21:07:05 988bab9f4d93: Pulling fs layer 21:07:05 1469e6f7b9e6: Pulling fs layer 21:07:05 eaf3925da568: Pulling fs layer 21:07:05 bab4dde63d76: Pulling fs layer 21:07:05 bde34c3a00c8: Pulling fs layer 21:07:05 b352a97aabf1: Pulling fs layer 21:07:05 4872d77fe225: Pulling fs layer 21:07:05 5851b861e8e6: Pulling fs layer 21:07:05 988bab9f4d93: Waiting 21:07:05 b352a97aabf1: Waiting 21:07:05 4872d77fe225: Waiting 21:07:05 1469e6f7b9e6: Waiting 21:07:05 5851b861e8e6: Waiting 21:07:05 bab4dde63d76: Waiting 21:07:05 bde34c3a00c8: Waiting 21:07:05 eaf3925da568: Waiting 21:07:05 e2be974225ed: Verifying Checksum 21:07:05 e2be974225ed: Download complete 21:07:05 988bab9f4d93: Verifying Checksum 21:07:05 988bab9f4d93: Download complete 21:07:05 1469e6f7b9e6: Verifying Checksum 21:07:05 1469e6f7b9e6: Download complete 21:07:05 339a4e72a1f5: Verifying Checksum 21:07:05 339a4e72a1f5: Download complete 21:07:05 eaf3925da568: Download complete 21:07:05 bde34c3a00c8: Verifying Checksum 21:07:05 bde34c3a00c8: Download complete 21:07:05 b352a97aabf1: Verifying Checksum 21:07:05 b352a97aabf1: Download complete 21:07:05 4872d77fe225: Download complete 21:07:05 5851b861e8e6: Download complete 21:07:05 b85a868b505f: Verifying Checksum 21:07:05 b85a868b505f: Download complete 21:07:06 bab4dde63d76: Verifying Checksum 21:07:06 bab4dde63d76: Download complete 21:07:07 b85a868b505f: Pull complete 21:07:07 e2be974225ed: Pull complete 21:07:07 339a4e72a1f5: Pull complete 21:07:07 988bab9f4d93: Pull complete 21:07:07 1469e6f7b9e6: Pull complete 21:07:08 eaf3925da568: Pull complete 21:07:10 bab4dde63d76: Pull complete 21:07:10 bde34c3a00c8: Pull complete 21:07:10 b352a97aabf1: Pull complete 21:07:10 4872d77fe225: Pull complete 21:07:10 5851b861e8e6: Pull complete 21:07:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:10 prd-ubuntu20.04-docker-8c-8g-17217 does not seem to be running inside a container 21:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-270 -v /w/workspace/undry_device-rfid-llrp-go_PR-270:/w/workspace/undry_device-rfid-llrp-go_PR-270:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:14 $ docker top 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc -eo pid,comm 21:07:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:07:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:14 [ssh-agent] Looking for ssh-agent implementation... 21:07:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:14 $ docker exec 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc ssh-agent 21:07:14 SSH_AUTH_SOCK=/tmp/ssh-jlXP9w1U86ow/agent.31 21:07:14 SSH_AGENT_PID=37 21:07:14 Running ssh-add (command line suppressed) 21:07:15 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/private_key_12668685763230655636.key (/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/private_key_12668685763230655636.key) 21:07:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:15 + git tag --points-at HEAD [Pipeline] } 21:07:15 $ docker exec --env ******** --env ******** 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc ssh-agent -k 21:07:15 unset SSH_AUTH_SOCK; 21:07:15 unset SSH_AGENT_PID; 21:07:15 echo Agent pid 37 killed; 21:07:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:15 [ssh-agent] Looking for ssh-agent implementation... 21:07:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:15 $ docker exec 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc ssh-agent 21:07:15 SSH_AUTH_SOCK=/tmp/ssh-HELPrc8SZA0F/agent.69 21:07:15 SSH_AGENT_PID=75 21:07:15 Running ssh-add (command line suppressed) 21:07:15 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/private_key_6357945269393458040.key (/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/private_key_6357945269393458040.key) 21:07:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:16 + git semver init 21:07:16 2023-11-10 21:07:16,295 [run_init] DEBUG init version:0.0.0 force:False 21:07:16 2023-11-10 21:07:16,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver 21:07:16 2023-11-10 21:07:16,297 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-270/.semver 21:07:16 2023-11-10 21:07:16,297 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-270, universal_newlines=False, shell=None, istream=None) 21:07:17 2023-11-10 21:07:17,179 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-270/.git/info/exclude 21:07:17 2023-11-10 21:07:17,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver/PR-270 with force:False 21:07:17 2023-11-10 21:07:17,180 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver/PR-270 21:07:17 2023-11-10 21:07:17,184 [execute] INFO git cat-file --batch-check 21:07:17 2023-11-10 21:07:17,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 21:07:17 2023-11-10 21:07:17,190 [execute] INFO git cat-file --batch 21:07:17 2023-11-10 21:07:17,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-270/.semver, universal_newlines=False, shell=None, istream=) 21:07:17 2023-11-10 21:07:17,195 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-270/.semver/PR-270 21:07:17 0.0.0 [Pipeline] } 21:07:17 $ docker exec --env ******** --env ******** 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc ssh-agent -k 21:07:17 unset SSH_AUTH_SOCK; 21:07:17 unset SSH_AGENT_PID; 21:07:17 echo Agent pid 75 killed; 21:07:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:17 + git semver [Pipeline] } 21:07:18 $ docker stop --time=1 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc 21:07:19 $ docker rm -f --volumes 076bfde2935a4497c89d59c75141db61e9cf0c571f8ef083a6fd2f2ed1f2d5dc [Pipeline] // withDockerContainer [Pipeline] sh 21:07:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:19 Stashed 1 file(s) [Pipeline] echo 21:07:19 [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 21:07:20 provisioning config files... 21:07:20 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/config11068245935289319635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:20 ---> docker-login.sh 21:07:20 nexus3.edgexfoundry.org:10001 21:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:20 Configure a credential helper to remove this warning. See 21:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:20 21:07:20 Login Succeeded 21:07:20 nexus3.edgexfoundry.org:10002 21:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:20 Configure a credential helper to remove this warning. See 21:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:20 21:07:20 Login Succeeded 21:07:20 nexus3.edgexfoundry.org:10003 21:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:20 Configure a credential helper to remove this warning. See 21:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:20 21:07:20 Login Succeeded 21:07:20 nexus3.edgexfoundry.org:10004 21:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:20 Configure a credential helper to remove this warning. See 21:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:20 21:07:20 Login Succeeded 21:07:20 docker.io 21:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:20 Configure a credential helper to remove this warning. See 21:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:20 21:07:20 Login Succeeded 21:07:20 ---> docker-login.sh ends [Pipeline] } 21:07:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:07:20 ========================================================= 21:07:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:07:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:07:21 Sending build context to Docker daemon 4.357MB 21:07:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:07:21 Step 2/12 : FROM ${BASE} AS builder 21:07:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:21 7264a8db6415: Pulling fs layer 21:07:21 c4d48a809fc2: Pulling fs layer 21:07:21 4f1c88b9dad5: Pulling fs layer 21:07:21 ad3a456e5733: Pulling fs layer 21:07:21 33e27b845d1e: Pulling fs layer 21:07:21 c68163c4e522: Pulling fs layer 21:07:21 50da416c3ac9: Pulling fs layer 21:07:21 23d2d4c4bb30: Pulling fs layer 21:07:21 ad3a456e5733: Waiting 21:07:21 33e27b845d1e: Waiting 21:07:21 c68163c4e522: Waiting 21:07:21 50da416c3ac9: Waiting 21:07:21 23d2d4c4bb30: Waiting 21:07:21 c4d48a809fc2: Download complete 21:07:21 ad3a456e5733: Verifying Checksum 21:07:21 ad3a456e5733: Download complete 21:07:21 33e27b845d1e: Download complete 21:07:21 7264a8db6415: Verifying Checksum 21:07:21 7264a8db6415: Download complete 21:07:21 c68163c4e522: Verifying Checksum 21:07:21 c68163c4e522: Download complete 21:07:21 7264a8db6415: Pull complete 21:07:21 23d2d4c4bb30: Verifying Checksum 21:07:21 23d2d4c4bb30: Download complete 21:07:21 c4d48a809fc2: Pull complete 21:07:21 4f1c88b9dad5: Verifying Checksum 21:07:21 4f1c88b9dad5: Download complete 21:07:22 50da416c3ac9: Download complete 21:07:24 4f1c88b9dad5: Pull complete 21:07:24 ad3a456e5733: Pull complete 21:07:25 33e27b845d1e: Pull complete 21:07:25 c68163c4e522: Pull complete 21:07:27 50da416c3ac9: Pull complete 21:07:27 23d2d4c4bb30: Pull complete 21:07:27 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:07:27 ---> 0786185ac409 21:07:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:33 ---> Running in 96a73878a991 21:07:33 Removing intermediate container 96a73878a991 21:07:33 ---> 0c999ee5ba4f 21:07:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:33 ---> Running in 21a35a46fd68 21:07:33 Removing intermediate container 21a35a46fd68 21:07:33 ---> 7619e75d8791 21:07:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:33 ---> Running in b855c5f901dd 21:07:33 Removing intermediate container b855c5f901dd 21:07:33 ---> b1bd3f44c9d0 21:07:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:33 ---> Running in 29d1e7c65208 21:07:33 Removing intermediate container 29d1e7c65208 21:07:33 ---> 2b00536ef0dc 21:07:33 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:33 ---> Running in e35ab06ef595 21:07:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:07:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:07:33 OK: 264 MiB in 52 packages 21:07:33 Removing intermediate container e35ab06ef595 21:07:33 ---> 0627cc97c37e 21:07:33 Step 8/12 : WORKDIR /app 21:07:33 ---> Running in 88c39e901e3e 21:07:34 Removing intermediate container 88c39e901e3e 21:07:34 ---> e7386b56744e 21:07:34 Step 9/12 : COPY go.mod vendor* ./ 21:07:34 ---> 74d88015ad6f 21:07:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:34 ---> Running in b511e4f82b9d 21:07:34 Still waiting to schedule task 21:07:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:08:12 Removing intermediate container b511e4f82b9d 21:08:12 ---> 8cb1cc73e48b 21:08:12 Step 11/12 : COPY . . 21:08:13 ---> 109091080cb2 21:08:13 Step 12/12 : RUN $MAKE 21:08:13 ---> Running in 4cd08f29eb5f 21:08:13 noop 21:08:13 Removing intermediate container 4cd08f29eb5f 21:08:13 ---> 543f0d23e73d 21:08:13 Successfully built 543f0d23e73d 21:08:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:13 + docker inspect -f . ci-base-image-x86_64 21:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:13 prd-ubuntu20.04-docker-8c-8g-17217 does not seem to be running inside a container 21:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-270 -v /w/workspace/undry_device-rfid-llrp-go_PR-270:/w/workspace/undry_device-rfid-llrp-go_PR-270:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:14 $ docker top ff21319df9e7d0a503945fe1c20743289f9b99dcbf6b0935cd8fc8481db97d98 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:14 + go version 21:08:14 go version go1.21.0 linux/amd64 [Pipeline] } 21:08:14 $ docker stop --time=1 ff21319df9e7d0a503945fe1c20743289f9b99dcbf6b0935cd8fc8481db97d98 21:08:16 $ docker rm -f --volumes ff21319df9e7d0a503945fe1c20743289f9b99dcbf6b0935cd8fc8481db97d98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:16 + docker inspect -f . ci-base-image-x86_64 21:08:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:16 prd-ubuntu20.04-docker-8c-8g-17217 does not seem to be running inside a container 21:08:16 $ 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-270 -v /w/workspace/undry_device-rfid-llrp-go_PR-270:/w/workspace/undry_device-rfid-llrp-go_PR-270:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:16 $ docker top 436671d7689b758cf30c65af91cbb9bd9ab45cc40555a7619a7bb046f2fcc923 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:17 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-270 [Pipeline] fileExists [Pipeline] sh 21:08:17 + make test 21:08:17 go test ./... -coverprofile=coverage.out ./... 21:08:18 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.506s coverage: 40.6% of statements 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 51.9% of statements 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 95.5% of statements 21:08:51 go vet ./... 21:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:08:53 $ docker stop --time=1 436671d7689b758cf30c65af91cbb9bd9ab45cc40555a7619a7bb046f2fcc923 21:08:56 $ docker rm -f --volumes 436671d7689b758cf30c65af91cbb9bd9ab45cc40555a7619a7bb046f2fcc923 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:58 + ls -al . 21:08:58 total 640 21:08:58 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 21:08 . 21:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:06 .. 21:08:58 -rw-rw-r-- 1 jenkins jenkins 134 Nov 10 21:06 .dockerignore 21:08:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 21:08 .git 21:08:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:06 .github 21:08:58 -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 21:06 .gitignore 21:08:58 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 21:06 .golangci.yml 21:08:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 21:07 .semver 21:08:58 -rw-rw-r-- 1 jenkins jenkins 11980 Nov 10 21:06 Attribution.txt 21:08:58 -rw-rw-r-- 1 jenkins jenkins 11677 Nov 10 21:06 CHANGELOG.md 21:08:58 -rw-rw-r-- 1 jenkins jenkins 1347 Nov 10 21:06 Dockerfile 21:08:58 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 21:06 GOVERNANCE.md 21:08:58 -rw-rw-r-- 1 jenkins jenkins 661 Nov 10 21:06 Jenkinsfile 21:08:58 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 10 21:06 LICENSE 21:08:58 -rw-rw-r-- 1 jenkins jenkins 2179 Nov 10 21:06 Makefile 21:08:58 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 21:06 OWNERS.md 21:08:58 -rw-rw-r-- 1 jenkins jenkins 28907 Nov 10 21:06 README.md 21:08:58 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 21:07 VERSION 21:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:06 bin 21:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:06 cmd 21:08:58 -rw-r--r-- 1 jenkins jenkins 459493 Nov 10 21:08 coverage.out 21:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:06 examples 21:08:58 -rw-rw-r-- 1 jenkins jenkins 3831 Nov 10 21:06 go.mod 21:08:58 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 10 21:06 go.sum 21:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:06 images 21:08:58 drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 21:06 internal 21:08:58 -rw-rw-r-- 1 jenkins jenkins 193 Nov 10 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:58 + 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=1ff14f397f6f61c21579e33055f54d8cddf00e42 --label arch=amd64 --label version=0.0.0 . 21:08:58 Sending build context to Docker daemon 4.357MB 21:08:58 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:08:58 Step 2/24 : FROM ${BASE} AS builder 21:08:58 ---> 543f0d23e73d 21:08:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:58 ---> Running in be7a80223c73 21:08:58 Removing intermediate container be7a80223c73 21:08:58 ---> 4e6ebb7fb37f 21:08:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:58 ---> Running in 162b6704a467 21:08:58 Removing intermediate container 162b6704a467 21:08:58 ---> fc6161d11c4e 21:08:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:58 ---> Running in 35fc9e8b6485 21:08:58 Removing intermediate container 35fc9e8b6485 21:08:58 ---> 1eb2dca61e1a 21:08:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:58 ---> Running in 6675e348c65a 21:08:58 Removing intermediate container 6675e348c65a 21:08:58 ---> e89842a354ed 21:08:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:58 ---> Running in b83a41f544e5 21:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:59 OK: 264 MiB in 52 packages 21:08:59 Removing intermediate container b83a41f544e5 21:08:59 ---> d9e1184218b8 21:08:59 Step 8/24 : WORKDIR /app 21:08:59 ---> Running in 9ce1548b0b7b 21:08:59 Removing intermediate container 9ce1548b0b7b 21:08:59 ---> 275ecf3051d2 21:08:59 Step 9/24 : COPY go.mod vendor* ./ 21:09:00 ---> 6e8f41d2e051 21:09:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:00 ---> Running in 8ef1e5c24d27 21:09:00 Removing intermediate container 8ef1e5c24d27 21:09:00 ---> 103baf75491b 21:09:00 Step 11/24 : COPY . . 21:09:00 ---> bc9f07d5cdf9 21:09:00 Step 12/24 : RUN $MAKE 21:09:00 ---> Running in 67a38363c877 21:09:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17218 in /w/workspace/undry_device-rfid-llrp-go_PR-270 [Pipeline] { [Pipeline] ws 21:09:12 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 21:09:12 The recommended git tool is: git 21:09:17 using credential edgex-jenkins-ssh 21:09:17 Cloning the remote Git repository 21:09:18 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:18 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 21:09:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:18 > git --version # timeout=10 21:09:18 > git --version # 'git version 2.25.1' 21:09:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:09:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:09:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:09:20 Merging remotes/origin/main commit b9751f41d5278ba8d3f978611c0e9ad9426ae677 into PR head commit 4378ac47b21b031a5ba584b6208ec4ea91bc0884 21:09:21 Merge succeeded, producing 285cefe605154b456056f55a2ced7603f015c577 21:09:21 Checking out Revision 285cefe605154b456056f55a2ced7603f015c577 (PR-270) 21:09:20 > git config core.sparsecheckout # timeout=10 21:09:21 > git checkout -f 4378ac47b21b031a5ba584b6208ec4ea91bc0884 # timeout=10 21:09:21 > git remote # timeout=10 21:09:21 > git config --get remote.origin.url # timeout=10 21:09:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:21 > git merge b9751f41d5278ba8d3f978611c0e9ad9426ae677 # timeout=10 21:09:21 > git rev-parse HEAD^{commit} # timeout=10 21:09:21 > git config core.sparsecheckout # timeout=10 21:09:21 > git checkout -f 285cefe605154b456056f55a2ced7603f015c577 # timeout=10 21:09:23 Removing intermediate container 67a38363c877 21:09:23 ---> aa02ba64e90b 21:09:23 Step 13/24 : FROM alpine:3.18 21:09:23 3.18: Pulling from library/alpine 21:09:23 96526aa774ef: Pulling fs layer 21:09:23 96526aa774ef: Download complete 21:09:23 96526aa774ef: Pull complete 21:09:23 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:09:23 Status: Downloaded newer image for alpine:3.18 21:09:23 ---> 8ca4688f4f35 21:09:23 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:09:23 ---> Running in f9e47d5f245c 21:09:23 Removing intermediate container f9e47d5f245c 21:09:23 ---> 91840be513b1 21:09:23 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:23 ---> Running in 972b98933dc9 21:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:09:23 (1/1) Installing dumb-init (1.2.5-r2) 21:09:23 Executing busybox-1.36.1-r2.trigger 21:09:23 OK: 7 MiB in 16 packages 21:09:24 Removing intermediate container 972b98933dc9 21:09:24 ---> 7ee70456274a 21:09:24 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:24 ---> c22bdee58630 21:09:24 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:24 ---> 3599a50ac90f 21:09:24 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:24 Commit message: "Merge commit 'b9751f41d5278ba8d3f978611c0e9ad9426ae677' into HEAD" 21:09:24 > git rev-list --no-walk 4378ac47b21b031a5ba584b6208ec4ea91bc0884 # timeout=10 21:09:25 ---> 721231f27dbf 21:09:25 Step 19/24 : EXPOSE 59989 21:09:25 ---> Running in be54f3bc40ed 21:09:25 Removing intermediate container be54f3bc40ed 21:09:25 ---> 55aa8414825a 21:09:25 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:25 ---> Running in 783f5196a6eb 21:09:25 Removing intermediate container 783f5196a6eb 21:09:25 ---> d64e69d1ae3c 21:09:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:25 ---> Running in a2530d4973cd 21:09:25 Removing intermediate container a2530d4973cd 21:09:25 ---> 0b4db34cce9e 21:09:25 Step 22/24 : LABEL arch=amd64 21:09:25 ---> Running in ae26a6784302 21:09:26 Removing intermediate container ae26a6784302 21:09:26 ---> 980c0abf20c7 21:09:26 Step 23/24 : LABEL git_sha=1ff14f397f6f61c21579e33055f54d8cddf00e42 21:09:26 ---> Running in b2ed2c20df8a 21:09:26 Removing intermediate container b2ed2c20df8a 21:09:26 ---> fa262edbfae3 21:09:26 Step 24/24 : LABEL version=0.0.0 21:09:26 ---> Running in a809d6db4040 21:09:26 Removing intermediate container a809d6db4040 21:09:26 ---> 56aef7e38428 21:09:26 [Warning] One or more build-args [ARCH] were not consumed 21:09:26 Successfully built 56aef7e38428 21:09:26 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:26 21:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:26 Dload Upload Total Spent Left Speed 21:09:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k 21:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:26 latest: Pulling from edgex-lftools-log-publisher 21:09:26 5eb5b503b376: Pulling fs layer 21:09:26 5c69ac0246d0: Pulling fs layer 21:09:26 ec43610c2a17: Pulling fs layer 21:09:26 3a2ae6a8a46f: Pulling fs layer 21:09:26 33b1e0a273af: Pulling fs layer 21:09:26 5d3b04190fa2: Pulling fs layer 21:09:26 2f39f015ded8: Pulling fs layer 21:09:26 5d3b04190fa2: Waiting 21:09:26 2f39f015ded8: Waiting 21:09:26 33b1e0a273af: Waiting 21:09:26 3a2ae6a8a46f: Waiting 21:09:26 5c69ac0246d0: Download complete 21:09:26 3a2ae6a8a46f: Verifying Checksum 21:09:26 3a2ae6a8a46f: Download complete 21:09:26 ec43610c2a17: Verifying Checksum 21:09:26 ec43610c2a17: Download complete 21:09:26 33b1e0a273af: Verifying Checksum 21:09:26 33b1e0a273af: Download complete 21:09:26 5d3b04190fa2: Verifying Checksum 21:09:26 5d3b04190fa2: Download complete 21:09:27 5eb5b503b376: Download complete [Pipeline] sh 21:09:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:27 2f39f015ded8: Download complete 21:09:27 + sudo tee /etc/docker/daemon.new 21:09:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:09:27 { 21:09:27 "registry-mirrors": [ 21:09:27 "https://nexus3.edgexfoundry.org:10001" 21:09:27 ], 21:09:27 "bip": "10.250.0.254/24", 21:09:27 "hosts": [ 21:09:27 "tcp://0.0.0.0:5555", 21:09:27 "unix:///var/run/docker.sock" 21:09:27 ], 21:09:27 "mtu": 1458, 21:09:27 "selinux-enabled": true, 21:09:27 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:27 } [Pipeline] sh 21:09:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:28 5eb5b503b376: Pull complete 21:09:28 5c69ac0246d0: Pull complete 21:09:28 + sudo service docker restart 21:09:28 ec43610c2a17: Pull complete 21:09:28 3a2ae6a8a46f: Pull complete 21:09:29 33b1e0a273af: Pull complete 21:09:29 5d3b04190fa2: Pull complete 21:09:33 2f39f015ded8: Pull complete 21:09:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:33 prd-ubuntu20.04-docker-8c-8g-17217 does not seem to be running inside a container 21:09: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/undry_device-rfid-llrp-go_PR-270 -v /w/workspace/undry_device-rfid-llrp-go_PR-270:/w/workspace/undry_device-rfid-llrp-go_PR-270:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:38 $ docker top aae2563db3f80c7e780e92579db7d2975b6a1199ed88fe80486805e9fe0d8483 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:39 ---> job-cost.sh 21:09:39 lf-activate-venv: SKIPPING 21:09:39 INFO: No Stack... 21:09:39 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:39 INFO: Archiving Costs [Pipeline] sh 21:09:39 + cat /w/workspace/undry_device-rfid-llrp-go_PR-270/archives/cost.csv 21:09:39 + cut -d, -f6 [Pipeline] lock 21:09:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] 21:09:39 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] did not exist. Created. 21:09:39 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:40 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:40 Stashed 1 file(s) [Pipeline] } 21:09:40 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:40 $ docker stop --time=1 aae2563db3f80c7e780e92579db7d2975b6a1199ed88fe80486805e9fe0d8483 21:09:41 $ docker rm -f --volumes aae2563db3f80c7e780e92579db7d2975b6a1199ed88fe80486805e9fe0d8483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:46 provisioning config files... 21:09:46 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config8197676008824644461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:47 ---> docker-login.sh 21:09:47 nexus3.edgexfoundry.org:10001 21:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:47 Configure a credential helper to remove this warning. See 21:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:47 21:09:47 Login Succeeded 21:09:47 nexus3.edgexfoundry.org:10002 21:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:48 Configure a credential helper to remove this warning. See 21:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:48 21:09:48 Login Succeeded 21:09:48 nexus3.edgexfoundry.org:10003 21:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:48 Configure a credential helper to remove this warning. See 21:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:48 21:09:48 Login Succeeded 21:09:48 nexus3.edgexfoundry.org:10004 21:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:48 Configure a credential helper to remove this warning. See 21:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:48 21:09:48 Login Succeeded 21:09:48 docker.io 21:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:49 Configure a credential helper to remove this warning. See 21:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:49 21:09:49 Login Succeeded 21:09:49 ---> docker-login.sh ends [Pipeline] } 21:09:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:09:49 ========================================================= 21:09:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:09:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:09:50 Sending build context to Docker daemon 1.198MB 21:09:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:09:50 Step 2/12 : FROM ${BASE} AS builder 21:09:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:50 9fda8d8052c6: Pulling fs layer 21:09:50 5d54e960e981: Pulling fs layer 21:09:50 c4a7e357bf2a: Pulling fs layer 21:09:50 f0e02332f6b5: Pulling fs layer 21:09:50 cefa15bbcfad: Pulling fs layer 21:09:50 17808c966233: Pulling fs layer 21:09:50 f4c1fc716caa: Pulling fs layer 21:09:50 cefa15bbcfad: Waiting 21:09:50 f0e02332f6b5: Waiting 21:09:50 17808c966233: Waiting 21:09:50 f4c1fc716caa: Waiting 21:09:50 5d54e960e981: Verifying Checksum 21:09:50 5d54e960e981: Download complete 21:09:50 f0e02332f6b5: Download complete 21:09:50 cefa15bbcfad: Verifying Checksum 21:09:50 cefa15bbcfad: Download complete 21:09:50 9fda8d8052c6: Verifying Checksum 21:09:50 9fda8d8052c6: Download complete 21:09:50 f4c1fc716caa: Verifying Checksum 21:09:51 9fda8d8052c6: Pull complete 21:09:52 5d54e960e981: Pull complete 21:09:52 c4a7e357bf2a: Verifying Checksum 21:09:52 c4a7e357bf2a: Download complete 21:09:53 17808c966233: Verifying Checksum 21:09:53 17808c966233: Download complete 21:10:05 c4a7e357bf2a: Pull complete 21:10:05 f0e02332f6b5: Pull complete 21:10:05 cefa15bbcfad: Pull complete 21:10:13 17808c966233: Pull complete 21:10:15 f4c1fc716caa: Pull complete 21:10:15 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:10:15 ---> ea914061e18c 21:10:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:10:17 ---> Running in c243d04dffce 21:10:17 Removing intermediate container c243d04dffce 21:10:17 ---> f417342edb04 21:10:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:17 ---> Running in de49cae15041 21:10:17 Removing intermediate container de49cae15041 21:10:17 ---> 0c6245a65575 21:10:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:10:17 ---> Running in 3e94ec6d8ecf 21:10:18 Removing intermediate container 3e94ec6d8ecf 21:10:18 ---> 0bbb766c97a9 21:10:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:10:18 ---> Running in 25aff97a69c4 21:10:18 Removing intermediate container 25aff97a69c4 21:10:18 ---> feb00a89b1c4 21:10:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:18 ---> Running in d99fbdcc1a6c 21:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:10:20 OK: 266 MiB in 52 packages 21:10:21 Removing intermediate container d99fbdcc1a6c 21:10:21 ---> 951cf3562312 21:10:21 Step 8/12 : WORKDIR /app 21:10:21 ---> Running in ac7cf4d825d8 21:10:22 Removing intermediate container ac7cf4d825d8 21:10:22 ---> 1cc766611088 21:10:22 Step 9/12 : COPY go.mod vendor* ./ 21:10:22 ---> d1d0cb99e94c 21:10:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:22 ---> Running in b5cbf515cab2 21:11:44 Removing intermediate container b5cbf515cab2 21:11:44 ---> 7beebb6b4e24 21:11:44 Step 11/12 : COPY . . 21:11:44 ---> 723f8ddfecce 21:11:44 Step 12/12 : RUN $MAKE 21:11:44 ---> Running in ba9dbd1d1f7e 21:11:44 noop 21:11:44 Removing intermediate container ba9dbd1d1f7e 21:11:44 ---> 178a857cae49 21:11:44 Successfully built 178a857cae49 21:11:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:44 + docker inspect -f . ci-base-image-arm64 21:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:44 prd-ubuntu20.04-docker-arm64-4c-16g-17218 does not seem to be running inside a container 21:11:44 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:11:46 $ docker top d6802b7bc7c1b3502acff44354f629160165f9754990f7d5edf9073a38e88401 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:46 + go version 21:11:46 go version go1.21.0 linux/arm64 [Pipeline] } 21:11:46 $ docker stop --time=1 d6802b7bc7c1b3502acff44354f629160165f9754990f7d5edf9073a38e88401 21:11:48 $ docker rm -f --volumes d6802b7bc7c1b3502acff44354f629160165f9754990f7d5edf9073a38e88401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:49 + docker inspect -f . ci-base-image-arm64 21:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:49 prd-ubuntu20.04-docker-arm64-4c-16g-17218 does not seem to be running inside a container 21:11:49 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:11:53 $ docker top 4dd44b32204f6c75b0ebd0fc5b784669b5b40d464de2e42aa5ba174ef9bef292 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:54 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh 21:11:54 + make test 21:11:54 go test ./... -coverprofile=coverage.out ./... 21:11:59 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:13:35 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:13:35 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:14:02 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.405s coverage: 40.6% of statements 21:14:02 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.544s coverage: 51.9% of statements 21:14:02 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.037s coverage: 95.5% of statements 21:14:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:14:02 go vet ./... 21:14:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:20 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:14:21 $ docker stop --time=1 4dd44b32204f6c75b0ebd0fc5b784669b5b40d464de2e42aa5ba174ef9bef292 21:14:25 $ docker rm -f --volumes 4dd44b32204f6c75b0ebd0fc5b784669b5b40d464de2e42aa5ba174ef9bef292 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:26 Warning: overwriting stash ‘coverage-report’ 21:14:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:27 + ls -al . 21:14:27 total 636 21:14:27 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 21:11 . 21:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:09 .. 21:14:27 -rw-rw-r-- 1 jenkins jenkins 134 Nov 10 21:09 .dockerignore 21:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 21:09 .git 21:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:09 .github 21:14:27 -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 21:09 .gitignore 21:14:27 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 21:09 .golangci.yml 21:14:27 -rw-rw-r-- 1 jenkins jenkins 11980 Nov 10 21:09 Attribution.txt 21:14:27 -rw-rw-r-- 1 jenkins jenkins 11677 Nov 10 21:09 CHANGELOG.md 21:14:27 -rw-rw-r-- 1 jenkins jenkins 1347 Nov 10 21:09 Dockerfile 21:14:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 21:09 GOVERNANCE.md 21:14:27 -rw-rw-r-- 1 jenkins jenkins 661 Nov 10 21:09 Jenkinsfile 21:14:27 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 10 21:09 LICENSE 21:14:27 -rw-rw-r-- 1 jenkins jenkins 2179 Nov 10 21:09 Makefile 21:14:27 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 21:09 OWNERS.md 21:14:27 -rw-rw-r-- 1 jenkins jenkins 28907 Nov 10 21:09 README.md 21:14:27 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 21:07 VERSION 21:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:09 bin 21:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:09 cmd 21:14:27 -rw-r--r-- 1 jenkins jenkins 459493 Nov 10 21:13 coverage.out 21:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:09 examples 21:14:27 -rw-rw-r-- 1 jenkins jenkins 3831 Nov 10 21:09 go.mod 21:14:27 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 10 21:09 go.sum 21:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:09 images 21:14:27 drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 21:09 internal 21:14:27 -rw-rw-r-- 1 jenkins jenkins 193 Nov 10 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:28 + 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=285cefe605154b456056f55a2ced7603f015c577 --label arch=arm64 --label version=0.0.0 . 21:14:28 Sending build context to Docker daemon 1.198MB 21:14:28 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:14:28 Step 2/24 : FROM ${BASE} AS builder 21:14:28 ---> 178a857cae49 21:14:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:14:28 ---> Running in 2fd93045389e 21:14:28 Removing intermediate container 2fd93045389e 21:14:28 ---> b52da21b7ea7 21:14:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:28 ---> Running in 5ad9c81ccecc 21:14:29 Removing intermediate container 5ad9c81ccecc 21:14:29 ---> 6ca80b088747 21:14:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:14:29 ---> Running in b94c48cc33b1 21:14:29 Removing intermediate container b94c48cc33b1 21:14:29 ---> 3cd65de24b7c 21:14:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:14:29 ---> Running in 5fdfff127dbb 21:14:29 Removing intermediate container 5fdfff127dbb 21:14:29 ---> ceeb3a38e946 21:14:29 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:29 ---> Running in 559c3dfd7d04 21:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:14:32 OK: 266 MiB in 52 packages 21:14:33 Removing intermediate container 559c3dfd7d04 21:14:33 ---> 8a20a5bcd326 21:14:33 Step 8/24 : WORKDIR /app 21:14:33 ---> Running in a80aef368b68 21:14:34 Removing intermediate container a80aef368b68 21:14:34 ---> a8827af4e933 21:14:34 Step 9/24 : COPY go.mod vendor* ./ 21:14:34 ---> f60c18b3b26a 21:14:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:34 ---> Running in a9e8d2c8e4a7 21:14:39 Removing intermediate container a9e8d2c8e4a7 21:14:39 ---> 7467092935c6 21:14:39 Step 11/24 : COPY . . 21:14:39 ---> bf3b15fe4809 21:14:39 Step 12/24 : RUN $MAKE 21:14:39 ---> Running in b83097f89c65 21:14:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:16:32 Removing intermediate container b83097f89c65 21:16:32 ---> 7c1a03e6b3f3 21:16:32 Step 13/24 : FROM alpine:3.18 21:16:32 3.18: Pulling from library/alpine 21:16:32 579b34f0a95b: Pulling fs layer 21:16:32 579b34f0a95b: Verifying Checksum 21:16:32 579b34f0a95b: Download complete 21:16:32 579b34f0a95b: Pull complete 21:16:32 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:16:32 Status: Downloaded newer image for alpine:3.18 21:16:32 ---> 3cc203321400 21:16:32 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:16:32 ---> Running in 78f31c5677b6 21:16:32 Removing intermediate container 78f31c5677b6 21:16:32 ---> 25ade88c094f 21:16:32 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:16:32 ---> Running in 5d5b226cb719 21:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:16:32 (1/1) Installing dumb-init (1.2.5-r2) 21:16:32 Executing busybox-1.36.1-r2.trigger 21:16:32 OK: 8 MiB in 16 packages 21:16:32 Removing intermediate container 5d5b226cb719 21:16:32 ---> a68ea3e7f683 21:16:32 Step 16/24 : COPY --from=builder /app/LICENSE / 21:16:33 ---> 049f1c3e2097 21:16:33 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:16:33 ---> 3c8d6eae38d9 21:16:33 Step 18/24 : COPY --from=builder /app/cmd/ / 21:16:35 ---> 16756d68c700 21:16:35 Step 19/24 : EXPOSE 59989 21:16:35 ---> Running in f51743a8159b 21:16:35 Removing intermediate container f51743a8159b 21:16:35 ---> a549c2e7d91b 21:16:35 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:16:35 ---> Running in db43b674a3a5 21:16:35 Removing intermediate container db43b674a3a5 21:16:35 ---> 65e02e83648c 21:16:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:16:35 ---> Running in bdcaf5a6fa89 21:16:36 Removing intermediate container bdcaf5a6fa89 21:16:36 ---> 2b2dfaf4c9bf 21:16:36 Step 22/24 : LABEL arch=arm64 21:16:36 ---> Running in 03795c26e061 21:16:36 Removing intermediate container 03795c26e061 21:16:36 ---> 0c1a490ee6f6 21:16:36 Step 23/24 : LABEL git_sha=285cefe605154b456056f55a2ced7603f015c577 21:16:36 ---> Running in 0e4fed7e0d86 21:16:36 Removing intermediate container 0e4fed7e0d86 21:16:36 ---> 9a44fa397606 21:16:36 Step 24/24 : LABEL version=0.0.0 21:16:36 ---> Running in 3500e4493934 21:16:37 Removing intermediate container 3500e4493934 21:16:37 ---> 42a7bdedabe2 21:16:37 [Warning] One or more build-args [ARCH] were not consumed 21:16:37 Successfully built 42a7bdedabe2 21:16:37 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 21:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:37 21:16:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:38 arm64: Pulling from edgex-lftools-log-publisher 21:16:38 8998bd30e6a1: Pulling fs layer 21:16:38 04944245beec: Pulling fs layer 21:16:38 699f458cf7ca: Pulling fs layer 21:16:38 765212b225bb: Pulling fs layer 21:16:38 f23df028b6ca: Pulling fs layer 21:16:38 d65c8cfc05b1: Pulling fs layer 21:16:38 2437ff75d9bd: Pulling fs layer 21:16:38 f23df028b6ca: Waiting 21:16:38 d65c8cfc05b1: Waiting 21:16:38 2437ff75d9bd: Waiting 21:16:38 04944245beec: Verifying Checksum 21:16:38 04944245beec: Download complete 21:16:38 765212b225bb: Verifying Checksum 21:16:38 765212b225bb: Download complete 21:16:38 f23df028b6ca: Download complete 21:16:38 d65c8cfc05b1: Verifying Checksum 21:16:38 d65c8cfc05b1: Download complete 21:16:38 699f458cf7ca: Verifying Checksum 21:16:38 699f458cf7ca: Download complete 21:16:38 8998bd30e6a1: Verifying Checksum 21:16:38 8998bd30e6a1: Download complete 21:16:41 2437ff75d9bd: Verifying Checksum 21:16:41 2437ff75d9bd: Download complete 21:16:43 8998bd30e6a1: Pull complete 21:16:43 04944245beec: Pull complete 21:16:47 699f458cf7ca: Pull complete 21:16:47 765212b225bb: Pull complete 21:16:48 f23df028b6ca: Pull complete 21:16:48 d65c8cfc05b1: Pull complete 21:17:07 2437ff75d9bd: Pull complete 21:17:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:07 prd-ubuntu20.04-docker-arm64-4c-16g-17218 does not seem to be running inside a container 21:17:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:17:09 $ docker top a574f54f689a83504b92baaecb19ca51ab820f8074593ecb20acb1208fd43a07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:10 ---> job-cost.sh 21:17:10 lf-activate-venv: SKIPPING 21:17:10 INFO: No Stack... 21:17:10 INFO: Retrieving Pricing Info for: v3-standard-4 21:17:11 INFO: Archiving Costs [Pipeline] sh 21:17:12 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 21:17:12 + cut -d, -f6 [Pipeline] lock 21:17:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] 21:17:12 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] did not exist. Created. 21:17:12 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:13 /w/workspace/device-rfid-llrp-go/2@tmp/durable-0c2bd8ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:17:13 + echo total: 0.10999999940395355 [Pipeline] stash 21:17:13 Warning: overwriting stash ‘stack-cost’ 21:17:13 Stashed 1 file(s) [Pipeline] } 21:17:13 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:13 $ docker stop --time=1 a574f54f689a83504b92baaecb19ca51ab820f8074593ecb20acb1208fd43a07 21:17:15 $ docker rm -f --volumes a574f54f689a83504b92baaecb19ca51ab820f8074593ecb20acb1208fd43a07 [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 21:17:15 provisioning config files... 21:17:15 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/config11179522515785097368tmp [Pipeline] { [Pipeline] sh 21:17:16 + set +x 21:17:16 + curl -s https://codecov.io/bash 21:17:16 + bash -s -- 21:17:16 21:17:16 _____ _ 21:17:16 / ____| | | 21:17:16 | | ___ __| | ___ ___ _____ __ 21:17:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:17:16 | |___| (_) | (_| | __/ (_| (_) \ V / 21:17:16 \_____\___/ \__,_|\___|\___\___/ \_/ 21:17:16 Bash-1.0.6 21:17:16 21:17:16 21:17:16 ==> git version 2.25.1 found 21:17:16 ==> 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 21:17:16 Release-Date: 2020-01-08 21:17:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:17:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:17:16 ==> Jenkins CI detected. 21:17:16 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-270 21:17:16 project root: . 21:17:16 --> token set from env 21:17:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:17:16 ==> Running gcov in . (disable via -X gcov) 21:17:16 ==> Python coveragepy not found 21:17:16 ==> Searching for coverage reports in: 21:17:16 + . 21:17:16 -> Found 1 reports 21:17:16 ==> Detecting git/mercurial file structure 21:17:16 ==> Reading reports 21:17:16 + ./coverage.out bytes=459493 21:17:16 ==> Appending adjustments 21:17:16 https://docs.codecov.io/docs/fixing-reports 21:17:16 + Found adjustments 21:17:16 ==> Gzipping contents 21:17:16 52K /tmp/codecov.aoard0.gz 21:17:16 ==> Uploading reports 21:17:16 url: https://codecov.io 21:17:16 query: branch=PR-270&commit=1ff14f397f6f61c21579e33055f54d8cddf00e42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=270&job=&cmd_args= 21:17:16 -> Pinging Codecov 21:17:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-270&commit=1ff14f397f6f61c21579e33055f54d8cddf00e42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=270&job=&cmd_args= 21:17:16 -> Uploading to 21:17:16 https://storage.googleapis.com/codecov/v4/raw/2023-11-10/581DD39554BDF9B6E22D074273EAD858/1ff14f397f6f61c21579e33055f54d8cddf00e42/13953b61-ad67-4a29-a519-c9b2fdcf0c77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T211716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=267b0228074cd478079acc327ec3fc9957525e306670dd9473848193f8bb94c1 21:17:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:16 Dload Upload Total Spent Left Speed 21:17:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50324 0 0 100 50324 0 166k --:--:-- --:--:-- --:--:-- 166k 21:17:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/1ff14f397f6f61c21579e33055f54d8cddf00e42 [Pipeline] } 21:17:17 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 21:17:17 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-270/archives ] 21:17:17 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-270/archives 21:17:17 total 16 21:17:17 drwxr-xr-x 3 root root 4096 Nov 10 21:09 . 21:17:17 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 21:09 .. 21:17:17 drwxr-xr-x 2 root root 4096 Nov 10 21:09 cost 21:17:17 -rw-r--r-- 1 root root 91 Nov 10 21:09 cost.csv 21:17:17 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-270/archives 21:17:17 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-270/archives 21:17:17 total 16 21:17:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 21:09 . 21:17:17 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 21:09 .. 21:17:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 21:09 cost 21:17:17 -rw-r--r-- 1 jenkins jenkins 91 Nov 10 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:19 ---> package-listing.sh 21:17:19 ++ facter osfamily 21:17:19 ++ tr '[:upper:]' '[:lower:]' 21:17:19 + OS_FAMILY=debian 21:17:19 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-270 21:17:19 + START_PACKAGES=/tmp/packages_start.txt 21:17:19 + END_PACKAGES=/tmp/packages_end.txt 21:17:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:19 + PACKAGES=/tmp/packages_start.txt 21:17:19 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-270 ']' 21:17:19 + PACKAGES=/tmp/packages_end.txt 21:17:19 + case "${OS_FAMILY}" in 21:17:19 + dpkg -l 21:17:19 + grep '^ii' 21:17:19 + '[' -f /tmp/packages_start.txt ']' 21:17:19 + '[' -f /tmp/packages_end.txt ']' 21:17:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:19 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-270 ']' 21:17:19 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-270/archives/ 21:17:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-270/archives/ [Pipeline] echo 21:17:19 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:17:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:20 prd-ubuntu20.04-docker-8c-8g-17217 does not seem to be running inside a container 21:17:20 $ 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-270/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-270 -v /w/workspace/undry_device-rfid-llrp-go_PR-270:/w/workspace/undry_device-rfid-llrp-go_PR-270:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:17:20 $ docker top f294f943458463ceea51177c32c53e435ca164649ee9d5fa204985b9e56d7011 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:20 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:21 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:21 + ls /var/log/sa-host 21:17:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:21 provisioning config files... 21:17:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-270@tmp/config5712242363485018828tmp [Pipeline] { [Pipeline] echo 21:17:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:21 ---> create-netrc.sh [Pipeline] } 21:17:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:22 ---> python-tools-install.sh [Pipeline] echo 21:17:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:22 ---> sudo-logs.sh 21:17:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:22 ---> job-cost.sh 21:17:22 lf-activate-venv: SKIPPING 21:17:22 DEBUG: total: 0.2199999988079071 21:17:22 INFO: Retrieving Stack Cost... 21:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:23 INFO: Archiving Costs [Pipeline] echo 21:17:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:24 ---> logs-deploy.sh 21:17:24 lf-activate-venv: SKIPPING 21:17:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-270/2 21:17:24 INFO: archiving workspace using pattern(s): 21:17:24 Archives upload complete. 21:17:24 INFO: archiving logs to Nexus