Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1e9c82f50c5f561b8321fcd721786082837dd82+56ebd084d71db325e16ff8b089022d3f4ad733ae (b0ac8da4980cea96aabbdbde933609d22b5e5dfa) 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-ssh11860768573297764429.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14596840716476843351.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-160/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-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9494259019094095728.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15354803432541729362.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-160/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-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7462552018654243771.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5289 in /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 56ebd084d71db325e16ff8b089022d3f4ad733ae into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 Merge succeeded, producing 9a2c659eb7866afccc32e672f44232fd72f95956 Checking out Revision 9a2c659eb7866afccc32e672f44232fd72f95956 (PR-160) > git config core.sparsecheckout # timeout=10 > git checkout -f c1e9c82f50c5f561b8321fcd721786082837dd82 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 56ebd084d71db325e16ff8b089022d3f4ad733ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a2c659eb7866afccc32e672f44232fd72f95956 # timeout=10 Commit message: "Merge commit '56ebd084d71db325e16ff8b089022d3f4ad733ae' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bfa8d7d695594234803600841a6ae8d1885aeb15 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:08:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:08:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:08:02 ========================================================= 21:08:02 EdgeX Global Pipelines Version Info 21:08:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:08:03 ------------------- 21:08:03 stable info: 21:08:03 ------------------- 21:08:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:03 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:08:03 Message: update stable to v1.0.245 21:08:04 ------------------- 21:08:04 experimental info: 21:08:04 ------------------- 21:08:04 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:04 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:08:04 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a2c659eb7866afccc32e672f44232fd72f95956 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a2c659 [Pipeline] echo 21:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:04 provisioning config files... 21:08:04 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config16674626525450735922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:05 ---> docker-login.sh 21:08:05 nexus3.edgexfoundry.org:10001 21:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:05 Configure a credential helper to remove this warning. See 21:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:05 21:08:05 Login Succeeded 21:08:05 nexus3.edgexfoundry.org:10002 21:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:05 Configure a credential helper to remove this warning. See 21:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:05 21:08:05 Login Succeeded 21:08:05 nexus3.edgexfoundry.org:10003 21:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:05 Configure a credential helper to remove this warning. See 21:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:05 21:08:05 Login Succeeded 21:08:05 nexus3.edgexfoundry.org:10004 21:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:05 Configure a credential helper to remove this warning. See 21:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:05 21:08:05 Login Succeeded 21:08:05 docker.io 21:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:06 Configure a credential helper to remove this warning. See 21:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:06 21:08:06 Login Succeeded 21:08:06 ---> docker-login.sh ends [Pipeline] } 21:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:06 + git rev-list -1 --merges 9a2c659eb7866afccc32e672f44232fd72f95956~1..9a2c659eb7866afccc32e672f44232fd72f95956 [Pipeline] echo 21:08:06 -----------> git rev-list -1 --merges 9a2c659eb7866afccc32e672f44232fd72f95956~1..9a2c659eb7866afccc32e672f44232fd72f95956 9a2c659eb7866afccc32e672f44232fd72f95956 21:08:06 9a2c659eb7866afccc32e672f44232fd72f95956 [false] [Pipeline] sh 21:08:06 + git log --format=format:%s -1 9a2c659eb7866afccc32e672f44232fd72f95956 [Pipeline] echo 21:08:06 ========================================================= 21:08:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:07 + git log --format=format:%s -1 9a2c659eb7866afccc32e672f44232fd72f95956 [Pipeline] echo 21:08:07 [semverPrep] GIT_COMMIT: 9a2c659eb7866afccc32e672f44232fd72f95956, Commit Message: Merge commit '56ebd084d71db325e16ff8b089022d3f4ad733ae' into HEAD [Pipeline] echo 21:08:07 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:07 + grep -v github /etc/ssh/ssh_known_hosts 21:08:07 + [ -e /tmp/ssh_known_hosts ] 21:08:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:07 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:07 21:08:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:08 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:08 b85a868b505f: Pulling fs layer 21:08:08 e2be974225ed: Pulling fs layer 21:08:08 339a4e72a1f5: Pulling fs layer 21:08:08 988bab9f4d93: Pulling fs layer 21:08:08 1469e6f7b9e6: Pulling fs layer 21:08:08 eaf3925da568: Pulling fs layer 21:08:08 bab4dde63d76: Pulling fs layer 21:08:08 bde34c3a00c8: Pulling fs layer 21:08:08 b352a97aabf1: Pulling fs layer 21:08:08 4872d77fe225: Pulling fs layer 21:08:08 5851b861e8e6: Pulling fs layer 21:08:08 1469e6f7b9e6: Waiting 21:08:08 eaf3925da568: Waiting 21:08:08 bab4dde63d76: Waiting 21:08:08 bde34c3a00c8: Waiting 21:08:08 b352a97aabf1: Waiting 21:08:08 4872d77fe225: Waiting 21:08:08 5851b861e8e6: Waiting 21:08:08 988bab9f4d93: Waiting 21:08:08 e2be974225ed: Download complete 21:08:08 988bab9f4d93: Verifying Checksum 21:08:08 988bab9f4d93: Download complete 21:08:08 1469e6f7b9e6: Verifying Checksum 21:08:08 1469e6f7b9e6: Download complete 21:08:08 339a4e72a1f5: Verifying Checksum 21:08:08 339a4e72a1f5: Download complete 21:08:08 eaf3925da568: Verifying Checksum 21:08:08 eaf3925da568: Download complete 21:08:08 bde34c3a00c8: Verifying Checksum 21:08:08 bde34c3a00c8: Download complete 21:08:08 b352a97aabf1: Download complete 21:08:08 4872d77fe225: Download complete 21:08:08 5851b861e8e6: Verifying Checksum 21:08:08 5851b861e8e6: Download complete 21:08:08 b85a868b505f: Verifying Checksum 21:08:08 b85a868b505f: Download complete 21:08:08 bab4dde63d76: Verifying Checksum 21:08:08 bab4dde63d76: Download complete 21:08:10 b85a868b505f: Pull complete 21:08:10 e2be974225ed: Pull complete 21:08:10 339a4e72a1f5: Pull complete 21:08:10 988bab9f4d93: Pull complete 21:08:10 1469e6f7b9e6: Pull complete 21:08:10 eaf3925da568: Pull complete 21:08:12 bab4dde63d76: Pull complete 21:08:12 bde34c3a00c8: Pull complete 21:08:12 b352a97aabf1: Pull complete 21:08:13 4872d77fe225: Pull complete 21:08:13 5851b861e8e6: Pull complete 21:08:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:13 prd-ubuntu20.04-docker-8c-8g-5289 does not seem to be running inside a container 21:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@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:08:14 $ docker top 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 -eo pid,comm 21:08:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:14 [ssh-agent] Looking for ssh-agent implementation... 21:08:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:14 $ docker exec 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 ssh-agent 21:08:15 SSH_AUTH_SOCK=/tmp/ssh-ad7WLiMJEnzp/agent.32 21:08:15 SSH_AGENT_PID=38 21:08:15 Running ssh-add (command line suppressed) 21:08:15 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_2694681102999429795.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_2694681102999429795.key) 21:08:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:15 + git tag --points-at HEAD [Pipeline] } 21:08:15 $ docker exec --env ******** --env ******** 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 ssh-agent -k 21:08:15 unset SSH_AUTH_SOCK; 21:08:15 unset SSH_AGENT_PID; 21:08:15 echo Agent pid 38 killed; 21:08:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:15 [ssh-agent] Looking for ssh-agent implementation... 21:08:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:15 $ docker exec 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 ssh-agent 21:08:15 SSH_AUTH_SOCK=/tmp/ssh-2fgfUb2A6bvW/agent.70 21:08:15 SSH_AGENT_PID=76 21:08:15 Running ssh-add (command line suppressed) 21:08:16 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_964260719570915921.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_964260719570915921.key) 21:08:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:16 + git semver init 21:08:16 2023-03-22 21:08:16,519 [run_init] DEBUG init version:0.0.0 force:False 21:08:16 2023-03-22 21:08:16,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver 21:08:16 2023-03-22 21:08:16,520 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-160/.semver 21:08:16 2023-03-22 21:08:16,520 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160, universal_newlines=False, shell=None, istream=None) 21:08:17 2023-03-22 21:08:17,298 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.git/info/exclude 21:08:17 2023-03-22 21:08:17,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 with force:False 21:08:17 2023-03-22 21:08:17,299 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:08:17 2023-03-22 21:08:17,303 [execute] INFO git cat-file --batch-check 21:08:17 2023-03-22 21:08:17,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver, universal_newlines=False, shell=None, istream=) 21:08:17 2023-03-22 21:08:17,310 [execute] INFO git cat-file --batch 21:08:17 2023-03-22 21:08:17,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver, universal_newlines=False, shell=None, istream=) 21:08:17 2023-03-22 21:08:17,316 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:08:17 0.0.0 [Pipeline] } 21:08:17 $ docker exec --env ******** --env ******** 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 ssh-agent -k 21:08:17 unset SSH_AUTH_SOCK; 21:08:17 unset SSH_AGENT_PID; 21:08:17 echo Agent pid 76 killed; 21:08:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:17 + git semver [Pipeline] } 21:08:18 $ docker stop --time=1 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 21:08:19 $ docker rm -f --volumes 0c4eeebd06ddb3cac29c0b041ea67154b0fb57c98bd90c208712297afcd0fd88 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:20 Stashed 1 file(s) [Pipeline] echo 21:08:20 [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:08:20 provisioning config files... 21:08:20 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config249387861970029666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:20 ---> docker-login.sh 21:08:20 nexus3.edgexfoundry.org:10001 21:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:20 Configure a credential helper to remove this warning. See 21:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:20 21:08:20 Login Succeeded 21:08:20 nexus3.edgexfoundry.org:10002 21:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:20 Configure a credential helper to remove this warning. See 21:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:20 21:08:20 Login Succeeded 21:08:20 nexus3.edgexfoundry.org:10003 21:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:20 Configure a credential helper to remove this warning. See 21:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:20 21:08:20 Login Succeeded 21:08:20 nexus3.edgexfoundry.org:10004 21:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:20 Configure a credential helper to remove this warning. See 21:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:20 21:08:20 Login Succeeded 21:08:20 docker.io 21:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:21 Configure a credential helper to remove this warning. See 21:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:21 21:08:21 Login Succeeded 21:08:21 ---> docker-login.sh ends [Pipeline] } 21:08:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:21 ========================================================= 21:08:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:21 + 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:08:21 Sending build context to Docker daemon 4.192MB 21:08:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:08:21 Step 2/12 : FROM ${BASE} AS builder 21:08:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:21 63b65145d645: Pulling fs layer 21:08:21 a2d21d5440eb: Pulling fs layer 21:08:21 935e6c44a52c: Pulling fs layer 21:08:21 94cc34f8dd06: Pulling fs layer 21:08:21 30dea6a524f1: Pulling fs layer 21:08:21 a2aff8979fd8: Pulling fs layer 21:08:21 6808be2612f2: Pulling fs layer 21:08:21 f25807f1079a: Pulling fs layer 21:08:21 a2aff8979fd8: Waiting 21:08:21 94cc34f8dd06: Waiting 21:08:21 6808be2612f2: Waiting 21:08:21 a2d21d5440eb: Download complete 21:08:21 94cc34f8dd06: Verifying Checksum 21:08:21 94cc34f8dd06: Download complete 21:08:21 30dea6a524f1: Verifying Checksum 21:08:21 30dea6a524f1: Download complete 21:08:21 63b65145d645: Verifying Checksum 21:08:21 63b65145d645: Download complete 21:08:21 a2aff8979fd8: Verifying Checksum 21:08:21 a2aff8979fd8: Download complete 21:08:21 63b65145d645: Pull complete 21:08:22 a2d21d5440eb: Pull complete 21:08:22 f25807f1079a: Verifying Checksum 21:08:22 f25807f1079a: Download complete 21:08:22 935e6c44a52c: Verifying Checksum 21:08:22 935e6c44a52c: Download complete 21:08:22 6808be2612f2: Verifying Checksum 21:08:22 6808be2612f2: Download complete 21:08:25 935e6c44a52c: Pull complete 21:08:25 94cc34f8dd06: Pull complete 21:08:25 30dea6a524f1: Pull complete 21:08:25 a2aff8979fd8: Pull complete 21:08:28 6808be2612f2: Pull complete 21:08:28 f25807f1079a: Pull complete 21:08:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:08:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:28 ---> 3b553350e43f 21:08:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:30 ---> Running in 720c5e017a22 21:08:30 Removing intermediate container 720c5e017a22 21:08:30 ---> 4c9a2c472cad 21:08:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:30 ---> Running in 604e311fd3b3 21:08:31 Removing intermediate container 604e311fd3b3 21:08:31 ---> d4c6ea1c7cce 21:08:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:31 ---> Running in d4fcf45d58b8 21:08:31 Removing intermediate container d4fcf45d58b8 21:08:31 ---> e47c710f8962 21:08:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:31 ---> Running in 1a2c7e22c9c9 21:08:31 Removing intermediate container 1a2c7e22c9c9 21:08:31 ---> d618feee73b0 21:08:31 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:31 ---> Running in 9767e9796d2e 21:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:32 OK: 265 MiB in 53 packages 21:08:32 Removing intermediate container 9767e9796d2e 21:08:32 ---> 451f1a20ae62 21:08:32 Step 8/12 : WORKDIR /app 21:08:32 ---> Running in 7d9b72b81b30 21:08:32 Removing intermediate container 7d9b72b81b30 21:08:32 ---> 7bea6f17053d 21:08:32 Step 9/12 : COPY go.mod vendor* ./ 21:08:32 ---> 0f9bb831931a 21:08:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:32 ---> Running in 48b3a0942660 21:08:35 Still waiting to schedule task 21:08:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:09:04 Removing intermediate container 48b3a0942660 21:09:04 ---> 3d1c626c55a7 21:09:04 Step 11/12 : COPY . . 21:09:04 ---> 8455a1142892 21:09:04 Step 12/12 : RUN $MAKE 21:09:04 ---> Running in 8a7bbd479760 21:09:04 noop 21:09:04 Removing intermediate container 8a7bbd479760 21:09:04 ---> ea4b05494cf8 21:09:04 Successfully built ea4b05494cf8 21:09:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:05 + docker inspect -f . ci-base-image-x86_64 21:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:05 prd-ubuntu20.04-docker-8c-8g-5289 does not seem to be running inside a container 21:09:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@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:09:05 $ docker top 5a33a4aee70b9e6390934f26b0435755bc79a6376e5fe5df1884278675fa8f0f -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:06 + go version 21:09:06 go version go1.20.2 linux/amd64 [Pipeline] } 21:09:06 $ docker stop --time=1 5a33a4aee70b9e6390934f26b0435755bc79a6376e5fe5df1884278675fa8f0f 21:09:07 $ docker rm -f --volumes 5a33a4aee70b9e6390934f26b0435755bc79a6376e5fe5df1884278675fa8f0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:07 + docker inspect -f . ci-base-image-x86_64 21:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:07 prd-ubuntu20.04-docker-8c-8g-5289 does not seem to be running inside a container 21:09:07 $ 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-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@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:09:08 $ docker top 0480b71c3760987171e7aac8ad1d776a0f257250f3565c5b5f0df0b770d8b850 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:08 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] fileExists [Pipeline] sh 21:09:08 + make test 21:09:08 go test ./... -coverprofile=coverage.out ./... 21:09:14 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:09:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:09:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:09:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.952s coverage: 40.7% of statements 21:09:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.248s coverage: 51.9% of statements 21:09:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 95.5% of statements 21:09:36 go vet ./... 21:09:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:39 ./bin/test-attribution-txt.sh 21:09:39 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:09:39 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:09:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:39 $ docker stop --time=1 0480b71c3760987171e7aac8ad1d776a0f257250f3565c5b5f0df0b770d8b850 21:09:41 $ docker rm -f --volumes 0480b71c3760987171e7aac8ad1d776a0f257250f3565c5b5f0df0b770d8b850 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:42 + ls -al . 21:09:42 total 632 21:09:42 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 21:09 . 21:09:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:07 .. 21:09:42 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 21:07 .dockerignore 21:09:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 21:08 .git 21:09:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:07 .github 21:09:42 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 21:07 .gitignore 21:09:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 21:07 .golangci.yml 21:09:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 21:08 .semver 21:09:42 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 21:07 Attribution.txt 21:09:42 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 21:07 CHANGELOG.md 21:09:42 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 21:07 Dockerfile 21:09:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 21:07 GOVERNANCE.md 21:09:42 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 21:07 Jenkinsfile 21:09:42 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 21:07 LICENSE 21:09:42 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 21:07 Makefile 21:09:42 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 21:07 OWNERS.md 21:09:42 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 21:07 README.md 21:09:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 21:08 VERSION 21:09:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:07 bin 21:09:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:07 cmd 21:09:42 -rw-r--r-- 1 jenkins jenkins 457862 Mar 22 21:09 coverage.out 21:09:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:07 examples 21:09:42 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 22 21:07 go.mod 21:09:42 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 22 21:07 go.sum 21:09:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:07 images 21:09:42 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 21:07 internal 21:09:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:07 snap 21:09:42 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:43 + 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=9a2c659eb7866afccc32e672f44232fd72f95956 --label arch=amd64 --label version=0.0.0 . 21:09:43 Sending build context to Docker daemon 4.192MB 21:09:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:09:43 Step 2/24 : FROM ${BASE} AS builder 21:09:43 ---> ea4b05494cf8 21:09:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:09:43 ---> Running in 58e0b809a113 21:09:43 Removing intermediate container 58e0b809a113 21:09:43 ---> 2ad3d0b100f2 21:09:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:43 ---> Running in 6b9a36a485ef 21:09:43 Removing intermediate container 6b9a36a485ef 21:09:43 ---> a156bd8353fb 21:09:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:09:43 ---> Running in 7292b31ce612 21:09:43 Removing intermediate container 7292b31ce612 21:09:43 ---> ed31d872c5cf 21:09:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:09:43 ---> Running in 0672fe1c4d2f 21:09:43 Removing intermediate container 0672fe1c4d2f 21:09:43 ---> 7c3c913eceef 21:09:43 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:43 ---> Running in a4b31c7452a2 21:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:44 OK: 265 MiB in 53 packages 21:09:44 Removing intermediate container a4b31c7452a2 21:09:44 ---> e5fe89314a5a 21:09:44 Step 8/24 : WORKDIR /app 21:09:44 ---> Running in bd8e479e5941 21:09:44 Removing intermediate container bd8e479e5941 21:09:44 ---> 2bc08559ace4 21:09:44 Step 9/24 : COPY go.mod vendor* ./ 21:09:44 ---> 29ed38c5d8b5 21:09:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:44 ---> Running in a0f71a879b6c 21:09:45 Removing intermediate container a0f71a879b6c 21:09:45 ---> 0ae8e73cae2d 21:09:45 Step 11/24 : COPY . . 21:09:45 ---> 98a0dec01d82 21:09:45 Step 12/24 : RUN $MAKE 21:09:45 ---> Running in 8d36c92352b4 21:09:46 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:10:04 Removing intermediate container 8d36c92352b4 21:10:04 ---> 4e9f368db57f 21:10:04 Step 13/24 : FROM alpine:3.17 21:10:04 3.17: Pulling from library/alpine 21:10:04 63b65145d645: Already exists 21:10:04 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:10:04 Status: Downloaded newer image for alpine:3.17 21:10:04 ---> b2aa39c304c2 21:10:04 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:04 ---> Running in 10923c3833e9 21:10:04 Removing intermediate container 10923c3833e9 21:10:04 ---> df66b4e9f702 21:10:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:10:04 ---> Running in b535faeb5feb 21:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:05 (1/1) Installing dumb-init (1.2.5-r2) 21:10:05 Executing busybox-1.35.0-r29.trigger 21:10:05 OK: 7 MiB in 16 packages 21:10:06 Removing intermediate container b535faeb5feb 21:10:06 ---> f0d156914b14 21:10:06 Step 16/24 : COPY --from=builder /app/LICENSE / 21:10:06 ---> 9cbce5fa71ce 21:10:06 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:10:06 ---> d83082a513ba 21:10:06 Step 18/24 : COPY --from=builder /app/cmd/ / 21:10:06 ---> c3558bdb8e12 21:10:06 Step 19/24 : EXPOSE 59989 21:10:06 ---> Running in f1e914474020 21:10:06 Removing intermediate container f1e914474020 21:10:06 ---> f01598b9b135 21:10:06 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:10:06 ---> Running in 6bb3617a8707 21:10:07 Removing intermediate container 6bb3617a8707 21:10:07 ---> 39e71a0b2410 21:10:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:07 ---> Running in 2a1c55fec1ab 21:10:07 Removing intermediate container 2a1c55fec1ab 21:10:07 ---> a4237f90c7bf 21:10:07 Step 22/24 : LABEL arch=amd64 21:10:07 ---> Running in 285af52fdeea 21:10:07 Removing intermediate container 285af52fdeea 21:10:07 ---> cbc5a99b55ab 21:10:07 Step 23/24 : LABEL git_sha=9a2c659eb7866afccc32e672f44232fd72f95956 21:10:07 ---> Running in 81fde68c037a 21:10:07 Removing intermediate container 81fde68c037a 21:10:07 ---> ab14f649a56c 21:10:07 Step 24/24 : LABEL version=0.0.0 21:10:07 ---> Running in c97bc6b19783 21:10:07 Removing intermediate container c97bc6b19783 21:10:07 ---> cf66be42661c 21:10:07 [Warning] One or more build-args [ARCH] were not consumed 21:10:07 Successfully built cf66be42661c 21:10:07 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:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:08 21:10:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:08 latest: Pulling from edgex-lftools-log-publisher 21:10:08 5eb5b503b376: Pulling fs layer 21:10:08 5c69ac0246d0: Pulling fs layer 21:10:08 ec43610c2a17: Pulling fs layer 21:10:08 3a2ae6a8a46f: Pulling fs layer 21:10:08 33b1e0a273af: Pulling fs layer 21:10:08 5d3b04190fa2: Pulling fs layer 21:10:08 2f39f015ded8: Pulling fs layer 21:10:08 33b1e0a273af: Waiting 21:10:08 5d3b04190fa2: Waiting 21:10:08 2f39f015ded8: Waiting 21:10:08 3a2ae6a8a46f: Waiting 21:10:08 5c69ac0246d0: Download complete 21:10:08 3a2ae6a8a46f: Download complete 21:10:08 33b1e0a273af: Verifying Checksum 21:10:08 33b1e0a273af: Download complete 21:10:08 5d3b04190fa2: Verifying Checksum 21:10:08 5d3b04190fa2: Download complete 21:10:08 ec43610c2a17: Verifying Checksum 21:10:08 ec43610c2a17: Download complete 21:10:08 5eb5b503b376: Verifying Checksum 21:10:08 5eb5b503b376: Download complete 21:10:09 2f39f015ded8: Download complete 21:10:09 5eb5b503b376: Pull complete 21:10:09 5c69ac0246d0: Pull complete 21:10:10 ec43610c2a17: Pull complete 21:10:10 3a2ae6a8a46f: Pull complete 21:10:10 33b1e0a273af: Pull complete 21:10:10 5d3b04190fa2: Pull complete 21:10:14 2f39f015ded8: Pull complete 21:10:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:14 prd-ubuntu20.04-docker-8c-8g-5289 does not seem to be running inside a container 21:10: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-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@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:10:16 $ docker top 0a48a79df77f09284ebc961e2d21a34b91849ff71ec408301fad6de3c2c206b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:17 ---> job-cost.sh 21:10:17 lf-activate-venv: SKIPPING 21:10:17 INFO: No Stack... 21:10:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:18 INFO: Archiving Costs [Pipeline] sh 21:10:18 + cat /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/cost.csv 21:10:18 + cut -d, -f6 [Pipeline] lock 21:10:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] 21:10:18 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] did not exist. Created. 21:10:18 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:18 + echo total: 0.2199999988079071 [Pipeline] stash 21:10:18 Stashed 1 file(s) [Pipeline] } 21:10:18 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:18 $ docker stop --time=1 0a48a79df77f09284ebc961e2d21a34b91849ff71ec408301fad6de3c2c206b2 21:10:19 $ docker rm -f --volumes 0a48a79df77f09284ebc961e2d21a34b91849ff71ec408301fad6de3c2c206b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5290 in /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] { [Pipeline] ws 21:10:40 Running in /w/workspace/device-rfid-llrp-go/5 [Pipeline] { [Pipeline] checkout 21:10:40 Selected Git installation does not exist. Using Default 21:10:40 The recommended git tool is: NONE 21:10:46 using credential edgex-jenkins-ssh 21:10:46 Cloning the remote Git repository 21:10:46 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:46 > git init /w/workspace/device-rfid-llrp-go/5 # timeout=10 21:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:46 > git --version # timeout=10 21:10:46 > git --version # 'git version 2.25.1' 21:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:49 Merging remotes/origin/main commit 56ebd084d71db325e16ff8b089022d3f4ad733ae into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 21:10:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:49 > git config core.sparsecheckout # timeout=10 21:10:49 > git checkout -f c1e9c82f50c5f561b8321fcd721786082837dd82 # timeout=10 21:10:49 > git remote # timeout=10 21:10:49 > git config --get remote.origin.url # timeout=10 21:10:49 Merge succeeded, producing a459220f902c858cc1931ae8714559cc61a1c1e3 21:10:49 Checking out Revision a459220f902c858cc1931ae8714559cc61a1c1e3 (PR-160) 21:10:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:49 > git merge 56ebd084d71db325e16ff8b089022d3f4ad733ae # timeout=10 21:10:49 > git rev-parse HEAD^{commit} # timeout=10 21:10:49 > git config core.sparsecheckout # timeout=10 21:10:49 > git checkout -f a459220f902c858cc1931ae8714559cc61a1c1e3 # timeout=10 21:10:53 Commit message: "Merge commit '56ebd084d71db325e16ff8b089022d3f4ad733ae' into HEAD" 21:10:53 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:53 > git rev-list --no-walk bfa8d7d695594234803600841a6ae8d1885aeb15 # timeout=10 21:10:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:54 Dload Upload Total Spent Left Speed 21:10:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 21:10:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:55 + sudo tee /etc/docker/daemon.new 21:10:55 { 21:10:55 "registry-mirrors": [ 21:10:55 "https://nexus3.edgexfoundry.org:10001" 21:10:55 ], 21:10:55 "bip": "10.250.0.254/24", 21:10:55 "hosts": [ 21:10:55 "tcp://0.0.0.0:5555", 21:10:55 "unix:///var/run/docker.sock" 21:10:55 ], 21:10:55 "mtu": 1458, 21:10:55 "selinux-enabled": true, 21:10:55 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:55 } [Pipeline] sh 21:10:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:14 provisioning config files... 21:11:14 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/5@tmp/config16525950372372044047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:14 ---> docker-login.sh 21:11:14 nexus3.edgexfoundry.org:10001 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:15 Configure a credential helper to remove this warning. See 21:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:15 21:11:15 Login Succeeded 21:11:15 nexus3.edgexfoundry.org:10002 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:15 Configure a credential helper to remove this warning. See 21:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:15 21:11:15 Login Succeeded 21:11:15 nexus3.edgexfoundry.org:10003 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:16 Configure a credential helper to remove this warning. See 21:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:16 21:11:16 Login Succeeded 21:11:16 nexus3.edgexfoundry.org:10004 21:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:16 Configure a credential helper to remove this warning. See 21:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:16 21:11:16 Login Succeeded 21:11:16 docker.io 21:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:16 Configure a credential helper to remove this warning. See 21:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:16 21:11:16 Login Succeeded 21:11:16 ---> docker-login.sh ends [Pipeline] } 21:11:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:17 ========================================================= 21:11:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:17 + 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:11:17 Sending build context to Docker daemon 1.212MB 21:11:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:11:17 Step 2/12 : FROM ${BASE} AS builder 21:11:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:18 af6eaf76a39c: Pulling fs layer 21:11:18 55522c791124: Pulling fs layer 21:11:18 ce5c4a1c91eb: Pulling fs layer 21:11:18 169dfbe0d373: Pulling fs layer 21:11:18 e1ff8fa3b103: Pulling fs layer 21:11:18 52ebb69f0ebf: Pulling fs layer 21:11:18 5abe8eddf0d5: Pulling fs layer 21:11:18 e1ff8fa3b103: Waiting 21:11:18 52ebb69f0ebf: Waiting 21:11:18 5abe8eddf0d5: Waiting 21:11:18 169dfbe0d373: Waiting 21:11:18 55522c791124: Download complete 21:11:18 169dfbe0d373: Verifying Checksum 21:11:18 169dfbe0d373: Download complete 21:11:18 e1ff8fa3b103: Verifying Checksum 21:11:18 e1ff8fa3b103: Download complete 21:11:18 af6eaf76a39c: Verifying Checksum 21:11:19 af6eaf76a39c: Pull complete 21:11:19 5abe8eddf0d5: Verifying Checksum 21:11:19 5abe8eddf0d5: Download complete 21:11:20 ce5c4a1c91eb: Verifying Checksum 21:11:20 ce5c4a1c91eb: Download complete 21:11:20 52ebb69f0ebf: Verifying Checksum 21:11:20 52ebb69f0ebf: Download complete 21:11:20 55522c791124: Pull complete 21:11:35 ce5c4a1c91eb: Pull complete 21:11:35 169dfbe0d373: Pull complete 21:11:35 e1ff8fa3b103: Pull complete 21:11:41 52ebb69f0ebf: Pull complete 21:11:43 5abe8eddf0d5: Pull complete 21:11:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:43 ---> 6cb57ee374ae 21:11:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:45 ---> Running in 8f1b89434bde 21:11:45 Removing intermediate container 8f1b89434bde 21:11:45 ---> fdf04b5cfca5 21:11:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:45 ---> Running in f6dc7b672a6e 21:11:45 Removing intermediate container f6dc7b672a6e 21:11:45 ---> faa5f767f03c 21:11:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:45 ---> Running in 17609ab3d127 21:11:46 Removing intermediate container 17609ab3d127 21:11:46 ---> 8129cf2a71f1 21:11:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:46 ---> Running in 970a876c1135 21:11:46 Removing intermediate container 970a876c1135 21:11:46 ---> 55d131172513 21:11:46 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:46 ---> Running in ddf3f356b5d2 21:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:49 OK: 263 MiB in 53 packages 21:11:49 Removing intermediate container ddf3f356b5d2 21:11:49 ---> 001b4a10544c 21:11:49 Step 8/12 : WORKDIR /app 21:11:50 ---> Running in 00dc98ea0c66 21:11:50 Removing intermediate container 00dc98ea0c66 21:11:50 ---> 7824201864ac 21:11:50 Step 9/12 : COPY go.mod vendor* ./ 21:11:50 ---> 8c646ac51f76 21:11:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:50 ---> Running in ac73aabf4381 21:13:12 Removing intermediate container ac73aabf4381 21:13:12 ---> 78f2c7b8270a 21:13:12 Step 11/12 : COPY . . 21:13:12 ---> cfbea77bf9b7 21:13:12 Step 12/12 : RUN $MAKE 21:13:12 ---> Running in 8481a9f1b7bc 21:13:12 noop 21:13:13 Removing intermediate container 8481a9f1b7bc 21:13:13 ---> 252d66982d35 21:13:13 Successfully built 252d66982d35 21:13:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:13 + docker inspect -f . ci-base-image-arm64 21:13:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:13 prd-ubuntu20.04-docker-arm64-4c-16g-5290 does not seem to be running inside a container 21:13:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@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:13:15 $ docker top 3923fa4d81b25d2c93a92e33d4e4e8fd3a8a77285cdde8dedac491a4b5828e13 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:16 + go version 21:13:16 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:16 $ docker stop --time=1 3923fa4d81b25d2c93a92e33d4e4e8fd3a8a77285cdde8dedac491a4b5828e13 21:13:17 $ docker rm -f --volumes 3923fa4d81b25d2c93a92e33d4e4e8fd3a8a77285cdde8dedac491a4b5828e13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:18 + docker inspect -f . ci-base-image-arm64 21:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:18 prd-ubuntu20.04-docker-arm64-4c-16g-5290 does not seem to be running inside a container 21:13:18 $ 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/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@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:13:19 $ docker top 7281a894a39fb76d9930b6199c951f4719d791b09a7be860d27774effc0bd982 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:20 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/5 [Pipeline] fileExists [Pipeline] sh 21:13:21 + make test 21:13:21 go test ./... -coverprofile=coverage.out ./... 21:14:00 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:21 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:21 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:17:00 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.721s coverage: 40.7% of statements 21:17:00 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.583s coverage: 52.0% of statements 21:17:00 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 95.5% of statements 21:17:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:01 go vet ./... 21:17:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:33 ./bin/test-attribution-txt.sh 21:17:33 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:17:33 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:17:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:17:33 $ docker stop --time=1 7281a894a39fb76d9930b6199c951f4719d791b09a7be860d27774effc0bd982 21:17:35 $ docker rm -f --volumes 7281a894a39fb76d9930b6199c951f4719d791b09a7be860d27774effc0bd982 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:17:36 Warning: overwriting stash ‘coverage-report’ 21:17:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:17:38 + ls -al . 21:17:38 total 628 21:17:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 21:13 . 21:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:10 .. 21:17:38 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 21:10 .dockerignore 21:17:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 21:10 .git 21:17:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:10 .github 21:17:38 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 21:10 .gitignore 21:17:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 21:10 .golangci.yml 21:17:38 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 21:10 Attribution.txt 21:17:38 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 21:10 CHANGELOG.md 21:17:38 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 21:10 Dockerfile 21:17:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 21:10 GOVERNANCE.md 21:17:38 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 21:10 Jenkinsfile 21:17:38 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 21:10 LICENSE 21:17:38 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 21:10 Makefile 21:17:38 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 21:10 OWNERS.md 21:17:38 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 21:10 README.md 21:17:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 21:08 VERSION 21:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:10 bin 21:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:10 cmd 21:17:38 -rw-r--r-- 1 jenkins jenkins 457862 Mar 22 21:17 coverage.out 21:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:10 examples 21:17:38 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 22 21:10 go.mod 21:17:38 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 22 21:10 go.sum 21:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:10 images 21:17:38 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 21:10 internal 21:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:10 snap 21:17:38 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:38 + 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=a459220f902c858cc1931ae8714559cc61a1c1e3 --label arch=arm64 --label version=0.0.0 . 21:17:38 Sending build context to Docker daemon 1.212MB 21:17:38 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:17:38 Step 2/24 : FROM ${BASE} AS builder 21:17:38 ---> 252d66982d35 21:17:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:17:39 ---> Running in ff6d4a4df397 21:17:39 Removing intermediate container ff6d4a4df397 21:17:39 ---> 1ab28c9092ce 21:17:39 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:39 ---> Running in 70d07970212e 21:17:39 Removing intermediate container 70d07970212e 21:17:39 ---> cb5b1dbc5389 21:17:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:17:39 ---> Running in f695c641da38 21:17:40 Removing intermediate container f695c641da38 21:17:40 ---> df1221b0e888 21:17:40 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:17:40 ---> Running in 2c332a708778 21:17:40 Removing intermediate container 2c332a708778 21:17:40 ---> dc01ebd52e8d 21:17:40 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:40 ---> Running in c870ebf2a0fd 21:17:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:43 OK: 263 MiB in 53 packages 21:17:44 Removing intermediate container c870ebf2a0fd 21:17:44 ---> 3a0ab0151090 21:17:44 Step 8/24 : WORKDIR /app 21:17:44 ---> Running in a2cf03f05183 21:17:45 Removing intermediate container a2cf03f05183 21:17:45 ---> 4b1bc6e635ca 21:17:45 Step 9/24 : COPY go.mod vendor* ./ 21:17:45 ---> a62a8cfe96e2 21:17:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:45 ---> Running in 51676ce25297 21:17:48 Removing intermediate container 51676ce25297 21:17:48 ---> 990e00b6d68b 21:17:48 Step 11/24 : COPY . . 21:17:49 ---> bc3d31a39cd8 21:17:49 Step 12/24 : RUN $MAKE 21:17:49 ---> Running in fb13c4e4527a 21:17:50 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:20:26 Removing intermediate container fb13c4e4527a 21:20:26 ---> 4bfa32d23fab 21:20:26 Step 13/24 : FROM alpine:3.17 21:20:26 3.17: Pulling from library/alpine 21:20:26 af6eaf76a39c: Already exists 21:20:26 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:20:26 Status: Downloaded newer image for alpine:3.17 21:20:26 ---> d74e625d9115 21:20:26 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:26 ---> Running in 947d61eb79c2 21:20:26 Removing intermediate container 947d61eb79c2 21:20:26 ---> fcf23f84bfa4 21:20:26 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:26 ---> Running in 6d045dca5138 21:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:26 (1/1) Installing dumb-init (1.2.5-r2) 21:20:26 Executing busybox-1.35.0-r29.trigger 21:20:26 OK: 8 MiB in 16 packages 21:20:26 Removing intermediate container 6d045dca5138 21:20:26 ---> f7b1cb7335b0 21:20:26 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:26 ---> f811fc106d9a 21:20:26 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:26 ---> fda17781eb30 21:20:26 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:26 ---> 7493ba303398 21:20:26 Step 19/24 : EXPOSE 59989 21:20:26 ---> Running in 8e16cae19496 21:20:26 Removing intermediate container 8e16cae19496 21:20:26 ---> 2d6b3c936b9e 21:20:26 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:26 ---> Running in 85e01e603045 21:20:26 Removing intermediate container 85e01e603045 21:20:26 ---> 1a595800a2bb 21:20:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:26 ---> Running in bcd04d87c84d 21:20:26 Removing intermediate container bcd04d87c84d 21:20:26 ---> e3b6fc3392ed 21:20:26 Step 22/24 : LABEL arch=arm64 21:20:26 ---> Running in 9eeaf8b1189e 21:20:26 Removing intermediate container 9eeaf8b1189e 21:20:26 ---> 5e7ea1a15534 21:20:26 Step 23/24 : LABEL git_sha=a459220f902c858cc1931ae8714559cc61a1c1e3 21:20:26 ---> Running in 719606ba1113 21:20:26 Removing intermediate container 719606ba1113 21:20:26 ---> 6e032db17a26 21:20:26 Step 24/24 : LABEL version=0.0.0 21:20:26 ---> Running in be626f458f3e 21:20:26 Removing intermediate container be626f458f3e 21:20:26 ---> 330417a6c6d4 21:20:26 [Warning] One or more build-args [ARCH] were not consumed 21:20:26 Successfully built 330417a6c6d4 21:20:26 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:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:27 21:20:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:27 arm64: Pulling from edgex-lftools-log-publisher 21:20:27 8998bd30e6a1: Pulling fs layer 21:20:27 04944245beec: Pulling fs layer 21:20:27 699f458cf7ca: Pulling fs layer 21:20:27 765212b225bb: Pulling fs layer 21:20:27 f23df028b6ca: Pulling fs layer 21:20:28 d65c8cfc05b1: Pulling fs layer 21:20:28 2437ff75d9bd: Pulling fs layer 21:20:28 765212b225bb: Waiting 21:20:28 f23df028b6ca: Waiting 21:20:28 d65c8cfc05b1: Waiting 21:20:28 2437ff75d9bd: Waiting 21:20:28 04944245beec: Verifying Checksum 21:20:28 04944245beec: Download complete 21:20:28 765212b225bb: Verifying Checksum 21:20:28 765212b225bb: Download complete 21:20:28 f23df028b6ca: Download complete 21:20:28 d65c8cfc05b1: Verifying Checksum 21:20:28 d65c8cfc05b1: Download complete 21:20:28 699f458cf7ca: Verifying Checksum 21:20:28 699f458cf7ca: Download complete 21:20:28 8998bd30e6a1: Verifying Checksum 21:20:28 8998bd30e6a1: Download complete 21:20:31 2437ff75d9bd: Verifying Checksum 21:20:31 2437ff75d9bd: Download complete 21:20:33 8998bd30e6a1: Pull complete 21:20:33 04944245beec: Pull complete 21:20:37 699f458cf7ca: Pull complete 21:20:37 765212b225bb: Pull complete 21:20:37 f23df028b6ca: Pull complete 21:20:38 d65c8cfc05b1: Pull complete 21:20:53 2437ff75d9bd: Pull complete 21:20:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:53 prd-ubuntu20.04-docker-arm64-4c-16g-5290 does not seem to be running inside a container 21:20:53 $ 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/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@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:20:56 $ docker top 9e4d17caac0ce1ccfa0f56a451e512090d7969167210f3199b76188d560b38d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:57 ---> job-cost.sh 21:20:57 lf-activate-venv: SKIPPING 21:20:57 INFO: No Stack... 21:20:57 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:58 INFO: Archiving Costs [Pipeline] sh 21:20:58 + cat /w/workspace/device-rfid-llrp-go/5/archives/cost.csv 21:20:58 + cut -d, -f6 [Pipeline] lock 21:20:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] 21:20:59 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] did not exist. Created. 21:20:59 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:59 /w/workspace/device-rfid-llrp-go/5@tmp/durable-6a7162ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:59 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:59 Warning: overwriting stash ‘stack-cost’ 21:20:59 Stashed 1 file(s) [Pipeline] } 21:20:59 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:59 $ docker stop --time=1 9e4d17caac0ce1ccfa0f56a451e512090d7969167210f3199b76188d560b38d6 21:21:01 $ docker rm -f --volumes 9e4d17caac0ce1ccfa0f56a451e512090d7969167210f3199b76188d560b38d6 [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:21:01 provisioning config files... 21:21:01 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config5634571816371904963tmp [Pipeline] { [Pipeline] sh 21:21:02 + set +x 21:21:02 + bash -s -- 21:21:02 + curl -s https://codecov.io/bash 21:21:02 21:21:02 _____ _ 21:21:02 / ____| | | 21:21:02 | | ___ __| | ___ ___ _____ __ 21:21:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:02 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:02 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:02 Bash-1.0.6 21:21:02 21:21:02 21:21:02 ==> git version 2.25.1 found 21:21:02 ==> 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:21:02 Release-Date: 2020-01-08 21:21:02 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:21:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:02 ==> Jenkins CI detected. 21:21:02 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-160 21:21:02 project root: . 21:21:02 --> token set from env 21:21:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:02 ==> Running gcov in . (disable via -X gcov) 21:21:02 ==> Python coveragepy not found 21:21:02 ==> Searching for coverage reports in: 21:21:02 + . 21:21:02 -> Found 1 reports 21:21:02 ==> Detecting git/mercurial file structure 21:21:02 ==> Reading reports 21:21:02 + ./coverage.out bytes=457862 21:21:02 ==> Appending adjustments 21:21:02 https://docs.codecov.io/docs/fixing-reports 21:21:02 + Found adjustments 21:21:02 ==> Gzipping contents 21:21:02 52K /tmp/codecov.pHSs9C.gz 21:21:02 ==> Uploading reports 21:21:02 url: https://codecov.io 21:21:02 query: branch=PR-160&commit=9a2c659eb7866afccc32e672f44232fd72f95956&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:21:02 -> Pinging Codecov 21:21:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-160&commit=9a2c659eb7866afccc32e672f44232fd72f95956&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:21:02 -> Uploading to 21:21:02 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/581DD39554BDF9B6E22D074273EAD858/9a2c659eb7866afccc32e672f44232fd72f95956/31e8c916-289d-4e8c-bd27-4d5b9fb0f723.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T212102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6056c4cd52416e6be4caf00f9444ed69676b3f315ac8e4f846ba71f2a39d80bb 21:21:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:02 Dload Upload Total Spent Left Speed 21:21:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50492 0 0 100 50492 0 146k --:--:-- --:--:-- --:--:-- 146k 21:21:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/9a2c659eb7866afccc32e672f44232fd72f95956 [Pipeline] } 21:21:03 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:21:03 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-160/archives ] 21:21:03 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:21:03 total 16 21:21:03 drwxr-xr-x 3 root root 4096 Mar 22 21:10 . 21:21:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 21:10 .. 21:21:03 drwxr-xr-x 2 root root 4096 Mar 22 21:10 cost 21:21:03 -rw-r--r-- 1 root root 91 Mar 22 21:10 cost.csv 21:21:03 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:21:03 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:21:03 total 16 21:21:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 21:10 . 21:21:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 21:10 .. 21:21:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 21:10 cost 21:21:03 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 21:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:04 ---> package-listing.sh 21:21:04 ++ facter osfamily 21:21:04 ++ tr '[:upper:]' '[:lower:]' 21:21:05 + OS_FAMILY=debian 21:21:05 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-160 21:21:05 + START_PACKAGES=/tmp/packages_start.txt 21:21:05 + END_PACKAGES=/tmp/packages_end.txt 21:21:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:05 + PACKAGES=/tmp/packages_start.txt 21:21:05 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:21:05 + PACKAGES=/tmp/packages_end.txt 21:21:05 + case "${OS_FAMILY}" in 21:21:05 + dpkg -l 21:21:05 + grep '^ii' 21:21:05 + '[' -f /tmp/packages_start.txt ']' 21:21:05 + '[' -f /tmp/packages_end.txt ']' 21:21:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:05 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:21:05 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/ 21:21:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/ [Pipeline] echo 21:21:05 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-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:06 prd-ubuntu20.04-docker-8c-8g-5289 does not seem to be running inside a container 21:21:06 $ 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-160/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-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@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:21:06 $ docker top 7a696fdab746ed02b71754113dfb75915cc2d4b25ab987b4fc4869a24ea77559 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:06 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:07 + ls /var/log/sa-host 21:21:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:07 provisioning config files... 21:21:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config2513725970946526351tmp [Pipeline] { [Pipeline] echo 21:21:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:07 ---> create-netrc.sh [Pipeline] } 21:21:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:08 ---> python-tools-install.sh [Pipeline] echo 21:21:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:08 ---> sudo-logs.sh 21:21:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:08 ---> job-cost.sh 21:21:08 lf-activate-venv: SKIPPING 21:21:08 DEBUG: total: 0.2199999988079071 21:21:08 INFO: Retrieving Stack Cost... 21:21:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:09 INFO: Archiving Costs [Pipeline] echo 21:21:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:09 ---> logs-deploy.sh 21:21:09 lf-activate-venv: SKIPPING 21:21:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-160/5 21:21:09 INFO: archiving workspace using pattern(s): 21:21:10 Archives upload complete. 21:21:10 INFO: archiving logs to Nexus