Pull request #232 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1add1a26ca3b8402b55da1a2c00298fb26ea6f9+bbba31b9990baf121db7a0c9343d3a9a1e7eab6e (8b05f7e92a8f16310452b092268abeb76e3d28d0) 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-ssh12849473060562306528.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13340516369223686958.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8284064438919254593.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9983239627468108672.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8857629533124698925.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16899’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16900’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16902’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16907’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16907 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-232 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bbba31b9990baf121db7a0c9343d3a9a1e7eab6e into PR head commit c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 Merge succeeded, producing c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 Checking out Revision c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 (PR-232) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:09 ========================================================= 01:30:09 EdgeX Global Pipelines Version Info 01:30:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 # 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 bbba31b9990baf121db7a0c9343d3a9a1e7eab6e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 # timeout=10 > git rev-list --no-walk 2abd3f7522cd42fe13cf74a5c9d2acf66b3516ba # timeout=10 01:30:10 ------------------- 01:30:10 stable info: 01:30:10 ------------------- 01:30:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:30:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:10 Message: update stable to v1.0.249 01:30:10 ------------------- 01:30:10 experimental info: 01:30:10 ------------------- 01:30:10 Commited By: **** collab-it+edgex@linuxfoundation.org 01:30:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:10 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 01:30:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 01:30:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1add1a [Pipeline] echo 01:30:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:11 provisioning config files... 01:30:11 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config14640800410764798587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:11 ---> docker-login.sh 01:30:11 nexus3.edgexfoundry.org:10001 01:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:11 Configure a credential helper to remove this warning. See 01:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:11 01:30:11 Login Succeeded 01:30:11 nexus3.edgexfoundry.org:10002 01:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:12 Configure a credential helper to remove this warning. See 01:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:12 01:30:12 Login Succeeded 01:30:12 nexus3.edgexfoundry.org:10003 01:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:12 Configure a credential helper to remove this warning. See 01:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:12 01:30:12 Login Succeeded 01:30:12 nexus3.edgexfoundry.org:10004 01:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:12 Configure a credential helper to remove this warning. See 01:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:12 01:30:12 Login Succeeded 01:30:12 docker.io 01:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:12 Configure a credential helper to remove this warning. See 01:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:12 01:30:12 Login Succeeded 01:30:12 ---> docker-login.sh ends [Pipeline] } 01:30:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:13 + git rev-list -1 --merges c1add1a26ca3b8402b55da1a2c00298fb26ea6f9~1..c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [Pipeline] echo 01:30:13 -----------> git rev-list -1 --merges c1add1a26ca3b8402b55da1a2c00298fb26ea6f9~1..c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [false] [Pipeline] sh 01:30:13 + git log --format=format:%s -1 c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [Pipeline] echo 01:30:13 ========================================================= 01:30:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:13 + git log --format=format:%s -1 c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [Pipeline] echo 01:30:13 [semverPrep] GIT_COMMIT: c1add1a26ca3b8402b55da1a2c00298fb26ea6f9, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 01:30:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:14 + grep -v github /etc/ssh/ssh_known_hosts 01:30:14 + [ -e /tmp/ssh_known_hosts ] 01:30:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:30:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:14 01:30:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:14 b85a868b505f: Pulling fs layer 01:30:14 e2be974225ed: Pulling fs layer 01:30:14 339a4e72a1f5: Pulling fs layer 01:30:14 988bab9f4d93: Pulling fs layer 01:30:14 1469e6f7b9e6: Pulling fs layer 01:30:14 eaf3925da568: Pulling fs layer 01:30:14 bab4dde63d76: Pulling fs layer 01:30:14 bde34c3a00c8: Pulling fs layer 01:30:14 b352a97aabf1: Pulling fs layer 01:30:14 4872d77fe225: Pulling fs layer 01:30:14 5851b861e8e6: Pulling fs layer 01:30:14 eaf3925da568: Waiting 01:30:14 bde34c3a00c8: Waiting 01:30:14 4872d77fe225: Waiting 01:30:14 b352a97aabf1: Waiting 01:30:14 988bab9f4d93: Waiting 01:30:14 1469e6f7b9e6: Waiting 01:30:14 5851b861e8e6: Waiting 01:30:14 bab4dde63d76: Waiting 01:30:14 e2be974225ed: Verifying Checksum 01:30:14 e2be974225ed: Download complete 01:30:14 988bab9f4d93: Verifying Checksum 01:30:14 988bab9f4d93: Download complete 01:30:14 1469e6f7b9e6: Verifying Checksum 01:30:14 1469e6f7b9e6: Download complete 01:30:14 eaf3925da568: Verifying Checksum 01:30:14 eaf3925da568: Download complete 01:30:14 339a4e72a1f5: Verifying Checksum 01:30:14 339a4e72a1f5: Download complete 01:30:14 bde34c3a00c8: Verifying Checksum 01:30:14 bde34c3a00c8: Download complete 01:30:15 b352a97aabf1: Download complete 01:30:15 4872d77fe225: Download complete 01:30:15 5851b861e8e6: Verifying Checksum 01:30:15 5851b861e8e6: Download complete 01:30:15 b85a868b505f: Verifying Checksum 01:30:15 b85a868b505f: Download complete 01:30:15 bab4dde63d76: Verifying Checksum 01:30:15 bab4dde63d76: Download complete 01:30:16 b85a868b505f: Pull complete 01:30:16 e2be974225ed: Pull complete 01:30:16 339a4e72a1f5: Pull complete 01:30:16 988bab9f4d93: Pull complete 01:30:17 1469e6f7b9e6: Pull complete 01:30:17 eaf3925da568: Pull complete 01:30:18 bab4dde63d76: Pull complete 01:30:18 bde34c3a00c8: Pull complete 01:30:18 b352a97aabf1: Pull complete 01:30:18 4872d77fe225: Pull complete 01:30:19 5851b861e8e6: Pull complete 01:30:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:19 prd-ubuntu20.04-docker-8c-8g-16907 does not seem to be running inside a container 01:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:30:22 $ docker top 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f -eo pid,comm 01:30:22 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). 01:30:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:22 [ssh-agent] Looking for ssh-agent implementation... 01:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:22 $ docker exec 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f ssh-agent 01:30:22 SSH_AUTH_SOCK=/tmp/ssh-3xi31P4DwbMk/agent.33 01:30:22 SSH_AGENT_PID=39 01:30:22 Running ssh-add (command line suppressed) 01:30:22 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_1054298875558413509.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_1054298875558413509.key) 01:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:23 + git tag --points-at HEAD [Pipeline] } 01:30:23 $ docker exec --env ******** --env ******** 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f ssh-agent -k 01:30:23 unset SSH_AUTH_SOCK; 01:30:23 unset SSH_AGENT_PID; 01:30:23 echo Agent pid 39 killed; 01:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:23 [ssh-agent] Looking for ssh-agent implementation... 01:30:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:23 $ docker exec 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f ssh-agent 01:30:23 SSH_AUTH_SOCK=/tmp/ssh-42ctNQnf5QzG/agent.71 01:30:23 SSH_AGENT_PID=77 01:30:23 Running ssh-add (command line suppressed) 01:30:23 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_5216078296615348342.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_5216078296615348342.key) 01:30:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:23 + git semver init 01:30:24 2023-05-25 01:30:24,007 [run_init] DEBUG init version:0.0.0 force:False 01:30:24 2023-05-25 01:30:24,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 01:30:24 2023-05-25 01:30:24,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 01:30:24 2023-05-25 01:30:24,008 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232, universal_newlines=False, shell=None, istream=None) 01:30:25 2023-05-25 01:30:24,817 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.git/info/exclude 01:30:25 2023-05-25 01:30:24,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 with force:False 01:30:25 2023-05-25 01:30:24,818 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 01:30:25 2023-05-25 01:30:24,820 [execute] INFO git cat-file --batch-check 01:30:25 2023-05-25 01:30:24,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 01:30:25 2023-05-25 01:30:24,827 [execute] INFO git cat-file --batch 01:30:25 2023-05-25 01:30:24,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 01:30:25 2023-05-25 01:30:24,832 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 01:30:25 0.0.0 [Pipeline] } 01:30:25 $ docker exec --env ******** --env ******** 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f ssh-agent -k 01:30:25 unset SSH_AUTH_SOCK; 01:30:25 unset SSH_AGENT_PID; 01:30:25 echo Agent pid 77 killed; 01:30:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:25 + git semver [Pipeline] } 01:30:25 $ docker stop --time=1 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f 01:30:27 $ docker rm -f --volumes 0b30059ca3331219722b70c8535e390bbc9381c466a663862b9dc0bc7a31646f [Pipeline] // withDockerContainer [Pipeline] sh 01:30:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:27 Stashed 1 file(s) [Pipeline] echo 01:30:27 [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 01:30:27 provisioning config files... 01:30:27 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config15109130262417483987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:28 ---> docker-login.sh 01:30:28 nexus3.edgexfoundry.org:10001 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10002 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10003 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 nexus3.edgexfoundry.org:10004 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 docker.io 01:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:28 Configure a credential helper to remove this warning. See 01:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:28 01:30:28 Login Succeeded 01:30:28 ---> docker-login.sh ends [Pipeline] } 01:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:28 ========================================================= 01:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:30:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:30:29 Sending build context to Docker daemon 4.261MB 01:30:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:30:29 Step 2/12 : FROM ${BASE} AS builder 01:30:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:29 f56be85fc22e: Pulling fs layer 01:30:29 85791d961cd3: Pulling fs layer 01:30:29 d694b5ae8c79: Pulling fs layer 01:30:29 9f32a84ed3da: Pulling fs layer 01:30:29 4d19c01a9841: Pulling fs layer 01:30:29 9325e15d5711: Pulling fs layer 01:30:29 556b6ee489ea: Pulling fs layer 01:30:29 c5a4b2cf53e6: Pulling fs layer 01:30:29 4d19c01a9841: Waiting 01:30:29 9f32a84ed3da: Waiting 01:30:29 9325e15d5711: Waiting 01:30:29 556b6ee489ea: Waiting 01:30:29 c5a4b2cf53e6: Waiting 01:30:29 85791d961cd3: Download complete 01:30:29 9f32a84ed3da: Download complete 01:30:29 4d19c01a9841: Verifying Checksum 01:30:29 4d19c01a9841: Download complete 01:30:29 f56be85fc22e: Verifying Checksum 01:30:29 f56be85fc22e: Download complete 01:30:29 9325e15d5711: Verifying Checksum 01:30:29 9325e15d5711: Download complete 01:30:29 f56be85fc22e: Pull complete 01:30:29 85791d961cd3: Pull complete 01:30:29 c5a4b2cf53e6: Verifying Checksum 01:30:29 c5a4b2cf53e6: Download complete 01:30:29 d694b5ae8c79: Verifying Checksum 01:30:29 d694b5ae8c79: Download complete 01:30:30 556b6ee489ea: Verifying Checksum 01:30:30 556b6ee489ea: Download complete 01:30:33 d694b5ae8c79: Pull complete 01:30:33 9f32a84ed3da: Pull complete 01:30:33 4d19c01a9841: Pull complete 01:30:33 9325e15d5711: Pull complete 01:30:35 556b6ee489ea: Pull complete 01:30:36 c5a4b2cf53e6: Pull complete 01:30:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:30:36 ---> c4be618373d6 01:30:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:41 ---> Running in 65a75b540c86 01:30:41 Removing intermediate container 65a75b540c86 01:30:41 ---> 89a55294ec34 01:30:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:41 ---> Running in dff7238d5665 01:30:41 Removing intermediate container dff7238d5665 01:30:41 ---> 5174c894b191 01:30:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 01:30:41 ---> Running in 681a2042909a 01:30:41 Removing intermediate container 681a2042909a 01:30:41 ---> 571405bb1968 01:30:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:41 ---> Running in 683cf82b9d4b 01:30:41 Removing intermediate container 683cf82b9d4b 01:30:41 ---> 96e4617a984a 01:30:41 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:41 ---> Running in b0a819784690 01:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:41 OK: 265 MiB in 53 packages 01:30:42 Removing intermediate container b0a819784690 01:30:42 ---> 13f799eda69a 01:30:42 Step 8/12 : WORKDIR /app 01:30:42 ---> Running in 54aa1f119265 01:30:42 Removing intermediate container 54aa1f119265 01:30:42 ---> 313414724613 01:30:42 Step 9/12 : COPY go.mod vendor* ./ 01:30:42 ---> e8035955e8d2 01:30:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:42 ---> Running in e5d7d2a28464 01:30:42 Still waiting to schedule task 01:30:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:31:08 Removing intermediate container e5d7d2a28464 01:31:08 ---> 2993b368502b 01:31:08 Step 11/12 : COPY . . 01:31:08 ---> da81b7ee9fa2 01:31:08 Step 12/12 : RUN $MAKE 01:31:08 ---> Running in 47c574efdfd8 01:31:08 noop 01:31:08 Removing intermediate container 47c574efdfd8 01:31:08 ---> 5f982165c847 01:31:08 Successfully built 5f982165c847 01:31:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:09 + docker inspect -f . ci-base-image-x86_64 01:31:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:09 prd-ubuntu20.04-docker-8c-8g-16907 does not seem to be running inside a container 01:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:09 $ docker top ccdf4d776ec03f30f2fe3533e78dc001462fd6a0176a7208904ec27376237b0d -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:09 + go version 01:31:09 go version go1.20.2 linux/amd64 [Pipeline] } 01:31:09 $ docker stop --time=1 ccdf4d776ec03f30f2fe3533e78dc001462fd6a0176a7208904ec27376237b0d 01:31:11 $ docker rm -f --volumes ccdf4d776ec03f30f2fe3533e78dc001462fd6a0176a7208904ec27376237b0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:11 + docker inspect -f . ci-base-image-x86_64 01:31:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:11 prd-ubuntu20.04-docker-8c-8g-16907 does not seem to be running inside a container 01:31:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:12 $ docker top b57f1e81499f90fbcb64d91ecc3b96e88ca53d15b64d650d1eb12e1d9f25ccae -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:12 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] fileExists [Pipeline] sh 01:31:12 + make test 01:31:12 go test ./... -coverprofile=coverage.out ./... 01:31:16 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:31:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:31:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:31:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.677s coverage: 40.5% of statements 01:31:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.247s coverage: 52.0% of statements 01:31:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 96.4% of statements 01:31:38 go vet ./... 01:31:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:41 ./bin/test-attribution-txt.sh 01:31:41 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:31:41 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:31:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:41 $ docker stop --time=1 b57f1e81499f90fbcb64d91ecc3b96e88ca53d15b64d650d1eb12e1d9f25ccae 01:31:44 $ docker rm -f --volumes b57f1e81499f90fbcb64d91ecc3b96e88ca53d15b64d650d1eb12e1d9f25ccae [Pipeline] // withDockerContainer [Pipeline] sh 01:31:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:31:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:45 + ls -al . 01:31:45 total 628 01:31:45 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:31 . 01:31:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 .. 01:31:45 -rw-rw-r-- 1 jenkins jenkins 134 May 25 01:30 .dockerignore 01:31:45 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git 01:31:45 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 .github 01:31:45 -rw-rw-r-- 1 jenkins jenkins 946 May 25 01:30 .gitignore 01:31:45 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:30 .golangci.yml 01:31:45 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:30 .semver 01:31:45 -rw-rw-r-- 1 jenkins jenkins 10794 May 25 01:30 Attribution.txt 01:31:45 -rw-rw-r-- 1 jenkins jenkins 5905 May 25 01:30 CHANGELOG.md 01:31:45 -rw-rw-r-- 1 jenkins jenkins 1347 May 25 01:30 Dockerfile 01:31:45 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:30 GOVERNANCE.md 01:31:45 -rw-rw-r-- 1 jenkins jenkins 683 May 25 01:30 Jenkinsfile 01:31:45 -rw-rw-r-- 1 jenkins jenkins 11347 May 25 01:30 LICENSE 01:31:45 -rw-rw-r-- 1 jenkins jenkins 2053 May 25 01:30 Makefile 01:31:45 -rw-rw-r-- 1 jenkins jenkins 625 May 25 01:30 OWNERS.md 01:31:45 -rw-rw-r-- 1 jenkins jenkins 28505 May 25 01:30 README.md 01:31:45 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:31:45 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 bin 01:31:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 cmd 01:31:45 -rw-r--r-- 1 jenkins jenkins 458039 May 25 01:31 coverage.out 01:31:45 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 examples 01:31:45 -rw-rw-r-- 1 jenkins jenkins 3371 May 25 01:30 go.mod 01:31:45 -rw-rw-r-- 1 jenkins jenkins 31072 May 25 01:30 go.sum 01:31:45 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 images 01:31:45 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:30 internal 01:31:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 snap 01:31:45 -rw-rw-r-- 1 jenkins jenkins 193 May 25 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:46 + 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=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 --label arch=amd64 --label version=0.0.0 . 01:31:46 Sending build context to Docker daemon 4.261MB 01:31:46 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:31:46 Step 2/24 : FROM ${BASE} AS builder 01:31:46 ---> 5f982165c847 01:31:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:31:46 ---> Running in 8d17176c6ac4 01:31:46 Removing intermediate container 8d17176c6ac4 01:31:46 ---> 697217850585 01:31:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:46 ---> Running in c2f9c3f591f2 01:31:46 Removing intermediate container c2f9c3f591f2 01:31:46 ---> 744cb1d9a7be 01:31:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 01:31:46 ---> Running in fdbc6c612947 01:31:46 Removing intermediate container fdbc6c612947 01:31:46 ---> 5221cd63600f 01:31:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:31:46 ---> Running in d92dee03d6bc 01:31:46 Removing intermediate container d92dee03d6bc 01:31:46 ---> 1627d931eaaf 01:31:46 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:46 ---> Running in 5f2b77de10c0 01:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:31:47 OK: 265 MiB in 53 packages 01:31:47 Removing intermediate container 5f2b77de10c0 01:31:47 ---> 23afa3c2d104 01:31:47 Step 8/24 : WORKDIR /app 01:31:47 ---> Running in 2421a227e71c 01:31:47 Removing intermediate container 2421a227e71c 01:31:47 ---> 46ac35b98d2b 01:31:47 Step 9/24 : COPY go.mod vendor* ./ 01:31:47 ---> 577a7e7713af 01:31:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:47 ---> Running in e82709463d86 01:31:48 Removing intermediate container e82709463d86 01:31:48 ---> 8e465ca16037 01:31:48 Step 11/24 : COPY . . 01:31:48 ---> 87291e97237b 01:31:48 Step 12/24 : RUN $MAKE 01:31:48 ---> Running in 529744c0b8fa 01:31:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 01:32:06 Removing intermediate container 529744c0b8fa 01:32:06 ---> a3e781276312 01:32:06 Step 13/24 : FROM alpine:3.17 01:32:07 3.17: Pulling from library/alpine 01:32:07 f56be85fc22e: Already exists 01:32:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:32:07 Status: Downloaded newer image for alpine:3.17 01:32:07 ---> 9ed4aefc74f6 01:32:07 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:32:07 ---> Running in 8405f5482bfc 01:32:07 Removing intermediate container 8405f5482bfc 01:32:07 ---> 7b95c2fe0dab 01:32:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:32:07 ---> Running in f34b78819ede 01:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:32:08 (1/1) Installing dumb-init (1.2.5-r2) 01:32:08 Executing busybox-1.35.0-r29.trigger 01:32:08 OK: 7 MiB in 16 packages 01:32:08 Removing intermediate container f34b78819ede 01:32:08 ---> df32f8e6600a 01:32:08 Step 16/24 : COPY --from=builder /app/LICENSE / 01:32:08 ---> 1d0647268971 01:32:08 Step 17/24 : COPY --from=builder /app/Attribution.txt / 01:32:08 ---> cf73ef5b915e 01:32:08 Step 18/24 : COPY --from=builder /app/cmd/ / 01:32:09 ---> cd5830c1026a 01:32:09 Step 19/24 : EXPOSE 59989 01:32:09 ---> Running in 37a84ea46ebb 01:32:09 Removing intermediate container 37a84ea46ebb 01:32:09 ---> 728ba91d133d 01:32:09 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 01:32:09 ---> Running in 6203abcc55a9 01:32:09 Removing intermediate container 6203abcc55a9 01:32:09 ---> 047c660e0b23 01:32:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:32:09 ---> Running in 5bcd10032732 01:32:09 Removing intermediate container 5bcd10032732 01:32:09 ---> e59c5fc12a5f 01:32:09 Step 22/24 : LABEL arch=amd64 01:32:09 ---> Running in 5f29c61a21fa 01:32:09 Removing intermediate container 5f29c61a21fa 01:32:09 ---> 09fada998f34 01:32:09 Step 23/24 : LABEL git_sha=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 01:32:09 ---> Running in 596b60c3b2ee 01:32:09 Removing intermediate container 596b60c3b2ee 01:32:09 ---> 9c2908f2bbf9 01:32:09 Step 24/24 : LABEL version=0.0.0 01:32:09 ---> Running in c7eb0182d48d 01:32:09 Removing intermediate container c7eb0182d48d 01:32:09 ---> 525884d10088 01:32:09 [Warning] One or more build-args [ARCH] were not consumed 01:32:09 Successfully built 525884d10088 01:32:09 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 01:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:10 01:32:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:10 latest: Pulling from edgex-lftools-log-publisher 01:32:10 5eb5b503b376: Pulling fs layer 01:32:10 5c69ac0246d0: Pulling fs layer 01:32:10 ec43610c2a17: Pulling fs layer 01:32:10 3a2ae6a8a46f: Pulling fs layer 01:32:10 33b1e0a273af: Pulling fs layer 01:32:10 5d3b04190fa2: Pulling fs layer 01:32:10 2f39f015ded8: Pulling fs layer 01:32:10 3a2ae6a8a46f: Waiting 01:32:10 33b1e0a273af: Waiting 01:32:10 5d3b04190fa2: Waiting 01:32:10 2f39f015ded8: Waiting 01:32:10 5c69ac0246d0: Download complete 01:32:10 3a2ae6a8a46f: Verifying Checksum 01:32:10 3a2ae6a8a46f: Download complete 01:32:10 33b1e0a273af: Verifying Checksum 01:32:10 33b1e0a273af: Download complete 01:32:10 5d3b04190fa2: Verifying Checksum 01:32:10 5d3b04190fa2: Download complete 01:32:10 ec43610c2a17: Verifying Checksum 01:32:10 ec43610c2a17: Download complete 01:32:10 5eb5b503b376: Verifying Checksum 01:32:10 5eb5b503b376: Download complete 01:32:11 2f39f015ded8: Download complete 01:32:11 5eb5b503b376: Pull complete 01:32:11 5c69ac0246d0: Pull complete 01:32:12 ec43610c2a17: Pull complete 01:32:12 3a2ae6a8a46f: Pull complete 01:32:12 33b1e0a273af: Pull complete 01:32:12 5d3b04190fa2: Pull complete 01:32:16 2f39f015ded8: Pull complete 01:32:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:16 prd-ubuntu20.04-docker-8c-8g-16907 does not seem to be running inside a container 01:32:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:32:20 $ docker top ea5098828ae11b0a90f4914a6dd8b78ca1c8b50762f91d5287127c3d8ec2dd87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:20 ---> job-cost.sh 01:32:20 lf-activate-venv: SKIPPING 01:32:20 INFO: No Stack... 01:32:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:21 INFO: Archiving Costs [Pipeline] sh 01:32:21 + cat /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/cost.csv 01:32:21 + cut -d, -f6 [Pipeline] lock 01:32:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] 01:32:21 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] did not exist. Created. 01:32:21 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:22 + echo total: 0.2199999988079071 [Pipeline] stash 01:32:22 Stashed 1 file(s) [Pipeline] } 01:32:22 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:22 $ docker stop --time=1 ea5098828ae11b0a90f4914a6dd8b78ca1c8b50762f91d5287127c3d8ec2dd87 01:32:23 $ docker rm -f --volumes ea5098828ae11b0a90f4914a6dd8b78ca1c8b50762f91d5287127c3d8ec2dd87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16916 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] { [Pipeline] ws 01:35:24 Running in /w/workspace/device-rfid-llrp-go/6 [Pipeline] { [Pipeline] checkout 01:35:24 Selected Git installation does not exist. Using Default 01:35:24 The recommended git tool is: NONE 01:35:40 using credential edgex-jenkins-ssh 01:35:40 Cloning the remote Git repository 01:35:40 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:35:40 > git init /w/workspace/device-rfid-llrp-go/6 # timeout=10 01:35:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:35:40 > git --version # timeout=10 01:35:40 > git --version # 'git version 2.25.1' 01:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:35:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:44 Merging remotes/origin/main commit bbba31b9990baf121db7a0c9343d3a9a1e7eab6e into PR head commit c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 01:35:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:35:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:35:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:35:44 > git config core.sparsecheckout # timeout=10 01:35:44 > git checkout -f c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 # timeout=10 01:35:44 > git remote # timeout=10 01:35:44 Merge succeeded, producing c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 01:35:44 Checking out Revision c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 (PR-232) 01:35:45 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:35:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:46 Dload Upload Total Spent Left Speed 01:35:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 163k 01:35:44 > git config --get remote.origin.url # timeout=10 01:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:44 > git merge bbba31b9990baf121db7a0c9343d3a9a1e7eab6e # timeout=10 01:35:44 > git rev-parse HEAD^{commit} # timeout=10 01:35:44 > git config core.sparsecheckout # timeout=10 01:35:44 > git checkout -f c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 # timeout=10 [Pipeline] sh 01:35:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:35:47 + sudo tee /etc/docker/daemon.new 01:35:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:35:47 { 01:35:47 "registry-mirrors": [ 01:35:47 "https://nexus3.edgexfoundry.org:10001" 01:35:47 ], 01:35:47 "bip": "10.250.0.254/24", 01:35:47 "hosts": [ 01:35:47 "tcp://0.0.0.0:5555", 01:35:47 "unix:///var/run/docker.sock" 01:35:47 ], 01:35:47 "mtu": 1458, 01:35:47 "selinux-enabled": true, 01:35:47 "seccomp-profile": "/etc/docker/seccomp.json" 01:35:47 } [Pipeline] sh 01:35:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:35:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:06 provisioning config files... 01:36:06 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/6@tmp/config15017913010307667930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:06 ---> docker-login.sh 01:36:06 nexus3.edgexfoundry.org:10001 01:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:07 Configure a credential helper to remove this warning. See 01:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:07 01:36:07 Login Succeeded 01:36:07 nexus3.edgexfoundry.org:10002 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 nexus3.edgexfoundry.org:10003 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 nexus3.edgexfoundry.org:10004 01:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:09 Configure a credential helper to remove this warning. See 01:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:09 01:36:09 Login Succeeded 01:36:09 docker.io 01:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:09 Configure a credential helper to remove this warning. See 01:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:09 01:36:09 Login Succeeded 01:36:09 ---> docker-login.sh ends [Pipeline] } 01:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:09 ========================================================= 01:36:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:36:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:36:10 Sending build context to Docker daemon 1.212MB 01:36:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:36:10 Step 2/12 : FROM ${BASE} AS builder 01:36:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:36:10 c41833b44d91: Pulling fs layer 01:36:10 ed15518f5707: Pulling fs layer 01:36:10 feae8fd75edb: Pulling fs layer 01:36:10 242c74f7c9fa: Pulling fs layer 01:36:10 3cdef696dda3: Pulling fs layer 01:36:10 2ced38df9373: Pulling fs layer 01:36:10 58f1dce35555: Pulling fs layer 01:36:10 242c74f7c9fa: Waiting 01:36:10 3cdef696dda3: Waiting 01:36:10 2ced38df9373: Waiting 01:36:10 58f1dce35555: Waiting 01:36:10 ed15518f5707: Download complete 01:36:10 242c74f7c9fa: Verifying Checksum 01:36:10 242c74f7c9fa: Download complete 01:36:10 3cdef696dda3: Verifying Checksum 01:36:10 3cdef696dda3: Download complete 01:36:11 c41833b44d91: Verifying Checksum 01:36:11 c41833b44d91: Download complete 01:36:12 c41833b44d91: Pull complete 01:36:13 58f1dce35555: Verifying Checksum 01:36:13 58f1dce35555: Download complete 01:36:13 ed15518f5707: Pull complete 01:36:14 feae8fd75edb: Verifying Checksum 01:36:14 feae8fd75edb: Download complete 01:36:14 2ced38df9373: Verifying Checksum 01:36:14 2ced38df9373: Download complete 01:36:26 feae8fd75edb: Pull complete 01:36:26 242c74f7c9fa: Pull complete 01:36:26 3cdef696dda3: Pull complete 01:36:31 2ced38df9373: Pull complete 01:36:33 58f1dce35555: Pull complete 01:36:33 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:36:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:36:33 ---> fadd8f120f05 01:36:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:36 ---> Running in c2521f3c910f 01:36:36 Removing intermediate container c2521f3c910f 01:36:36 ---> cc72b17579ca 01:36:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:36 ---> Running in 178fc2db58df 01:36:36 Removing intermediate container 178fc2db58df 01:36:36 ---> f3fe68683e2b 01:36:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 01:36:37 ---> Running in de44f6c64fd6 01:36:37 Removing intermediate container de44f6c64fd6 01:36:37 ---> f19afd81671b 01:36:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:37 ---> Running in fc2f06d771d9 01:36:37 Removing intermediate container fc2f06d771d9 01:36:37 ---> 9893d910b8e8 01:36:37 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:37 ---> Running in 7830be9d0991 01:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:36:41 OK: 263 MiB in 53 packages 01:36:43 Removing intermediate container 7830be9d0991 01:36:43 ---> a045e97221d8 01:36:43 Step 8/12 : WORKDIR /app 01:36:43 ---> Running in e2c2c6d954cf 01:36:43 Removing intermediate container e2c2c6d954cf 01:36:43 ---> 21d22b41b3f1 01:36:43 Step 9/12 : COPY go.mod vendor* ./ 01:36:44 ---> 211720a0a9e4 01:36:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:44 ---> Running in 957ee8af4cd7 01:37:52 Removing intermediate container 957ee8af4cd7 01:37:52 ---> d62d52b8c70c 01:37:52 Step 11/12 : COPY . . 01:37:52 ---> 33a8ca4e4ab2 01:37:52 Step 12/12 : RUN $MAKE 01:37:52 ---> Running in 685793b9d6a8 01:37:53 noop 01:37:54 Removing intermediate container 685793b9d6a8 01:37:54 ---> da4a9c96a91a 01:37:54 Successfully built da4a9c96a91a 01:37:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:54 + docker inspect -f . ci-base-image-arm64 01:37:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:55 prd-ubuntu20.04-docker-arm64-4c-16g-16916 does not seem to be running inside a container 01:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:37:56 $ docker top 502b501ff3f999e5183f6d0417f604f34c435da6641dcf432c80b130cc61d8fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:57 + go version 01:37:57 go version go1.20.2 linux/arm64 [Pipeline] } 01:37:57 $ docker stop --time=1 502b501ff3f999e5183f6d0417f604f34c435da6641dcf432c80b130cc61d8fd 01:37:59 $ docker rm -f --volumes 502b501ff3f999e5183f6d0417f604f34c435da6641dcf432c80b130cc61d8fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:59 + docker inspect -f . ci-base-image-arm64 01:37:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:00 prd-ubuntu20.04-docker-arm64-4c-16g-16916 does not seem to be running inside a container 01:38: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/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:38:01 $ docker top a9cb5d20766fc0deb5167bf86dfa7c5c6885d5db1032c4d5ddc2be9985d246db -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:02 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/6 [Pipeline] fileExists [Pipeline] sh 01:38:03 + make test 01:38:03 go test ./... -coverprofile=coverage.out ./... 01:38:50 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:41:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:41:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:41:59 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 34.735s coverage: 40.5% of statements 01:41:59 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.640s coverage: 51.9% of statements 01:41:59 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.040s coverage: 95.5% of statements 01:41:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:59 go vet ./... 01:42:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:26 ./bin/test-attribution-txt.sh 01:42:27 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:42:27 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:42:27 $ docker stop --time=1 a9cb5d20766fc0deb5167bf86dfa7c5c6885d5db1032c4d5ddc2be9985d246db 01:42:30 $ docker rm -f --volumes a9cb5d20766fc0deb5167bf86dfa7c5c6885d5db1032c4d5ddc2be9985d246db [Pipeline] // withDockerContainer [Pipeline] sh 01:42:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:32 Warning: overwriting stash ‘coverage-report’ 01:42:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:33 + ls -al . 01:42:33 total 624 01:42:33 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:38 . 01:42:33 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:35 .. 01:42:33 -rw-rw-r-- 1 jenkins jenkins 134 May 25 01:35 .dockerignore 01:42:33 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:35 .git 01:42:33 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:35 .github 01:42:33 -rw-rw-r-- 1 jenkins jenkins 946 May 25 01:35 .gitignore 01:42:33 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:35 .golangci.yml 01:42:33 -rw-rw-r-- 1 jenkins jenkins 10794 May 25 01:35 Attribution.txt 01:42:33 -rw-rw-r-- 1 jenkins jenkins 5905 May 25 01:35 CHANGELOG.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 1347 May 25 01:35 Dockerfile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:35 GOVERNANCE.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 683 May 25 01:35 Jenkinsfile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 11347 May 25 01:35 LICENSE 01:42:33 -rw-rw-r-- 1 jenkins jenkins 2053 May 25 01:35 Makefile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 625 May 25 01:35 OWNERS.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 28505 May 25 01:35 README.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:42:33 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:35 bin 01:42:33 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:35 cmd 01:42:33 -rw-r--r-- 1 jenkins jenkins 458039 May 25 01:41 coverage.out 01:42:33 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:35 examples 01:42:33 -rw-rw-r-- 1 jenkins jenkins 3371 May 25 01:35 go.mod 01:42:33 -rw-rw-r-- 1 jenkins jenkins 31072 May 25 01:35 go.sum 01:42:33 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:35 images 01:42:33 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:35 internal 01:42:33 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:35 snap 01:42:33 -rw-rw-r-- 1 jenkins jenkins 193 May 25 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + 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=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 --label arch=arm64 --label version=0.0.0 . 01:42:34 Sending build context to Docker daemon 1.212MB 01:42:34 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:42:34 Step 2/24 : FROM ${BASE} AS builder 01:42:34 ---> da4a9c96a91a 01:42:34 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:42:34 ---> Running in c07be259219b 01:42:34 Removing intermediate container c07be259219b 01:42:34 ---> 5afae453650d 01:42:34 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:35 ---> Running in fbf31c138c50 01:42:35 Removing intermediate container fbf31c138c50 01:42:35 ---> 4f17a651102b 01:42:35 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 01:42:35 ---> Running in 99a3f3870819 01:42:35 Removing intermediate container 99a3f3870819 01:42:35 ---> ae036fc05f48 01:42:35 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:42:35 ---> Running in 613d3ad7083d 01:42:36 Removing intermediate container 613d3ad7083d 01:42:36 ---> 0d773182fd04 01:42:36 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:36 ---> Running in a455f49ba5e4 01:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:42:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:42:39 OK: 263 MiB in 53 packages 01:42:40 Removing intermediate container a455f49ba5e4 01:42:40 ---> b7b2d7385b18 01:42:40 Step 8/24 : WORKDIR /app 01:42:40 ---> Running in e858b0013acd 01:42:41 Removing intermediate container e858b0013acd 01:42:41 ---> 9b905a7a3417 01:42:41 Step 9/24 : COPY go.mod vendor* ./ 01:42:41 ---> 75f7da1a677b 01:42:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:41 ---> Running in fd6ef097753a 01:42:44 Removing intermediate container fd6ef097753a 01:42:44 ---> dc7e99b937c5 01:42:44 Step 11/24 : COPY . . 01:42:45 ---> 659304e377f3 01:42:45 Step 12/24 : RUN $MAKE 01:42:45 ---> Running in 12e25cb6e424 01:42:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 01:45:38 Removing intermediate container 12e25cb6e424 01:45:38 ---> 80597754a77f 01:45:38 Step 13/24 : FROM alpine:3.17 01:45:38 3.17: Pulling from library/alpine 01:45:38 c41833b44d91: Already exists 01:45:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:45:38 Status: Downloaded newer image for alpine:3.17 01:45:38 ---> 51e60588ff2c 01:45:38 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:45:38 ---> Running in a156355ab2c7 01:45:38 Removing intermediate container a156355ab2c7 01:45:38 ---> c6181547f44b 01:45:38 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:45:38 ---> Running in 680ba881454d 01:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:45:38 (1/1) Installing dumb-init (1.2.5-r2) 01:45:38 Executing busybox-1.35.0-r29.trigger 01:45:38 OK: 8 MiB in 16 packages 01:45:38 Removing intermediate container 680ba881454d 01:45:38 ---> b1d4bfb66dff 01:45:38 Step 16/24 : COPY --from=builder /app/LICENSE / 01:45:38 ---> 959e61ce5788 01:45:38 Step 17/24 : COPY --from=builder /app/Attribution.txt / 01:45:38 ---> 817a2d0787b5 01:45:38 Step 18/24 : COPY --from=builder /app/cmd/ / 01:45:38 ---> ef6b95395b7a 01:45:38 Step 19/24 : EXPOSE 59989 01:45:38 ---> Running in f74ac7a28ceb 01:45:38 Removing intermediate container f74ac7a28ceb 01:45:38 ---> c5095a676490 01:45:38 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 01:45:38 ---> Running in 456bb7ac4477 01:45:38 Removing intermediate container 456bb7ac4477 01:45:38 ---> 1bef3b5534b6 01:45:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:45:38 ---> Running in 234a0bc57b45 01:45:38 Removing intermediate container 234a0bc57b45 01:45:38 ---> 2771f8b94f5e 01:45:38 Step 22/24 : LABEL arch=arm64 01:45:38 ---> Running in 903d9caa967f 01:45:38 Removing intermediate container 903d9caa967f 01:45:38 ---> d077c5b67706 01:45:38 Step 23/24 : LABEL git_sha=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 01:45:38 ---> Running in afa6b14f4336 01:45:38 Removing intermediate container afa6b14f4336 01:45:38 ---> c87cde0d04e3 01:45:38 Step 24/24 : LABEL version=0.0.0 01:45:38 ---> Running in 784e61b4dbce 01:45:38 Removing intermediate container 784e61b4dbce 01:45:38 ---> 3a02658af5be 01:45:38 [Warning] One or more build-args [ARCH] were not consumed 01:45:38 Successfully built 3a02658af5be 01:45:38 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:38 01:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:39 arm64: Pulling from edgex-lftools-log-publisher 01:45:39 8998bd30e6a1: Pulling fs layer 01:45:39 04944245beec: Pulling fs layer 01:45:39 699f458cf7ca: Pulling fs layer 01:45:39 765212b225bb: Pulling fs layer 01:45:39 f23df028b6ca: Pulling fs layer 01:45:39 d65c8cfc05b1: Pulling fs layer 01:45:39 2437ff75d9bd: Pulling fs layer 01:45:39 765212b225bb: Waiting 01:45:39 f23df028b6ca: Waiting 01:45:39 d65c8cfc05b1: Waiting 01:45:39 2437ff75d9bd: Waiting 01:45:39 04944245beec: Verifying Checksum 01:45:39 04944245beec: Download complete 01:45:39 765212b225bb: Verifying Checksum 01:45:39 765212b225bb: Download complete 01:45:39 f23df028b6ca: Verifying Checksum 01:45:39 f23df028b6ca: Download complete 01:45:39 d65c8cfc05b1: Verifying Checksum 01:45:39 d65c8cfc05b1: Download complete 01:45:39 699f458cf7ca: Verifying Checksum 01:45:39 699f458cf7ca: Download complete 01:45:39 8998bd30e6a1: Verifying Checksum 01:45:39 8998bd30e6a1: Download complete 01:45:42 2437ff75d9bd: Verifying Checksum 01:45:42 2437ff75d9bd: Download complete 01:45:43 8998bd30e6a1: Pull complete 01:45:44 04944245beec: Pull complete 01:45:45 699f458cf7ca: Pull complete 01:45:45 765212b225bb: Pull complete 01:45:46 f23df028b6ca: Pull complete 01:45:46 d65c8cfc05b1: Pull complete 01:46:01 2437ff75d9bd: Pull complete 01:46:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:01 prd-ubuntu20.04-docker-arm64-4c-16g-16916 does not seem to be running inside a container 01:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/6 -v /w/workspace/device-rfid-llrp-go/6:/w/workspace/device-rfid-llrp-go/6:rw,z -v /w/workspace/device-rfid-llrp-go/6@tmp:/w/workspace/device-rfid-llrp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:46:04 $ docker top c99f3327b1be5812f3356efa529c0afb78dc4e55b3809bd74a8d5f89e90d6f87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:05 ---> job-cost.sh 01:46:05 lf-activate-venv: SKIPPING 01:46:05 INFO: No Stack... 01:46:06 INFO: Retrieving Pricing Info for: v3-standard-4 01:46:06 INFO: Archiving Costs [Pipeline] sh 01:46:07 + cut -d, -f6 01:46:07 + cat /w/workspace/device-rfid-llrp-go/6/archives/cost.csv [Pipeline] lock 01:46:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] 01:46:07 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] did not exist. Created. 01:46:07 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:46:07 /w/workspace/device-rfid-llrp-go/6@tmp/durable-c87d80cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:46:08 + echo total: 0.10999999940395355 [Pipeline] stash 01:46:08 Warning: overwriting stash ‘stack-cost’ 01:46:08 Stashed 1 file(s) [Pipeline] } 01:46:08 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:46:08 $ docker stop --time=1 c99f3327b1be5812f3356efa529c0afb78dc4e55b3809bd74a8d5f89e90d6f87 01:46:10 $ docker rm -f --volumes c99f3327b1be5812f3356efa529c0afb78dc4e55b3809bd74a8d5f89e90d6f87 [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 01:46:10 provisioning config files... 01:46:10 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config17756423981865464688tmp [Pipeline] { [Pipeline] sh 01:46:10 + set +x 01:46:10 + + bash -s -- 01:46:10 curl -s https://codecov.io/bash 01:46:10 01:46:10 _____ _ 01:46:10 / ____| | | 01:46:10 | | ___ __| | ___ ___ _____ __ 01:46:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:46:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:46:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:46:10 Bash-1.0.6 01:46:10 01:46:10 01:46:10 ==> git version 2.25.1 found 01:46:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:46:10 Release-Date: 2020-01-08 01:46:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:46:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:46:10 ==> Jenkins CI detected. 01:46:10 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-232 01:46:10 project root: . 01:46:10 --> token set from env 01:46:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:46:10 ==> Running gcov in . (disable via -X gcov) 01:46:10 ==> Python coveragepy not found 01:46:10 ==> Searching for coverage reports in: 01:46:10 + . 01:46:10 -> Found 1 reports 01:46:10 ==> Detecting git/mercurial file structure 01:46:10 ==> Reading reports 01:46:10 + ./coverage.out bytes=458039 01:46:10 ==> Appending adjustments 01:46:10 https://docs.codecov.io/docs/fixing-reports 01:46:11 + Found adjustments 01:46:11 ==> Gzipping contents 01:46:11 52K /tmp/codecov.112hXx.gz 01:46:11 ==> Uploading reports 01:46:11 url: https://codecov.io 01:46:11 query: branch=PR-232&commit=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 01:46:11 -> Pinging Codecov 01:46:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-232&commit=c1add1a26ca3b8402b55da1a2c00298fb26ea6f9&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 01:46:11 -> Uploading to 01:46:11 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/581DD39554BDF9B6E22D074273EAD858/c1add1a26ca3b8402b55da1a2c00298fb26ea6f9/320564c8-a33c-42a3-a176-0c238cebee06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T014611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e766374135bf2b4fcaa5d0b5ca33b430b0042e0e59bd76b55d4e9d635abe265 01:46:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:46:11 Dload Upload Total Spent Left Speed 01:46:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50484 0 0 100 50484 0 225k --:--:-- --:--:-- --:--:-- 225k 01:46:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c1add1a26ca3b8402b55da1a2c00298fb26ea6f9 [Pipeline] } 01:46:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:46:12 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-232/archives ] 01:46:12 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 01:46:12 total 16 01:46:12 drwxr-xr-x 3 root root 4096 May 25 01:32 . 01:46:12 drwxrwxr-x 12 jenkins jenkins 4096 May 25 01:32 .. 01:46:12 drwxr-xr-x 2 root root 4096 May 25 01:32 cost 01:46:12 -rw-r--r-- 1 root root 91 May 25 01:32 cost.csv 01:46:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 01:46:12 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 01:46:12 total 16 01:46:12 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:32 . 01:46:12 drwxrwxr-x 12 jenkins jenkins 4096 May 25 01:32 .. 01:46:12 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:32 cost 01:46:12 -rw-r--r-- 1 jenkins jenkins 91 May 25 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:46:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:46:13 ---> package-listing.sh 01:46:13 ++ facter osfamily 01:46:13 ++ tr '[:upper:]' '[:lower:]' 01:46:13 + OS_FAMILY=debian 01:46:13 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-232 01:46:13 + START_PACKAGES=/tmp/packages_start.txt 01:46:13 + END_PACKAGES=/tmp/packages_end.txt 01:46:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:46:13 + PACKAGES=/tmp/packages_start.txt 01:46:13 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 01:46:13 + PACKAGES=/tmp/packages_end.txt 01:46:13 + case "${OS_FAMILY}" in 01:46:13 + dpkg -l 01:46:13 + grep '^ii' 01:46:13 + '[' -f /tmp/packages_start.txt ']' 01:46:13 + '[' -f /tmp/packages_end.txt ']' 01:46:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:46:13 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 01:46:13 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ 01:46:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ [Pipeline] echo 01:46:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:46:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:14 prd-ubuntu20.04-docker-8c-8g-16907 does not seem to be running inside a container 01:46:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:46:14 $ docker top a2c70772d3fe556ddb4e835728063b20c432d06b1f34c5b671ee0dad86798a51 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:15 + touch /tmp/pre-build-complete [Pipeline] sh 01:46:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:46:15 + ls /var/log/sa-host 01:46:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:46:15 provisioning config files... 01:46:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config17060754639986100368tmp [Pipeline] { [Pipeline] echo 01:46:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:46:16 ---> create-netrc.sh [Pipeline] } 01:46:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:46:16 ---> python-tools-install.sh [Pipeline] echo 01:46:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:46:16 ---> sudo-logs.sh 01:46:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:46:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:46:17 ---> job-cost.sh 01:46:17 lf-activate-venv: SKIPPING 01:46:17 DEBUG: total: 0.2199999988079071 01:46:17 INFO: Retrieving Stack Cost... 01:46:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:46:17 INFO: Archiving Costs [Pipeline] echo 01:46:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:46:18 ---> logs-deploy.sh 01:46:18 lf-activate-venv: SKIPPING 01:46:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-232/6 01:46:18 INFO: archiving workspace using pattern(s): 01:46:19 Archives upload complete. 01:46:19 INFO: archiving logs to Nexus