Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1e9c82f50c5f561b8321fcd721786082837dd82+8c4faf22c76813cb553a4db765edf9e1791a6a7e (25100e026c10ca51f5482b2e354c8b8b4650223f) 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-ssh1896882764099089933.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-ssh897113074336400643.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-ssh7631037982142681978.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-ssh4926936392505553551.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-ssh7200403032425789233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2514 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 Merging remotes/origin/main commit 8c4faf22c76813cb553a4db765edf9e1791a6a7e into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 > 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 > 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 8c4faf22c76813cb553a4db765edf9e1791a6a7e # timeout=10 Merge succeeded, producing 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 Checking out Revision 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 (PR-160) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 # timeout=10 Commit message: "Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:22 ========================================================= 21:07:22 EdgeX Global Pipelines Version Info 21:07:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0d6ae0fba057515d35dda883ba4230e863c865db # timeout=10 21:07:23 ------------------- 21:07:23 stable info: 21:07:23 ------------------- 21:07:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:23 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:07:23 Message: update stable to v1.0.245 21:07:24 ------------------- 21:07:24 experimental info: 21:07:24 ------------------- 21:07:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:24 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 21:07:24 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9879bfd [Pipeline] echo 21:07:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:24 provisioning config files... 21:07:24 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config5395292448918242000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:25 ---> docker-login.sh 21:07:25 nexus3.edgexfoundry.org:10001 21:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 nexus3.edgexfoundry.org:10002 21:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 nexus3.edgexfoundry.org:10003 21:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 nexus3.edgexfoundry.org:10004 21:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 docker.io 21:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 ---> docker-login.sh ends [Pipeline] } 21:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:26 + git rev-list -1 --merges 9879bfdd2ea9b89efb1b365b816b2e2868e514f1~1..9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [Pipeline] echo 21:07:26 -----------> git rev-list -1 --merges 9879bfdd2ea9b89efb1b365b816b2e2868e514f1~1..9879bfdd2ea9b89efb1b365b816b2e2868e514f1 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 21:07:26 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [false] [Pipeline] sh 21:07:26 + git log --format=format:%s -1 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [Pipeline] echo 21:07:26 ========================================================= 21:07:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:26 + git log --format=format:%s -1 9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [Pipeline] echo 21:07:26 [semverPrep] GIT_COMMIT: 9879bfdd2ea9b89efb1b365b816b2e2868e514f1, Commit Message: Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD [Pipeline] echo 21:07:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:27 + grep -v github /etc/ssh/ssh_known_hosts 21:07:27 + [ -e /tmp/ssh_known_hosts ] 21:07:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:27 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:27 21:07:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:28 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:28 b85a868b505f: Pulling fs layer 21:07:28 e2be974225ed: Pulling fs layer 21:07:28 339a4e72a1f5: Pulling fs layer 21:07:28 988bab9f4d93: Pulling fs layer 21:07:28 1469e6f7b9e6: Pulling fs layer 21:07:28 eaf3925da568: Pulling fs layer 21:07:28 bab4dde63d76: Pulling fs layer 21:07:28 bde34c3a00c8: Pulling fs layer 21:07:28 b352a97aabf1: Pulling fs layer 21:07:28 4872d77fe225: Pulling fs layer 21:07:28 5851b861e8e6: Pulling fs layer 21:07:28 bab4dde63d76: Waiting 21:07:28 988bab9f4d93: Waiting 21:07:28 1469e6f7b9e6: Waiting 21:07:28 eaf3925da568: Waiting 21:07:28 b352a97aabf1: Waiting 21:07:28 4872d77fe225: Waiting 21:07:28 5851b861e8e6: Waiting 21:07:28 e2be974225ed: Verifying Checksum 21:07:28 e2be974225ed: Download complete 21:07:28 988bab9f4d93: Download complete 21:07:28 1469e6f7b9e6: Verifying Checksum 21:07:28 1469e6f7b9e6: Download complete 21:07:28 eaf3925da568: Verifying Checksum 21:07:28 eaf3925da568: Download complete 21:07:28 339a4e72a1f5: Verifying Checksum 21:07:28 339a4e72a1f5: Download complete 21:07:28 bde34c3a00c8: Verifying Checksum 21:07:28 bde34c3a00c8: Download complete 21:07:28 b352a97aabf1: Verifying Checksum 21:07:28 b352a97aabf1: Download complete 21:07:28 4872d77fe225: Verifying Checksum 21:07:28 4872d77fe225: Download complete 21:07:28 5851b861e8e6: Verifying Checksum 21:07:28 5851b861e8e6: Download complete 21:07:28 b85a868b505f: Verifying Checksum 21:07:28 b85a868b505f: Download complete 21:07:28 bab4dde63d76: Verifying Checksum 21:07:28 bab4dde63d76: Download complete 21:07:29 b85a868b505f: Pull complete 21:07:29 e2be974225ed: Pull complete 21:07:30 339a4e72a1f5: Pull complete 21:07:30 988bab9f4d93: Pull complete 21:07:30 1469e6f7b9e6: Pull complete 21:07:30 eaf3925da568: Pull complete 21:07:32 bab4dde63d76: Pull complete 21:07:32 bde34c3a00c8: Pull complete 21:07:32 b352a97aabf1: Pull complete 21:07:32 4872d77fe225: Pull complete 21:07:32 5851b861e8e6: Pull complete 21:07:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:33 prd-ubuntu20.04-docker-8c-8g-2514 does not seem to be running inside a container 21:07:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:34 $ docker top d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c -eo pid,comm 21:07:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:07:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:34 [ssh-agent] Looking for ssh-agent implementation... 21:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:34 $ docker exec d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c ssh-agent 21:07:34 SSH_AUTH_SOCK=/tmp/ssh-W2rE1qLuLcdf/agent.31 21:07:34 SSH_AGENT_PID=37 21:07:34 Running ssh-add (command line suppressed) 21:07:34 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_746813807852999622.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_746813807852999622.key) 21:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:34 + git tag --points-at HEAD [Pipeline] } 21:07:34 $ docker exec --env ******** --env ******** d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c ssh-agent -k 21:07:34 unset SSH_AUTH_SOCK; 21:07:34 unset SSH_AGENT_PID; 21:07:34 echo Agent pid 37 killed; 21:07:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:35 [ssh-agent] Looking for ssh-agent implementation... 21:07:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:35 $ docker exec d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c ssh-agent 21:07:35 SSH_AUTH_SOCK=/tmp/ssh-cNZVc9POF3CF/agent.69 21:07:35 SSH_AGENT_PID=76 21:07:35 Running ssh-add (command line suppressed) 21:07:35 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_8818024808287031989.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_8818024808287031989.key) 21:07:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:35 + git semver init 21:07:35 2023-03-16 21:07:35,803 [run_init] DEBUG init version:0.0.0 force:False 21:07:35 2023-03-16 21:07:35,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver 21:07:35 2023-03-16 21:07:35,804 [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:07:35 2023-03-16 21:07:35,805 [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:07:36 2023-03-16 21:07:36,534 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.git/info/exclude 21:07:36 2023-03-16 21:07:36,535 [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:07:36 2023-03-16 21:07:36,535 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:07:36 2023-03-16 21:07:36,539 [execute] INFO git cat-file --batch-check 21:07:36 2023-03-16 21:07:36,540 [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:07:36 2023-03-16 21:07:36,546 [execute] INFO git cat-file --batch 21:07:36 2023-03-16 21:07:36,546 [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:07:36 2023-03-16 21:07:36,551 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:07:36 0.0.0 [Pipeline] } 21:07:36 $ docker exec --env ******** --env ******** d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c ssh-agent -k 21:07:36 unset SSH_AUTH_SOCK; 21:07:36 unset SSH_AGENT_PID; 21:07:36 echo Agent pid 76 killed; 21:07:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:37 + git semver [Pipeline] } 21:07:37 $ docker stop --time=1 d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c 21:07:38 $ docker rm -f --volumes d6ada877c59f9efdae17dbbbe49e49badc522ec4b44d4ba2f161931963ae8c0c [Pipeline] // withDockerContainer [Pipeline] sh 21:07:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:39 Stashed 1 file(s) [Pipeline] echo 21:07:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:39 provisioning config files... 21:07:39 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config12531928595189155378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:39 ---> docker-login.sh 21:07:39 nexus3.edgexfoundry.org:10001 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 nexus3.edgexfoundry.org:10002 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 nexus3.edgexfoundry.org:10003 21:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:40 Configure a credential helper to remove this warning. See 21:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:40 21:07:40 Login Succeeded 21:07:40 nexus3.edgexfoundry.org:10004 21:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:40 Configure a credential helper to remove this warning. See 21:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:40 21:07:40 Login Succeeded 21:07:40 docker.io 21:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:40 Configure a credential helper to remove this warning. See 21:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:40 21:07:40 Login Succeeded 21:07:40 ---> docker-login.sh ends [Pipeline] } 21:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:40 ========================================================= 21:07:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:40 + 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:07:40 Sending build context to Docker daemon 4.191MB 21:07:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:40 Step 2/12 : FROM ${BASE} AS builder 21:07:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:40 63b65145d645: Pulling fs layer 21:07:40 a2d21d5440eb: Pulling fs layer 21:07:40 935e6c44a52c: Pulling fs layer 21:07:40 94cc34f8dd06: Pulling fs layer 21:07:40 30dea6a524f1: Pulling fs layer 21:07:40 a2aff8979fd8: Pulling fs layer 21:07:40 6808be2612f2: Pulling fs layer 21:07:40 f25807f1079a: Pulling fs layer 21:07:40 a2aff8979fd8: Waiting 21:07:40 94cc34f8dd06: Waiting 21:07:40 30dea6a524f1: Waiting 21:07:40 6808be2612f2: Waiting 21:07:40 f25807f1079a: Waiting 21:07:40 a2d21d5440eb: Download complete 21:07:40 94cc34f8dd06: Verifying Checksum 21:07:40 94cc34f8dd06: Download complete 21:07:40 30dea6a524f1: Verifying Checksum 21:07:40 30dea6a524f1: Download complete 21:07:40 63b65145d645: Verifying Checksum 21:07:40 63b65145d645: Download complete 21:07:40 a2aff8979fd8: Verifying Checksum 21:07:40 a2aff8979fd8: Download complete 21:07:40 63b65145d645: Pull complete 21:07:41 a2d21d5440eb: Pull complete 21:07:41 f25807f1079a: Verifying Checksum 21:07:41 f25807f1079a: Download complete 21:07:41 935e6c44a52c: Download complete 21:07:41 6808be2612f2: Verifying Checksum 21:07:41 6808be2612f2: Download complete 21:07:44 935e6c44a52c: Pull complete 21:07:44 94cc34f8dd06: Pull complete 21:07:44 30dea6a524f1: Pull complete 21:07:44 a2aff8979fd8: Pull complete 21:07:46 6808be2612f2: Pull complete 21:07:47 f25807f1079a: Pull complete 21:07:47 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:47 ---> 3b553350e43f 21:07:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:49 ---> Running in ff1c9b258026 21:07:49 Removing intermediate container ff1c9b258026 21:07:49 ---> 2c11a4006623 21:07:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:49 ---> Running in 661ddf572f76 21:07:49 Removing intermediate container 661ddf572f76 21:07:49 ---> bec2876983f7 21:07:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:49 ---> Running in 70273df777da 21:07:49 Removing intermediate container 70273df777da 21:07:49 ---> 6a5913ed2213 21:07:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:49 ---> Running in 93b2ac401e75 21:07:49 Removing intermediate container 93b2ac401e75 21:07:49 ---> 063bb6e24bc6 21:07:49 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:49 ---> Running in 69fa8709ca96 21:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:50 OK: 265 MiB in 53 packages 21:07:50 Removing intermediate container 69fa8709ca96 21:07:50 ---> 7e219ff8aea2 21:07:50 Step 8/12 : WORKDIR /app 21:07:50 ---> Running in 27b448ae1f5e 21:07:50 Removing intermediate container 27b448ae1f5e 21:07:50 ---> f1b6d500a271 21:07:50 Step 9/12 : COPY go.mod vendor* ./ 21:07:51 ---> 713968786fdd 21:07:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:51 ---> Running in fce9791b4925 21:07:54 Still waiting to schedule task 21:07:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2515’ is offline 21:08:17 Removing intermediate container fce9791b4925 21:08:17 ---> 6a875b814df5 21:08:17 Step 11/12 : COPY . . 21:08:17 ---> 9e3c6b0ff88b 21:08:17 Step 12/12 : RUN $MAKE 21:08:17 ---> Running in e7cb8e939f34 21:08:17 noop 21:08:17 Removing intermediate container e7cb8e939f34 21:08:17 ---> 3bd2633eb78f 21:08:17 Successfully built 3bd2633eb78f 21:08:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:17 + docker inspect -f . ci-base-image-x86_64 21:08:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:18 prd-ubuntu20.04-docker-8c-8g-2514 does not seem to be running inside a container 21:08:18 $ 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 ******** ci-base-image-x86_64 cat 21:08:18 $ docker top f41851b640d1804fb91b4ceba9fa05761eaeacd97cf71ac57b0e950b8c82797c -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:18 + go version 21:08:18 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:18 $ docker stop --time=1 f41851b640d1804fb91b4ceba9fa05761eaeacd97cf71ac57b0e950b8c82797c 21:08:20 $ docker rm -f --volumes f41851b640d1804fb91b4ceba9fa05761eaeacd97cf71ac57b0e950b8c82797c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:20 + docker inspect -f . ci-base-image-x86_64 21:08:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:20 prd-ubuntu20.04-docker-8c-8g-2514 does not seem to be running inside a container 21:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-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 ******** ci-base-image-x86_64 cat 21:08:20 $ docker top 0bec1ca504e927dbfd685e7a3d72d4b89611bdb3c8fd557476a11f97cb59ea19 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:21 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] fileExists [Pipeline] sh 21:08:21 + make test 21:08:21 go test ./... -coverprofile=coverage.out ./... 21:08:26 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:36 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:36 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.806s coverage: 40.7% of statements 21:08:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.249s coverage: 51.9% of statements 21:08:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.012s coverage: 96.4% of statements 21:08:48 go vet ./... 21:08:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:51 ./bin/test-attribution-txt.sh 21:08:51 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:51 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:51 $ docker stop --time=1 0bec1ca504e927dbfd685e7a3d72d4b89611bdb3c8fd557476a11f97cb59ea19 21:08:52 $ docker rm -f --volumes 0bec1ca504e927dbfd685e7a3d72d4b89611bdb3c8fd557476a11f97cb59ea19 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:54 + ls -al . 21:08:54 total 632 21:08:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 21:08 . 21:08:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 .. 21:08:54 -rw-rw-r-- 1 jenkins jenkins 134 Mar 16 21:07 .dockerignore 21:08:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 21:07 .git 21:08:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 21:07 .github 21:08:54 -rw-rw-r-- 1 jenkins jenkins 946 Mar 16 21:07 .gitignore 21:08:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 21:07 .golangci.yml 21:08:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 21:07 .semver 21:08:54 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 16 21:07 Attribution.txt 21:08:54 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 16 21:07 CHANGELOG.md 21:08:54 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 16 21:07 Dockerfile 21:08:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 21:07 GOVERNANCE.md 21:08:54 -rw-rw-r-- 1 jenkins jenkins 683 Mar 16 21:07 Jenkinsfile 21:08:54 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 21:07 LICENSE 21:08:54 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 16 21:07 Makefile 21:08:54 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 21:07 OWNERS.md 21:08:54 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 16 21:07 README.md 21:08:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 21:07 VERSION 21:08:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 bin 21:08:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 cmd 21:08:54 -rw-r--r-- 1 jenkins jenkins 457862 Mar 16 21:08 coverage.out 21:08:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 examples 21:08:54 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 16 21:07 go.mod 21:08:54 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 16 21:07 go.sum 21:08:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 images 21:08:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 21:07 internal 21:08:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 snap 21:08:54 -rw-rw-r-- 1 jenkins jenkins 193 Mar 16 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:54 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9879bfdd2ea9b89efb1b365b816b2e2868e514f1 --label arch=amd64 --label version=0.0.0 . 21:08:54 Sending build context to Docker daemon 4.191MB 21:08:54 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:54 Step 2/24 : FROM ${BASE} AS builder 21:08:54 ---> 3bd2633eb78f 21:08:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:54 ---> Running in 25fdee37794e 21:08:54 Removing intermediate container 25fdee37794e 21:08:54 ---> db453e34ad43 21:08:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:54 ---> Running in 21be03e3ed36 21:08:54 Removing intermediate container 21be03e3ed36 21:08:54 ---> dc53c2513e1e 21:08:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:54 ---> Running in 22e1709bee4b 21:08:54 Removing intermediate container 22e1709bee4b 21:08:54 ---> 0fa617346fef 21:08:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:54 ---> Running in 3a91a04a5353 21:08:54 Removing intermediate container 3a91a04a5353 21:08:54 ---> 09fd1fd74d70 21:08:54 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:54 ---> Running in dfc3d4457d82 21:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:55 OK: 265 MiB in 53 packages 21:08:56 Removing intermediate container dfc3d4457d82 21:08:56 ---> c777533cf06f 21:08:56 Step 8/24 : WORKDIR /app 21:08:56 ---> Running in 455a3f001667 21:08:56 Removing intermediate container 455a3f001667 21:08:56 ---> d5b241eb8904 21:08:56 Step 9/24 : COPY go.mod vendor* ./ 21:08:56 ---> 423f8efd3448 21:08:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:56 ---> Running in 74e43fc3c1cd 21:08:56 Removing intermediate container 74e43fc3c1cd 21:08:56 ---> e1fae77e5c05 21:08:56 Step 11/24 : COPY . . 21:08:57 ---> d9d630c504be 21:08:57 Step 12/24 : RUN $MAKE 21:08:57 ---> Running in 46e3e7a63e29 21:08:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:15 Removing intermediate container 46e3e7a63e29 21:09:15 ---> 010aa46076e7 21:09:15 Step 13/24 : FROM alpine:3.17 21:09:15 3.17: Pulling from library/alpine 21:09:15 63b65145d645: Already exists 21:09:15 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:09:15 Status: Downloaded newer image for alpine:3.17 21:09:15 ---> b2aa39c304c2 21:09:15 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:15 ---> Running in 62dbbb01ad59 21:09:15 Removing intermediate container 62dbbb01ad59 21:09:15 ---> 0f2c38826198 21:09:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:15 ---> Running in 48bc9e26b614 21:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:15 (1/1) Installing dumb-init (1.2.5-r2) 21:09:15 Executing busybox-1.35.0-r29.trigger 21:09:15 OK: 7 MiB in 16 packages 21:09:15 Removing intermediate container 48bc9e26b614 21:09:15 ---> 26598c14ae28 21:09:15 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:15 ---> d3347e6cde70 21:09:15 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:15 ---> 37403530f422 21:09:15 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:16 ---> c6cf3f71e959 21:09:16 Step 19/24 : EXPOSE 59989 21:09:16 ---> Running in 83b4cf87c54e 21:09:16 Removing intermediate container 83b4cf87c54e 21:09:16 ---> 717fccad5956 21:09:16 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:16 ---> Running in 29f952a7f554 21:09:16 Removing intermediate container 29f952a7f554 21:09:16 ---> 33e48ad14449 21:09:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:16 ---> Running in dadcda27091d 21:09:16 Removing intermediate container dadcda27091d 21:09:16 ---> 98e5be9ae42a 21:09:16 Step 22/24 : LABEL arch=amd64 21:09:16 ---> Running in b409b03a2804 21:09:17 Removing intermediate container b409b03a2804 21:09:17 ---> ea2647a4af2e 21:09:17 Step 23/24 : LABEL git_sha=9879bfdd2ea9b89efb1b365b816b2e2868e514f1 21:09:17 ---> Running in 0428456c2e2f 21:09:17 Removing intermediate container 0428456c2e2f 21:09:17 ---> 43a6555c34bd 21:09:17 Step 24/24 : LABEL version=0.0.0 21:09:17 ---> Running in 41e9c4e0ddd1 21:09:17 Removing intermediate container 41e9c4e0ddd1 21:09:17 ---> 0e35c7793a0e 21:09:17 [Warning] One or more build-args [ARCH] were not consumed 21:09:17 Successfully built 0e35c7793a0e 21:09:17 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:17 21:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:17 latest: Pulling from edgex-lftools-log-publisher 21:09:17 5eb5b503b376: Pulling fs layer 21:09:17 5c69ac0246d0: Pulling fs layer 21:09:17 ec43610c2a17: Pulling fs layer 21:09:17 3a2ae6a8a46f: Pulling fs layer 21:09:17 33b1e0a273af: Pulling fs layer 21:09:17 5d3b04190fa2: Pulling fs layer 21:09:17 2f39f015ded8: Pulling fs layer 21:09:17 5d3b04190fa2: Waiting 21:09:17 3a2ae6a8a46f: Waiting 21:09:17 5c69ac0246d0: Verifying Checksum 21:09:17 5c69ac0246d0: Download complete 21:09:17 3a2ae6a8a46f: Verifying Checksum 21:09:17 3a2ae6a8a46f: Download complete 21:09:18 33b1e0a273af: Verifying Checksum 21:09:18 33b1e0a273af: Download complete 21:09:18 ec43610c2a17: Verifying Checksum 21:09:18 ec43610c2a17: Download complete 21:09:18 5d3b04190fa2: Verifying Checksum 21:09:18 5d3b04190fa2: Download complete 21:09:18 5eb5b503b376: Download complete 21:09:18 2f39f015ded8: Download complete 21:09:19 5eb5b503b376: Pull complete 21:09:19 5c69ac0246d0: Pull complete 21:09:19 ec43610c2a17: Pull complete 21:09:19 3a2ae6a8a46f: Pull complete 21:09:20 33b1e0a273af: Pull complete 21:09:20 5d3b04190fa2: Pull complete 21:09:24 2f39f015ded8: Pull complete 21:09:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:24 prd-ubuntu20.04-docker-8c-8g-2514 does not seem to be running inside a container 21:09:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:26 $ docker top f7b0205633f4843b99768a070eb7e515ef862cc488dddc575d7bad9d084e1af4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:26 ---> job-cost.sh 21:09:26 lf-activate-venv: SKIPPING 21:09:26 INFO: No Stack... 21:09:27 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:27 INFO: Archiving Costs [Pipeline] sh 21:09:27 + cat /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/cost.csv 21:09:27 + cut -d, -f6 [Pipeline] lock 21:09:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] 21:09:27 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] did not exist. Created. 21:09:27 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:28 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:28 Stashed 1 file(s) [Pipeline] } 21:09:28 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:28 $ docker stop --time=1 f7b0205633f4843b99768a070eb7e515ef862cc488dddc575d7bad9d084e1af4 21:09:29 $ docker rm -f --volumes f7b0205633f4843b99768a070eb7e515ef862cc488dddc575d7bad9d084e1af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2518 in /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] { [Pipeline] ws 21:10:37 Running in /w/workspace/device-rfid-llrp-go/4 [Pipeline] { [Pipeline] checkout 21:10:37 Selected Git installation does not exist. Using Default 21:10:37 The recommended git tool is: NONE 21:10:44 using credential edgex-jenkins-ssh 21:10:44 Cloning the remote Git repository 21:10:44 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:44 > git init /w/workspace/device-rfid-llrp-go/4 # timeout=10 21:10:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:44 > git --version # timeout=10 21:10:44 > git --version # 'git version 2.25.1' 21:10:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:47 Merging remotes/origin/main commit 8c4faf22c76813cb553a4db765edf9e1791a6a7e into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 21:10:47 Merge succeeded, producing bfa8d7d695594234803600841a6ae8d1885aeb15 21:10:47 Checking out Revision bfa8d7d695594234803600841a6ae8d1885aeb15 (PR-160) 21:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 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/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:47 > git config core.sparsecheckout # timeout=10 21:10:47 > git checkout -f c1e9c82f50c5f561b8321fcd721786082837dd82 # timeout=10 21:10:47 > git remote # timeout=10 21:10:47 > git config --get remote.origin.url # timeout=10 21:10:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:47 > git merge 8c4faf22c76813cb553a4db765edf9e1791a6a7e # timeout=10 21:10:47 > git rev-parse HEAD^{commit} # timeout=10 21:10:47 > git config core.sparsecheckout # timeout=10 21:10:47 > git checkout -f bfa8d7d695594234803600841a6ae8d1885aeb15 # timeout=10 21:10:51 Commit message: "Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD" 21:10:51 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:52 Dload Upload Total Spent Left Speed 21:10:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 21:10:51 > git rev-list --no-walk 0d6ae0fba057515d35dda883ba4230e863c865db # timeout=10 21:10:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:53 + sudo tee /etc/docker/daemon.new 21:10:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:53 { 21:10:53 "registry-mirrors": [ 21:10:53 "https://nexus3.edgexfoundry.org:10001" 21:10:53 ], 21:10:53 "bip": "10.250.0.254/24", 21:10:53 "hosts": [ 21:10:53 "tcp://0.0.0.0:5555", 21:10:53 "unix:///var/run/docker.sock" 21:10:53 ], 21:10:53 "mtu": 1458, 21:10:53 "selinux-enabled": true, 21:10:53 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:53 } [Pipeline] sh 21:10:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:12 provisioning config files... 21:11:12 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/4@tmp/config14361376965910380104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:12 ---> docker-login.sh 21:11:12 nexus3.edgexfoundry.org:10001 21:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 nexus3.edgexfoundry.org:10002 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 nexus3.edgexfoundry.org:10003 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 nexus3.edgexfoundry.org:10004 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 docker.io 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 ---> docker-login.sh ends [Pipeline] } 21:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:15 ========================================================= 21:11:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:15 + 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:15 Sending build context to Docker daemon 1.213MB 21:11:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:11:15 Step 2/12 : FROM ${BASE} AS builder 21:11:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:16 af6eaf76a39c: Pulling fs layer 21:11:16 55522c791124: Pulling fs layer 21:11:16 ce5c4a1c91eb: Pulling fs layer 21:11:16 169dfbe0d373: Pulling fs layer 21:11:16 e1ff8fa3b103: Pulling fs layer 21:11:16 52ebb69f0ebf: Pulling fs layer 21:11:16 5abe8eddf0d5: Pulling fs layer 21:11:16 169dfbe0d373: Waiting 21:11:16 e1ff8fa3b103: Waiting 21:11:16 52ebb69f0ebf: Waiting 21:11:16 5abe8eddf0d5: Waiting 21:11:16 55522c791124: Verifying Checksum 21:11:16 55522c791124: Download complete 21:11:16 169dfbe0d373: Download complete 21:11:16 e1ff8fa3b103: Verifying Checksum 21:11:16 e1ff8fa3b103: Download complete 21:11:16 af6eaf76a39c: Verifying Checksum 21:11:16 af6eaf76a39c: Download complete 21:11:17 5abe8eddf0d5: Verifying Checksum 21:11:17 5abe8eddf0d5: Download complete 21:11:17 af6eaf76a39c: Pull complete 21:11:17 55522c791124: Pull complete 21:11:18 52ebb69f0ebf: Verifying Checksum 21:11:18 52ebb69f0ebf: Download complete 21:11:18 ce5c4a1c91eb: Verifying Checksum 21:11:18 ce5c4a1c91eb: Download complete 21:11:33 ce5c4a1c91eb: Pull complete 21:11:33 169dfbe0d373: Pull complete 21:11:33 e1ff8fa3b103: Pull complete 21:11:40 52ebb69f0ebf: Pull complete 21:11:42 5abe8eddf0d5: Pull complete 21:11:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:42 ---> 6cb57ee374ae 21:11:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:44 ---> Running in ad6d2067c67a 21:11:44 Removing intermediate container ad6d2067c67a 21:11:44 ---> c41d190779ab 21:11:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:44 ---> Running in f01fffc8f9f1 21:11:45 Removing intermediate container f01fffc8f9f1 21:11:45 ---> 46af56a18d7f 21:11:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:45 ---> Running in fa09df0bd9bf 21:11:45 Removing intermediate container fa09df0bd9bf 21:11:45 ---> 432e157ed118 21:11:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:45 ---> Running in 617c4cd9524d 21:11:46 Removing intermediate container 617c4cd9524d 21:11:46 ---> 3745417181ce 21:11:46 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:46 ---> Running in 17345e040186 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:50 Removing intermediate container 17345e040186 21:11:50 ---> d12113b6fac1 21:11:50 Step 8/12 : WORKDIR /app 21:11:50 ---> Running in 75b1838a7958 21:11:50 Removing intermediate container 75b1838a7958 21:11:50 ---> b20c1dfe3479 21:11:50 Step 9/12 : COPY go.mod vendor* ./ 21:11:51 ---> 63291c61242c 21:11:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:51 ---> Running in c87cd896427c 21:12:59 Removing intermediate container c87cd896427c 21:12:59 ---> 72e735792526 21:12:59 Step 11/12 : COPY . . 21:12:59 ---> cef01ffdb99b 21:12:59 Step 12/12 : RUN $MAKE 21:13:00 ---> Running in fe46f228ec6e 21:13:01 noop 21:13:02 Removing intermediate container fe46f228ec6e 21:13:02 ---> b99c21c79190 21:13:02 Successfully built b99c21c79190 21:13:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:03 + docker inspect -f . ci-base-image-arm64 21:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-2518 does not seem to be running inside a container 21:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:04 $ docker top bfbc1120a90e3c5a361881c8eda1182aca3bfd1f581de9717eb14052d5d5e9eb -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:05 + go version 21:13:05 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:05 $ docker stop --time=1 bfbc1120a90e3c5a361881c8eda1182aca3bfd1f581de9717eb14052d5d5e9eb 21:13:07 $ docker rm -f --volumes bfbc1120a90e3c5a361881c8eda1182aca3bfd1f581de9717eb14052d5d5e9eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:08 + docker inspect -f . ci-base-image-arm64 21:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-2518 does not seem to be running inside a container 21:13:08 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:09 $ docker top 7c72320d6edba68e39a4501ff9a97b7fc09cbd848462b90d5b3c13e7e23ddc70 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:10 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/4 [Pipeline] fileExists [Pipeline] sh 21:13:11 + make test 21:13:11 go test ./... -coverprofile=coverage.out ./... 21:13:50 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:16:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.072s coverage: 40.7% of statements 21:16:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.592s coverage: 52.0% of statements 21:16:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.044s coverage: 96.4% of statements 21:16:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:16:54 go vet ./... 21:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:26 ./bin/test-attribution-txt.sh 21:17:26 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:17:26 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:17:26 $ docker stop --time=1 7c72320d6edba68e39a4501ff9a97b7fc09cbd848462b90d5b3c13e7e23ddc70 21:17:28 $ docker rm -f --volumes 7c72320d6edba68e39a4501ff9a97b7fc09cbd848462b90d5b3c13e7e23ddc70 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:17:29 Warning: overwriting stash ‘coverage-report’ 21:17:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:17:31 + ls -al . 21:17:31 total 628 21:17:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 21:13 . 21:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 .. 21:17:31 -rw-rw-r-- 1 jenkins jenkins 134 Mar 16 21:10 .dockerignore 21:17:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 21:10 .git 21:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 21:10 .github 21:17:31 -rw-rw-r-- 1 jenkins jenkins 946 Mar 16 21:10 .gitignore 21:17:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 21:10 .golangci.yml 21:17:31 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 16 21:10 Attribution.txt 21:17:31 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 16 21:10 CHANGELOG.md 21:17:31 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 16 21:10 Dockerfile 21:17:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 21:10 GOVERNANCE.md 21:17:31 -rw-rw-r-- 1 jenkins jenkins 683 Mar 16 21:10 Jenkinsfile 21:17:31 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 21:10 LICENSE 21:17:31 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 16 21:10 Makefile 21:17:31 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 21:10 OWNERS.md 21:17:31 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 16 21:10 README.md 21:17:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 21:07 VERSION 21:17:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 bin 21:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 cmd 21:17:31 -rw-r--r-- 1 jenkins jenkins 457862 Mar 16 21:16 coverage.out 21:17:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 examples 21:17:31 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 16 21:10 go.mod 21:17:31 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 16 21:10 go.sum 21:17:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 images 21:17:31 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 21:10 internal 21:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 snap 21:17:31 -rw-rw-r-- 1 jenkins jenkins 193 Mar 16 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:31 + 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=bfa8d7d695594234803600841a6ae8d1885aeb15 --label arch=arm64 --label version=0.0.0 . 21:17:32 Sending build context to Docker daemon 1.213MB 21:17:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:17:32 Step 2/24 : FROM ${BASE} AS builder 21:17:32 ---> b99c21c79190 21:17:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:17:32 ---> Running in 1090dbd11891 21:17:32 Removing intermediate container 1090dbd11891 21:17:32 ---> f9811ac5a155 21:17:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:32 ---> Running in be3d0235077c 21:17:32 Removing intermediate container be3d0235077c 21:17:32 ---> 878fde0dc3a9 21:17:32 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:17:33 ---> Running in c2d79e30ce1b 21:17:33 Removing intermediate container c2d79e30ce1b 21:17:33 ---> 46ef4c5c6d8c 21:17:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:17:33 ---> Running in 2b0a21eb2ecf 21:17:33 Removing intermediate container 2b0a21eb2ecf 21:17:33 ---> 4cd19207e8d8 21:17:33 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:33 ---> Running in 0d01d287fec7 21:17:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:36 OK: 263 MiB in 53 packages 21:17:37 Removing intermediate container 0d01d287fec7 21:17:37 ---> 1a02c540ed3a 21:17:37 Step 8/24 : WORKDIR /app 21:17:37 ---> Running in 900e1899358d 21:17:37 Removing intermediate container 900e1899358d 21:17:37 ---> 027da50bc149 21:17:37 Step 9/24 : COPY go.mod vendor* ./ 21:17:40 ---> 461dada5a8bc 21:17:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:40 ---> Running in 78a393701997 21:17:43 Removing intermediate container 78a393701997 21:17:43 ---> 2090168ed033 21:17:43 Step 11/24 : COPY . . 21:17:43 ---> 7d9de135b6df 21:17:43 Step 12/24 : RUN $MAKE 21:17:43 ---> Running in 7b096e176a68 21:17:44 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:06 Removing intermediate container 7b096e176a68 21:20:06 ---> b98601341c4c 21:20:06 Step 13/24 : FROM alpine:3.17 21:20:06 3.17: Pulling from library/alpine 21:20:06 af6eaf76a39c: Already exists 21:20:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:20:06 Status: Downloaded newer image for alpine:3.17 21:20:06 ---> d74e625d9115 21:20:06 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:06 ---> Running in ade1245589a6 21:20:06 Removing intermediate container ade1245589a6 21:20:06 ---> 12b998ae6ddb 21:20:06 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:06 ---> Running in 1401fa5337fa 21:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:08 (1/1) Installing dumb-init (1.2.5-r2) 21:20:08 Executing busybox-1.35.0-r29.trigger 21:20:08 OK: 8 MiB in 16 packages 21:20:08 Removing intermediate container 1401fa5337fa 21:20:08 ---> 4409965372de 21:20:08 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:09 ---> 6bb4ab94fb62 21:20:09 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:09 ---> 642e05fbeb2a 21:20:09 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:11 ---> 879ff140038a 21:20:11 Step 19/24 : EXPOSE 59989 21:20:11 ---> Running in 30b93e7bb9cc 21:20:11 Removing intermediate container 30b93e7bb9cc 21:20:11 ---> 7fe844d8847a 21:20:11 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:11 ---> Running in 8bf14c227d4e 21:20:12 Removing intermediate container 8bf14c227d4e 21:20:12 ---> eccdbb65b24c 21:20:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:12 ---> Running in 1420b6097d0d 21:20:12 Removing intermediate container 1420b6097d0d 21:20:12 ---> eb310de045cf 21:20:12 Step 22/24 : LABEL arch=arm64 21:20:12 ---> Running in b9e07d09f5fb 21:20:12 Removing intermediate container b9e07d09f5fb 21:20:12 ---> 9d853bdcdf05 21:20:12 Step 23/24 : LABEL git_sha=bfa8d7d695594234803600841a6ae8d1885aeb15 21:20:12 ---> Running in a78cc7ad393c 21:20:13 Removing intermediate container a78cc7ad393c 21:20:13 ---> 82de736ec1b2 21:20:13 Step 24/24 : LABEL version=0.0.0 21:20:13 ---> Running in 64d2b177cb8e 21:20:13 Removing intermediate container 64d2b177cb8e 21:20:13 ---> 7db8864ce58c 21:20:13 [Warning] One or more build-args [ARCH] were not consumed 21:20:13 Successfully built 7db8864ce58c 21:20:13 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:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:13 21:20:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:14 arm64: Pulling from edgex-lftools-log-publisher 21:20:14 8998bd30e6a1: Pulling fs layer 21:20:14 04944245beec: Pulling fs layer 21:20:14 699f458cf7ca: Pulling fs layer 21:20:14 765212b225bb: Pulling fs layer 21:20:14 f23df028b6ca: Pulling fs layer 21:20:14 d65c8cfc05b1: Pulling fs layer 21:20:14 2437ff75d9bd: Pulling fs layer 21:20:14 765212b225bb: Waiting 21:20:14 d65c8cfc05b1: Waiting 21:20:14 f23df028b6ca: Waiting 21:20:14 2437ff75d9bd: Waiting 21:20:14 04944245beec: Verifying Checksum 21:20:14 04944245beec: Download complete 21:20:14 765212b225bb: Verifying Checksum 21:20:14 765212b225bb: Download complete 21:20:14 f23df028b6ca: Verifying Checksum 21:20:14 f23df028b6ca: Download complete 21:20:14 d65c8cfc05b1: Verifying Checksum 21:20:14 d65c8cfc05b1: Download complete 21:20:14 699f458cf7ca: Verifying Checksum 21:20:14 699f458cf7ca: Download complete 21:20:14 8998bd30e6a1: Verifying Checksum 21:20:14 8998bd30e6a1: Download complete 21:20:17 2437ff75d9bd: Verifying Checksum 21:20:17 2437ff75d9bd: Download complete 21:20:18 8998bd30e6a1: Pull complete 21:20:19 04944245beec: Pull complete 21:20:20 699f458cf7ca: Pull complete 21:20:20 765212b225bb: Pull complete 21:20:21 f23df028b6ca: Pull complete 21:20:21 d65c8cfc05b1: Pull complete 21:20:36 2437ff75d9bd: Pull complete 21:20:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:36 prd-ubuntu20.04-docker-arm64-4c-16g-2518 does not seem to be running inside a container 21:20:36 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:39 $ docker top 9ccb48e5466209cc524d8b2cb78f9cd9d76c932e5f0a2c015270c4ab2ef8b5fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:40 ---> job-cost.sh 21:20:40 lf-activate-venv: SKIPPING 21:20:40 INFO: No Stack... 21:20:41 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:42 INFO: Archiving Costs [Pipeline] sh 21:20:42 + cat /w/workspace/device-rfid-llrp-go/4/archives/cost.csv 21:20:42 + cut -d, -f6 [Pipeline] lock 21:20:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] 21:20:42 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] did not exist. Created. 21:20:42 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:43 /w/workspace/device-rfid-llrp-go/4@tmp/durable-e0fafe4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:44 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:44 Warning: overwriting stash ‘stack-cost’ 21:20:44 Stashed 1 file(s) [Pipeline] } 21:20:44 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:44 $ docker stop --time=1 9ccb48e5466209cc524d8b2cb78f9cd9d76c932e5f0a2c015270c4ab2ef8b5fa 21:20:45 $ docker rm -f --volumes 9ccb48e5466209cc524d8b2cb78f9cd9d76c932e5f0a2c015270c4ab2ef8b5fa [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:20:46 provisioning config files... 21:20:46 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config3123831999681845655tmp [Pipeline] { [Pipeline] sh 21:20:46 + set +x 21:20:46 + curl -s https://codecov.io/bash 21:20:46 + bash -s -- 21:20:46 21:20:46 _____ _ 21:20:46 / ____| | | 21:20:46 | | ___ __| | ___ ___ _____ __ 21:20:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:20:46 | |___| (_) | (_| | __/ (_| (_) \ V / 21:20:46 \_____\___/ \__,_|\___|\___\___/ \_/ 21:20:46 Bash-1.0.6 21:20:46 21:20:46 21:20:46 ==> git version 2.25.1 found 21:20:46 ==> 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:20:46 Release-Date: 2020-01-08 21:20:46 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:20:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:20:46 ==> Jenkins CI detected. 21:20:46 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-160 21:20:46 project root: . 21:20:46 --> token set from env 21:20:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:20:46 ==> Running gcov in . (disable via -X gcov) 21:20:46 ==> Python coveragepy not found 21:20:46 ==> Searching for coverage reports in: 21:20:46 + . 21:20:46 -> Found 1 reports 21:20:46 ==> Detecting git/mercurial file structure 21:20:46 ==> Reading reports 21:20:46 + ./coverage.out bytes=457862 21:20:46 ==> Appending adjustments 21:20:46 https://docs.codecov.io/docs/fixing-reports 21:20:46 + Found adjustments 21:20:46 ==> Gzipping contents 21:20:46 52K /tmp/codecov.WCI36n.gz 21:20:46 ==> Uploading reports 21:20:46 url: https://codecov.io 21:20:46 query: branch=PR-160&commit=9879bfdd2ea9b89efb1b365b816b2e2868e514f1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:20:46 -> Pinging Codecov 21:20:46 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=9879bfdd2ea9b89efb1b365b816b2e2868e514f1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:20:46 -> Uploading to 21:20:46 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/581DD39554BDF9B6E22D074273EAD858/9879bfdd2ea9b89efb1b365b816b2e2868e514f1/71793464-554a-4598-9998-0ed3c186b09a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T212046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bed38a21326e0bd31efa28265dcd2f42e7f3f535fadc9b48240984845fa6672 21:20:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:46 Dload Upload Total Spent Left Speed 21:20:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50485 0 0 100 50485 0 175k --:--:-- --:--:-- --:--:-- 175k 21:20:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/9879bfdd2ea9b89efb1b365b816b2e2868e514f1 [Pipeline] } 21:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:20:47 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-160/archives ] 21:20:47 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:47 total 16 21:20:47 drwxr-xr-x 3 root root 4096 Mar 16 21:09 . 21:20:47 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 21:09 .. 21:20:47 drwxr-xr-x 2 root root 4096 Mar 16 21:09 cost 21:20:47 -rw-r--r-- 1 root root 91 Mar 16 21:09 cost.csv 21:20:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:47 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:47 total 16 21:20:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 21:09 . 21:20:47 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 21:09 .. 21:20:47 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 21:09 cost 21:20:47 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:48 ---> package-listing.sh 21:20:48 ++ tr '[:upper:]' '[:lower:]' 21:20:48 ++ facter osfamily 21:20:49 + OS_FAMILY=debian 21:20:49 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-160 21:20:49 + START_PACKAGES=/tmp/packages_start.txt 21:20:49 + END_PACKAGES=/tmp/packages_end.txt 21:20:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:49 + PACKAGES=/tmp/packages_start.txt 21:20:49 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:20:49 + PACKAGES=/tmp/packages_end.txt 21:20:49 + case "${OS_FAMILY}" in 21:20:49 + dpkg -l 21:20:49 + grep '^ii' 21:20:49 + '[' -f /tmp/packages_start.txt ']' 21:20:49 + '[' -f /tmp/packages_end.txt ']' 21:20:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:49 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:20:49 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/ 21:20:49 + 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:20:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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:20:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:50 prd-ubuntu20.04-docker-8c-8g-2514 does not seem to be running inside a container 21:20:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:20:50 $ docker top e7b3fa880b2e56d89ce5314ed49b2477d244bc6e52ab68db5d96bc66624044cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:50 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:51 + ls /var/log/sa-host 21:20:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:51 provisioning config files... 21:20:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config10405631470912287058tmp [Pipeline] { [Pipeline] echo 21:20:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> create-netrc.sh [Pipeline] } 21:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> python-tools-install.sh [Pipeline] echo 21:20:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:20:52 ---> sudo-logs.sh 21:20:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:20:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:20:52 ---> job-cost.sh 21:20:52 lf-activate-venv: SKIPPING 21:20:52 DEBUG: total: 0.2199999988079071 21:20:52 INFO: Retrieving Stack Cost... 21:20:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:53 INFO: Archiving Costs [Pipeline] echo 21:20:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:20:53 ---> logs-deploy.sh 21:20:53 lf-activate-venv: SKIPPING 21:20:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-160/4 21:20:53 INFO: archiving workspace using pattern(s): 21:20:54 Archives upload complete. 21:20:54 INFO: archiving logs to Nexus