Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+fcc125edee6752a069bb5774cca1c2de16e94d05 (3a6305b4e37b6c0395448c4365fcc6ce58ff4353) 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-ssh14039392476541951355.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-ssh15527679964618710774.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-ssh4551889960107771245.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-ssh3333602659886776377.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-ssh1704519774205512849.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-7715 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 fcc125edee6752a069bb5774cca1c2de16e94d05 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 Checking out Revision 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 (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 fcc125edee6752a069bb5774cca1c2de16e94d05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 # timeout=10 Commit message: "Merge commit 'fcc125edee6752a069bb5774cca1c2de16e94d05' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 306effb1f84a2265956c1d706dc42e94085d17ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:33 ========================================================= 21:06:33 EdgeX Global Pipelines Version Info 21:06:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:34 ------------------- 21:06:34 stable info: 21:06:34 ------------------- 21:06:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:34 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:34 Message: update stable to v1.0.254 21:06:34 ------------------- 21:06:34 experimental info: 21:06:34 ------------------- 21:06:34 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:34 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:34 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51c9e84 [Pipeline] echo 21:06:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:35 provisioning config files... 21:06:35 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config13760770442506938657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:35 ---> docker-login.sh 21:06:35 nexus3.edgexfoundry.org:10001 21:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:36 Configure a credential helper to remove this warning. See 21:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:36 21:06:36 Login Succeeded 21:06:36 nexus3.edgexfoundry.org:10002 21:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:36 Configure a credential helper to remove this warning. See 21:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:36 21:06:36 Login Succeeded 21:06:36 nexus3.edgexfoundry.org:10003 21:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:36 Configure a credential helper to remove this warning. See 21:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:36 21:06:36 Login Succeeded 21:06:36 nexus3.edgexfoundry.org:10004 21:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:36 Configure a credential helper to remove this warning. See 21:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:36 21:06:36 Login Succeeded 21:06:36 docker.io 21:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:36 Configure a credential helper to remove this warning. See 21:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:36 21:06:36 Login Succeeded 21:06:36 ---> docker-login.sh ends [Pipeline] } 21:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:37 + git rev-list -1 --merges 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8~1..51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [Pipeline] echo 21:06:37 -----------> git rev-list -1 --merges 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8~1..51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 21:06:37 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [false] [Pipeline] sh 21:06:37 + git log --format=format:%s -1 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [Pipeline] echo 21:06:37 ========================================================= 21:06:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:37 + git log --format=format:%s -1 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [Pipeline] echo 21:06:37 [semverPrep] GIT_COMMIT: 51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8, Commit Message: Merge commit 'fcc125edee6752a069bb5774cca1c2de16e94d05' into HEAD [Pipeline] echo 21:06:37 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:38 + grep -v github /etc/ssh/ssh_known_hosts 21:06:38 + [ -e /tmp/ssh_known_hosts ] 21:06:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:38 sudo tee -a /etc/ssh/ssh_known_hosts 21:06:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:38 21:06:38 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:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:38 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:38 b85a868b505f: Pulling fs layer 21:06:38 e2be974225ed: Pulling fs layer 21:06:38 339a4e72a1f5: Pulling fs layer 21:06:38 988bab9f4d93: Pulling fs layer 21:06:38 1469e6f7b9e6: Pulling fs layer 21:06:38 eaf3925da568: Pulling fs layer 21:06:38 bab4dde63d76: Pulling fs layer 21:06:38 bde34c3a00c8: Pulling fs layer 21:06:38 b352a97aabf1: Pulling fs layer 21:06:38 4872d77fe225: Pulling fs layer 21:06:38 5851b861e8e6: Pulling fs layer 21:06:38 bab4dde63d76: Waiting 21:06:38 bde34c3a00c8: Waiting 21:06:38 5851b861e8e6: Waiting 21:06:38 b352a97aabf1: Waiting 21:06:38 1469e6f7b9e6: Waiting 21:06:38 4872d77fe225: Waiting 21:06:38 988bab9f4d93: Waiting 21:06:38 eaf3925da568: Waiting 21:06:38 e2be974225ed: Verifying Checksum 21:06:38 e2be974225ed: Download complete 21:06:38 988bab9f4d93: Verifying Checksum 21:06:38 988bab9f4d93: Download complete 21:06:39 1469e6f7b9e6: Verifying Checksum 21:06:39 1469e6f7b9e6: Download complete 21:06:39 339a4e72a1f5: Verifying Checksum 21:06:39 339a4e72a1f5: Download complete 21:06:39 eaf3925da568: Download complete 21:06:39 bde34c3a00c8: Verifying Checksum 21:06:39 bde34c3a00c8: Download complete 21:06:39 b352a97aabf1: Verifying Checksum 21:06:39 b352a97aabf1: Download complete 21:06:39 4872d77fe225: Verifying Checksum 21:06:39 4872d77fe225: Download complete 21:06:39 5851b861e8e6: Download complete 21:06:39 b85a868b505f: Verifying Checksum 21:06:39 b85a868b505f: Download complete 21:06:39 bab4dde63d76: Verifying Checksum 21:06:39 bab4dde63d76: Download complete 21:06:40 b85a868b505f: Pull complete 21:06:40 e2be974225ed: Pull complete 21:06:41 339a4e72a1f5: Pull complete 21:06:41 988bab9f4d93: Pull complete 21:06:41 1469e6f7b9e6: Pull complete 21:06:41 eaf3925da568: Pull complete 21:06:43 bab4dde63d76: Pull complete 21:06:43 bde34c3a00c8: Pull complete 21:06:43 b352a97aabf1: Pull complete 21:06:43 4872d77fe225: Pull complete 21:06:43 5851b861e8e6: Pull complete 21:06:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:43 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 21:06:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:47 $ docker top 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa -eo pid,comm 21:06:47 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:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:47 [ssh-agent] Looking for ssh-agent implementation... 21:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:47 $ docker exec 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa ssh-agent 21:06:47 SSH_AUTH_SOCK=/tmp/ssh-oVq0BqJ9UjMu/agent.32 21:06:47 SSH_AGENT_PID=38 21:06:47 Running ssh-add (command line suppressed) 21:06:47 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_12686902735214328473.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_12686902735214328473.key) 21:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:48 + git tag --points-at HEAD [Pipeline] } 21:06:48 $ docker exec --env ******** --env ******** 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa ssh-agent -k 21:06:48 unset SSH_AUTH_SOCK; 21:06:48 unset SSH_AGENT_PID; 21:06:48 echo Agent pid 38 killed; 21:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:48 [ssh-agent] Looking for ssh-agent implementation... 21:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:48 $ docker exec 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa ssh-agent 21:06:48 SSH_AUTH_SOCK=/tmp/ssh-hwfv6VosVaOi/agent.71 21:06:48 SSH_AGENT_PID=77 21:06:48 Running ssh-add (command line suppressed) 21:06:48 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_301622066608399961.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_301622066608399961.key) 21:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:48 + git semver init 21:06:49 2023-09-23 21:06:49,154 [run_init] DEBUG init version:0.0.0 force:False 21:06:49 2023-09-23 21:06:49,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:49 2023-09-23 21:06:49,155 [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:49 2023-09-23 21:06:49,155 [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:50 2023-09-23 21:06:49,950 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:06:50 2023-09-23 21:06:49,950 [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:50 2023-09-23 21:06:49,951 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:50 2023-09-23 21:06:49,955 [execute] INFO git cat-file --batch-check 21:06:50 2023-09-23 21:06:49,956 [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:50 2023-09-23 21:06:49,962 [execute] INFO git cat-file --batch 21:06:50 2023-09-23 21:06:49,963 [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:50 2023-09-23 21:06:49,969 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:50 0.0.0 [Pipeline] } 21:06:50 $ docker exec --env ******** --env ******** 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa ssh-agent -k 21:06:50 unset SSH_AUTH_SOCK; 21:06:50 unset SSH_AGENT_PID; 21:06:50 echo Agent pid 77 killed; 21:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:50 + git semver [Pipeline] } 21:06:50 $ docker stop --time=1 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa 21:06:52 $ docker rm -f --volumes 44979b2dd5fc2d8cacfba5b70392d30c2648b7c5e0303b870b91528fb30973fa [Pipeline] // withDockerContainer [Pipeline] sh 21:06:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:52 Stashed 1 file(s) [Pipeline] echo 21:06:52 [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:52 provisioning config files... 21:06:52 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config11058319952366458196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:53 ---> docker-login.sh 21:06:53 nexus3.edgexfoundry.org:10001 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10002 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10003 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 nexus3.edgexfoundry.org:10004 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 docker.io 21:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:53 Configure a credential helper to remove this warning. See 21:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:53 21:06:53 Login Succeeded 21:06:53 ---> docker-login.sh ends [Pipeline] } 21:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:53 ========================================================= 21:06:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:06:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:54 + 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:54 Sending build context to Docker daemon 4.345MB 21:06:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:06:54 Step 2/12 : FROM ${BASE} AS builder 21:06:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:54 7264a8db6415: Pulling fs layer 21:06:54 c4d48a809fc2: Pulling fs layer 21:06:54 4f1c88b9dad5: Pulling fs layer 21:06:54 ad3a456e5733: Pulling fs layer 21:06:54 33e27b845d1e: Pulling fs layer 21:06:54 c68163c4e522: Pulling fs layer 21:06:54 50da416c3ac9: Pulling fs layer 21:06:54 23d2d4c4bb30: Pulling fs layer 21:06:54 ad3a456e5733: Waiting 21:06:54 c68163c4e522: Waiting 21:06:54 50da416c3ac9: Waiting 21:06:54 23d2d4c4bb30: Waiting 21:06:54 c4d48a809fc2: Verifying Checksum 21:06:54 c4d48a809fc2: Download complete 21:06:54 ad3a456e5733: Download complete 21:06:54 33e27b845d1e: Download complete 21:06:54 7264a8db6415: Download complete 21:06:54 c68163c4e522: Verifying Checksum 21:06:54 c68163c4e522: Download complete 21:06:54 7264a8db6415: Pull complete 21:06:54 c4d48a809fc2: Pull complete 21:06:54 23d2d4c4bb30: Verifying Checksum 21:06:54 23d2d4c4bb30: Download complete 21:06:54 4f1c88b9dad5: Verifying Checksum 21:06:54 4f1c88b9dad5: Download complete 21:06:55 50da416c3ac9: Verifying Checksum 21:06:55 50da416c3ac9: Download complete 21:06:58 4f1c88b9dad5: Pull complete 21:06:58 ad3a456e5733: Pull complete 21:06:58 33e27b845d1e: Pull complete 21:06:58 c68163c4e522: Pull complete 21:07:00 50da416c3ac9: Pull complete 21:07:01 23d2d4c4bb30: Pull complete 21:07:01 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:07:01 ---> 0786185ac409 21:07:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:07 Still waiting to schedule task 21:07:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:08 ---> Running in eda992ed9846 21:07:08 Removing intermediate container eda992ed9846 21:07:08 ---> c9a86aa65d5a 21:07:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:08 ---> Running in 0a21f6c733e9 21:07:08 Removing intermediate container 0a21f6c733e9 21:07:08 ---> 9cb0bb53faea 21:07:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:08 ---> Running in f91862cc1b77 21:07:08 Removing intermediate container f91862cc1b77 21:07:08 ---> dbbe12caf3ca 21:07:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:08 ---> Running in 98b59e48695f 21:07:08 Removing intermediate container 98b59e48695f 21:07:08 ---> d1648cd741be 21:07:08 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:08 ---> Running in a03c94f9d108 21:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:07:08 OK: 264 MiB in 52 packages 21:07:08 Removing intermediate container a03c94f9d108 21:07:08 ---> 337f76389129 21:07:08 Step 8/12 : WORKDIR /app 21:07:08 ---> Running in 4516cc853957 21:07:08 Removing intermediate container 4516cc853957 21:07:08 ---> 818cc77fda54 21:07:08 Step 9/12 : COPY go.mod vendor* ./ 21:07:08 ---> 5e15238f4b10 21:07:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:08 ---> Running in 94ee87a623d6 21:07:55 Removing intermediate container 94ee87a623d6 21:07:55 ---> 12a3935a8ba4 21:07:55 Step 11/12 : COPY . . 21:07:55 ---> c69668974acb 21:07:55 Step 12/12 : RUN $MAKE 21:07:55 ---> Running in e2edb1d97a75 21:07:55 noop 21:07:55 Removing intermediate container e2edb1d97a75 21:07:55 ---> bf8f3e121480 21:07:55 Successfully built bf8f3e121480 21:07:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:55 + docker inspect -f . ci-base-image-x86_64 21:07:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:55 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 21:07:56 $ 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 ******** ci-base-image-x86_64 cat 21:07:56 $ docker top 44cedfbe4512c0cd81aa32caa3e2ddd302e05b40dba3ee9a16a6fe2dd28cb788 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:56 + go version 21:07:56 go version go1.21.0 linux/amd64 [Pipeline] } 21:07:56 $ docker stop --time=1 44cedfbe4512c0cd81aa32caa3e2ddd302e05b40dba3ee9a16a6fe2dd28cb788 21:07:57 $ docker rm -f --volumes 44cedfbe4512c0cd81aa32caa3e2ddd302e05b40dba3ee9a16a6fe2dd28cb788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:58 + docker inspect -f . ci-base-image-x86_64 21:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:58 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 21:07:58 $ 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 ******** ci-base-image-x86_64 cat 21:07:58 $ docker top 1955d0813d1a24931fde915890e0f25de29476721a1504e4546b4b4d58f3aa37 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:59 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:07:59 + make test 21:07:59 go test ./... -coverprofile=coverage.out ./... 21:08:00 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:10 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:10 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.269s coverage: 40.6% of statements 21:08:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.243s coverage: 51.9% of statements 21:08:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 95.5% of statements 21:08:34 go vet ./... 21:08:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7716 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { 21:08:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [Pipeline] ws 21:08:36 Running in /w/workspace/device-rfid-llrp-go/19 [Pipeline] { [Pipeline] checkout 21:08:36 The recommended git tool is: git 21:08:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:36 $ docker stop --time=1 1955d0813d1a24931fde915890e0f25de29476721a1504e4546b4b4d58f3aa37 21:08:38 $ docker rm -f --volumes 1955d0813d1a24931fde915890e0f25de29476721a1504e4546b4b4d58f3aa37 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:40 + ls -al . 21:08:40 total 644 21:08:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 21:07 . 21:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:06 .. 21:08:40 -rw-rw-r-- 1 jenkins jenkins 134 Sep 23 21:06 .dockerignore 21:08:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 21:08 .git 21:08:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 21:06 .github 21:08:40 -rw-rw-r-- 1 jenkins jenkins 946 Sep 23 21:06 .gitignore 21:08:40 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 21:06 .golangci.yml 21:08:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 21:06 .semver 21:08:40 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 23 21:06 Attribution.txt 21:08:40 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 23 21:06 CHANGELOG.md 21:08:40 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 23 21:06 Dockerfile 21:08:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 21:06 GOVERNANCE.md 21:08:40 -rw-rw-r-- 1 jenkins jenkins 683 Sep 23 21:06 Jenkinsfile 21:08:40 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 23 21:06 LICENSE 21:08:40 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 23 21:06 Makefile 21:08:40 -rw-rw-r-- 1 jenkins jenkins 625 Sep 23 21:06 OWNERS.md 21:08:40 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 23 21:06 README.md 21:08:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 21:06 VERSION 21:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:06 bin 21:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:06 cmd 21:08:40 -rw-r--r-- 1 jenkins jenkins 459493 Sep 23 21:08 coverage.out 21:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:06 examples 21:08:40 -rw-rw-r-- 1 jenkins jenkins 3877 Sep 23 21:06 go.mod 21:08:40 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 23 21:06 go.sum 21:08:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:06 images 21:08:40 drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 21:06 internal 21:08:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:06 snap 21:08:40 -rw-rw-r-- 1 jenkins jenkins 193 Sep 23 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:40 + 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=51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 --label arch=amd64 --label version=0.0.0 . 21:08:40 Sending build context to Docker daemon 4.345MB 21:08:40 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:08:40 Step 2/24 : FROM ${BASE} AS builder 21:08:40 ---> bf8f3e121480 21:08:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:40 ---> Running in d67bd738fc66 21:08:40 Removing intermediate container d67bd738fc66 21:08:40 ---> a3c02ee61b73 21:08:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:40 ---> Running in 81a91f05c83f 21:08:40 Removing intermediate container 81a91f05c83f 21:08:40 ---> 923de639f3eb 21:08:40 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:40 ---> Running in 24d70612dfcb 21:08:41 using credential edgex-jenkins-ssh 21:08:41 Cloning the remote Git repository 21:08:41 Removing intermediate container 24d70612dfcb 21:08:41 ---> 429221f60d1c 21:08:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:41 ---> Running in d45683fea7dd 21:08:41 Removing intermediate container d45683fea7dd 21:08:41 ---> 69617d56c1ed 21:08:41 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:41 ---> Running in 000bfa95d096 21:08:41 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:41 OK: 264 MiB in 52 packages 21:08:42 Removing intermediate container 000bfa95d096 21:08:42 ---> 7abd8d977698 21:08:42 Step 8/24 : WORKDIR /app 21:08:42 ---> Running in 447c06800f3b 21:08:42 Removing intermediate container 447c06800f3b 21:08:42 ---> b89a776ea58b 21:08:42 Step 9/24 : COPY go.mod vendor* ./ 21:08:41 > git init /w/workspace/device-rfid-llrp-go/19 # timeout=10 21:08:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:41 > git --version # timeout=10 21:08:41 > git --version # 'git version 2.25.1' 21:08:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:42 ---> cf35788cf7be 21:08:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:42 ---> Running in e40348dcbd04 21:08:42 Removing intermediate container e40348dcbd04 21:08:42 ---> 34c8b66b9228 21:08:42 Step 11/24 : COPY . . 21:08:43 ---> da0f894eedeb 21:08:43 Step 12/24 : RUN $MAKE 21:08:43 ---> Running in 5d86b1158c3e 21:08:43 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.29" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:43 > 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:43 Merging remotes/origin/main commit fcc125edee6752a069bb5774cca1c2de16e94d05 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:08:44 Merge succeeded, producing 74941b3681fa6373a983621587b74df3298b6c81 21:08:44 Checking out Revision 74941b3681fa6373a983621587b74df3298b6c81 (PR-229) 21:08:43 > git config core.sparsecheckout # timeout=10 21:08:43 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:08:44 > git remote # timeout=10 21:08:44 > git config --get remote.origin.url # timeout=10 21:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:44 > git merge fcc125edee6752a069bb5774cca1c2de16e94d05 # timeout=10 21:08:44 > git rev-parse HEAD^{commit} # timeout=10 21:08:44 > git config core.sparsecheckout # timeout=10 21:08:44 > git checkout -f 74941b3681fa6373a983621587b74df3298b6c81 # timeout=10 21:08:47 Commit message: "Merge commit 'fcc125edee6752a069bb5774cca1c2de16e94d05' into HEAD" 21:08:47 First time build. Skipping changelog. 21:08:47 > git rev-list --no-walk 306effb1f84a2265956c1d706dc42e94085d17ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:48 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:48 Dload Upload Total Spent Left Speed 21:08:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 21:08:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:49 + sudo tee /etc/docker/daemon.new 21:08:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:49 { 21:08:49 "registry-mirrors": [ 21:08:49 "https://nexus3.edgexfoundry.org:10001" 21:08:49 ], 21:08:49 "bip": "10.250.0.254/24", 21:08:49 "hosts": [ 21:08:49 "tcp://0.0.0.0:5555", 21:08:49 "unix:///var/run/docker.sock" 21:08:49 ], 21:08:49 "mtu": 1458, 21:08:49 "selinux-enabled": true, 21:08:49 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:49 } [Pipeline] sh 21:08:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:50 + sudo service docker restart 21:09:01 Removing intermediate container 5d86b1158c3e 21:09:01 ---> b645311bdc26 21:09:01 Step 13/24 : FROM alpine:3.18 21:09:01 3.18: Pulling from library/alpine 21:09:01 7264a8db6415: Already exists 21:09:01 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:09:01 Status: Downloaded newer image for alpine:3.18 21:09:01 ---> 7e01a0d0a1dc 21:09:01 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:09:01 ---> Running in 33089c3d5ff1 21:09:01 Removing intermediate container 33089c3d5ff1 21:09:01 ---> d881e31ecdfd 21:09:01 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:01 ---> Running in 08358d8e1c41 21:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:09:02 (1/1) Installing dumb-init (1.2.5-r2) 21:09:02 Executing busybox-1.36.1-r2.trigger 21:09:02 OK: 7 MiB in 16 packages 21:09:02 Removing intermediate container 08358d8e1c41 21:09:02 ---> 53c0e62f466c 21:09:02 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:02 ---> bcf9047d47b7 21:09:02 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:02 ---> 11b45d130f8d 21:09:02 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:03 ---> fcfdb77025ee 21:09:03 Step 19/24 : EXPOSE 59989 21:09:03 ---> Running in cc5e6ac88523 21:09:03 Removing intermediate container cc5e6ac88523 21:09:03 ---> 804096d42544 21:09:03 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:03 ---> Running in 9a5a1e2afb25 21:09:03 Removing intermediate container 9a5a1e2afb25 21:09:03 ---> 352290db20c7 21:09:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:03 ---> Running in 41a3e7d5e739 21:09:03 Removing intermediate container 41a3e7d5e739 21:09:03 ---> 78a07f9b954c 21:09:03 Step 22/24 : LABEL arch=amd64 21:09:03 ---> Running in 1eabdc0e104b 21:09:03 Removing intermediate container 1eabdc0e104b 21:09:03 ---> 8dfe882b8feb 21:09:03 Step 23/24 : LABEL git_sha=51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 21:09:03 ---> Running in 2ca54cab0b37 21:09:03 Removing intermediate container 2ca54cab0b37 21:09:03 ---> 29078ce2941f 21:09:03 Step 24/24 : LABEL version=0.0.0 21:09:04 ---> Running in d5b07683f877 21:09:04 Removing intermediate container d5b07683f877 21:09:04 ---> 186a89f119d4 21:09:04 [Warning] One or more build-args [ARCH] were not consumed 21:09:04 Successfully built 186a89f119d4 21:09:04 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:04 21:09:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:04 latest: Pulling from edgex-lftools-log-publisher 21:09:04 5eb5b503b376: Pulling fs layer 21:09:04 5c69ac0246d0: Pulling fs layer 21:09:04 ec43610c2a17: Pulling fs layer 21:09:04 3a2ae6a8a46f: Pulling fs layer 21:09:04 33b1e0a273af: Pulling fs layer 21:09:04 5d3b04190fa2: Pulling fs layer 21:09:04 33b1e0a273af: Waiting 21:09:04 3a2ae6a8a46f: Waiting 21:09:04 2f39f015ded8: Pulling fs layer 21:09:04 5d3b04190fa2: Waiting 21:09:04 2f39f015ded8: Waiting 21:09:04 5c69ac0246d0: Download complete 21:09:04 3a2ae6a8a46f: Verifying Checksum 21:09:04 3a2ae6a8a46f: Download complete 21:09:04 33b1e0a273af: Verifying Checksum 21:09:04 33b1e0a273af: Download complete 21:09:05 5d3b04190fa2: Verifying Checksum 21:09:05 5d3b04190fa2: Download complete 21:09:05 ec43610c2a17: Verifying Checksum 21:09:05 ec43610c2a17: Download complete 21:09:05 5eb5b503b376: Download complete 21:09:05 2f39f015ded8: Verifying Checksum 21:09:05 2f39f015ded8: Download complete 21:09:06 5eb5b503b376: Pull complete 21:09:06 5c69ac0246d0: Pull complete 21:09:06 ec43610c2a17: Pull complete 21:09:06 3a2ae6a8a46f: Pull complete 21:09:06 33b1e0a273af: Pull complete 21:09:06 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:08 provisioning config files... 21:09:08 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/19@tmp/config3696408832216388378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:08 ---> docker-login.sh 21:09:08 nexus3.edgexfoundry.org:10001 21:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:09 Configure a credential helper to remove this warning. See 21:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:09 21:09:09 Login Succeeded 21:09:09 nexus3.edgexfoundry.org:10002 21:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:09 Configure a credential helper to remove this warning. See 21:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:09 21:09:09 Login Succeeded 21:09:09 nexus3.edgexfoundry.org:10003 21:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:10 Configure a credential helper to remove this warning. See 21:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:10 21:09:10 Login Succeeded 21:09:10 nexus3.edgexfoundry.org:10004 21:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:10 Configure a credential helper to remove this warning. See 21:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:10 21:09:10 Login Succeeded 21:09:10 docker.io 21:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:11 Configure a credential helper to remove this warning. See 21:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:11 21:09:11 Login Succeeded 21:09:11 ---> docker-login.sh ends [Pipeline] } 21:09:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:09:11 2f39f015ded8: Pull complete 21:09:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:11 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 21:09:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:16 $ docker top 0a6d059606f1c6f634c4bd573a97384e739dd080dbcc113dbad3e6aa057a3ff1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo 21:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:16 ========================================================= 21:09:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:09:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:16 ---> job-cost.sh 21:09:16 lf-activate-venv: SKIPPING 21:09:16 INFO: No Stack... 21:09:16 + 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:09:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:16 Sending build context to Docker daemon 1.219MB 21:09:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:09:16 Step 2/12 : FROM ${BASE} AS builder 21:09:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:17 9fda8d8052c6: Pulling fs layer 21:09:17 5d54e960e981: Pulling fs layer 21:09:17 c4a7e357bf2a: Pulling fs layer 21:09:17 f0e02332f6b5: Pulling fs layer 21:09:17 cefa15bbcfad: Pulling fs layer 21:09:17 17808c966233: Pulling fs layer 21:09:17 f4c1fc716caa: Pulling fs layer 21:09:17 cefa15bbcfad: Waiting 21:09:17 17808c966233: Waiting 21:09:17 f4c1fc716caa: Waiting 21:09:17 f0e02332f6b5: Waiting 21:09:17 5d54e960e981: Verifying Checksum 21:09:17 5d54e960e981: Download complete 21:09:17 f0e02332f6b5: Verifying Checksum 21:09:17 f0e02332f6b5: Download complete 21:09:17 cefa15bbcfad: Verifying Checksum 21:09:17 cefa15bbcfad: Download complete 21:09:17 9fda8d8052c6: Verifying Checksum 21:09:17 9fda8d8052c6: Download complete 21:09:17 INFO: Archiving Costs [Pipeline] sh 21:09:17 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:09:17 + cut -d, -f6 [Pipeline] lock 21:09:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] 21:09:17 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] did not exist. Created. 21:09:17 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:17 f4c1fc716caa: Verifying Checksum 21:09:17 f4c1fc716caa: Download complete 21:09:18 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:18 Stashed 1 file(s) [Pipeline] } 21:09:18 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:18 $ docker stop --time=1 0a6d059606f1c6f634c4bd573a97384e739dd080dbcc113dbad3e6aa057a3ff1 21:09:18 9fda8d8052c6: Pull complete 21:09:18 5d54e960e981: Pull complete 21:09:18 c4a7e357bf2a: Verifying Checksum 21:09:18 c4a7e357bf2a: Download complete 21:09:19 $ docker rm -f --volumes 0a6d059606f1c6f634c4bd573a97384e739dd080dbcc113dbad3e6aa057a3ff1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:19 17808c966233: Verifying Checksum 21:09:19 17808c966233: Download complete 21:09:32 c4a7e357bf2a: Pull complete 21:09:32 f0e02332f6b5: Pull complete 21:09:32 cefa15bbcfad: Pull complete 21:09:38 17808c966233: Pull complete 21:09:39 f4c1fc716caa: Pull complete 21:09:39 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:39 ---> ea914061e18c 21:09:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:40 ---> Running in 49658b8eb831 21:09:41 Removing intermediate container 49658b8eb831 21:09:41 ---> ebf9e6920ca9 21:09:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:41 ---> Running in 4bb10844b611 21:09:41 Removing intermediate container 4bb10844b611 21:09:41 ---> 02484f6512ba 21:09:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:41 ---> Running in 9b42fb187966 21:09:41 Removing intermediate container 9b42fb187966 21:09:41 ---> 321b01cf35fb 21:09:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:41 ---> Running in 75785733841b 21:09:42 Removing intermediate container 75785733841b 21:09:42 ---> 1eae39d0dca9 21:09:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:42 ---> Running in e3f1c008364c 21:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:09:44 OK: 266 MiB in 52 packages 21:09:45 Removing intermediate container e3f1c008364c 21:09:45 ---> 5dc2307113b6 21:09:45 Step 8/12 : WORKDIR /app 21:09:45 ---> Running in d3899bf2bfbc 21:09:46 Removing intermediate container d3899bf2bfbc 21:09:46 ---> 6e04e4e9dd15 21:09:46 Step 9/12 : COPY go.mod vendor* ./ 21:09:46 ---> 622d9b84f5b4 21:09:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:46 ---> Running in d8e16932c19d 21:10:54 Removing intermediate container d8e16932c19d 21:10:54 ---> 76ff0dd8e518 21:10:54 Step 11/12 : COPY . . 21:10:54 ---> a46e6e5bc850 21:10:54 Step 12/12 : RUN $MAKE 21:10:54 ---> Running in b4e87b7f0de2 21:10:54 noop 21:10:55 Removing intermediate container b4e87b7f0de2 21:10:55 ---> 416afd9ad9d8 21:10:55 Successfully built 416afd9ad9d8 21:10:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:55 + docker inspect -f . ci-base-image-arm64 21:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:55 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 21:10:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/19 -v /w/workspace/device-rfid-llrp-go/19:/w/workspace/device-rfid-llrp-go/19:rw,z -v /w/workspace/device-rfid-llrp-go/19@tmp:/w/workspace/device-rfid-llrp-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:56 $ docker top bd0d60a9ed71fb6693b079435743114ea368b19c9a94760653cfe6beeb70021e -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:57 + go version 21:10:57 go version go1.21.0 linux/arm64 [Pipeline] } 21:10:57 $ docker stop --time=1 bd0d60a9ed71fb6693b079435743114ea368b19c9a94760653cfe6beeb70021e 21:10:59 $ docker rm -f --volumes bd0d60a9ed71fb6693b079435743114ea368b19c9a94760653cfe6beeb70021e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:59 + docker inspect -f . ci-base-image-arm64 21:10:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:00 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 21:11:00 $ 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/19 -v /w/workspace/device-rfid-llrp-go/19:/w/workspace/device-rfid-llrp-go/19:rw,z -v /w/workspace/device-rfid-llrp-go/19@tmp:/w/workspace/device-rfid-llrp-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:03 $ docker top 6e989f6aac89ae29ff6c61dd073e9640e7f9b4dc36a84e19447518f71814e767 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:04 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/19 [Pipeline] fileExists [Pipeline] sh 21:11:04 + make test 21:11:04 go test ./... -coverprofile=coverage.out ./... 21:11:08 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:12:45 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:12:45 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:13:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.481s coverage: 40.6% of statements 21:13:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.560s coverage: 51.9% of statements 21:13:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 21:13:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:13:07 go vet ./... 21:13:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:39 $ docker stop --time=1 6e989f6aac89ae29ff6c61dd073e9640e7f9b4dc36a84e19447518f71814e767 21:13:43 $ docker rm -f --volumes 6e989f6aac89ae29ff6c61dd073e9640e7f9b4dc36a84e19447518f71814e767 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:44 Warning: overwriting stash ‘coverage-report’ 21:13:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:45 + ls -al . 21:13:45 total 640 21:13:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 21:11 . 21:13:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:08 .. 21:13:45 -rw-rw-r-- 1 jenkins jenkins 134 Sep 23 21:08 .dockerignore 21:13:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 21:08 .git 21:13:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 21:08 .github 21:13:45 -rw-rw-r-- 1 jenkins jenkins 946 Sep 23 21:08 .gitignore 21:13:45 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 21:08 .golangci.yml 21:13:45 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 23 21:08 Attribution.txt 21:13:45 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 23 21:08 CHANGELOG.md 21:13:45 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 23 21:08 Dockerfile 21:13:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 21:08 GOVERNANCE.md 21:13:45 -rw-rw-r-- 1 jenkins jenkins 683 Sep 23 21:08 Jenkinsfile 21:13:45 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 23 21:08 LICENSE 21:13:45 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 23 21:08 Makefile 21:13:45 -rw-rw-r-- 1 jenkins jenkins 625 Sep 23 21:08 OWNERS.md 21:13:45 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 23 21:08 README.md 21:13:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 21:06 VERSION 21:13:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:08 bin 21:13:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:08 cmd 21:13:45 -rw-r--r-- 1 jenkins jenkins 459493 Sep 23 21:13 coverage.out 21:13:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:08 examples 21:13:45 -rw-rw-r-- 1 jenkins jenkins 3877 Sep 23 21:08 go.mod 21:13:45 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 23 21:08 go.sum 21:13:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 21:08 images 21:13:45 drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 21:08 internal 21:13:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 21:08 snap 21:13:45 -rw-rw-r-- 1 jenkins jenkins 193 Sep 23 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:46 + 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=74941b3681fa6373a983621587b74df3298b6c81 --label arch=arm64 --label version=0.0.0 . 21:13:46 Sending build context to Docker daemon 1.219MB 21:13:46 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:13:46 Step 2/24 : FROM ${BASE} AS builder 21:13:46 ---> 416afd9ad9d8 21:13:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:13:46 ---> Running in 93e4a6ed8e93 21:13:48 Removing intermediate container 93e4a6ed8e93 21:13:48 ---> 142bcec4bfe0 21:13:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:48 ---> Running in b44913f1f6f1 21:13:48 Removing intermediate container b44913f1f6f1 21:13:48 ---> 88a329fb7f8f 21:13:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:13:48 ---> Running in 98f2d8047a3b 21:13:49 Removing intermediate container 98f2d8047a3b 21:13:49 ---> 710db193edef 21:13:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:13:49 ---> Running in ef1e9f1cd15d 21:13:50 Removing intermediate container ef1e9f1cd15d 21:13:50 ---> 3860cc5bc75c 21:13:50 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:50 ---> Running in 5ae54d84ba9f 21:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:13:53 OK: 266 MiB in 52 packages 21:13:54 Removing intermediate container 5ae54d84ba9f 21:13:54 ---> c7779d3a8c56 21:13:54 Step 8/24 : WORKDIR /app 21:13:54 ---> Running in 9b75bf4dd070 21:13:55 Removing intermediate container 9b75bf4dd070 21:13:55 ---> 1df10651f1da 21:13:55 Step 9/24 : COPY go.mod vendor* ./ 21:13:55 ---> 53f3de47b9f3 21:13:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:55 ---> Running in 9f74f6043b8d 21:13:58 Removing intermediate container 9f74f6043b8d 21:13:58 ---> 2911b2e80249 21:13:58 Step 11/24 : COPY . . 21:13:59 ---> e65293d740fa 21:13:59 Step 12/24 : RUN $MAKE 21:13:59 ---> Running in 95023eeb45aa 21:14:00 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.29" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:15:52 Removing intermediate container 95023eeb45aa 21:15:52 ---> 549a5696def6 21:15:52 Step 13/24 : FROM alpine:3.18 21:15:52 3.18: Pulling from library/alpine 21:15:52 9fda8d8052c6: Already exists 21:15:52 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:15:52 Status: Downloaded newer image for alpine:3.18 21:15:52 ---> f6648c04cd6c 21:15:52 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:52 ---> Running in 91b7da2b03ad 21:15:52 Removing intermediate container 91b7da2b03ad 21:15:52 ---> 307d923f8723 21:15:52 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:15:52 ---> Running in 066003351c25 21:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:52 (1/1) Installing dumb-init (1.2.5-r2) 21:15:52 Executing busybox-1.36.1-r2.trigger 21:15:52 OK: 8 MiB in 16 packages 21:15:52 Removing intermediate container 066003351c25 21:15:52 ---> bf4afa3a5042 21:15:52 Step 16/24 : COPY --from=builder /app/LICENSE / 21:15:52 ---> f2669dde6f82 21:15:52 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:15:52 ---> 736d9ffd2b0d 21:15:52 Step 18/24 : COPY --from=builder /app/cmd/ / 21:15:52 ---> ceb9ee95dc73 21:15:52 Step 19/24 : EXPOSE 59989 21:15:52 ---> Running in 4221d746e18f 21:15:52 Removing intermediate container 4221d746e18f 21:15:52 ---> caee22b17703 21:15:52 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:15:52 ---> Running in 54491d060e7a 21:15:52 Removing intermediate container 54491d060e7a 21:15:52 ---> 8435744e7f51 21:15:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:15:52 ---> Running in 416a981b8c74 21:15:52 Removing intermediate container 416a981b8c74 21:15:52 ---> 6954863be0a9 21:15:52 Step 22/24 : LABEL arch=arm64 21:15:52 ---> Running in b6453dfe9497 21:15:52 Removing intermediate container b6453dfe9497 21:15:52 ---> a4ccbf66e9ac 21:15:52 Step 23/24 : LABEL git_sha=74941b3681fa6373a983621587b74df3298b6c81 21:15:52 ---> Running in 2db2cd7b04f7 21:15:52 Removing intermediate container 2db2cd7b04f7 21:15:52 ---> 0d4d6a0766fa 21:15:52 Step 24/24 : LABEL version=0.0.0 21:15:52 ---> Running in 058809c1acae 21:15:52 Removing intermediate container 058809c1acae 21:15:52 ---> ddc0f5e957fb 21:15:52 [Warning] One or more build-args [ARCH] were not consumed 21:15:52 Successfully built ddc0f5e957fb 21:15:52 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:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:52 21:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:52 arm64: Pulling from edgex-lftools-log-publisher 21:15:52 8998bd30e6a1: Pulling fs layer 21:15:52 04944245beec: Pulling fs layer 21:15:52 699f458cf7ca: Pulling fs layer 21:15:52 765212b225bb: Pulling fs layer 21:15:52 f23df028b6ca: Pulling fs layer 21:15:52 d65c8cfc05b1: Pulling fs layer 21:15:52 2437ff75d9bd: Pulling fs layer 21:15:52 f23df028b6ca: Waiting 21:15:52 d65c8cfc05b1: Waiting 21:15:52 2437ff75d9bd: Waiting 21:15:52 765212b225bb: Waiting 21:15:53 04944245beec: Download complete 21:15:53 765212b225bb: Verifying Checksum 21:15:53 765212b225bb: Download complete 21:15:53 f23df028b6ca: Verifying Checksum 21:15:53 f23df028b6ca: Download complete 21:15:53 d65c8cfc05b1: Verifying Checksum 21:15:53 d65c8cfc05b1: Download complete 21:15:53 699f458cf7ca: Verifying Checksum 21:15:53 699f458cf7ca: Download complete 21:15:53 8998bd30e6a1: Verifying Checksum 21:15:53 8998bd30e6a1: Download complete 21:15:56 2437ff75d9bd: Verifying Checksum 21:15:56 2437ff75d9bd: Download complete 21:15:57 8998bd30e6a1: Pull complete 21:16:01 04944245beec: Pull complete 21:16:02 699f458cf7ca: Pull complete 21:16:02 765212b225bb: Pull complete 21:16:03 f23df028b6ca: Pull complete 21:16:03 d65c8cfc05b1: Pull complete 21:16:18 2437ff75d9bd: Pull complete 21:16:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:18 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 21:16:18 $ 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/19 -v /w/workspace/device-rfid-llrp-go/19:/w/workspace/device-rfid-llrp-go/19:rw,z -v /w/workspace/device-rfid-llrp-go/19@tmp:/w/workspace/device-rfid-llrp-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:16:20 $ docker top 912a1bb3afaa8e0ab054f9d3febb658cd55ab13d2cae40801df98be68f93ef73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:21 ---> job-cost.sh 21:16:21 lf-activate-venv: SKIPPING 21:16:21 INFO: No Stack... 21:16:21 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:22 INFO: Archiving Costs [Pipeline] sh 21:16:23 + cut -d, -f6 21:16:23 + cat /w/workspace/device-rfid-llrp-go/19/archives/cost.csv [Pipeline] lock 21:16:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] 21:16:23 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] did not exist. Created. 21:16:23 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:23 /w/workspace/device-rfid-llrp-go/19@tmp/durable-30d63517/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:24 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:24 Warning: overwriting stash ‘stack-cost’ 21:16:24 Stashed 1 file(s) [Pipeline] } 21:16:24 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-19-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:24 $ docker stop --time=1 912a1bb3afaa8e0ab054f9d3febb658cd55ab13d2cae40801df98be68f93ef73 21:16:26 $ docker rm -f --volumes 912a1bb3afaa8e0ab054f9d3febb658cd55ab13d2cae40801df98be68f93ef73 [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:27 provisioning config files... 21:16:27 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config17485359396897560542tmp [Pipeline] { [Pipeline] sh 21:16:27 + set +x 21:16:27 + curl -s https://codecov.io/bash 21:16:27 + bash -s -- 21:16:27 21:16:27 _____ _ 21:16:27 / ____| | | 21:16:27 | | ___ __| | ___ ___ _____ __ 21:16:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:27 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:27 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:27 Bash-1.0.6 21:16:27 21:16:27 21:16:27 ==> git version 2.25.1 found 21:16:27 ==> 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:27 Release-Date: 2020-01-08 21:16:27 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:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:27 ==> Jenkins CI detected. 21:16:27 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:27 project root: . 21:16:27 --> token set from env 21:16:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:27 ==> Running gcov in . (disable via -X gcov) 21:16:27 ==> Python coveragepy not found 21:16:27 ==> Searching for coverage reports in: 21:16:27 + . 21:16:27 -> Found 1 reports 21:16:27 ==> Detecting git/mercurial file structure 21:16:27 ==> Reading reports 21:16:27 + ./coverage.out bytes=459493 21:16:27 ==> Appending adjustments 21:16:27 https://docs.codecov.io/docs/fixing-reports 21:16:27 + Found adjustments 21:16:27 ==> Gzipping contents 21:16:27 52K /tmp/codecov.0wLP6i.gz 21:16:27 ==> Uploading reports 21:16:27 url: https://codecov.io 21:16:27 query: branch=PR-229&commit=51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:27 -> Pinging Codecov 21:16:27 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=51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:28 -> Uploading to 21:16:28 https://storage.googleapis.com/codecov/v4/raw/2023-09-23/581DD39554BDF9B6E22D074273EAD858/51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8/649f2364-1123-4329-9cf3-fbcd1cd61631.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T211628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cf1553db65ca6baf9835df42a15aa5d1aa948bf41991e4c9e23c9ec178fb83d 21:16:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:28 Dload Upload Total Spent Left Speed 21:16:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50515 0 0 100 50515 0 199k --:--:-- --:--:-- --:--:-- 199k 21:16:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/51c9e84ae8084a0b163a8ac1b5ebe6b4474497d8 [Pipeline] } 21:16:28 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:29 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:16:29 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:29 total 16 21:16:29 drwxr-xr-x 3 root root 4096 Sep 23 21:09 . 21:16:29 drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 21:09 .. 21:16:29 drwxr-xr-x 2 root root 4096 Sep 23 21:09 cost 21:16:29 -rw-r--r-- 1 root root 92 Sep 23 21:09 cost.csv 21:16:29 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:29 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:29 total 16 21:16:29 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 21:09 . 21:16:29 drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 21:09 .. 21:16:29 drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 21:09 cost 21:16:29 -rw-r--r-- 1 jenkins jenkins 92 Sep 23 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:30 ---> package-listing.sh 21:16:30 ++ facter osfamily 21:16:30 ++ tr '[:upper:]' '[:lower:]' 21:16:30 + OS_FAMILY=debian 21:16:30 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:30 + START_PACKAGES=/tmp/packages_start.txt 21:16:30 + END_PACKAGES=/tmp/packages_end.txt 21:16:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:30 + PACKAGES=/tmp/packages_start.txt 21:16:30 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:30 + PACKAGES=/tmp/packages_end.txt 21:16:30 + case "${OS_FAMILY}" in 21:16:30 + dpkg -l 21:16:30 + grep '^ii' 21:16:30 + '[' -f /tmp/packages_start.txt ']' 21:16:30 + '[' -f /tmp/packages_end.txt ']' 21:16:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:30 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:30 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:16:30 + 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:30 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:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:31 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 21:16:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:16:32 $ docker top 4952f3e2bcd2058101109b4a8db51d4b0388feb702b6aed97b733094fe75f0e6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:32 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:33 + ls /var/log/sa-host 21:16:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:33 provisioning config files... 21:16:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config10393500149356428157tmp [Pipeline] { [Pipeline] echo 21:16:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:33 ---> create-netrc.sh [Pipeline] } 21:16:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:34 ---> python-tools-install.sh [Pipeline] echo 21:16:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:34 ---> sudo-logs.sh 21:16:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:34 ---> job-cost.sh 21:16:34 lf-activate-venv: SKIPPING 21:16:34 DEBUG: total: 0.2199999988079071 21:16:34 INFO: Retrieving Stack Cost... 21:16:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:35 INFO: Archiving Costs [Pipeline] echo 21:16:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:35 ---> logs-deploy.sh 21:16:35 lf-activate-venv: SKIPPING 21:16:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/19 21:16:35 INFO: archiving workspace using pattern(s): 21:16:36 Archives upload complete. 21:16:36 INFO: archiving logs to Nexus