Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6d2b0afecc9fa9461215d6e1faf3fff34702740+d994045550ebd1c1180300e153d74141484e57aa (88216c13188981d9a01ba61fb91487517ca3fd92) 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-ssh378865105359058414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5605442698647622503.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2442238397590478802.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5576861096921323867.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-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13765570762505466053.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16783’ Running on prd-ubuntu20.04-docker-8c-8g-16786 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [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-232 # 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 d994045550ebd1c1180300e153d74141484e57aa into PR head commit e6d2b0afecc9fa9461215d6e1faf3fff34702740 > 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 967030e066fcfd8c074863470cf33a44c00bbb4b Checking out Revision 967030e066fcfd8c074863470cf33a44c00bbb4b (PR-232) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d994045550ebd1c1180300e153d74141484e57aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 967030e066fcfd8c074863470cf33a44c00bbb4b # timeout=10 Commit message: "Merge commit 'd994045550ebd1c1180300e153d74141484e57aa' into HEAD" > git rev-list --no-walk e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:12 ========================================================= 21:07:12 EdgeX Global Pipelines Version Info 21:07:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:13 ------------------- 21:07:13 stable info: 21:07:13 ------------------- 21:07:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:13 Message: update stable to v1.0.249 21:07:13 ------------------- 21:07:13 experimental info: 21:07:13 ------------------- 21:07:13 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 967030e066fcfd8c074863470cf33a44c00bbb4b [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 967030e [Pipeline] echo 21:07:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:14 provisioning config files... 21:07:14 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config10523383266768208695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:14 ---> docker-login.sh 21:07:14 nexus3.edgexfoundry.org:10001 21:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:15 Configure a credential helper to remove this warning. See 21:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:15 21:07:15 Login Succeeded 21:07:15 nexus3.edgexfoundry.org:10002 21:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:15 Configure a credential helper to remove this warning. See 21:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:15 21:07:15 Login Succeeded 21:07:15 nexus3.edgexfoundry.org:10003 21:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:15 Configure a credential helper to remove this warning. See 21:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:15 21:07:15 Login Succeeded 21:07:15 nexus3.edgexfoundry.org:10004 21:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:15 Configure a credential helper to remove this warning. See 21:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:15 21:07:15 Login Succeeded 21:07:15 docker.io 21:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:15 Configure a credential helper to remove this warning. See 21:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:15 21:07:15 Login Succeeded 21:07:15 ---> docker-login.sh ends [Pipeline] } 21:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:16 + git rev-list -1 --merges 967030e066fcfd8c074863470cf33a44c00bbb4b~1..967030e066fcfd8c074863470cf33a44c00bbb4b [Pipeline] echo 21:07:16 -----------> git rev-list -1 --merges 967030e066fcfd8c074863470cf33a44c00bbb4b~1..967030e066fcfd8c074863470cf33a44c00bbb4b 967030e066fcfd8c074863470cf33a44c00bbb4b 21:07:16 967030e066fcfd8c074863470cf33a44c00bbb4b [false] [Pipeline] sh 21:07:16 + git log --format=format:%s -1 967030e066fcfd8c074863470cf33a44c00bbb4b [Pipeline] echo 21:07:16 ========================================================= 21:07:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:16 + git log --format=format:%s -1 967030e066fcfd8c074863470cf33a44c00bbb4b [Pipeline] echo 21:07:16 [semverPrep] GIT_COMMIT: 967030e066fcfd8c074863470cf33a44c00bbb4b, Commit Message: Merge commit 'd994045550ebd1c1180300e153d74141484e57aa' into HEAD [Pipeline] echo 21:07:16 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:17 + grep -v github /etc/ssh/ssh_known_hosts 21:07:17 + [ -e /tmp/ssh_known_hosts ] 21:07:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:17 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:17 21:07:17 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:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:17 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:17 b85a868b505f: Pulling fs layer 21:07:17 e2be974225ed: Pulling fs layer 21:07:17 339a4e72a1f5: Pulling fs layer 21:07:17 988bab9f4d93: Pulling fs layer 21:07:17 1469e6f7b9e6: Pulling fs layer 21:07:17 eaf3925da568: Pulling fs layer 21:07:17 bab4dde63d76: Pulling fs layer 21:07:17 bde34c3a00c8: Pulling fs layer 21:07:17 b352a97aabf1: Pulling fs layer 21:07:17 4872d77fe225: Pulling fs layer 21:07:17 5851b861e8e6: Pulling fs layer 21:07:17 1469e6f7b9e6: Waiting 21:07:17 eaf3925da568: Waiting 21:07:17 bab4dde63d76: Waiting 21:07:17 bde34c3a00c8: Waiting 21:07:17 988bab9f4d93: Waiting 21:07:17 b352a97aabf1: Waiting 21:07:17 4872d77fe225: Waiting 21:07:17 5851b861e8e6: Waiting 21:07:17 e2be974225ed: Verifying Checksum 21:07:17 e2be974225ed: Download complete 21:07:17 988bab9f4d93: Verifying Checksum 21:07:17 988bab9f4d93: Download complete 21:07:17 1469e6f7b9e6: Verifying Checksum 21:07:17 1469e6f7b9e6: Download complete 21:07:17 339a4e72a1f5: Verifying Checksum 21:07:17 339a4e72a1f5: Download complete 21:07:17 eaf3925da568: Verifying Checksum 21:07:17 eaf3925da568: Download complete 21:07:18 bde34c3a00c8: Download complete 21:07:18 b352a97aabf1: Download complete 21:07:18 4872d77fe225: Verifying Checksum 21:07:18 4872d77fe225: Download complete 21:07:18 5851b861e8e6: Verifying Checksum 21:07:18 5851b861e8e6: Download complete 21:07:18 b85a868b505f: Verifying Checksum 21:07:18 b85a868b505f: Download complete 21:07:18 bab4dde63d76: Verifying Checksum 21:07:18 bab4dde63d76: Download complete 21:07:19 b85a868b505f: Pull complete 21:07:19 e2be974225ed: Pull complete 21:07:20 339a4e72a1f5: Pull complete 21:07:20 988bab9f4d93: Pull complete 21:07:20 1469e6f7b9e6: Pull complete 21:07:20 eaf3925da568: Pull complete 21:07:22 bab4dde63d76: Pull complete 21:07:22 bde34c3a00c8: Pull complete 21:07:22 b352a97aabf1: Pull complete 21:07:22 4872d77fe225: Pull complete 21:07:22 5851b861e8e6: Pull complete 21:07:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:22 prd-ubuntu20.04-docker-8c-8g-16786 does not seem to be running inside a container 21:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:25 $ docker top 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc -eo pid,comm 21:07:25 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:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:25 [ssh-agent] Looking for ssh-agent implementation... 21:07:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:25 $ docker exec 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc ssh-agent 21:07:25 SSH_AUTH_SOCK=/tmp/ssh-3cQNwsucHuGz/agent.32 21:07:25 SSH_AGENT_PID=38 21:07:25 Running ssh-add (command line suppressed) 21:07:25 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_3547242395051200988.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_3547242395051200988.key) 21:07:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:26 + git tag --points-at HEAD [Pipeline] } 21:07:26 $ docker exec --env ******** --env ******** 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc ssh-agent -k 21:07:26 unset SSH_AUTH_SOCK; 21:07:26 unset SSH_AGENT_PID; 21:07:26 echo Agent pid 38 killed; 21:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:26 [ssh-agent] Looking for ssh-agent implementation... 21:07:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:26 $ docker exec 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc ssh-agent 21:07:26 SSH_AUTH_SOCK=/tmp/ssh-LmuoPqIRkmB3/agent.70 21:07:26 SSH_AGENT_PID=76 21:07:26 Running ssh-add (command line suppressed) 21:07:26 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_15416139015486264019.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_15416139015486264019.key) 21:07:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:26 + git semver init 21:07:27 2023-05-24 21:07:26,996 [run_init] DEBUG init version:0.0.0 force:False 21:07:27 2023-05-24 21:07:26,997 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 21:07:27 2023-05-24 21:07:26,998 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 21:07:27 2023-05-24 21:07:26,998 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232, universal_newlines=False, shell=None, istream=None) 21:07:28 2023-05-24 21:07:27,812 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.git/info/exclude 21:07:28 2023-05-24 21:07:27,813 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 with force:False 21:07:28 2023-05-24 21:07:27,813 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 21:07:28 2023-05-24 21:07:27,817 [execute] INFO git cat-file --batch-check 21:07:28 2023-05-24 21:07:27,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 21:07:28 2023-05-24 21:07:27,822 [execute] INFO git cat-file --batch 21:07:28 2023-05-24 21:07:27,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 21:07:28 2023-05-24 21:07:27,826 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 21:07:28 0.0.0 [Pipeline] } 21:07:28 $ docker exec --env ******** --env ******** 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc ssh-agent -k 21:07:28 unset SSH_AUTH_SOCK; 21:07:28 unset SSH_AGENT_PID; 21:07:28 echo Agent pid 76 killed; 21:07:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:28 + git semver [Pipeline] } 21:07:28 $ docker stop --time=1 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc 21:07:29 $ docker rm -f --volumes 09cf650ade64dbb1a8d27bbd565e5c46045115db3fd9d774258f87c11f4273fc [Pipeline] // withDockerContainer [Pipeline] sh 21:07:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:30 Stashed 1 file(s) [Pipeline] echo 21:07:30 [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:30 provisioning config files... 21:07:30 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config7955063690132418871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:31 ---> docker-login.sh 21:07:31 nexus3.edgexfoundry.org:10001 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 nexus3.edgexfoundry.org:10002 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 nexus3.edgexfoundry.org:10003 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 nexus3.edgexfoundry.org:10004 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 docker.io 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 ---> docker-login.sh ends [Pipeline] } 21:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:31 ========================================================= 21:07:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:31 + 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:31 Sending build context to Docker daemon 4.262MB 21:07:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:31 Step 2/12 : FROM ${BASE} AS builder 21:07:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:31 f56be85fc22e: Pulling fs layer 21:07:31 85791d961cd3: Pulling fs layer 21:07:31 d694b5ae8c79: Pulling fs layer 21:07:31 9f32a84ed3da: Pulling fs layer 21:07:31 4d19c01a9841: Pulling fs layer 21:07:31 9325e15d5711: Pulling fs layer 21:07:31 556b6ee489ea: Pulling fs layer 21:07:31 c5a4b2cf53e6: Pulling fs layer 21:07:31 9f32a84ed3da: Waiting 21:07:31 4d19c01a9841: Waiting 21:07:31 9325e15d5711: Waiting 21:07:31 556b6ee489ea: Waiting 21:07:31 85791d961cd3: Verifying Checksum 21:07:31 85791d961cd3: Download complete 21:07:31 9f32a84ed3da: Verifying Checksum 21:07:31 9f32a84ed3da: Download complete 21:07:31 4d19c01a9841: Verifying Checksum 21:07:31 4d19c01a9841: Download complete 21:07:31 f56be85fc22e: Verifying Checksum 21:07:31 f56be85fc22e: Download complete 21:07:32 9325e15d5711: Verifying Checksum 21:07:32 9325e15d5711: Download complete 21:07:32 f56be85fc22e: Pull complete 21:07:32 85791d961cd3: Pull complete 21:07:32 c5a4b2cf53e6: Verifying Checksum 21:07:32 c5a4b2cf53e6: Download complete 21:07:32 d694b5ae8c79: Verifying Checksum 21:07:32 d694b5ae8c79: Download complete 21:07:32 556b6ee489ea: Verifying Checksum 21:07:32 556b6ee489ea: Download complete 21:07:36 d694b5ae8c79: Pull complete 21:07:36 9f32a84ed3da: Pull complete 21:07:36 4d19c01a9841: Pull complete 21:07:36 9325e15d5711: Pull complete 21:07:38 556b6ee489ea: Pull complete 21:07:39 c5a4b2cf53e6: Pull complete 21:07:39 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:39 ---> c4be618373d6 21:07:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:42 ---> Running in 6ce36f7413d1 21:07:42 Removing intermediate container 6ce36f7413d1 21:07:42 ---> efbc0af96724 21:07:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:42 ---> Running in 3e468351533a 21:07:42 Removing intermediate container 3e468351533a 21:07:42 ---> 70696955cd77 21:07:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:42 ---> Running in 7b5c81b9946a 21:07:42 Removing intermediate container 7b5c81b9946a 21:07:42 ---> 3a222437334e 21:07:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:42 ---> Running in 5f458fda1cc8 21:07:42 Removing intermediate container 5f458fda1cc8 21:07:42 ---> 41ab65167d20 21:07:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:42 ---> Running in 26b1d18cea97 21:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:43 OK: 265 MiB in 53 packages 21:07:43 Removing intermediate container 26b1d18cea97 21:07:43 ---> 2c96f7d1f95c 21:07:43 Step 8/12 : WORKDIR /app 21:07:43 ---> Running in b8f78b56f69a 21:07:43 Removing intermediate container b8f78b56f69a 21:07:43 ---> 9260e9d77037 21:07:43 Step 9/12 : COPY go.mod vendor* ./ 21:07:43 ---> 8a1f44270cda 21:07:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:43 ---> Running in efedc036a4a1 21:07:45 Still waiting to schedule task 21:07:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16784’ 21:08:10 Removing intermediate container efedc036a4a1 21:08:10 ---> 4e8aca50a133 21:08:10 Step 11/12 : COPY . . 21:08:10 ---> acfad57c6b02 21:08:10 Step 12/12 : RUN $MAKE 21:08:10 ---> Running in f340efe6fe2d 21:08:10 noop 21:08:10 Removing intermediate container f340efe6fe2d 21:08:10 ---> aeb547b8e498 21:08:10 Successfully built aeb547b8e498 21:08:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:10 + docker inspect -f . ci-base-image-x86_64 21:08:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:10 prd-ubuntu20.04-docker-8c-8g-16786 does not seem to be running inside a container 21:08:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:11 $ docker top 1b25a573573068635025bd257653c66b06b351c0388f40a48d4c6b1e0bdd1bc7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:11 + go version 21:08:11 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:11 $ docker stop --time=1 1b25a573573068635025bd257653c66b06b351c0388f40a48d4c6b1e0bdd1bc7 21:08:12 $ docker rm -f --volumes 1b25a573573068635025bd257653c66b06b351c0388f40a48d4c6b1e0bdd1bc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:13 + docker inspect -f . ci-base-image-x86_64 21:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:13 prd-ubuntu20.04-docker-8c-8g-16786 does not seem to be running inside a container 21:08:13 $ 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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:13 $ docker top fea9c2d4650ff776c00752d58c0dd0efb4ccc0bf6c4f45f6fe7d3924ac162588 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:14 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] fileExists [Pipeline] sh 21:08:14 + make test 21:08:14 go test ./... -coverprofile=coverage.out ./... 21:08:18 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:32 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.573s coverage: 40.5% of statements 21:08:32 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.244s coverage: 52.0% of statements 21:08:32 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 95.5% of statements 21:08:40 go vet ./... 21:08:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:43 ./bin/test-attribution-txt.sh 21:08:43 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:43 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:43 $ docker stop --time=1 fea9c2d4650ff776c00752d58c0dd0efb4ccc0bf6c4f45f6fe7d3924ac162588 21:08:47 $ docker rm -f --volumes fea9c2d4650ff776c00752d58c0dd0efb4ccc0bf6c4f45f6fe7d3924ac162588 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:49 + ls -al . 21:08:49 total 628 21:08:49 drwxrwxr-x 11 jenkins jenkins 4096 May 24 21:08 . 21:08:49 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:07 .. 21:08:49 -rw-rw-r-- 1 jenkins jenkins 134 May 24 21:07 .dockerignore 21:08:49 drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:07 .git 21:08:49 drwxrwxr-x 3 jenkins jenkins 4096 May 24 21:07 .github 21:08:49 -rw-rw-r-- 1 jenkins jenkins 946 May 24 21:07 .gitignore 21:08:49 -rw-rw-r-- 1 jenkins jenkins 41 May 24 21:07 .golangci.yml 21:08:49 drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:07 .semver 21:08:49 -rw-rw-r-- 1 jenkins jenkins 10794 May 24 21:07 Attribution.txt 21:08:49 -rw-rw-r-- 1 jenkins jenkins 5905 May 24 21:07 CHANGELOG.md 21:08:49 -rw-rw-r-- 1 jenkins jenkins 1347 May 24 21:07 Dockerfile 21:08:49 -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:07 GOVERNANCE.md 21:08:49 -rw-rw-r-- 1 jenkins jenkins 683 May 24 21:07 Jenkinsfile 21:08:49 -rw-rw-r-- 1 jenkins jenkins 11347 May 24 21:07 LICENSE 21:08:49 -rw-rw-r-- 1 jenkins jenkins 2053 May 24 21:07 Makefile 21:08:49 -rw-rw-r-- 1 jenkins jenkins 625 May 24 21:07 OWNERS.md 21:08:49 -rw-rw-r-- 1 jenkins jenkins 28505 May 24 21:07 README.md 21:08:49 -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:07 VERSION 21:08:49 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:07 bin 21:08:49 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:07 cmd 21:08:49 -rw-r--r-- 1 jenkins jenkins 458039 May 24 21:08 coverage.out 21:08:49 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:07 examples 21:08:49 -rw-rw-r-- 1 jenkins jenkins 3419 May 24 21:07 go.mod 21:08:49 -rw-rw-r-- 1 jenkins jenkins 31168 May 24 21:07 go.sum 21:08:49 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:07 images 21:08:49 drwxrwxr-x 5 jenkins jenkins 4096 May 24 21:07 internal 21:08:49 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:07 snap 21:08:49 -rw-rw-r-- 1 jenkins jenkins 193 May 24 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:49 + 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=967030e066fcfd8c074863470cf33a44c00bbb4b --label arch=amd64 --label version=0.0.0 . 21:08:49 Sending build context to Docker daemon 4.262MB 21:08:49 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:49 Step 2/24 : FROM ${BASE} AS builder 21:08:49 ---> aeb547b8e498 21:08:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:49 ---> Running in 8ec03e54d28a 21:08:49 Removing intermediate container 8ec03e54d28a 21:08:49 ---> 8e365330bcfd 21:08:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:49 ---> Running in 87cf4397be4b 21:08:49 Removing intermediate container 87cf4397be4b 21:08:49 ---> 9a63130121a7 21:08:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:49 ---> Running in bd5dac45f559 21:08:49 Removing intermediate container bd5dac45f559 21:08:49 ---> fc58a6e36adb 21:08:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:49 ---> Running in b511004f15fb 21:08:49 Removing intermediate container b511004f15fb 21:08:49 ---> 214e87d19f2d 21:08:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:49 ---> Running in 0aecc5a175b6 21:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:50 OK: 265 MiB in 53 packages 21:08:50 Removing intermediate container 0aecc5a175b6 21:08:50 ---> 0072c33447a2 21:08:50 Step 8/24 : WORKDIR /app 21:08:50 ---> Running in 0572ff1df150 21:08:50 Removing intermediate container 0572ff1df150 21:08:50 ---> b9b218075e02 21:08:50 Step 9/24 : COPY go.mod vendor* ./ 21:08:50 ---> 87e7dd619ae9 21:08:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:50 ---> Running in cede66cd0428 21:08:52 Removing intermediate container cede66cd0428 21:08:52 ---> 738139f62b73 21:08:52 Step 11/24 : COPY . . 21:08:52 ---> d8ac97720607 21:08:52 Step 12/24 : RUN $MAKE 21:08:52 ---> Running in 640368a38eac 21:08:52 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:10 Removing intermediate container 640368a38eac 21:09:10 ---> ed6897db2512 21:09:10 Step 13/24 : FROM alpine:3.17 21:09:10 3.17: Pulling from library/alpine 21:09:10 f56be85fc22e: Already exists 21:09:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:09:10 Status: Downloaded newer image for alpine:3.17 21:09:10 ---> 9ed4aefc74f6 21:09:10 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:10 ---> Running in 1ca08a1e1ab4 21:09:10 Removing intermediate container 1ca08a1e1ab4 21:09:10 ---> 0dde5ab8d365 21:09:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:10 ---> Running in 8600df7028a7 21:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:11 (1/1) Installing dumb-init (1.2.5-r2) 21:09:11 Executing busybox-1.35.0-r29.trigger 21:09:11 OK: 7 MiB in 16 packages 21:09:11 Removing intermediate container 8600df7028a7 21:09:11 ---> c47da23862ae 21:09:11 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:11 ---> 71e76735bf9e 21:09:11 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:12 ---> 12ac64f18482 21:09:12 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:12 ---> 9ec67a05d835 21:09:12 Step 19/24 : EXPOSE 59989 21:09:12 ---> Running in 1cdb4d62002f 21:09:12 Removing intermediate container 1cdb4d62002f 21:09:12 ---> 78192e274ce5 21:09:12 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:12 ---> Running in 203324491f62 21:09:12 Removing intermediate container 203324491f62 21:09:12 ---> 594f20d4ac5a 21:09:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:12 ---> Running in 3048398b6e02 21:09:12 Removing intermediate container 3048398b6e02 21:09:12 ---> 3574b5c4b1ad 21:09:12 Step 22/24 : LABEL arch=amd64 21:09:12 ---> Running in fdb5185cd82d 21:09:13 Removing intermediate container fdb5185cd82d 21:09:13 ---> 37c8502ab2a7 21:09:13 Step 23/24 : LABEL git_sha=967030e066fcfd8c074863470cf33a44c00bbb4b 21:09:13 ---> Running in 770db95f44fa 21:09:13 Removing intermediate container 770db95f44fa 21:09:13 ---> 2173261f6a92 21:09:13 Step 24/24 : LABEL version=0.0.0 21:09:13 ---> Running in ecb09b8f30f3 21:09:13 Removing intermediate container ecb09b8f30f3 21:09:13 ---> 69438ce7665c 21:09:13 [Warning] One or more build-args [ARCH] were not consumed 21:09:13 Successfully built 69438ce7665c 21:09:13 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:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:13 21:09:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:13 latest: Pulling from edgex-lftools-log-publisher 21:09:13 5eb5b503b376: Pulling fs layer 21:09:13 5c69ac0246d0: Pulling fs layer 21:09:13 ec43610c2a17: Pulling fs layer 21:09:13 3a2ae6a8a46f: Pulling fs layer 21:09:13 33b1e0a273af: Pulling fs layer 21:09:13 5d3b04190fa2: Pulling fs layer 21:09:13 2f39f015ded8: Pulling fs layer 21:09:13 33b1e0a273af: Waiting 21:09:13 5d3b04190fa2: Waiting 21:09:13 2f39f015ded8: Waiting 21:09:13 3a2ae6a8a46f: Waiting 21:09:13 5c69ac0246d0: Download complete 21:09:13 3a2ae6a8a46f: Verifying Checksum 21:09:13 3a2ae6a8a46f: Download complete 21:09:13 33b1e0a273af: Verifying Checksum 21:09:13 33b1e0a273af: Download complete 21:09:13 5d3b04190fa2: Verifying Checksum 21:09:13 5d3b04190fa2: Download complete 21:09:13 ec43610c2a17: Verifying Checksum 21:09:13 ec43610c2a17: Download complete 21:09:14 5eb5b503b376: Verifying Checksum 21:09:14 5eb5b503b376: Download complete 21:09:14 2f39f015ded8: Verifying Checksum 21:09:14 2f39f015ded8: Download complete 21:09:15 5eb5b503b376: Pull complete 21:09:15 5c69ac0246d0: Pull complete 21:09:15 ec43610c2a17: Pull complete 21:09:15 3a2ae6a8a46f: Pull complete 21:09:16 33b1e0a273af: Pull complete 21:09:16 5d3b04190fa2: Pull complete 21:09:20 2f39f015ded8: Pull complete 21:09:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:20 prd-ubuntu20.04-docker-8c-8g-16786 does not seem to be running inside a container 21:09:20 $ 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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:23 $ docker top 3a031e550c32677d3f69bfae534acc163cbf6f6e91c0c8dfab5837b845850219 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:23 ---> job-cost.sh 21:09:23 lf-activate-venv: SKIPPING 21:09:23 INFO: No Stack... 21:09:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:24 INFO: Archiving Costs [Pipeline] sh 21:09:24 + cat /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/cost.csv 21:09:24 + cut -d, -f6 [Pipeline] lock 21:09:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] 21:09:24 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] did not exist. Created. 21:09:24 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:25 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:25 Stashed 1 file(s) [Pipeline] } 21:09:25 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:25 $ docker stop --time=1 3a031e550c32677d3f69bfae534acc163cbf6f6e91c0c8dfab5837b845850219 21:09:26 $ docker rm -f --volumes 3a031e550c32677d3f69bfae534acc163cbf6f6e91c0c8dfab5837b845850219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16788 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] { [Pipeline] ws 21:10:15 Running in /w/workspace/device-rfid-llrp-go/4 [Pipeline] { [Pipeline] checkout 21:10:15 Selected Git installation does not exist. Using Default 21:10:15 The recommended git tool is: NONE 21:10:21 using credential edgex-jenkins-ssh 21:10:21 Cloning the remote Git repository 21:10:21 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:21 > git init /w/workspace/device-rfid-llrp-go/4 # timeout=10 21:10:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:22 > git --version # timeout=10 21:10:22 > git --version # 'git version 2.25.1' 21:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:25 Merging remotes/origin/main commit d994045550ebd1c1180300e153d74141484e57aa into PR head commit e6d2b0afecc9fa9461215d6e1faf3fff34702740 21:10:25 Merge succeeded, producing 2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba 21:10:25 Checking out Revision 2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba (PR-232) 21:10:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:25 > git config core.sparsecheckout # timeout=10 21:10:25 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 21:10:25 > git remote # timeout=10 21:10:25 > git config --get remote.origin.url # timeout=10 21:10:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:25 > git merge d994045550ebd1c1180300e153d74141484e57aa # timeout=10 21:10:25 > git rev-parse HEAD^{commit} # timeout=10 21:10:25 > git config core.sparsecheckout # timeout=10 21:10:25 > git checkout -f 2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba # timeout=10 21:10:29 Commit message: "Merge commit 'd994045550ebd1c1180300e153d74141484e57aa' into HEAD" 21:10:29 > git rev-list --no-walk e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:30 Dload Upload Total Spent Left Speed 21:10:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 21:10:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:31 + sudo tee /etc/docker/daemon.new 21:10:31 { 21:10:31 "registry-mirrors": [ 21:10:31 "https://nexus3.edgexfoundry.org:10001" 21:10:31 ], 21:10:31 "bip": "10.250.0.254/24", 21:10:31 "hosts": [ 21:10:31 "tcp://0.0.0.0:5555", 21:10:31 "unix:///var/run/docker.sock" 21:10:31 ], 21:10:31 "mtu": 1458, 21:10:31 "selinux-enabled": true, 21:10:31 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:31 } [Pipeline] sh 21:10:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:50 provisioning config files... 21:10:50 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/4@tmp/config13162965142026389736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:50 ---> docker-login.sh 21:10:50 nexus3.edgexfoundry.org:10001 21:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:51 Configure a credential helper to remove this warning. See 21:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:51 21:10:51 Login Succeeded 21:10:51 nexus3.edgexfoundry.org:10002 21:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:51 Configure a credential helper to remove this warning. See 21:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:51 21:10:51 Login Succeeded 21:10:51 nexus3.edgexfoundry.org:10003 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 nexus3.edgexfoundry.org:10004 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 docker.io 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:53 Configure a credential helper to remove this warning. See 21:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:53 21:10:53 Login Succeeded 21:10:53 ---> docker-login.sh ends [Pipeline] } 21:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 ========================================================= 21:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + 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:10:54 Sending build context to Docker daemon 1.212MB 21:10:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:10:54 Step 2/12 : FROM ${BASE} AS builder 21:10:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:54 c41833b44d91: Pulling fs layer 21:10:54 ed15518f5707: Pulling fs layer 21:10:54 feae8fd75edb: Pulling fs layer 21:10:54 242c74f7c9fa: Pulling fs layer 21:10:54 3cdef696dda3: Pulling fs layer 21:10:54 2ced38df9373: Pulling fs layer 21:10:54 58f1dce35555: Pulling fs layer 21:10:54 242c74f7c9fa: Waiting 21:10:54 3cdef696dda3: Waiting 21:10:54 2ced38df9373: Waiting 21:10:54 58f1dce35555: Waiting 21:10:54 ed15518f5707: Verifying Checksum 21:10:54 ed15518f5707: Download complete 21:10:54 242c74f7c9fa: Verifying Checksum 21:10:54 242c74f7c9fa: Download complete 21:10:54 3cdef696dda3: Verifying Checksum 21:10:54 3cdef696dda3: Download complete 21:10:54 c41833b44d91: Download complete 21:10:56 c41833b44d91: Pull complete 21:10:56 58f1dce35555: Verifying Checksum 21:10:56 58f1dce35555: Download complete 21:10:56 ed15518f5707: Pull complete 21:10:57 feae8fd75edb: Verifying Checksum 21:10:57 feae8fd75edb: Download complete 21:10:57 2ced38df9373: Verifying Checksum 21:10:57 2ced38df9373: Download complete 21:11:09 feae8fd75edb: Pull complete 21:11:09 242c74f7c9fa: Pull complete 21:11:09 3cdef696dda3: Pull complete 21:11:15 2ced38df9373: Pull complete 21:11:17 58f1dce35555: Pull complete 21:11:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:11:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:17 ---> fadd8f120f05 21:11:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:19 ---> Running in f564a4cb6829 21:11:19 Removing intermediate container f564a4cb6829 21:11:19 ---> 0dc805056c3f 21:11:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:19 ---> Running in f33cf93cc6c9 21:11:20 Removing intermediate container f33cf93cc6c9 21:11:20 ---> 586bc65fb1c4 21:11:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:20 ---> Running in 7d88400ecb34 21:11:20 Removing intermediate container 7d88400ecb34 21:11:20 ---> dd9076f72b4d 21:11:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:20 ---> Running in e46ee46a784c 21:11:20 Removing intermediate container e46ee46a784c 21:11:20 ---> 10c1b886f037 21:11:20 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:20 ---> Running in b77e5f139542 21:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:23 OK: 263 MiB in 53 packages 21:11:24 Removing intermediate container b77e5f139542 21:11:24 ---> b8948f2790ac 21:11:24 Step 8/12 : WORKDIR /app 21:11:24 ---> Running in 59688ca3f726 21:11:25 Removing intermediate container 59688ca3f726 21:11:25 ---> e0e989fa874a 21:11:25 Step 9/12 : COPY go.mod vendor* ./ 21:11:25 ---> 77ac6515099f 21:11:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:25 ---> Running in 46f8cee2341e 21:12:33 Removing intermediate container 46f8cee2341e 21:12:33 ---> 11b6580a8315 21:12:33 Step 11/12 : COPY . . 21:12:33 ---> 4208c0e0d20c 21:12:33 Step 12/12 : RUN $MAKE 21:12:33 ---> Running in 9d960f84845e 21:12:33 noop 21:12:33 Removing intermediate container 9d960f84845e 21:12:33 ---> 5eafae462721 21:12:33 Successfully built 5eafae462721 21:12:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:34 + docker inspect -f . ci-base-image-arm64 21:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:34 prd-ubuntu20.04-docker-arm64-4c-16g-16788 does not seem to be running inside a container 21:12:34 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:12:35 $ docker top dc8bc8d953013b3bbc28f0d6142d095c949fd6a1969871d27450f29346be579a -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:36 + go version 21:12:36 go version go1.20.2 linux/arm64 [Pipeline] } 21:12:36 $ docker stop --time=1 dc8bc8d953013b3bbc28f0d6142d095c949fd6a1969871d27450f29346be579a 21:12:38 $ docker rm -f --volumes dc8bc8d953013b3bbc28f0d6142d095c949fd6a1969871d27450f29346be579a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:38 + docker inspect -f . ci-base-image-arm64 21:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:38 prd-ubuntu20.04-docker-arm64-4c-16g-16788 does not seem to be running inside a container 21:12:38 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:12:40 $ docker top 5804a951e7cf8038260b1e8549b0c7d54a6f6e62b8f3e0104cac930bfafc5e5e -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:40 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/4 [Pipeline] fileExists [Pipeline] sh 21:12:41 + make test 21:12:41 go test ./... -coverprofile=coverage.out ./... 21:13:20 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:15:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:15:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:16:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 32.028s coverage: 40.5% of statements 21:16:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.589s coverage: 51.9% of statements 21:16:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.069s coverage: 96.4% of statements 21:16:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:16:05 go vet ./... 21:16:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:32 ./bin/test-attribution-txt.sh 21:16:32 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:16:32 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:32 $ docker stop --time=1 5804a951e7cf8038260b1e8549b0c7d54a6f6e62b8f3e0104cac930bfafc5e5e 21:16:34 $ docker rm -f --volumes 5804a951e7cf8038260b1e8549b0c7d54a6f6e62b8f3e0104cac930bfafc5e5e [Pipeline] // withDockerContainer [Pipeline] sh 21:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:35 Warning: overwriting stash ‘coverage-report’ 21:16:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:37 + ls -al . 21:16:37 total 624 21:16:37 drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:12 . 21:16:37 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:10 .. 21:16:37 -rw-rw-r-- 1 jenkins jenkins 134 May 24 21:10 .dockerignore 21:16:37 drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:10 .git 21:16:37 drwxrwxr-x 3 jenkins jenkins 4096 May 24 21:10 .github 21:16:37 -rw-rw-r-- 1 jenkins jenkins 946 May 24 21:10 .gitignore 21:16:37 -rw-rw-r-- 1 jenkins jenkins 41 May 24 21:10 .golangci.yml 21:16:37 -rw-rw-r-- 1 jenkins jenkins 10794 May 24 21:10 Attribution.txt 21:16:37 -rw-rw-r-- 1 jenkins jenkins 5905 May 24 21:10 CHANGELOG.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 1347 May 24 21:10 Dockerfile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:10 GOVERNANCE.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 683 May 24 21:10 Jenkinsfile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 11347 May 24 21:10 LICENSE 21:16:37 -rw-rw-r-- 1 jenkins jenkins 2053 May 24 21:10 Makefile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 625 May 24 21:10 OWNERS.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 28505 May 24 21:10 README.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:07 VERSION 21:16:37 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:10 bin 21:16:37 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:10 cmd 21:16:37 -rw-r--r-- 1 jenkins jenkins 458039 May 24 21:16 coverage.out 21:16:37 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:10 examples 21:16:37 -rw-rw-r-- 1 jenkins jenkins 3419 May 24 21:10 go.mod 21:16:37 -rw-rw-r-- 1 jenkins jenkins 31168 May 24 21:10 go.sum 21:16:37 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:10 images 21:16:37 drwxrwxr-x 5 jenkins jenkins 4096 May 24 21:10 internal 21:16:37 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:10 snap 21:16:37 -rw-rw-r-- 1 jenkins jenkins 193 May 24 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:37 + 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=2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba --label arch=arm64 --label version=0.0.0 . 21:16:38 Sending build context to Docker daemon 1.212MB 21:16:38 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:16:38 Step 2/24 : FROM ${BASE} AS builder 21:16:38 ---> 5eafae462721 21:16:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:16:38 ---> Running in 17d58288938f 21:16:38 Removing intermediate container 17d58288938f 21:16:38 ---> 9668d55bb671 21:16:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:38 ---> Running in a41490038524 21:16:38 Removing intermediate container a41490038524 21:16:38 ---> 6a9acccbdbe8 21:16:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:16:38 ---> Running in 67fd830fc63e 21:16:39 Removing intermediate container 67fd830fc63e 21:16:39 ---> 2e762fdf5954 21:16:39 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:16:39 ---> Running in 01a6e278726e 21:16:39 Removing intermediate container 01a6e278726e 21:16:39 ---> fd66df68d0ed 21:16:39 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:39 ---> Running in 7b47d170ce35 21:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:42 OK: 263 MiB in 53 packages 21:16:43 Removing intermediate container 7b47d170ce35 21:16:43 ---> b3019997be11 21:16:43 Step 8/24 : WORKDIR /app 21:16:43 ---> Running in 4d35f11c2eca 21:16:44 Removing intermediate container 4d35f11c2eca 21:16:44 ---> 9ec3c291d41e 21:16:44 Step 9/24 : COPY go.mod vendor* ./ 21:16:44 ---> 282f88d7c238 21:16:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:44 ---> Running in fd2605aff22b 21:16:50 Removing intermediate container fd2605aff22b 21:16:50 ---> 41589021008d 21:16:50 Step 11/24 : COPY . . 21:16:50 ---> 55dceb06c907 21:16:50 Step 12/24 : RUN $MAKE 21:16:50 ---> Running in 676c51bd986e 21:16:51 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:19:13 Removing intermediate container 676c51bd986e 21:19:13 ---> c9cb727a4250 21:19:13 Step 13/24 : FROM alpine:3.17 21:19:13 3.17: Pulling from library/alpine 21:19:13 c41833b44d91: Already exists 21:19:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:19:13 Status: Downloaded newer image for alpine:3.17 21:19:13 ---> 51e60588ff2c 21:19:13 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:19:13 ---> Running in 9fd6ba3aca95 21:19:13 Removing intermediate container 9fd6ba3aca95 21:19:13 ---> af21ee1bd9f3 21:19:13 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:19:13 ---> Running in a96e4734af0d 21:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:19:14 (1/1) Installing dumb-init (1.2.5-r2) 21:19:14 Executing busybox-1.35.0-r29.trigger 21:19:15 OK: 8 MiB in 16 packages 21:19:18 Removing intermediate container a96e4734af0d 21:19:18 ---> 421864416d43 21:19:18 Step 16/24 : COPY --from=builder /app/LICENSE / 21:19:18 ---> 69d0ec3a91af 21:19:18 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:19:19 ---> 92857eef707f 21:19:19 Step 18/24 : COPY --from=builder /app/cmd/ / 21:19:20 ---> 490a68d37f5c 21:19:20 Step 19/24 : EXPOSE 59989 21:19:20 ---> Running in 57fa5c91260e 21:19:21 Removing intermediate container 57fa5c91260e 21:19:21 ---> 7d912336f439 21:19:21 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:19:21 ---> Running in ea5fd1124a39 21:19:21 Removing intermediate container ea5fd1124a39 21:19:21 ---> 6b3cec153e05 21:19:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:19:21 ---> Running in 60b9f1a223e7 21:19:21 Removing intermediate container 60b9f1a223e7 21:19:21 ---> 3b0ea5afb70d 21:19:21 Step 22/24 : LABEL arch=arm64 21:19:21 ---> Running in 0354e01079ce 21:19:22 Removing intermediate container 0354e01079ce 21:19:22 ---> 76258e78526a 21:19:22 Step 23/24 : LABEL git_sha=2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba 21:19:22 ---> Running in df4cc2fb0c63 21:19:22 Removing intermediate container df4cc2fb0c63 21:19:22 ---> c2b61dd9d98c 21:19:22 Step 24/24 : LABEL version=0.0.0 21:19:22 ---> Running in 1db2af6f3af6 21:19:23 Removing intermediate container 1db2af6f3af6 21:19:23 ---> 4f94000331b3 21:19:23 [Warning] One or more build-args [ARCH] were not consumed 21:19:23 Successfully built 4f94000331b3 21:19:23 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:19:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:23 21:19:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:23 arm64: Pulling from edgex-lftools-log-publisher 21:19:23 8998bd30e6a1: Pulling fs layer 21:19:23 04944245beec: Pulling fs layer 21:19:23 699f458cf7ca: Pulling fs layer 21:19:23 765212b225bb: Pulling fs layer 21:19:23 f23df028b6ca: Pulling fs layer 21:19:23 d65c8cfc05b1: Pulling fs layer 21:19:23 2437ff75d9bd: Pulling fs layer 21:19:23 765212b225bb: Waiting 21:19:23 d65c8cfc05b1: Waiting 21:19:23 2437ff75d9bd: Waiting 21:19:23 f23df028b6ca: Waiting 21:19:24 04944245beec: Verifying Checksum 21:19:24 04944245beec: Download complete 21:19:24 765212b225bb: Verifying Checksum 21:19:24 765212b225bb: Download complete 21:19:24 f23df028b6ca: Download complete 21:19:24 d65c8cfc05b1: Download complete 21:19:24 699f458cf7ca: Verifying Checksum 21:19:24 699f458cf7ca: Download complete 21:19:24 8998bd30e6a1: Download complete 21:19:27 2437ff75d9bd: Verifying Checksum 21:19:27 2437ff75d9bd: Download complete 21:19:28 8998bd30e6a1: Pull complete 21:19:32 04944245beec: Pull complete 21:19:33 699f458cf7ca: Pull complete 21:19:33 765212b225bb: Pull complete 21:19:34 f23df028b6ca: Pull complete 21:19:34 d65c8cfc05b1: Pull complete 21:19:49 2437ff75d9bd: Pull complete 21:19:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:49 prd-ubuntu20.04-docker-arm64-4c-16g-16788 does not seem to be running inside a container 21:19:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:19:52 $ docker top 9f695c00472cac4c617a107540ea310b8ca384373deb3916ceb1c8989783b86d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:53 ---> job-cost.sh 21:19:53 lf-activate-venv: SKIPPING 21:19:53 INFO: No Stack... 21:19:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:19:55 INFO: Archiving Costs [Pipeline] sh 21:19:55 + cut -d, -f6 21:19:55 + cat /w/workspace/device-rfid-llrp-go/4/archives/cost.csv [Pipeline] lock 21:19:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] 21:19:55 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] did not exist. Created. 21:19:55 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:56 /w/workspace/device-rfid-llrp-go/4@tmp/durable-edfc0e60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:19:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:19:57 Warning: overwriting stash ‘stack-cost’ 21:19:57 Stashed 1 file(s) [Pipeline] } 21:19:57 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:57 $ docker stop --time=1 9f695c00472cac4c617a107540ea310b8ca384373deb3916ceb1c8989783b86d 21:19:58 $ docker rm -f --volumes 9f695c00472cac4c617a107540ea310b8ca384373deb3916ceb1c8989783b86d [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:19:59 provisioning config files... 21:19:59 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config15902149832626132744tmp [Pipeline] { [Pipeline] sh 21:19:59 + set +x 21:19:59 + + bashcurl -s -s -- https://codecov.io/bash 21:19:59 21:19:59 21:19:59 _____ _ 21:19:59 / ____| | | 21:19:59 | | ___ __| | ___ ___ _____ __ 21:19:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:19:59 | |___| (_) | (_| | __/ (_| (_) \ V / 21:19:59 \_____\___/ \__,_|\___|\___\___/ \_/ 21:19:59 Bash-1.0.6 21:19:59 21:19:59 21:19:59 ==> git version 2.25.1 found 21:19:59 ==> 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:19:59 Release-Date: 2020-01-08 21:19:59 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:19:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:19:59 ==> Jenkins CI detected. 21:19:59 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-232 21:19:59 project root: . 21:19:59 --> token set from env 21:19:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:19:59 ==> Running gcov in . (disable via -X gcov) 21:19:59 ==> Python coveragepy not found 21:19:59 ==> Searching for coverage reports in: 21:19:59 + . 21:19:59 -> Found 1 reports 21:19:59 ==> Detecting git/mercurial file structure 21:19:59 ==> Reading reports 21:19:59 + ./coverage.out bytes=458039 21:19:59 ==> Appending adjustments 21:19:59 https://docs.codecov.io/docs/fixing-reports 21:19:59 + Found adjustments 21:19:59 ==> Gzipping contents 21:19:59 52K /tmp/codecov.KRbzBO.gz 21:19:59 ==> Uploading reports 21:19:59 url: https://codecov.io 21:19:59 query: branch=PR-232&commit=967030e066fcfd8c074863470cf33a44c00bbb4b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 21:19:59 -> Pinging Codecov 21:19:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-232&commit=967030e066fcfd8c074863470cf33a44c00bbb4b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 21:19:59 -> Uploading to 21:19:59 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/581DD39554BDF9B6E22D074273EAD858/967030e066fcfd8c074863470cf33a44c00bbb4b/fb4f6a17-598d-4455-bd45-f55e42388579.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T211959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef42ca51e1dad8374cc8d1fd8aadfd880a9cf043cd22fc007100e709e42b8782 21:19:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:59 Dload Upload Total Spent Left Speed 21:20:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50481 0 0 100 50481 0 176k --:--:-- --:--:-- --:--:-- 176k 21:20:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/967030e066fcfd8c074863470cf33a44c00bbb4b [Pipeline] } 21:20:00 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:00 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-232/archives ] 21:20:00 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 21:20:00 total 16 21:20:00 drwxr-xr-x 3 root root 4096 May 24 21:09 . 21:20:00 drwxrwxr-x 12 jenkins jenkins 4096 May 24 21:09 .. 21:20:00 drwxr-xr-x 2 root root 4096 May 24 21:09 cost 21:20:00 -rw-r--r-- 1 root root 91 May 24 21:09 cost.csv 21:20:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 21:20:00 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 21:20:00 total 16 21:20:00 drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:09 . 21:20:00 drwxrwxr-x 12 jenkins jenkins 4096 May 24 21:09 .. 21:20:00 drwxr-xr-x 2 jenkins jenkins 4096 May 24 21:09 cost 21:20:00 -rw-r--r-- 1 jenkins jenkins 91 May 24 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:02 ---> package-listing.sh 21:20:02 ++ facter osfamily 21:20:02 ++ tr '[:upper:]' '[:lower:]' 21:20:02 + OS_FAMILY=debian 21:20:02 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-232 21:20:02 + START_PACKAGES=/tmp/packages_start.txt 21:20:02 + END_PACKAGES=/tmp/packages_end.txt 21:20:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:02 + PACKAGES=/tmp/packages_start.txt 21:20:02 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 21:20:02 + PACKAGES=/tmp/packages_end.txt 21:20:02 + case "${OS_FAMILY}" in 21:20:02 + dpkg -l 21:20:02 + grep '^ii' 21:20:02 + '[' -f /tmp/packages_start.txt ']' 21:20:02 + '[' -f /tmp/packages_end.txt ']' 21:20:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:02 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 21:20:02 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ 21:20:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ [Pipeline] echo 21:20:02 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:20:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:03 prd-ubuntu20.04-docker-8c-8g-16786 does not seem to be running inside a container 21:20:03 $ 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-232/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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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:20:03 $ docker top 0155bf160162c71af923b205a14bef21e09a76fe42afee65f396a7229fd59a30 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:04 + ls /var/log/sa-host 21:20:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:04 provisioning config files... 21:20:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config12531725485014089531tmp [Pipeline] { [Pipeline] echo 21:20:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:04 ---> create-netrc.sh [Pipeline] } 21:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:05 ---> python-tools-install.sh [Pipeline] echo 21:20:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:20:05 ---> sudo-logs.sh 21:20:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:20:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:20:05 ---> job-cost.sh 21:20:05 lf-activate-venv: SKIPPING 21:20:05 DEBUG: total: 0.2199999988079071 21:20:05 INFO: Retrieving Stack Cost... 21:20:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:06 INFO: Archiving Costs [Pipeline] echo 21:20:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:20:06 ---> logs-deploy.sh 21:20:06 lf-activate-venv: SKIPPING 21:20:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-232/4 21:20:06 INFO: archiving workspace using pattern(s): 21:20:07 Archives upload complete. 21:20:07 INFO: archiving logs to Nexus