Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f39821064733ecd064f980dc07cd44a264f8663+8c4faf22c76813cb553a4db765edf9e1791a6a7e (00394a6447174357c8408642c5d955d40928716b) 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-ssh3295472363653582014.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2644966294750648239.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-166/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-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16953051587860399467.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6804781493706741864.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-166/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-166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9507581044560913982.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2516 in /w/workspace/undry_device-rfid-llrp-go_PR-166 [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-166 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8c4faf22c76813cb553a4db765edf9e1791a6a7e into PR head commit 4f39821064733ecd064f980dc07cd44a264f8663 Merge succeeded, producing febfea3274f5273c6479caff437bd54a37fe28c2 Checking out Revision febfea3274f5273c6479caff437bd54a37fe28c2 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f39821064733ecd064f980dc07cd44a264f8663 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8c4faf22c76813cb553a4db765edf9e1791a6a7e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f febfea3274f5273c6479caff437bd54a37fe28c2 # timeout=10 Commit message: "Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 43859025f09604ba9f5cf6aacd8eb56a6d955f2a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:59 ========================================================= 21:07:59 EdgeX Global Pipelines Version Info 21:07:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:08:00 ------------------- 21:08:00 stable info: 21:08:00 ------------------- 21:08:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:08:00 Message: update stable to v1.0.245 21:08:00 ------------------- 21:08:00 experimental info: 21:08:00 ------------------- 21:08:00 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:00 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 21:08:00 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = febfea3274f5273c6479caff437bd54a37fe28c2 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = febfea3 [Pipeline] echo 21:08:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:01 provisioning config files... 21:08:01 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config4780203498332826844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:01 ---> docker-login.sh 21:08:01 nexus3.edgexfoundry.org:10001 21:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:02 Configure a credential helper to remove this warning. See 21:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:02 21:08:02 Login Succeeded 21:08:02 nexus3.edgexfoundry.org:10002 21:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:02 Configure a credential helper to remove this warning. See 21:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:02 21:08:02 Login Succeeded 21:08:02 nexus3.edgexfoundry.org:10003 21:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:02 Configure a credential helper to remove this warning. See 21:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:02 21:08:02 Login Succeeded 21:08:02 nexus3.edgexfoundry.org:10004 21:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:02 Configure a credential helper to remove this warning. See 21:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:02 21:08:02 Login Succeeded 21:08:02 docker.io 21:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:02 Configure a credential helper to remove this warning. See 21:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:02 21:08:02 Login Succeeded 21:08:02 ---> docker-login.sh ends [Pipeline] } 21:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:02 + git rev-list -1 --merges febfea3274f5273c6479caff437bd54a37fe28c2~1..febfea3274f5273c6479caff437bd54a37fe28c2 [Pipeline] echo 21:08:03 -----------> git rev-list -1 --merges febfea3274f5273c6479caff437bd54a37fe28c2~1..febfea3274f5273c6479caff437bd54a37fe28c2 febfea3274f5273c6479caff437bd54a37fe28c2 21:08:03 febfea3274f5273c6479caff437bd54a37fe28c2 [false] [Pipeline] sh 21:08:03 + git log --format=format:%s -1 febfea3274f5273c6479caff437bd54a37fe28c2 [Pipeline] echo 21:08:03 ========================================================= 21:08:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:03 + git log --format=format:%s -1 febfea3274f5273c6479caff437bd54a37fe28c2 [Pipeline] echo 21:08:03 [semverPrep] GIT_COMMIT: febfea3274f5273c6479caff437bd54a37fe28c2, Commit Message: Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD [Pipeline] echo 21:08:03 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:04 + grep -v github /etc/ssh/ssh_known_hosts 21:08:04 + [ -e /tmp/ssh_known_hosts ] 21:08:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:04 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:04 21:08:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:04 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:04 b85a868b505f: Pulling fs layer 21:08:04 e2be974225ed: Pulling fs layer 21:08:04 339a4e72a1f5: Pulling fs layer 21:08:04 988bab9f4d93: Pulling fs layer 21:08:04 1469e6f7b9e6: Pulling fs layer 21:08:04 eaf3925da568: Pulling fs layer 21:08:04 bab4dde63d76: Pulling fs layer 21:08:04 bde34c3a00c8: Pulling fs layer 21:08:04 b352a97aabf1: Pulling fs layer 21:08:04 4872d77fe225: Pulling fs layer 21:08:04 5851b861e8e6: Pulling fs layer 21:08:04 988bab9f4d93: Waiting 21:08:04 1469e6f7b9e6: Waiting 21:08:04 b352a97aabf1: Waiting 21:08:04 eaf3925da568: Waiting 21:08:04 bab4dde63d76: Waiting 21:08:04 4872d77fe225: Waiting 21:08:04 5851b861e8e6: Waiting 21:08:04 e2be974225ed: Verifying Checksum 21:08:04 e2be974225ed: Download complete 21:08:04 988bab9f4d93: Download complete 21:08:04 1469e6f7b9e6: Verifying Checksum 21:08:04 1469e6f7b9e6: Download complete 21:08:04 339a4e72a1f5: Verifying Checksum 21:08:04 339a4e72a1f5: Download complete 21:08:04 eaf3925da568: Verifying Checksum 21:08:04 eaf3925da568: Download complete 21:08:04 bde34c3a00c8: Verifying Checksum 21:08:04 bde34c3a00c8: Download complete 21:08:04 b352a97aabf1: Verifying Checksum 21:08:04 b352a97aabf1: Download complete 21:08:04 4872d77fe225: Verifying Checksum 21:08:04 4872d77fe225: Download complete 21:08:04 5851b861e8e6: Verifying Checksum 21:08:04 5851b861e8e6: Download complete 21:08:04 b85a868b505f: Verifying Checksum 21:08:04 b85a868b505f: Download complete 21:08:05 bab4dde63d76: Verifying Checksum 21:08:05 bab4dde63d76: Download complete 21:08:06 b85a868b505f: Pull complete 21:08:06 e2be974225ed: Pull complete 21:08:06 339a4e72a1f5: Pull complete 21:08:06 988bab9f4d93: Pull complete 21:08:07 1469e6f7b9e6: Pull complete 21:08:07 eaf3925da568: Pull complete 21:08:09 bab4dde63d76: Pull complete 21:08:09 bde34c3a00c8: Pull complete 21:08:09 b352a97aabf1: Pull complete 21:08:09 4872d77fe225: Pull complete 21:08:09 5851b861e8e6: Pull complete 21:08:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:09 prd-ubuntu20.04-docker-8c-8g-2516 does not seem to be running inside a container 21:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-166 -v /w/workspace/undry_device-rfid-llrp-go_PR-166:/w/workspace/undry_device-rfid-llrp-go_PR-166:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:08:11 $ docker top 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 -eo pid,comm 21:08:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:12 [ssh-agent] Looking for ssh-agent implementation... 21:08:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:12 $ docker exec 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 ssh-agent 21:08:12 SSH_AUTH_SOCK=/tmp/ssh-LiWfoIOyKdkW/agent.33 21:08:12 SSH_AGENT_PID=40 21:08:12 Running ssh-add (command line suppressed) 21:08:12 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_13517212266673332514.key (/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_13517212266673332514.key) 21:08:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:12 + git tag --points-at HEAD [Pipeline] } 21:08:12 $ docker exec --env ******** --env ******** 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 ssh-agent -k 21:08:12 unset SSH_AUTH_SOCK; 21:08:12 unset SSH_AGENT_PID; 21:08:12 echo Agent pid 40 killed; 21:08:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:12 [ssh-agent] Looking for ssh-agent implementation... 21:08:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:12 $ docker exec 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 ssh-agent 21:08:13 SSH_AUTH_SOCK=/tmp/ssh-62vQRh2N92Jh/agent.72 21:08:13 SSH_AGENT_PID=78 21:08:13 Running ssh-add (command line suppressed) 21:08:13 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_2262840551854810874.key (/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_2262840551854810874.key) 21:08:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:13 + git semver init 21:08:13 2023-03-16 21:08:13,627 [run_init] DEBUG init version:0.0.0 force:False 21:08:13 2023-03-16 21:08:13,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver 21:08:13 2023-03-16 21:08:13,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-166/.semver 21:08:13 2023-03-16 21:08:13,628 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-166, universal_newlines=False, shell=None, istream=None) 21:08:14 2023-03-16 21:08:14,384 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-166/.git/info/exclude 21:08:14 2023-03-16 21:08:14,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver/PR-166 with force:False 21:08:14 2023-03-16 21:08:14,384 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver/PR-166 21:08:14 2023-03-16 21:08:14,389 [execute] INFO git cat-file --batch-check 21:08:14 2023-03-16 21:08:14,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver, universal_newlines=False, shell=None, istream=) 21:08:14 2023-03-16 21:08:14,395 [execute] INFO git cat-file --batch 21:08:14 2023-03-16 21:08:14,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver, universal_newlines=False, shell=None, istream=) 21:08:14 2023-03-16 21:08:14,399 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-166/.semver/PR-166 21:08:14 0.0.0 [Pipeline] } 21:08:14 $ docker exec --env ******** --env ******** 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 ssh-agent -k 21:08:14 unset SSH_AUTH_SOCK; 21:08:14 unset SSH_AGENT_PID; 21:08:14 echo Agent pid 78 killed; 21:08:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:15 + git semver [Pipeline] } 21:08:15 $ docker stop --time=1 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 21:08:16 $ docker rm -f --volumes 7d21fffeeb720a17d7c7da98712a7d3b4f3d7f19056cbf13e2d40cbf6bdaf036 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:17 Stashed 1 file(s) [Pipeline] echo 21:08:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:17 provisioning config files... 21:08:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config6312786402832440987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:17 ---> docker-login.sh 21:08:17 nexus3.edgexfoundry.org:10001 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 nexus3.edgexfoundry.org:10002 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 nexus3.edgexfoundry.org:10003 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 nexus3.edgexfoundry.org:10004 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 docker.io 21:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:18 Configure a credential helper to remove this warning. See 21:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:18 21:08:18 Login Succeeded 21:08:18 ---> docker-login.sh ends [Pipeline] } 21:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:18 ========================================================= 21:08:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:08:18 Sending build context to Docker daemon 4.19MB 21:08:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:08:18 Step 2/12 : FROM ${BASE} AS builder 21:08:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:18 63b65145d645: Pulling fs layer 21:08:18 a2d21d5440eb: Pulling fs layer 21:08:18 935e6c44a52c: Pulling fs layer 21:08:18 94cc34f8dd06: Pulling fs layer 21:08:18 30dea6a524f1: Pulling fs layer 21:08:18 a2aff8979fd8: Pulling fs layer 21:08:18 6808be2612f2: Pulling fs layer 21:08:18 f25807f1079a: Pulling fs layer 21:08:18 94cc34f8dd06: Waiting 21:08:18 a2aff8979fd8: Waiting 21:08:18 30dea6a524f1: Waiting 21:08:18 6808be2612f2: Waiting 21:08:18 f25807f1079a: Waiting 21:08:18 a2d21d5440eb: Download complete 21:08:18 94cc34f8dd06: Verifying Checksum 21:08:18 94cc34f8dd06: Download complete 21:08:18 30dea6a524f1: Verifying Checksum 21:08:18 30dea6a524f1: Download complete 21:08:18 63b65145d645: Verifying Checksum 21:08:18 63b65145d645: Download complete 21:08:18 a2aff8979fd8: Verifying Checksum 21:08:18 a2aff8979fd8: Download complete 21:08:19 63b65145d645: Pull complete 21:08:19 a2d21d5440eb: Pull complete 21:08:19 f25807f1079a: Verifying Checksum 21:08:19 f25807f1079a: Download complete 21:08:19 935e6c44a52c: Verifying Checksum 21:08:19 935e6c44a52c: Download complete 21:08:19 6808be2612f2: Verifying Checksum 21:08:19 6808be2612f2: Download complete 21:08:22 935e6c44a52c: Pull complete 21:08:22 94cc34f8dd06: Pull complete 21:08:23 30dea6a524f1: Pull complete 21:08:23 a2aff8979fd8: Pull complete 21:08:25 6808be2612f2: Pull complete 21:08:26 f25807f1079a: Pull complete 21:08:26 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:26 ---> 3b553350e43f 21:08:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:30 ---> Running in ea9bd9740b4c 21:08:30 Removing intermediate container ea9bd9740b4c 21:08:30 ---> 80eb05980c2f 21:08:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:30 ---> Running in 9610ea602680 21:08:30 Removing intermediate container 9610ea602680 21:08:30 ---> b80c3e31c5e4 21:08:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:30 ---> Running in 1c78b081eff8 21:08:30 Removing intermediate container 1c78b081eff8 21:08:30 ---> 2bcfb9792788 21:08:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:30 ---> Running in 861bc2506733 21:08:30 Removing intermediate container 861bc2506733 21:08:30 ---> e3c6790b47c5 21:08:30 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:30 ---> Running in da450c394f3c 21:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:30 OK: 265 MiB in 53 packages 21:08:31 Removing intermediate container da450c394f3c 21:08:31 ---> 26be45aa880a 21:08:31 Step 8/12 : WORKDIR /app 21:08:31 ---> Running in 6790024bba20 21:08:31 Removing intermediate container 6790024bba20 21:08:31 ---> a6e4403dc5fb 21:08:31 Step 9/12 : COPY go.mod vendor* ./ 21:08:31 ---> 2656064df0f3 21:08:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:31 ---> Running in e675782c3ea9 21:08:32 Still waiting to schedule task 21:08:32 ‘prd-centos7-builder-2c-1g-2511’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:08:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2515’ is offline 21:09:03 Removing intermediate container e675782c3ea9 21:09:03 ---> 37af36e28e2b 21:09:03 Step 11/12 : COPY . . 21:09:03 ---> 9c0544370994 21:09:03 Step 12/12 : RUN $MAKE 21:09:03 ---> Running in 7a6006b4ac67 21:09:03 noop 21:09:03 Removing intermediate container 7a6006b4ac67 21:09:03 ---> b256f8eade56 21:09:03 Successfully built b256f8eade56 21:09:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:03 + docker inspect -f . ci-base-image-x86_64 21:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:03 prd-ubuntu20.04-docker-8c-8g-2516 does not seem to be running inside a container 21:09:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-166 -v /w/workspace/undry_device-rfid-llrp-go_PR-166:/w/workspace/undry_device-rfid-llrp-go_PR-166:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:04 $ docker top 3d0ab734d538ea6002c17b785fd967c6b31d0687193403624bf1dbbe7e759ff6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:04 + go version 21:09:04 go version go1.20.2 linux/amd64 [Pipeline] } 21:09:04 $ docker stop --time=1 3d0ab734d538ea6002c17b785fd967c6b31d0687193403624bf1dbbe7e759ff6 21:09:05 $ docker rm -f --volumes 3d0ab734d538ea6002c17b785fd967c6b31d0687193403624bf1dbbe7e759ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:06 + docker inspect -f . ci-base-image-x86_64 21:09:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:06 prd-ubuntu20.04-docker-8c-8g-2516 does not seem to be running inside a container 21:09:06 $ 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-166 -v /w/workspace/undry_device-rfid-llrp-go_PR-166:/w/workspace/undry_device-rfid-llrp-go_PR-166:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:06 $ docker top 4433b69acb52c779fa97332671bf985376321bcb3ce7edee66cb530a1249cdd3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:07 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-166 [Pipeline] fileExists [Pipeline] sh 21:09:07 + make test 21:09:07 go test ./... -coverprofile=coverage.out ./... 21:09:12 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:09:22 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:09:22 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:09:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.573s coverage: 40.7% of statements 21:09:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.247s coverage: 52.0% of statements 21:09:26 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 96.4% of statements 21:09:33 go vet ./... 21:09:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:37 ./bin/test-attribution-txt.sh 21:09:37 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:09:37 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:37 $ docker stop --time=1 4433b69acb52c779fa97332671bf985376321bcb3ce7edee66cb530a1249cdd3 21:09:40 $ docker rm -f --volumes 4433b69acb52c779fa97332671bf985376321bcb3ce7edee66cb530a1249cdd3 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:41 + ls -al . 21:09:41 total 632 21:09:41 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 21:09 . 21:09:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 .. 21:09:41 -rw-rw-r-- 1 jenkins jenkins 134 Mar 16 21:07 .dockerignore 21:09:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 21:08 .git 21:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 21:07 .github 21:09:41 -rw-rw-r-- 1 jenkins jenkins 946 Mar 16 21:07 .gitignore 21:09:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 21:07 .golangci.yml 21:09:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 21:08 .semver 21:09:41 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 16 21:07 Attribution.txt 21:09:41 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 16 21:07 CHANGELOG.md 21:09:41 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 16 21:07 Dockerfile 21:09:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 21:07 GOVERNANCE.md 21:09:41 -rw-rw-r-- 1 jenkins jenkins 683 Mar 16 21:07 Jenkinsfile 21:09:41 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 21:07 LICENSE 21:09:41 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 16 21:07 Makefile 21:09:41 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 21:07 OWNERS.md 21:09:41 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 16 21:07 README.md 21:09:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 21:08 VERSION 21:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 bin 21:09:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 cmd 21:09:41 -rw-r--r-- 1 jenkins jenkins 457862 Mar 16 21:09 coverage.out 21:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 examples 21:09:41 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 16 21:07 go.mod 21:09:41 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 16 21:07 go.sum 21:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:07 images 21:09:41 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 21:07 internal 21:09:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:07 snap 21:09:41 -rw-rw-r-- 1 jenkins jenkins 193 Mar 16 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:41 + 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=febfea3274f5273c6479caff437bd54a37fe28c2 --label arch=amd64 --label version=0.0.0 . 21:09:41 Sending build context to Docker daemon 4.19MB 21:09:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:09:41 Step 2/24 : FROM ${BASE} AS builder 21:09:41 ---> b256f8eade56 21:09:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:09:41 ---> Running in f054274358eb 21:09:42 Removing intermediate container f054274358eb 21:09:42 ---> 28534e58f2da 21:09:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:42 ---> Running in 6174dc88e9f4 21:09:42 Removing intermediate container 6174dc88e9f4 21:09:42 ---> e10631a6da23 21:09:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:09:42 ---> Running in 0905431cb35a 21:09:42 Removing intermediate container 0905431cb35a 21:09:42 ---> 18531717fcb4 21:09:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:09:42 ---> Running in c58295e857cc 21:09:42 Removing intermediate container c58295e857cc 21:09:42 ---> b0c6b8586be6 21:09:42 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:42 ---> Running in df51c7780732 21:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:42 OK: 265 MiB in 53 packages 21:09:43 Removing intermediate container df51c7780732 21:09:43 ---> b093432552bd 21:09:43 Step 8/24 : WORKDIR /app 21:09:43 ---> Running in 3a9c4982e3ca 21:09:43 Removing intermediate container 3a9c4982e3ca 21:09:43 ---> c9648b2f2927 21:09:43 Step 9/24 : COPY go.mod vendor* ./ 21:09:43 ---> d51ab6d00325 21:09:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:43 ---> Running in 794e6b1a45bd 21:09:44 Removing intermediate container 794e6b1a45bd 21:09:44 ---> bb7c6f7c5e6b 21:09:44 Step 11/24 : COPY . . 21:09:44 ---> 50d3a3938ad8 21:09:44 Step 12/24 : RUN $MAKE 21:09:44 ---> Running in 9dfb8915104f 21:09:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:10:02 Removing intermediate container 9dfb8915104f 21:10:02 ---> a0b769b711fa 21:10:02 Step 13/24 : FROM alpine:3.17 21:10:02 3.17: Pulling from library/alpine 21:10:02 63b65145d645: Already exists 21:10:02 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:10:02 Status: Downloaded newer image for alpine:3.17 21:10:02 ---> b2aa39c304c2 21:10:02 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:02 ---> Running in ce1fbbd7613d 21:10:03 Removing intermediate container ce1fbbd7613d 21:10:03 ---> b38639e9ff78 21:10:03 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:10:03 ---> Running in f71552882403 21:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:03 (1/1) Installing dumb-init (1.2.5-r2) 21:10:03 Executing busybox-1.35.0-r29.trigger 21:10:03 OK: 7 MiB in 16 packages 21:10:04 Removing intermediate container f71552882403 21:10:04 ---> ebb9772ddce4 21:10:04 Step 16/24 : COPY --from=builder /app/LICENSE / 21:10:04 ---> a5b81efe3aa9 21:10:04 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:10:04 ---> 99bc0fd79168 21:10:04 Step 18/24 : COPY --from=builder /app/cmd/ / 21:10:05 ---> 83e1d797eab3 21:10:05 Step 19/24 : EXPOSE 59989 21:10:05 ---> Running in 8e9a31da6746 21:10:05 Removing intermediate container 8e9a31da6746 21:10:05 ---> 15df7d279662 21:10:05 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:10:05 ---> Running in f406e0571ee5 21:10:05 Removing intermediate container f406e0571ee5 21:10:05 ---> 212a5b580beb 21:10:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:05 ---> Running in 5cc5ef69e93c 21:10:05 Removing intermediate container 5cc5ef69e93c 21:10:05 ---> 40c5f0509066 21:10:05 Step 22/24 : LABEL arch=amd64 21:10:05 ---> Running in 25bb3c638d2c 21:10:05 Removing intermediate container 25bb3c638d2c 21:10:05 ---> 07b410c77af3 21:10:05 Step 23/24 : LABEL git_sha=febfea3274f5273c6479caff437bd54a37fe28c2 21:10:05 ---> Running in b970bd1de9b9 21:10:05 Removing intermediate container b970bd1de9b9 21:10:05 ---> e9f9a794db66 21:10:05 Step 24/24 : LABEL version=0.0.0 21:10:05 ---> Running in f33e5a19b426 21:10:05 Removing intermediate container f33e5a19b426 21:10:05 ---> 2747c3be6dc1 21:10:05 [Warning] One or more build-args [ARCH] were not consumed 21:10:05 Successfully built 2747c3be6dc1 21:10:05 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:05 21:10:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:06 latest: Pulling from edgex-lftools-log-publisher 21:10:06 5eb5b503b376: Pulling fs layer 21:10:06 5c69ac0246d0: Pulling fs layer 21:10:06 ec43610c2a17: Pulling fs layer 21:10:06 3a2ae6a8a46f: Pulling fs layer 21:10:06 33b1e0a273af: Pulling fs layer 21:10:06 5d3b04190fa2: Pulling fs layer 21:10:06 2f39f015ded8: Pulling fs layer 21:10:06 2f39f015ded8: Waiting 21:10:06 3a2ae6a8a46f: Waiting 21:10:06 5d3b04190fa2: Waiting 21:10:06 33b1e0a273af: Waiting 21:10:06 5c69ac0246d0: Verifying Checksum 21:10:06 3a2ae6a8a46f: Verifying Checksum 21:10:06 3a2ae6a8a46f: Download complete 21:10:06 33b1e0a273af: Verifying Checksum 21:10:06 33b1e0a273af: Download complete 21:10:06 5d3b04190fa2: Verifying Checksum 21:10:06 5d3b04190fa2: Download complete 21:10:06 ec43610c2a17: Verifying Checksum 21:10:06 ec43610c2a17: Download complete 21:10:06 5eb5b503b376: Verifying Checksum 21:10:06 5eb5b503b376: Download complete 21:10:07 2f39f015ded8: Verifying Checksum 21:10:07 2f39f015ded8: Download complete 21:10:07 5eb5b503b376: Pull complete 21:10:07 5c69ac0246d0: Pull complete 21:10:08 ec43610c2a17: Pull complete 21:10:08 3a2ae6a8a46f: Pull complete 21:10:08 33b1e0a273af: Pull complete 21:10:08 5d3b04190fa2: Pull complete 21:10:12 2f39f015ded8: Pull complete 21:10:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:12 prd-ubuntu20.04-docker-8c-8g-2516 does not seem to be running inside a container 21:10:12 $ 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-166 -v /w/workspace/undry_device-rfid-llrp-go_PR-166:/w/workspace/undry_device-rfid-llrp-go_PR-166:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:15 $ docker top 6559186d6e970b285105a5ad8286837d9aa62392f28e506e70d86cd275076850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:15 ---> job-cost.sh 21:10:15 lf-activate-venv: SKIPPING 21:10:15 INFO: No Stack... 21:10:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:16 INFO: Archiving Costs [Pipeline] sh 21:10:16 + cat /w/workspace/undry_device-rfid-llrp-go_PR-166/archives/cost.csv 21:10:16 + cut -d, -f6 [Pipeline] lock 21:10:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] 21:10:17 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] did not exist. Created. 21:10:17 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:17 + echo total: 0.2199999988079071 [Pipeline] stash 21:10:17 Stashed 1 file(s) [Pipeline] } 21:10:17 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:17 $ docker stop --time=1 6559186d6e970b285105a5ad8286837d9aa62392f28e506e70d86cd275076850 21:10:18 $ docker rm -f --volumes 6559186d6e970b285105a5ad8286837d9aa62392f28e506e70d86cd275076850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2519 in /w/workspace/undry_device-rfid-llrp-go_PR-166 [Pipeline] { [Pipeline] ws 21:10:47 Running in /w/workspace/device-rfid-llrp-go/7 [Pipeline] { [Pipeline] checkout 21:10:47 Selected Git installation does not exist. Using Default 21:10:47 The recommended git tool is: NONE 21:10:53 using credential edgex-jenkins-ssh 21:10:53 Cloning the remote Git repository 21:10:53 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:53 > git init /w/workspace/device-rfid-llrp-go/7 # timeout=10 21:10:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:54 > git --version # timeout=10 21:10:54 > git --version # 'git version 2.25.1' 21:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:56 Merging remotes/origin/main commit 8c4faf22c76813cb553a4db765edf9e1791a6a7e into PR head commit 4f39821064733ecd064f980dc07cd44a264f8663 21:10:57 Merge succeeded, producing 4e9081f876ab91ae316d49bc90a707f5718cda87 21:10:57 Checking out Revision 4e9081f876ab91ae316d49bc90a707f5718cda87 (PR-166) 21:10:56 > git config core.sparsecheckout # timeout=10 21:10:56 > git checkout -f 4f39821064733ecd064f980dc07cd44a264f8663 # timeout=10 21:10:56 > git remote # timeout=10 21:10:57 > git config --get remote.origin.url # timeout=10 21:10:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:57 > git merge 8c4faf22c76813cb553a4db765edf9e1791a6a7e # timeout=10 21:10:57 > git rev-parse HEAD^{commit} # timeout=10 21:10:57 > git config core.sparsecheckout # timeout=10 21:10:57 > git checkout -f 4e9081f876ab91ae316d49bc90a707f5718cda87 # timeout=10 21:11:00 Commit message: "Merge commit '8c4faf22c76813cb553a4db765edf9e1791a6a7e' into HEAD" 21:11:00 First time build. Skipping changelog. 21:11:00 > git rev-list --no-walk 43859025f09604ba9f5cf6aacd8eb56a6d955f2a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:11:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:01 Dload Upload Total Spent Left Speed 21:11:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 21:11:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:11:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:11:02 + sudo tee /etc/docker/daemon.new 21:11:02 { 21:11:02 "registry-mirrors": [ 21:11:02 "https://nexus3.edgexfoundry.org:10001" 21:11:02 ], 21:11:02 "bip": "10.250.0.254/24", 21:11:02 "hosts": [ 21:11:02 "tcp://0.0.0.0:5555", 21:11:02 "unix:///var/run/docker.sock" 21:11:02 ], 21:11:02 "mtu": 1458, 21:11:02 "selinux-enabled": true, 21:11:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:11:02 } [Pipeline] sh 21:11:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:11:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:21 provisioning config files... 21:11:21 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/7@tmp/config18000731648118585104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:22 ---> docker-login.sh 21:11:22 nexus3.edgexfoundry.org:10001 21:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:22 Configure a credential helper to remove this warning. See 21:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:22 21:11:22 Login Succeeded 21:11:22 nexus3.edgexfoundry.org:10002 21:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:23 Configure a credential helper to remove this warning. See 21:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:23 21:11:23 Login Succeeded 21:11:23 nexus3.edgexfoundry.org:10003 21:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:23 Configure a credential helper to remove this warning. See 21:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:23 21:11:23 Login Succeeded 21:11:23 nexus3.edgexfoundry.org:10004 21:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:23 Configure a credential helper to remove this warning. See 21:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:23 21:11:23 Login Succeeded 21:11:23 docker.io 21:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:24 Configure a credential helper to remove this warning. See 21:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:24 21:11:24 Login Succeeded 21:11:24 ---> docker-login.sh ends [Pipeline] } 21:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:25 ========================================================= 21:11:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:11:25 Sending build context to Docker daemon 1.213MB 21:11:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:11:25 Step 2/12 : FROM ${BASE} AS builder 21:11:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:26 af6eaf76a39c: Pulling fs layer 21:11:26 55522c791124: Pulling fs layer 21:11:26 ce5c4a1c91eb: Pulling fs layer 21:11:26 169dfbe0d373: Pulling fs layer 21:11:26 169dfbe0d373: Waiting 21:11:26 e1ff8fa3b103: Pulling fs layer 21:11:26 52ebb69f0ebf: Pulling fs layer 21:11:26 5abe8eddf0d5: Pulling fs layer 21:11:26 e1ff8fa3b103: Waiting 21:11:26 52ebb69f0ebf: Waiting 21:11:26 5abe8eddf0d5: Waiting 21:11:26 55522c791124: Verifying Checksum 21:11:26 55522c791124: Download complete 21:11:26 169dfbe0d373: Verifying Checksum 21:11:26 169dfbe0d373: Download complete 21:11:26 e1ff8fa3b103: Download complete 21:11:26 af6eaf76a39c: Verifying Checksum 21:11:26 af6eaf76a39c: Download complete 21:11:27 af6eaf76a39c: Pull complete 21:11:27 5abe8eddf0d5: Verifying Checksum 21:11:27 5abe8eddf0d5: Download complete 21:11:27 55522c791124: Pull complete 21:11:29 ce5c4a1c91eb: Verifying Checksum 21:11:29 ce5c4a1c91eb: Download complete 21:11:29 52ebb69f0ebf: Verifying Checksum 21:11:29 52ebb69f0ebf: Download complete 21:11:41 ce5c4a1c91eb: Pull complete 21:11:41 169dfbe0d373: Pull complete 21:11:41 e1ff8fa3b103: Pull complete 21:11:48 52ebb69f0ebf: Pull complete 21:11:50 5abe8eddf0d5: Pull complete 21:11:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:50 ---> 6cb57ee374ae 21:11:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:52 ---> Running in af0132c0aa28 21:11:52 Removing intermediate container af0132c0aa28 21:11:52 ---> 976db0921538 21:11:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:53 ---> Running in 726a1bc475f1 21:11:53 Removing intermediate container 726a1bc475f1 21:11:53 ---> 4b9f3627f4fa 21:11:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:53 ---> Running in cde8f146ca38 21:11:53 Removing intermediate container cde8f146ca38 21:11:53 ---> 43b5158b4017 21:11:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:53 ---> Running in 73f350c3cb86 21:11:54 Removing intermediate container 73f350c3cb86 21:11:54 ---> ee9cef130b8a 21:11:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:54 ---> Running in 4290ad4c51fc 21:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:57 OK: 263 MiB in 53 packages 21:11:58 Removing intermediate container 4290ad4c51fc 21:11:58 ---> cc10e437b3b0 21:11:58 Step 8/12 : WORKDIR /app 21:11:58 ---> Running in 8276b764203d 21:11:58 Removing intermediate container 8276b764203d 21:11:58 ---> 18164d3e6e11 21:11:58 Step 9/12 : COPY go.mod vendor* ./ 21:11:58 ---> c841771972af 21:11:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:58 ---> Running in cbf5ba5dd40f 21:13:20 Removing intermediate container cbf5ba5dd40f 21:13:20 ---> 8d48b5565ae5 21:13:20 Step 11/12 : COPY . . 21:13:20 ---> 4c39f404dd71 21:13:20 Step 12/12 : RUN $MAKE 21:13:20 ---> Running in 70ac59a56f4e 21:13:20 noop 21:13:20 Removing intermediate container 70ac59a56f4e 21:13:20 ---> bcd1a9349276 21:13:20 Successfully built bcd1a9349276 21:13:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:20 + docker inspect -f . ci-base-image-arm64 21:13:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:21 prd-ubuntu20.04-docker-arm64-4c-16g-2519 does not seem to be running inside a container 21:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/7 -v /w/workspace/device-rfid-llrp-go/7:/w/workspace/device-rfid-llrp-go/7:rw,z -v /w/workspace/device-rfid-llrp-go/7@tmp:/w/workspace/device-rfid-llrp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:22 $ docker top a8c685dd92cf69b4c5f74e3434d13e2648d4d3306ae8e7e6e443846a27ba8d05 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:23 + go version 21:13:23 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:23 $ docker stop --time=1 a8c685dd92cf69b4c5f74e3434d13e2648d4d3306ae8e7e6e443846a27ba8d05 21:13:25 $ docker rm -f --volumes a8c685dd92cf69b4c5f74e3434d13e2648d4d3306ae8e7e6e443846a27ba8d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:25 + docker inspect -f . ci-base-image-arm64 21:13:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:25 prd-ubuntu20.04-docker-arm64-4c-16g-2519 does not seem to be running inside a container 21:13:26 $ 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/7 -v /w/workspace/device-rfid-llrp-go/7:/w/workspace/device-rfid-llrp-go/7:rw,z -v /w/workspace/device-rfid-llrp-go/7@tmp:/w/workspace/device-rfid-llrp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:28 $ docker top 14718d4c6fc3b28dc5816c53a978706b9ccb646adcf6026eb0589d1caaf8ff0a -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:29 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/7 [Pipeline] fileExists [Pipeline] sh 21:13:30 + make test 21:13:30 go test ./... -coverprofile=coverage.out ./... 21:14:09 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:45 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:45 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:17:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.205s coverage: 40.7% of statements 21:17:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.575s coverage: 52.0% of statements 21:17:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.046s coverage: 96.4% of statements 21:17:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:08 go vet ./... 21:17:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:40 ./bin/test-attribution-txt.sh 21:17:40 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:17:40 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:17:40 $ docker stop --time=1 14718d4c6fc3b28dc5816c53a978706b9ccb646adcf6026eb0589d1caaf8ff0a 21:17:42 $ docker rm -f --volumes 14718d4c6fc3b28dc5816c53a978706b9ccb646adcf6026eb0589d1caaf8ff0a [Pipeline] // withDockerContainer [Pipeline] sh 21:17:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:17:43 Warning: overwriting stash ‘coverage-report’ 21:17:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:17:44 + ls -al . 21:17:44 total 628 21:17:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 21:13 . 21:17:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 .. 21:17:44 -rw-rw-r-- 1 jenkins jenkins 134 Mar 16 21:10 .dockerignore 21:17:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 21:10 .git 21:17:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 21:10 .github 21:17:44 -rw-rw-r-- 1 jenkins jenkins 946 Mar 16 21:10 .gitignore 21:17:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 21:10 .golangci.yml 21:17:44 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 16 21:10 Attribution.txt 21:17:44 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 16 21:10 CHANGELOG.md 21:17:44 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 16 21:10 Dockerfile 21:17:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 21:10 GOVERNANCE.md 21:17:44 -rw-rw-r-- 1 jenkins jenkins 683 Mar 16 21:10 Jenkinsfile 21:17:44 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 16 21:10 LICENSE 21:17:44 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 16 21:10 Makefile 21:17:44 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 21:10 OWNERS.md 21:17:44 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 16 21:10 README.md 21:17:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 21:08 VERSION 21:17:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 bin 21:17:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 cmd 21:17:44 -rw-r--r-- 1 jenkins jenkins 457862 Mar 16 21:17 coverage.out 21:17:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 examples 21:17:44 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 16 21:10 go.mod 21:17:44 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 16 21:10 go.sum 21:17:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 21:10 images 21:17:44 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 21:10 internal 21:17:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 21:10 snap 21:17:44 -rw-rw-r-- 1 jenkins jenkins 193 Mar 16 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:45 + 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=4e9081f876ab91ae316d49bc90a707f5718cda87 --label arch=arm64 --label version=0.0.0 . 21:17:45 Sending build context to Docker daemon 1.213MB 21:17:45 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:17:45 Step 2/24 : FROM ${BASE} AS builder 21:17:45 ---> bcd1a9349276 21:17:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:17:45 ---> Running in 11512bcdf606 21:17:46 Removing intermediate container 11512bcdf606 21:17:46 ---> 5e3f90d3c113 21:17:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:46 ---> Running in ae4268e6f325 21:17:46 Removing intermediate container ae4268e6f325 21:17:46 ---> f247b25dd82c 21:17:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:17:46 ---> Running in 803e33b7b7fb 21:17:46 Removing intermediate container 803e33b7b7fb 21:17:46 ---> a0d8d75da6a2 21:17:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:17:46 ---> Running in ad8f4f2a0e78 21:17:47 Removing intermediate container ad8f4f2a0e78 21:17:47 ---> 5508cfc6a205 21:17:47 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:47 ---> Running in 3cb70e0c0575 21:17:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:50 OK: 263 MiB in 53 packages 21:17:51 Removing intermediate container 3cb70e0c0575 21:17:51 ---> 94dfde46b6ea 21:17:51 Step 8/24 : WORKDIR /app 21:17:51 ---> Running in fa343a158d63 21:17:51 Removing intermediate container fa343a158d63 21:17:51 ---> 2704fefbc797 21:17:51 Step 9/24 : COPY go.mod vendor* ./ 21:17:51 ---> b56363b1cfdb 21:17:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:51 ---> Running in 1713f952d875 21:17:54 Removing intermediate container 1713f952d875 21:17:54 ---> 056a693ee2c9 21:17:54 Step 11/24 : COPY . . 21:17:55 ---> bc2cba7e0411 21:17:55 Step 12/24 : RUN $MAKE 21:17:55 ---> Running in 42bcf57d711b 21:17:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:20:17 Removing intermediate container 42bcf57d711b 21:20:17 ---> 048ffd52dcd8 21:20:17 Step 13/24 : FROM alpine:3.17 21:20:17 3.17: Pulling from library/alpine 21:20:17 af6eaf76a39c: Already exists 21:20:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:20:17 Status: Downloaded newer image for alpine:3.17 21:20:17 ---> d74e625d9115 21:20:17 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:17 ---> Running in b2c7d9d681c4 21:20:17 Removing intermediate container b2c7d9d681c4 21:20:17 ---> 26f02c31b7d7 21:20:17 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:17 ---> Running in 1e2fd1a83954 21:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:17 (1/1) Installing dumb-init (1.2.5-r2) 21:20:17 Executing busybox-1.35.0-r29.trigger 21:20:17 OK: 8 MiB in 16 packages 21:20:17 Removing intermediate container 1e2fd1a83954 21:20:17 ---> b843dd00e2e9 21:20:17 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:17 ---> 700776f72045 21:20:17 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:17 ---> 165903faf5c7 21:20:17 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:19 ---> 225b7648811e 21:20:19 Step 19/24 : EXPOSE 59989 21:20:19 ---> Running in 2ba12c9caa43 21:20:19 Removing intermediate container 2ba12c9caa43 21:20:19 ---> e4283a016f25 21:20:19 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:19 ---> Running in bf0fd7088279 21:20:19 Removing intermediate container bf0fd7088279 21:20:19 ---> 8d422538dab3 21:20:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:20 ---> Running in dc453d5a0473 21:20:20 Removing intermediate container dc453d5a0473 21:20:20 ---> da41aac1d476 21:20:20 Step 22/24 : LABEL arch=arm64 21:20:20 ---> Running in 9f1cd3c14d7c 21:20:20 Removing intermediate container 9f1cd3c14d7c 21:20:20 ---> af514b00f979 21:20:20 Step 23/24 : LABEL git_sha=4e9081f876ab91ae316d49bc90a707f5718cda87 21:20:20 ---> Running in d19c0017222b 21:20:20 Removing intermediate container d19c0017222b 21:20:20 ---> c000fb9a5552 21:20:20 Step 24/24 : LABEL version=0.0.0 21:20:21 ---> Running in 6e35fc83b36c 21:20:21 Removing intermediate container 6e35fc83b36c 21:20:21 ---> 82917f97257d 21:20:21 [Warning] One or more build-args [ARCH] were not consumed 21:20:21 Successfully built 82917f97257d 21:20:21 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:21 21:20:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:22 arm64: Pulling from edgex-lftools-log-publisher 21:20:22 8998bd30e6a1: Pulling fs layer 21:20:22 04944245beec: Pulling fs layer 21:20:22 699f458cf7ca: Pulling fs layer 21:20:22 765212b225bb: Pulling fs layer 21:20:22 f23df028b6ca: Pulling fs layer 21:20:22 d65c8cfc05b1: Pulling fs layer 21:20:22 2437ff75d9bd: Pulling fs layer 21:20:22 f23df028b6ca: Waiting 21:20:22 d65c8cfc05b1: Waiting 21:20:22 2437ff75d9bd: Waiting 21:20:22 765212b225bb: Waiting 21:20:22 04944245beec: Verifying Checksum 21:20:22 04944245beec: Download complete 21:20:22 765212b225bb: Verifying Checksum 21:20:22 765212b225bb: Download complete 21:20:22 f23df028b6ca: Download complete 21:20:22 d65c8cfc05b1: Verifying Checksum 21:20:22 d65c8cfc05b1: Download complete 21:20:22 699f458cf7ca: Verifying Checksum 21:20:22 699f458cf7ca: Download complete 21:20:23 8998bd30e6a1: Verifying Checksum 21:20:23 8998bd30e6a1: Download complete 21:20:25 2437ff75d9bd: Verifying Checksum 21:20:25 2437ff75d9bd: Download complete 21:20:27 8998bd30e6a1: Pull complete 21:20:27 04944245beec: Pull complete 21:20:30 699f458cf7ca: Pull complete 21:20:30 765212b225bb: Pull complete 21:20:30 f23df028b6ca: Pull complete 21:20:31 d65c8cfc05b1: Pull complete 21:20:46 2437ff75d9bd: Pull complete 21:20:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:46 prd-ubuntu20.04-docker-arm64-4c-16g-2519 does not seem to be running inside a container 21:20:46 $ 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/7 -v /w/workspace/device-rfid-llrp-go/7:/w/workspace/device-rfid-llrp-go/7:rw,z -v /w/workspace/device-rfid-llrp-go/7@tmp:/w/workspace/device-rfid-llrp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:48 $ docker top 6f6d2e74a8a74030ff08550c0b32c6b3b2bd9d5f26268d8e85b7271bf1b90667 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:49 ---> job-cost.sh 21:20:49 lf-activate-venv: SKIPPING 21:20:49 INFO: No Stack... 21:20:50 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:51 INFO: Archiving Costs [Pipeline] sh 21:20:51 + cat /w/workspace/device-rfid-llrp-go/7/archives/cost.csv 21:20:51 + cut -d, -f6 [Pipeline] lock 21:20:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] 21:20:51 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] did not exist. Created. 21:20:51 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:51 /w/workspace/device-rfid-llrp-go/7@tmp/durable-68d5053a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:52 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:52 Warning: overwriting stash ‘stack-cost’ 21:20:52 Stashed 1 file(s) [Pipeline] } 21:20:52 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-7-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:52 $ docker stop --time=1 6f6d2e74a8a74030ff08550c0b32c6b3b2bd9d5f26268d8e85b7271bf1b90667 21:20:53 $ docker rm -f --volumes 6f6d2e74a8a74030ff08550c0b32c6b3b2bd9d5f26268d8e85b7271bf1b90667 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:20:54 provisioning config files... 21:20:54 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config13595056944318707695tmp [Pipeline] { [Pipeline] sh 21:20:54 + set +x 21:20:54 + curl -s https://codecov.io/bash 21:20:54 + bash -s -- 21:20:54 21:20:54 _____ _ 21:20:54 / ____| | | 21:20:54 | | ___ __| | ___ ___ _____ __ 21:20:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:20:54 | |___| (_) | (_| | __/ (_| (_) \ V / 21:20:54 \_____\___/ \__,_|\___|\___\___/ \_/ 21:20:54 Bash-1.0.6 21:20:54 21:20:54 21:20:54 ==> git version 2.25.1 found 21:20:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:20:54 Release-Date: 2020-01-08 21:20:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:20:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:20:54 ==> Jenkins CI detected. 21:20:54 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-166 21:20:54 project root: . 21:20:54 --> token set from env 21:20:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:20:54 ==> Running gcov in . (disable via -X gcov) 21:20:54 ==> Python coveragepy not found 21:20:54 ==> Searching for coverage reports in: 21:20:54 + . 21:20:54 -> Found 1 reports 21:20:54 ==> Detecting git/mercurial file structure 21:20:54 ==> Reading reports 21:20:54 + ./coverage.out bytes=457862 21:20:54 ==> Appending adjustments 21:20:54 https://docs.codecov.io/docs/fixing-reports 21:20:54 + Found adjustments 21:20:54 ==> Gzipping contents 21:20:54 52K /tmp/codecov.FqNNH1.gz 21:20:54 ==> Uploading reports 21:20:54 url: https://codecov.io 21:20:54 query: branch=PR-166&commit=febfea3274f5273c6479caff437bd54a37fe28c2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-166%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 21:20:54 -> Pinging Codecov 21:20:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-166&commit=febfea3274f5273c6479caff437bd54a37fe28c2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-166%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 21:20:54 -> Uploading to 21:20:54 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/581DD39554BDF9B6E22D074273EAD858/febfea3274f5273c6479caff437bd54a37fe28c2/9fab1d55-221b-4de2-8c49-0f567b002342.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T212054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78f46932a94fc4f8d697b13d8cbdf35b6a070a747c783ce2b811823793fe752c 21:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:54 Dload Upload Total Spent Left Speed 21:20:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50485 0 0 100 50485 0 190k --:--:-- --:--:-- --:--:-- 190k 21:20:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/febfea3274f5273c6479caff437bd54a37fe28c2 [Pipeline] } 21:20:55 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:55 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-166/archives ] 21:20:55 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:20:55 total 16 21:20:55 drwxr-xr-x 3 root root 4096 Mar 16 21:10 . 21:20:55 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 21:10 .. 21:20:55 drwxr-xr-x 2 root root 4096 Mar 16 21:10 cost 21:20:55 -rw-r--r-- 1 root root 91 Mar 16 21:10 cost.csv 21:20:55 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:20:55 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:20:55 total 16 21:20:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 21:10 . 21:20:55 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 21:10 .. 21:20:55 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 21:10 cost 21:20:55 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 21:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:56 ---> package-listing.sh 21:20:56 ++ facter osfamily 21:20:56 ++ tr '[:upper:]' '[:lower:]' 21:20:57 + OS_FAMILY=debian 21:20:57 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-166 21:20:57 + START_PACKAGES=/tmp/packages_start.txt 21:20:57 + END_PACKAGES=/tmp/packages_end.txt 21:20:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:57 + PACKAGES=/tmp/packages_start.txt 21:20:57 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-166 ']' 21:20:57 + PACKAGES=/tmp/packages_end.txt 21:20:57 + case "${OS_FAMILY}" in 21:20:57 + dpkg -l 21:20:57 + grep '^ii' 21:20:57 + '[' -f /tmp/packages_start.txt ']' 21:20:57 + '[' -f /tmp/packages_end.txt ']' 21:20:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:57 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-166 ']' 21:20:57 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-166/archives/ 21:20:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-166/archives/ [Pipeline] echo 21:20:57 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:20:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:58 prd-ubuntu20.04-docker-8c-8g-2516 does not seem to be running inside a container 21:20:58 $ 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-166/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-166 -v /w/workspace/undry_device-rfid-llrp-go_PR-166:/w/workspace/undry_device-rfid-llrp-go_PR-166:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-166@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:58 $ docker top 85e0f05bbbf243a5d4b64027a5e69247e68b2f7e17c0f0a1de2406c84381ad7f -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:58 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:58 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:59 + ls /var/log/sa-host 21:20:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:59 provisioning config files... 21:20:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config5680176655872491279tmp [Pipeline] { [Pipeline] echo 21:20:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:59 ---> create-netrc.sh [Pipeline] } 21:20:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:59 ---> python-tools-install.sh [Pipeline] echo 21:20:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:00 ---> sudo-logs.sh 21:21:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:00 ---> job-cost.sh 21:21:00 lf-activate-venv: SKIPPING 21:21:00 DEBUG: total: 0.2199999988079071 21:21:00 INFO: Retrieving Stack Cost... 21:21:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:01 INFO: Archiving Costs [Pipeline] echo 21:21:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:01 ---> logs-deploy.sh 21:21:01 lf-activate-venv: SKIPPING 21:21:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-166/7 21:21:01 INFO: archiving workspace using pattern(s): 21:21:02 Archives upload complete. 21:21:02 INFO: archiving logs to Nexus