Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+4fe2aecf89df903f23adfee15c95ee56012857a5 (8b6a8edcf454f86280236b7fd58e08e9485c8a9e) 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-ssh12962792071934605661.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10151797780031553487.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3915269125024151093.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3369473693501598153.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7931479475174217300.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8508 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4fe2aecf89df903f23adfee15c95ee56012857a5 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 192b885d0dccac806691474798223b054b6e58a8 Checking out Revision 192b885d0dccac806691474798223b054b6e58a8 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # 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 4fe2aecf89df903f23adfee15c95ee56012857a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 192b885d0dccac806691474798223b054b6e58a8 # timeout=10 Commit message: "Merge commit '4fe2aecf89df903f23adfee15c95ee56012857a5' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 352fd39eaad5044d4e4362fd2bc4431203e098b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:23 ========================================================= 21:06:23 EdgeX Global Pipelines Version Info 21:06:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:24 ------------------- 21:06:24 stable info: 21:06:24 ------------------- 21:06:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:24 Message: update stable to v1.0.254 21:06:25 ------------------- 21:06:25 experimental info: 21:06:25 ------------------- 21:06:25 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:25 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 192b885d0dccac806691474798223b054b6e58a8 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 192b885 [Pipeline] echo 21:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:25 provisioning config files... 21:06:26 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config6675903069450755657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:26 ---> docker-login.sh 21:06:26 nexus3.edgexfoundry.org:10001 21:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:26 Configure a credential helper to remove this warning. See 21:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:26 21:06:26 Login Succeeded 21:06:26 nexus3.edgexfoundry.org:10002 21:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:26 Configure a credential helper to remove this warning. See 21:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:26 21:06:26 Login Succeeded 21:06:26 nexus3.edgexfoundry.org:10003 21:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:26 Configure a credential helper to remove this warning. See 21:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:26 21:06:26 Login Succeeded 21:06:26 nexus3.edgexfoundry.org:10004 21:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:26 Configure a credential helper to remove this warning. See 21:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:26 21:06:26 Login Succeeded 21:06:26 docker.io 21:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:27 Configure a credential helper to remove this warning. See 21:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:27 21:06:27 Login Succeeded 21:06:27 ---> docker-login.sh ends [Pipeline] } 21:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:27 + git rev-list -1 --merges 192b885d0dccac806691474798223b054b6e58a8~1..192b885d0dccac806691474798223b054b6e58a8 [Pipeline] echo 21:06:27 -----------> git rev-list -1 --merges 192b885d0dccac806691474798223b054b6e58a8~1..192b885d0dccac806691474798223b054b6e58a8 192b885d0dccac806691474798223b054b6e58a8 21:06:27 192b885d0dccac806691474798223b054b6e58a8 [false] [Pipeline] sh 21:06:28 + git log --format=format:%s -1 192b885d0dccac806691474798223b054b6e58a8 [Pipeline] echo 21:06:28 ========================================================= 21:06:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:28 + git log --format=format:%s -1 192b885d0dccac806691474798223b054b6e58a8 [Pipeline] echo 21:06:28 [semverPrep] GIT_COMMIT: 192b885d0dccac806691474798223b054b6e58a8, Commit Message: Merge commit '4fe2aecf89df903f23adfee15c95ee56012857a5' into HEAD [Pipeline] echo 21:06:28 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:28 + grep -v github /etc/ssh/ssh_known_hosts 21:06:28 + [ -e /tmp/ssh_known_hosts ] 21:06:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:29 21:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:29 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:29 b85a868b505f: Pulling fs layer 21:06:29 e2be974225ed: Pulling fs layer 21:06:29 339a4e72a1f5: Pulling fs layer 21:06:29 988bab9f4d93: Pulling fs layer 21:06:29 1469e6f7b9e6: Pulling fs layer 21:06:29 eaf3925da568: Pulling fs layer 21:06:29 bab4dde63d76: Pulling fs layer 21:06:29 bde34c3a00c8: Pulling fs layer 21:06:29 b352a97aabf1: Pulling fs layer 21:06:29 4872d77fe225: Pulling fs layer 21:06:29 5851b861e8e6: Pulling fs layer 21:06:29 eaf3925da568: Waiting 21:06:29 bab4dde63d76: Waiting 21:06:29 bde34c3a00c8: Waiting 21:06:29 b352a97aabf1: Waiting 21:06:29 4872d77fe225: Waiting 21:06:29 5851b861e8e6: Waiting 21:06:29 988bab9f4d93: Waiting 21:06:29 1469e6f7b9e6: Waiting 21:06:29 e2be974225ed: Download complete 21:06:29 988bab9f4d93: Verifying Checksum 21:06:29 988bab9f4d93: Download complete 21:06:29 1469e6f7b9e6: Verifying Checksum 21:06:29 1469e6f7b9e6: Download complete 21:06:29 eaf3925da568: Verifying Checksum 21:06:29 eaf3925da568: Download complete 21:06:29 339a4e72a1f5: Verifying Checksum 21:06:29 339a4e72a1f5: Download complete 21:06:29 bde34c3a00c8: Download complete 21:06:29 b352a97aabf1: Verifying Checksum 21:06:29 b352a97aabf1: Download complete 21:06:29 4872d77fe225: Verifying Checksum 21:06:29 4872d77fe225: Download complete 21:06:29 5851b861e8e6: Download complete 21:06:29 b85a868b505f: Verifying Checksum 21:06:29 b85a868b505f: Download complete 21:06:30 bab4dde63d76: Verifying Checksum 21:06:30 bab4dde63d76: Download complete 21:06:30 b85a868b505f: Pull complete 21:06:31 e2be974225ed: Pull complete 21:06:31 339a4e72a1f5: Pull complete 21:06:31 988bab9f4d93: Pull complete 21:06:32 1469e6f7b9e6: Pull complete 21:06:32 eaf3925da568: Pull complete 21:06:33 bab4dde63d76: Pull complete 21:06:33 bde34c3a00c8: Pull complete 21:06:33 b352a97aabf1: Pull complete 21:06:34 4872d77fe225: Pull complete 21:06:34 5851b861e8e6: Pull complete 21:06:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:34 prd-ubuntu20.04-docker-8c-8g-8508 does not seem to be running inside a container 21:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:06:36 $ docker top d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c -eo pid,comm 21:06:36 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:06:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:36 [ssh-agent] Looking for ssh-agent implementation... 21:06:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:36 $ docker exec d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c ssh-agent 21:06:36 SSH_AUTH_SOCK=/tmp/ssh-vSZeYI0pxRy0/agent.32 21:06:36 SSH_AGENT_PID=38 21:06:36 Running ssh-add (command line suppressed) 21:06:37 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_15251365066947512017.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_15251365066947512017.key) 21:06:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:37 + git tag --points-at HEAD [Pipeline] } 21:06:37 $ docker exec --env ******** --env ******** d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c ssh-agent -k 21:06:37 unset SSH_AUTH_SOCK; 21:06:37 unset SSH_AGENT_PID; 21:06:37 echo Agent pid 38 killed; 21:06:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:37 [ssh-agent] Looking for ssh-agent implementation... 21:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:37 $ docker exec d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c ssh-agent 21:06:37 SSH_AUTH_SOCK=/tmp/ssh-41B5LKecK2Hv/agent.70 21:06:37 SSH_AGENT_PID=76 21:06:37 Running ssh-add (command line suppressed) 21:06:37 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4458469337883546748.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4458469337883546748.key) 21:06:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:38 + git semver init 21:06:38 2023-10-04 21:06:38,348 [run_init] DEBUG init version:0.0.0 force:False 21:06:38 2023-10-04 21:06:38,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:38 2023-10-04 21:06:38,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:38 2023-10-04 21:06:38,349 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:06:39 2023-10-04 21:06:39,206 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:06:39 2023-10-04 21:06:39,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:06:39 2023-10-04 21:06:39,206 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:39 2023-10-04 21:06:39,211 [execute] INFO git cat-file --batch-check 21:06:39 2023-10-04 21:06:39,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:06:39 2023-10-04 21:06:39,217 [execute] INFO git cat-file --batch 21:06:39 2023-10-04 21:06:39,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:06:39 2023-10-04 21:06:39,223 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:39 0.0.0 [Pipeline] } 21:06:39 $ docker exec --env ******** --env ******** d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c ssh-agent -k 21:06:39 unset SSH_AUTH_SOCK; 21:06:39 unset SSH_AGENT_PID; 21:06:39 echo Agent pid 76 killed; 21:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:39 + git semver [Pipeline] } 21:06:40 $ docker stop --time=1 d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c 21:06:41 $ docker rm -f --volumes d2a83748e55d9ca1b46f6aace498b02cb11c5e645c17588f4a4a31d71160405c [Pipeline] // withDockerContainer [Pipeline] sh 21:06:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:41 Stashed 1 file(s) [Pipeline] echo 21:06:41 [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:06:42 provisioning config files... 21:06:42 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config6087845820755328356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:42 ---> docker-login.sh 21:06:42 nexus3.edgexfoundry.org:10001 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10002 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10003 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10004 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 docker.io 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 ---> docker-login.sh ends [Pipeline] } 21:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:43 ========================================================= 21:06:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:06:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:06:43 Sending build context to Docker daemon 4.366MB 21:06:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:06:43 Step 2/12 : FROM ${BASE} AS builder 21:06:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:43 7264a8db6415: Pulling fs layer 21:06:43 c4d48a809fc2: Pulling fs layer 21:06:43 4f1c88b9dad5: Pulling fs layer 21:06:43 ad3a456e5733: Pulling fs layer 21:06:43 33e27b845d1e: Pulling fs layer 21:06:43 c68163c4e522: Pulling fs layer 21:06:43 50da416c3ac9: Pulling fs layer 21:06:43 23d2d4c4bb30: Pulling fs layer 21:06:43 33e27b845d1e: Waiting 21:06:43 ad3a456e5733: Waiting 21:06:43 c68163c4e522: Waiting 21:06:43 50da416c3ac9: Waiting 21:06:43 23d2d4c4bb30: Waiting 21:06:43 c4d48a809fc2: Download complete 21:06:43 ad3a456e5733: Download complete 21:06:43 33e27b845d1e: Download complete 21:06:43 7264a8db6415: Verifying Checksum 21:06:43 7264a8db6415: Download complete 21:06:43 c68163c4e522: Verifying Checksum 21:06:43 c68163c4e522: Download complete 21:06:43 7264a8db6415: Pull complete 21:06:44 23d2d4c4bb30: Verifying Checksum 21:06:44 23d2d4c4bb30: Download complete 21:06:44 c4d48a809fc2: Pull complete 21:06:44 4f1c88b9dad5: Verifying Checksum 21:06:44 4f1c88b9dad5: Download complete 21:06:44 50da416c3ac9: Verifying Checksum 21:06:44 50da416c3ac9: Download complete 21:06:47 4f1c88b9dad5: Pull complete 21:06:47 ad3a456e5733: Pull complete 21:06:47 33e27b845d1e: Pull complete 21:06:47 c68163c4e522: Pull complete 21:06:49 50da416c3ac9: Pull complete 21:06:50 23d2d4c4bb30: Pull complete 21:06:50 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:06:50 ---> 0786185ac409 21:06:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:53 ---> Running in 9e289d67e480 21:06:53 Removing intermediate container 9e289d67e480 21:06:53 ---> ee9207c4d84d 21:06:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:53 ---> Running in 916eeb425f55 21:06:53 Removing intermediate container 916eeb425f55 21:06:53 ---> e63dcc790026 21:06:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:06:53 ---> Running in e35826a71b6c 21:06:53 Removing intermediate container e35826a71b6c 21:06:53 ---> be8931eba89f 21:06:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:53 ---> Running in 99d5f517c52a 21:06:53 Removing intermediate container 99d5f517c52a 21:06:53 ---> 764c7b42abc5 21:06:53 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:53 ---> Running in 443c7d59a6b4 21:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:06:54 OK: 264 MiB in 52 packages 21:06:55 Removing intermediate container 443c7d59a6b4 21:06:55 ---> 0cbffab5e7fa 21:06:55 Step 8/12 : WORKDIR /app 21:06:55 ---> Running in 965c2ccf3692 21:06:55 Removing intermediate container 965c2ccf3692 21:06:55 ---> 3e290fed01a8 21:06:55 Step 9/12 : COPY go.mod vendor* ./ 21:06:55 ---> 9dc47b0d78e0 21:06:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:55 ---> Running in 1fec6a5ae377 21:06:57 Still waiting to schedule task 21:06:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:27 Removing intermediate container 1fec6a5ae377 21:07:27 ---> 8c16e7b03817 21:07:27 Step 11/12 : COPY . . 21:07:27 ---> 3c165552e9bc 21:07:27 Step 12/12 : RUN $MAKE 21:07:27 ---> Running in 0ccd7a073bcd 21:07:27 noop 21:07:27 Removing intermediate container 0ccd7a073bcd 21:07:27 ---> b5fc438b6671 21:07:27 Successfully built b5fc438b6671 21:07:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:27 + docker inspect -f . ci-base-image-x86_64 21:07:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:27 prd-ubuntu20.04-docker-8c-8g-8508 does not seem to be running inside a container 21:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:07:28 $ docker top 52c79e83deb790bfe11e2566fd0fb164add8ee1d788fd95f6860bc013cb2540b -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:28 + go version 21:07:28 go version go1.21.0 linux/amd64 [Pipeline] } 21:07:28 $ docker stop --time=1 52c79e83deb790bfe11e2566fd0fb164add8ee1d788fd95f6860bc013cb2540b 21:07:29 $ docker rm -f --volumes 52c79e83deb790bfe11e2566fd0fb164add8ee1d788fd95f6860bc013cb2540b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:30 + docker inspect -f . ci-base-image-x86_64 21:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:30 prd-ubuntu20.04-docker-8c-8g-8508 does not seem to be running inside a container 21:07:30 $ 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-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:07:30 $ docker top 0c7ace3468c10eb9040b91424b41df59e1d86053f5e3368ec6122d4bc552ba08 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:30 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:07:31 + make test 21:07:31 go test ./... -coverprofile=coverage.out ./... 21:07:32 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:07:44 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:07:44 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:07:47 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.320s coverage: 40.6% of statements 21:07:47 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.259s coverage: 51.9% of statements 21:07:47 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.012s coverage: 95.5% of statements 21:08:05 go vet ./... 21:08:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:09 $ docker stop --time=1 0c7ace3468c10eb9040b91424b41df59e1d86053f5e3368ec6122d4bc552ba08 21:08:11 $ docker rm -f --volumes 0c7ace3468c10eb9040b91424b41df59e1d86053f5e3368ec6122d4bc552ba08 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:12 + ls -al . 21:08:12 total 644 21:08:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 21:07 . 21:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:06 .. 21:08:12 -rw-rw-r-- 1 jenkins jenkins 134 Oct 4 21:06 .dockerignore 21:08:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 21:07 .git 21:08:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 21:06 .github 21:08:12 -rw-rw-r-- 1 jenkins jenkins 946 Oct 4 21:06 .gitignore 21:08:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 21:06 .golangci.yml 21:08:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 21:06 .semver 21:08:12 -rw-rw-r-- 1 jenkins jenkins 11980 Oct 4 21:06 Attribution.txt 21:08:12 -rw-rw-r-- 1 jenkins jenkins 10365 Oct 4 21:06 CHANGELOG.md 21:08:12 -rw-rw-r-- 1 jenkins jenkins 1347 Oct 4 21:06 Dockerfile 21:08:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 21:06 GOVERNANCE.md 21:08:12 -rw-rw-r-- 1 jenkins jenkins 683 Oct 4 21:06 Jenkinsfile 21:08:12 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 4 21:06 LICENSE 21:08:12 -rw-rw-r-- 1 jenkins jenkins 2179 Oct 4 21:06 Makefile 21:08:12 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 21:06 OWNERS.md 21:08:12 -rw-rw-r-- 1 jenkins jenkins 29016 Oct 4 21:06 README.md 21:08:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 21:06 VERSION 21:08:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:06 bin 21:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:06 cmd 21:08:12 -rw-r--r-- 1 jenkins jenkins 459493 Oct 4 21:07 coverage.out 21:08:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:06 examples 21:08:12 -rw-rw-r-- 1 jenkins jenkins 3877 Oct 4 21:06 go.mod 21:08:12 -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 21:06 go.sum 21:08:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:06 images 21:08:12 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 21:06 internal 21:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:06 snap 21:08:12 -rw-rw-r-- 1 jenkins jenkins 193 Oct 4 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:12 + 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=192b885d0dccac806691474798223b054b6e58a8 --label arch=amd64 --label version=0.0.0 . 21:08:12 Sending build context to Docker daemon 4.366MB 21:08:12 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:08:12 Step 2/24 : FROM ${BASE} AS builder 21:08:12 ---> b5fc438b6671 21:08:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:12 ---> Running in 186ebaf7cb60 21:08:13 Removing intermediate container 186ebaf7cb60 21:08:13 ---> 98a9edce8495 21:08:13 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:13 ---> Running in 1a0aafad5324 21:08:13 Removing intermediate container 1a0aafad5324 21:08:13 ---> 5e2fdb94129e 21:08:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:13 ---> Running in d08ec55cdeee 21:08:13 Removing intermediate container d08ec55cdeee 21:08:13 ---> a0ac9fb7bd0d 21:08:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:13 ---> Running in 9464e1c0d07e 21:08:13 Removing intermediate container 9464e1c0d07e 21:08:13 ---> 554502fc0091 21:08:13 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:13 ---> Running in 140af5b6f50a 21:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:13 OK: 264 MiB in 52 packages 21:08:14 Removing intermediate container 140af5b6f50a 21:08:14 ---> 68da1e679ff7 21:08:14 Step 8/24 : WORKDIR /app 21:08:14 ---> Running in d7b37cca81fb 21:08:14 Removing intermediate container d7b37cca81fb 21:08:14 ---> dffe5ae1343b 21:08:14 Step 9/24 : COPY go.mod vendor* ./ 21:08:14 ---> fb3ef29629e9 21:08:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:14 ---> Running in c4adc8a97c60 21:08:15 Removing intermediate container c4adc8a97c60 21:08:15 ---> 0a545967149c 21:08:15 Step 11/24 : COPY . . 21:08:15 ---> e33530cb553d 21:08:15 Step 12/24 : RUN $MAKE 21:08:15 ---> Running in 015e5fe06c6d 21:08:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:08:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8509 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:08:22 Running in /w/workspace/device-rfid-llrp-go/23 [Pipeline] { [Pipeline] checkout 21:08:22 The recommended git tool is: git 21:08:26 using credential edgex-jenkins-ssh 21:08:26 Cloning the remote Git repository 21:08:27 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:27 > git init /w/workspace/device-rfid-llrp-go/23 # timeout=10 21:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:27 > git --version # timeout=10 21:08:27 > git --version # 'git version 2.25.1' 21:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:30 Merging remotes/origin/main commit 4fe2aecf89df903f23adfee15c95ee56012857a5 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:08:30 Merge succeeded, producing 0c33d54cff0169e4012cecbf2efd3920434af0d4 21:08:30 Checking out Revision 0c33d54cff0169e4012cecbf2efd3920434af0d4 (PR-229) 21:08:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:08:30 > git config core.sparsecheckout # timeout=10 21:08:30 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:08:30 > git remote # timeout=10 21:08:30 > git config --get remote.origin.url # timeout=10 21:08:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:30 > git merge 4fe2aecf89df903f23adfee15c95ee56012857a5 # timeout=10 21:08:30 > git rev-parse HEAD^{commit} # timeout=10 21:08:30 > git config core.sparsecheckout # timeout=10 21:08:30 > git checkout -f 0c33d54cff0169e4012cecbf2efd3920434af0d4 # timeout=10 21:08:34 Commit message: "Merge commit '4fe2aecf89df903f23adfee15c95ee56012857a5' into HEAD" 21:08:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:34 > git rev-list --no-walk 352fd39eaad5044d4e4362fd2bc4431203e098b2 # timeout=10 21:08:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:35 Dload Upload Total Spent Left Speed 21:08:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 21:08:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:36 + sudo tee /etc/docker/daemon.new 21:08:36 { 21:08:36 "registry-mirrors": [ 21:08:36 "https://nexus3.edgexfoundry.org:10001" 21:08:36 ], 21:08:36 "bip": "10.250.0.254/24", 21:08:36 "hosts": [ 21:08:36 "tcp://0.0.0.0:5555", 21:08:36 "unix:///var/run/docker.sock" 21:08:36 ], 21:08:36 "mtu": 1458, 21:08:36 "selinux-enabled": true, 21:08:36 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:36 } [Pipeline] sh 21:08:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:36 + sudo service docker restart 21:08:37 Removing intermediate container 015e5fe06c6d 21:08:37 ---> 1c545da8ba99 21:08:37 Step 13/24 : FROM alpine:3.18 21:08:37 3.18: Pulling from library/alpine 21:08:37 96526aa774ef: Pulling fs layer 21:08:37 96526aa774ef: Verifying Checksum 21:08:37 96526aa774ef: Download complete 21:08:37 96526aa774ef: Pull complete 21:08:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:08:37 Status: Downloaded newer image for alpine:3.18 21:08:37 ---> 8ca4688f4f35 21:08:37 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:08:37 ---> Running in 5cc917589552 21:08:37 Removing intermediate container 5cc917589552 21:08:37 ---> 4d1fee931689 21:08:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:08:37 ---> Running in 851af205ea56 21:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:37 (1/1) Installing dumb-init (1.2.5-r2) 21:08:37 Executing busybox-1.36.1-r2.trigger 21:08:37 OK: 7 MiB in 16 packages 21:08:37 Removing intermediate container 851af205ea56 21:08:37 ---> 6bc55a2318ca 21:08:37 Step 16/24 : COPY --from=builder /app/LICENSE / 21:08:37 ---> 51b6f53a497e 21:08:37 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:08:37 ---> a10b0d29e78c 21:08:37 Step 18/24 : COPY --from=builder /app/cmd/ / 21:08:38 ---> 7f96c759f513 21:08:38 Step 19/24 : EXPOSE 59989 21:08:38 ---> Running in 9e6e0b8a1743 21:08:38 Removing intermediate container 9e6e0b8a1743 21:08:38 ---> b56d5d0d249e 21:08:38 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:08:38 ---> Running in da0588fe248c 21:08:38 Removing intermediate container da0588fe248c 21:08:38 ---> db6e5d3d63ac 21:08:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:08:38 ---> Running in 156a9120e841 21:08:38 Removing intermediate container 156a9120e841 21:08:38 ---> b2c045d81ced 21:08:38 Step 22/24 : LABEL arch=amd64 21:08:38 ---> Running in 5e432985297e 21:08:38 Removing intermediate container 5e432985297e 21:08:38 ---> e5cf15657b13 21:08:38 Step 23/24 : LABEL git_sha=192b885d0dccac806691474798223b054b6e58a8 21:08:38 ---> Running in 1e1c170d0da8 21:08:38 Removing intermediate container 1e1c170d0da8 21:08:38 ---> 5f7a0a7e326a 21:08:38 Step 24/24 : LABEL version=0.0.0 21:08:38 ---> Running in d374e89b15d9 21:08:38 Removing intermediate container d374e89b15d9 21:08:38 ---> 1a6f14145801 21:08:38 [Warning] One or more build-args [ARCH] were not consumed 21:08:38 Successfully built 1a6f14145801 21:08:38 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:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:39 21:08:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:39 latest: Pulling from edgex-lftools-log-publisher 21:08:39 5eb5b503b376: Pulling fs layer 21:08:39 5c69ac0246d0: Pulling fs layer 21:08:39 ec43610c2a17: Pulling fs layer 21:08:39 3a2ae6a8a46f: Pulling fs layer 21:08:39 33b1e0a273af: Pulling fs layer 21:08:39 5d3b04190fa2: Pulling fs layer 21:08:39 2f39f015ded8: Pulling fs layer 21:08:39 5d3b04190fa2: Waiting 21:08:39 3a2ae6a8a46f: Waiting 21:08:39 2f39f015ded8: Waiting 21:08:39 33b1e0a273af: Waiting 21:08:39 5c69ac0246d0: Verifying Checksum 21:08:39 5c69ac0246d0: Download complete 21:08:39 3a2ae6a8a46f: Verifying Checksum 21:08:39 3a2ae6a8a46f: Download complete 21:08:39 33b1e0a273af: Verifying Checksum 21:08:39 33b1e0a273af: Download complete 21:08:39 5d3b04190fa2: Download complete 21:08:39 ec43610c2a17: Verifying Checksum 21:08:39 ec43610c2a17: Download complete 21:08:39 5eb5b503b376: Verifying Checksum 21:08:39 5eb5b503b376: Download complete 21:08:40 2f39f015ded8: Verifying Checksum 21:08:40 2f39f015ded8: Download complete 21:08:40 5eb5b503b376: Pull complete 21:08:41 5c69ac0246d0: Pull complete 21:08:41 ec43610c2a17: Pull complete 21:08:41 3a2ae6a8a46f: Pull complete 21:08:41 33b1e0a273af: Pull complete 21:08:41 5d3b04190fa2: Pull complete 21:08:46 2f39f015ded8: Pull complete 21:08:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:46 prd-ubuntu20.04-docker-8c-8g-8508 does not seem to be running inside a container 21:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:08:48 $ docker top 43fb55c3b5485a2a838e93daf6e1c9533dee97d2f262543fe1d0d5e3c00921c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:49 ---> job-cost.sh 21:08:49 lf-activate-venv: SKIPPING 21:08:49 INFO: No Stack... 21:08:49 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:49 INFO: Archiving Costs [Pipeline] sh 21:08:50 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:08:50 + cut -d, -f6 [Pipeline] lock 21:08:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] 21:08:50 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] did not exist. Created. 21:08:50 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:50 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:50 Stashed 1 file(s) [Pipeline] } 21:08:50 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:50 $ docker stop --time=1 43fb55c3b5485a2a838e93daf6e1c9533dee97d2f262543fe1d0d5e3c00921c7 21:08:51 $ docker rm -f --volumes 43fb55c3b5485a2a838e93daf6e1c9533dee97d2f262543fe1d0d5e3c00921c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:55 provisioning config files... 21:08:55 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/23@tmp/config17068714975780223305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:55 ---> docker-login.sh 21:08:55 nexus3.edgexfoundry.org:10001 21:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:55 Configure a credential helper to remove this warning. See 21:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:55 21:08:55 Login Succeeded 21:08:55 nexus3.edgexfoundry.org:10002 21:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:56 Configure a credential helper to remove this warning. See 21:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:56 21:08:56 Login Succeeded 21:08:56 nexus3.edgexfoundry.org:10003 21:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:56 Configure a credential helper to remove this warning. See 21:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:56 21:08:56 Login Succeeded 21:08:56 nexus3.edgexfoundry.org:10004 21:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:57 Configure a credential helper to remove this warning. See 21:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:57 21:08:57 Login Succeeded 21:08:57 docker.io 21:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:57 Configure a credential helper to remove this warning. See 21:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:57 21:08:57 Login Succeeded 21:08:57 ---> docker-login.sh ends [Pipeline] } 21:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:57 ========================================================= 21:08:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:08:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:08:58 Sending build context to Docker daemon 1.219MB 21:08:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:08:58 Step 2/12 : FROM ${BASE} AS builder 21:09:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:01 9fda8d8052c6: Pulling fs layer 21:09:01 5d54e960e981: Pulling fs layer 21:09:01 c4a7e357bf2a: Pulling fs layer 21:09:01 f0e02332f6b5: Pulling fs layer 21:09:01 cefa15bbcfad: Pulling fs layer 21:09:01 17808c966233: Pulling fs layer 21:09:01 f4c1fc716caa: Pulling fs layer 21:09:01 cefa15bbcfad: Waiting 21:09:01 17808c966233: Waiting 21:09:01 f4c1fc716caa: Waiting 21:09:01 f0e02332f6b5: Waiting 21:09:01 5d54e960e981: Verifying Checksum 21:09:01 5d54e960e981: Download complete 21:09:01 f0e02332f6b5: Download complete 21:09:01 cefa15bbcfad: Verifying Checksum 21:09:01 cefa15bbcfad: Download complete 21:09:01 9fda8d8052c6: Verifying Checksum 21:09:01 9fda8d8052c6: Download complete 21:09:01 f4c1fc716caa: Verifying Checksum 21:09:01 f4c1fc716caa: Download complete 21:09:01 9fda8d8052c6: Pull complete 21:09:01 5d54e960e981: Pull complete 21:09:02 c4a7e357bf2a: Verifying Checksum 21:09:02 c4a7e357bf2a: Download complete 21:09:03 17808c966233: Download complete 21:09:15 c4a7e357bf2a: Pull complete 21:09:15 f0e02332f6b5: Pull complete 21:09:15 cefa15bbcfad: Pull complete 21:09:20 17808c966233: Pull complete 21:09:22 f4c1fc716caa: Pull complete 21:09:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:22 ---> ea914061e18c 21:09:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:23 ---> Running in a2993693f608 21:09:23 Removing intermediate container a2993693f608 21:09:23 ---> 4763c62fa7cb 21:09:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:23 ---> Running in 1149bd4a4c95 21:09:24 Removing intermediate container 1149bd4a4c95 21:09:24 ---> aab7c96b34a7 21:09:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:24 ---> Running in 12303e00033b 21:09:24 Removing intermediate container 12303e00033b 21:09:24 ---> 28ddf67c29db 21:09:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:24 ---> Running in 835421af2cc1 21:09:24 Removing intermediate container 835421af2cc1 21:09:24 ---> 790b0b2a41a8 21:09:24 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:24 ---> Running in b8ce6d1dd9b0 21:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:09:27 OK: 266 MiB in 52 packages 21:09:28 Removing intermediate container b8ce6d1dd9b0 21:09:28 ---> 1f1610ff72b7 21:09:28 Step 8/12 : WORKDIR /app 21:09:28 ---> Running in 8389be21b91d 21:09:28 Removing intermediate container 8389be21b91d 21:09:28 ---> 1f8a99448b34 21:09:28 Step 9/12 : COPY go.mod vendor* ./ 21:09:29 ---> 378458bb64ad 21:09:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:29 ---> Running in fe6e241e413a 21:10:37 Removing intermediate container fe6e241e413a 21:10:37 ---> 99c7c45a8c93 21:10:37 Step 11/12 : COPY . . 21:10:37 ---> 4d7bf97c741c 21:10:37 Step 12/12 : RUN $MAKE 21:10:37 ---> Running in aaea8828c622 21:10:37 noop 21:10:37 Removing intermediate container aaea8828c622 21:10:37 ---> b9a716c247c3 21:10:37 Successfully built b9a716c247c3 21:10:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:37 + docker inspect -f . ci-base-image-arm64 21:10:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:37 prd-ubuntu20.04-docker-arm64-4c-16g-8509 does not seem to be running inside a container 21:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/23 -v /w/workspace/device-rfid-llrp-go/23:/w/workspace/device-rfid-llrp-go/23:rw,z -v /w/workspace/device-rfid-llrp-go/23@tmp:/w/workspace/device-rfid-llrp-go/23@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:10:39 $ docker top 1f15d217bc5d6ed8ee604244f34942adc6fbecb8a97c6d39f78d69f87c1f2a25 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:39 + go version 21:10:39 go version go1.21.0 linux/arm64 [Pipeline] } 21:10:39 $ docker stop --time=1 1f15d217bc5d6ed8ee604244f34942adc6fbecb8a97c6d39f78d69f87c1f2a25 21:10:41 $ docker rm -f --volumes 1f15d217bc5d6ed8ee604244f34942adc6fbecb8a97c6d39f78d69f87c1f2a25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker inspect -f . ci-base-image-arm64 21:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:42 prd-ubuntu20.04-docker-arm64-4c-16g-8509 does not seem to be running inside a container 21:10:42 $ 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/23 -v /w/workspace/device-rfid-llrp-go/23:/w/workspace/device-rfid-llrp-go/23:rw,z -v /w/workspace/device-rfid-llrp-go/23@tmp:/w/workspace/device-rfid-llrp-go/23@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:10:43 $ docker top 95c870783063384be17351541c07a9ec2e685632098500799f898768eff8ea33 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:43 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/23 [Pipeline] fileExists [Pipeline] sh 21:10:44 + make test 21:10:44 go test ./... -coverprofile=coverage.out ./... 21:10:48 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:12:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:12:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:12:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.063s coverage: 40.6% of statements 21:12:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.548s coverage: 51.9% of statements 21:12:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.045s coverage: 96.4% of statements 21:12:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:52 go vet ./... 21:13:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:20 $ docker stop --time=1 95c870783063384be17351541c07a9ec2e685632098500799f898768eff8ea33 21:13:22 $ docker rm -f --volumes 95c870783063384be17351541c07a9ec2e685632098500799f898768eff8ea33 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:23 Warning: overwriting stash ‘coverage-report’ 21:13:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:24 + ls -al . 21:13:24 total 640 21:13:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 21:10 . 21:13:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:08 .. 21:13:24 -rw-rw-r-- 1 jenkins jenkins 134 Oct 4 21:08 .dockerignore 21:13:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 21:08 .git 21:13:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 21:08 .github 21:13:24 -rw-rw-r-- 1 jenkins jenkins 946 Oct 4 21:08 .gitignore 21:13:24 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 21:08 .golangci.yml 21:13:24 -rw-rw-r-- 1 jenkins jenkins 11980 Oct 4 21:08 Attribution.txt 21:13:24 -rw-rw-r-- 1 jenkins jenkins 10365 Oct 4 21:08 CHANGELOG.md 21:13:24 -rw-rw-r-- 1 jenkins jenkins 1347 Oct 4 21:08 Dockerfile 21:13:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 21:08 GOVERNANCE.md 21:13:24 -rw-rw-r-- 1 jenkins jenkins 683 Oct 4 21:08 Jenkinsfile 21:13:24 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 4 21:08 LICENSE 21:13:24 -rw-rw-r-- 1 jenkins jenkins 2179 Oct 4 21:08 Makefile 21:13:24 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 21:08 OWNERS.md 21:13:24 -rw-rw-r-- 1 jenkins jenkins 29016 Oct 4 21:08 README.md 21:13:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 21:06 VERSION 21:13:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:08 bin 21:13:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:08 cmd 21:13:24 -rw-r--r-- 1 jenkins jenkins 459493 Oct 4 21:12 coverage.out 21:13:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:08 examples 21:13:24 -rw-rw-r-- 1 jenkins jenkins 3877 Oct 4 21:08 go.mod 21:13:24 -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 21:08 go.sum 21:13:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 21:08 images 21:13:24 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 21:08 internal 21:13:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 21:08 snap 21:13:24 -rw-rw-r-- 1 jenkins jenkins 193 Oct 4 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:25 + 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=0c33d54cff0169e4012cecbf2efd3920434af0d4 --label arch=arm64 --label version=0.0.0 . 21:13:25 Sending build context to Docker daemon 1.219MB 21:13:25 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:13:25 Step 2/24 : FROM ${BASE} AS builder 21:13:25 ---> b9a716c247c3 21:13:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:13:27 ---> Running in 8033dcf115e2 21:13:27 Removing intermediate container 8033dcf115e2 21:13:27 ---> 4d2eb1655155 21:13:27 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:27 ---> Running in 2ff861785514 21:13:28 Removing intermediate container 2ff861785514 21:13:28 ---> c8c599bf2613 21:13:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:13:28 ---> Running in 05e96840c40d 21:13:28 Removing intermediate container 05e96840c40d 21:13:28 ---> bb1856e11ca4 21:13:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:13:28 ---> Running in 85cafe24f26d 21:13:28 Removing intermediate container 85cafe24f26d 21:13:28 ---> ab5d4ae1d413 21:13:28 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:28 ---> Running in 48217ed7327f 21:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:13:31 OK: 266 MiB in 52 packages 21:13:32 Removing intermediate container 48217ed7327f 21:13:32 ---> 540aae0a749f 21:13:32 Step 8/24 : WORKDIR /app 21:13:32 ---> Running in 95257ea67502 21:13:33 Removing intermediate container 95257ea67502 21:13:33 ---> cafe9ce55af1 21:13:33 Step 9/24 : COPY go.mod vendor* ./ 21:13:33 ---> 8c7e1c2c8d8d 21:13:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:33 ---> Running in 76f49ac39dd1 21:13:36 Removing intermediate container 76f49ac39dd1 21:13:36 ---> 1d79fcf10aba 21:13:36 Step 11/24 : COPY . . 21:13:37 ---> bff3331edb74 21:13:37 Step 12/24 : RUN $MAKE 21:13:37 ---> Running in b97f43531264 21:13:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:15:29 Removing intermediate container b97f43531264 21:15:29 ---> 2421cc52242e 21:15:29 Step 13/24 : FROM alpine:3.18 21:15:29 3.18: Pulling from library/alpine 21:15:29 579b34f0a95b: Pulling fs layer 21:15:29 579b34f0a95b: Verifying Checksum 21:15:29 579b34f0a95b: Download complete 21:15:30 579b34f0a95b: Pull complete 21:15:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:15:30 Status: Downloaded newer image for alpine:3.18 21:15:30 ---> 3cc203321400 21:15:30 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:30 ---> Running in 511b5acc0546 21:15:30 Removing intermediate container 511b5acc0546 21:15:30 ---> 91ae17913533 21:15:30 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:15:30 ---> Running in 08881a8ab629 21:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:33 (1/1) Installing dumb-init (1.2.5-r2) 21:15:33 Executing busybox-1.36.1-r2.trigger 21:15:33 OK: 8 MiB in 16 packages 21:15:33 Removing intermediate container 08881a8ab629 21:15:33 ---> afb0b48481ce 21:15:33 Step 16/24 : COPY --from=builder /app/LICENSE / 21:15:34 ---> 14e83acda864 21:15:34 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:15:35 ---> e8b2cad7201e 21:15:35 Step 18/24 : COPY --from=builder /app/cmd/ / 21:15:36 ---> 9c5eebcf5565 21:15:36 Step 19/24 : EXPOSE 59989 21:15:36 ---> Running in e69928130e0a 21:15:36 Removing intermediate container e69928130e0a 21:15:36 ---> b1f1676b3a7f 21:15:36 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:15:36 ---> Running in 06c6931f598a 21:15:37 Removing intermediate container 06c6931f598a 21:15:37 ---> 91017a9500c5 21:15:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:15:37 ---> Running in 9db240bd8c75 21:15:37 Removing intermediate container 9db240bd8c75 21:15:37 ---> 3e8e89abdf25 21:15:37 Step 22/24 : LABEL arch=arm64 21:15:37 ---> Running in 7c6be93be99f 21:15:37 Removing intermediate container 7c6be93be99f 21:15:37 ---> 585dc8778f6d 21:15:37 Step 23/24 : LABEL git_sha=0c33d54cff0169e4012cecbf2efd3920434af0d4 21:15:37 ---> Running in 20552d7c35ce 21:15:37 Removing intermediate container 20552d7c35ce 21:15:37 ---> ec9f2741f7dd 21:15:37 Step 24/24 : LABEL version=0.0.0 21:15:38 ---> Running in 5bf6a8d0e9eb 21:15:38 Removing intermediate container 5bf6a8d0e9eb 21:15:38 ---> b41beeb52987 21:15:38 [Warning] One or more build-args [ARCH] were not consumed 21:15:38 Successfully built b41beeb52987 21:15:38 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:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:38 21:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:39 arm64: Pulling from edgex-lftools-log-publisher 21:15:39 8998bd30e6a1: Pulling fs layer 21:15:39 04944245beec: Pulling fs layer 21:15:39 699f458cf7ca: Pulling fs layer 21:15:39 765212b225bb: Pulling fs layer 21:15:39 f23df028b6ca: Pulling fs layer 21:15:39 d65c8cfc05b1: Pulling fs layer 21:15:39 2437ff75d9bd: Pulling fs layer 21:15:39 765212b225bb: Waiting 21:15:39 f23df028b6ca: Waiting 21:15:39 d65c8cfc05b1: Waiting 21:15:39 2437ff75d9bd: Waiting 21:15:39 04944245beec: Verifying Checksum 21:15:39 04944245beec: Download complete 21:15:39 765212b225bb: Verifying Checksum 21:15:39 765212b225bb: Download complete 21:15:39 f23df028b6ca: Verifying Checksum 21:15:39 f23df028b6ca: Download complete 21:15:39 d65c8cfc05b1: Verifying Checksum 21:15:39 d65c8cfc05b1: Download complete 21:15:39 699f458cf7ca: Verifying Checksum 21:15:39 699f458cf7ca: Download complete 21:15:39 8998bd30e6a1: Verifying Checksum 21:15:39 8998bd30e6a1: Download complete 21:15:42 2437ff75d9bd: Verifying Checksum 21:15:42 2437ff75d9bd: Download complete 21:15:43 8998bd30e6a1: Pull complete 21:15:44 04944245beec: Pull complete 21:15:45 699f458cf7ca: Pull complete 21:15:45 765212b225bb: Pull complete 21:15:46 f23df028b6ca: Pull complete 21:15:46 d65c8cfc05b1: Pull complete 21:16:01 2437ff75d9bd: Pull complete 21:16:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-8509 does not seem to be running inside a container 21:16:01 $ 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/23 -v /w/workspace/device-rfid-llrp-go/23:/w/workspace/device-rfid-llrp-go/23:rw,z -v /w/workspace/device-rfid-llrp-go/23@tmp:/w/workspace/device-rfid-llrp-go/23@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:16:05 $ docker top ae5428b7a897bcb6e02557a546718e4a75138bf671aefb13ced6b0ae263f15a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:06 ---> job-cost.sh 21:16:06 lf-activate-venv: SKIPPING 21:16:06 INFO: No Stack... 21:16:06 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:07 INFO: Archiving Costs [Pipeline] sh 21:16:07 + cat /w/workspace/device-rfid-llrp-go/23/archives/cost.csv 21:16:07 + cut -d, -f6 [Pipeline] lock 21:16:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] 21:16:07 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] did not exist. Created. 21:16:07 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:08 /w/workspace/device-rfid-llrp-go/23@tmp/durable-31291cf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:08 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:08 Warning: overwriting stash ‘stack-cost’ 21:16:08 Stashed 1 file(s) [Pipeline] } 21:16:08 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-23-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:08 $ docker stop --time=1 ae5428b7a897bcb6e02557a546718e4a75138bf671aefb13ced6b0ae263f15a9 21:16:10 $ docker rm -f --volumes ae5428b7a897bcb6e02557a546718e4a75138bf671aefb13ced6b0ae263f15a9 [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:16:10 provisioning config files... 21:16:10 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config15082477270597408231tmp [Pipeline] { [Pipeline] sh 21:16:10 + set +x 21:16:10 + curl -s https://codecov.io/bash 21:16:10 + bash -s -- 21:16:10 21:16:10 _____ _ 21:16:10 / ____| | | 21:16:10 | | ___ __| | ___ ___ _____ __ 21:16:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:10 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:10 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:10 Bash-1.0.6 21:16:10 21:16:10 21:16:10 ==> git version 2.25.1 found 21:16:10 ==> 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:16:10 Release-Date: 2020-01-08 21:16:10 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:16:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:10 ==> Jenkins CI detected. 21:16:10 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:10 project root: . 21:16:10 --> token set from env 21:16:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:10 ==> Running gcov in . (disable via -X gcov) 21:16:10 ==> Python coveragepy not found 21:16:10 ==> Searching for coverage reports in: 21:16:10 + . 21:16:10 -> Found 1 reports 21:16:10 ==> Detecting git/mercurial file structure 21:16:11 ==> Reading reports 21:16:11 + ./coverage.out bytes=459493 21:16:11 ==> Appending adjustments 21:16:11 https://docs.codecov.io/docs/fixing-reports 21:16:11 + Found adjustments 21:16:11 ==> Gzipping contents 21:16:11 52K /tmp/codecov.roTy82.gz 21:16:11 ==> Uploading reports 21:16:11 url: https://codecov.io 21:16:11 query: branch=PR-229&commit=192b885d0dccac806691474798223b054b6e58a8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:11 -> Pinging Codecov 21:16:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-229&commit=192b885d0dccac806691474798223b054b6e58a8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:11 -> Uploading to 21:16:11 https://storage.googleapis.com/codecov/v4/raw/2023-10-04/581DD39554BDF9B6E22D074273EAD858/192b885d0dccac806691474798223b054b6e58a8/0a5ff14b-111a-4485-89c9-e138bbe8359b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T211611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e436c0fae12f230c24e458c3106a6ec64a5161875bde200c871eda6e44e5b9a 21:16:11 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:11 Dload Upload Total Spent Left Speed 21:16:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50512 0 0 100 50512 0 176k --:--:-- --:--:-- --:--:-- 176k 21:16:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/192b885d0dccac806691474798223b054b6e58a8 [Pipeline] } 21:16:11 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:16:12 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:16:12 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:12 total 16 21:16:12 drwxr-xr-x 3 root root 4096 Oct 4 21:08 . 21:16:12 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 21:08 .. 21:16:12 drwxr-xr-x 2 root root 4096 Oct 4 21:08 cost 21:16:12 -rw-r--r-- 1 root root 92 Oct 4 21:08 cost.csv 21:16:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:12 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:12 total 16 21:16:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 21:08 . 21:16:12 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 21:08 .. 21:16:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 21:08 cost 21:16:12 -rw-r--r-- 1 jenkins jenkins 92 Oct 4 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:13 ---> package-listing.sh 21:16:13 ++ facter osfamily 21:16:13 ++ tr '[:upper:]' '[:lower:]' 21:16:13 + OS_FAMILY=debian 21:16:13 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:13 + START_PACKAGES=/tmp/packages_start.txt 21:16:13 + END_PACKAGES=/tmp/packages_end.txt 21:16:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:13 + PACKAGES=/tmp/packages_start.txt 21:16:13 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:13 + PACKAGES=/tmp/packages_end.txt 21:16:13 + case "${OS_FAMILY}" in 21:16:13 + dpkg -l 21:16:13 + grep '^ii' 21:16:13 + '[' -f /tmp/packages_start.txt ']' 21:16:13 + '[' -f /tmp/packages_end.txt ']' 21:16:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:13 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:13 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:16:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:16:13 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:16:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:14 prd-ubuntu20.04-docker-8c-8g-8508 does not seem to be running inside a container 21:16:14 $ 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-229/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-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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:16:14 $ docker top 8d7579e192e6a1bfc95ec7313575dd3f1b1baf47f8260841d5939f8d1521bfc3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:15 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:15 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:15 + ls /var/log/sa-host 21:16:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:16 provisioning config files... 21:16:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config6359451847537944321tmp [Pipeline] { [Pipeline] echo 21:16:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:16 ---> create-netrc.sh [Pipeline] } 21:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:16 ---> python-tools-install.sh [Pipeline] echo 21:16:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:17 ---> sudo-logs.sh 21:16:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:17 ---> job-cost.sh 21:16:17 lf-activate-venv: SKIPPING 21:16:17 DEBUG: total: 0.2199999988079071 21:16:17 INFO: Retrieving Stack Cost... 21:16:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:19 INFO: Archiving Costs [Pipeline] echo 21:16:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:19 ---> logs-deploy.sh 21:16:19 lf-activate-venv: SKIPPING 21:16:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/23 21:16:19 INFO: archiving workspace using pattern(s): 21:16:20 Archives upload complete. 21:16:20 INFO: archiving logs to Nexus