Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f39821064733ecd064f980dc07cd44a264f8663+f3289a164b8ff7b22d28db9f748121107e7f7ddb (a1580849ddd31498f5791993adae0e8bca1a4263) 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-ssh7570401518736393851.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-ssh11708455279800146512.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-ssh14349144333036912532.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-ssh12572093515440570730.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-ssh1602257527244122017.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2281 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 Merging remotes/origin/main commit f3289a164b8ff7b22d28db9f748121107e7f7ddb into PR head commit 4f39821064733ecd064f980dc07cd44a264f8663 Merge succeeded, producing 07de2db0258c3bce844b8ef4070345f90d178232 Checking out Revision 07de2db0258c3bce844b8ef4070345f90d178232 (PR-166) > 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 > 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 f3289a164b8ff7b22d28db9f748121107e7f7ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07de2db0258c3bce844b8ef4070345f90d178232 # timeout=10 Commit message: "Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD" > git rev-list --no-walk 4f39821064733ecd064f980dc07cd44a264f8663 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:15 ========================================================= 21:07:15 EdgeX Global Pipelines Version Info 21:07:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:16 ------------------- 21:07:16 stable info: 21:07:16 ------------------- 21:07:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:16 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:07:16 Message: update stable to v1.0.245 21:07:16 ------------------- 21:07:16 experimental info: 21:07:16 ------------------- 21:07:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:16 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 21:07:16 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07de2db0258c3bce844b8ef4070345f90d178232 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07de2db [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:17 provisioning config files... 21:07:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config1603237786144020481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:17 ---> docker-login.sh 21:07:17 nexus3.edgexfoundry.org:10001 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:17 Configure a credential helper to remove this warning. See 21:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:17 21:07:17 Login Succeeded 21:07:17 nexus3.edgexfoundry.org:10002 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:17 Configure a credential helper to remove this warning. See 21:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:17 21:07:17 Login Succeeded 21:07:17 nexus3.edgexfoundry.org:10003 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 nexus3.edgexfoundry.org:10004 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 docker.io 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 ---> docker-login.sh ends [Pipeline] } 21:07:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:18 + git rev-list -1 --merges 07de2db0258c3bce844b8ef4070345f90d178232~1..07de2db0258c3bce844b8ef4070345f90d178232 [Pipeline] echo 21:07:19 -----------> git rev-list -1 --merges 07de2db0258c3bce844b8ef4070345f90d178232~1..07de2db0258c3bce844b8ef4070345f90d178232 07de2db0258c3bce844b8ef4070345f90d178232 21:07:19 07de2db0258c3bce844b8ef4070345f90d178232 [false] [Pipeline] sh 21:07:19 + git log --format=format:%s -1 07de2db0258c3bce844b8ef4070345f90d178232 [Pipeline] echo 21:07:19 ========================================================= 21:07:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:19 + git log --format=format:%s -1 07de2db0258c3bce844b8ef4070345f90d178232 [Pipeline] echo 21:07:19 [semverPrep] GIT_COMMIT: 07de2db0258c3bce844b8ef4070345f90d178232, Commit Message: Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD [Pipeline] echo 21:07:19 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:19 + grep -v github /etc/ssh/ssh_known_hosts 21:07:19 + [ -e /tmp/ssh_known_hosts ] 21:07:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:19 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:20 21:07:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:20 b85a868b505f: Pulling fs layer 21:07:20 e2be974225ed: Pulling fs layer 21:07:20 339a4e72a1f5: Pulling fs layer 21:07:20 988bab9f4d93: Pulling fs layer 21:07:20 1469e6f7b9e6: Pulling fs layer 21:07:20 eaf3925da568: Pulling fs layer 21:07:20 bab4dde63d76: Pulling fs layer 21:07:20 bde34c3a00c8: Pulling fs layer 21:07:20 b352a97aabf1: Pulling fs layer 21:07:20 4872d77fe225: Pulling fs layer 21:07:20 5851b861e8e6: Pulling fs layer 21:07:20 bab4dde63d76: Waiting 21:07:20 bde34c3a00c8: Waiting 21:07:20 b352a97aabf1: Waiting 21:07:20 4872d77fe225: Waiting 21:07:20 5851b861e8e6: Waiting 21:07:20 988bab9f4d93: Waiting 21:07:20 eaf3925da568: Waiting 21:07:20 1469e6f7b9e6: Waiting 21:07:20 e2be974225ed: Verifying Checksum 21:07:20 e2be974225ed: Download complete 21:07:20 988bab9f4d93: Verifying Checksum 21:07:20 988bab9f4d93: Download complete 21:07:20 1469e6f7b9e6: Verifying Checksum 21:07:20 1469e6f7b9e6: Download complete 21:07:20 eaf3925da568: Verifying Checksum 21:07:20 eaf3925da568: Download complete 21:07:20 339a4e72a1f5: Verifying Checksum 21:07:20 339a4e72a1f5: Download complete 21:07:20 bde34c3a00c8: Verifying Checksum 21:07:20 bde34c3a00c8: Download complete 21:07:20 b352a97aabf1: Verifying Checksum 21:07:20 b352a97aabf1: Download complete 21:07:20 4872d77fe225: Download complete 21:07:20 5851b861e8e6: Verifying Checksum 21:07:20 5851b861e8e6: Download complete 21:07:21 b85a868b505f: Verifying Checksum 21:07:21 b85a868b505f: Download complete 21:07:21 bab4dde63d76: Verifying Checksum 21:07:21 bab4dde63d76: Download complete 21:07:21 b85a868b505f: Pull complete 21:07:22 e2be974225ed: Pull complete 21:07:22 339a4e72a1f5: Pull complete 21:07:22 988bab9f4d93: Pull complete 21:07:23 1469e6f7b9e6: Pull complete 21:07:23 eaf3925da568: Pull complete 21:07:24 bab4dde63d76: Pull complete 21:07:24 bde34c3a00c8: Pull complete 21:07:24 b352a97aabf1: Pull complete 21:07:24 4872d77fe225: Pull complete 21:07:24 5851b861e8e6: Pull complete 21:07:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:25 prd-ubuntu20.04-docker-8c-8g-2281 does not seem to be running inside a container 21:07:25 $ 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:07:27 $ docker top 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e -eo pid,comm 21:07:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:07:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:27 [ssh-agent] Looking for ssh-agent implementation... 21:07:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:27 $ docker exec 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e ssh-agent 21:07:27 SSH_AUTH_SOCK=/tmp/ssh-R9h37boJHqy6/agent.33 21:07:27 SSH_AGENT_PID=39 21:07:27 Running ssh-add (command line suppressed) 21:07:27 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_9920182736943859256.key (/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_9920182736943859256.key) 21:07:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:28 + git tag --points-at HEAD [Pipeline] } 21:07:28 $ docker exec --env ******** --env ******** 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e ssh-agent -k 21:07:28 unset SSH_AUTH_SOCK; 21:07:28 unset SSH_AGENT_PID; 21:07:28 echo Agent pid 39 killed; 21:07:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:28 [ssh-agent] Looking for ssh-agent implementation... 21:07:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:28 $ docker exec 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e ssh-agent 21:07:28 SSH_AUTH_SOCK=/tmp/ssh-sxWlrRlLXCMB/agent.70 21:07:28 SSH_AGENT_PID=76 21:07:28 Running ssh-add (command line suppressed) 21:07:28 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_6492096074067134585.key (/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/private_key_6492096074067134585.key) 21:07:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:28 + git semver init 21:07:29 2023-03-15 21:07:29,036 [run_init] DEBUG init version:0.0.0 force:False 21:07:29 2023-03-15 21:07:29,037 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver 21:07:29 2023-03-15 21:07:29,037 [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:07:29 2023-03-15 21:07:29,037 [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:07:30 2023-03-15 21:07:29,827 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-166/.git/info/exclude 21:07:30 2023-03-15 21:07:29,828 [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:07:30 2023-03-15 21:07:29,828 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-166/.semver/PR-166 21:07:30 2023-03-15 21:07:29,831 [execute] INFO git cat-file --batch-check 21:07:30 2023-03-15 21:07:29,832 [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:07:30 2023-03-15 21:07:29,837 [execute] INFO git cat-file --batch 21:07:30 2023-03-15 21:07:29,837 [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:07:30 2023-03-15 21:07:29,842 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-166/.semver/PR-166 21:07:30 0.0.0 [Pipeline] } 21:07:30 $ docker exec --env ******** --env ******** 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e ssh-agent -k 21:07:30 unset SSH_AUTH_SOCK; 21:07:30 unset SSH_AGENT_PID; 21:07:30 echo Agent pid 76 killed; 21:07:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:30 + git semver [Pipeline] } 21:07:30 $ docker stop --time=1 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e 21:07:32 $ docker rm -f --volumes 8d6e4a3a57470b858c6eb7ab04d3e45cbff095b09ffed92f8c059385b3304f4e [Pipeline] // withDockerContainer [Pipeline] sh 21:07:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:32 Stashed 1 file(s) [Pipeline] echo 21:07:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:32 provisioning config files... 21:07:32 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config12668004400856556671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:32 ---> docker-login.sh 21:07:32 nexus3.edgexfoundry.org:10001 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10002 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10003 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 nexus3.edgexfoundry.org:10004 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 docker.io 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 ---> docker-login.sh ends [Pipeline] } 21:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:33 ========================================================= 21:07:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:33 Sending build context to Docker daemon 4.187MB 21:07:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:33 Step 2/12 : FROM ${BASE} AS builder 21:07:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:33 63b65145d645: Pulling fs layer 21:07:33 a2d21d5440eb: Pulling fs layer 21:07:33 935e6c44a52c: Pulling fs layer 21:07:33 94cc34f8dd06: Pulling fs layer 21:07:33 30dea6a524f1: Pulling fs layer 21:07:33 a2aff8979fd8: Pulling fs layer 21:07:33 6808be2612f2: Pulling fs layer 21:07:33 f25807f1079a: Pulling fs layer 21:07:33 6808be2612f2: Waiting 21:07:33 f25807f1079a: Waiting 21:07:33 a2aff8979fd8: Waiting 21:07:33 30dea6a524f1: Waiting 21:07:33 94cc34f8dd06: Waiting 21:07:33 a2d21d5440eb: Download complete 21:07:33 94cc34f8dd06: Verifying Checksum 21:07:33 94cc34f8dd06: Download complete 21:07:33 30dea6a524f1: Verifying Checksum 21:07:33 30dea6a524f1: Download complete 21:07:34 63b65145d645: Verifying Checksum 21:07:34 63b65145d645: Download complete 21:07:34 a2aff8979fd8: Verifying Checksum 21:07:34 a2aff8979fd8: Download complete 21:07:34 63b65145d645: Pull complete 21:07:34 a2d21d5440eb: Pull complete 21:07:34 f25807f1079a: Verifying Checksum 21:07:34 f25807f1079a: Download complete 21:07:34 935e6c44a52c: Download complete 21:07:34 6808be2612f2: Verifying Checksum 21:07:34 6808be2612f2: Download complete 21:07:38 935e6c44a52c: Pull complete 21:07:38 94cc34f8dd06: Pull complete 21:07:38 30dea6a524f1: Pull complete 21:07:38 a2aff8979fd8: Pull complete 21:07:40 6808be2612f2: Pull complete 21:07:41 f25807f1079a: Pull complete 21:07:41 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:41 ---> 3b553350e43f 21:07:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:44 ---> Running in 0619b3816d55 21:07:44 Removing intermediate container 0619b3816d55 21:07:44 ---> 3ced9838ef02 21:07:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:44 ---> Running in ba363ecbead7 21:07:44 Removing intermediate container ba363ecbead7 21:07:44 ---> 3ec3442d286e 21:07:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:44 ---> Running in fae61c19679b 21:07:44 Removing intermediate container fae61c19679b 21:07:44 ---> 2e1cd530ce27 21:07:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:44 ---> Running in 43baec1cb687 21:07:44 Removing intermediate container 43baec1cb687 21:07:44 ---> 0550c003e030 21:07:44 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:44 ---> Running in f507fc061dda 21:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:45 OK: 265 MiB in 53 packages 21:07:45 Removing intermediate container f507fc061dda 21:07:45 ---> b4aa4627e8f9 21:07:45 Step 8/12 : WORKDIR /app 21:07:45 ---> Running in 955d16a2da83 21:07:45 Removing intermediate container 955d16a2da83 21:07:45 ---> e5c6dab5745e 21:07:45 Step 9/12 : COPY go.mod vendor* ./ 21:07:45 ---> e601c3fa623b 21:07:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:45 ---> Running in 397c6031a993 21:07:47 Still waiting to schedule task 21:07:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:08:12 Removing intermediate container 397c6031a993 21:08:12 ---> 217d2de219b8 21:08:12 Step 11/12 : COPY . . 21:08:12 ---> 1dd1c53b4e39 21:08:12 Step 12/12 : RUN $MAKE 21:08:12 ---> Running in acc53f4e4240 21:08:12 noop 21:08:12 Removing intermediate container acc53f4e4240 21:08:12 ---> 215611065c83 21:08:12 Successfully built 215611065c83 21:08:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:12 + docker inspect -f . ci-base-image-x86_64 21:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:12 prd-ubuntu20.04-docker-8c-8g-2281 does not seem to be running inside a container 21:08:12 $ 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:08:12 $ docker top d0d62d7d89aeb17528631f8ddc13761bc06e5e60518d8de6808e8fe9ef9afe75 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:13 + go version 21:08:13 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:13 $ docker stop --time=1 d0d62d7d89aeb17528631f8ddc13761bc06e5e60518d8de6808e8fe9ef9afe75 21:08:14 $ docker rm -f --volumes d0d62d7d89aeb17528631f8ddc13761bc06e5e60518d8de6808e8fe9ef9afe75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:14 + docker inspect -f . ci-base-image-x86_64 21:08:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:15 prd-ubuntu20.04-docker-8c-8g-2281 does not seem to be running inside a container 21:08:15 $ 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:08:15 $ docker top 0ed95cf100e56617e212ba4b2c648b7d043d7cac0b84b31a797ef9b99b1895cb -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:15 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-166 [Pipeline] fileExists [Pipeline] sh 21:08:15 + make test 21:08:15 go test ./... -coverprofile=coverage.out ./... 21:08:20 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.527s coverage: 40.7% of statements 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.244s coverage: 52.0% of statements 21:08:33 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 96.4% of statements 21:08:41 go vet ./... 21:08:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:44 ./bin/test-attribution-txt.sh 21:08:44 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:44 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:44 $ docker stop --time=1 0ed95cf100e56617e212ba4b2c648b7d043d7cac0b84b31a797ef9b99b1895cb 21:08:47 $ docker rm -f --volumes 0ed95cf100e56617e212ba4b2c648b7d043d7cac0b84b31a797ef9b99b1895cb [Pipeline] // withDockerContainer [Pipeline] sh 21:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:48 + ls -al . 21:08:48 total 632 21:08:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 21:08 . 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 .. 21:08:48 -rw-rw-r-- 1 jenkins jenkins 134 Mar 15 21:07 .dockerignore 21:08:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:07 .git 21:08:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:07 .github 21:08:48 -rw-rw-r-- 1 jenkins jenkins 946 Mar 15 21:07 .gitignore 21:08:48 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 21:07 .golangci.yml 21:08:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:07 .semver 21:08:48 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 15 21:07 Attribution.txt 21:08:48 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 15 21:07 CHANGELOG.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 15 21:07 Dockerfile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:07 GOVERNANCE.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 683 Mar 15 21:07 Jenkinsfile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 21:07 LICENSE 21:08:48 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 15 21:07 Makefile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 21:07 OWNERS.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 15 21:07 README.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:07 VERSION 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 bin 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 cmd 21:08:48 -rw-r--r-- 1 jenkins jenkins 457862 Mar 15 21:08 coverage.out 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 examples 21:08:48 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 15 21:07 go.mod 21:08:48 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 15 21:07 go.sum 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 images 21:08:48 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:07 internal 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 snap 21:08:48 -rw-rw-r-- 1 jenkins jenkins 193 Mar 15 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:49 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=07de2db0258c3bce844b8ef4070345f90d178232 --label arch=amd64 --label version=0.0.0 . 21:08:49 Sending build context to Docker daemon 4.187MB 21:08:49 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:49 Step 2/24 : FROM ${BASE} AS builder 21:08:49 ---> 215611065c83 21:08:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:49 ---> Running in 73616ac1f91a 21:08:49 Removing intermediate container 73616ac1f91a 21:08:49 ---> 43a63644e869 21:08:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:49 ---> Running in f34e07cb10e7 21:08:49 Removing intermediate container f34e07cb10e7 21:08:49 ---> ecbdfb7d9098 21:08:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:49 ---> Running in 4dd94f6a1274 21:08:49 Removing intermediate container 4dd94f6a1274 21:08:49 ---> e751fb1be058 21:08:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:49 ---> Running in b9f5aec5d14e 21:08:49 Removing intermediate container b9f5aec5d14e 21:08:49 ---> 4df7795ec565 21:08:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:49 ---> Running in 12ada72d7daf 21:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:50 OK: 265 MiB in 53 packages 21:08:50 Removing intermediate container 12ada72d7daf 21:08:50 ---> ef5beb464078 21:08:50 Step 8/24 : WORKDIR /app 21:08:50 ---> Running in 7d01a392af7e 21:08:50 Removing intermediate container 7d01a392af7e 21:08:50 ---> 23dd3577a8d6 21:08:50 Step 9/24 : COPY go.mod vendor* ./ 21:08:50 ---> 16fed626fed4 21:08:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:50 ---> Running in 84c3f26f28b5 21:08:51 Removing intermediate container 84c3f26f28b5 21:08:51 ---> 7ab63492b8a2 21:08:51 Step 11/24 : COPY . . 21:08:51 ---> d20b3244f789 21:08:51 Step 12/24 : RUN $MAKE 21:08:51 ---> Running in 4d50dab2e878 21:08:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:10 Removing intermediate container 4d50dab2e878 21:09:10 ---> fe5149f4b353 21:09:10 Step 13/24 : FROM alpine:3.17 21:09:10 3.17: Pulling from library/alpine 21:09:10 63b65145d645: Already exists 21:09:10 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:09:10 Status: Downloaded newer image for alpine:3.17 21:09:10 ---> b2aa39c304c2 21:09:10 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:10 ---> Running in a780e13234a4 21:09:10 Removing intermediate container a780e13234a4 21:09:10 ---> 8c4db3fa5bef 21:09:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:10 ---> Running in c22069fc2360 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:10 (1/1) Installing dumb-init (1.2.5-r2) 21:09:10 Executing busybox-1.35.0-r29.trigger 21:09:10 OK: 7 MiB in 16 packages 21:09:10 Removing intermediate container c22069fc2360 21:09:10 ---> 38865992e6ef 21:09:10 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:10 ---> 1a21f3d18fa6 21:09:10 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:11 ---> cb8a0d5d48ae 21:09:11 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:11 ---> 30e8e45fa098 21:09:11 Step 19/24 : EXPOSE 59989 21:09:11 ---> Running in 3b97cd7d73a8 21:09:11 Removing intermediate container 3b97cd7d73a8 21:09:11 ---> 048c35c22796 21:09:11 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:11 ---> Running in d1acc0d45e1d 21:09:11 Removing intermediate container d1acc0d45e1d 21:09:11 ---> 68c66ad4ff12 21:09:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:11 ---> Running in 2ad013816fdd 21:09:11 Removing intermediate container 2ad013816fdd 21:09:11 ---> 1b2b2b75e8f4 21:09:11 Step 22/24 : LABEL arch=amd64 21:09:12 ---> Running in c397ca135843 21:09:12 Removing intermediate container c397ca135843 21:09:12 ---> 8919b6f7c3f7 21:09:12 Step 23/24 : LABEL git_sha=07de2db0258c3bce844b8ef4070345f90d178232 21:09:12 ---> Running in f39fa502aa24 21:09:12 Removing intermediate container f39fa502aa24 21:09:12 ---> 6489031805a5 21:09:12 Step 24/24 : LABEL version=0.0.0 21:09:12 ---> Running in bc7b9837b76a 21:09:12 Removing intermediate container bc7b9837b76a 21:09:12 ---> 5dc0f0ac69f5 21:09:12 [Warning] One or more build-args [ARCH] were not consumed 21:09:12 Successfully built 5dc0f0ac69f5 21:09:12 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:12 21:09:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:12 latest: Pulling from edgex-lftools-log-publisher 21:09:12 5eb5b503b376: Pulling fs layer 21:09:12 5c69ac0246d0: Pulling fs layer 21:09:12 ec43610c2a17: Pulling fs layer 21:09:12 3a2ae6a8a46f: Pulling fs layer 21:09:12 33b1e0a273af: Pulling fs layer 21:09:12 5d3b04190fa2: Pulling fs layer 21:09:12 2f39f015ded8: Pulling fs layer 21:09:12 33b1e0a273af: Waiting 21:09:12 5d3b04190fa2: Waiting 21:09:12 2f39f015ded8: Waiting 21:09:12 3a2ae6a8a46f: Waiting 21:09:12 5c69ac0246d0: Download complete 21:09:12 3a2ae6a8a46f: Verifying Checksum 21:09:12 3a2ae6a8a46f: Download complete 21:09:12 33b1e0a273af: Verifying Checksum 21:09:12 33b1e0a273af: Download complete 21:09:13 5d3b04190fa2: Verifying Checksum 21:09:13 5d3b04190fa2: Download complete 21:09:13 ec43610c2a17: Verifying Checksum 21:09:13 ec43610c2a17: Download complete 21:09:13 5eb5b503b376: Verifying Checksum 21:09:13 5eb5b503b376: Download complete 21:09:13 2f39f015ded8: Download complete 21:09:14 5eb5b503b376: Pull complete 21:09:14 5c69ac0246d0: Pull complete 21:09:14 ec43610c2a17: Pull complete 21:09:14 3a2ae6a8a46f: Pull complete 21:09:15 33b1e0a273af: Pull complete 21:09:15 5d3b04190fa2: Pull complete 21:09:19 2f39f015ded8: Pull complete 21:09:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:19 prd-ubuntu20.04-docker-8c-8g-2281 does not seem to be running inside a container 21:09:19 $ 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:09:22 $ docker top 1e2af4d9911c1f1830f4666de68fb87fa2baf25a54f07d3435513396f405ba8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:22 ---> job-cost.sh 21:09:22 lf-activate-venv: SKIPPING 21:09:22 INFO: No Stack... 21:09:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:23 INFO: Archiving Costs [Pipeline] sh 21:09:23 + cat /w/workspace/undry_device-rfid-llrp-go_PR-166/archives/cost.csv 21:09:23 + cut -d, -f6 [Pipeline] lock 21:09:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] 21:09:23 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] did not exist. Created. 21:09:23 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:23 Stashed 1 file(s) [Pipeline] } 21:09:23 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:23 $ docker stop --time=1 1e2af4d9911c1f1830f4666de68fb87fa2baf25a54f07d3435513396f405ba8b 21:09:24 $ docker rm -f --volumes 1e2af4d9911c1f1830f4666de68fb87fa2baf25a54f07d3435513396f405ba8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2283 in /w/workspace/undry_device-rfid-llrp-go_PR-166 [Pipeline] { [Pipeline] ws 21:10:13 Running in /w/workspace/device-rfid-llrp-go/6 [Pipeline] { [Pipeline] checkout 21:10:13 Selected Git installation does not exist. Using Default 21:10:13 The recommended git tool is: NONE 21:10:19 using credential edgex-jenkins-ssh 21:10:19 Cloning the remote Git repository 21:10:19 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:19 > git init /w/workspace/device-rfid-llrp-go/6 # timeout=10 21:10:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:19 > git --version # timeout=10 21:10:19 > git --version # 'git version 2.25.1' 21:10:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:22 Merging remotes/origin/main commit f3289a164b8ff7b22d28db9f748121107e7f7ddb into PR head commit 4f39821064733ecd064f980dc07cd44a264f8663 21:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:22 > git config core.sparsecheckout # timeout=10 21:10:23 Merge succeeded, producing 43859025f09604ba9f5cf6aacd8eb56a6d955f2a 21:10:23 Checking out Revision 43859025f09604ba9f5cf6aacd8eb56a6d955f2a (PR-166) 21:10:22 > git checkout -f 4f39821064733ecd064f980dc07cd44a264f8663 # timeout=10 21:10:22 > git remote # timeout=10 21:10:23 > git config --get remote.origin.url # timeout=10 21:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:23 > git merge f3289a164b8ff7b22d28db9f748121107e7f7ddb # timeout=10 21:10:23 > git rev-parse HEAD^{commit} # timeout=10 21:10:23 > git config core.sparsecheckout # timeout=10 21:10:23 > git checkout -f 43859025f09604ba9f5cf6aacd8eb56a6d955f2a # timeout=10 21:10:26 Commit message: "Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD" 21:10:26 > git rev-list --no-walk 4f39821064733ecd064f980dc07cd44a264f8663 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:27 Dload Upload Total Spent Left Speed 21:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 21:10:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:28 + sudo tee /etc/docker/daemon.new 21:10:28 { 21:10:28 "registry-mirrors": [ 21:10:28 "https://nexus3.edgexfoundry.org:10001" 21:10:28 ], 21:10:28 "bip": "10.250.0.254/24", 21:10:28 "hosts": [ 21:10:28 "tcp://0.0.0.0:5555", 21:10:28 "unix:///var/run/docker.sock" 21:10:28 ], 21:10:28 "mtu": 1458, 21:10:28 "selinux-enabled": true, 21:10:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:28 } [Pipeline] sh 21:10:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:47 provisioning config files... 21:10:47 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/6@tmp/config13112382925271343322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:48 ---> docker-login.sh 21:10:48 nexus3.edgexfoundry.org:10001 21:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:48 Configure a credential helper to remove this warning. See 21:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:48 21:10:48 Login Succeeded 21:10:48 nexus3.edgexfoundry.org:10002 21:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:48 Configure a credential helper to remove this warning. See 21:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:48 21:10:48 Login Succeeded 21:10:48 nexus3.edgexfoundry.org:10003 21:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:49 Configure a credential helper to remove this warning. See 21:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:49 21:10:49 Login Succeeded 21:10:49 nexus3.edgexfoundry.org:10004 21:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:49 Configure a credential helper to remove this warning. See 21:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:49 21:10:49 Login Succeeded 21:10:49 docker.io 21:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:50 Configure a credential helper to remove this warning. See 21:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:50 21:10:50 Login Succeeded 21:10:50 ---> docker-login.sh ends [Pipeline] } 21:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:50 ========================================================= 21:10:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:10:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:10:51 Sending build context to Docker daemon 1.213MB 21:10:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:10:51 Step 2/12 : FROM ${BASE} AS builder 21:10:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:51 af6eaf76a39c: Pulling fs layer 21:10:51 55522c791124: Pulling fs layer 21:10:51 ce5c4a1c91eb: Pulling fs layer 21:10:51 169dfbe0d373: Pulling fs layer 21:10:51 e1ff8fa3b103: Pulling fs layer 21:10:51 52ebb69f0ebf: Pulling fs layer 21:10:51 5abe8eddf0d5: Pulling fs layer 21:10:51 169dfbe0d373: Waiting 21:10:51 e1ff8fa3b103: Waiting 21:10:51 52ebb69f0ebf: Waiting 21:10:51 5abe8eddf0d5: Waiting 21:10:51 55522c791124: Download complete 21:10:51 169dfbe0d373: Download complete 21:10:51 e1ff8fa3b103: Download complete 21:10:51 af6eaf76a39c: Verifying Checksum 21:10:51 af6eaf76a39c: Download complete 21:10:52 af6eaf76a39c: Pull complete 21:10:52 5abe8eddf0d5: Verifying Checksum 21:10:52 5abe8eddf0d5: Download complete 21:10:53 55522c791124: Pull complete 21:10:53 ce5c4a1c91eb: Verifying Checksum 21:10:53 ce5c4a1c91eb: Download complete 21:10:53 52ebb69f0ebf: Verifying Checksum 21:10:53 52ebb69f0ebf: Download complete 21:11:04 ce5c4a1c91eb: Pull complete 21:11:04 169dfbe0d373: Pull complete 21:11:04 e1ff8fa3b103: Pull complete 21:11:09 52ebb69f0ebf: Pull complete 21:11:11 5abe8eddf0d5: Pull complete 21:11:11 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:11 ---> 6cb57ee374ae 21:11:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:13 ---> Running in f32d3cad6417 21:11:13 Removing intermediate container f32d3cad6417 21:11:13 ---> e13a9085714f 21:11:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:13 ---> Running in 79ed0d750f7e 21:11:13 Removing intermediate container 79ed0d750f7e 21:11:13 ---> b37a56d00ea8 21:11:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:13 ---> Running in d14ce0a48ca8 21:11:14 Removing intermediate container d14ce0a48ca8 21:11:14 ---> c69f87f63187 21:11:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:14 ---> Running in 768828a074bb 21:11:14 Removing intermediate container 768828a074bb 21:11:14 ---> 1672e1e83988 21:11:14 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:14 ---> Running in c40cf66a8de4 21:11:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:17 OK: 263 MiB in 53 packages 21:11:18 Removing intermediate container c40cf66a8de4 21:11:18 ---> 4c496d6e5673 21:11:18 Step 8/12 : WORKDIR /app 21:11:18 ---> Running in ddb29842f6b4 21:11:18 Removing intermediate container ddb29842f6b4 21:11:18 ---> 1b7d25fd0bd3 21:11:18 Step 9/12 : COPY go.mod vendor* ./ 21:11:18 ---> b7b0a3cd1096 21:11:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:18 ---> Running in a3989b113a0f 21:12:26 Removing intermediate container a3989b113a0f 21:12:26 ---> 67c5a70e326b 21:12:26 Step 11/12 : COPY . . 21:12:26 ---> e5b989c94310 21:12:26 Step 12/12 : RUN $MAKE 21:12:26 ---> Running in 7f27c7ba3a7e 21:12:26 noop 21:12:26 Removing intermediate container 7f27c7ba3a7e 21:12:26 ---> d2a22fb7088c 21:12:26 Successfully built d2a22fb7088c 21:12:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:27 + docker inspect -f . ci-base-image-arm64 21:12:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-2283 does not seem to be running inside a container 21:12:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:28 $ docker top 31bf0a8fc5027a6b4686a2cb9f376f21912e4c3950db84562dae1c0395c51b12 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:29 + go version 21:12:29 go version go1.20.2 linux/arm64 [Pipeline] } 21:12:29 $ docker stop --time=1 31bf0a8fc5027a6b4686a2cb9f376f21912e4c3950db84562dae1c0395c51b12 21:12:31 $ docker rm -f --volumes 31bf0a8fc5027a6b4686a2cb9f376f21912e4c3950db84562dae1c0395c51b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:31 + docker inspect -f . ci-base-image-arm64 21:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-2283 does not seem to be running inside a container 21:12:31 $ 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/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:32 $ docker top 0ef73668437259bf05f04efb7afa7236870618be37f81944e68f2a58bbbc596d -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:33 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/6 [Pipeline] fileExists [Pipeline] sh 21:12:33 + make test 21:12:33 go test ./... -coverprofile=coverage.out ./... 21:13:05 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:15:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:15:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:15:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.802s coverage: 40.7% of statements 21:15:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.610s coverage: 51.9% of statements 21:15:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.068s coverage: 95.5% of statements 21:15:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:15:51 go vet ./... 21:16:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:18 ./bin/test-attribution-txt.sh 21:16:18 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:16:18 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:18 $ docker stop --time=1 0ef73668437259bf05f04efb7afa7236870618be37f81944e68f2a58bbbc596d 21:16:19 $ docker rm -f --volumes 0ef73668437259bf05f04efb7afa7236870618be37f81944e68f2a58bbbc596d [Pipeline] // withDockerContainer [Pipeline] sh 21:16:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:21 Warning: overwriting stash ‘coverage-report’ 21:16:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:22 + ls -al . 21:16:22 total 628 21:16:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 21:12 . 21:16:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:10 .. 21:16:22 -rw-rw-r-- 1 jenkins jenkins 134 Mar 15 21:10 .dockerignore 21:16:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:10 .git 21:16:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:10 .github 21:16:22 -rw-rw-r-- 1 jenkins jenkins 946 Mar 15 21:10 .gitignore 21:16:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 21:10 .golangci.yml 21:16:22 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 15 21:10 Attribution.txt 21:16:22 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 15 21:10 CHANGELOG.md 21:16:22 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 15 21:10 Dockerfile 21:16:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:10 GOVERNANCE.md 21:16:22 -rw-rw-r-- 1 jenkins jenkins 683 Mar 15 21:10 Jenkinsfile 21:16:22 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 21:10 LICENSE 21:16:22 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 15 21:10 Makefile 21:16:22 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 21:10 OWNERS.md 21:16:22 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 15 21:10 README.md 21:16:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:07 VERSION 21:16:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:10 bin 21:16:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:10 cmd 21:16:22 -rw-r--r-- 1 jenkins jenkins 457862 Mar 15 21:15 coverage.out 21:16:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:10 examples 21:16:22 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 15 21:10 go.mod 21:16:22 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 15 21:10 go.sum 21:16:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:10 images 21:16:22 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:10 internal 21:16:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:10 snap 21:16:22 -rw-rw-r-- 1 jenkins jenkins 193 Mar 15 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:22 + 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=43859025f09604ba9f5cf6aacd8eb56a6d955f2a --label arch=arm64 --label version=0.0.0 . 21:16:23 Sending build context to Docker daemon 1.213MB 21:16:23 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:16:23 Step 2/24 : FROM ${BASE} AS builder 21:16:23 ---> d2a22fb7088c 21:16:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:16:23 ---> Running in 50facc313990 21:16:23 Removing intermediate container 50facc313990 21:16:23 ---> 4f69e170ebd9 21:16:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:23 ---> Running in a5b1cf2824a6 21:16:24 Removing intermediate container a5b1cf2824a6 21:16:24 ---> 290b436e98eb 21:16:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:16:24 ---> Running in 402c56338a3b 21:16:24 Removing intermediate container 402c56338a3b 21:16:24 ---> fccd69eb2e67 21:16:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:16:24 ---> Running in 5b9fb1f3d084 21:16:24 Removing intermediate container 5b9fb1f3d084 21:16:24 ---> 1d1fbfd5d53a 21:16:24 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:24 ---> Running in cae522265e76 21:16:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:27 OK: 263 MiB in 53 packages 21:16:28 Removing intermediate container cae522265e76 21:16:28 ---> b8088f3616d1 21:16:28 Step 8/24 : WORKDIR /app 21:16:28 ---> Running in 281f9632dc7b 21:16:29 Removing intermediate container 281f9632dc7b 21:16:29 ---> 17873d6368f8 21:16:29 Step 9/24 : COPY go.mod vendor* ./ 21:16:29 ---> 43cb773ebe58 21:16:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:29 ---> Running in 7905fe53683a 21:16:32 Removing intermediate container 7905fe53683a 21:16:32 ---> 1ed14350c424 21:16:32 Step 11/24 : COPY . . 21:16:33 ---> eb5820525a84 21:16:33 Step 12/24 : RUN $MAKE 21:16:33 ---> Running in 93dacb241602 21:16:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:18:55 Removing intermediate container 93dacb241602 21:18:55 ---> 5d4d3b808973 21:18:55 Step 13/24 : FROM alpine:3.17 21:18:55 3.17: Pulling from library/alpine 21:18:55 af6eaf76a39c: Already exists 21:18:55 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:18:55 Status: Downloaded newer image for alpine:3.17 21:18:55 ---> d74e625d9115 21:18:55 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:18:55 ---> Running in 50e30ee49acb 21:18:55 Removing intermediate container 50e30ee49acb 21:18:55 ---> a4a989d43441 21:18:55 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:18:55 ---> Running in d31e2f614b56 21:18:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:55 (1/1) Installing dumb-init (1.2.5-r2) 21:18:55 Executing busybox-1.35.0-r29.trigger 21:18:55 OK: 8 MiB in 16 packages 21:18:55 Removing intermediate container d31e2f614b56 21:18:55 ---> b8df0b3f8f7e 21:18:55 Step 16/24 : COPY --from=builder /app/LICENSE / 21:18:55 ---> ba3351a4ad03 21:18:55 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:18:55 ---> f41c29e6a58c 21:18:55 Step 18/24 : COPY --from=builder /app/cmd/ / 21:18:56 ---> ecb99a7f3d64 21:18:56 Step 19/24 : EXPOSE 59989 21:18:56 ---> Running in 024a53f4a62b 21:18:57 Removing intermediate container 024a53f4a62b 21:18:57 ---> 56b6cc7962ac 21:18:57 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:18:57 ---> Running in c7778ff8f910 21:18:57 Removing intermediate container c7778ff8f910 21:18:57 ---> ee9e18fc59d6 21:18:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:18:57 ---> Running in 78d0d6f3abf0 21:18:57 Removing intermediate container 78d0d6f3abf0 21:18:57 ---> fb506a9f4622 21:18:57 Step 22/24 : LABEL arch=arm64 21:18:57 ---> Running in 9b26730ea343 21:18:58 Removing intermediate container 9b26730ea343 21:18:58 ---> 1125ac5309f2 21:18:58 Step 23/24 : LABEL git_sha=43859025f09604ba9f5cf6aacd8eb56a6d955f2a 21:18:58 ---> Running in c2abf4ef224f 21:18:58 Removing intermediate container c2abf4ef224f 21:18:58 ---> 762e6ac8ab83 21:18:58 Step 24/24 : LABEL version=0.0.0 21:18:58 ---> Running in 883beca6dafc 21:18:58 Removing intermediate container 883beca6dafc 21:18:58 ---> 5e3a57ebc5b3 21:18:58 [Warning] One or more build-args [ARCH] were not consumed 21:18:58 Successfully built 5e3a57ebc5b3 21:18:58 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:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:59 21:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:59 arm64: Pulling from edgex-lftools-log-publisher 21:18:59 8998bd30e6a1: Pulling fs layer 21:18:59 04944245beec: Pulling fs layer 21:18:59 699f458cf7ca: Pulling fs layer 21:18:59 765212b225bb: Pulling fs layer 21:18:59 f23df028b6ca: Pulling fs layer 21:18:59 d65c8cfc05b1: Pulling fs layer 21:18:59 2437ff75d9bd: Pulling fs layer 21:18:59 f23df028b6ca: Waiting 21:18:59 d65c8cfc05b1: Waiting 21:18:59 2437ff75d9bd: Waiting 21:18:59 765212b225bb: Waiting 21:18:59 04944245beec: Verifying Checksum 21:18:59 04944245beec: Download complete 21:18:59 f23df028b6ca: Verifying Checksum 21:18:59 f23df028b6ca: Download complete 21:18:59 d65c8cfc05b1: Verifying Checksum 21:18:59 d65c8cfc05b1: Download complete 21:18:59 699f458cf7ca: Verifying Checksum 21:18:59 699f458cf7ca: Download complete 21:19:00 8998bd30e6a1: Verifying Checksum 21:19:00 8998bd30e6a1: Download complete 21:19:02 2437ff75d9bd: Verifying Checksum 21:19:02 2437ff75d9bd: Download complete 21:19:04 8998bd30e6a1: Pull complete 21:19:04 04944245beec: Pull complete 21:19:05 699f458cf7ca: Pull complete 21:19:05 765212b225bb: Pull complete 21:19:06 f23df028b6ca: Pull complete 21:19:06 d65c8cfc05b1: Pull complete 21:19:19 2437ff75d9bd: Pull complete 21:19:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:19:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:19 prd-ubuntu20.04-docker-arm64-4c-16g-2283 does not seem to be running inside a container 21:19:19 $ 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/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:19:22 $ docker top b2b497c9dacb9d101f65e4255e01e7d7d403eed6dc3903a6a3a92ab977265a50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:23 ---> job-cost.sh 21:19:23 lf-activate-venv: SKIPPING 21:19:23 INFO: No Stack... 21:19:23 INFO: Retrieving Pricing Info for: v3-standard-4 21:19:24 INFO: Archiving Costs [Pipeline] sh 21:19:25 + cat /w/workspace/device-rfid-llrp-go/6/archives/cost.csv 21:19:25 + cut -d, -f6 [Pipeline] lock 21:19:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] 21:19:25 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] did not exist. Created. 21:19:25 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:25 /w/workspace/device-rfid-llrp-go/6@tmp/durable-5b4965aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:19:26 + echo total: 0.10999999940395355 [Pipeline] stash 21:19:26 Warning: overwriting stash ‘stack-cost’ 21:19:26 Stashed 1 file(s) [Pipeline] } 21:19:26 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-166-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:26 $ docker stop --time=1 b2b497c9dacb9d101f65e4255e01e7d7d403eed6dc3903a6a3a92ab977265a50 21:19:28 $ docker rm -f --volumes b2b497c9dacb9d101f65e4255e01e7d7d403eed6dc3903a6a3a92ab977265a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:19:29 provisioning config files... 21:19:29 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config4392336950897211151tmp [Pipeline] { [Pipeline] sh 21:19:29 + set +x 21:19:29 + bash -s -- 21:19:29 + curl -s https://codecov.io/bash 21:19:29 21:19:29 _____ _ 21:19:29 / ____| | | 21:19:29 | | ___ __| | ___ ___ _____ __ 21:19:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:19:29 | |___| (_) | (_| | __/ (_| (_) \ V / 21:19:29 \_____\___/ \__,_|\___|\___\___/ \_/ 21:19:29 Bash-1.0.6 21:19:29 21:19:29 21:19:29 ==> git version 2.25.1 found 21:19:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:19:29 Release-Date: 2020-01-08 21:19:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:19:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:19:29 ==> Jenkins CI detected. 21:19:29 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-166 21:19:29 project root: . 21:19:29 --> token set from env 21:19:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:19:29 ==> Running gcov in . (disable via -X gcov) 21:19:29 ==> Python coveragepy not found 21:19:29 ==> Searching for coverage reports in: 21:19:29 + . 21:19:29 -> Found 1 reports 21:19:29 ==> Detecting git/mercurial file structure 21:19:29 ==> Reading reports 21:19:29 + ./coverage.out bytes=457862 21:19:29 ==> Appending adjustments 21:19:29 https://docs.codecov.io/docs/fixing-reports 21:19:29 + Found adjustments 21:19:29 ==> Gzipping contents 21:19:29 52K /tmp/codecov.fDb91e.gz 21:19:29 ==> Uploading reports 21:19:29 url: https://codecov.io 21:19:29 query: branch=PR-166&commit=07de2db0258c3bce844b8ef4070345f90d178232&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-166%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 21:19:29 -> Pinging Codecov 21:19:29 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=07de2db0258c3bce844b8ef4070345f90d178232&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-166%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 21:19:29 -> Uploading to 21:19:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/581DD39554BDF9B6E22D074273EAD858/07de2db0258c3bce844b8ef4070345f90d178232/d146bb2e-fed7-44bb-9af5-3173c2c8b58f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T211929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d7b55cf5f225732213fc7284f82f815d90791367040eb0865753ee254c9770f 21:19:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:29 Dload Upload Total Spent Left Speed 21:19:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50487 0 0 100 50487 0 198k --:--:-- --:--:-- --:--:-- 198k 21:19:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/07de2db0258c3bce844b8ef4070345f90d178232 [Pipeline] } 21:19:30 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:19:30 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-166/archives ] 21:19:30 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:19:30 total 16 21:19:30 drwxr-xr-x 3 root root 4096 Mar 15 21:09 . 21:19:30 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:09 .. 21:19:30 drwxr-xr-x 2 root root 4096 Mar 15 21:09 cost 21:19:30 -rw-r--r-- 1 root root 91 Mar 15 21:09 cost.csv 21:19:30 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:19:30 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-166/archives 21:19:30 total 16 21:19:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:09 . 21:19:30 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:09 .. 21:19:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 21:09 cost 21:19:30 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:19:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:19:31 ---> package-listing.sh 21:19:31 ++ facter osfamily 21:19:31 ++ tr '[:upper:]' '[:lower:]' 21:19:32 + OS_FAMILY=debian 21:19:32 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-166 21:19:32 + START_PACKAGES=/tmp/packages_start.txt 21:19:32 + END_PACKAGES=/tmp/packages_end.txt 21:19:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:19:32 + PACKAGES=/tmp/packages_start.txt 21:19:32 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-166 ']' 21:19:32 + PACKAGES=/tmp/packages_end.txt 21:19:32 + case "${OS_FAMILY}" in 21:19:32 + dpkg -l 21:19:32 + grep '^ii' 21:19:32 + '[' -f /tmp/packages_start.txt ']' 21:19:32 + '[' -f /tmp/packages_end.txt ']' 21:19:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:19:32 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-166 ']' 21:19:32 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-166/archives/ 21:19:32 + 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:19:32 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:19:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:33 prd-ubuntu20.04-docker-8c-8g-2281 does not seem to be running inside a container 21:19:33 $ 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:19:33 $ docker top bf9a0261df292db76fa9bb451b9facc86347462713ed00d91f6d1539a70c204a -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:19:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:19:34 + ls /var/log/sa-host 21:19:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:34 provisioning config files... 21:19:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-166@tmp/config15108371262650800449tmp [Pipeline] { [Pipeline] echo 21:19:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:19:34 ---> create-netrc.sh [Pipeline] } 21:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:19:35 ---> python-tools-install.sh [Pipeline] echo 21:19:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:19:35 ---> sudo-logs.sh 21:19:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:19:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:19:35 ---> job-cost.sh 21:19:35 lf-activate-venv: SKIPPING 21:19:35 DEBUG: total: 0.2199999988079071 21:19:35 INFO: Retrieving Stack Cost... 21:19:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:36 INFO: Archiving Costs [Pipeline] echo 21:19:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:19:36 ---> logs-deploy.sh 21:19:36 lf-activate-venv: SKIPPING 21:19:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-166/6 21:19:36 INFO: archiving workspace using pattern(s): 21:19:37 Archives upload complete. 21:19:37 INFO: archiving logs to Nexus