Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+2324491fcd83c67259ed47f9c53b07eaebff8e42 (20f92a4f15cb6172c2c1133024dbbc6542e9b870) 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-ssh7403276840363198599.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13116664353782995355.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10062494404927292335.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15701810621681767326.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16661047564682122399.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3364 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [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-229 # 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 Merging remotes/origin/main commit 2324491fcd83c67259ed47f9c53b07eaebff8e42 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 > 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 Merge succeeded, producing 0a362ada9e9f8c1617b7fa67c978fac1855b8615 Checking out Revision 0a362ada9e9f8c1617b7fa67c978fac1855b8615 (PR-229) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2324491fcd83c67259ed47f9c53b07eaebff8e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a362ada9e9f8c1617b7fa67c978fac1855b8615 # timeout=10 Commit message: "Merge commit '2324491fcd83c67259ed47f9c53b07eaebff8e42' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 41d2bc72d87234bfe7636d0f6bbf430c464fbc53 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:29 ========================================================= 21:06:29 EdgeX Global Pipelines Version Info 21:06:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:30 ------------------- 21:06:30 stable info: 21:06:30 ------------------- 21:06:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:30 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:06:30 Message: update stable to v1.0.253 21:06:31 ------------------- 21:06:31 experimental info: 21:06:31 ------------------- 21:06:31 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:31 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:06:31 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a362ada9e9f8c1617b7fa67c978fac1855b8615 [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a362ad [Pipeline] echo 21:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:31 provisioning config files... 21:06:31 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config9515867280520412856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:32 ---> docker-login.sh 21:06:32 nexus3.edgexfoundry.org:10001 21:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:32 Configure a credential helper to remove this warning. See 21:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:32 21:06:32 Login Succeeded 21:06:32 nexus3.edgexfoundry.org:10002 21:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:32 Configure a credential helper to remove this warning. See 21:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:32 21:06:32 Login Succeeded 21:06:32 nexus3.edgexfoundry.org:10003 21:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:32 Configure a credential helper to remove this warning. See 21:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:32 21:06:32 Login Succeeded 21:06:32 nexus3.edgexfoundry.org:10004 21:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:32 Configure a credential helper to remove this warning. See 21:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:32 21:06:32 Login Succeeded 21:06:32 docker.io 21:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:33 Configure a credential helper to remove this warning. See 21:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:33 21:06:33 Login Succeeded 21:06:33 ---> docker-login.sh ends [Pipeline] } 21:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:33 + git rev-list -1 --merges 0a362ada9e9f8c1617b7fa67c978fac1855b8615~1..0a362ada9e9f8c1617b7fa67c978fac1855b8615 [Pipeline] echo 21:06:33 -----------> git rev-list -1 --merges 0a362ada9e9f8c1617b7fa67c978fac1855b8615~1..0a362ada9e9f8c1617b7fa67c978fac1855b8615 0a362ada9e9f8c1617b7fa67c978fac1855b8615 21:06:33 0a362ada9e9f8c1617b7fa67c978fac1855b8615 [false] [Pipeline] sh 21:06:33 + git log --format=format:%s -1 0a362ada9e9f8c1617b7fa67c978fac1855b8615 [Pipeline] echo 21:06:33 ========================================================= 21:06:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:34 + git log --format=format:%s -1 0a362ada9e9f8c1617b7fa67c978fac1855b8615 [Pipeline] echo 21:06:34 [semverPrep] GIT_COMMIT: 0a362ada9e9f8c1617b7fa67c978fac1855b8615, Commit Message: Merge commit '2324491fcd83c67259ed47f9c53b07eaebff8e42' into HEAD [Pipeline] echo 21:06:34 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:34 + grep -v github /etc/ssh/ssh_known_hosts 21:06:34 + [ -e /tmp/ssh_known_hosts ] 21:06:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:34 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:34 sudo tee -a /etc/ssh/ssh_known_hosts 21:06:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:34 21:06:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:35 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:35 b85a868b505f: Pulling fs layer 21:06:35 e2be974225ed: Pulling fs layer 21:06:35 339a4e72a1f5: Pulling fs layer 21:06:35 988bab9f4d93: Pulling fs layer 21:06:35 1469e6f7b9e6: Pulling fs layer 21:06:35 eaf3925da568: Pulling fs layer 21:06:35 bab4dde63d76: Pulling fs layer 21:06:35 bde34c3a00c8: Pulling fs layer 21:06:35 b352a97aabf1: Pulling fs layer 21:06:35 4872d77fe225: Pulling fs layer 21:06:35 5851b861e8e6: Pulling fs layer 21:06:35 1469e6f7b9e6: Waiting 21:06:35 eaf3925da568: Waiting 21:06:35 bab4dde63d76: Waiting 21:06:35 4872d77fe225: Waiting 21:06:35 5851b861e8e6: Waiting 21:06:35 bde34c3a00c8: Waiting 21:06:35 b352a97aabf1: Waiting 21:06:35 988bab9f4d93: Waiting 21:06:35 e2be974225ed: Download complete 21:06:35 988bab9f4d93: Download complete 21:06:35 1469e6f7b9e6: Verifying Checksum 21:06:35 1469e6f7b9e6: Download complete 21:06:35 eaf3925da568: Verifying Checksum 21:06:35 eaf3925da568: Download complete 21:06:35 339a4e72a1f5: Verifying Checksum 21:06:35 339a4e72a1f5: Download complete 21:06:35 bde34c3a00c8: Verifying Checksum 21:06:35 bde34c3a00c8: Download complete 21:06:35 b352a97aabf1: Verifying Checksum 21:06:35 b352a97aabf1: Download complete 21:06:35 4872d77fe225: Download complete 21:06:35 5851b861e8e6: Download complete 21:06:35 b85a868b505f: Verifying Checksum 21:06:35 b85a868b505f: Download complete 21:06:35 bab4dde63d76: Verifying Checksum 21:06:35 bab4dde63d76: Download complete 21:06:37 b85a868b505f: Pull complete 21:06:37 e2be974225ed: Pull complete 21:06:37 339a4e72a1f5: Pull complete 21:06:38 988bab9f4d93: Pull complete 21:06:38 1469e6f7b9e6: Pull complete 21:06:38 eaf3925da568: Pull complete 21:06:40 bab4dde63d76: Pull complete 21:06:40 bde34c3a00c8: Pull complete 21:06:40 b352a97aabf1: Pull complete 21:06:40 4872d77fe225: Pull complete 21:06:40 5851b861e8e6: Pull complete 21:06:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:41 prd-ubuntu20.04-docker-8c-8g-3364 does not seem to be running inside a container 21:06:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:06:44 $ docker top 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f -eo pid,comm 21:06:45 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:06:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:45 [ssh-agent] Looking for ssh-agent implementation... 21:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:45 $ docker exec 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f ssh-agent 21:06:45 SSH_AUTH_SOCK=/tmp/ssh-zGbo6jLkVk5D/agent.32 21:06:45 SSH_AGENT_PID=38 21:06:45 Running ssh-add (command line suppressed) 21:06:45 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_16397745277001574814.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_16397745277001574814.key) 21:06:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:45 + git tag --points-at HEAD [Pipeline] } 21:06:45 $ docker exec --env ******** --env ******** 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f ssh-agent -k 21:06:45 unset SSH_AUTH_SOCK; 21:06:45 unset SSH_AGENT_PID; 21:06:45 echo Agent pid 38 killed; 21:06:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:45 [ssh-agent] Looking for ssh-agent implementation... 21:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:45 $ docker exec 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f ssh-agent 21:06:46 SSH_AUTH_SOCK=/tmp/ssh-HUai1tH3wSHA/agent.70 21:06:46 SSH_AGENT_PID=76 21:06:46 Running ssh-add (command line suppressed) 21:06:46 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4237212121974359090.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4237212121974359090.key) 21:06:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:46 + git semver init 21:06:46 2023-08-11 21:06:46,684 [run_init] DEBUG init version:0.0.0 force:False 21:06:46 2023-08-11 21:06:46,685 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:46 2023-08-11 21:06:46,686 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:46 2023-08-11 21:06:46,686 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:06:47 2023-08-11 21:06:47,622 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:06:47 2023-08-11 21:06:47,623 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:06:47 2023-08-11 21:06:47,623 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:47 2023-08-11 21:06:47,627 [execute] INFO git cat-file --batch-check 21:06:47 2023-08-11 21:06:47,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:06:47 2023-08-11 21:06:47,632 [execute] INFO git cat-file --batch 21:06:47 2023-08-11 21:06:47,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:06:47 2023-08-11 21:06:47,636 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:47 0.0.0 [Pipeline] } 21:06:47 $ docker exec --env ******** --env ******** 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f ssh-agent -k 21:06:47 unset SSH_AUTH_SOCK; 21:06:47 unset SSH_AGENT_PID; 21:06:47 echo Agent pid 76 killed; 21:06:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:48 + git semver [Pipeline] } 21:06:48 $ docker stop --time=1 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f 21:06:50 $ docker rm -f --volumes 8ae6a5dc568647057055c72b20d8960448cc70d440b5433f9d81bad807482b1f [Pipeline] // withDockerContainer [Pipeline] sh 21:06:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:51 Stashed 1 file(s) [Pipeline] echo 21:06:51 [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:06:51 provisioning config files... 21:06:51 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config14251436126654507948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:51 ---> docker-login.sh 21:06:51 nexus3.edgexfoundry.org:10001 21:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:51 Configure a credential helper to remove this warning. See 21:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:51 21:06:51 Login Succeeded 21:06:51 nexus3.edgexfoundry.org:10002 21:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:51 Configure a credential helper to remove this warning. See 21:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:51 21:06:51 Login Succeeded 21:06:51 nexus3.edgexfoundry.org:10003 21:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:51 Configure a credential helper to remove this warning. See 21:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:51 21:06:51 Login Succeeded 21:06:51 nexus3.edgexfoundry.org:10004 21:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:51 Configure a credential helper to remove this warning. See 21:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:51 21:06:51 Login Succeeded 21:06:51 docker.io 21:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:52 Configure a credential helper to remove this warning. See 21:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:52 21:06:52 Login Succeeded 21:06:52 ---> docker-login.sh ends [Pipeline] } 21:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:52 ========================================================= 21:06:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:06:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:06:52 Sending build context to Docker daemon 4.297MB 21:06:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:52 Step 2/12 : FROM ${BASE} AS builder 21:06:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:53 4db1b89c0bd1: Pulling fs layer 21:06:53 6911f1a30b25: Pulling fs layer 21:06:53 e194b8c5c2a9: Pulling fs layer 21:06:53 6863d3e3a2b1: Pulling fs layer 21:06:53 ec0bb842ea78: Pulling fs layer 21:06:53 40a00589a448: Pulling fs layer 21:06:53 6c08303d61cc: Pulling fs layer 21:06:53 798269fcf238: Pulling fs layer 21:06:53 6c08303d61cc: Waiting 21:06:53 ec0bb842ea78: Waiting 21:06:53 40a00589a448: Waiting 21:06:53 798269fcf238: Waiting 21:06:53 6863d3e3a2b1: Waiting 21:06:53 6911f1a30b25: Verifying Checksum 21:06:53 6911f1a30b25: Download complete 21:06:53 6863d3e3a2b1: Verifying Checksum 21:06:53 6863d3e3a2b1: Download complete 21:06:53 ec0bb842ea78: Verifying Checksum 21:06:53 ec0bb842ea78: Download complete 21:06:53 4db1b89c0bd1: Download complete 21:06:53 40a00589a448: Verifying Checksum 21:06:53 40a00589a448: Download complete 21:06:53 4db1b89c0bd1: Pull complete 21:06:54 798269fcf238: Verifying Checksum 21:06:54 798269fcf238: Download complete 21:06:54 6911f1a30b25: Pull complete 21:06:54 e194b8c5c2a9: Verifying Checksum 21:06:54 6c08303d61cc: Verifying Checksum 21:06:54 6c08303d61cc: Download complete 21:06:57 e194b8c5c2a9: Pull complete 21:06:57 6863d3e3a2b1: Pull complete 21:06:57 ec0bb842ea78: Pull complete 21:06:57 40a00589a448: Pull complete 21:07:00 6c08303d61cc: Pull complete 21:07:01 798269fcf238: Pull complete 21:07:01 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:01 ---> ec979cd7f677 21:07:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:06 Still waiting to schedule task 21:07:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:07 ---> Running in 8896a199a323 21:07:07 Removing intermediate container 8896a199a323 21:07:07 ---> a25592aa869d 21:07:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:07 ---> Running in 8b39f10b23db 21:07:07 Removing intermediate container 8b39f10b23db 21:07:07 ---> 8f6a221f1a53 21:07:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:07 ---> Running in b63a4b2daab9 21:07:08 Removing intermediate container b63a4b2daab9 21:07:08 ---> 705df64b4619 21:07:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:08 ---> Running in d7b85d85ba62 21:07:08 Removing intermediate container d7b85d85ba62 21:07:08 ---> 974bfd7375db 21:07:08 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:08 ---> Running in a41149bf5dcb 21:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:08 OK: 265 MiB in 53 packages 21:07:09 Removing intermediate container a41149bf5dcb 21:07:09 ---> 0a424adc0585 21:07:09 Step 8/12 : WORKDIR /app 21:07:09 ---> Running in 079f908d960b 21:07:09 Removing intermediate container 079f908d960b 21:07:09 ---> 87202ba69ff2 21:07:09 Step 9/12 : COPY go.mod vendor* ./ 21:07:09 ---> 79a22497a5dc 21:07:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:09 ---> Running in 984172ee4237 21:07:56 Removing intermediate container 984172ee4237 21:07:56 ---> 1034dafa8558 21:07:56 Step 11/12 : COPY . . 21:07:56 ---> 87967b226a49 21:07:56 Step 12/12 : RUN $MAKE 21:07:56 ---> Running in b171b7e1fe33 21:07:56 noop 21:07:56 Removing intermediate container b171b7e1fe33 21:07:56 ---> 534851a30c68 21:07:56 Successfully built 534851a30c68 21:07:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:56 + docker inspect -f . ci-base-image-x86_64 21:07:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:56 prd-ubuntu20.04-docker-8c-8g-3364 does not seem to be running inside a container 21:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:07:57 $ docker top 240a244299ef620cdce677680bfbadce0abe8b8bb7325ea9a132788b1e4c210f -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:57 + go version 21:07:57 go version go1.20.6 linux/amd64 [Pipeline] } 21:07:57 $ docker stop --time=1 240a244299ef620cdce677680bfbadce0abe8b8bb7325ea9a132788b1e4c210f 21:07:58 $ docker rm -f --volumes 240a244299ef620cdce677680bfbadce0abe8b8bb7325ea9a132788b1e4c210f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:59 + docker inspect -f . ci-base-image-x86_64 21:07:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:59 prd-ubuntu20.04-docker-8c-8g-3364 does not seem to be running inside a container 21:07:59 $ 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-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:07:59 $ docker top c33b214776bdc6c9a79d135860c0a0a3d8b40e490ce043a62054fa4643acfe42 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:00 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:08:00 + make test 21:08:00 go test ./... -coverprofile=coverage.out ./... 21:08:05 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:17 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:17 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:21 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.554s coverage: 40.6% of statements 21:08:21 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.252s coverage: 51.9% of statements 21:08:21 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 96.4% of statements 21:08:29 go vet ./... 21:08:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:33 ./bin/test-attribution-txt.sh 21:08:33 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:33 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:33 $ docker stop --time=1 c33b214776bdc6c9a79d135860c0a0a3d8b40e490ce043a62054fa4643acfe42 21:08:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3365 in /w/workspace/undry_device-rfid-llrp-go_PR-229 21:08:37 $ docker rm -f --volumes c33b214776bdc6c9a79d135860c0a0a3d8b40e490ce043a62054fa4643acfe42 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 21:08:37 Running in /w/workspace/device-rfid-llrp-go/11 [Pipeline] { [Pipeline] checkout 21:08:37 The recommended git tool is: git 21:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:38 + ls -al . 21:08:38 total 640 21:08:38 drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 21:08 . 21:08:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:06 .. 21:08:38 -rw-rw-r-- 1 jenkins jenkins 134 Aug 11 21:06 .dockerignore 21:08:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 21:06 .git 21:08:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 21:06 .github 21:08:38 -rw-rw-r-- 1 jenkins jenkins 946 Aug 11 21:06 .gitignore 21:08:38 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 21:06 .golangci.yml 21:08:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 21:06 .semver 21:08:38 -rw-rw-r-- 1 jenkins jenkins 10694 Aug 11 21:06 Attribution.txt 21:08:38 -rw-rw-r-- 1 jenkins jenkins 10365 Aug 11 21:06 CHANGELOG.md 21:08:38 -rw-rw-r-- 1 jenkins jenkins 1347 Aug 11 21:06 Dockerfile 21:08:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 21:06 GOVERNANCE.md 21:08:38 -rw-rw-r-- 1 jenkins jenkins 683 Aug 11 21:06 Jenkinsfile 21:08:38 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 11 21:06 LICENSE 21:08:38 -rw-rw-r-- 1 jenkins jenkins 2053 Aug 11 21:06 Makefile 21:08:38 -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 21:06 OWNERS.md 21:08:38 -rw-rw-r-- 1 jenkins jenkins 29016 Aug 11 21:06 README.md 21:08:38 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 21:06 VERSION 21:08:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:06 bin 21:08:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:06 cmd 21:08:38 -rw-r--r-- 1 jenkins jenkins 459493 Aug 11 21:08 coverage.out 21:08:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:06 examples 21:08:38 -rw-rw-r-- 1 jenkins jenkins 3341 Aug 11 21:06 go.mod 21:08:38 -rw-rw-r-- 1 jenkins jenkins 30988 Aug 11 21:06 go.sum 21:08:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:06 images 21:08:38 drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 21:06 internal 21:08:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:06 snap 21:08:38 -rw-rw-r-- 1 jenkins jenkins 193 Aug 11 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:39 + 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=0a362ada9e9f8c1617b7fa67c978fac1855b8615 --label arch=amd64 --label version=0.0.0 . 21:08:39 Sending build context to Docker daemon 4.297MB 21:08:39 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:39 Step 2/24 : FROM ${BASE} AS builder 21:08:39 ---> 534851a30c68 21:08:39 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:39 ---> Running in 0bec7065a091 21:08:39 Removing intermediate container 0bec7065a091 21:08:39 ---> 47f261adf549 21:08:39 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:39 ---> Running in c7768be74806 21:08:39 Removing intermediate container c7768be74806 21:08:39 ---> 11886d8810c4 21:08:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:39 ---> Running in 6939af727454 21:08:39 Removing intermediate container 6939af727454 21:08:39 ---> f7e2efad2f38 21:08:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:39 ---> Running in e1a8463944db 21:08:39 Removing intermediate container e1a8463944db 21:08:39 ---> 552e1b3c2aa2 21:08:39 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:39 ---> Running in df28a81ce710 21:08:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:40 OK: 265 MiB in 53 packages 21:08:41 Removing intermediate container df28a81ce710 21:08:41 ---> 78f13007d17b 21:08:41 Step 8/24 : WORKDIR /app 21:08:41 ---> Running in ee947fd8c696 21:08:41 Removing intermediate container ee947fd8c696 21:08:41 ---> c869492a2386 21:08:41 Step 9/24 : COPY go.mod vendor* ./ 21:08:41 ---> 4ba720c65edc 21:08:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:41 ---> Running in 8e71616f46f9 21:08:41 Removing intermediate container 8e71616f46f9 21:08:41 ---> 6ed6eaf08a2f 21:08:41 Step 11/24 : COPY . . 21:08:42 ---> 71cb918c1363 21:08:42 Step 12/24 : RUN $MAKE 21:08:42 ---> Running in bb40ded5fa95 21:08:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:08:42 using credential edgex-jenkins-ssh 21:08:42 Cloning the remote Git repository 21:08:42 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:42 > git init /w/workspace/device-rfid-llrp-go/11 # timeout=10 21:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:42 > git --version # timeout=10 21:08:42 > git --version # 'git version 2.25.1' 21:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:08:45 Merging remotes/origin/main commit 2324491fcd83c67259ed47f9c53b07eaebff8e42 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:08:45 Merge succeeded, producing 1cc0ffb5178aeb171365d0a3a212fef1463abffc 21:08:45 Checking out Revision 1cc0ffb5178aeb171365d0a3a212fef1463abffc (PR-229) 21:08:45 > git config core.sparsecheckout # timeout=10 21:08:45 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:08:45 > git remote # timeout=10 21:08:45 > git config --get remote.origin.url # timeout=10 21:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:45 > git merge 2324491fcd83c67259ed47f9c53b07eaebff8e42 # timeout=10 21:08:45 > git rev-parse HEAD^{commit} # timeout=10 21:08:45 > git config core.sparsecheckout # timeout=10 21:08:45 > git checkout -f 1cc0ffb5178aeb171365d0a3a212fef1463abffc # timeout=10 21:08:49 Commit message: "Merge commit '2324491fcd83c67259ed47f9c53b07eaebff8e42' into HEAD" 21:08:49 First time build. Skipping changelog. 21:08:49 > git rev-list --no-walk 41d2bc72d87234bfe7636d0f6bbf430c464fbc53 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:50 Dload Upload Total Spent Left Speed 21:08:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh 21:08:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:51 + sudo tee /etc/docker/daemon.new 21:08:51 { 21:08:51 "registry-mirrors": [ 21:08:51 "https://nexus3.edgexfoundry.org:10001" 21:08:51 ], 21:08:51 "bip": "10.250.0.254/24", 21:08:51 "hosts": [ 21:08:51 "tcp://0.0.0.0:5555", 21:08:51 "unix:///var/run/docker.sock" 21:08:51 ], 21:08:51 "mtu": 1458, 21:08:51 "selinux-enabled": true, 21:08:51 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:51 } [Pipeline] sh 21:08:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:51 + sudo service docker restart 21:09:04 Removing intermediate container bb40ded5fa95 21:09:04 ---> 29d6ceefa52a 21:09:04 Step 13/24 : FROM alpine:3.17 21:09:04 3.17: Pulling from library/alpine 21:09:04 9398808236ff: Pulling fs layer 21:09:04 9398808236ff: Download complete 21:09:04 9398808236ff: Pull complete 21:09:04 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:09:04 Status: Downloaded newer image for alpine:3.17 21:09:04 ---> 1e0b8b5322fc 21:09:04 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:04 ---> Running in 9dad00c2fcbb 21:09:04 Removing intermediate container 9dad00c2fcbb 21:09:04 ---> c9f143c4bb42 21:09:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:04 ---> Running in 6270b14c2af5 21:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:04 (1/1) Installing dumb-init (1.2.5-r2) 21:09:04 Executing busybox-1.35.0-r29.trigger 21:09:04 OK: 7 MiB in 16 packages 21:09:04 Removing intermediate container 6270b14c2af5 21:09:04 ---> c64eb4013e0d 21:09:04 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:04 ---> 435547db76cf 21:09:04 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:05 ---> 92cfe49ded90 21:09:05 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:05 ---> b58a6d4c2b21 21:09:05 Step 19/24 : EXPOSE 59989 21:09:05 ---> Running in cb6339b57605 21:09:06 Removing intermediate container cb6339b57605 21:09:06 ---> 0add509f5410 21:09:06 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:06 ---> Running in 2ef52ae33f1f 21:09:06 Removing intermediate container 2ef52ae33f1f 21:09:06 ---> c7cb203efb5c 21:09:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:06 ---> Running in d3debc6e4a6f 21:09:06 Removing intermediate container d3debc6e4a6f 21:09:06 ---> 63d69e2ad85d 21:09:06 Step 22/24 : LABEL arch=amd64 21:09:06 ---> Running in 23d879e823c0 21:09:06 Removing intermediate container 23d879e823c0 21:09:06 ---> 2f589423cd2c 21:09:06 Step 23/24 : LABEL git_sha=0a362ada9e9f8c1617b7fa67c978fac1855b8615 21:09:06 ---> Running in 3245b41abf30 21:09:06 Removing intermediate container 3245b41abf30 21:09:06 ---> d7dc99029fc3 21:09:06 Step 24/24 : LABEL version=0.0.0 21:09:06 ---> Running in d218e03160d3 21:09:06 Removing intermediate container d218e03160d3 21:09:06 ---> 8550c9aee64a 21:09:06 [Warning] One or more build-args [ARCH] were not consumed 21:09:06 Successfully built 8550c9aee64a 21:09:06 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 21:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:07 21:09:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:07 latest: Pulling from edgex-lftools-log-publisher 21:09:07 5eb5b503b376: Pulling fs layer 21:09:07 5c69ac0246d0: Pulling fs layer 21:09:07 ec43610c2a17: Pulling fs layer 21:09:07 3a2ae6a8a46f: Pulling fs layer 21:09:07 33b1e0a273af: Pulling fs layer 21:09:07 5d3b04190fa2: Pulling fs layer 21:09:07 2f39f015ded8: Pulling fs layer 21:09:07 3a2ae6a8a46f: Waiting 21:09:07 33b1e0a273af: Waiting 21:09:07 5d3b04190fa2: Waiting 21:09:07 2f39f015ded8: Waiting 21:09:07 5c69ac0246d0: Download complete 21:09:07 3a2ae6a8a46f: Download complete 21:09:07 33b1e0a273af: Verifying Checksum 21:09:07 33b1e0a273af: Download complete 21:09:07 5d3b04190fa2: Verifying Checksum 21:09:07 5d3b04190fa2: Download complete 21:09:07 ec43610c2a17: Verifying Checksum 21:09:07 ec43610c2a17: Download complete 21:09:07 5eb5b503b376: Verifying Checksum 21:09:07 5eb5b503b376: Download complete 21:09:08 2f39f015ded8: Verifying Checksum 21:09:08 2f39f015ded8: Download complete 21:09:09 5eb5b503b376: Pull complete 21:09:09 5c69ac0246d0: Pull complete 21:09:09 ec43610c2a17: Pull complete 21:09:09 3a2ae6a8a46f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:10 provisioning config files... 21:09:10 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/11@tmp/config4130010551673149371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:10 33b1e0a273af: Pull complete 21:09:10 5d3b04190fa2: Pull complete 21:09:10 ---> docker-login.sh 21:09:10 nexus3.edgexfoundry.org:10001 21:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:11 Configure a credential helper to remove this warning. See 21:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:11 21:09:11 Login Succeeded 21:09:11 nexus3.edgexfoundry.org:10002 21:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:11 Configure a credential helper to remove this warning. See 21:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:11 21:09:11 Login Succeeded 21:09:11 nexus3.edgexfoundry.org:10003 21:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:11 Configure a credential helper to remove this warning. See 21:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:11 21:09:11 Login Succeeded 21:09:11 nexus3.edgexfoundry.org:10004 21:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:12 Configure a credential helper to remove this warning. See 21:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:12 21:09:12 Login Succeeded 21:09:12 docker.io 21:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:12 Configure a credential helper to remove this warning. See 21:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:12 21:09:12 Login Succeeded 21:09:12 ---> docker-login.sh ends [Pipeline] } 21:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:12 ========================================================= 21:09:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:09:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:09:13 Sending build context to Docker daemon 1.216MB 21:09:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:09:13 Step 2/12 : FROM ${BASE} AS builder 21:09:14 2f39f015ded8: Pull complete 21:09:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:14 prd-ubuntu20.04-docker-8c-8g-3364 does not seem to be running inside a container 21:09:14 $ 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-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:15 edb6bdbacee9: Pulling fs layer 21:09:15 5f9638ab2659: Pulling fs layer 21:09:15 8d51d6327a98: Pulling fs layer 21:09:15 8b374f2dd631: Pulling fs layer 21:09:15 ec14aa9079de: Pulling fs layer 21:09:15 2f466654f4bb: Pulling fs layer 21:09:15 554e91adad29: Pulling fs layer 21:09:15 8b374f2dd631: Waiting 21:09:15 ec14aa9079de: Waiting 21:09:15 2f466654f4bb: Waiting 21:09:15 554e91adad29: Waiting 21:09:15 5f9638ab2659: Verifying Checksum 21:09:15 5f9638ab2659: Download complete 21:09:15 8b374f2dd631: Verifying Checksum 21:09:15 8b374f2dd631: Download complete 21:09:15 ec14aa9079de: Verifying Checksum 21:09:15 ec14aa9079de: Download complete 21:09:15 edb6bdbacee9: Download complete 21:09:16 edb6bdbacee9: Pull complete 21:09:17 554e91adad29: Verifying Checksum 21:09:17 554e91adad29: Download complete 21:09:17 5f9638ab2659: Pull complete 21:09:18 8d51d6327a98: Verifying Checksum 21:09:18 8d51d6327a98: Download complete 21:09:18 2f466654f4bb: Verifying Checksum 21:09:18 2f466654f4bb: Download complete 21:09:19 $ docker top ac65423a42ad6a3e42050daa16fcb0f5ed1ba955abf2759ca788fccf938ae8c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:19 ---> job-cost.sh 21:09:19 lf-activate-venv: SKIPPING 21:09:19 INFO: No Stack... 21:09:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:20 INFO: Archiving Costs [Pipeline] sh 21:09:20 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:09:20 + cut -d, -f6 [Pipeline] lock 21:09:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] 21:09:20 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] did not exist. Created. 21:09:20 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:20 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:20 Stashed 1 file(s) [Pipeline] } 21:09:20 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:20 $ docker stop --time=1 ac65423a42ad6a3e42050daa16fcb0f5ed1ba955abf2759ca788fccf938ae8c1 21:09:21 $ docker rm -f --volumes ac65423a42ad6a3e42050daa16fcb0f5ed1ba955abf2759ca788fccf938ae8c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:30 8d51d6327a98: Pull complete 21:09:30 8b374f2dd631: Pull complete 21:09:30 ec14aa9079de: Pull complete 21:09:37 2f466654f4bb: Pull complete 21:09:39 554e91adad29: Pull complete 21:09:39 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:09:39 ---> 1e15ea492957 21:09:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:41 ---> Running in cddf412a9440 21:09:41 Removing intermediate container cddf412a9440 21:09:41 ---> 3f436265b84e 21:09:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:41 ---> Running in c2d2165faa0a 21:09:41 Removing intermediate container c2d2165faa0a 21:09:41 ---> 78d71fdc65d9 21:09:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:41 ---> Running in 20402b3a38b8 21:09:42 Removing intermediate container 20402b3a38b8 21:09:42 ---> f7fafa304d6e 21:09:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:42 ---> Running in 82c033ca82f5 21:09:42 Removing intermediate container 82c033ca82f5 21:09:42 ---> 5586a176366c 21:09:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:42 ---> Running in 7eeee3054b5e 21:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:44 OK: 263 MiB in 53 packages 21:09:45 Removing intermediate container 7eeee3054b5e 21:09:45 ---> 2b95e43b2232 21:09:45 Step 8/12 : WORKDIR /app 21:09:45 ---> Running in d70521a8a6f9 21:09:46 Removing intermediate container d70521a8a6f9 21:09:46 ---> f4632776fdce 21:09:46 Step 9/12 : COPY go.mod vendor* ./ 21:09:46 ---> cf7553280037 21:09:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:46 ---> Running in 306dc6571c2b 21:10:43 Removing intermediate container 306dc6571c2b 21:10:43 ---> ed6bf8315459 21:10:43 Step 11/12 : COPY . . 21:10:44 ---> ef4191882110 21:10:44 Step 12/12 : RUN $MAKE 21:10:44 ---> Running in 0a164a976c8a 21:10:45 noop 21:10:45 Removing intermediate container 0a164a976c8a 21:10:45 ---> fb4dcaf6baca 21:10:45 Successfully built fb4dcaf6baca 21:10:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:45 + docker inspect -f . ci-base-image-arm64 21:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:46 prd-ubuntu20.04-docker-arm64-4c-16g-3365 does not seem to be running inside a container 21:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/11 -v /w/workspace/device-rfid-llrp-go/11:/w/workspace/device-rfid-llrp-go/11:rw,z -v /w/workspace/device-rfid-llrp-go/11@tmp:/w/workspace/device-rfid-llrp-go/11@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:10:47 $ docker top 3f48543c7681c38dd4adc448e1ce437c596267a08e0723bbb0eba7bb31436996 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:48 + go version 21:10:48 go version go1.20.6 linux/arm64 [Pipeline] } 21:10:48 $ docker stop --time=1 3f48543c7681c38dd4adc448e1ce437c596267a08e0723bbb0eba7bb31436996 21:10:49 $ docker rm -f --volumes 3f48543c7681c38dd4adc448e1ce437c596267a08e0723bbb0eba7bb31436996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:50 + docker inspect -f . ci-base-image-arm64 21:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:50 prd-ubuntu20.04-docker-arm64-4c-16g-3365 does not seem to be running inside a container 21:10:50 $ 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/11 -v /w/workspace/device-rfid-llrp-go/11:/w/workspace/device-rfid-llrp-go/11:rw,z -v /w/workspace/device-rfid-llrp-go/11@tmp:/w/workspace/device-rfid-llrp-go/11@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:10:51 $ docker top eaf9cdc30ddeca98f17865e04c8f24ddced69f145bbcb89a451308418ab0544d -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:52 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/11 [Pipeline] fileExists [Pipeline] sh 21:10:52 + make test 21:10:52 go test ./... -coverprofile=coverage.out ./... 21:11:25 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:13:16 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:13:16 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:13:43 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.137s coverage: 40.6% of statements 21:13:43 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.543s coverage: 51.9% of statements 21:13:43 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 95.5% of statements 21:13:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:13:43 go vet ./... 21:14:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:18 ./bin/test-attribution-txt.sh 21:14:18 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:14:18 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:18 $ docker stop --time=1 eaf9cdc30ddeca98f17865e04c8f24ddced69f145bbcb89a451308418ab0544d 21:14:21 $ docker rm -f --volumes eaf9cdc30ddeca98f17865e04c8f24ddced69f145bbcb89a451308418ab0544d [Pipeline] // withDockerContainer [Pipeline] sh 21:14:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:23 Warning: overwriting stash ‘coverage-report’ 21:14:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:24 + ls -al . 21:14:24 total 636 21:14:24 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 21:10 . 21:14:24 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:08 .. 21:14:24 -rw-rw-r-- 1 jenkins jenkins 134 Aug 11 21:08 .dockerignore 21:14:24 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 21:08 .git 21:14:24 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 21:08 .github 21:14:24 -rw-rw-r-- 1 jenkins jenkins 946 Aug 11 21:08 .gitignore 21:14:24 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 21:08 .golangci.yml 21:14:24 -rw-rw-r-- 1 jenkins jenkins 10694 Aug 11 21:08 Attribution.txt 21:14:24 -rw-rw-r-- 1 jenkins jenkins 10365 Aug 11 21:08 CHANGELOG.md 21:14:24 -rw-rw-r-- 1 jenkins jenkins 1347 Aug 11 21:08 Dockerfile 21:14:24 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 21:08 GOVERNANCE.md 21:14:24 -rw-rw-r-- 1 jenkins jenkins 683 Aug 11 21:08 Jenkinsfile 21:14:24 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 11 21:08 LICENSE 21:14:24 -rw-rw-r-- 1 jenkins jenkins 2053 Aug 11 21:08 Makefile 21:14:24 -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 21:08 OWNERS.md 21:14:24 -rw-rw-r-- 1 jenkins jenkins 29016 Aug 11 21:08 README.md 21:14:24 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 21:06 VERSION 21:14:24 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:08 bin 21:14:24 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:08 cmd 21:14:24 -rw-r--r-- 1 jenkins jenkins 459493 Aug 11 21:13 coverage.out 21:14:24 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:08 examples 21:14:24 -rw-rw-r-- 1 jenkins jenkins 3341 Aug 11 21:08 go.mod 21:14:24 -rw-rw-r-- 1 jenkins jenkins 30988 Aug 11 21:08 go.sum 21:14:24 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 21:08 images 21:14:24 drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 21:08 internal 21:14:24 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 21:08 snap 21:14:24 -rw-rw-r-- 1 jenkins jenkins 193 Aug 11 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:24 + 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=1cc0ffb5178aeb171365d0a3a212fef1463abffc --label arch=arm64 --label version=0.0.0 . 21:14:25 Sending build context to Docker daemon 1.216MB 21:14:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:14:25 Step 2/24 : FROM ${BASE} AS builder 21:14:25 ---> fb4dcaf6baca 21:14:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:14:25 ---> Running in 28380de37331 21:14:25 Removing intermediate container 28380de37331 21:14:25 ---> 6b502b7fea8b 21:14:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:25 ---> Running in 246ca435529f 21:14:25 Removing intermediate container 246ca435529f 21:14:25 ---> c34a01c72f0f 21:14:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:14:25 ---> Running in b1ef68cf0c3e 21:14:26 Removing intermediate container b1ef68cf0c3e 21:14:26 ---> 727fe4e0d781 21:14:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:14:26 ---> Running in 6e1fa51d290a 21:14:26 Removing intermediate container 6e1fa51d290a 21:14:26 ---> baa922e59088 21:14:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:26 ---> Running in 45c2e430815c 21:14:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:29 OK: 263 MiB in 53 packages 21:14:29 Removing intermediate container 45c2e430815c 21:14:29 ---> 03e2aa9a80ae 21:14:29 Step 8/24 : WORKDIR /app 21:14:29 ---> Running in dff1b2ca0cc0 21:14:30 Removing intermediate container dff1b2ca0cc0 21:14:30 ---> dc211d9498e1 21:14:30 Step 9/24 : COPY go.mod vendor* ./ 21:14:30 ---> d2a9042a78f9 21:14:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:30 ---> Running in 65aa2ea9afba 21:14:32 Removing intermediate container 65aa2ea9afba 21:14:32 ---> cc96b50f5ded 21:14:32 Step 11/24 : COPY . . 21:14:33 ---> 0c97d5a6d556 21:14:33 Step 12/24 : RUN $MAKE 21:14:33 ---> Running in 9f1f10acb853 21:14:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:16:41 Removing intermediate container 9f1f10acb853 21:16:41 ---> 8b699f9e3385 21:16:41 Step 13/24 : FROM alpine:3.17 21:16:41 3.17: Pulling from library/alpine 21:16:41 4060ece20d7a: Pulling fs layer 21:16:41 4060ece20d7a: Verifying Checksum 21:16:41 4060ece20d7a: Download complete 21:16:41 4060ece20d7a: Pull complete 21:16:41 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:16:41 Status: Downloaded newer image for alpine:3.17 21:16:41 ---> 8650cd65339b 21:16:41 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:16:41 ---> Running in eac3bf8f5249 21:16:41 Removing intermediate container eac3bf8f5249 21:16:41 ---> 3a6c4410eabc 21:16:41 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:16:41 ---> Running in ac05bb5a3227 21:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:41 (1/1) Installing dumb-init (1.2.5-r2) 21:16:41 Executing busybox-1.35.0-r29.trigger 21:16:41 OK: 8 MiB in 16 packages 21:16:41 Removing intermediate container ac05bb5a3227 21:16:41 ---> 86b57bb9d35a 21:16:41 Step 16/24 : COPY --from=builder /app/LICENSE / 21:16:41 ---> cc7afa964ca3 21:16:41 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:16:41 ---> c315dfc40ae1 21:16:41 Step 18/24 : COPY --from=builder /app/cmd/ / 21:16:43 ---> fb4cdbbc87ff 21:16:43 Step 19/24 : EXPOSE 59989 21:16:43 ---> Running in bbb936c648b7 21:16:43 Removing intermediate container bbb936c648b7 21:16:43 ---> 30650ac39e4a 21:16:43 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:16:43 ---> Running in ffce6cb12da0 21:16:43 Removing intermediate container ffce6cb12da0 21:16:43 ---> befefc02cf4b 21:16:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:16:43 ---> Running in 9c543cb59db7 21:16:44 Removing intermediate container 9c543cb59db7 21:16:44 ---> fc4fe1f4ee5f 21:16:44 Step 22/24 : LABEL arch=arm64 21:16:44 ---> Running in e8d58c7fddc2 21:16:44 Removing intermediate container e8d58c7fddc2 21:16:44 ---> 3e8a3890647c 21:16:44 Step 23/24 : LABEL git_sha=1cc0ffb5178aeb171365d0a3a212fef1463abffc 21:16:44 ---> Running in a5cf4f8c1d0e 21:16:44 Removing intermediate container a5cf4f8c1d0e 21:16:44 ---> 72e66f5f4d2b 21:16:44 Step 24/24 : LABEL version=0.0.0 21:16:44 ---> Running in fbcf457189a2 21:16:45 Removing intermediate container fbcf457189a2 21:16:45 ---> 86a9823db80f 21:16:45 [Warning] One or more build-args [ARCH] were not consumed 21:16:45 Successfully built 86a9823db80f 21:16:45 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:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:45 21:16:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:46 arm64: Pulling from edgex-lftools-log-publisher 21:16:46 8998bd30e6a1: Pulling fs layer 21:16:46 04944245beec: Pulling fs layer 21:16:46 699f458cf7ca: Pulling fs layer 21:16:46 765212b225bb: Pulling fs layer 21:16:46 f23df028b6ca: Pulling fs layer 21:16:46 d65c8cfc05b1: Pulling fs layer 21:16:46 2437ff75d9bd: Pulling fs layer 21:16:46 f23df028b6ca: Waiting 21:16:46 d65c8cfc05b1: Waiting 21:16:46 2437ff75d9bd: Waiting 21:16:46 765212b225bb: Waiting 21:16:46 04944245beec: Verifying Checksum 21:16:46 04944245beec: Download complete 21:16:46 765212b225bb: Verifying Checksum 21:16:46 765212b225bb: Download complete 21:16:46 f23df028b6ca: Download complete 21:16:46 d65c8cfc05b1: Verifying Checksum 21:16:46 d65c8cfc05b1: Download complete 21:16:46 699f458cf7ca: Verifying Checksum 21:16:46 699f458cf7ca: Download complete 21:16:46 8998bd30e6a1: Download complete 21:16:48 2437ff75d9bd: Verifying Checksum 21:16:48 2437ff75d9bd: Download complete 21:16:50 8998bd30e6a1: Pull complete 21:16:51 04944245beec: Pull complete 21:16:52 699f458cf7ca: Pull complete 21:16:52 765212b225bb: Pull complete 21:16:53 f23df028b6ca: Pull complete 21:16:53 d65c8cfc05b1: Pull complete 21:17:08 2437ff75d9bd: Pull complete 21:17:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:08 prd-ubuntu20.04-docker-arm64-4c-16g-3365 does not seem to be running inside a container 21:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/11 -v /w/workspace/device-rfid-llrp-go/11:/w/workspace/device-rfid-llrp-go/11:rw,z -v /w/workspace/device-rfid-llrp-go/11@tmp:/w/workspace/device-rfid-llrp-go/11@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:11 $ docker top e091bd49120890a07ce3f4601d1863935917dbc90afb3049c1a734d2e5fd803a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:11 ---> job-cost.sh 21:17:11 lf-activate-venv: SKIPPING 21:17:11 INFO: No Stack... 21:17:12 INFO: Retrieving Pricing Info for: v3-standard-4 21:17:13 INFO: Archiving Costs [Pipeline] sh 21:17:13 + cat /w/workspace/device-rfid-llrp-go/11/archives/cost.csv 21:17:13 + cut -d, -f6 [Pipeline] lock 21:17:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] 21:17:13 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] did not exist. Created. 21:17:13 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:14 /w/workspace/device-rfid-llrp-go/11@tmp/durable-021953cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:17:14 + echo total: 0.10999999940395355 [Pipeline] stash 21:17:14 Warning: overwriting stash ‘stack-cost’ 21:17:14 Stashed 1 file(s) [Pipeline] } 21:17:14 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-11-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:14 $ docker stop --time=1 e091bd49120890a07ce3f4601d1863935917dbc90afb3049c1a734d2e5fd803a 21:17:16 $ docker rm -f --volumes e091bd49120890a07ce3f4601d1863935917dbc90afb3049c1a734d2e5fd803a [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:16 provisioning config files... 21:17:16 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config16054651960419092577tmp [Pipeline] { [Pipeline] sh 21:17:17 + set +x 21:17:17 + bash -s -- 21:17:17 + curl -s https://codecov.io/bash 21:17:17 21:17:17 _____ _ 21:17:17 / ____| | | 21:17:17 | | ___ __| | ___ ___ _____ __ 21:17:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:17:17 | |___| (_) | (_| | __/ (_| (_) \ V / 21:17:17 \_____\___/ \__,_|\___|\___\___/ \_/ 21:17:17 Bash-1.0.6 21:17:17 21:17:17 21:17:17 ==> git version 2.25.1 found 21:17:17 ==> 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:17 Release-Date: 2020-01-08 21:17:17 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:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:17:17 ==> Jenkins CI detected. 21:17:17 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:17:17 project root: . 21:17:17 --> token set from env 21:17:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:17:17 ==> Running gcov in . (disable via -X gcov) 21:17:17 ==> Python coveragepy not found 21:17:17 ==> Searching for coverage reports in: 21:17:17 + . 21:17:17 -> Found 1 reports 21:17:17 ==> Detecting git/mercurial file structure 21:17:17 ==> Reading reports 21:17:17 + ./coverage.out bytes=459493 21:17:17 ==> Appending adjustments 21:17:17 https://docs.codecov.io/docs/fixing-reports 21:17:17 + Found adjustments 21:17:17 ==> Gzipping contents 21:17:17 52K /tmp/codecov.RUe5oW.gz 21:17:17 ==> Uploading reports 21:17:17 url: https://codecov.io 21:17:17 query: branch=PR-229&commit=0a362ada9e9f8c1617b7fa67c978fac1855b8615&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:17:17 -> Pinging Codecov 21:17:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-229&commit=0a362ada9e9f8c1617b7fa67c978fac1855b8615&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:17:17 -> Uploading to 21:17:17 https://storage.googleapis.com/codecov/v4/raw/2023-08-11/581DD39554BDF9B6E22D074273EAD858/0a362ada9e9f8c1617b7fa67c978fac1855b8615/ddb29e00-a550-4a65-abc6-43f8674ae388.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230811T211717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd63e895f4d9b5f3b1c78d3d57ebd682f9a5e0c2d460b06c52fc01b026a91266 21:17:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:17 Dload Upload Total Spent Left Speed 21:17:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50512 0 0 100 50512 0 219k --:--:-- --:--:-- --:--:-- 219k 21:17:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/0a362ada9e9f8c1617b7fa67c978fac1855b8615 [Pipeline] } 21:17:18 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:18 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:17:18 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:18 total 16 21:17:18 drwxr-xr-x 3 root root 4096 Aug 11 21:09 . 21:17:18 drwxrwxr-x 12 jenkins jenkins 4096 Aug 11 21:09 .. 21:17:18 drwxr-xr-x 2 root root 4096 Aug 11 21:09 cost 21:17:18 -rw-r--r-- 1 root root 92 Aug 11 21:09 cost.csv 21:17:18 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:18 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:18 total 16 21:17:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 21:09 . 21:17:18 drwxrwxr-x 12 jenkins jenkins 4096 Aug 11 21:09 .. 21:17:18 drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 21:09 cost 21:17:18 -rw-r--r-- 1 jenkins jenkins 92 Aug 11 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:19 ---> 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:20 + OS_FAMILY=debian 21:17:20 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:17:20 + START_PACKAGES=/tmp/packages_start.txt 21:17:20 + END_PACKAGES=/tmp/packages_end.txt 21:17:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:20 + PACKAGES=/tmp/packages_start.txt 21:17:20 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:17:20 + PACKAGES=/tmp/packages_end.txt 21:17:20 + case "${OS_FAMILY}" in 21:17:20 + dpkg -l 21:17:20 + grep '^ii' 21:17:20 + '[' -f /tmp/packages_start.txt ']' 21:17:20 + '[' -f /tmp/packages_end.txt ']' 21:17:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:20 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:17:20 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:17:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:17:20 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:17:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:21 prd-ubuntu20.04-docker-8c-8g-3364 does not seem to be running inside a container 21:17:21 $ 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-229/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-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:21 $ docker top 9de0d111e1b85ce3d24c3612fba8b7f8d112d5f9247a50d27dcb96be4a3a2b4b -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:21 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:22 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:22 + ls /var/log/sa-host 21:17:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:22 provisioning config files... 21:17:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config6811057524139975382tmp [Pipeline] { [Pipeline] echo 21:17:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:22 ---> create-netrc.sh [Pipeline] } 21:17:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:23 ---> python-tools-install.sh [Pipeline] echo 21:17:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:23 ---> sudo-logs.sh 21:17:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:23 ---> job-cost.sh 21:17:23 lf-activate-venv: SKIPPING 21:17:23 DEBUG: total: 0.2199999988079071 21:17:23 INFO: Retrieving Stack Cost... 21:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:24 INFO: Archiving Costs [Pipeline] echo 21:17:24 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-229/11 21:17:24 INFO: archiving workspace using pattern(s): 21:17:25 Archives upload complete. 21:17:25 INFO: archiving logs to Nexus